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
Input value inSpatialMap const SpatialMap&
Input value inInputCroppingBox const Box&
Input value inOutputCroppingBox const Box&
Output value outCroppedSpatialMap SpatialMap&

Errors

List of possible exceptions:

Error type Description
DomainError Incorrect inSpatialMap map in CropSpatialMap.