Back to Adaptive Vision Library website
You are here: Start » Function Reference » Image Spatial Transforms » ImageAlongArc
ImageAlongArc
Creates an image from pixels traversed along an arc.
Syntax
C++
C#
void avl::ImageAlongArc ( const avl::Image& inImage, const avl::Arc2D& inAxisArc, atl::Optional<const avl::CoordinateSystem2D&> inAxisArcAlignment, int inScanWidth, avl::Axis::Type inAxisType, avl::InterpolationMethod::Type inInterpolationMethod, avl::Image& outImage, atl::Optional<avl::Arc2D&> outAlignedAxisArc = atl::NIL, atl::Array<avl::Path>& diagSamplingPoints = dummy(atl::Array<avl::Path>) )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | const Image& | Input image | |||
inAxisArc | const Arc2D& | Input arc | |||
inAxisArcAlignment | Optional<const CoordinateSystem2D&> | NIL | 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::Type | Y | Type of axis the transformed axis arc will be parallel to | ||
inInterpolationMethod | InterpolationMethod::Type | Bilinear | The interpolation method used to compute pixel brightness in locations of not-integer coordinates | ||
outImage | Image& | Output image | |||
outAlignedAxisArc | Optional<Arc2D&> | NIL | Input arc after transformation (in the image coordinates) | ||
diagSamplingPoints | Array<Path>& | Array of paths each one containing the sampling points corresponding to one row of the resulting image |