Filter to remove red eyes detected by RedEyeDetection. More...
#include <redeyereduction.h>
Public Member Functions | |
RedEyeReduction () | |
~RedEyeReduction () | |
QuillImage | apply (const QuillImage &image) const |
bool | setOption (const QString &option, const QVariant &value) |
QVariant | option (const QString &option) const |
const QStringList | supportedOptions () const |
virtual const QString | name () const |
Filter to remove red eyes detected by RedEyeDetection.
Options supported: SelectionArea (polygon approximating the eye area in full-image coordinates).
Default behavior: none.
RedEyeReduction::RedEyeReduction | ( | ) |
RedEyeReduction::~RedEyeReduction | ( | ) |
QuillImage RedEyeReduction::apply | ( | const QuillImage & | image | ) | const [virtual] |
Applies the filter to a given preview or fragment.
Reimplemented from QuillImageFilterImplementation.
virtual const QString RedEyeReduction::name | ( | ) | const [inline, virtual] |
Reimplemented from QuillImageFilterImplementation.
QVariant RedEyeReduction::option | ( | const QString & | filterOption | ) | const [virtual] |
Returns the value of a filter option. These options are the recommended way to pass information to the filters. This function needs to be reimplemented in a derived class to support options.
Reimplemented from QuillImageFilterImplementation.
bool RedEyeReduction::setOption | ( | const QString & | filterOption, | |
const QVariant & | value | |||
) | [virtual] |
Sets the value of a filter option. These options are the recommended way to pass information to the filters. This function needs to be reimplemented in a derived class to support options.
Reimplemented from QuillImageFilterImplementation.
const QStringList RedEyeReduction::supportedOptions | ( | ) | const [virtual] |
Reimplemented from QuillImageFilterImplementation.