08-05-2005 12:26 AM
Thanks Analog,
I will try with the help of available Examples.
With regards,
Anusree
08-05-2005 12:34 AM
08-05-2005 08:19 AM
Hello,
The problem has not fixed.
In the vi the image is connected to the imaq find coordsys (rect) and the image out from this is posted . then the image is connected to "extract image" , setting the optional rectangle as the LCD dimension.
When we run the vi if the device is deviated the complete LCD image is not extracted. how can we extract the image .
With regards
anusree
08-05-2005 08:21 AM
The deviated image is attached
With regards,
anusree
08-08-2005 12:45 AM
08-15-2005 03:07 PM
08-25-2005 06:19 AM
Hello CC,
I was trying to solve the above LCD matching using pattern matching but sometimes it works and sometimes result fail for the same passed LCD because unable to match scores . The particle matching by subtracting image works fine(earlier sent vi) but if there is slight shift in the image than the tamplate it gives result fail. Because extract rectangle for both template and the captured image is same.As you suggested to do scaling how can I do scaling to locate the exact LCD rectangle in the captured image from the camera and the template.
regards
Anusree
08-25-2005 10:32 PM
What I did previously was to threshold the image to get the whole LCD display silhouette and locate the top and left most extreme values. Then use these values to cut a rectangle of size equal to the LCD display, assuming that the display size (and orientation) was always the same.
Now, since your images are so different, you will have some additionnal work to do with particle analysis :
1/ locate the LCD display
2/ Find its orientation (max Ferret diameter orientation)
3/ Rotate the image to correct the orientation.
4/ Locate again the LCD on the rotated image (now correctly orientated) and find the bounding rectangle
5/ Extract the corresponding rect on the rotated image and re-sample the image to have standard pixel number in width and height
6/ Process as before by image subtraction.