You are here: Start » FIL.NET » Function Reference » Image » Image Spatial Transforms Maps » FIL.CreateSphereMap
Creates a spatial map for transformations from a sphere surface to a flat rectangle.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void CreateSphereMap ( FilNet.ImageFormat inImageFormat, FilNet.Rectangle2D inSphereRectangle, float inSphereRadiusCorrection, int? inNewDimension, int inMargin, FilNet.InterpolationMethod inInterpolationMethod, FilNet.SpatialMap outSpatialMap )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImageFormat | FilNet.ImageFormat | Information about dimensions, depth and pixel type of the image. | ||
![]() | inSphereRectangle | FilNet.Rectangle2D | Bounding rectangle of a sphere. | ||
![]() | inSphereRadiusCorrection | float | <0.0f, INF> | 0.0f | How many pixels the sphere radius is larger than the visible circle radius. Default value: 0.0f. |
![]() | inNewDimension | int? | <1, INF> | Width and height of an image created by output spatial map application. Default value: ftl::NIL. | |
![]() | inMargin | int | <0, INF> | 0 | Width of the sphere extreme points zone excluded from spatial map. Default value: 0. |
![]() | inInterpolationMethod | FilNet.InterpolationMethod | Bilinear | Interpolation method used in extraction of image pixel values. Default value: Bilinear. | |
![]() | outSpatialMap | FilNet.SpatialMap | Output spatial map. |
Examples
![]() |
![]() |
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.
Hardware acceleration settings may be manipulated with Settings class.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty rectangle on input in CreateSphereMap. |
Function Overrides
- CreateSphereMap(ImageFormat, Rectangle2D, Single, Int32, InterpolationMethod, SpatialMap)
- CreateSphereMap(ImageFormat, Rectangle2D, Single, Nullable<Int32>, Int32, InterpolationMethod, SpatialMap, Region)
- CreateSphereMap(ImageFormat, Rectangle2D, Single, Nullable<Int32>, Int32, InterpolationMethod, SpatialMap, NullableRef<Region>)