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

Detailed Description

Definition at line 132 of file PointSampler.h.


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 vigra_ext::getMaxComponent(), HuginBase::PanoramaOptions::getROI(), vigra_ext::EMoR::h, AppBase::ProgressReporter::increaseProgress(), hugin_utils::norm(), and hugin_utils::sqr().

Referenced by samplePoints().

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]

Definition at line 165 of file PointSampler.h.

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


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