You are here: Start » AVL.NET » 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 | |
---|---|---|---|---|---|
![]() | inImage | Avl.Image | Input image. | ||
![]() | inAxisPath | Avl.Path | Input path. | ||
![]() | inAxisPathAlignment | Atl.Optional<Avl.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 | Avl.Axis | Y | Type of axis the transformed axis path will be parallel to. Default value: Y. | |
![]() | inInterpolationMethod | Avl.InterpolationMethod | Bilinear | The interpolation method used to compute pixel brightness in locations of not-integer coordinates. Default value: Bilinear. | |
![]() | inBorderColor | Atl.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 ). | |
![]() | outImage | Avl.Image | Output image. | ||
![]() | outAlignedAxisPath | Atl.Optional<Avl.Path> | Input path after transformation (in the image coordinates). | ||
![]() | diagSamplingPoints | Avl.Diagnostic<System.Collections.Generic.List<Avl.Path>> | Array of paths each one containing the sampling points corresponding to one row of the resulting image. |