Back to FabImage Library website

You are here: Start » Function Reference » Image » Image Features » ImagePixels

ImagePixels


Header: FIL.h
Namespace: fil
Module: FoundationLite

Returns an array of pixels from the input image.

Syntax

C++
C#
 
void fil::ImagePixels
(
	const fil::Image& inImage,
	ftl::Optional<const fil::Region&> inRoi,
	ftl::Array<fil::Pixel>& outPixels
)

Parameters

Name Type Default Description
Input value inImage const Image& Input image
Input value inRoi Optional<const Region&> NIL Range of pixels to be processed
Output value outPixels Array<Pixel>&

Errors

List of possible exceptions:

Error type Description
DomainError Region exceeds an input image in ImagePixels.