31 #if defined(Image_RECURSES) 32 #error Recursive header files inclusion detected in Image.h 33 #else // defined(Image_RECURSES) 35 #define Image_RECURSES 44 #include "DGtal/base/Common.h" 45 #include "DGtal/base/ConceptUtils.h" 46 #include "DGtal/images/CImage.h" 47 #include "DGtal/kernel/domains/CDomain.h" 48 #include "DGtal/base/CowPtr.h" 49 #include "DGtal/graph/CVertexMap.h" 68 template <
typename TImageContainer >
110 Image(ImageContainer *anImageContainer):
114 trace.
warning() <<
"Image Ctor fromPointer "<<std::endl;
140 trace.
warning() <<
"Image Ctor fromConstRef "<<std::endl;
305 template <
typename T>
307 operator<< ( std::ostream & out, const Image<T> & object );
314 #include "DGtal/images/Image.ih" 319 #endif // !defined Image_h 321 #undef Image_RECURSES 322 #endif // else defined(Image_RECURSES)
HyperRectDomain< Space > Domain
Aim: implements association bewteen points lying in a digital domain and values.
TImageContainer ImageContainer
Types copied from the container.
TImageContainer::ConstRange ConstRange
TImageContainer::Point Point
Image::ConstRange ConstRange
Image(ImageContainer *anImageContainer)
TImageContainer::OutputIterator OutputIterator
void setValue(const Point &aPoint, const Value &aValue)
ConstRange constRange() const
const ImagePointer getPointer() const
CowPtr< TImageContainer > ImagePointer
Pointer to the image container data.
ImagePointer myImagePointer
Owning smart pointer on the image container.
Value operator()(const Point &aPoint) const
void selfDisplay(std::ostream &out) const
DGtal is the top-level namespace which contains all DGtal functions and types.
Image(const CowPtr< ImageContainer > &anImageContainerCowPointer)
Image(const Image &other)
Image(const ImageContainer &other)
const Domain & domain() const
TImageContainer::Value Value
Aim: Defines the concept describing a read/write image, having an output iterator.
Aim: models of CVertexMap concept implement mapping between graph vertices and values.
BOOST_CONCEPT_ASSERT((concepts::CImage< TImageContainer >))
Checking concepts.
Image & operator=(const Image &other)
TImageContainer::Range Range
TImageContainer::Domain Domain