Back to Adaptive Vision Library website
You are here: Start » Function Reference » Image Relations » TestBoxInImage
Tests whether a box is contained in the dimensions of an image.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::TestBoxInImage ( const avl::Image& inImage, const avl::Box& inBox, bool& outIsContained )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inImage | const Image& | Input image | |
![]() |
inBox | const Box& | ||
![]() |
outIsContained | bool& |
Description
Tests whether a box is contained in the dimensions of an image.
Examples
TestBoxInImage Output | Preview |
True | ![]() |
False | ![]() |