23 namespace deghosting {
27 if (newInputFiles.empty())
29 const vigra::ImageImportInfo firstInfo(newInputFiles[0].c_str());
30 const vigra::Rect2D inputRect(vigra::Point2D(firstInfo.getPosition()), firstInfo.size());
34 for (
unsigned int i = 1; i< newInputFiles.size(); i++) {
35 vigra::ImageImportInfo tmpInfo(newInputFiles[i].c_str());
36 const vigra::Rect2D inputRect(vigra::Point2D(tmpInfo.getPosition()), tmpInfo.size());
exception called when there are no input images
virtual void setVerbosity(int verbosity)
set verbosity level
virtual void setDebugFlags(const uint16_t debugFlags)
set flags for debugging purposes
std::vector< vigra::Rect2D > getInputROIs() const
virtual void setCameraResponse(EMoR response)
set camera response function set camera response function in EMoR format
virtual void loadImages(std::vector< std::string > &inputFiles)
load images for processing
vigra::Rect2D m_outputROI
virtual void setFlags(const uint16_t flags)
set advanced flags Allows to change behavior of used algorithm
virtual void setIterationNum(const int iterations)
set number of iterations
std::vector< vigra::Rect2D > m_inputROI
std::vector< float > EMoR
vigra::Rect2D getOutputROI() const
std::vector< vigra::ImageImportInfo > inputFiles