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

halftoner::ErrorDiffusionHalftoner::SerpentinePathStrategy Class Reference

Inheritance diagram for halftoner::ErrorDiffusionHalftoner::SerpentinePathStrategy:

Inheritance graph
Collaboration diagram for halftoner::ErrorDiffusionHalftoner::SerpentinePathStrategy:

Collaboration graph
List of all members.

Detailed Description

Class SerpentinePathStrategy represents scanning the lines in a serpentine manner, left to right, then right to left, and so on.

Definition at line 103 of file ErrorDiffusionHalftoner.h.

Public Methods

Member Function Documentation

Image * halftoner::ErrorDiffusionHalftoner::SerpentinePathStrategy::operator() ErrorDiffusionHalftoner   halftoner,
const Image   source,
int    threshold
throw () [virtual]

Applies the strategy.

halftoner  the halftoner to apply the strategy on.
source  the source image.
threshold  the threshold of the algorithm.
Returns :
the halftoned image.

Implements halftoner::ErrorDiffusionHalftoner::PathStrategy.

Definition at line 84 of file ErrorDiffusionHalftoner.cxx.

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