PCL
|
Thresholded image transformation. More...
#include <ThresholdedTransformation.h>
Public Member Functions | |
ThresholdedTransformation (const ThresholdedTransformation &)=default | |
ThresholdedTransformation (double low=0, double high=0) | |
~ThresholdedTransformation () override | |
double | HighThreshold () const |
bool | IsThresholded () const |
double | LowThreshold () const |
void | SetHighThreshold (double t) |
void | SetLowThreshold (double t) |
Public Member Functions inherited from pcl::ImageTransformation | |
ImageTransformation ()=default | |
ImageTransformation (const ImageTransformation &)=default | |
virtual | ~ImageTransformation () |
template<class P > | |
GenericImage< P > & | operator>> (GenericImage< P > &image) const |
ImageVariant & | operator>> (ImageVariant &image) const |
Additional Inherited Members | |
Protected Member Functions inherited from pcl::ImageTransformation | |
virtual void | Apply (pcl::ComplexImage &image) const |
virtual void | Apply (pcl::DComplexImage &image) const |
virtual void | Apply (pcl::DImage &image) const |
virtual void | Apply (pcl::Image &image) const |
virtual void | Apply (pcl::UInt16Image &image) const |
virtual void | Apply (pcl::UInt32Image &image) const |
virtual void | Apply (pcl::UInt8Image &image) const |
ThresholdedTransformation represents a thresholded image transformation in PCL. A thresholded transformation modifies its effect when applied to pixels within a given range of pixel sample values.
Instead of defining a fixed range of sample values, a thresholded transformation defines two threshold values in PCL. These thresholds are normalized distances measured from a floating reference value that can be specified on a per-pixel basis.
In PCL, convolutions in the spatial domain and morphological transformations have been implemented as thresholded transformations.
Definition at line 82 of file ThresholdedTransformation.h.
|
inline |
Constructs a ThresholdedTransformation object with the specified low and high threshold values in the normalized real range [0,1].
Definition at line 90 of file ThresholdedTransformation.h.
|
default |
Copy constructor.
|
inlineoverride |
Destroys a ThresholdedTransformation object.
Definition at line 104 of file ThresholdedTransformation.h.
|
inline |
Returns the current high threshold in the normalized real range.
Definition at line 140 of file ThresholdedTransformation.h.
|
inline |
Returns true iff this transformation is currently thresholded.
The transformation is thresholded when either threshold (low or high) is nonzero. When both thresholds are zero, the transformation applies no thresholding at all.
Definition at line 115 of file ThresholdedTransformation.h.
|
inline |
Returns the current low threshold in the normalized real range.
Definition at line 123 of file ThresholdedTransformation.h.
|
inline |
Sets the high threshold to the specified sample value t in the normalized real range.
Definition at line 149 of file ThresholdedTransformation.h.
|
inline |
Sets the low threshold to the specified sample value t in the normalized real range.
Definition at line 132 of file ThresholdedTransformation.h.