HuginBase::RandomPointSampler Class Reference

#include <PointSampler.h>

Inheritance diagram for HuginBase::RandomPointSampler:

Inheritance graph
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 PanoramaData &pano, int nPoints, float minI, float maxI, std::vector< std::multimap< double, PP > > &radiusHist, unsigned &nBadPoints, AppBase::ProgressDisplay *progress)

Protected Member Functions

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

Detailed Description

Definition at line 196 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 200 of file PointSampler.h.

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

Definition at line 207 of file PointSampler.h.

Member Function Documentation

virtual void HuginBase::RandomPointSampler::samplePoints ( const std::vector< InterpolImg > &  imgs,
const std::vector< vigra::FImage * > &  voteImgs,
const PanoramaData pano,
float  minI,
float  maxI,
std::vector< std::multimap< double, vigra_ext::PointPairRGB > > &  radiusHist,
unsigned &  nGoodPoints,
unsigned &  nBadPoints,
AppBase::ProgressDisplay 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 PanoramaData pano,
int  nPoints,
float  minI,
float  maxI,
std::vector< std::multimap< double, PP > > &  radiusHist,
unsigned &  nBadPoints,
AppBase::ProgressDisplay progress 
) [static]

Definition at line 435 of file PointSampler.h.

References DEBUG_INFO, HuginBase::PanoramaData::getImage(), vigra_ext::getMaxComponent(), HuginBase::PanoramaData::getOptions(), HuginBase::SrcPanoImage::getRadialVigCorrCenter(), HuginBase::PanoramaOptions::getROI(), HuginBase::SrcPanoImage::isInside(), 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 25 Nov 2015 for Hugintrunk by  doxygen 1.4.7