Public Member Functions

Levels Class Reference

Simple color balance filter. More...

#include <levels.h>

Inheritance diagram for Levels:
Inheritance graph
[legend]
Collaboration diagram for Levels:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Levels ()
 ~Levels ()
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

Detailed Description

Simple color balance filter.

Stretches the red, green and blue channels separately from each other. For each color, the interval ([color]..[color]Max) is stretched to cover the full possible range for this color in RGB (0..255).

This filter is usually created by Auto levels.

Supports options: Red, Green, Blue (minimum values as RGB values), RedMax, GreenMax, BlueMax (maximum values as RGB values).

Default behavior: Does nothing.


Constructor & Destructor Documentation

Levels::Levels (  ) 
Levels::~Levels (  ) 

Member Function Documentation

QuillImage Levels::apply ( const QuillImage image  )  const [virtual]

Applies the filter to a given preview or fragment.

Reimplemented from QuillImageFilterImplementation.

virtual const QString Levels::name (  )  const [inline, virtual]

Reimplemented from QuillImageFilterImplementation.

QVariant Levels::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 Levels::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 Levels::supportedOptions (  )  const [virtual]

Reimplemented from QuillImageFilterImplementation.


The documentation for this class was generated from the following files: