mimas::image< T > Class Template Reference

Template class for images. More...

#include <image.h>

Inheritance diagram for mimas::image< T >:

Inheritance graph
[legend]
Collaboration diagram for mimas::image< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 image (void)
template<typename U, typename UPtr>
 image (const const_image_ref< U, UPtr > &_image)
 Copy-constructor.
virtual void init (int w, int h)
virtual void clear (void)
image< T > sub_image (const mimas::pixel ul, const mimas::pixel lr) const
image< T > sub_image (const int top_left_x, const int top_left_y, const int width, const int height) const
image< T > & operator= (const image< T > &_image)
template<typename U, typename UPtr>
imageoperator= (const const_image_ref< U, UPtr > &_image)

Protected Attributes

boost::shared_array< T > storage
 Storage.

Detailed Description

template<typename T>
class mimas::image< T >

Template class for images.

Hmmm. Well. image is a generic image class. You specify the pixel type at creation time. So if you want an image of ints do

    image<int> my_image;
and so on.

Definition at line 63 of file image.h.


Constructor & Destructor Documentation

template<typename T>
mimas::image< T >::image ( void   )  [inline]

Definition at line 67 of file image.h.

template<typename T>
template<typename U, typename UPtr>
mimas::image< T >::image ( const const_image_ref< U, UPtr > &  _image  )  [inline]

Copy-constructor.

Definition at line 76 of file image.h.


Member Function Documentation

template<typename T>
virtual void mimas::image< T >::init ( int  w,
int  h 
) [inline, virtual]

Definition at line 80 of file image.h.

Referenced by mimas::colour_properties_tool< T >::brightness(), mimas::colour_properties_tool< T >::contrast(), mimas::correlate(), mimas::hf::correlation_observer2D< Hypothesis_T, Pixel_T >::correlation_observer2D(), mimas::cgh_scene< T >::createFromImage(), mimas::despeckleKuwahara(), mimas::despeckleMedian(), mimas::find_line< ImageIteratorSource >::displayLine(), mimas::displayWithOverlay(), mimas::canny< T >::dxy_separable_convolution(), mimas::edgeLoG(), mimas::pyramid_tool::expandGaussian(), mimas::filter< T >::filterCols(), mimas::filter< T >::filterRows(), mimas::strong_features_tool::findFeatures(), mimas::canny< T >::getEdges(), mimas::filter< T >::gradX(), mimas::filter< T >::gradY(), mimas::halfResolutionEdgePyramid(), mimas::image_func(), mimas::oilPainting(), mimas::image< Pixel_T >::operator=(), mimas::paethRotateRadian(), mimas::pyramid_tool::reconstructLaplacian(), mimas::pyramid_tool::reduceGaussian(), mimas::bg_subtract< T >::removeBackground(), mimas::segment_sct_tool::segment(), mimas::canny< T >::separable_convolution(), mimas::stereo< T >::stereoMap(), mimas::image< Pixel_T >::sub_image(), and mimas::stereo< T >::writeNormalisedDepthMapToFilePGM().

template<typename T>
virtual void mimas::image< T >::clear ( void   )  [inline, virtual]

Definition at line 92 of file image.h.

Referenced by mimas::activeContour< T >::adaptContour(), mimas::pyramid_tool::buildLaplacian(), mimas::pyramid_tool::expandGaussian(), mimas::corner_tool< T >::filterImage(), mimas::canny_tool< T >::findEdgeStrings(), mimas::strong_features_tool::findFeatures(), and mimas::pyramid_tool::reduceGaussian().

template<typename T>
image<T> mimas::image< T >::sub_image ( const mimas::pixel  ul,
const mimas::pixel  lr 
) const [inline]

Definition at line 116 of file image.h.

template<typename T>
image<T> mimas::image< T >::sub_image ( const int  top_left_x,
const int  top_left_y,
const int  width,
const int  height 
) const [inline]

Definition at line 132 of file image.h.

template<typename T>
image<T>& mimas::image< T >::operator= ( const image< T > &  _image  )  [inline]

Definition at line 147 of file image.h.

Referenced by mimas::image< Pixel_T >::image().

template<typename T>
template<typename U, typename UPtr>
image& mimas::image< T >::operator= ( const const_image_ref< U, UPtr > &  _image  )  [inline]

Definition at line 160 of file image.h.


Member Data Documentation

template<typename T>
boost::shared_array< T > mimas::image< T >::storage [protected]

Storage.

Definition at line 170 of file image.h.

Referenced by mimas::image< Pixel_T >::clear(), and mimas::image< Pixel_T >::init().


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:31 2006, Bala Amavasai, Stuart Meikle, Arul Selvan, Fabio Caparrelli, Jan Wedekind, Manuel Boissenin, ...