class for storing settings of different control point generators
unsigned int GetDefaultGenerator()
return index of default generator (this one is used for assistent)
ArraySettings settings
array which stores the different autopano settings
class, which stores all settings of one cp detector
std::shared_ptr< Request > RequestPtr
Reference counted request for an image to load.
this handler class will receive change events from the Panorama.
virtual bool CanHandle(wxXmlNode *node)
virtual wxObject * DoCreateResource()
void OnFocalLengthChanged(wxCommandEvent &e)
updates the focal length for the selected images
wxStaticBitmap * m_smallImgCtrl
pointer to the preview image control
void OnLensTypeChanged(wxCommandEvent &e)
updates the lens type for the selected images
void OnMinimumOverlapChanged(wxCommandEvent &e)
updates the minimum overlap
void OnPhotometricOptimizerSwitchChanged(wxCommandEvent &e)
event handler, when photometric optimizer master switch was changed
void OnGroupModeChanged(wxCommandEvent &e)
event handler when grouping selection was changed
wxChoice * m_CPDetectorChoice
bool Create(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL, const wxString &name="panel")
wxString GetCurrentOptimizerString()
return the currently selected optimizer setting as string from the drop down list box
void RunCPGenerator(CPDetectorSetting &setting, const HuginBase::UIntSet &img)
run the cp generator with the given setting on selected images
wxChoice * m_groupModeChoice
HuginBase::ImageCache::RequestPtr thumbnail_request
Request for thumbnail image.
void CPGenerate(wxCommandEvent &e)
control point detection event handler
wxButton * m_matchingButton
wxBitmap m_empty
bitmap with default image
wxChoice * m_optChoice
pointer to optimizer switch selector
void SetGuiLevel(GuiLevel newGuiLevel)
sets the GuiLevel for all controls on this panel
void OnCropFactorChanged(wxCommandEvent &e)
updates the crop factor for the selected images
virtual void panoramaChanged(HuginBase::Panorama &pano)
this is called whenever the panorama has changed.
wxTextCtrl * m_focallength
the text input control for focal length
wxChoice * m_optPhotoChoice
pointer to photometric optimizer switch selector
virtual void panoramaImagesChanged(HuginBase::Panorama &pano, const HuginBase::UIntSet &imgNr)
notifies about changes to images
void UpdatePreviewImage()
void OnSize(wxSizeEvent &e)
void FillOptimizerChoice()
fills the optmizer wxChoices with values depending on GuiLevel
void OnSelectionChanged(wxTreeEvent &e)
change displayed variables if the selection has changed.
wxChoice * m_lenstype
pointer to lens type selector
void OnOptimizeButton(wxCommandEvent &e)
event handler for geometric optimizer
CPDetectorConfig cpdetector_config
void ReloadCPDetectorSettings()
Reloads the cp detector settings from config, necessary after edit preferences.
void OnOptimizerSwitchChanged(wxCommandEvent &e)
event handler, when optimizer master switch was changed
void FillGroupChoice()
fills the grouping wxChoice with values depending on GuiLevel
HuginBase::Panorama * m_pano
the model
wxTextCtrl * m_maxEv
the text input control for max ev difference
wxTextCtrl * m_cropfactor
the text input control for crop factor
void OnDisplayModeChanged(wxCommandEvent &e)
event handler when display mode (which information should be shown) was changed
void OnMaxEvDiffChanged(wxCommandEvent &e)
updates the max ev difference
void ShowImage(unsigned int imgNr)
show a bigger thumbnail
ImagesTreeCtrl * m_images_tree
pointer to the main control
const wxString GetSelectedCPGenerator()
return the currently selected cp generator description
void Init(HuginBase::Panorama *pano)
CPDetectorSetting & GetDefaultSetting()
returns the default cp detector settings
wxTextCtrl * m_overlap
the text input control for minimum overlap
void OnPhotometricOptimizeButton(wxCommandEvent &e)
event handler for photometric optimizer
the main images tree control, used on images and optimizer tabs
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.