You are here: Start » AVL.NET » AVS.ImageAlongPath Method

AVS.ImageAlongPath Method

Creates an image from pixels traversed along a path.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void ImageAlongPath
(
	AvlNet.Image inImage,
	AvlNet.Path inAxisPath,
	AvlNet.CoordinateSystem2D? inAxisPathAlignment,
	int inScanWidth,
	AvlNet.Axis inAxisType,
	AvlNet.InterpolationMethod inInterpolationMethod,
	AvlNet.Pixel? inBorderColor,
	AvlNet.Image outImage
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inAxisPathAvlNet.PathInput path.
inAxisPathAlignmentAvlNet.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.
inAxisTypeAvlNet.AxisYType of axis the transformed axis path 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.
inBorderColorAvlNet.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 ).
outImageAvlNet.ImageOutput image.

Function Overrides

See also