LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Vision Developemt System

Hello,

I need help with the following problem:
After my image has been converted to a binary image via Threshold function and other functions, I start the Shape Matching option in the Processing Functions Binary.


Unfortunately, my template image cannot be found in my image, no matter what options I equip the function with. (Minimum Score at 200 gives no result!).

My template image and the image to search in are attached.
Can anyone explain this?

 

 

 

Download All
0 Kudos
Message 1 of 4
(171 Views)

For pattern matching your search template should be a grayscale image not a binary image.

Check the NI Example Finder and look for Pattern Matching.vi to see how it is used.

 

0 Kudos
Message 2 of 4
(119 Views)

Hi RamonG,

 

you are right, if I want to make a pattern matching only.

But what you see on the pictures are LEDs, which light up. These LEDs can have a defect and form a "shadow". This shadow would not light up and would be displayed in the binary image as "not red". (See attached pictures)

My written program works also with other LED types, which have a different surface structure.

Only with the one pattern in "window shape" it does not work at all.

Something can not be evaluable at this form.

 

Download All
0 Kudos
Message 3 of 4
(113 Views)

Hi Alex,

 

Are you able to attach a sample VI and sample images that demonstrate what works and what doesn't?

Also, what is the goal you are trying to achieve? Pattern matching can be tricky and there might be other ways to go around it.

0 Kudos
Message 4 of 4
(105 Views)