Hi
I'm sorry if I'm asking obvious question, I have a problem with finding pattern in a image from a camera.
Camera sees the calibration block and sends the the pixel values as a distance. The calibration block is seen from above like that:
First step is to find the regions before first thin black line, and after the second one.
Because the calibration block can be further away or closer, this image can be stretched, and the further the block is, the brighter and shorter it gets. Black parts are when the object is out of range or the camera can't see it
I wanted to start from finding this pattern:
and the found match will give me info how stretched is the image, so I can cut those fragments from pixel array.
It works all right, when the pattern is the same size as the image, but when I've re-sampled the image by 10%, the imaq couldn't find the pattern anymore. I was using the Setup Match Geometric Pattern with Scale selected to True, I was trying all different settings, but couldn't find this anymore.
Is there another way I could do this?
Thanks for ideas
Thanks