[an error occurred while processing this directive]
Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

hugin1/PT/PhotometricOptimizer.h

Go to the documentation of this file.
00001 // -*- c-basic-offset: 4 -*-
00024 #ifndef _Hgn1_PHOTOMETRIC_OPTIMIZER_H_
00025 #define _Hgn1_PHOTOMETRIC_OPTIMIZER_H_
00026 
00027 #include <algorithms/optimizer/PhotometricOptimizer.h>
00028 
00029 #include "PT/Panorama.h"
00030 #include "PT/PanoramaMemento.h"
00031 #include "common/utils.h"
00032 
00033 namespace PT
00034 {
00035 
00036 
00037     static void optimizePhotometric(Panorama & pano, const OptimizeVector & vars,
00038                              const std::vector<vigra_ext::PointPairRGB> & correspondences,
00039                              utils::ProgressReporter & progress,
00040                              double & error)
00041     {
00042         HuginBase::PhotometricOptimizer::optimizePhotometric(pano, vars, correspondences, progress, error);
00043     }
00044 
00045 
00046     typedef HuginBase::SmartPhotometricOptimizer::PhotometricOptimizeMode PhotometricOptimizeMode;
00047     static PhotometricOptimizeMode OPT_PHOTOMETRIC_LDR    = HuginBase::SmartPhotometricOptimizer::OPT_PHOTOMETRIC_LDR;
00048     static PhotometricOptimizeMode OPT_PHOTOMETRIC_LDR_WB = HuginBase::SmartPhotometricOptimizer::OPT_PHOTOMETRIC_LDR_WB;
00049     static PhotometricOptimizeMode OPT_PHOTOMETRIC_HDR    = HuginBase::SmartPhotometricOptimizer::OPT_PHOTOMETRIC_HDR;
00050     static PhotometricOptimizeMode OPT_PHOTOMETRIC_HDR_WB = HuginBase::SmartPhotometricOptimizer::OPT_PHOTOMETRIC_HDR_WB;
00051 
00052 
00053     static void smartOptimizePhotometric(Panorama & pano, PhotometricOptimizeMode mode,
00054                                   const std::vector<vigra_ext::PointPairRGB> & correspondences,
00055                                   utils::ProgressReporter & progress,
00056                                   double & error)
00057     {
00058         HuginBase::SmartPhotometricOptimizer::smartOptimizePhotometric(pano, mode, correspondences, progress, error);
00059     }
00060 
00061 }
00062 
00063 
00064 #endif

Generated on Mon Sep 20 01:01:26 2010 for Hugintrunk by doxygen 1.3.9.1