1. A method for edge matching comprising: creating an edge map of a non base color component; opening a search window in a base color component; moving a block of the non-base color component within the search window of the base color component; calculating difference values for each position between the non base and base color component; identifying a position that has a minimum value of the sum of all of the calculated differences; and selecting, as a displacement for said block of the non-base color component, a displacement associated with said position that has said minimum value; wherein said creating an edge map comprises: assigning a first value to each edge pixel; assigning a second value to each pixel that is located at a pixel distance (d) from a nearest edge pixel; assigning a third value to each pixel that is located a distance √{square root over (2)} d from the nearest edge pixel; assigning a fourth value to each pixel that is located a distance 2 times the pixel distance d from the nearest edge pixel; assigning a fifth value to each pixel that is located a distance √{square root over (5)} from the nearest edge pixel; and assigning all other pixels a value of zero.