31#if defined(Image_RECURSES)
32#error Recursive header files inclusion detected in Image.h
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;
140trace.
warning() <<
"Image Ctor fromConstRef "<<std::endl;
305 template <
typename T>
314#include "DGtal/images/Image.ih"
Aim: Copy on write shared pointer.
void setValue(const Point &aPoint, const Value &aValue)
const Domain & domain() const
std::vector< Value >::iterator OutputIterator
SimpleRandomAccessRangeFromPoint< ConstIterator, Iterator, DistanceFunctorFromPoint< Self > > Range
SimpleRandomAccessConstRangeFromPoint< ConstIterator, DistanceFunctorFromPoint< Self > > ConstRange
ConstRange constRange() const
Aim: implements association bewteen points lying in a digital domain and values.
const Domain & domain() const
TImageContainer::ConstRange ConstRange
CowPtr< TImageContainer > ImagePointer
Pointer to the image container data.
Image(const Image &other)
Image(const CowPtr< ImageContainer > &anImageContainerCowPointer)
Image & operator=(const Image &other)
Value operator()(const Point &aPoint) const
Image(ImageContainer *anImageContainer)
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)
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
DGtal is the top-level namespace which contains all DGtal functions and types.
std::ostream & operator<<(std::ostream &out, const ClosedIntegerHalfPlane< TSpace > &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.