You are here: Start » AVL.NET » Function Reference » Image » Image Spatial Transforms » AVL.ImageAlongArc

AVL.ImageAlongArc

Creates an image from pixels traversed along an arc.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void ImageAlongArc
(
	AvlNet.Image inImage,
	AvlNet.Arc2D inAxisArc,
	int inScanWidth,
	AvlNet.Axis inAxisType,
	AvlNet.InterpolationMethod inInterpolationMethod,
	AvlNet.Image outImage
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inAxisArcAvlNet.Arc2DInput arc.
inScanWidthint<1, INF>5The width of the stripe of pixels along the given arc. Default value: 5.
inAxisTypeAvlNet.AxisYType of axis the transformed axis arc will be parallel to. Default value: Y.
inInterpolationMethodAvlNet.InterpolationMethodBilinearThe interpolation method used to compute pixel brightness in locations of not-integer coordinates. Default value: Bilinear.
outImageAvlNet.ImageOutput image.

Description

The operation transforms the stripe of pixels of width inScanWidth along the inAxisArc in the way that transforms the arc into straight segment. Two modes of pixel interpolation are available, the bilinear filtering being more precise and computationally expensive.

The optional parameter inAxisArcAlignment defines the transform to be performed on the inAxisArc so that the resulting path is defined in a new context, e.g. returned by one of Template Matching filters.

Examples

ImageAlongArc performed on the sample image with inScanWidth = 50 and inAxisType = X.

Function Overrides

See also