You are here: Start » FIL.NET » FIS.CreateCylinderMap Method

FIS.CreateCylinderMap Method

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

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

public static void CreateCylinderMap
(
	FilNet.ImageFormat inImageFormat,
	FilNet.Rectangle2D inCylinderRectangle,
	float inCylinderRadiusCorrection,
	FilNet.Point2D? inOpticalAxis,
	int? inNewWidth,
	int? inNewHeight,
	int inMargin,
	FilNet.InterpolationMethod inInterpolationMethod,
	FilNet.CylinderMappingMode inCylinderMappingMode,
	FilNet.SpatialMap outSpatialMap,
	NullableRef<FilNet.Region> outOutputRegion
)

Parameters

Name Type Range Default Description
inImageFormatFilNet.ImageFormatInformation about dimensions, depth and pixel type of the image.
inCylinderRectangleFilNet.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.
inOpticalAxisFilNet.Point2D?Coordinates of the camera optical axis (Auto = image center). Default value: ftl::NIL.
inNewWidthint?<1, INF>Width of an image created by output spatial map application. Default value: ftl::NIL.
inNewHeightint?<1, INF>Height of an image created by output spatial map application. Default value: ftl::NIL.
inMarginint<0, INF>0Width of the cylinder extreme points zone excluded from spatial map. Default value: 0.
inInterpolationMethodFilNet.InterpolationMethodBilinearInterpolation method used in extraction of image pixel values. Default value: Bilinear.
inCylinderMappingModeFilNet.CylinderMappingModeDetermines which pixels of the mapped cylinder have to be within the given rectangle.
outSpatialMapFilNet.SpatialMapOutput spatial map.
outOutputRegionFilNet.NullableRef<FilNet.Region>Pixels set by the spatial map application. Can be null to skip this parameter calculation.

Function Overrides

See also