Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Typedefs | Functions | Variables
Mask.h File Reference

declaration of classes to work with mask More...

#include <hugin_shared.h>
#include "hugin_utils/utils.h"
#include "hugin_math/hugin_math.h"
Include dependency graph for Mask.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  HuginBase::MaskPolygon
 base class, which stores one mask polygon More...
 

Namespaces

 HuginBase
 mainly consists of wrapper around the pano tools library, to assist in ressource management and to provide a nicer interface.
 
 HuginBase::PTools
 
 vigra_ext
 

Typedefs

typedef std::vector
< hugin_utils::FDiff2D
HuginBase::VectorPolygon
 vector, which stores coordinates of one polygon More...
 
typedef std::vector< MaskPolygon > HuginBase::MaskPolygonVector
 

Functions

void HuginBase::LoadMaskFromStream (std::istream &stream, vigra::Size2D &imageSize, MaskPolygonVector &newMasks, size_t imgNr)
 load the mask from stream More...
 
void HuginBase::SaveMaskToStream (std::ostream &stream, vigra::Size2D imageSize, MaskPolygon &maskToWrite, size_t imgNr)
 save the mask into stream More...
 
template<class SrcImageIterator , class SrcAccessor >
void vigra_ext::applyMask (vigra::triple< SrcImageIterator, SrcImageIterator, SrcAccessor > img, HuginBase::MaskPolygonVector masks)
 

Variables

const int HuginBase::maskOffset =100
 polygon can exceed the image maximal maskOffset pixels in each direction bigger polygons will be clipped after loading More...
 

Detailed Description

declaration of classes to work with mask

definitions of classes to work with mask

Author
Thomas Modes

Definition in file Mask.h.