You are here: Start » AVL.NET » AVL.CreateSphereMap(AvlNet.ImageFormat, AvlNet.Rectangle2D, float, int?, int, AvlNet.InterpolationMethod, AvlNet.SpatialMap)

AVL.CreateSphereMap(AvlNet.ImageFormat, AvlNet.Rectangle2D, float, int?, int, AvlNet.InterpolationMethod, AvlNet.SpatialMap)

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void CreateSphereMap(
	AvlNet.ImageFormat inImageFormat,
	AvlNet.Rectangle2D inSphereRectangle,
	float inSphereRadiusCorrection,
	int? inNewDimension,
	int inMargin,
	AvlNet.InterpolationMethod inInterpolationMethod,
	out AvlNet.SpatialMap outSpatialMap
)

Parameters

inImageFormat
Type: AvlNet.ImageFormat
Information about dimensions, depth and pixel type of the image
inSphereRectangle
Type: AvlNet.Rectangle2D
Bounding rectangle of a sphere
inSphereRadiusCorrection
Type: System.Single
How many pixels the sphere radius is larger than the visible circle radius
inNewDimension
Type: System.Nullable<System.Int32>
Width and height of an image created by output spatial map application, or null.
inMargin
Type: System.Int32
Width of the sphere extreme points zone excluded from spatial map
inInterpolationMethod
Type: AvlNet.InterpolationMethod
Interpolation method used in extraction of image pixel values
outSpatialMap
Type: AvlNet.SpatialMap
Output spatial map

See also