Back to Adaptive Vision Library Lite website

You are here: Start » Image Basics » ClearImage

ClearImage


Header:AVL.h
Namespace:avl

Sets image pixels to the specified value.

Syntax

void avl::ClearImage
(
	avl::Image& ioImage,
	atl::Optional<const avl::Region&> inRegion,
	const avl::Pixel& inValue
)

Parameters

Name Type Default Description
ioImage Image&
inRegion Optional<const Region&> NIL Input region
inValue const Pixel& The new background color