#include <Mask3D.hpp>
Inheritance diagram for MaskConcept< MaskType >:
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 |
to use thes functions you in a class "TT", TT should inherit from MaskConcept
Definition at line 28 of file Mask3D.hpp.