Image Management Functions
Image Management functions allow you to gather information about an image or manipulate the contents of an image.
The following table lists the Image Management functions. The functions in the Image Management class are grouped according to the types of operations they perform. The first column contains the name of the class. The second column contains names of function subclasses. The third column contains names of individual function panels. Each Image Management function panel represents one function.
Class | Subclass | LabWindows/CVI Equivalent | Function Name |
---|---|---|---|
Image Management | — | Array To Image | imaqArrayToImage |
Image Management | — | Create Image | imaqCreateImage |
Image Management | — | Image To Array | imaqImageToArray |
Border Functions
Border functions allow you to fill an image border with a set of values, get the size of an image border, and set the size of image border.
Class | Subclass | LabWindows/CVI Equivalent | Function Name |
---|---|---|---|
Image Management | Border | Fill Border | imaqFillBorder |
Image Management | Border | Get Border Size | imaqGetBorderSize |
Image Management | Border | Set Border Size | imaqSetBorderSize |
Clipboard Functions
The following functions are available only with a licensed version of NI Vision.
Clipboard functions allow you to copy images to and from the clipboard.
Class | Subclass | LabWindows/CVI Equivalent | Function Name |
---|---|---|---|
Image Management | Clipboard | Clipboard To Image | imaqClipboardToImage |
Image Management | Clipboard | Image To Clipboard | imaqImageToClipboard |
Drawing Functions
The following functions are available only with a licensed version of NI Vision.
Drawing functions allow you to draw lines, shapes, and text on images.
Class | Subclass | LabWindows/CVI Equivalent | Function Name |
---|---|---|---|
Image Management | Drawing | Draw Line On Image | imaqDrawLineOnImage |
Image Management | Drawing | Draw Shape On Image | imaqDrawShapeOnImage |
Image Management | Drawing | Draw Text On Image | imaqDrawTextOnImage |
Image Information Functions
The following functions are available only with a licensed version of NI Vision.
Image Information functions allow you to gather information about pixels and images.
Class | Subclass | LabWindows/CVI Equivalent | Function Name |
---|---|---|---|
Image Management | Image Information | Enumerate Custom Keys | imaqEnumerateCustomKeys |
Image Management | Image Information | Get Bit Depth | imaqGetBitDepth |
Image Management | Image Information | Get Bytes Per Pixel | imaqGetBytesPerPixel |
Image Management | Image Information | Get Image Information | imaqGetImageInfo |
Image Management | Image Information | Get Image Size | imaqGetImageSize |
Image Management | Image Information | Get Image Type | imaqGetImageType |
Image Management | Image Information | Get Mask Offset | imaqGetMaskOffset |
Image Management | Image Information | Get Pixel Address | imaqGetPixelAddress |
Image Management | Image Information | Get Vision Info Types | imaqGetVisionInfoTypes |
Image Management | Image Information | Is Image Empty | imaqIsImageEmpty |
Image Management | Image Information | Read Custom Data | imaqReadCustomData |
Image Management | Image Information | Remove Custom Data | imaqRemoveCustomData |
Image Management | Image Information | Remove Vision Info 2 | imaqRemoveVisionInfo2 |
Image Management | Image Information | Set Bit Depth | imaqSetBitDepth |
Image Management | Image Information | Set Image Size | imaqSetImageSize |
Image Management | Image Information | Set Mask Offset | imaqSetMaskOffset |
Image Management | Image Information | Write Custom Data | imaqWriteCustomData |
Image Manipulation Functions
Image Manipulation functions allow you to manipulate images in their entirety. Functions in this subclass copy, scale, shift, and transpose images.
Class | Subclass | LabWindows/CVI Equivalent | Function Name |
---|---|---|---|
Image Management | Image Manipulation | Cast | imaqCast |
Image Management | Image Manipulation | Copy Rectangle | imaqCopyRect |
Image Management | Image Manipulation | Duplicate | imaqDuplicate |
Image Management | Image Manipulation | Flatten | imaqFlatten |
Image Management | Image Manipulation | Flip | imaqFlip |
Image Management | Image Manipulation | Mask | imaqMask |
Image Management | Image Manipulation | Resample | imaqResample |
Image Management | Image Manipulation | Rotate 2 | imaqRotate2 |
Image Management | Image Manipulation | Scale | imaqScale |
Image Management | Image Manipulation | Shift | imaqShift |
Image Management | Image Manipulation | Transpose | imaqTranspose |
Image Management | Image Manipulation | Unflatten | imaqUnflatten |
Image Management | Image Manipulation | Unwrap Image | imaqUnwrapImage |
Image Management | Image Manipulation | View 3D | imaqView3D |
Interlacing Functions
The following functions are available only with a licensed version of NI Vision.
Interlacing functions allow you to combine two fields into one image frame or separate a frame into two fields.
Class | Subclass | LabWindows/CVI Equivalent | Function Name |
---|---|---|---|
Image Management | Interlacing | Interlace Combine | imaqInterlaceCombine |
Image Management | Interlacing | Interlace Separate | imaqInterlaceSeparate |
Pixel Manipulation Functions
The following functions are available only with a licensed version of NI Vision.
Pixel Manipulation functions allow you to manipulate images at the pixel level. You can use functions in the Pixel Manipulation subclass to extract image planes, replace image planes, set and return pixel values, and convert images to arrays and arrays to images.
Class | Subclass | LabWindows/CVI Equivalent | Function Name |
---|---|---|---|
Image Management | Pixel Manipulation | Array To Complex Plane | imaqArrayToComplexPlane |
Image Management | Pixel Manipulation | Complex Plane To Array | imaqComplexPlaneToArray |
Image Management | Pixel Manipulation | Extract Color Planes | imaqExtractColorPlanes |
Image Management | Pixel Manipulation | Extract Complex Plane | imaqExtractComplexPlane |
Image Management | Pixel Manipulation | Fill Image | imaqFillImage |
Image Management | Pixel Manipulation | Get Line | imaqGetLine |
Image Management | Pixel Manipulation | Get Pixel | imaqGetPixel |
Image Management | Pixel Manipulation | Replace Color Planes | imaqReplaceColorPlanes |
Image Management | Pixel Manipulation | Replace Complex Plane | imaqReplaceComplexPlane |
Image Management | Pixel Manipulation | Set Line | imaqSetLine |
Image Management | Pixel Manipulation | Set Pixel | imaqSetPixel |