26#ifndef _CREATEBRIGHTIMGDIALOG_H
27#define _CREATEBRIGHTIMGDIALOG_H
31#include <vigra/imagecontainer.hxx>
48 void OnOk(wxCommandEvent & e);
Dialog for create brighter and/or darker versions of an image.
void OnSize(wxSizeEvent &e)
handler called when size of control was changed
wxStaticBitmap * m_previewBitmap
long GetCheckedItemCount()
return the number of checked exposures
wxArrayString m_tempFiles
bool CreateAndSaveExposureCorrectedImage(const wxString &filename, const double correction)
create the exposure corrected image and save it to the file
wxChoice * m_stepWidthChoice
std::vector< double > m_exposures
~CreateBrightImgDlg()
destructor, save position
void OnOk(wxCommandEvent &e)
process all images
void OnCreateExposureLevels(wxCommandEvent &e)
update listbox with new exposure values
void CreatewxBitmap(const vigra::BRGBImage &img)
create the wxBitmap version and apply color profiles
void OnExposureChecked(wxListEvent &e)
prevent checking of exposure value 0
void OnExposureSelected(wxListEvent &e)
one exposure selected
ImageCache::EntryPtr m_image
image cache entry for current image
void RescaleImage()
create rescaled image
bool SetImage(const wxString &filename, wxString &errorMsg)
load the image, return true on success, otherwise false, error cause is in errorMsg
double GetExposureStepWidth() const
returns the current selected exposure step width
wxBitmap m_scaledwxBitmap
current image as wxBitmap
wxArrayString GetTempFiles() const
wxListCtrl * m_exposuresListBox
vigra::BRGBImage m_scaledImg
current image as vigra::RGBImage
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.