HuginBase::AllPointSampler Class Reference

#include <PointSampler.h>

Inheritance diagram for HuginBase::AllPointSampler:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 AllPointSampler (PanoramaData &panorama, AppBase::ProgressDisplay *progressDisplay, std::vector< vigra::FRGBImage * > images, int nPoints)
virtual ~AllPointSampler ()

Static Public Member Functions

template<class Img, class VoteImg, class PP>
void sampleAllPanoPoints (const std::vector< Img > &imgs, const std::vector< VoteImg * > &voteImgs, const std::vector< SrcPanoImage > &src, const PanoramaOptions &dest, int nPoints, float minI, float maxI, std::vector< std::multimap< double, PP > > &radiusHist, unsigned &nGoodPoints, unsigned &nBadPoints, AppBase::ProgressReporter &progress)
 sample all points inside a panorama and check for create a bins of point pairs that include a specific radius.

Protected Member Functions

virtual void samplePoints (const std::vector< InterpolImg > &imgs, const std::vector< vigra::FImage * > &voteImgs, const std::vector< SrcPanoImage > &src, const PanoramaOptions &dest, float minI, float maxI, std::vector< std::multimap< double, vigra_ext::PointPairRGB > > &radiusHist, unsigned &nGoodPoints, unsigned &nBadPoints, AppBase::ProgressReporter &progress)

Constructor & Destructor Documentation

HuginBase::AllPointSampler::AllPointSampler PanoramaData panorama,
AppBase::ProgressDisplay progressDisplay,
std::vector< vigra::FRGBImage * >  images,
int  nPoints
[inline]
 

Definition at line 136 of file PointSampler.h.

virtual HuginBase::AllPointSampler::~AllPointSampler  )  [inline, virtual]
 

Definition at line 143 of file PointSampler.h.


Member Function Documentation

template<class Img, class VoteImg, class PP>
void HuginBase::AllPointSampler::sampleAllPanoPoints const std::vector< Img > &  imgs,
const std::vector< VoteImg * > &  voteImgs,
const std::vector< SrcPanoImage > &  src,
const PanoramaOptions dest,
int  nPoints,
float  minI,
float  maxI,
std::vector< std::multimap< double, PP > > &  radiusHist,
unsigned &  nGoodPoints,
unsigned &  nBadPoints,
AppBase::ProgressReporter progress
[static]
 

sample all points inside a panorama and check for create a bins of point pairs that include a specific radius.

Definition at line 301 of file PointSampler.h.

References hugin_utils::FDiff2D, vigra_ext::getMaxComponent(), HuginBase::PanoramaOptions::getROI(), AppBase::ProgressReporter::increaseProgress(), hugin_utils::norm(), hugin_utils::sqr(), hugin_utils::TDiff2D< T >::toDiff2D(), hugin_utils::TDiff2D< T >::x, and hugin_utils::TDiff2D< T >::y.

virtual void HuginBase::AllPointSampler::samplePoints const std::vector< InterpolImg > &  imgs,
const std::vector< vigra::FImage * > &  voteImgs,
const std::vector< SrcPanoImage > &  src,
const PanoramaOptions dest,
float  minI,
float  maxI,
std::vector< std::multimap< double, vigra_ext::PointPairRGB > > &  radiusHist,
unsigned &  nGoodPoints,
unsigned &  nBadPoints,
AppBase::ProgressReporter progress
[inline, protected, virtual]
 

Implements HuginBase::PointSampler.

Definition at line 165 of file PointSampler.h.


The documentation for this class was generated from the following file:
Generated on Thu Sep 18 01:25:48 2014 for Hugintrunk by  doxygen 1.3.9.1