Back to Aurora Vision Library Lite website
You are here: Start » Image » Image Basics » SkipEmptyImage
![](../../img/icon/SkipEmpty.png)
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 | |
---|---|---|---|---|
![]() |
inImage | const Image& | Input image | |
![]() |
outNotEmptyImage | Conditional<Image>& | ||
![]() |
outIsNotEmpty | bool& |