LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

particle measurments in NI Vision

I am just starting to use NI Vision. I am using a non-supported
image header format (ICS). NI Vision makes a distinction between
conventional pixel measurments and measurements made in
calibrated real-world measurements. Since I am not using a
compatible image format (e.g.,  PNG or AIPD) nor doing any
spatial calibration, I want to deal only in conventional pixel
measurements. How do I communicate this fact to the NI
Particle Measurements Functions in my programs (VB or C)?

Do the particle measurement functions default to "conventional
pixel measurements" if they detect no useable calibration header
information associated with an image? I read in my images as
a binary array and then use imaqArraytoImage to create an
image in NI Vision. I use the IMAQ_IMAGE_I16 image type in
most cases. I then perform my own calibration routines.

0 Kudos
Message 1 of 2
(3,166 Views)
Hello,

You just need to make sure that you set the calibrated parameter to false (or 0).  Then the particle measurement function will return the results using pixel values instead of real-world values.

Allen
0 Kudos
Message 2 of 2
(3,143 Views)