Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 {
38 public:
40  explicit ImageLineList(wxString newFilename);
44  const unsigned int GetNrOfValidLines();
46  void SetEdgeImage(vigra::BImage* newEdgeImage);
48  vigra::BImage* GetEdgeImage();
50  void SetFilename(wxString newFilename);
52  const wxString GetFilename();
56  void SetLines(HuginLines::Lines lines);
60  void ScaleLines(double scaleFactor);
61 private:
63  vigra::BImage* m_edge;
67  wxString m_filename;
70 };
71 
72 #endif // LENSCALTYPES_H
HuginLines::Lines m_lines
list of detected lines
Definition: LensCalTypes.h:65
void SetLines(HuginLines::Lines lines)
store given lines in member variable
wxString m_filename
the filename
Definition: LensCalTypes.h:67
void SetEdgeImage(vigra::BImage *newEdgeImage)
sets the edge detected image (old image will be deleted)
declaration of functions for finding lines
HuginBase::SrcPanoImage * GetPanoImage()
return the SrcPanoImage from the given filename
void SetFilename(wxString newFilename)
sets the filename, will also regenerated the m_panoImage
ImageLineList(wxString newFilename)
constructor
const unsigned int GetNrOfValidLines()
returns the number of valid lines for given image
void ScaleLines(double scaleFactor)
scale all lines by given scaleFactor
include file for the hugin project
std::vector< SingleLine > Lines
vector of extracted lines from image
Definition: LinesTypes.h:50
vigra::BImage * m_edge
pointer to edge image
Definition: LensCalTypes.h:63
~ImageLineList()
destructor, cleans up
const HuginLines::Lines GetLines()
returns the list of detected lines
vigra::BImage * GetEdgeImage()
return pointer to edge image
const wxString GetFilename()
returns the filename
All variables of a source image.
Definition: SrcPanoImage.h:194
HuginBase::SrcPanoImage * m_panoImage
the HuginBase::SrcPanoImage, for generating the panorama class and necessary transformations ...
Definition: LensCalTypes.h:69