|
image data returns information about the image so you can use the Draw Flattened Pixmap VI to draw it as a picture.
|
image type is reserved for future use.
|
|
image depth specifies the color depth of the image, which is the number of bits to use to describe the color of each pixel in the image. Valid values include 1, 4, 8, and 24 bits per pixel. image depth affects how LabVIEW interprets the values of image and colors.
|
|
image is an array of bytes that describes the color of each pixel in the image in raster order. The value of image depth determines how LabVIEW interprets the value of this output.
If image depth is 24, each pixel has three bytes to describe its color. The first byte for each pixel describes the red value, the second byte describes the green value, and the third byte describes the blue value.
If image depth is 8, each pixel has one byte to describe its color. The value of each bit corresponds to an element in colors, which stores 32-bit RGB values where the most significant byte is zero, followed in order by red, green, and blue values. Valid values include 0 through 255.
The size of the array might be larger than expected due to padding.
|
|
mask is an array of bytes in which each bit describes mask information for a pixel. The first byte describes the first eight pixels, the second byte describes the next eight pixels, and so on. In this VI, the mask array is always empty. Since the array is empty, LabVIEW draws all pixels without transparency.
|
|
colors is an array of RGB color values that correspond to the values in image. The value of image depth determines how LabVIEW interprets the value of this output.
If image depth is 24, LabVIEW ignores this output.
If image depth is 8, the array can have 256 elements.
If the array is empty for any depth other than 24 bits per pixel, the image is using the default LabVIEW color palette.
|
|
Rectangle is a cluster that contains coordinates that describe the bounding rectangle of the image. Horizontal coordinates increase to the right, and vertical coordinates increase to the bottom.
|
left is the horizontal coordinate of the left edge of the rectangle.
|
|
top is the vertical coordinate of the top edge of the rectangle.
|
|
right is the horizontal coordinate of the right edge of the rectangle.
|
|
bottom is the vertical coordinate of the bottom edge of the rectangle.
|
|
|