Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages
lens_calibrate/Globals.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 * Copyright (C) 2009 by Tim Nugent * 00003 * timnugent@gmail.com * 00004 * * 00005 * This program is free software; you can redistribute it and/or modify * 00006 * it under the terms of the GNU General Public License as published by * 00007 * the Free Software Foundation; either version 2 of the License, or * 00008 * (at your option) any later version. * 00009 * * 00010 * This program is distributed in the hope that it will be useful, * 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00013 * GNU General Public License for more details. * 00014 * * 00015 * You should have received a copy of the GNU General Public License * 00016 * along with this program; if not, write to the * 00017 * Free Software Foundation, Inc., * 00018 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 00019 ***************************************************************************/ 00020 00021 #ifndef GLOBALS_H 00022 #define GLOBALS_H 00023 00024 #include <map> 00025 #include <string> 00026 #include <vector> 00027 #include "vigra/diff2d.hxx" 00028 00029 extern unsigned int verbose; 00030 extern unsigned int resize_dimension; 00031 extern unsigned int detector; 00032 extern unsigned int lens_type; 00033 extern unsigned int current_line; 00034 extern unsigned int optimise_centre; 00035 extern unsigned int optimise_radius; 00036 extern unsigned int poly_type; 00037 extern unsigned int straighten_verts; 00038 extern unsigned int ss; 00039 extern double sensor_width; 00040 extern double sensor_height; 00041 extern double original_width; 00042 extern double original_height; 00043 extern double focal_length; 00044 extern double pixel_density; 00045 extern double focal_length_pixels; 00046 extern double cropFactor; 00047 extern std::string path; 00048 extern std::string format; 00049 extern double sizefactor; 00050 extern double threshold; 00051 extern double bt_threshold; 00052 extern double length_threshold; 00053 extern double min_line_length_squared; 00054 extern double scale; 00055 extern double tscale; 00056 extern double a; 00057 extern double corner_threshold; 00058 extern unsigned int gap_limit; 00059 extern unsigned int horizontal_slices; 00060 extern unsigned int vertical_slices; 00061 extern unsigned int generate_images; 00062 extern unsigned int generate_images; 00063 extern std::vector<std::vector<vigra::Point2D> > lines; 00064 extern double sigma; 00065 extern double r; 00066 extern std::map<int,double> line_errors; 00067 extern std::map<int,double> line_weights; 00068 extern double RMS_error; 00069 #endif 00070
1.3.9.1