31 #if defined(Image_RECURSES)
32 #error Recursive header files inclusion detected in Image.h
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 >
114 trace.
warning() <<
"Image Ctor fromPointer "<<std::endl;
140 trace.
warning() <<
"Image Ctor fromConstRef "<<std::endl;
305 template <
typename T>
314 #include "DGtal/images/Image.ih"
321 #undef Image_RECURSES
const Domain & domain() const
void setValue(const Point &aPoint, const Value &aValue)
std::vector< Value >::iterator OutputIterator
ConstRange constRange() const
Aim: implements association bewteen points lying in a digital domain and values.
TImageContainer::ConstRange ConstRange
CowPtr< TImageContainer > ImagePointer
Pointer to the image container data.
Image(const Image &other)
Image(const CowPtr< ImageContainer > &anImageContainerCowPointer)
Value operator()(const Point &aPoint) const
Image(ImageContainer *anImageContainer)
const Domain & domain() const
const ImagePointer getPointer() const
ConstRange constRange() const
void selfDisplay(std::ostream &out) const
TImageContainer::Point Point
void setValue(const Point &aPoint, const Value &aValue)
Image(const ImageContainer &other)
Image & operator=(const Image &other)
TImageContainer ImageContainer
Types copied from the container.
BOOST_CONCEPT_ASSERT((concepts::CImage< TImageContainer >))
Checking concepts.
TImageContainer::Domain Domain
ImagePointer myImagePointer
Owning smart pointer on the image container.
TImageContainer::Value Value
BOOST_CONCEPT_ASSERT((concepts::CVertexMap< TImageContainer >))
TImageContainer::Range Range
TImageContainer::OutputIterator OutputIterator
Aim: model of CConstBidirectionalRangeFromPoint that adapts any range of elements bounded by two iter...
Aim: model of CBidirectionalRangeFromPoint that adapts any range of elements bounded by two iterators...
DGtal is the top-level namespace which contains all DGtal functions and types.
std::ostream & operator<<(std::ostream &out, const ATu0v1< TKSpace, TLinearAlgebra > &object)
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.
HyperRectDomain< Space > Domain