Back to FabImage Studio website

You are here: Start » Filter Reference » Computer Vision » Shape Fitting 3D » FitSegmentToRidges3D

FitSegmentToRidges3D


Module: Vision3DStandard

Performs a series of 1D ridge detections in 3D and finds a segment that best matches the detected points.

Applications

Precise detection of a thin straight line, whose rough location is known beforehand.
Name Type Range Description
Input value
inSurface Surface Surface to fit the segment to
Input value
inFittingField SegmentFittingField Segment fitting field
Input value
inFittingFieldAlignment CoordinateSystem2D* Adjusts the fitting field to the position of the inspected object
Input value
inScanCount Integer 3 - The number of points that will be searched to estimate the position of the segment
Input value
inSamplingStep Real* 0.0 - Desired distance between consecutive sampling points on the scan segments; if Nil, the bigger of surface X and Y scales is chosen
Input value
inScanWidth Integer 1 - The width of each scan field (in pixels)
Input value
inSurfaceInterpolation InterpolationMethod Interpolation method used for extraction of surface points
Input value
inRidgeScanParams RidgeScanParams3D Parameters controlling the ridge extraction process
Input value
inRidgeSelection Selection Selection mode of ridges
Input value
inLocalBlindness LocalBlindness* Defines conditions in which weaker ridges can be detected in the vicinity of stronger ridges
Input value
inMaxProfileGapWidth Integer* 0 - Maximal number of consecutive not existing profile points
Input value
inMaxIncompleteness Real 0.0 - 0.999 Maximal fraction of ridge points not found
Input value
inOutlierSuppression MEstimator* Selects a method for ignoring incorrectly detected points
Output value
outSegment Segment3D? Fitted segment or nothing if the fitting fails
Output value
outRidges SurfaceRidge1D?Array Found ridges
Output value
outDeviationProfile Profile? Profile of distances between the actual segment points and the corresponding reference segment points
Output value
outAlignedFittingField SegmentFittingField Fitting field used; in the image coordinate system
Output value
outInliers Point3DArray Points matching the fitting segment
Output value
outHeightProfiles ProfileArray Extracted surface height profiles
Output value
outResponseProfiles ProfileArray Profiles of the ridge operator response
Diagnostic input
diagScanSegments Segment2DArray Segments along which the scans were run
Diagnostic input
diagSamplingAreas Rectangle2DArray Areas from which the input image is sampled

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Ridge operator parameters are too low in surface ridges detector in FitSegmentToRidges3D.
DomainError Sampling step set to zero in FitSegmentToRidges3D.

Complexity Level

This filter is available on Basic Complexity Level.

Filter Group

This filter is member of FitSegment3D filter group.