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

halftoner::Halftoner Class Reference

#include <Halftoner.h>

Inheritance diagram for halftoner::Halftoner:

Inheritance graph
List of all members.

Detailed Description

Class Halftoner provides an interface for objects that halftone grey-scale images to tones of black and white.

Definition at line 44 of file Halftoner.h.

Public Methods

Abstract method

Protected Methods

Constructor & Destructor Documentation

halftoner::Halftoner::Halftoner   throw () [protected]


Definition at line 35 of file Halftoner.cxx.

halftoner::Halftoner::~Halftoner   throw () [virtual]


Definition at line 45 of file Halftoner.cxx.

Member Function Documentation

virtual Image* halftoner::Halftoner::halftone const Image   image,
const HalftonerSpec   specs
throw (std::invalid_argument) [pure virtual]

Halftones the given image.

image  the image to halftone.
specs  the parameter the algorithm should take into account.
Returns :
a newly allocated halftoned image, which must be manually deleted.
std::invalid_argument  if 0 == specs (algorithm dependent).
std::invalid_argument  if specs is not of the correct class (algorithm dependent).

Implemented in halftoner::ErrorDiffusionHalftoner, halftoner::VG91, halftoner::VG95, and halftoner::VGexp.

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