You are here: Start » AVL.NET » AVL.ImageProfileAlongPath(AvlNet.ImageProfileAlongPathState, AvlNet.Image, AvlNet.Path, AvlNet.CoordinateSystem2D?, int, AvlNet.InterpolationMethod, float, AvlNet.Profile, AvlNet.Path, AvlNet.Path, AvlNet.Path[])
AVL.ImageProfileAlongPath(AvlNet.ImageProfileAlongPathState, AvlNet.Image, AvlNet.Path, AvlNet.CoordinateSystem2D?, int, AvlNet.InterpolationMethod, float, AvlNet.Profile, AvlNet.Path, AvlNet.Path, AvlNet.Path[])
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
public static void ImageProfileAlongPath( ref AvlNet.ImageProfileAlongPathState ioState, AvlNet.Image inImage, AvlNet.Path inScanPath, AvlNet.CoordinateSystem2D? inScanPathAlignment, int inScanWidth, AvlNet.InterpolationMethod inInterpolationMethod, float inSmoothingStdDev, out AvlNet.Profile outProfile, out AvlNet.Path outPath, out AvlNet.Path outAlignedScanPath, out AvlNet.Path[] diagSamplingPoints )
Parameters
- ioState
- Type: AvlNet.ImageProfileAlongPathState
- inImage
- Type: AvlNet.Image
Input image - inScanPath
- Type: AvlNet.Path
Path along which the profile is extracted - inScanPathAlignment
- Type: System.Nullable<AvlNet.CoordinateSystem2D>
Adjusts the scan path to the position of the inspected object, or null. - inScanWidth
- Type: System.Int32
Width of the scan area - inInterpolationMethod
- Type: AvlNet.InterpolationMethod
Interpolation method used to compute pixel brightness in locations of not-integer coordinates - inSmoothingStdDev
- Type: System.Single
Standard deviation of the gaussian smoothing applied to the extracted profile - outProfile
- Type: AvlNet.Profile
The resulting profile of the pixel brightness - outPath
- Type: AvlNet.Path
The path consisting of the points from which the resulting profile is extracted - outAlignedScanPath
- Type: AvlNet.Path
- diagSamplingPoints
- Type: AvlNet.Path
Array of paths each one containing the sampling points that contributed to a single value of the extracted profile
Examples
![]() |
![]() |
ImageProfileAlongPath applied on an image of a bottle (inScanWidth = 5)


