Hugintrunk
0.1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
hugin_base
lines
LinesTypes.h
Go to the documentation of this file.
1
// -*- c-basic-offset: 4 -*-
8
/* This is free software; you can redistribute it and/or
9
* modify it under the terms of the GNU General Public
10
* License as published by the Free Software Foundation; either
11
* version 2 of the License, or (at your option) any later version.
12
*
13
* This software is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
* Lesser General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public
19
* License along with this software. If not, see
20
* <http://www.gnu.org/licenses/>.
21
*
22
*/
23
24
#ifndef LINESTYPES_H
25
#define LINESTYPES_H
26
#include <vector>
27
#include <vigra/diff2d.hxx>
28
29
namespace
HuginLines
30
{
31
33
enum
LineStatus
34
{
35
valid_line
=0,
36
valid_line_disabled
,
37
bad_length
,
38
bad_orientation
,
39
bad_curvature
40
};
41
43
struct
SingleLine
44
{
45
std::vector<vigra::Point2D>
line
;
46
LineStatus
status
;
47
};
48
50
typedef
std::vector<SingleLine>
Lines
;
51
52
}
//namespace
53
#endif
HuginLines::SingleLine::line
std::vector< vigra::Point2D > line
Definition:
LinesTypes.h:45
HuginLines::valid_line
Definition:
LinesTypes.h:35
HuginLines::bad_curvature
Definition:
LinesTypes.h:39
HuginLines::valid_line_disabled
Definition:
LinesTypes.h:36
HuginLines::LineStatus
LineStatus
enumeration for different line status
Definition:
LinesTypes.h:33
HuginLines::SingleLine
a single line extracted from image
Definition:
LinesTypes.h:43
HuginLines::bad_orientation
Definition:
LinesTypes.h:38
HuginLines::SingleLine::status
LineStatus status
Definition:
LinesTypes.h:46
HuginLines::bad_length
Definition:
LinesTypes.h:37
HuginLines::Lines
std::vector< SingleLine > Lines
vector of extracted lines from image
Definition:
LinesTypes.h:50
Generated on Sun Nov 10 2024 01:25:46 for Hugintrunk by
1.8.5