Back to Adaptive Vision Library website

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

ImageToMatrix


Converts a single-channel image to a matrix.

Header:AVL.h

Syntax

C++
C#
 
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.