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