Read Grayscale Image

Function: Reads a grayscale image. If the image at the parameter path is a color image, it will also be read as a grayscale image.

Input Parameters:

Name Type Valid Range Default Value Meaning

Empty Input

String

None

Mapping needs to be checked to run this node and subsequent nodes when executing the graph.

To run this node and subsequent nodes when the diagram is run, check at least one input map for this node.

Output Parameters:

Name Type Valid Range Default Value Meaning

Grayscale Image

MonoImage

None

None

Read-in grayscale image, single channel.

Parameter Settings:

Name Type Valid Range Default Value Meaning

Read Folder

Bool

None

False

Whether to read from a folder.

Grayscale Image File

File

['.png', '.tif']

None

Grayscale image path; optional formats are png, tif, jpg, jpeg.

Grayscale Image Folder

String

None

None

Folder path containing one or more image files in png, tif, jpg, jpeg formats.