01-11-2010 11:09 PM
01-11-2010 11:30 PM
01-11-2010 11:59 PM
the example is golden template inspection.vi
i want to read the images from a different folder..
01-12-2010 01:13 AM
01-12-2010 01:18 AM
This vi will return the path where you have saved your current vi. The example uses this path for both the template and the image. The differentiation is done in the list folder and strip path where it is specified jpg and png respectively. Just delete the abave vi (current vi's path) replace it with your folder name. Also make sure the images that you are feeding are jpg else change the image format accordingly.
01-12-2010 02:46 AM
thank you.. now, how can i find a match for my image by adjusting threshold from the same folder of images??
01-12-2010 03:09 AM
balakrishnan wrote:thank you.. now, how can i find a match for my image by adjusting threshold from the same folder of images??
By applying threshold you will be converting it into a binary image. Do you want to go for shape detection?
01-12-2010 03:22 AM
01-12-2010 03:29 AM
balakrishnan wrote:
its not shape detection.... its just pattern matching... i'm trying to subtract reference image from the images in the folder and thus to find a perfect match...
Then why thresolding? Play around with vision assistant. Generate a vi from vision assistant and check for repeatability and consistency. You can always modify it in labVIEW later.
01-12-2010 03:36 AM
i was trying to use the golden template inspection.vi available in the examples for various other images..
i just want to modify the VI such that it can be implemented to find the perfect match from a group of images and display that...