You are here: Start » AVL.NET » AVS.CreateCylinderMap Method
AVS.CreateCylinderMap Method
Creates a spatial map for transformations from a cylinder surface to a flat rectangle.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void CreateCylinderMap ( AvlNet.ImageFormat inImageFormat, AvlNet.Rectangle2D inCylinderRectangle, float inCylinderRadiusCorrection, int? inNewWidth, int? inNewHeight, int inMargin, AvlNet.InterpolationMethod inInterpolationMethod, AvlNet.CylinderMappingMode inCylinderMappingMode, AvlNet.SpatialMap outSpatialMap )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImageFormat | AvlNet.ImageFormat | Information about dimensions, depth and pixel type of the image. | |||
inCylinderRectangle | AvlNet.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. | |
inNewWidth | int? | <1, INF> | Width of an image created by output spatial map application. Default value: atl::NIL. | ||
inNewHeight | 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 | AvlNet.InterpolationMethod | Bilinear | Interpolation method used in extraction of image pixel values. Default value: Bilinear. | ||
inCylinderMappingMode | AvlNet.CylinderMappingMode | Determines which pixels of the mapped cylinder have to be within the given rectangle. | |||
outSpatialMap | AvlNet.SpatialMap | Output spatial map. |
Function Overrides
- CreateCylinderMap(ImageFormat, Rectangle2D, Single, Nullable<Point2D>, Nullable<Int32>, Nullable<Int32>, Int32, InterpolationMethod, CylinderMappingMode, SpatialMap)
- CreateCylinderMap(ImageFormat, Rectangle2D, Single, Nullable<Point2D>, Nullable<Int32>, Nullable<Int32>, Int32, InterpolationMethod, CylinderMappingMode, SpatialMap, Region)
- CreateCylinderMap(ImageFormat, Rectangle2D, Single, Nullable<Point2D>, Nullable<Int32>, Nullable<Int32>, Int32, InterpolationMethod, CylinderMappingMode, SpatialMap, NullableRef<Region>)