Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Which Vision tool is best for detecting attached bad image?

I am using Vision Assistant 8.5 and attached a good image of LCD and a bad image of LCD.  I have .bmp files, which is a better representation, but too big to upload, so I had to put in jpg format.   I am looking for the best vision tool to discern between the 2 images.  I was thinking of some type of grayscale measurement tool.   I attached a script which extracts a portion of the LCD to evaluate, which should be sufficient enough.    This test will be used in a VB6 program.

 

thanks

0 Kudos
Message 1 of 4
(5,157 Views)

Hello,

 

take a look at IMAQ SSIM and IMAQ Learn/Compare Golden Template. You could probably also work something out with image histogram comparison (for example:  https://decibel.ni.com/content/blogs/kl3m3n/2013/07/30/color-histogram-matching-and-grabcut-segmenta...

 

Take a look at the NI Vision Concepts Manual for better clarification on the algorithms.

 

Best regards,

K


https://decibel.ni.com/content/blogs/kl3m3n



"Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."
0 Kudos
Message 2 of 4
(5,135 Views)

K,

The link doesn't work.  I looked at the golden template with histogram comparion, and this may work.  I think I may try something even simplier first.   Placing a simple rake tool where the bottom dark gray bar transitions to lighter gray on the bad part.   This dark to light contrast is much greater on the bad part versus the good part. 

 

thanks

 

0 Kudos
Message 3 of 4
(5,099 Views)
Hello,

sorry for that.

https://decibel.ni.com/content/blogs/kl3m3n/2013/07/30/color-histogram-matching-and-grabcut-segmenta...

Best regards,
K

https://decibel.ni.com/content/blogs/kl3m3n



"Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."
0 Kudos
Message 4 of 4
(5,093 Views)