Back to Adaptive Vision Library Lite website

You are here: Start » Region Basics » SkipEmptyRegion

SkipEmptyRegion


Header:AVL.h
Namespace:avl

If the input region contains at least one pixel, then it is copied to the output; otherwise Nil is returned.

Syntax

void avl::SkipEmptyRegion
(
	const avl::Region& inRegion,
	atl::Conditional<avl::Region>& outNotEmptyRegion,
	bool& outIsNotEmpty
)

Parameters

Name Type Default Description
inRegion const Region& Input region
outNotEmptyRegion Conditional<Region>&
outIsNotEmpty bool&