ImageAlongArc
Creates an image from pixels traversed along an arc.
Applications:E.g. "Unwrapping" of object contours, so that they appear as 1D structures on the output image.
Syntax
C++
C#
Python
def ImageAlongArc( inImage: Image, inAxisArc: Arc2D, outImage: Image, /, *, inAxisArcAlignment: CoordinateSystem2D | None = None, inScanWidth: int = 5, inAxisType: Axis = Axis.Y, inInterpolationMethod: InterpolationMethod = InterpolationMethod.Bilinear, inBorderColor: Pixel | None = None, outAlignedAxisArc: Arc2D | None = None ) -> diagSamplingPoints: list[Path]
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inImage | Image | Input image | ||
![]() |
inAxisArc | Arc2D | Input arc | ||
![]() |
inAxisArcAlignment | CoordinateSystem2D | None | None | Adjusts the axis arc to the position of the inspected object | |
![]() |
inScanWidth | int | 1 - ![]() |
5 | The width of the stripe of pixels along the given arc |
![]() |
inAxisType | Axis | Axis.Y | Type of axis the transformed axis arc will be parallel to | |
![]() |
inInterpolationMethod | InterpolationMethod | InterpolationMethod.Bilinear | The interpolation method used to compute pixel brightness in locations of not-integer coordinates | |
![]() |
inBorderColor | Pixel | None | None | Color of pixel outside image. If inBorderColor = NIL then algorithm repeats color of boarder. | |
![]() |
outImage | Image | Output image | ||
![]() |
outAlignedAxisArc | Arc2D | None | None | Input arc after transformation (in the image coordinates) | |
![]() |
diagSamplingPoints | list[Path] | Array of paths each one containing the sampling points corresponding to one row of the resulting image |




