Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
HuginBase::AllPointSampler Class Reference

#include <PointSampler.h>

Inheritance diagram for HuginBase::AllPointSampler:
Inheritance graph

Public Member Functions

 AllPointSampler (PanoramaData &panorama, AppBase::ProgressDisplay *progressDisplay, std::vector< vigra::FRGBImage * > images, LimitIntensityVector limits, int nPoints)
 
virtual ~AllPointSampler ()
 
- Public Member Functions inherited from HuginBase::PointSampler
virtual ~PointSampler ()
 
virtual bool modifiesPanoramaData () const
 returns true if the algorithm changes the PanoramaData. More...
 
virtual bool runAlgorithm ()
 implementation of the algorithm. More...
 
PointSamplerexecute ()
 
PointPairs getResultPoints ()
 
- Public Member Functions inherited from HuginBase::TimeConsumingPanoramaAlgorithm
virtual ~TimeConsumingPanoramaAlgorithm ()
 
virtual bool wasCancelled () const
 
- Public Member Functions inherited from HuginBase::PanoramaAlgorithm
virtual ~PanoramaAlgorithm ()
 
virtual bool hasRunSuccessfully ()
 
virtual void run ()
 runs the algorithm. More...
 

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 PanoramaData &pano, int nPoints, const LimitIntensityVector limitI, std::vector< std::multimap< double, PP > > &radiusHist, unsigned &nGoodPoints, unsigned &nBadPoints, AppBase::ProgressDisplay *progress)
 sample all points inside a panorama and check for create a bins of point pairs that include a specific radius. More...
 

Protected Member Functions

virtual void samplePoints (const std::vector< InterpolImg > &imgs, const std::vector< vigra::FImage * > &voteImgs, const PanoramaData &pano, const LimitIntensityVector limitI, std::vector< std::multimap< double, vigra_ext::PointPairRGB > > &radiusHist, unsigned &nGoodPoints, unsigned &nBadPoints, AppBase::ProgressDisplay *progress)
 
- Protected Member Functions inherited from HuginBase::PointSampler
 PointSampler (PanoramaData &panorama, AppBase::ProgressDisplay *progressDisplay, std::vector< vigra::FRGBImage * > images, LimitIntensityVector limits, int nPoints)
 
void sampleAndExtractPoints (AppBase::ProgressDisplay *progress)
 
- Protected Member Functions inherited from HuginBase::TimeConsumingPanoramaAlgorithm
 TimeConsumingPanoramaAlgorithm (PanoramaData &panorama, AppBase::ProgressDisplay *progressDisplay=NULL)
 [Warning! it keeps the reference to the panorama data!] More...
 
virtual AppBase::ProgressDisplaygetProgressDisplay () const
 
virtual bool hasProgressDisplay () const
 
virtual void cancelAlgorithm ()
 Call this when the algorithm is cancelled. More...
 
virtual void algorithmCancelled ()
 Called when the algorithm got cancelled; override with cleaning up process etc. More...
 
- Protected Member Functions inherited from HuginBase::PanoramaAlgorithm
 PanoramaAlgorithm (PanoramaData &panorama)
 

Additional Inherited Members

- Public Types inherited from HuginBase::PointSampler
typedef std::vector
< vigra_ext::PointPairRGB
PointPairs
 
- Protected Types inherited from HuginBase::PointSampler
typedef
vigra_ext::ImageInterpolator
< vigra::FRGBImage::const_traverser,
vigra::FRGBImage::ConstAccessor,
vigra_ext::interp_cubic
InterpolImg
 
- Static Protected Member Functions inherited from HuginBase::PointSampler
template<class PointPairClass >
static void sampleRadiusUniform (const std::vector< std::multimap< double, PointPairClass > > &radiusHist, unsigned nPoints, std::vector< PointPairClass > &selectedPoints, AppBase::ProgressDisplay *)
 extract some random points out of the bins. More...
 
- Protected Attributes inherited from HuginBase::PointSampler
std::vector< vigra::FRGBImage * > o_images
 
int o_numPoints
 
PointPairs o_resultPoints
 
LimitIntensityVector m_limits
 
- Protected Attributes inherited from HuginBase::PanoramaAlgorithm
PanoramaDatao_panorama
 
bool o_successful
 

Detailed Description

Definition at line 149 of file PointSampler.h.

Constructor & Destructor Documentation

HuginBase::AllPointSampler::AllPointSampler ( PanoramaData panorama,
AppBase::ProgressDisplay progressDisplay,
std::vector< vigra::FRGBImage * >  images,
LimitIntensityVector  limits,
int  nPoints 
)
inline

Definition at line 153 of file PointSampler.h.

virtual HuginBase::AllPointSampler::~AllPointSampler ( )
inlinevirtual

Definition at line 160 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 PanoramaData pano,
int  nPoints,
const LimitIntensityVector  limitI,
std::vector< std::multimap< double, PP > > &  radiusHist,
unsigned &  nGoodPoints,
unsigned &  nBadPoints,
AppBase::ProgressDisplay progress 
)
static
virtual void HuginBase::AllPointSampler::samplePoints ( const std::vector< InterpolImg > &  imgs,
const std::vector< vigra::FImage * > &  voteImgs,
const PanoramaData pano,
const LimitIntensityVector  limitI,
std::vector< std::multimap< double, vigra_ext::PointPairRGB > > &  radiusHist,
unsigned &  nGoodPoints,
unsigned &  nBadPoints,
AppBase::ProgressDisplay progress 
)
inlineprotectedvirtual

The documentation for this class was generated from the following file: