Skip to content

Error diffusion dithering using Floyd–Steinberg dithering

Notifications You must be signed in to change notification settings

rebinsilva/Dithering

Repository files navigation

Image Dithering

Error diffusion dithering using Floyd–Steinberg dithering algorithm is implemented in this repository. The algorithm is implemented using CPU only and CPU-GPU hybri methods. This repository is an re-implementation of the paper Hybrid Implementation of Error Diffusion Dithering.

This repo uses stb_image as a sub module for reading and writing png. To download and test this repo, read how to download sub-modules along with the repo.

Codes

basic.c

This is a sequential implementation of Floyd-Steinberg dithering algorithm in CPU.

block.c

This is a parallel implementation of dithering algorithm using openmp in CPU.

pixel.cu

This is a parallel implementation of dithering algorithm using CPU-GPU handover algorithm.

hybrid.cu

This is a parallel implementation of dithering algorithm using CPU-GPU hybrid algorithm.

About

Error diffusion dithering using Floyd–Steinberg dithering

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published