Back to Aurora Vision Library website

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

ClearImage


Header: AVL.h
Namespace: avl
Module: FoundationLite

Sets image pixels in ROI to the specified value.

Syntax

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

Parameters

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

See Also

  • FillImage – Fills the input image with one color.