Weighted 'least squares' line fitting, where the impact of outliers
is decreased based on the approach of Huber (see below).
'tukey'"tukey""tukey""tukey""tukey""tukey":
Weighted 'least squares' line fitting, where outliers
are ignored based on the approach of Tukey (see below).
'drop'"drop""drop""drop""drop""drop":
'least squares' line fitting, where outliers are ignored. In
particular, all contour points further away from the contour than the mean
distance to the regression line multiplied with the ClippingFactorClippingFactorClippingFactorClippingFactorclippingFactorclipping_factor
(see below) are ignored for the calculation of the undistorted regression
line.
'gauss'"gauss""gauss""gauss""gauss""gauss":
Weighted 'least squares' line fitting, where the impact of outliers
is decreased based on the mean value and the standard deviation of
the distances of all contour points from the approximating line.
For 'huber'"huber""huber""huber""huber""huber", 'tukey'"tukey""tukey""tukey""tukey""tukey", and 'drop'"drop""drop""drop""drop""drop"
a robust error statistics is used to
estimate the standard deviation of the distances from the contour points
without outliers from the approximating line. The parameter
ClippingFactorClippingFactorClippingFactorClippingFactorclippingFactorclipping_factor (a scaling factor for the standard deviation)
controls the amount of outliers: The smaller the value chosen for
ClippingFactorClippingFactorClippingFactorClippingFactorclippingFactorclipping_factor the more outliers are detected. The detection of
outliers is repeated. The parameter IterationsIterationsIterationsIterationsiterationsiterations specifies the number
of iterations.
In the mode 'regression'"regression""regression""regression""regression""regression" this value is ignored.
Note that in the approach of Tukey ('tukey'"tukey""tukey""tukey""tukey""tukey"), the outliers are
removed before performing the approximation and all other points are weighted,
whereas in the approach of Huber ('huber'"huber""huber""huber""huber""huber"), the outliers still have
a small influence. Particularly,
for outliers the optimization is influenced linearly and for points with a
smaller distance it is influenced to the square.
In practice, the approach of Tukey is recommended.
The start point and the end point of a line segment is determined by
projecting the first and the last point of the corresponding contour
to the approximating line. Due to artifacts in the pre-processing
the start and end points of a contour might be faulty. Therefore, it
is possible to exclude ClippingEndPointsClippingEndPointsClippingEndPointsClippingEndPointsclippingEndPointsclipping_end_points points at the beginning
and at the end of a contour from the line fitting. However, they are
still used for the determination of the start point and the end
point of the line segment.
The minimum necessary number of contour points for fitting a line is two.
Therefore, it is required that the number of contour points is at least
.
Execution Information
Multithreading type: reentrant (runs in parallel with non-exclusive operators).
Multithreading scope: global (may be called from any thread).
List of values:
'drop'"drop""drop""drop""drop""drop", 'gauss'"gauss""gauss""gauss""gauss""gauss", 'huber'"huber""huber""huber""huber""huber", 'regression'"regression""regression""regression""regression""regression", 'tukey'"tukey""tukey""tukey""tukey""tukey"
Maximum number of iterations
(unused for 'regression'"regression""regression""regression""regression""regression").
Default:
5
Restriction:
Iterations >= 0
ClippingFactorClippingFactorClippingFactorClippingFactorclippingFactorclipping_factor (input_control) real →HTuplefloatHTupleHtuple (real) (double) (double) (double)
Clipping factor for the elimination of outliers
(typical values: 1.0 for 'huber'"huber""huber""huber""huber""huber" and
'drop'"drop""drop""drop""drop""drop" and 2.0 for 'tukey'"tukey""tukey""tukey""tukey""tukey").