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

Invoke.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 those values.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void ImageProfileAlongPath
(
	Fil.ScanMapState ioState,
	Fil.Image inImage,
	Fil.Path inScanPath,
	Optional<Fil.CoordinateSystem2D> inScanPathAlignment,
	int inScanWidth,
	Fil.SamplingParams inSamplingParams,
	float inSmoothingStdDev,
	Fil.AccumulationMode inAccumulationMode,
	Optional<Fil.Pixel> inBorderColor,
	Fil.Profile outProfile,
	Fil.Path outPath,
	Optional<Fil.Path> outAlignedScanPath,
	Diagnostic<List<Fil.Path>> diagSamplingPoints,
	Diagnostic<float> diagSamplingStep
)

Parameters

Name Type Range Default Description
ioStateFil.ScanMapState
inImageFil.ImageInput image.
inScanPathFil.PathPath along which the profile is extracted.
inScanPathAlignmentFtl.Optional<Fil.CoordinateSystem2D>Adjusts the scan path to the position of the inspected object. Default value: ftl::NIL.
inScanWidthint<1, INF>5Width of the scan field in pixels. Default value: 5.
inSamplingParamsFil.SamplingParamsParameters controlling the sampling process.
inSmoothingStdDevfloat<0.0f, INF>0.6fStandard deviation of the gaussian smoothing applied to the extracted profile. Default value: 0.6f.
inAccumulationModeFil.AccumulationModeDetermines how the pixel values are combined.
inBorderColorFtl.Optional<Fil.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 ).
outProfileFil.ProfileThe resulting profile of the pixel brightness.
outPathFil.PathThe path consisting of the points from which the resulting profile is extracted.
outAlignedScanPathFtl.Optional<Fil.Path>Input scan path after transformation (in the image coordinates).
diagSamplingPointsFil.Diagnostic<System.Collections.Generic.List<Fil.Path>>Array of paths each one containing the sampling points that contributed to a single value of the extracted profile.
diagSamplingStepFil.Diagnostic<float>Used distance between consecutive sampling points on the scan path.

See also