Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

TileCompressor Class Reference

Compress image by dividing it to squares. More...

#include <ImageCompress.h>

Inheritance diagram for TileCompressor:

Inheritance graph
Collaboration diagram for TileCompressor:

Collaboration graph
List of all members.

Public Member Functions

 TileCompressor (uint partSize)
uint getPartSize () const
virtual Imagecompress (const Image &i)
virtual ImagecompressTiles (const Images &images)=0
Images cut (const Image &source) const
 Cut the image into the parts.

Protected Attributes

uint _partSize
uint _px
uint _py

Detailed Description

Compress image by dividing it to squares.

Implementations will typically choose a number of distinct squares

Constructor & Destructor Documentation

TileCompressor uint  partSize  )  [inline]

Member Function Documentation

virtual Image* compress const Image i  )  [virtual]

Implements ImageCompressor.

virtual Image* compressTiles const Images images  )  [pure virtual]

Implemented in MLPCompressor.

Images cut const Image source  )  const

Cut the image into the parts.

uint getPartSize  )  const [inline]

Member Data Documentation

uint _partSize [protected]

uint _px [protected]

uint _py [protected]

The documentation for this class was generated from the following file:
Generated on Fri Jun 18 13:19:30 2004 for Annie by doxygen 1.3.5