National Instruments IMAQ Vision for Measurement Studio User Manual page 16

For measurement studio
Table of Contents

Advertisement

Value
IMAQ_IMAGE_U8
IMAQ_IMAGE_I16
IMAQ_IMAGE_SGL
IMAQ_IMAGE_COMPLEX
IMAQ_IMAGE_RGB
IMAQ_IMAGE_HSL
© National Instruments Corporation
Table 2-1. IMAQ Vision for LabWindows/CVI Image Types
8 bits per pixel—unsigned, standard monochrome
16 bits per pixel—signed, monochrome
32 bits per pixel—floating point, monochrome
2 × 32 bits per pixel—floating point, native format after a Fast
Fourier Transform (FFT)
32 bits per pixel—standard color
32 bits per pixel—color
If you plan to use filtering or blob analysis functions on the image, set the
appropriate border size for the image. The default border size is 3.
When you create an image, IMAQ Vision creates an internal image
structure to hold properties of the image, such as its name and border size.
However, no memory is allocated to store the image pixels at this time.
IMAQ Vision functions automatically allocate the appropriate amount of
memory when the image size is modified. For example, functions that
acquire or resample an image alter the image size, so they allocate the
appropriate memory space for the image pixels. The return value of
imaqCreateImage()
pointer as an input to all subsequent IMAQ Vision functions.
Most functions belonging to the IMAQ Vision library require one or more
image pointers. The number of image pointers a function takes depends on
the image processing function and the type of image you want to use. Some
IMAQ Vision functions act directly on the image and require only one
image pointer. Other functions that process the contents of images require
pointers to the source image(s) and to a destination image.
You can create multiple images by executing
many times as you want. Determine the number of required images through
an analysis of your intended application. The decision is based on different
processing phases and your need to keep the original image (after each
processing step).
At the end of your application, dispose of each image that you created using
.
imaqDispose()
Chapter 2
Description
is a pointer to the image structure. Supply this
2-3
IMAQ Vision for LabWindows/CVI User Manual
Getting Measurement-Ready Images
imaqCreateImage()
as

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the IMAQ Vision for Measurement Studio and is the answer not in the manual?

This manual is also suitable for:

Imaq vision

Table of Contents