IColorTransformer Struct Reference
[Interfaces for coding modules]

Interface for modules performing color transformations, following modules always work with single-color (greyscale) images. More...

#include <interfaces.h>

Inheritance diagram for IColorTransformer:

Inheritance graph
[legend]
Collaboration diagram for IColorTransformer:

Collaboration graph
[legend]

List of all members.

Classes

struct  Plane
 Represents a one-color image, together with some setttings. More...

Public Types

typedef std::vector< PlanePlaneList
 List of planes (the pointed-to memory is owned by the module).

Public Member Functions

virtual PlaneList image2planes (const QImage &toEncode, const PlaneSettings &prototype)=0
 Splits an image into color-planes and adjusts their settings (from prototype).
virtual QImage planes2image ()=0
 Merges planes back into a color image (only useful when decoding).
virtual void writeData (std::ostream &file)=0
 Writes any data needed for plane reconstruction to a stream.
virtual PlaneList readData (std::istream &file, const PlaneSettings &prototype)=0
 Reads any data needed for plane reconstruction from a stream and creates the plane list.


Detailed Description

Interface for modules performing color transformations, following modules always work with single-color (greyscale) images.

Definition at line 111 of file interfaces.h.


Member Function Documentation

virtual PlaneList IColorTransformer::image2planes ( const QImage &  toEncode,
const PlaneSettings &  prototype 
) [pure virtual]

Splits an image into color-planes and adjusts their settings (from prototype).

It should call UpdateInfo::incMaxProgress with the total pixel count.

Implemented in MColorModel.

Referenced by MRoot::encode().

Here is the caller graph for this function:


The documentation for this struct was generated from the following file:

Generated on Thu Aug 6 22:33:14 2009 for Fractal Image Compressor by  doxygen 1.5.8