You are here: Start » AVL.NET » AVL.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 that values.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void ImageProfileAlongPath ( AvlNet.ScanMapState ioState, AvlNet.Image inImage, AvlNet.Path inScanPath, int inScanWidth, AvlNet.InterpolationMethod inInterpolationMethod, float inSmoothingStdDev, AvlNet.Profile outProfile, AvlNet.Path outPath, IList<AvlNet.Path> diagSamplingPoints )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
ioState | AvlNet.ScanMapState | ||||
inImage | AvlNet.Image | Input image. | |||
inScanPath | AvlNet.Path | Path along which the profile is extracted. | |||
inScanWidth | int | <1, INF> | 5 | Width of the scan area. Default value: 5. | |
inInterpolationMethod | AvlNet.InterpolationMethod | Bilinear | Interpolation method used to compute pixel brightness in locations of not-integer coordinates. Default value: Bilinear. | ||
inSmoothingStdDev | float | <0.0f, INF> | 0.6f | Standard deviation of the gaussian smoothing applied to the extracted profile. Default value: 0.6f. | |
outProfile | AvlNet.Profile | The resulting profile of the pixel brightness. | |||
outPath | AvlNet.Path | The path consisting of the points from which the resulting profile is extracted. | |||
diagSamplingPoints | System.Collections.Generic.IList<AvlNet.Path> | Array of paths each one containing the sampling points that contributed to a single value of the extracted profile. |
Examples
Function Overrides
- ImageProfileAlongPath(ScanMapState, Image, Path, Int32, InterpolationMethod, Single, Profile, Path)
- ImageProfileAlongPath(ScanMapState, Image, Path, Int32, InterpolationMethod, Single, Profile, Path, Path)
- ImageProfileAlongPath(ScanMapState, Image, Path, Nullable<CoordinateSystem2D>, Int32, InterpolationMethod, Single, Profile, Path)
- ImageProfileAlongPath(ScanMapState, Image, Path, Int32, InterpolationMethod, Single, Profile, Path, Path, IList<Path>)
- ImageProfileAlongPath(ScanMapState, Image, Path, Nullable<CoordinateSystem2D>, Int32, InterpolationMethod, Single, Profile, Path, Path)
- ImageProfileAlongPath(ScanMapState, Image, Path, Nullable<CoordinateSystem2D>, Int32, InterpolationMethod, Single, Profile, Path, IList<Path>)
- ImageProfileAlongPath(ScanMapState, Image, Path, Nullable<CoordinateSystem2D>, Int32, InterpolationMethod, Single, Profile, Path, Path, IList<Path>)