Hi Henrik,
In your last post, you select the corners where it went from image to blue background. In a real case I wouldn't have that luxury. A real image would have the skewing of the above image, but the outline would be square. Basically the features in the image are skewed but the borders of the acquired image itself are square.
So, I would need to select features within the image in order to deskew it. What I have done previously is use my eyes (the ultimate image processor) to locate corners of the squares and use those points in my orthonormalization algorithm.
How would I go about finding the corners of the features in the image? They are part of my reference sample. I can upload the data array if that would help. Note that the data is on a slightly sloped plane so the image is not flat. See attached.
Thanks
mrphud
Attachments: