void setMessage(const std::string &message, const std::string &filename="")
sets the message to given string
bool updateDisplay()
updates the display, return true, if update was successful, false if cancel was pressed
void taskFinished()
call when a task has finished and the status message should be cleared
void setMaximum(int newMaximum)
sets the new maximum value of the progress value
virtual void updateProgressDisplay()=0
Template method, updates the display.
bool updateDisplayValue()
bool wasCancelled()
return true, if process should be canceled by user e.g.
virtual void updateProgressDisplay()
update the display, print the message to stream
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.