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

Go to the documentation of this file.
00001 // -*- c-basic-offset: 4 -*-
00002 
00013 /*  This is free software; you can redistribute it and/or
00014  *  modify it under the terms of the GNU General Public
00015  *  License as published by the Free Software Foundation; either
00016  *  version 2 of the License, or (at your option) any later version.
00017  *
00018  *  This software is distributed in the hope that it will be useful,
00019  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00020  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00021  *  Lesser General Public License for more details.
00022  *
00023  *  You should have received a copy of the GNU General Public
00024  *  License along with this software; if not, write to the Free Software
00025  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00026  *
00027  */
00028 
00029 #ifndef _CPDETECTORCONFIG_DEFAULT_H
00030 #define _CPDETECTORCONFIG_DEFAULT_H
00031 
00032 #include "panoinc_WX.h"
00033 
00035 struct cpdetector_default
00036 {
00038     CPDetectorType type;
00040     wxString desc;
00042     wxString prog;
00044     wxString args;
00046     wxString prog_matcher;
00048     wxString args_matcher;
00050     wxString prog_stack;
00052     wxString args_stack;
00054     bool option;
00055 };
00056 
00058 const struct cpdetector_default default_cpdetectors[]=
00059 {
00060 /* use following order: {type, description, program for detector or descriptor, arguments for detector or descriptor,
00061    program for matcher, arguments for matcher, program name stack, arguments stack, option} 
00062    attention: this array have to contain at least one item */
00063 #if defined WIN32
00064     {CPDetector_AutoPanoSift, wxT("Autopano-SIFT-C"),
00065         wxT("autopano-sift-c.exe"),wxT("--maxmatches %p --projection %f,%v %o %i"),
00066         wxT(""), wxT(""), wxT(""), wxT(""), true},
00067     {CPDetector_AutoPano, wxT("Autopano"),
00068         wxT("autopano.exe"),wxT("/allinone /path:%d /keys:%p /project:oto /name:%o /size:1024 /f %i"),
00069         wxT(""), wxT(""), wxT(""), wxT(""), true},
00070     {CPDetector_AutoPanoSift, wxT("Panomatic"),wxT("panomatic.exe"),wxT("-o %o %i"),wxT(""), wxT(""), wxT(""), wxT(""), true},
00071     {CPDetector_AutoPanoSift, wxT("Align image stack"),wxT("align_image_stack.exe"),wxT("-f %v -v -p %o %i"),wxT(""),wxT(""), wxT(""), wxT(""), true},
00072     {CPDetector_AutoPanoSiftMultiRowStack, wxT("Autopano-SIFT-C (multirow/stacked)"),
00073         wxT("generatekeys.exe"),wxT("%i %k 800"), wxT("autopano.exe"),wxT("--maxmatches %p %o %k"),
00074         wxT("align_image_stack.exe"),wxT("-f %v -v -p %o %i"), true},
00075     {CPDetector_AutoPanoSift, wxT("Match-n-shift"),wxT("match-n-shift.exe"),wxT("-b -a -f %f -v %v -c -p %p -o %o %i"),wxT(""),wxT(""), wxT(""), wxT(""), true}
00076 #else 
00077   #if !defined MAC_SELF_CONTAINED_BUNDLE
00078     // Since medio 2008 the MacOSX bundle is built without patent/license restricted CP detectors.
00079     {CPDetector_AutoPanoSift,wxT("Autopano-SIFT-C"),wxT("autopano-noop.sh"),wxT("--maxmatches %p --projection %f,%v %o %i"),wxT(""),wxT(""), wxT(""), wxT(""), true},
00080     {CPDetector_AutoPanoSift,wxT("Panomatic"),wxT("panomatic"),wxT("-o %o %i"),wxT(""),wxT(""), wxT(""), wxT(""), true},
00081     {CPDetector_AutoPanoSift,wxT("Match-n-shift"),wxT("match-n-shift"),wxT("-b -a -f %f -v %v -c -p %p -o %o %i"),wxT(""),wxT(""),wxT(""), wxT(""), true},
00082     {CPDetector_AutoPanoSiftMultiRowStack, wxT("Autopano-SIFT-C (multirow/stacked)"),
00083         wxT("generatekeys"),wxT("%i %k 800"), wxT("autopano"),wxT("--maxmatches %p %o %k"),
00084         wxT("align_image_stack"),wxT("-f %v -p %o %i"), true},
00085     {CPDetector_AutoPanoSift,wxT("Align image stack"),wxT("align_image_stack"),wxT("-f %v -p %o %i"),wxT(""),wxT(""), wxT(""), wxT(""), true},
00086     {CPDetector_AutoPanoSift,wxT("Align_image_stack FullFrameFisheye"),wxT("align_image_stack"),wxT("-f %v -e -p %o %i"),wxT(""),wxT(""), wxT(""), wxT(""), true}
00087   #else
00088     {CPDetector_AutoPanoSift,wxT("Pablo's patent free Panomatic"),wxT("patfree-panomatic"),wxT("--sieve1size 20 --sieve2size 2 -o %o %i"),wxT(""),wxT(""), wxT(""), wxT(""), true},
00089     {CPDetector_AutoPanoSift,wxT("Align_image_stack linear"),wxT("align_image_stack"),wxT("-v -f %v -p %o %i"),wxT(""),wxT(""), wxT(""), wxT(""), true},
00090     {CPDetector_AutoPanoSift,wxT("Align_image_stack FullFrameFisheye"),wxT("align_image_stack"),wxT("-v -f %v -e -p %o %i"),wxT(""),wxT(""), wxT(""), wxT(""), true},
00091     {CPDetector_AutoPanoSift,wxT("Autopano-SIFT-C"),wxT("== Use the Choose button to search for it =="),wxT("--maxmatches %p %o %i"),wxT(""),wxT(""), wxT(""), wxT(""), true},
00092     {CPDetector_AutoPanoSift,wxT("Panomatic"),wxT("== Use the Choose button to search for it =="),wxT("-o %o %i"),wxT(""),wxT(""), wxT(""), wxT(""), true}
00093   #endif
00094 #endif
00095 };
00096 
00097 #endif

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