PCL
|
Alpha-trimmed mean operator. More...
#include <MorphologicalOperator.h>
The alpha-trimmed mean operator computes the mean of the remaining values in a pixel neighborhood, after suppressing the d/2 lowest and the d/2 highest values. The point d defines the trimming factor of the operator. When d=0, we have an arithmetic mean filter. If d=1, the filter is the median operator.
The alpha-trimmed operator is not a morphological operator in the strict sense, although it allows for the implementation of robust filters that share some important properties with morphological filters in practical applications.
Definition at line 1109 of file MorphologicalOperator.h.
|
default |
Default constructor. The default trimming factor is 0.2, which leads to the suppression of a 10% of the lowest and highest neighbor pixels. The resulting object is a robust mean filter resilient to outliers in most practical cases.
|
inline |
Constructs a AlphaTrimmedMeanFilter object with the specified trimming factor t in the [0,1] range.
Definition at line 1125 of file MorphologicalOperator.h.
|
default |
Copy constructor.
|
inlineoverridevirtual |
Returns a pointer to a dynamically allocated duplicate of this morphological operator.
Implements pcl::MorphologicalOperator.
Definition at line 1139 of file MorphologicalOperator.h.
|
inlineoverridevirtual |
Returns a human-readable description of this morphological operator.
Reimplemented from pcl::MorphologicalOperator.
Definition at line 1163 of file MorphologicalOperator.h.
|
inlineoverridevirtual |
Applies this morphological operator to a vector f of n 64-bit floating point pixel samples.
Reimplemented from pcl::MorphologicalOperator.
Definition at line 1181 of file MorphologicalOperator.h.
|
inlineoverridevirtual |
Applies this morphological operator to a vector f of n 32-bit floating point pixel samples.
Reimplemented from pcl::MorphologicalOperator.
Definition at line 1172 of file MorphologicalOperator.h.
|
inlineoverridevirtual |
Applies this morphological operator to a vector f of n 16-bit unsigned integer pixel samples.
Reimplemented from pcl::MorphologicalOperator.
Definition at line 1199 of file MorphologicalOperator.h.
|
inlineoverridevirtual |
Applies this morphological operator to a vector f of n 32-bit unsigned integer pixel samples.
Reimplemented from pcl::MorphologicalOperator.
Definition at line 1208 of file MorphologicalOperator.h.
|
inlineoverridevirtual |
Applies this morphological operator to a vector f of n 8-bit unsigned integer pixel samples.
Reimplemented from pcl::MorphologicalOperator.
Definition at line 1190 of file MorphologicalOperator.h.
|
inline |
Sets the trimming factor t of this alpha-trimmed mean operator.
Definition at line 1155 of file MorphologicalOperator.h.
References pcl::Range().
|
inline |
Returns the trimming factor of this alpha-trimmed mean operator.
Definition at line 1147 of file MorphologicalOperator.h.