Back to Aurora Vision Library website
You are here: Start » Function Reference » Image » Image Spatial Transforms Maps » CropSpatialMap
CropSpatialMap
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | Calibration |
Crops a spatial map to the specified input and output boxes.
Syntax
C++
C#
void avl::CropSpatialMap ( const avl::SpatialMap& inSpatialMap, const avl::Box& inInputCroppingBox, const avl::Box& inOutputCroppingBox, avl::SpatialMap& outCroppedSpatialMap )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inSpatialMap | const SpatialMap& | |||
inInputCroppingBox | const Box& | |||
inOutputCroppingBox | const Box& | |||
outCroppedSpatialMap | SpatialMap& |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Incorrect inSpatialMap map in CropSpatialMap. |