HuginBase::RandomPointSampler Class Reference

#include <PointSampler.h>

Inheritance diagram for HuginBase::RandomPointSampler:

Inheritance graph
[legend]
List of all members.

Public Member Functions

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

Static Public Member Functions

template<class Img, class VoteImg, class PP>
void sampleRandomPanoPoints (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 &nBadPoints, AppBase::ProgressReporter &progress)

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::RandomPointSampler::RandomPointSampler PanoramaData panorama,
AppBase::ProgressDisplay progressDisplay,
std::vector< vigra::FRGBImage * >  images,
int  nPoints
[inline]
 

Definition at line 199 of file PointSampler.h.

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

Definition at line 206 of file PointSampler.h.


Member Function Documentation

virtual void HuginBase::RandomPointSampler::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 224 of file PointSampler.h.

template<class Img, class VoteImg, class PP>
void HuginBase::RandomPointSampler::sampleRandomPanoPoints 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 &  nBadPoints,
AppBase::ProgressReporter progress
[static]
 

Definition at line 447 of file PointSampler.h.

References DEBUG_INFO, 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.


The documentation for this class was generated from the following file:
Generated on Fri Sep 19 01:25:47 2014 for Hugintrunk by  doxygen 1.3.9.1