Back to Adaptive Vision Library Lite website

You are here: Start » Image Basics » ImageToMatrix

ImageToMatrix


Converts a single-channel image to a matrix.

Syntax

void avl::ImageToMatrix
(
	const avl::Image& inMonoImage,
	avl::Matrix& outMatrix
)

Parameters

Name Type Default Description
inMonoImage const Image&
outMatrix Matrix&

Requirements

For input inMonoImage only pixel formats are supported: 1xuint8, 1xint8, 1xuint16, 1xint16, 1xint32, 1xreal.

Read more about pixel formats in Image documentation.