IMAQ ImageToArray
This VI is part of a subset of NI Vision VIs included with NI-IMAQ. Refer to the NI Vision for LabVIEW Help for parameter information.
The following descriptions contain additional information you need to know about the Image Pixels (I16) and Image Pixels (Float) parameters when using the IMAQ ImageToArray VI with NI-IMAQ:
Image Pixels (U8) returns the extracted pixel values into a 2D array. The first index corresponds to the vertical axis and the second index corresponds to the horizontal axis. Use this output only when Image is an unsigned 8-bit image. The boards that have this output include the NI PCI/PXI-1409, NI PCI-1410, NI PCI/PXI-1422, NI PCI-1424, NI PCI-1426, NI PCIe-1427, NI PCI/PXI-1428, NI PCIe-1429, NI PCIe-1430 and NI 17xx smart cameras. |
|
Image Pixels (I16) output is used with a 16-bit image type, which is used with boards that have a 10-bit output or greater. These include the NI PCI/PXI-1409, NI PCI-1410, NI PCI/PXI-1422, NI PCI-1424, NI PCI-1426, NI PCIe-1427, NI PCI/PXI-1428, NI PCIe-1429, and NI PCIe-1430 devices. | |
Image Pixels (Float) is not used with NI image acquisition devices. | |
Optional Rectangle defines a four-element array that contains the left, top, right, and bottom coordinates of the region to extract. The operation applies to the entire image if the input is empty or not connected. |