Start » Filter Reference » Image » Image Spatial Transforms » ImageAlongArc
Module: | FoundationBasic |
---|
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.
Name | Type | Range | Description | |
---|---|---|---|---|
inImage | Image | Input image | ||
inAxisArc | Arc2D | Input arc | ||
inAxisArcAlignment | CoordinateSystem2D* | Adjusts the axis arc to the position of the inspected object | ||
inScanWidth | Integer | 1 - | The width of the stripe of pixels along the given arc | |
inAxisType | Axis | Type of axis the transformed axis arc will be parallel to | ||
inInterpolationMethod | InterpolationMethod | The interpolation method used to compute pixel brightness in locations of not-integer coordinates | ||
inBorderColor | Pixel* | Color of pixel outside image. If inBorderColor = NIL then algorithm repeats color of boarder. | ||
outImage | Image | Output image | ||
outAlignedAxisArc | Arc2D | Input arc after transformation (in the image coordinates) | ||
diagSamplingPoints | PathArray | Array of paths each one containing the sampling points corresponding to one row of the resulting image |
Description
The operation transforms the stripe of pixels of width inScanWidth along the inAxisArc in the way that transforms the arc into straight segment. Two modes of pixel interpolation are available, the bilinear filtering being more precise and computationally expensive.
The optional parameter inAxisArcAlignment defines the transform to be performed on the inAxisArc so that the resulting path is defined in a new context, e.g. returned by one of Template Matching filters.
Examples
Complexity Level
This filter is available on Advanced Complexity Level.
See Also
- ImageProfileAlongPath – Creates a series of segments across the input path, measures the average pixel intensity on each of the segments, and creates the final profile from those values.
- ImageAlongPath – Creates an image from pixels traversed along a path.