31#if defined(ImageFactoryFromImage_RECURSES)
32#error Recursive header files inclusion detected in ImageFactoryFromImage.h
35#define ImageFactoryFromImage_RECURSES
37#if !defined ImageFactoryFromImage_h
39#define ImageFactoryFromImage_h
44#include "DGtal/base/Common.h"
45#include "DGtal/base/ConceptUtils.h"
46#include "DGtal/images/CImage.h"
47#include "DGtal/base/Alias.h"
65 template <
typename TImageContainer>
157 for (; it != it_end; ++it)
174 for (; it != it_end; ++it)
215 template <
typename TImageContainer>
224#include "DGtal/images/ImageFactoryFromImage.ih"
231#undef ImageFactoryFromImage_RECURSES
Aim: This class encapsulates its parameter class so that to indicate to the user that the object/poin...
Iterator for HyperRectDomain.
void setValue(const Point &aPoint, const Value &aValue)
const Domain & domain() const
Aim: implements a factory to produce images from a "bigger/original" one according to a given domain.
TImageContainer ImageContainer
Types copied from the container.
ImageFactoryFromImage(const ImageFactoryFromImage &other)
const Domain & domain() const
ImageFactoryFromImage & operator=(const ImageFactoryFromImage &other)
void selfDisplay(std::ostream &out) const
ImageContainer::Domain Domain
void detachImage(OutputImage *outputImage)
ImageContainer * myImagePtr
Alias on the image container.
ImageFactoryFromImage(Alias< ImageContainer > anImage)
ImageContainer OutputImage
New types.
BOOST_CONCEPT_ASSERT((concepts::CImage< TImageContainer >))
Checking concepts.
OutputImage * requestImage(const Domain &aDomain)
ImageFactoryFromImage< TImageContainer > Self
void flushImage(OutputImage *outputImage)
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.
ImageContainerBySTLVector< HyperRectDomain< Z2i::Space >, std::unordered_set< Z2i::Point > > TImageContainer