Hugin trunk 0.1
Loading...
Searching...
No Matches
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

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

Typedefs

typedef std::vector< hugin_utils::FDiff2DHuginBase::VectorPolygon
 vector, which stores coordinates of one polygon
 
typedef std::vector< MaskPolygonHuginBase::MaskPolygonVector
 

Functions

void HuginBase::LoadMaskFromStream (std::istream &stream, vigra::Size2D &imageSize, MaskPolygonVector &newMasks, size_t imgNr)
 load the mask from stream
 
void HuginBase::SaveMaskToStream (std::ostream &stream, vigra::Size2D imageSize, MaskPolygon &maskToWrite, size_t imgNr)
 save the mask into stream
 
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
 

Detailed Description

declaration of classes to work with mask

definitions of classes to work with mask

Author
Thomas Modes

Definition in file Mask.h.