Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Image » Image Basics » ImageToMatrix

ImageToMatrix


Module: FoundationLite

Converts a single-channel image to a matrix.

Name Type Description
inMonoImage Image
outMatrix Matrix

Requirements

For input inMonoImage only pixel formats are supported: 1⨯uint8, 1⨯int8, 1⨯uint16, 1⨯int16, 1⨯int32, 1⨯real.

Read more about pixel formats in Image documentation.

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Not supported inMonoImage pixel format in ImageToMatrix.

Complexity Level

This filter is available on Advanced Complexity Level.