Hugin trunk 0.1
Loading...
Searching...
No Matches
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
39namespace 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
vigra::BImage edgeMap2linePts(vigra::BImage &input)
marks line point
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
std::vector< deghosting::BImagePtr > threshold(const std::vector< deghosting::FImagePtr > &inputImages, const double threshold, const uint16_t flags)
Threshold function used for creating alpha masks for images.
Definition threshold.h:41