HuginBase::CalculateImageOverlap Class Reference

class for calculating overlap of images More...

#include <CalculateOverlap.h>

List of all members.

Public Member Functions

 CalculateImageOverlap (const PanoramaData *pano)
 constructor
virtual ~CalculateImageOverlap ()
 destructor
void calculate (unsigned int steps)
 does the calculation, for each image steps*steps points are extracted and tested with all other images overlap
double getOverlap (unsigned int i, unsigned int j)
 returns the overlap for 2 images with number i and j
void limitToImages (UIntSet img)
 limits the calculation of the overlap to given image numbers
UIntSet getOverlapForImage (unsigned int i)
 returns a set of images which overlap with given image number

Private Attributes

std::vector< std::vector<
double > > 
m_overlap
std::vector< PTools::Transform * > m_transform
std::vector< PTools::Transform * > m_invTransform
unsigned int m_nrImg
const PanoramaDatam_pano
UIntSet testImages


Detailed Description

class for calculating overlap of images

Definition at line 42 of file CalculateOverlap.h.


Constructor & Destructor Documentation

HuginBase::CalculateImageOverlap::CalculateImageOverlap const PanoramaData pano  ) 
 

constructor

Definition at line 35 of file CalculateOverlap.cpp.

References fill_set(), HuginBase::PanoramaData::getNrOfImages(), HuginBase::PanoramaData::getOptions(), m_invTransform, m_nrImg, m_overlap, m_transform, and testImages.

HuginBase::CalculateImageOverlap::~CalculateImageOverlap  )  [virtual]
 

destructor

Definition at line 57 of file CalculateOverlap.cpp.

References m_invTransform, and m_transform.


Member Function Documentation

void HuginBase::CalculateImageOverlap::calculate unsigned int  steps  ) 
 

does the calculation, for each image steps*steps points are extracted and tested with all other images overlap

Definition at line 66 of file CalculateOverlap.cpp.

References HuginBase::PanoramaData::getImage(), HuginBase::SrcPanoImage::isInside(), m_invTransform, m_nrImg, m_overlap, m_pano, m_transform, HuginBase::SrcPanoImage::resize(), and testImages.

Referenced by AutoPanoSiftPreAlign::automatch(), HuginBase::getHDRStacks(), PanoDetector::matchPrealigned(), SetGeometricControlPointsOverlap(), and SetGeometricControlPointsUnconnected().

double HuginBase::CalculateImageOverlap::getOverlap unsigned int  i,
unsigned int  j
 

returns the overlap for 2 images with number i and j

Definition at line 140 of file CalculateOverlap.cpp.

References m_overlap.

Referenced by AutoPanoSiftPreAlign::automatch(), HuginBase::getHDRStacks(), getOverlapForImage(), PanoDetector::matchPrealigned(), SetGeometricControlPointsOverlap(), and SetGeometricControlPointsUnconnected().

UIntSet HuginBase::CalculateImageOverlap::getOverlapForImage unsigned int  i  ) 
 

returns a set of images which overlap with given image number

Definition at line 152 of file CalculateOverlap.cpp.

References getOverlap(), and HuginBase::UIntSet.

void HuginBase::CalculateImageOverlap::limitToImages UIntSet  img  ) 
 

limits the calculation of the overlap to given image numbers

Definition at line 168 of file CalculateOverlap.cpp.

References testImages.

Referenced by SetGeometricControlPointsUnconnected().


Member Data Documentation

std::vector<PTools::Transform*> HuginBase::CalculateImageOverlap::m_invTransform [private]
 

Definition at line 62 of file CalculateOverlap.h.

Referenced by calculate(), CalculateImageOverlap(), and ~CalculateImageOverlap().

unsigned int HuginBase::CalculateImageOverlap::m_nrImg [private]
 

Definition at line 63 of file CalculateOverlap.h.

Referenced by calculate(), and CalculateImageOverlap().

std::vector<std::vector<double> > HuginBase::CalculateImageOverlap::m_overlap [private]
 

Definition at line 60 of file CalculateOverlap.h.

Referenced by calculate(), CalculateImageOverlap(), and getOverlap().

const PanoramaData* HuginBase::CalculateImageOverlap::m_pano [private]
 

Definition at line 64 of file CalculateOverlap.h.

Referenced by calculate().

std::vector<PTools::Transform*> HuginBase::CalculateImageOverlap::m_transform [private]
 

Definition at line 61 of file CalculateOverlap.h.

Referenced by calculate(), CalculateImageOverlap(), and ~CalculateImageOverlap().

UIntSet HuginBase::CalculateImageOverlap::testImages [private]
 

Definition at line 65 of file CalculateOverlap.h.

Referenced by calculate(), CalculateImageOverlap(), and limitToImages().


The documentation for this class was generated from the following files:
Generated on Wed Apr 23 01:25:51 2014 for Hugintrunk by  doxygen 1.3.9.1