Add a meta-method that takes any gray-scale dithering algorithm and applies channel-wise binary dithering to color images using channelview.
An illustration of this is shown here, where it is called "separate-space dithering".
The type AbstractColorDither will need be extended by AbstractCustomColorDither to differentiate this method from other methods like Floyd-Steinberg that take custom user-defined color palettes.
The output image will look different depending on the concrete color type on which channelview is applied. As RGB is typically used, this should be the default.
Add a meta-method that takes any gray-scale dithering algorithm and applies channel-wise binary dithering to color images using
channelview
.An illustration of this is shown here, where it is called "separate-space dithering".
The type
AbstractColorDither
will need be extended byAbstractCustomColorDither
to differentiate this method from other methods like Floyd-Steinberg that take custom user-defined color palettes.The output image will look different depending on the concrete color type on which
channelview
is applied. As RGB is typically used, this should be the default.Pseudocode example: