30#include <vigra/stdimage.hxx>
31#include <vigra/imageinfo.hxx>
41 return "You must specify images";
48 typedef std::vector<float>
EMoR;
virtual void setVerbosity(int verbosity)
set verbosity level
virtual void setDebugFlags(const uint16_t debugFlags)
set flags for debugging purposes
virtual std::vector< FImagePtr > createWeightMasks()=0
create weight masks create weight masks for masking out ghosting regions
std::vector< vigra::Rect2D > m_inputROI
vigra::Rect2D m_outputROI
virtual void setCameraResponse(EMoR response)
set camera response function set camera response function in EMoR format
virtual void setIterationNum(const int iterations)
set number of iterations
virtual void setFlags(const uint16_t flags)
set advanced flags Allows to change behavior of used algorithm
vigra::Rect2D getOutputROI() const
virtual void loadImages(std::vector< std::string > &inputFiles)
load images for processing
std::vector< vigra::ImageImportInfo > inputFiles
std::vector< vigra::Rect2D > getInputROIs() const
exception called when there are no input images
virtual const char * what() const
Implementation of basic routines for deghosting algorithms Copyright (C) 2009 Lukáš Jirkovský l....
std::vector< float > EMoR
const uint16_t ADV_MULTIRES
std::shared_ptr< vigra::FImage > FImagePtr
std::shared_ptr< vigra::BImage > BImagePtr
const uint16_t SAVE_INITWEIGHTS
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.