Public Member Functions

AutoContrast Class Reference

Filter generator for automatic contrast correction. More...

#include <autocontrast.h>

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

List of all members.

Public Member Functions

QuillImageFiltergenerate (const QuillImage &image) const
const QString name () const

Detailed Description

Filter generator for automatic contrast correction.

Uses BrightnessContrast for the actual correction. The algorithm is a simple contrast stretching with a cutoff.

Domain based name: org.maemo.auto.contrast

Options supported: none.


Member Function Documentation

QuillImageFilter * AutoContrast::generate ( const QuillImage image  )  const [virtual]

Generates an auto contrast stretching filter

The contrast stretching algorithm works this way: Build histogram Set new low so that .5% of samples are under it Set new high to that 99.5% of samples are under it

Since this is quite slow, it should operate on preview size only!

This explaination is for auto fix auto contrast will be executed firstly auto color will be followed automatically

Reimplemented from QuillImageFilterGeneratorImplementation.

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

Reimplemented from QuillImageFilterImplementation.


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