Read Image Express VI
- Updated2023-02-21
- 5 minute(s) read
Read Image Express VI
Owning Palette: Biomedical File I/O Express VIs
Requires: Biomedical Toolkit
Reads images from different file types, such as BMP, JPEG, PNG, and DICOM.
Dialog Box Options |
Block Diagram Inputs |
Block Diagram Outputs |
Dialog Box Options
Parameter | Description |
---|---|
Read Action | Specifies whether to read images from one image file, from multiple image files, or from a DICOMDIR/IMGDIR.
|
File Path Configuration | Specifies settings for the file path.
|
Image Preview | Contains an image preview, preview controls, and image information for the image that you specify.
|
Output Options | Contains the following output options:
|
Block Diagram Inputs
Parameter | Description |
---|---|
error in (no error) | Describes error conditions that occur before this node runs. |
file path in | Specifies the path to the image file from which you want to read images. |
folder path in | Specifies the path to the folder that contains multiple image files, from which you want to read images. |
IMGDIR path in | Specifies the path of the IMGDIR or DICOMDIR from which you want to read images. |
DICOM tag names | Specifies the DICOM tag names to use when reading from the image files. The specified tag names must be from the DICOM 2011 standard. |
scale factor | Specifies the scale factor for downsampling images. |
series index | Specifies which image series to read from an indexed DICOMDIR directory. |
start | Specifies the first image file or frame index you would like the Read Image Express VI to read. |
end | Specifies the last image file or frame index you would like the Read Image Express VI to read. |
Block Diagram Outputs
Parameter | Description |
---|---|
2D array | Returns image data for a single image. |
3D array | Returns image data for multiple images. |
attributes out | Returns the image attributes of the image file or image files. |
error out | Contains error information. This output provides standard error out functionality. |
file path out | Returns the output file path. |
folder path out | Returns the output folder path. |
image file paths out | Returns the file paths for the image series. |
DICOM tags out | Returns the DICOM tags of a single image file. Each cluster in the array contains five elements, which are tag name, tag value array, group ID, tag ID, and tag type. |
multiple DICOM tags out | Returns the DICOM tags of multiple image files. Each row of the array contains the DICOM tags for each DICOM file. Each cluster in the array contains five elements, which are tag name, tag value array, group ID, tag ID, and tag type. |
Examples
Refer to the following VIs for examples of using the Read Image VI:
- Medical Image File Format Converter VI: labview\examples\Biomedical\Medical Image
- 3D Image Reconstructor VI: labview\examples\Biomedical\Medical Image
- Write and Read DICOM Tags VI: labview\examples\Biomedical\Medical Image