26#ifndef PERSPECTIVEPANEL_H
27#define PERSPECTIVEPANEL_H
30#include "wx/clrpicker.h"
53 void OnZoom(wxCommandEvent& e);
declaration of preview for lens calibration gui
All variables of a source image.
image previewer for perspective correction
ImageRotation
image rotation.
void OnColourChanged(wxColourPickerEvent &e)
MyExecPanel * m_logWindow
bool Create(wxWindow *parent, MyExecPanel *logWindow)
create the panel and populate all controls
wxArrayString m_tempFiles
temp files, which should be deleted at end
HuginBase::SrcPanoImage m_srcImage
SrcPanoImage, contains information about the image.
PerspectiveImageCtrl::ImageRotation m_exifRotation
save rotation as written in EXIF
void OnLoadImage(wxCommandEvent &e)
void OnSavePTO(wxCommandEvent &e)
void OnSaveOutput(wxCommandEvent &e)
const PerspectiveImageCtrl::ImageRotation GetRotation() const
return the image rotation
wxChoice * m_rotationChoice
void OnFindLines(wxCommandEvent &e)
wxButton * m_removeLinesButton
void OnRotationChanged(wxCommandEvent &e)
wxTextCtrl * m_cropTextCtrl
void OnZoom(wxCommandEvent &e)
wxTextCtrl * m_focallengthTextCtrl
wxChoice * m_previewChoice
const double GetRoll() const
return the roll angle in degree
void OnModeChanged(wxCommandEvent &e)
wxButton * m_findLineButton
void OnRemoveLines(wxCommandEvent &e)
void SetImage(const wxString &filename)
load the given image
wxString GetStatusString()
return help text for current mode
void OnCropChanged(wxCommandEvent &e)
void OnProcessFinished(wxCommandEvent &e)
clean up temporary files at end
bool ReadInputs()
read the values from the input boxes
PerspectiveImageCtrl * m_preview
controls
void OnLoadDistortion(wxCommandEvent &e)
wxButton * m_outputButton
bool GetPanorama(HuginBase::Panorama &pano, const bool optimized=true)
return Pano object, it is optimized and the crop set when optimized=true
wxStaticText * m_helpTextCtrl
void OnPreview(wxCommandEvent &e)
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.