Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Vision Assistant 2019 => Shape Matching find no object

Hello dear LV community,

I have the following issue with the Vision Assistant tool: I upload an image, apply certain filters, and convert it into an 8-bit image. In this image, I want to use shape matching to find an object. Unfortunately, it is not able to detect this object in the image (see Screenshot).

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

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.

Does anyone here know what I might be doing wrong?

 

I am attaching the image, the golden sample, and the program for reference. Thank you for your assistance!

Download All
0 Kudos
Message 1 of 2
(642 Views)

I think you could use pattern matching for case. You convert binary to 8 bit  with lookup table(equalize) then use patern to check LED

0 Kudos
Message 2 of 2
(504 Views)