The MinimumInterpolator class provides sub-pixel access to blitz++ Arrays returning the minimum of all adjacent pixel values.
More...
#include "libArrayToolbox/Interpolator.hh"
|
| MinimumInterpolator (BoundaryTreatmentType bt=ValueBT, DataT const &boundaryValue=traits< DataT >::zero) |
| Constructor. More...
|
|
| MinimumInterpolator (MinimumInterpolator< DataT, Dim > const &ip) |
| Copy Constructor. More...
|
|
| ~MinimumInterpolator () |
| Destructor. More...
|
|
BoundaryTreatment< DataT, Dim > const & | boundaryTreatment () const |
| Get a read-only reference to the Interpolator's boundary treatment object. More...
|
|
BoundaryTreatment< DataT, Dim > & | boundaryTreatment () |
| Get a random-access reference to the Interpolator's boundary treatment object. More...
|
|
Interpolator< DataT, Dim > * | clone () const |
| Get a deep copy of this Interpolator object. More...
|
|
DataT | get (blitz::Array< DataT, Dim > const &data, blitz::TinyVector< double, Dim > const &pos) const |
| Get the Array value at the given subpixel position. More...
|
|
MinimumInterpolator< DataT, Dim > & | operator= (MinimumInterpolator< DataT, Dim > const &ip) |
| Copy assignment operator. More...
|
|
void | setBoundaryTreatment (BoundaryTreatmentType bt, DataT const &boundaryValue=traits< DataT >::zero) |
| Set the Interpolator's boundary treatment type. More...
|
|
InterpolationType | type () const |
| Get the corresponding enumeration value for the interpolation type. More...
|
|
template<typename DataT, int Dim>
class atb::MinimumInterpolator< DataT, Dim >
The MinimumInterpolator class provides sub-pixel access to blitz++ Arrays returning the minimum of all adjacent pixel values.
- See also
- BoundaryTreatment, ValueBoundaryTreatment, CyclicBoundaryTreatment, RepeatBoundaryTreatment, MirrorBoundaryTreatment, CropBoundaryTreatment
Definition at line 502 of file Interpolator.hh.
◆ MinimumInterpolator() [1/2]
template<typename DataT, int Dim>
Constructor.
- Parameters
-
bt | The boundary treatment to apply when out-of-Array positions are requested. |
boundaryValue | The default out-of-Array value (for ValueBT) |
◆ MinimumInterpolator() [2/2]
template<typename DataT, int Dim>
Copy Constructor.
- Parameters
-
◆ ~MinimumInterpolator()
template<typename DataT, int Dim>
◆ operator=()
template<typename DataT, int Dim>
Copy assignment operator.
- Parameters
-
- Returns
- A reference to this Interpolator object for operator chaining
◆ clone()
template<typename DataT, int Dim>
◆ type()
template<typename DataT, int Dim>
◆ get()
template<typename DataT, int Dim>
DataT atb::MinimumInterpolator< DataT, Dim >::get |
( |
blitz::Array< DataT, Dim > const & |
data, |
|
|
blitz::TinyVector< double, Dim > const & |
pos |
|
) |
| const |
|
virtual |
Get the Array value at the given subpixel position.
With this interpolator the value will be the minimum of all adjacent pixel values.
- Parameters
-
data | The Array to get a value from |
pos | The position |
- Returns
- The interpolated Array value at the given position
Implements atb::Interpolator< DataT, Dim >.
◆ boundaryTreatment() [1/2]
template<typename DataT, int Dim>
◆ boundaryTreatment() [2/2]
template<typename DataT, int Dim>
◆ setBoundaryTreatment()
template<typename DataT, int Dim>
Set the Interpolator's boundary treatment type.
- Parameters
-
bt | The new boundary treatment type |
boundaryValue | The default out-of-Array value (for ValueBT) |
◆ p_bt
template<typename DataT, int Dim>
The documentation for this class was generated from the following file: