mimas::hf::image_loader< T > Class Template Reference
[Particle filter]

A policy (ref Modern C++ Design Andrei Alexandrescu) for hypothesis_filter that will take care to load a sequence of images if the image names of the sequence follows the naming convention base_nameXXXX.png, X being a digit. More...

#include <image_loader.h>

Collaboration diagram for mimas::hf::image_loader< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 image_loader (image< T > &image, set param)
 image_loader (image< T > &image, std::string basename, int size, std::string extension, int first_image_number=0, int nb_images=0)
std::string fileName (void)
void next (void) throw (mimasexception)
 load next image of the sequence in image_IL send a mimasexception when max number of image is reached.

Public Attributes

image< T > & image_IL

Classes

class  set
 This class is used to pass the parametres to the image class loader. More...

Detailed Description

template<typename T>
class mimas::hf::image_loader< T >

A policy (ref Modern C++ Design Andrei Alexandrescu) for hypothesis_filter that will take care to load a sequence of images if the image names of the sequence follows the naming convention base_nameXXXX.png, X being a digit.

To take into account other naming conventions, add a new policy.

Definition at line 24 of file image_loader.h.


Constructor & Destructor Documentation

template<typename T>
mimas::hf::image_loader< T >::image_loader ( image< T > &  image,
set  param 
) [inline]

Definition at line 49 of file image_loader.h.

References mimas::hf::image_loader< T >::next().

Here is the call graph for this function:

template<typename T>
mimas::hf::image_loader< T >::image_loader ( image< T > &  image,
std::string  basename,
int  size,
std::string  extension,
int  first_image_number = 0,
int  nb_images = 0 
) [inline]

Definition at line 57 of file image_loader.h.

References mimas::hf::image_loader< T >::next().

Here is the call graph for this function:


Member Function Documentation

template<typename T>
std::string mimas::hf::image_loader< T >::fileName ( void   )  [inline]

Definition at line 66 of file image_loader.h.

Referenced by mimas::hf::image_loader< T >::next().

template<typename T>
void mimas::hf::image_loader< T >::next ( void   )  throw (mimasexception) [inline]

load next image of the sequence in image_IL send a mimasexception when max number of image is reached.

Definition at line 79 of file image_loader.h.

References mimas::hf::image_loader< T >::fileName(), mimas::hf::image_loader< T >::image_IL, and MMERROR.

Referenced by mimas::hf::image_loader< T >::image_loader().

Here is the call graph for this function:


Member Data Documentation

template<typename T>
image<T>& mimas::hf::image_loader< T >::image_IL

Definition at line 26 of file image_loader.h.

Referenced by mimas::hf::image_loader< T >::next().


The documentation for this class was generated from the following file:
[GNU/Linux] [Qt] [Mesa] [STL] [Lapack] [Boost] [Magick++] [Xalan-C and Xerces-C] [doxygen] [graphviz] [FFTW] [popt] [xine] [Gnuplot] [gnu-arch] [gcc] [gstreamer] [autoconf/automake/make] [freshmeat.net] [opensource.org] [sourceforge.net] [MMVL]
mimas 2.1 - Copyright Mon Oct 30 11:31:52 2006, Bala Amavasai, Stuart Meikle, Arul Selvan, Fabio Caparrelli, Jan Wedekind, Manuel Boissenin, ...