31#if defined(DicomReader_RECURSES)
32#error Recursive header files inclusion detected in DicomReader.h
35#define DicomReader_RECURSES
37#if !defined DicomReader_h
44#include "DGtal/base/Common.h"
45#include "DGtal/base/CUnaryFunctor.h"
46#include "DGtal/images/CImage.h"
47#include "DGtal/images/ImageContainerByITKImage.h"
52#pragma warning(disable : 4290)
90 typename TFunctor = functors::Cast< typename TImageContainer::Value > >
135 template <
typename Domain,
typename PixelType>
140 template <
typename Image,
typename Domain,
typename OutPixelType,
146 const TFunctor & aFunctor );
150 template <
typename Domain,
typename OutPixelType,
typename PixelType>
156 const TFunctor & aFunctor );
160 template <
typename PixelType>
163 const TFunctor & aFunctor);
175#include "DGtal/io/readers/DicomReader.ih"
183#undef DicomReader_RECURSES
Aim: implements a model of CImageContainer using a ITK Image.
Aim: implements association bewteen points lying in a digital domain and values.
DGtal is the top-level namespace which contains all DGtal functions and types.
boost::int32_t int32_t
signed 32-bit integer.
static ImageContainerByITKImage< Domain, OutPixelType > importDicomFiles(const std::vector< std::string > &filenames, const TFunctor &aFunctor)
static Image importDicomFiles(const std::vector< std::string > &filenames, const TFunctor &aFunctor)
Aim: Import a 3D DICOM image from file series.
BOOST_CONCEPT_ASSERT((concepts::CImage< ImageContainer >))
BOOST_STATIC_ASSERT((TImageContainer::Domain::dimension==3))
TImageContainer::Value Value
TImageContainer ImageContainer
static ImageContainer importDicomSeries(const std::vector< std::string > &filenames, const Functor &aFunctor=Functor())
static ImageContainerByITKImage< Domain, PixelType > importDicomFiles_(const std::vector< std::string > &filenames)
static TImageContainer importDicomFiles(const std::vector< std::string > &filenames, const TFunctor &aFunctor)
static ImageContainer importDicom(const std::string &aFilename, const Functor &aFunctor=Functor())
BOOST_CONCEPT_ASSERT((concepts::CUnaryFunctor< Functor, PixelType, Value >))
Aim: Defines the concept describing a read/write image, having an output iterator.
Aim: Defines a unary functor, which associates arguments to results.
ImageContainerBySTLVector< Domain, Value > Image
HyperRectDomain< Space > Domain
ImageContainerBySTLVector< HyperRectDomain< Z2i::Space >, std::unordered_set< Z2i::Point > > TImageContainer