Back to Adaptive Vision Studio website
You are here: Start » Filter Reference » Image Spatial Transforms Maps » CreateCylinderMap
Creates a spatial map for transformations from a cylinder surface to a flat rectangle.
Name | Type | Range | Description | |
---|---|---|---|---|
![]() |
inImageFormat | ImageFormat | Information about dimensions, depth and pixel type of the image | |
![]() |
inCylinderRectangle | Rectangle2D | Bounding rectangle of the cylinder | |
![]() |
inCylinderRadiusCorrection | Real | 0.0 - ![]() |
How many pixels the cylinder radius is larger than the visible circle radius |
![]() |
inOpticalAxis | Point2D* | Coordinates of the camera optical axis (Auto = image center) | |
![]() |
inNewWidth | Integer* | 1 - ![]() |
Width of an image created by output spatial map application |
![]() |
inNewHeight | Integer* | 1 - ![]() |
Height of an image created by output spatial map application |
![]() |
inMargin | Integer | 0 - ![]() |
Width of the cylinder extreme points zone excluded from spatial map |
![]() |
inInterpolationMethod | InterpolationMethod | Interpolation method used in extraction of image pixel values | |
![]() |
outSpatialMap | SpatialMap | Output spatial map | |
![]() |
outOutputRegion | Region | Pixels set by the spatial map application |
Applications
Inspection of the surface of bottles and other cylindrical objects. The result is used by RemapImage.
Examples
Description of usage of this filter can be found in examples and tutorial: Bottle Flattening.
![]() |
![]() |
Results of applying RemapImage with a spatial map created with the CreateCylinderMap filter.
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Errors
This filter can throw an exception to report error. Read how to deal with errors here: Error Handling
Error type | Description |
---|---|
DomainError | Empty domain in CreateCylinderMap. |
Complexity Level
This filter is available on Basic Complexity Level.