Back to Adaptive Vision Studio website

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

FitSegmentToEdges3D


Module: Vision3DStandard

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

Applications

Precise detection of a straight edge, whose rough location is known beforehand.
Name Type Range Description
inSurface Surface Surface to fit segment to
inFittingField SegmentFittingField Segment fitting field
inFittingFieldAlignment CoordinateSystem2D* Adjusts the fitting field to the position of the inspected object
inScanCount Integer 3 - The number of points that will be searched to estimate the position of the segment
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
inScanWidth Integer 1 - The width of each scan field (in pixels)
inSurfaceInterpolation InterpolationMethod Interpolation method used for extraction of surface points
inEdgeScanParams EdgeScanParams3D Parameters controlling the edge extraction process
inEdgeSelection Selection Selection mode of edges
inLocalBlindness LocalBlindness* Defines conditions in which weaker edges can be detected in the vicinity of stronger edges
inMaxProfileGapWidth Integer* 0 - Maximal number of consecutive not existing profile points
inMaxIncompleteness Real 0.0 - 0.999 Maximal fraction of edge points not found
inOutlierSuppression MEstimator* Selects a method for ignoring incorrectly detected points
outSegment Segment3D? Fitted segment or nothing if the fitting fails
outEdges SurfaceEdge1D?Array Found edges
outDeviationProfile Profile? Profile of distances between the actual segment points and the corresponding reference segment points
outAlignedFittingField SegmentFittingField Fitting field used; in the image coordinate system
outInliers Point3DArray Points matching the fitting segment
diagScanSegments Segment2DArray Segments along which the scans were run
diagSamplingAreas Rectangle2DArray Areas from which the input image is sampled
diagHeightProfiles ProfileArray Extracted surface height profiles
diagResponseProfiles ProfileArray Profiles of the edge (derivative) operator response

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 Sampling step set to zero in FitSegmentToEdges3D.

Complexity Level

This filter is available on Basic Complexity Level.

Filter Group

This filter is member of FitSegment3D filter group.