[an error occurred while processing this directive]
Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

vigra_ext::MultiLayerImage< Image, Mask > Struct Template Reference

A multilayer image is simply a collection consisting of multiple ROIImages. More...

#include <MultiLayerImage.h>

List of all members.

Public Types

typedef Image::value_type image_value_type
typedef Image::traverser image_traverser
typedef Image::const_traverser const_image_traverser
typedef Image::Accessor ImageAccessor
typedef Image::ConstAccessor ConstImageAccessor
typedef Mask::value_type mask_value_type
typedef Mask::traverser mask_traverser
typedef Mask::const_traverser const_mask_traverser
typedef Mask::Accessor MaskAccessor
typedef Mask::ConstAccessor ConstMaskAccessor

Public Member Functions

 MultiLayerImage ()
 ~MultiLayerImage ()
unsigned int layers ()
ROIImage< Image, Mask > & appendLayer ()
void removeLayer (unsigned int i)
vigra::Rect2D boundingBox ()
 calculate the bounding box of all images.
ROIImage< Image, Mask > & GetLayer (unsigned int i)
template<class ImgIter, class MaskIter>
void getCut (int x, int y, ImgIter image_iter, MaskIter mask_iter) const
 get all image and mask data at a given point.

Protected Attributes

LayerVector m_layers
 the data storage.


Detailed Description

template<class Image, class Mask>
struct vigra_ext::MultiLayerImage< Image, Mask >

A multilayer image is simply a collection consisting of multiple ROIImages.

It contains some simple methods to iterate over the image.


Member Typedef Documentation

template<class Image, class Mask>
typedef Image::const_traverser vigra_ext::MultiLayerImage< Image, Mask >::const_image_traverser
 

template<class Image, class Mask>
typedef Mask::const_traverser vigra_ext::MultiLayerImage< Image, Mask >::const_mask_traverser
 

template<class Image, class Mask>
typedef Image::ConstAccessor vigra_ext::MultiLayerImage< Image, Mask >::ConstImageAccessor
 

template<class Image, class Mask>
typedef Mask::ConstAccessor vigra_ext::MultiLayerImage< Image, Mask >::ConstMaskAccessor
 

template<class Image, class Mask>
typedef Image::traverser vigra_ext::MultiLayerImage< Image, Mask >::image_traverser
 

template<class Image, class Mask>
typedef Image::value_type vigra_ext::MultiLayerImage< Image, Mask >::image_value_type
 

template<class Image, class Mask>
typedef Image::Accessor vigra_ext::MultiLayerImage< Image, Mask >::ImageAccessor
 

template<class Image, class Mask>
typedef Mask::traverser vigra_ext::MultiLayerImage< Image, Mask >::mask_traverser
 

template<class Image, class Mask>
typedef Mask::value_type vigra_ext::MultiLayerImage< Image, Mask >::mask_value_type
 

template<class Image, class Mask>
typedef Mask::Accessor vigra_ext::MultiLayerImage< Image, Mask >::MaskAccessor
 


Constructor & Destructor Documentation

template<class Image, class Mask>
vigra_ext::MultiLayerImage< Image, Mask >::MultiLayerImage  )  [inline]
 

template<class Image, class Mask>
vigra_ext::MultiLayerImage< Image, Mask >::~MultiLayerImage  )  [inline]
 


Member Function Documentation

template<class Image, class Mask>
ROIImage<Image, Mask>& vigra_ext::MultiLayerImage< Image, Mask >::appendLayer  )  [inline]
 

template<class Image, class Mask>
vigra::Rect2D vigra_ext::MultiLayerImage< Image, Mask >::boundingBox  )  [inline]
 

calculate the bounding box of all images.

template<class Image, class Mask>
template<class ImgIter, class MaskIter>
void vigra_ext::MultiLayerImage< Image, Mask >::getCut int  x,
int  y,
ImgIter  image_iter,
MaskIter  mask_iter
const [inline]
 

get all image and mask data at a given point.

They are copied into the containers given by image_iter and mask_iter.

This is SLOW.

template<class Image, class Mask>
ROIImage<Image, Mask>& vigra_ext::MultiLayerImage< Image, Mask >::GetLayer unsigned int  i  ) 
 

template<class Image, class Mask>
unsigned int vigra_ext::MultiLayerImage< Image, Mask >::layers  )  [inline]
 

template<class Image, class Mask>
void vigra_ext::MultiLayerImage< Image, Mask >::removeLayer unsigned int  i  )  [inline]
 


Member Data Documentation

template<class Image, class Mask>
LayerVector vigra_ext::MultiLayerImage< Image, Mask >::m_layers [protected]
 

the data storage.


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

Generated on Mon Sep 20 01:01:37 2010 for Hugintrunk by doxygen 1.3.9.1