You are here: Start » AVL.NET » AVS.ImageProfileAlongPath Method
AVS.ImageProfileAlongPath Method
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.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void ImageProfileAlongPath ( AvlNet.ScanMapState ioState, AvlNet.Image inImage, AvlNet.Path inScanPath, AvlNet.CoordinateSystem2D? inScanPathAlignment, int inScanWidth, AvlNet.SamplingParams inSamplingParams, float inSmoothingStdDev, AvlNet.AccumulationMode inAccumulationMode, AvlNet.Pixel? inBorderColor, AvlNet.Profile outProfile, AvlNet.Path outPath, NullableRef<AvlNet.Path> outAlignedScanPath )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
ioState | AvlNet.ScanMapState | ||||
inImage | AvlNet.Image | Input image. | |||
inScanPath | AvlNet.Path | Path along which the profile is extracted. | |||
inScanPathAlignment | AvlNet.CoordinateSystem2D? | Adjusts the scan path to the position of the inspected object. Default value: atl::NIL. | |||
inScanWidth | int | <1, INF> | 5 | Width of the scan field in pixels. Default value: 5. | |
inSamplingParams | AvlNet.SamplingParams | Parameters controlling the sampling process. | |||
inSmoothingStdDev | float | <0.0f, INF> | 0.6f | Standard deviation of the gaussian smoothing applied to the extracted profile. Default value: 0.6f. | |
inAccumulationMode | AvlNet.AccumulationMode | Determines how the pixel values are combined. | |||
inBorderColor | AvlNet.Pixel? | Pixel ( X: 0.0f Y: 0.0f Z: 0.0f W: 0.0f ) | Color of pixel outside image. Default value: Pixel ( X: 0.0f Y: 0.0f Z: 0.0f W: 0.0f ). | ||
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. | |||
outAlignedScanPath | AvlNet.NullableRef<AvlNet.Path> | Input scan path after transformation (in the image coordinates). Can be null to skip this parameter calculation. |
Function Overrides
- ImageProfileAlongPath(ScanMapState, Image, Path, Int32, SamplingParams, Single, AccumulationMode, Profile, Path)
- ImageProfileAlongPath(ScanMapState, Image, Path, Nullable<CoordinateSystem2D>, Int32, SamplingParams, Single, AccumulationMode, Nullable<Pixel>, Profile, Path)
- ImageProfileAlongPath(ScanMapState, Image, Path, Nullable<CoordinateSystem2D>, Int32, SamplingParams, Single, AccumulationMode, Nullable<Pixel>, Profile, Path, Path, IList<Path>, Single)
- ImageProfileAlongPath(ScanMapState, Image, Path, Nullable<CoordinateSystem2D>, Int32, SamplingParams, Single, AccumulationMode, Nullable<Pixel>, Profile, Path, NullableRef<Path>, IList<Path>, Single)