Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

how do i load a new set of images into golden template VI provided in the examples

how do i load a new set of images into golden template VI provided in the examples
0 Kudos
Message 1 of 28
(4,967 Views)
Which example are you talking about? Do you want to read the image from a folder or camera? Did you try placing the file open in the beginning?
0 Kudos
Message 2 of 28
(4,962 Views)

the example is golden template inspection.vi

i want to read the images from a different folder..

0 Kudos
Message 3 of 28
(4,958 Views)
gol.PNG
0 Kudos
Message 4 of 28
(4,939 Views)

gol2.PNG

 

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. 

 

0 Kudos
Message 5 of 28
(4,938 Views)

thank you.. now, how can i find a match for my image by adjusting threshold from the same folder of images??

0 Kudos
Message 6 of 28
(4,936 Views)

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?

0 Kudos
Message 7 of 28
(4,929 Views)
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...
0 Kudos
Message 8 of 28
(4,927 Views)

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.

0 Kudos
Message 9 of 28
(4,925 Views)

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...

0 Kudos
Message 10 of 28
(4,924 Views)