You are here: Start » FIL.NET » Invoke.CreateCylinderMap
Creates a spatial map for transformations from a cylinder surface to a flat rectangle.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void CreateCylinderMap ( Fil.ImageFormat inImageFormat, Fil.Rectangle2D inCylinderRectangle, float inCylinderRadiusCorrection, Optional<Fil.Point2D> inOpticalAxis, Optional<int> inNewWidth, Optional<int> inNewHeight, int inMargin, Fil.InterpolationMethod inInterpolationMethod, Fil.CylinderMappingMode inCylinderMappingMode, Fil.SpatialMap outSpatialMap, Optional<Fil.Region> outOutputRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImageFormat | Fil.ImageFormat | Information about dimensions, depth and pixel type of the image. | ||
![]() | inCylinderRectangle | Fil.Rectangle2D | Bounding rectangle of the cylinder. | ||
![]() | inCylinderRadiusCorrection | float | <0.0f, INF> | 0.0f | How many pixels the cylinder radius is larger than the visible circle radius. Default value: 0.0f. |
![]() | inOpticalAxis | Ftl.Optional<Fil.Point2D> | Coordinates of the camera optical axis (Auto = image center). Default value: ftl::NIL. | ||
![]() | inNewWidth | Ftl.Optional<int> | <1, INF> | Width of an image created by output spatial map application. Default value: ftl::NIL. | |
![]() | inNewHeight | Ftl.Optional<int> | <1, INF> | Height of an image created by output spatial map application. Default value: ftl::NIL. | |
![]() | inMargin | int | <0, INF> | 0 | Width of the cylinder extreme points zone excluded from spatial map. Default value: 0. |
![]() | inInterpolationMethod | Fil.InterpolationMethod | Bilinear | Interpolation method used in extraction of image pixel values. Default value: Bilinear. | |
![]() | inCylinderMappingMode | Fil.CylinderMappingMode | Determines which pixels of the mapped cylinder have to be within the given rectangle. | ||
![]() | outSpatialMap | Fil.SpatialMap | Output spatial map. | ||
![]() | outOutputRegion | Ftl.Optional<Fil.Region> | Pixels set by the spatial map application. |