Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

MaskConcept< MaskType > Class Template Reference

Class containing all functions that implement "mask" functionality. More...

#include <Mask3D.hpp>

Inheritance diagram for MaskConcept< MaskType >:

Inheritance graph
List of all members.

Public Member Functions

void Invert ()
 Sets all zeros to one and all other values to zero.
void Normalize ()
 Sets all nonzero values to one.
void Select (byte v)
 Sets all pixels wher valu==v to 1, others to 0.
template<class ImArgType>
void ApplyOn (ImArgType &ima) const
 Sets all images unmasked values to zero.
double Sum () const
Vect3Di VectFromOffset (int position) const
 Finds the real position in a masked image from a relative position (to index mask).
RectZone3Di FindBoundingBox () const
 Find Bounding Box of a mask.

Private Member Functions

MaskType * mask ()
const MaskType * cmask () const

Detailed Description

template<class MaskType>
class MaskConcept< MaskType >

Class containing all functions that implement "mask" functionality.

to use thes functions you in a class "TT", TT should inherit from MaskConcept

Definition at line 28 of file Mask3D.hpp.

The documentation for this class was generated from the following file:
Generated on Fri Jun 17 13:36:19 2005 for ImLib3D by  doxygen 1.4.2