Scalable Image Size

NI-IMAQdx

Scalable Image Size

Digital cameras support a predefined set of image sizes, which you can select through the Acquisition attributes in Measurement & Automation Explorer (MAX). Refer to your camera documentation for a list of supported formats.

If you are using LabVIEW, the NI-IMAQdx software recognizes the predefined formats and automatically allocates enough memory to accommodate the image. The image is resized as necessary.

Some cameras support user-configurable Region of Interest (ROI), which allows you to define the size of the acquired image. If you use this format, you must input the image size using the Region of Interest attributes—offset x, offset y, width, and height. The size and position of the sub-image you are acquiring must be a multiple of the Increment attribute, as shown in the following figure, or the driver acquires the smallest sub-image that contains the ROI you defined.









The Increment values are camera-specific. Refer to the camera documentation or query the Increment attributes for width and height to obtain the actual values.