Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

VBAI Array Operator doesn't calculate calibrated values

Solved!
Go to solution

In VBAI

In the “Detect Objects” step I can choose to export Pixel and World parameters for Area and Perimeter.

Then, in the “Array Operator” step I can choose Compute Statistics and pick pixel and calibrated parameters

Then, in a “Data Logging” step I can choose to save both pixel and calibrated values.

But, in the resulting .csv file, both pixel and calibrated values are the same.  It looks like the calibrated values are not calculated, they are just the same as the pixel values.

 

I tried to attach a powerpoint file with some screenshots but "The file does not have a valid extension for an attachment".  Why can't we attach powerpoint files?

 

My question: is there any way to log calibrated values from the Array Operator's "compute statistics" from the upstream Detect Objects step?

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

Hey Jeff,

 

I couldn't reproduce your problem. Here's my simple inspection I created to try and see this problem, but it looks like it works fine for me with VBAI 2012 or 2013.

 

FYI: You can put your attachments in a zip if the upload tool doesn't like the extension.

 

Can you attach a simple example to illustrate your problem?

Thanks,

Brad

0 Kudos
Message 2 of 4
(4,998 Views)
Solution
Accepted by topic author Jeff_Spaulding

After talking with Jeff, it turns out his image size was changing and this was causing the calibration step to fail so the image wasn't calibrated when the image size wasn't exactly equal to the expected value. I suggested using the option in the Calibration step to allow for "Variable Image Size" and this fixed his problem, so the calibration didn't fail anymore and then every image was correctly calibrated and this allowed all subsequent steps to get the calibrated results.

Message 3 of 4
(4,977 Views)

Yep, thanks for your help Brad!

0 Kudos
Message 4 of 4
(4,963 Views)