[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

lens_calibrate/ProcessImage.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 PROCESSIMAGE_H
00022 #define PROCESSIMAGE_H
00023 
00024 #include "vigra/impex.hxx"
00025 #include "vigra/diff2d.hxx"
00026 
00027 double line_length_squared(int&, int&, int&, int&);
00028 bool compare_xy (const vigra::Point2D,const vigra::Point2D);
00029 bool compare_yx (const vigra::Point2D,const vigra::Point2D);
00030 bool fileexists(std::string);
00031 void tokenize(const std::string&, std::vector<std::string>&, const std::string&);
00032 void resize_image(vigra::UInt16RGBImage&, int&, int&);
00033 void find_ann(std::vector<vigra::Point2D>&, vigra::FVector2Image&, unsigned int&);
00034 void sort_inliers(std::vector<vigra::Point2D>&);
00035 void plot_inliers(std::string&, vigra::BImage& image, std::vector<vigra::Point2D>&, int);
00036 void extract_coords(vigra::BImage&, std::vector<vigra::Point2D>&);
00037 void nuke_corners(vigra::BImage&, vigra::FImage&, std::string&);
00038 void detect_edge(vigra::BImage&, std::string&, vigra::BImage&);
00039 void process_image(std::string&, int&);void sort_lines_by_length();
00040 bool compare_line_length(std::vector<vigra::Point2D>, std::vector<vigra::Point2D>);
00041 void generate_boundary_tensor(vigra::BImage&, vigra::FVector2Image&, vigra::FImage&, std::string&);
00042 int min_x_index(std::vector<vigra::Point2D>&);
00043 int max_x_index(std::vector<vigra::Point2D>&);
00044 int min_y_index(std::vector<vigra::Point2D>&);
00045 int max_y_index(std::vector<vigra::Point2D>&);
00046 
00047 #endif

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