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" 51 #pragma warning(disable : 4290) 88 template <
typename TImageContainer,
89 typename TFunctor = functors::Cast< typename TImageContainer::Value > >
127 #include "DGtal/io/readers/DicomReader.ih" 133 #endif // !defined DicomReader_h 135 #undef DicomReader_RECURSES 136 #endif // else defined(DicomReader_RECURSES) Aim: Import a 3D DICOM image from file series.
static ImageContainer importDicom(const std::string &aFilename, const Functor &aFunctor=Functor())
Aim: Defines a unary functor, which associates arguments to results.
BOOST_STATIC_ASSERT((TImageContainer::Domain::dimension==3))
TImageContainer ImageContainer
DGtal is the top-level namespace which contains all DGtal functions and types.
TImageContainer::Value Value
boost::int32_t int32_t
signed 32-bit integer.
Aim: Defines the concept describing a read/write image, having an output iterator.
BOOST_CONCEPT_ASSERT((concepts::CImage< ImageContainer >))