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>
static 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)

Detailed Description

Definition at line 195 of file PointSampler.h.


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]

Definition at line 224 of file PointSampler.h.

References HuginBase::PointSampler::o_numPoints, and sampleRandomPanoPoints().

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

Referenced by samplePoints().


The documentation for this class was generated from the following file:
Generated on 31 Oct 2014 for Hugintrunk by  doxygen 1.4.7