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

Invoke.CreateSphereMap

Creates a spatial map for transformations from a sphere surface to a flat rectangle.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void CreateSphereMap
(
	Avl.ImageFormat inImageFormat,
	Avl.Rectangle2D inSphereRectangle,
	float inSphereRadiusCorrection,
	Optional<int> inNewDimension,
	int inMargin,
	Avl.InterpolationMethod inInterpolationMethod,
	Avl.SpatialMap outSpatialMap,
	Optional<Avl.Region> outOutputRegion
)

Parameters

Name Type Range Default Description
inImageFormatAvl.ImageFormatInformation about dimensions, depth and pixel type of the image.
inSphereRectangleAvl.Rectangle2DBounding rectangle of a sphere.
inSphereRadiusCorrectionfloat<0.0f, INF>0.0fHow many pixels the sphere radius is larger than the visible circle radius. Default value: 0.0f.
inNewDimensionAtl.Optional<int><1, INF>Width and height of an image created by output spatial map application. Default value: atl::NIL.
inMarginint<0, INF>0Width of the sphere extreme points zone excluded from spatial map. Default value: 0.
inInterpolationMethodAvl.InterpolationMethodBilinearInterpolation method used in extraction of image pixel values. Default value: Bilinear.
outSpatialMapAvl.SpatialMapOutput spatial map.
outOutputRegionAtl.Optional<Avl.Region>Pixels set by the spatial map application.

See also