Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Golden Template Comparison Problem-Wrong Area Calculated

Hi,

 

I am using Vision Builder AI for a golden comparison inspection.

 

Using a test pattern images generated in microsoft paint, It detects most of the defect correctly, however, the areas calculated are wrong. 

 

In image "defective patch 4," Vision Builder calculates the scaled area as 969mm^2. Image J calculation is about 14mm^2. Note that the total area of the rectangle is only 624mm^2.

 

What could the problem be?

 

Thanks!

0 Kudos
Message 1 of 10
(4,489 Views)

I'm curious about your calibration settings.  When I look at the Objects and Edges found, they look about 40 mm apart.  Is this what you are seeing?  How big is the object that you are expecting to find the area of?

 

Cheers, 

Marti C
Applications Engineer
National Instruments
NI Medical
0 Kudos
Message 2 of 10
(4,474 Views)

It looks like there is a bug with the detect defect step in VBAI when used with calibrated images. It is currently returning the uncalibrated area, which explains why it is such a big number. I will make sure this gets fixed in the next version of VBAI. Let me know if waiting till the next release or using uncalibrated areas in the step is a major problem for you.

 

Thanks,

Brad

0 Kudos
Message 3 of 10
(4,457 Views)

Hi Marti and Brad,

 

It does look like a bug. Unfortunatly I need this resolved very soon (before June 16) as a project deadline is comming up. 

 

If it helps any, this is using an evaluation copy that we intend to purchase.

 

If there is a bug work around that would be great to know as well. 

 

 

 

0 Kudos
Message 4 of 10
(4,453 Views)

If someone at NI could provide a contact phone number so I could disucss the problem with the appropriate person that would be great!

 

Thanks!

 

~Anthony

0 Kudos
Message 5 of 10
(4,452 Views)

If you want to email your contact info to vbai.support@gmail.com, I'll contact you to discuss options.

 

Thanks,

Brad

0 Kudos
Message 6 of 10
(4,440 Views)
Can you post the CAR #?
0 Kudos
Message 7 of 10
(4,415 Views)
CAR# 234222
0 Kudos
Message 8 of 10
(4,413 Views)

Here's a fix for the calibration issue in the Detect Defect step. I've included three LLBs:

Windows - put this in your C:\Program Files\National Instruments\Vision Builder AI 2009 SP1\Plugins\ folder Restart Vision Builder and calibrated images should work with the step now.

CVS and EVS - put this on your CVS or EVS target in the C:\vbai\Plugins\ folder and restart the target to use the modified step.

Smart Camera - put this on your smart camera in the C:\vbai\Plugins\ folder and restart the smart camera to use the modified step.

 

Hope this helps and let me know if you have any feedback.

Thanks,

Brad

0 Kudos
Message 9 of 10
(4,406 Views)
Message Edited by Michelle_B on 06-10-2010 05:03 PM
--Michelle

National Instruments
0 Kudos
Message 10 of 10
(4,391 Views)