Public Types | Public Member Functions | Static Public Member Functions

DGtal::MagickReader< TImageContainer > Struct Template Reference

Aim: implements methods to read a 2D image using the ImageMagick library. More...

#include <MagickReader.h>

Public Types

typedef TImageContainer ImageContainer
typedef
TImageContainer::Domain::Vector 
Vector

Public Member Functions

 BOOST_STATIC_ASSERT ((ImageContainer::Domain::staticDimension==2))

Static Public Member Functions

static ImageContainer importImage (const std::string &filename) throw (DGtal::IOException)

Detailed Description

template<typename TImageContainer>
struct DGtal::MagickReader< TImageContainer >

Aim: implements methods to read a 2D image using the ImageMagick library.

Description of template class 'MagickReader'

Template Parameters:
TImageContainer the image container to use.

Member Typedef Documentation

template<typename TImageContainer>
typedef TImageContainer DGtal::MagickReader< TImageContainer >::ImageContainer
template<typename TImageContainer>
typedef TImageContainer::Domain::Vector DGtal::MagickReader< TImageContainer >::Vector

Member Function Documentation

template<typename TImageContainer>
DGtal::MagickReader< TImageContainer >::BOOST_STATIC_ASSERT ( (ImageContainer::Domain::staticDimension==2)   ) 
template<typename TImageContainer>
static ImageContainer DGtal::MagickReader< TImageContainer >::importImage ( const std::string &  filename  )  throw (DGtal::IOException) [static]

Main method to import an Image into an instance of the template parameter ImageContainer.

Parameters:
filename the file name to import.
Returns:
an instance of the ImageContainer.

Referenced by testMagickReader().


The documentation for this struct was generated from the following file: