Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Image Spatial Transforms Maps » CreateSphereMap

CreateSphereMap


Creates a spatial map for transformations from a sphere surface to a flat rectangle.

Name Type Range Description
inImageFormat ImageFormat Information about dimensions, depth and pixel type of the image
inSphereRectangle Rectangle2D Bounding rectangle of a sphere
inSphereRadiusCorrection Real 0.0 - How many pixels the sphere radius is larger than the visible circle radius
inNewDimension Integer* 1 - Width and height of an image created by output spatial map application
inMargin Integer 0 - Width of the sphere 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 balls and other spherical objects. The result is used by RemapImage.

Examples

Description of usage of this filter can be found in examples and tutorial: Globe Flattening.

Results of applying RemapImage with a spatial map created with the CreateSphereMap 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 in Error Handling.

List of possible exceptions:

Error type Description
DomainError Empty rectangle on input in CreateSphereMap.

Complexity Level

This filter is available on Basic Complexity Level.