1 #ifndef TIL_BASIC_PIXEL_TESTS_H 2 #define TIL_BASIC_PIXEL_TESTS_H 95 template <
class _TImage >
112 void setValue(value_type value) { m_value = value; }
128 template <
class TImage >
143 bool compute(
const ConstVolumetricIterator &iIm)
const 145 return this->_compute(*iIm);
150 return this->_compute(im.getValue(pos));
155 bool _compute(value_type value)
const 164 template <
class TImage >
179 bool compute(
const ConstVolumetricIterator & iIm)
const 181 return this->_compute(*iIm);
186 return this->_compute(im(pos));
191 bool _compute(value_type value)
const 200 template <
class TImage >
215 bool compute(
const ConstVolumetricIterator & iIm)
const 217 return this->_compute(*iIm);
222 return this->_compute(im(pos));
227 bool _compute(value_type value)
const A trait class to assign iterators to image types.
void setValue(value_type value)
TImage::value_type value_type
bool compute(const TImage &im, const numeric_array< int, 3 > &pos) const
bool compute(const ConstVolumetricIterator &iIm) const
Belongs to package Box Do not include directly, include til/Box.h instead.
bool compute(const TImage &im, const numeric_array< int, 3 > &pos) const
General macros, definitions and functions.
PT_IsAbove(value_type value)
TImage::value_type value_type
bool compute(const ConstVolumetricIterator &iIm) const
bool compute(const TImage &im, const numeric_array< int, 3 > &pos) const
PT_IsEqual(value_type value)
PT_IsBelow(value_type value)
bool compute(const ConstVolumetricIterator &iIm) const
Iterator< TImage >::ConstVolumetric ConstVolumetricIterator
value_type getValue() const
Iterator< TImage >::ConstVolumetric ConstVolumetricIterator
Iterator< TImage >::ConstVolumetric ConstVolumetricIterator
PT_SingleValue(value_type value)
Iterator< TImage >::ConstVolumetric ConstVolumetricIterator
TImage::value_type value_type
TImage::value_type value_type