Back to FabImage Library website
You are here: Start » Function Reference » Image » Image Spatial Transforms Maps » CropSpatialMap
CropSpatialMap
| Header: | FIL.h |
|---|---|
| Namespace: | fil |
| Module: | Calibration |
Crops a spatial map to the specified input and output boxes.
Syntax
C++
C#
void fil::CropSpatialMap ( const fil::SpatialMap& inSpatialMap, const fil::Box& inInputCroppingBox, const fil::Box& inOutputCroppingBox, fil::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. |


