Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FindN8Lines.h
Go to the documentation of this file.
1 // -*- c-basic-offset: 4 -*-
13 /***************************************************************************
14  * Copyright (C) 2009 Thomas K Sharpless *
15  * tksharpless@gmail.com *
16  * *
17  * This program is free software; you can redistribute it and/or modify *
18  * it under the terms of the GNU General Public License as published by *
19  * the Free Software Foundation; either version 2 of the License, or *
20  * (at your option) any later version. *
21  * *
22  * This program is distributed in the hope that it will be useful, *
23  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
24  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
25  * GNU General Public License for more details. *
26  * *
27  * You should have received a copy of the GNU General Public License *
28  * along with this program. If not, see <http://www.gnu.org/licenses/>. *
29  ***************************************************************************/
30 
31 #ifndef FINDN8LINES_H
32 #define FINDN8LINES_H
33 
34 #include <vector>
35 #include "LinesTypes.h"
36 #include <vigra/stdimage.hxx>
37 #include <vigra/basicimage.hxx>
38 
39 namespace HuginLines
40 {
45  vigra::BImage edgeMap2linePts(vigra::BImage & input);
53  int linePts2lineList( vigra::BImage & img, int minsize,double flPix,Lines& lines);
54 }
55 
56 #endif
57 
types definitions for line finding algorithm
std::vector< SingleLine > Lines
vector of extracted lines from image
Definition: LinesTypes.h:50
int linePts2lineList(vigra::BImage &img, int minsize, double flpix, Lines &lines)
converts a linePts image to a list of lines
vigra::BImage edgeMap2linePts(vigra::BImage &input)
marks line point
Definition: FindN8Lines.cpp:43