[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/PTOptimise.h

Go to the documentation of this file.
00001 // -*- c-basic-offset: 4 -*-
00026 #ifndef _Hgn1_PTOPTIMISE_H
00027 #define _Hgn1_PTOPTIMISE_H
00028 
00029 #include <panotools/PanoToolsOptimizerWrapper.h>
00030 #include <algorithms/optimizer/PTOptimizer.h>
00031 
00032 #include "PT/Panorama.h"
00033 #include "PT/PanoramaMemento.h"
00034 #include "PT/ImageGraph.h"
00035 
00036 namespace PTools
00037 {
00038 
00039     using HuginBase::PTools::optimize;
00040 
00041     inline void smartOptimize(PT::Panorama & pano)
00042     {
00043         HuginBase::SmartOptimise(pano).run();
00044     }
00045 
00046     inline void autoOptimise(PT::Panorama & pano)
00047     {
00048         HuginBase::AutoOptimise(pano).run();
00049     }
00050 
00051     typedef HuginBase::SmartOptimizerStub::OptMode OptMode;
00052     static OptMode OPT_POS=    HuginBase::SmartOptimizerStub::OPT_POS;
00053     static OptMode OPT_B=      HuginBase::SmartOptimizerStub::OPT_B;
00054     static OptMode OPT_AC=     HuginBase::SmartOptimizerStub::OPT_AC;
00055     static OptMode OPT_DE=     HuginBase::SmartOptimizerStub::OPT_DE;
00056     static OptMode OPT_HFOV=   HuginBase::SmartOptimizerStub::OPT_HFOV;
00057     static OptMode OPT_GT=     HuginBase::SmartOptimizerStub::OPT_GT;
00058     static OptMode OPT_VIG=    HuginBase::SmartOptimizerStub::OPT_VIG;
00059     static OptMode OPT_VIGCENTRE= HuginBase::SmartOptimizerStub::OPT_VIGCENTRE;
00060     static OptMode OPT_EXP=    HuginBase::SmartOptimizerStub::OPT_EXP;
00061     static OptMode OPT_WB=     HuginBase::SmartOptimizerStub::OPT_WB;
00062     static OptMode OPT_RESP=   HuginBase::SmartOptimizerStub::OPT_RESP;
00063     
00064     inline PT::OptimizeVector createOptVars(const PT::Panorama& optPano, int mode, unsigned anchorImg=0)
00065     {
00066         return HuginBase::SmartOptimizerStub::createOptVars(optPano,mode,anchorImg);
00067     }
00068 }
00069 
00070 
00071 
00072 
00073 #endif // _PTOPTIMISE_H

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