31 #if defined(ImageLinearCellEmbedder_RECURSES)
32 #error Recursive header files inclusion detected in ImageLinearCellEmbedder.h
35 #define ImageLinearCellEmbedder_RECURSES
37 #if !defined ImageLinearCellEmbedder_h
39 #define ImageLinearCellEmbedder_h
44 #include "DGtal/base/Common.h"
45 #include "DGtal/base/ConstAlias.h"
46 #include "DGtal/kernel/NumberTraits.h"
47 #include "DGtal/images/CImage.h"
66 template <
typename TKSpace,
208 template <
typename TKSpace,
typename TImage,
typename TEmbedder >
218 #include "DGtal/images/ImageLinearCellEmbedder.ih"
225 #undef ImageLinearCellEmbedder_RECURSES
Aim: This class encapsulates its parameter class so that to indicate to the user that the object/poin...
Aim: a cellular embedder for images. (default constructible, copy constructible, assignable)....
double myIsoValue
The threshold value for the linear embedding.
ImageLinearCellEmbedder()
ImageLinearCellEmbedder & operator=(const ImageLinearCellEmbedder &other)
const Embedder * myPtrEmbedder
A pointer on the digital embedder.
void init(ConstAlias< KSpace > K, ConstAlias< Image > f, ConstAlias< Embedder > e, double iso_value)
RealPoint embedCell(const Cell &cell) const
const KSpace * myPtrK
A pointer on the cellular grid space.
RealPoint operator()(const Cell &cell) const
ImageLinearCellEmbedder(const ImageLinearCellEmbedder &other)
BOOST_CONCEPT_ASSERT((concepts::CImage< TImage >))
const Image * myPtrImage
A pointer on the image.
RealPoint embedSCell(const SCell &scell) const
Space::RealVector RealVector
void selfDisplay(std::ostream &out) const
Space::RealPoint RealPoint
RealPoint embed(const Point &p) const
~ImageLinearCellEmbedder()
TInteger Integer
Arithmetic ring induced by (+,-,*) and Integer numbers.
DGtal is the top-level namespace which contains all DGtal functions and types.
std::ostream & operator<<(std::ostream &out, const ATu0v1< TKSpace, TLinearAlgebra > &object)
Represents a signed cell in a cellular grid space by its Khalimsky coordinates and a boolean value.
Aim: Defines the concept describing a read/write image, having an output iterator.