Hugin trunk 0.1
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
ImageLineList Class Reference

#include <LensCalTypes.h>

Public Member Functions

 ImageLineList (wxString newFilename)
 constructor
 
 ~ImageLineList ()
 destructor, cleans up
 
const unsigned int GetNrOfValidLines ()
 returns the number of valid lines for given image
 
void SetEdgeImage (vigra::BImage *newEdgeImage)
 sets the edge detected image (old image will be deleted)
 
vigra::BImage * GetEdgeImage ()
 return pointer to edge image
 
void SetFilename (wxString newFilename)
 sets the filename, will also regenerated the m_panoImage
 
const wxString GetFilename ()
 returns the filename
 
HuginBase::SrcPanoImageGetPanoImage ()
 return the SrcPanoImage from the given filename
 
void SetLines (HuginLines::Lines lines)
 store given lines in member variable
 
const HuginLines::Lines GetLines ()
 returns the list of detected lines
 
void ScaleLines (double scaleFactor)
 scale all lines by given scaleFactor
 

Private Attributes

vigra::BImage * m_edge
 pointer to edge image
 
HuginLines::Lines m_lines
 list of detected lines
 
wxString m_filename
 the filename
 
HuginBase::SrcPanoImagem_panoImage
 the HuginBase::SrcPanoImage, for generating the panorama class and necessary transformations
 

Detailed Description

Definition at line 36 of file LensCalTypes.h.

Constructor & Destructor Documentation

◆ ImageLineList()

ImageLineList::ImageLineList ( wxString  newFilename)
explicit

constructor

Definition at line 33 of file LensCalTypes.cpp.

References m_edge, SetFilename(), and threshold().

◆ ~ImageLineList()

ImageLineList::~ImageLineList ( )

destructor, cleans up

Definition at line 39 of file LensCalTypes.cpp.

References m_edge, and m_panoImage.

Member Function Documentation

◆ GetEdgeImage()

vigra::BImage * ImageLineList::GetEdgeImage ( )

return pointer to edge image

Definition at line 64 of file LensCalTypes.cpp.

References m_edge.

Referenced by LensCalImageCtrl::SetEdgeImage().

◆ GetFilename()

const wxString ImageLineList::GetFilename ( )

returns the filename

Definition at line 88 of file LensCalTypes.cpp.

References m_filename.

Referenced by LensCalFrame::AddImages(), and LensCalImageCtrl::GenerateRemappedImage().

◆ GetLines()

const HuginLines::Lines ImageLineList::GetLines ( )

returns the list of detected lines

Definition at line 103 of file LensCalTypes.cpp.

References m_lines.

Referenced by LensCalImageCtrl::DrawView(), and LensCalImageCtrl::OnMouseEvent().

◆ GetNrOfValidLines()

const unsigned int ImageLineList::GetNrOfValidLines ( )

returns the number of valid lines for given image

Definition at line 46 of file LensCalTypes.cpp.

References m_lines, threshold(), and HuginLines::valid_line.

◆ GetPanoImage()

HuginBase::SrcPanoImage * ImageLineList::GetPanoImage ( )

return the SrcPanoImage from the given filename

Definition at line 93 of file LensCalTypes.cpp.

References m_panoImage.

Referenced by LensCalFrame::AddImages(), and LensCalImageCtrl::GenerateRemappedImage().

◆ ScaleLines()

void ImageLineList::ScaleLines ( double  scaleFactor)

scale all lines by given scaleFactor

Definition at line 108 of file LensCalTypes.cpp.

References m_lines, and HuginLines::ScaleLines().

◆ SetEdgeImage()

void ImageLineList::SetEdgeImage ( vigra::BImage *  newEdgeImage)

sets the edge detected image (old image will be deleted)

Definition at line 57 of file LensCalTypes.cpp.

References m_edge, and threshold().

◆ SetFilename()

void ImageLineList::SetFilename ( wxString  newFilename)

◆ SetLines()

void ImageLineList::SetLines ( HuginLines::Lines  lines)

store given lines in member variable

Definition at line 98 of file LensCalTypes.cpp.

References m_lines, and threshold().

Referenced by LensCalImageCtrl::OnMouseEvent().

Member Data Documentation

◆ m_edge

vigra::BImage* ImageLineList::m_edge
private

pointer to edge image

Definition at line 63 of file LensCalTypes.h.

Referenced by GetEdgeImage(), ImageLineList(), SetEdgeImage(), and ~ImageLineList().

◆ m_filename

wxString ImageLineList::m_filename
private

the filename

Definition at line 67 of file LensCalTypes.h.

Referenced by GetFilename(), and SetFilename().

◆ m_lines

HuginLines::Lines ImageLineList::m_lines
private

list of detected lines

Definition at line 65 of file LensCalTypes.h.

Referenced by GetLines(), GetNrOfValidLines(), ScaleLines(), and SetLines().

◆ m_panoImage

HuginBase::SrcPanoImage* ImageLineList::m_panoImage
private

the HuginBase::SrcPanoImage, for generating the panorama class and necessary transformations

Definition at line 69 of file LensCalTypes.h.

Referenced by GetPanoImage(), SetFilename(), and ~ImageLineList().


The documentation for this class was generated from the following files: