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

halftoner::VG95 Class Reference

#include <VG95.h>

Inheritance diagram for halftoner::VG95:

Inheritance graph
Collaboration diagram for halftoner::VG95:

Collaboration graph
List of all members.

Detailed Description

Class VG95 implements the second technique by the pair Velho-Gomes.

Definition at line 42 of file VG95.h.

Public Methods

Implemented method from class Halftoner

Constructor & Destructor Documentation

halftoner::VG95::VG95   throw ()


Definition at line 40 of file VG95.cxx.



Definition at line 50 of file VG95.cxx.

Member Function Documentation

Image * halftoner::VG95::halftone const Image   source,
const HalftonerSpec   spec
throw (std::invalid_argument) [virtual]

Halftones the given image according to the given specifications.

source  the source image.
spec  the specifications of the algorithm.
Returns :
the halftoned image, which must be manually deleted.
std::invalid_argument  if the image is not square.
std::invalid_argument  if the dimension of the image is not a power of 2 greater than or equal to 32 and less than or equal to 512.
make this better.

Implements halftoner::Halftoner.

Definition at line 60 of file VG95.cxx.

References halftoner::VGSpec::getClusterSize(), halftoner::VGSpec::getMnemonic(), and halftoner::Image::setColorAt().

The documentation for this class was generated from the following files:
Generated on Sat Sep 7 16:37:33 2002 for Halftoning Library by doxygen1.2.17