#include <ErrorDiffusionHalftoner.h>
Inheritance diagram for halftoner::ErrorDiffusionHalftoner:


ErrorDiffusionHalftoner is the superclass of all halftoning techniques that uses error diffusion on neighboring pixels.
Definition at line 44 of file ErrorDiffusionHalftoner.h.
ErrorDiffusionHalftoner::scan_line_strategy. ErrorDiffusionHalftoner::serpentine_strategy. ScanlinePathStrategy. SerpentinePathStrategy.
|
|
Constructor.
Definition at line 110 of file ErrorDiffusionHalftoner.cxx. |
|
|
Destructor.
Definition at line 120 of file ErrorDiffusionHalftoner.cxx. |
|
||||||||||||
|
Halftones the given image according to the given specifications.
Implements halftoner::Halftoner. Definition at line 130 of file ErrorDiffusionHalftoner.cxx. References halftoner::ErrorDiffusionSpec::getStrategy(), and halftoner::ErrorDiffusionSpec::getThreshold(). |
|
||||||||||||||||||||||||||||||||
|
Perform the algorithm for one pixel and transfering the error on the left.
Implemented in halftoner::FloydSteinberg, halftoner::JarvisJudiceNinke, and halftoner::Stucki. Referenced by serpentine(). |
|
||||||||||||||||||||||||||||||||
|
Perform the algorithm for one pixel and transfering the error on the right.
Implemented in halftoner::FloydSteinberg, halftoner::JarvisJudiceNinke, and halftoner::Stucki. Referenced by scanline(), and serpentine(). |
|
||||||||||||
|
Scans the given image with standard scan lines.
Definition at line 164 of file ErrorDiffusionHalftoner.cxx. References halftoner::Image::getCopy(), halftoner::Image::getHeight(), halftoner::Image::getWidth(), halftoneToRight(), and halftoner::Image::setColorAt(). |
|
||||||||||||
|
Scans the given image with serpentine scan lines.
Definition at line 198 of file ErrorDiffusionHalftoner.cxx. References halftoner::Image::getCopy(), halftoner::Image::getHeight(), halftoner::Image::getWidth(), halftoneToLeft(), halftoneToRight(), and halftoner::Image::setLine(). |
|
|
Definition at line 96 of file ErrorDiffusionHalftoner.h. |
|
|
Definition at line 115 of file ErrorDiffusionHalftoner.h. |
|
|
An instance of
Definition at line 99 of file ErrorDiffusionHalftoner.cxx. |
|
|
A polymorphic view of
Definition at line 102 of file ErrorDiffusionHalftoner.cxx. |
|
|
A polymorphic view of
Definition at line 103 of file ErrorDiffusionHalftoner.cxx. |
|
|
An instance of
Definition at line 100 of file ErrorDiffusionHalftoner.cxx. |
1.2.17