You are here: Start » FIL.NET » Function Reference » Computer Vision » Shape Fitting » FIL.CreatePathFittingMap
FIL.CreatePathFittingMap
Precomputes a data object that is required for fast path fitting on images.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
public static void CreatePathFittingMap ( FilNet.ImageFormat inImageFormat, FilNet.PathFittingField inFittingField, FilNet.CoordinateSystem2D? inFittingFieldAlignment, float? inScanStep, int inScanWidth, FilNet.SamplingParams inSamplingParams, FilNet.PathFittingMap outFittingMap )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImageFormat | FilNet.ImageFormat | Dimensions, depth and pixel type of the images on which fitting will be performed. | ||
![]() | inFittingField | FilNet.PathFittingField | Defines a stripe in which scan segments will be created. | ||
![]() | inFittingFieldAlignment | FilNet.CoordinateSystem2D? | Adjusts the fitting field to the position of the inspected object. Default value: ftl::NIL. | ||
![]() | inScanStep | float? | <0.0f, INF> | Optional implicit conversion of the input path to an equidistant one. Default value: ftl::NIL. | |
![]() | inScanWidth | int | <1, INF> | 5 | The width of each scan field (in pixels). Default value: 5. |
![]() | inSamplingParams | FilNet.SamplingParams | .interpolation Bilinear | Parameters controlling the sampling process. Default value: .interpolation Bilinear. | |
![]() | outFittingMap | FilNet.PathFittingMap | Optimized data required for path fitting. |
Description
The operation creates a series of scan maps that can be later used by other Shape Fitting filters. Each scan map corresponds to a single scan segment of inScanWidth length.
The optional parameter inFittingFieldAlignment defines the transform to be performed on the inFittingField so that the result is defined in a new context, e.g. returned by one of Template Matching filters.
Remarks
Read more about Local Coordinate Systems in Machine Vision Guide: Local Coordinate Systems.
This filter is a part of the Shape Fitting toolset. To read more about this technique, one can refer to the Shape Fitting chapter of our Machine Vision Guide
Function Overrides
- CreatePathFittingMap(ImageFormat, PathFittingField, Int32, SamplingParams, PathFittingMap)
- CreatePathFittingMap(ImageFormat, PathFittingField, Nullable<CoordinateSystem2D>, Nullable<Single>, Int32, SamplingParams, PathFittingMap, IList<Segment2D>, IList<Rectangle2D>)