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

Invoke.ImageAlongArc

Creates an image from pixels traversed along an arc.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void ImageAlongArc
(
	Avl.Image inImage,
	Avl.Arc2D inAxisArc,
	Optional<Avl.CoordinateSystem2D> inAxisArcAlignment,
	int inScanWidth,
	Avl.Axis inAxisType,
	Avl.InterpolationMethod inInterpolationMethod,
	Optional<Avl.Pixel> inBorderColor,
	Avl.Image outImage,
	Optional<Avl.Arc2D> outAlignedAxisArc,
	Diagnostic<List<Avl.Path>> diagSamplingPoints
)

Parameters

Name Type Range Default Description
inImageAvl.ImageInput image.
inAxisArcAvl.Arc2DInput arc.
inAxisArcAlignmentAtl.Optional<Avl.CoordinateSystem2D>Adjusts the axis arc to the position of the inspected object. Default value: atl::NIL.
inScanWidthint<1, INF>5The width of the stripe of pixels along the given arc. Default value: 5.
inAxisTypeAvl.AxisYType of axis the transformed axis arc will be parallel to. Default value: Y.
inInterpolationMethodAvl.InterpolationMethodBilinearThe interpolation method used to compute pixel brightness in locations of not-integer coordinates. Default value: Bilinear.
inBorderColorAtl.Optional<Avl.Pixel>Color of pixel outside image. If inBorderColor = NIL then algorithm repeats color of boarder. Default value: atl::NIL.
outImageAvl.ImageOutput image.
outAlignedAxisArcAtl.Optional<Avl.Arc2D>Input arc after transformation (in the image coordinates).
diagSamplingPointsAvl.Diagnostic<System.Collections.Generic.List<Avl.Path>>Array of paths each one containing the sampling points corresponding to one row of the resulting image.

See also