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 inMargin,
	AvlNet.InterpolationMethod inInterpolationMethod,
	AvlNet.CylinderMappingMode inCylinderMappingMode,
	AvlNet.SpatialMap outSpatialMap,
	NullableRef<AvlNet.Region> outOutputRegion
)

Parameters

Name Type Range Default Description
inImageFormatAvlNet.ImageFormatInformation about dimensions, depth and pixel type of the image.
inCylinderRectangleAvlNet.Rectangle2DBounding rectangle of the cylinder.
inCylinderRadiusCorrectionfloat<0.0f, INF>0.0fHow many pixels the cylinder radius is larger than the visible circle radius. Default value: 0.0f.
inMarginint<0, INF>0Width of the cylinder extreme points zone excluded from spatial map. Default value: 0.
inInterpolationMethodAvlNet.InterpolationMethodBilinearInterpolation method used in extraction of image pixel values. Default value: Bilinear.
inCylinderMappingModeAvlNet.CylinderMappingModeDetermines which pixels of the mapped cylinder have to be within the given rectangle.
outSpatialMapAvlNet.SpatialMapOutput spatial map.
outOutputRegionAvlNet.NullableRef<AvlNet.Region>Pixels set by the spatial map application. Can be null to skip this parameter calculation.

Function Overrides

See also