ReadImageFile
OpenLvVision_Image.lvlib:File.lvlib:ReadImageFile.vi
Reads an image from a file (supporting BMP, TIFF, JPEG, JPEG2000, PNG) and can also read non-standard formats if the "read raw file" option is enabled.
error in error in can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error. |
status status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error. |
code |
source source describes the origin of the error or warning. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error. |
Image Reference In An Image reference is a handle to the actual image data in memory. It's important to note that you are responsible for manually releasing (deallocating) the memory associated with this image reference when it's no longer needed to prevent memory leaks. |
File Path Path to the image file |
Load Color Pallete Loads a color palette for remapping monochrome image colors. The palette assigns a display color to each grayscale value (index). |
Use File Path Image Type Extracts the file type from the provided path |
ImageFileOptions |
File Data Type indicates how the image file is encoded. |
Offset to Data |
Use Min Max Specifies whether a user-defined minimum and maximum are being used. |
Optional Min Value |
Optional Max Value |
Byte Order Byte Order (Endianness) defines how multi-byte pixel values are stored. |
Read Raw File Indicates a non-standard file format. If true, further options specify how to read the data. |
error out error in can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error. |
status status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error. |
code |
source source describes the origin of the error or warning. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error. |
Image Reference Out An Image reference is a handle to the actual image data in memory. It's important to note that you are responsible for manually releasing (deallocating) the memory associated with this image reference when it's no longer needed to prevent memory leaks. |
Color Palette The loaded color palette saved with the image. |
ColorPaletteValue |
Red Red pixel value |
Green Green pixel value |
Blue Blue pixel value |
File Data Type Datatype of the loaded image |
Pixel Size Pixel size from the file header. |