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

Invoke.ScanExactlyNRidges_Direct

Locates a specified number of the strongest dark or bright pixel peak along a given path (without a scan map).

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void ScanExactlyNRidges_Direct
(
	Fil.Image inImage,
	Fil.Path inScanPath,
	Optional<Fil.CoordinateSystem2D> inScanPathAlignment,
	int inScanWidth,
	Fil.SamplingParams inSamplingParams,
	Fil.RidgeScanParams inRidgeScanParams,
	int inRidgeCount,
	Fil.Selection inRidgeSelection,
	float inMinDistance,
	Optional<float> inMaxDistance,
	Optional<Fil.LocalBlindness> inLocalBlindness,
	Conditional<List<Fil.Ridge1D>> outRidges,
	Conditional<List<Fil.Gap1D>> outGaps,
	Optional<Fil.Path> outAlignedScanPath,
	Optional<Fil.Profile> outBrightnessProfile,
	Optional<Fil.Profile> outResponseProfile,
	Diagnostic<List<Fil.Path>> diagSamplingPoints,
	Diagnostic<float> diagSamplingStep
)

Parameters

Name Type Range Default Description
inImageFil.ImageInput image.
inScanPathFil.PathPath along which the scan is performed.
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.SamplingParamsSamplingParams ( Interpolation: Bilinear SamplingStep: 1.0f SampleCount: Nil )Parameters controlling the sampling process. Default value: SamplingParams ( Interpolation: Bilinear SamplingStep: 1.0f SampleCount: Nil ).
inRidgeScanParamsFil.RidgeScanParamsRidgeScanParams ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 0.6f RidgeWidth: 5 RidgeMargin: 2 MinMagnitude: 5.0f RidgePolarity: Dark )Parameters controlling the ridge extraction process. Default value: RidgeScanParams ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 0.6f RidgeWidth: 5 RidgeMargin: 2 MinMagnitude: 5.0f RidgePolarity: Dark ).
inRidgeCountint<0, INF>1Number of ridges to be found. Default value: 1.
inRidgeSelectionFil.SelectionSelection mode of the resulting ridges.
inMinDistancefloat<0.0f, INF>0.0fMinimal distance between consecutive ridges. Default value: 0.0f.
inMaxDistanceFtl.Optional<float><0.0f, INF>Maximal distance between consecutive ridges. Default value: ftl::NIL.
inLocalBlindnessFtl.Optional<Fil.LocalBlindness>Defines conditions in which weaker ridges can be detected in the vicinity of stronger ridges. Default value: ftl::NIL.
outRidgesFtl.Conditional<System.Collections.Generic.List<Fil.Ridge1D>>Found ridges.
outGapsFtl.Conditional<System.Collections.Generic.List<Fil.Gap1D>>Gaps between consecutive edges.
outAlignedScanPathFtl.Optional<Fil.Path>Transformed input path.
outBrightnessProfileFtl.Optional<Fil.Profile>Extracted image profile.
outResponseProfileFtl.Optional<Fil.Profile>Profile of the ridge operator response.
diagSamplingPointsFil.Diagnostic<System.Collections.Generic.List<Fil.Path>>Array of paths each one containing the sampling points that contributes to a single value of the extracted profile.
diagSamplingStepFil.Diagnostic<float>Used distance between consecutive sampling points on the scan path.

See also