42 wxXmlResource::Get()->LoadDialog(
this,
parent,
"pano_output_dialog");
84 XRCCTRL(*
this,
"output_hdr_tiff_compression",
wxChoice)->SetSelection(2);
91 XRCCTRL(*
this,
"output_hdr_tiff_compression",
wxChoice)->SetSelection(1);
97 XRCCTRL(*
this,
"output_hdr_tiff_compression",
wxChoice)->SetSelection(2);
103 XRCCTRL(*
this,
"output_hdr_tiff_compression",
wxChoice)->SetSelection(3);
107 XRCCTRL(*
this,
"output_hdr_tiff_compression",
wxChoice)->SetSelection(0);
113 wxCommandEvent
dummy;
133 wxConfigBase::Get()->Flush();
231 switch(
XRCCTRL(*
this,
"output_tiff_compression",
wxChoice)->GetSelection())
259 switch(
XRCCTRL(*
this,
"output_hdr_tiff_compression",
wxChoice)->GetSelection())
declaration of functions to handle stacks and layers
Definition of PanoOutputDialog class.
static double calcOptimalScale(PanoramaData &panorama)
bool outputHDRLayers
save remapped layers (HDR)
bool outputLDRExposureLayers
save blended exposure layers, do not perform fusion (no exposure adjustment)
bool fovCalcSupported(ProjectionFormat f) const
true, if FOV calcuations are supported for projection f
bool outputLDRExposureBlended
< save exposure fused stacks (no exposure adjustment)
bool outputLDRExposureRemapped
save remapped layers (no exposure adjustment)
const vigra::Rect2D & getROI() const
void setWidth(unsigned int w, bool keepView=true)
set panorama width keep the HFOV, if keepView=true
void setROI(const vigra::Rect2D &val)
bool outputLDRBlended
save blended panorama (LDR)
bool outputLDRLayers
save remapped layers (LDR)
unsigned int getWidth() const
PanoramaOptions::ProjectionFormat getProjection() const
bool outputHDRStacks
save image stacks (HDR)
std::string tiffCompression
bool outputLDRExposureLayersFused
save blended exposure layers which are then fused (no exposure adjustment)
std::string outputImageType
std::string outputImageTypeHDRCompression
std::string outputImageTypeHDR
std::string outputImageTypeCompression
bool outputHDRBlended
save blended panorama (HDR)
const SrcPanoImage & getImage(std::size_t nr) const
get a panorama image, counting starts with 0
const PanoramaOptions & getOptions() const
returns the options for this panorama
UIntSet getActiveImages() const
get active images
std::size_t getNrOfImages() const
number of images.
void OnLDRFormatChanged(wxCommandEvent &e)
LDR format changed.
void OnWidthChanged(wxSpinEvent &e)
width changed
std::vector< HuginBase::UIntSet > m_exposureLayers
void OnHDRFormatChanged(wxCommandEvent &e)
HDR format changed.
~PanoOutputDialog()
destructor, save position
wxSpinCtrl * m_edit_width
void EnableOutputOptions()
void OnHeightChanged(wxSpinEvent &e)
height changed
std::vector< HuginBase::UIntSet > m_stacks
void OnOutputChanged(wxCommandEvent &e)
enabled Ok button and LDR/HDR format settings depeding on selected output settings
PanoOutputDialog(wxWindow *parent, HuginBase::Panorama &pano, GuiLevel guiLevel)
Constructor, read from xrc ressource; restore last uses settings, size and position.
HuginBase::PanoramaOptions m_newOpt
void OnOk(wxCommandEvent &e)
Saves current state of all checkboxes when closing dialog with Ok.
wxSpinCtrl * m_edit_height
HuginBase::Panorama & m_pano
#define HUGIN_JPEG_QUALITY
#define HUGIN_TIFF_COMPRESSION
#define HUGIN_ASS_PANO_DOWNSIZE_FACTOR
#define HUGIN_LDR_OUTPUT_FORMAT
std::set< unsigned int > UIntSet
void StoreFramePositionOnly(wxTopLevelWindow *frame, const wxString &basename)
void RestoreFramePositionOnly(wxTopLevelWindow *frame, const wxString &basename)
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.