Hugin trunk 0.1
Loading...
Searching...
No Matches
LensCalTypes.h
Go to the documentation of this file.
1// -*- c-basic-offset: 4 -*-
2
11/*
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public
14 * License as published by the Free Software Foundation; either
15 * version 2 of the License, or (at your option) any later version.
16 *
17 * This software is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 * General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public
23 * License along with this software. If not, see
24 * <http://www.gnu.org/licenses/>.
25 *
26 */
27
28#ifndef LENSCALTYPES_H
29#define LENSCALTYPES_H
30
31#include <vector>
32#include "panoinc_WX.h"
33#include "panodata/Panorama.h"
34#include "lines/FindLines.h"
35
37{
38public:
44 const unsigned int GetNrOfValidLines();
46 void SetEdgeImage(vigra::BImage* newEdgeImage);
48 vigra::BImage* GetEdgeImage();
52 const wxString GetFilename();
60 void ScaleLines(double scaleFactor);
61private:
63 vigra::BImage* m_edge;
70};
71
72#endif // LENSCALTYPES_H
declaration of functions for finding lines
All variables of a source image.
const unsigned int GetNrOfValidLines()
returns the number of valid lines for given image
void ScaleLines(double scaleFactor)
scale all lines by given scaleFactor
HuginBase::SrcPanoImage * GetPanoImage()
return the SrcPanoImage from the given filename
void SetEdgeImage(vigra::BImage *newEdgeImage)
sets the edge detected image (old image will be deleted)
HuginLines::Lines m_lines
list of detected lines
vigra::BImage * m_edge
pointer to edge image
vigra::BImage * GetEdgeImage()
return pointer to edge image
const wxString GetFilename()
returns the filename
wxString m_filename
the filename
~ImageLineList()
destructor, cleans up
void SetFilename(wxString newFilename)
sets the filename, will also regenerated the m_panoImage
void SetLines(HuginLines::Lines lines)
store given lines in member variable
HuginBase::SrcPanoImage * m_panoImage
the HuginBase::SrcPanoImage, for generating the panorama class and necessary transformations
const HuginLines::Lines GetLines()
returns the list of detected lines
std::vector< SingleLine > Lines
vector of extracted lines from image
Definition LinesTypes.h:50
include file for the hugin project
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