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 | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image. | |||
inAxisPath | AvlNet.Path | Input path. | |||
inAxisPathAlignment | AvlNet.CoordinateSystem2D? | Adjusts the axis path to the position of the inspected object. Default value: atl::NIL. | |||
inScanWidth | int | <1, INF> | 5 | The width of the stripe of pixels along the given path. Default value: 5. | |
inAxisType | AvlNet.Axis | Y | Type of axis the transformed axis path will be parallel to. Default value: Y. | ||
inInterpolationMethod | AvlNet.InterpolationMethod | Bilinear | The interpolation method used to compute pixel brightness in locations of not-integer coordinates. Default value: Bilinear. | ||
inBorderColor | AvlNet.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 ). | ||
outImage | AvlNet.Image | Output image. |
Function Overrides
- ImageAlongPath(Image, Path, Int32, Axis, InterpolationMethod, Image)
- ImageAlongPath(Image, Path, Nullable<CoordinateSystem2D>, Int32, Axis, InterpolationMethod, Nullable<Pixel>, Image, NullableRef<Path>)
- ImageAlongPath(Image, Path, Nullable<CoordinateSystem2D>, Int32, Axis, InterpolationMethod, Nullable<Pixel>, Image, Path, IList<Path>)
- ImageAlongPath(Image, Path, Nullable<CoordinateSystem2D>, Int32, Axis, InterpolationMethod, Nullable<Pixel>, Image, NullableRef<Path>, IList<Path>)