You are here: Start » FIL.NET » FIL.ImageProfileAlongPath

FIL.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:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void ImageProfileAlongPath
(
	FilNet.ScanMapState ioState,
	FilNet.Image inImage,
	FilNet.Path inScanPath,
	FilNet.CoordinateSystem2D? inScanPathAlignment,
	int inScanWidth,
	FilNet.InterpolationMethod inInterpolationMethod,
	float inSmoothingStdDev,
	FilNet.Profile outProfile,
	FilNet.Path outPath,
	IList<FilNet.Path> diagSamplingPoints
)

Parameters

Name Type Range Default Description
ioStateFilNet.ScanMapState
inImageFilNet.ImageInput image.
inScanPathFilNet.PathPath along which the profile is extracted.
inScanPathAlignmentFilNet.CoordinateSystem2D?Adjusts the scan path to the position of the inspected object. Default value: ftl::NIL.
inScanWidthint<1, INF>5Width of the scan area. Default value: 5.
inInterpolationMethodFilNet.InterpolationMethodBilinearInterpolation method used to compute pixel brightness in locations of not-integer coordinates. Default value: Bilinear.
inSmoothingStdDevfloat<0.0f, INF>0.6fStandard deviation of the gaussian smoothing applied to the extracted profile. Default value: 0.6f.
outProfileFilNet.ProfileThe resulting profile of the pixel brightness.
outPathFilNet.PathThe path consisting of the points from which the resulting profile is extracted.
diagSamplingPointsSystem.Collections.Generic.IList<FilNet.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)

Function Overrides

See also