You are here: Start » FIL.NET » Function Reference » Image » Image Spatial Transforms » FIL.ImageAlongArc
Creates an image from pixels traversed along an arc.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
public static void ImageAlongArc ( FilNet.Image inImage, FilNet.Arc2D inAxisArc, FilNet.CoordinateSystem2D? inAxisArcAlignment, int inScanWidth, FilNet.Axis inAxisType, FilNet.InterpolationMethod inInterpolationMethod, FilNet.Pixel? inBorderColor, FilNet.Image outImage, NullableValue<FilNet.Arc2D> outAlignedAxisArc, IList<FilNet.Path> diagSamplingPoints )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | FilNet.Image | Input image. | ||
![]() | inAxisArc | FilNet.Arc2D | Input arc. | ||
![]() | inAxisArcAlignment | FilNet.CoordinateSystem2D? | Adjusts the axis arc to the position of the inspected object. Default value: ftl::NIL. | ||
![]() | inScanWidth | int | <1, INF> | 5 | The width of the stripe of pixels along the given arc. Default value: 5. |
![]() | inAxisType | FilNet.Axis | Y | Type of axis the transformed axis arc will be parallel to. Default value: Y. | |
![]() | inInterpolationMethod | FilNet.InterpolationMethod | Bilinear | The interpolation method used to compute pixel brightness in locations of not-integer coordinates. Default value: Bilinear. | |
![]() | inBorderColor | FilNet.Pixel? | Color of pixel outside image. If inBorderColor = NIL then algorithm repeats color of boarder. Default value: ftl::NIL. | ||
![]() | outImage | FilNet.Image | Output image. | ||
![]() | outAlignedAxisArc | FilNet.NullableValue<FilNet.Arc2D> | Input arc after transformation (in the image coordinates). Can be null to skip this parameter calculation. | ||
![]() | diagSamplingPoints | System.Collections.Generic.IList<FilNet.Path> | 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
![]() |
![]() |
ImageAlongArc performed on the sample image with inScanWidth = 50 and inAxisType = X.
Function Overrides
- ImageAlongArc(Image, Arc2D, Int32, Axis, InterpolationMethod, Image)
- ImageAlongArc(Image, Arc2D, Nullable<CoordinateSystem2D>, Int32, Axis, InterpolationMethod, Nullable<Pixel>, Image)
- ImageAlongArc(Image, Arc2D, Nullable<CoordinateSystem2D>, Int32, Axis, InterpolationMethod, Nullable<Pixel>, Image, NullableValue<Arc2D>)
- ImageAlongArc(Image, Arc2D, Nullable<CoordinateSystem2D>, Int32, Axis, InterpolationMethod, Nullable<Pixel>, Image, Arc2D, IList<Path>)