You are here: Start » AVL.NET » Invoke.CreateCylinderMap

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
inImageFormatAvl.ImageFormatInformation about dimensions, depth and pixel type of the image.
inCylinderRectangleAvl.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.
inOpticalAxisAtl.Optional<Avl.Point2D>Coordinates of the camera optical axis (Auto = image center). Default value: atl::NIL.
inNewWidthAtl.Optional<int><1, INF>Width of an image created by output spatial map application. Default value: atl::NIL.
inNewHeightAtl.Optional<int><1, INF>Height of an image created by output spatial map application. Default value: atl::NIL.
inMarginint<0, INF>0Width of the cylinder extreme points zone excluded from spatial map. Default value: 0.
inInterpolationMethodAvl.InterpolationMethodBilinearInterpolation method used in extraction of image pixel values. Default value: Bilinear.
inCylinderMappingModeAvl.CylinderMappingModeDetermines which pixels of the mapped cylinder have to be within the given rectangle.
outSpatialMapAvl.SpatialMapOutput spatial map.
outOutputRegionAtl.Optional<Avl.Region>Pixels set by the spatial map application.

See also