06-18-2007 03:50 AM
06-18-2007 10:00 AM
Are you trying to stitch 2 arrays together removing overlap? The easiest way to find the ideal match is to look for the minimum overlap between the edges. Lest assume only 1 degree fo freedom if you have 2 arrays of 1024x1024 called A and B look at the average differency between overlapping n columns the right most (1024) from A and left most (0) form B increase n from a value of 1 until you find the minimum value, this corresponds to the stitch location. Then join A and B, remove n columns from either the high end of A or the low end of B, best might be to remove from both and replace with the everace value of both removed regions.
Paul