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 
00032 namespace PT
00033 {
00034 
00035 
00036     static void optimizePhotometric(Panorama & pano, const OptimizeVector & vars,
00037                              const std::vector<vigra_ext::PointPairRGB> & correspondences,
00038                              AppBase::ProgressReporter & progress,
00039                              double & error)
00040     {
00041         HuginBase::PhotometricOptimizer::optimizePhotometric(pano, vars, correspondences, progress, error);
00042     }
00043 
00044 
00045     typedef HuginBase::SmartPhotometricOptimizer::PhotometricOptimizeMode PhotometricOptimizeMode;
00046     static PhotometricOptimizeMode OPT_PHOTOMETRIC_LDR    = HuginBase::SmartPhotometricOptimizer::OPT_PHOTOMETRIC_LDR;
00047     static PhotometricOptimizeMode OPT_PHOTOMETRIC_LDR_WB = HuginBase::SmartPhotometricOptimizer::OPT_PHOTOMETRIC_LDR_WB;
00048     static PhotometricOptimizeMode OPT_PHOTOMETRIC_HDR    = HuginBase::SmartPhotometricOptimizer::OPT_PHOTOMETRIC_HDR;
00049     static PhotometricOptimizeMode OPT_PHOTOMETRIC_HDR_WB = HuginBase::SmartPhotometricOptimizer::OPT_PHOTOMETRIC_HDR_WB;
00050 
00051 
00052     static void smartOptimizePhotometric(Panorama & pano, PhotometricOptimizeMode mode,
00053                                   const std::vector<vigra_ext::PointPairRGB> & correspondences,
00054                                   AppBase::ProgressReporter & progress,
00055                                   double & error)
00056     {
00057         HuginBase::SmartPhotometricOptimizer::smartOptimizePhotometric(pano, mode, correspondences, progress, error);
00058     }
00059 
00060 }
00061 
00062 
00063 #endif

Generated on 23 Nov 2014 for Hugintrunk by  doxygen 1.4.7