RandomPointSampler.h File Reference

#include <algorithms/point_sampler/PointSampler.h>
#include <vigra/functorexpression.hxx>
#include <vigra_ext/impexalpha.hxx>
#include "PT/Panorama.h"

Include dependency graph for RandomPointSampler.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Namespaces

namespace  PT

Functions

void extractPoints (Panorama pano, std::vector< vigra::FRGBImage * > images, int nPoints, bool randomPoints, AppBase::ProgressReporter &progress, std::vector< vigra_ext::PointPairRGB > &points)
template<class ImageType>
std::vector< ImageType * > loadImagesPyr (std::vector< std::string > files, int pyrLevel, int verbose=0)
void loadImgsAndExtractPoints (Panorama pano, int nPoints, int pyrLevel, bool randomPoints, AppBase::ProgressReporter &progress, std::vector< vigra_ext::PointPairRGB > &points)


Detailed Description

Author:
Pablo d'Angelo <pablo.dangelo@web.de>
$Id$

This is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU General Public License along with this software; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Definition in file RandomPointSampler.h.


Function Documentation

void extractPoints Panorama  pano,
std::vector< vigra::FRGBImage * >  images,
int  nPoints,
bool  randomPoints,
AppBase::ProgressReporter progress,
std::vector< vigra_ext::PointPairRGB > &  points
[inline]
 

Definition at line 37 of file RandomPointSampler.h.

References HuginBase::PointSampler::extractPoints().

Referenced by OptimizePhotometricPanel::runOptimizer().

template<class ImageType>
std::vector<ImageType *> loadImagesPyr std::vector< std::string files,
int  pyrLevel,
int  verbose = 0
 

Definition at line 46 of file RandomPointSampler.h.

References ImageType, vigra::importImageAlpha(), celeste::info(), vigra_ext::reduceToNextLevel(), and vigra_ext::transformImage().

void loadImgsAndExtractPoints Panorama  pano,
int  nPoints,
int  pyrLevel,
bool  randomPoints,
AppBase::ProgressReporter progress,
std::vector< vigra_ext::PointPairRGB > &  points
[inline]
 

Definition at line 103 of file RandomPointSampler.h.

References HuginBase::PointSampler::extractPoints(), HuginBase::Panorama::getImage(), and HuginBase::Panorama::getNrOfImages().


Generated on Fri Aug 1 01:25:44 2014 for Hugintrunk by  doxygen 1.3.9.1