32 #if defined(ImageContainerByITKImage_RECURSES) 33 #error Recursive header files inclusion detected in ImageContainerByITKImage.h 34 #else // defined(ImageContainerByITKImage_RECURSES) 36 #define ImageContainerByITKImage_RECURSES 38 #if !defined ImageContainerByITKImage_h 40 #define ImageContainerByITKImage_h 44 #include "DGtal/base/Common.h" 45 #include "DGtal/base/CLabel.h" 46 #include "DGtal/kernel/domains/CDomain.h" 47 #include "DGtal/kernel/domains/CDomain.h" 48 #include "DGtal/images/DefaultConstImageRange.h" 49 #include "DGtal/images/DefaultImageRange.h" 52 #pragma GCC diagnostic push 53 #pragma GCC diagnostic ignored "-Wdeprecated-declarations" 55 #if defined(__clang__) 56 #pragma clang diagnostic push 57 #pragma clang diagnostic ignored "-Wdocumentation" 60 #include <itkImageRegionConstIterator.h> 61 #include <itkImageRegionIterator.h> 63 #if defined(__clang__) 64 #pragma clang diagnostic pop 68 #pragma GCC diagnostic pop 89 template <
typename TDomain,
typename TValue>
112 typedef typename itk::Image< TValue, dimension>
ITKImage;
115 typedef typename itk::ImageRegionIterator< ITKImage >
Iterator;
198 Value
operator()(
const ConstIterator &it)
const;
214 void setValue(
const Point &aPoint,
const Value &aValue);
222 void setValue(Iterator &it,
const Value &V);
288 const ConstIterator
end()
const 332 template <
typename T,
typename TV>
334 operator<< ( std::ostream & out, const ImageContainerByITKImage<T, TV> & object );
339 #include "DGtal/images/ImageContainerByITKImage.ih" 344 #endif // !defined ImageContainerByITKImage_h 346 #undef ImageContainerByITKImage_RECURSES 347 #endif // else defined(ImageContainerByITKImage_RECURSES)
ITKImagePointer myITKImagePointer
Aim: model of CConstBidirectionalRangeFromPoint that adapts the domain of an image in order to iterat...
Aim: Define the concept of DGtal labels. Models of CLabel can be default-constructible, assignable and equality comparable.
ImageContainerByITKImage< TDomain, TValue > Self
ImageContainerByITKImage()
Aim: model of CConstBidirectionalRangeFromPoint and CBidirectionalRangeWithWritableIteratorFromPoint ...
ITKImagePointer getITKImagePointer() const
~ImageContainerByITKImage()
itk::ImageRegionIterator< ITKImage > Iterator
static const Domain::Dimension dimension
DefaultConstImageRange< Self > ConstRange
DefaultImageRange< Self > Range
const Domain & domain() const
void selfDisplay(std::ostream &out) const
Domain::Dimension Dimension
ImageContainerByITKImage & operator=(const ImageContainerByITKImage &other)
Space::Dimension Dimension
ConstIterator begin() const
Aim: This concept represents a digital domain, i.e. a non mutable subset of points of the given digit...
void setValue(const Point &aPoint, const Value &aValue)
itk::ImageRegionConstIterator< ITKImage > ConstIterator
BOOST_CONCEPT_ASSERT((concepts::CLabel< TValue >))
Value operator()(const Point &aPoint) const
itk::Image< TValue, dimension > ITKImage
const ConstIterator end() const
DGtal is the top-level namespace which contains all DGtal functions and types.
ConstRange constRange() const
ITKImage::Pointer ITKImagePointer
Aim: implements a model of CImageContainer using a ITK Image.