Back to Aurora Vision Library Lite website

You are here: Start » Image » Image Basics » SkipEmptyImage

SkipEmptyImage


Header: AVL.h
Namespace: avl

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

Applications: Secures against domain errors caused by empty images.

Syntax

void avl::SkipEmptyImage
(
	const avl::Image& inImage,
	atl::Conditional<avl::Image>& outNotEmptyImage,
	bool& outIsNotEmpty
)

Parameters

Name Type Default Description
Input value inImage const Image& Input image
Output value outNotEmptyImage Conditional<Image>&
Output value outIsNotEmpty bool&