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

Invoke.ImageAlongPath

Creates an image from pixels traversed along a path.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void ImageAlongPath
(
	Avl.Image inImage,
	Avl.Path inAxisPath,
	Optional<Avl.CoordinateSystem2D> inAxisPathAlignment,
	int inScanWidth,
	Avl.Axis inAxisType,
	Avl.InterpolationMethod inInterpolationMethod,
	Optional<Avl.Pixel> inBorderColor,
	Avl.Image outImage,
	Optional<Avl.Path> outAlignedAxisPath,
	Diagnostic<List<Avl.Path>> diagSamplingPoints
)

Parameters

Name Type Range Default Description
inImageAvl.ImageInput image.
inAxisPathAvl.PathInput path.
inAxisPathAlignmentAtl.Optional<Avl.CoordinateSystem2D>Adjusts the axis path to the position of the inspected object. Default value: atl::NIL.
inScanWidthint<1, INF>5The width of the stripe of pixels along the given path. Default value: 5.
inAxisTypeAvl.AxisYType of axis the transformed axis path 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>Pixel ( X: 0.0f Y: 0.0f Z: 0.0f W: 0.0f )Color of pixel outside image. If inBorderColor = NIL then algorithm repeats color of boarder. Default value: Pixel ( X: 0.0f Y: 0.0f Z: 0.0f W: 0.0f ).
outImageAvl.ImageOutput image.
outAlignedAxisPathAtl.Optional<Avl.Path>Input path 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