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 844 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 d in the [0,1] range.
Definition at line 860 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 874 of file MorphologicalOperator.h.
|
inlineoverridevirtual |
Returns a human-readable description of this morphological operator.
Reimplemented from pcl::MorphologicalOperator.
Definition at line 898 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 916 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 907 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 934 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 943 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 925 of file MorphologicalOperator.h.
|
inline |
Sets the trimming factor d of this alpha-trimmed mean operator.
Definition at line 890 of file MorphologicalOperator.h.
References pcl::Range().
|
inline |
Returns the trimming factor of this alpha-trimmed mean operator.
Definition at line 882 of file MorphologicalOperator.h.