Hugin trunk 0.1
Loading...
Searching...
No Matches
Classes | Functions | Variables
EnfusePanel.cpp File Reference

implementation of panel for enfuse GUI More...

#include "EnfusePanel.h"
#include <wx/stdpaths.h>
#include <wx/propgrid/advprops.h>
#include "base_wx/platform.h"
#include "base_wx/wxPlatform.h"
#include "base_wx/MyExternalCmdExecDialog.h"
#include "base_wx/Executor.h"
#include <wx/fileconf.h>
#include <wx/wfstream.h>
#include <wx/sstream.h>
#include "hugin_utils/utils.h"
#include "hugin_base/panodata/SrcPanoImage.h"
#include "base_wx/LensTools.h"
#include "base_wx/wxutils.h"
#include "base_wx/wxImageCache.h"
#include "CreateBrightImgDlg.h"
#include "ToolboxApp.h"
Include dependency graph for EnfusePanel.cpp:

Go to the source code of this file.

Classes

class  EnfuseDropTarget
 file drag and drop handler method More...
 

Functions

void SetPropertyGridContent (wxPropertyGrid *grid, const wxString values)
 
wxString GetPropertyGridContent (const wxPropertyGrid *grid)
 
wxFileConfig * ReadIni (const wxString &filename)
 

Variables

static const wxString defaultIni
 default ini, if no one exists load this one
 

Detailed Description

implementation of panel for enfuse GUI

Author
T. Modes

Definition in file EnfusePanel.cpp.

Function Documentation

◆ GetPropertyGridContent()

wxString GetPropertyGridContent ( const wxPropertyGrid *  grid)

Definition at line 140 of file EnfusePanel.cpp.

References threshold().

Referenced by EnfusePanel::OnSaveSetting(), and EnfusePanel::~EnfusePanel().

◆ ReadIni()

wxFileConfig * ReadIni ( const wxString &  filename)

Definition at line 528 of file EnfusePanel.cpp.

References defaultIni, and threshold().

Referenced by EnfusePanel::OnLoadSetting(), and EnfusePanel::OnSaveSetting().

◆ SetPropertyGridContent()

void SetPropertyGridContent ( wxPropertyGrid *  grid,
const wxString  values 
)

Definition at line 90 of file EnfusePanel.cpp.

References threshold().

Referenced by EnfusePanel::Create(), and EnfusePanel::OnLoadSetting().

Variable Documentation

◆ defaultIni

const wxString defaultIni
static
Initial value:
{
"[Enfuse_Settings]\n"
"Exposure fusion=exposureWeight:double:1|saturationWeight:double:0|contrastWeight:double:0|entropyWeight:double:0|hardMask:bool:false|levels:long:0|blendColorspace:long:0|wrapMode:long:0|exposureOptimum:double:0.5|exposureWidth:double:0.2|contrastEdgeScale:double:0|contrastMinCurvature:double:0|contrastWindowSize:long:5|entropyLowerCutoff:double:0|entropyUpperCutoff:double:100|entropyWindowSize:long:3|exposureLowerCutoff:double:0|exposureUpperCutoff:double:100|exposureWeightFunction:long:0|grayProjector:long:1\n"
"Focus stacking=exposureWeight:double:0|saturationWeight:double:0|contrastWeight:double:1|entropyWeight:double:0|hardMask:bool:true|levels:long:0|blendColorspace:long:0|wrapMode:long:0|exposureOptimum:double:0.5|exposureWidth:double:0.2|contrastEdgeScale:double:0|contrastMinCurvature:double:0|contrastWindowSize:long:5|entropyLowerCutoff:double:0|entropyUpperCutoff:double:100|entropyWindowSize:long:3|exposureLowerCutoff:double:0|exposureUpperCutoff:double:100|exposureWeightFunction:long:0|grayProjector:long:1\n"
}

default ini, if no one exists load this one

Definition at line 521 of file EnfusePanel.cpp.

Referenced by ReadIni().