24#ifndef _OPTIMIZE_PHOTO_PANEL_H
25#define _OPTIMIZE_PHOTO_PANEL_H
64 void OnReset(wxCommandEvent& e);
declaration of helper for work with different GuiLevels
Somewhere to specify what variables belong to what.
this handler class will receive change events from the Panorama.
the main images tree control, used on images and optimizer tabs
OptimizePhotometricPanelXmlHandler()
virtual bool CanHandle(wxXmlNode *node)
virtual wxObject * DoCreateResource()
void runOptimizer(const HuginBase::UIntSet &img)
HuginBase::Panorama * m_pano
bool Create(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL, const wxString &name="panel")
void OnClose(wxCloseEvent &e)
void OnReset(wxCommandEvent &e)
void Init(HuginBase::Panorama *pano)
virtual void panoramaChanged(HuginBase::Panorama &pano)
receives notification about panorama changes
ImagesTreeCtrl * m_lens_tree
ImagesTreeCtrl * m_images_tree
void OnCheckOnlyActiveImages(wxCommandEvent &e)
handle "only active images" checkbox
void SetGuiLevel(GuiLevel newGuiLevel)
virtual void panoramaImagesChanged(HuginBase::Panorama &pano, const HuginBase::UIntSet &imgNr)
receives notification about panorama changes
void SetOnlyActiveImages(const bool onlyActive)
for external setting of "only active image" checkbox
OptimizePhotometricPanel()
void OnOptimizeButton(wxCommandEvent &e)
run the optimizer
wxCheckBox * m_only_active_images_cb
virtual ~OptimizePhotometricPanel()
std::set< unsigned int > UIntSet
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.