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

halftoner::ErrorDiffusionHalftoner::ScanlinePathStrategy Class Reference

Inheritance diagram for halftoner::ErrorDiffusionHalftoner::ScanlinePathStrategy:

Inheritance graph
[legend]
Collaboration diagram for halftoner::ErrorDiffusionHalftoner::ScanlinePathStrategy:

Collaboration graph
[legend]
List of all members.

Detailed Description

Class ScanlinePathStrategy represents scanning the lines from the left to the right, top lines first.

Definition at line 84 of file ErrorDiffusionHalftoner.h.

Public Methods


Member Function Documentation

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

Applies the strategy.

Parameters:
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 69 of file ErrorDiffusionHalftoner.cxx.


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