Back to Aurora 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
Input value inSurface Surface Surface to fit 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 inEdgeScanParams EdgeScanParams3D Parameters controlling the edge extraction process
Input value inEdgeSelection Selection Selection mode of edges
Input value inLocalBlindness LocalBlindness* Defines conditions in which weaker edges can be detected in the vicinity of stronger edges
Input value inMaxProfileGapWidth Integer* 0 - Maximal number of consecutive not existing profile points
Input value inMaxIncompleteness Real 0.0 - 0.999 Maximal fraction of edge 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 outEdges SurfaceEdge1D?Array Found edges
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 edge (derivative) 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 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.