Image Halftoning by Floyd's Method

Version 1.1.0.0 (221 KB) by Athi
This program converts a gray image into halftone image.
3.8K Downloads
Updated 7 Jun 2011

View License

Digital halftoning is the process of converting a continuous-tone images into strictly black and white images such that, when viewed by the human visual system, the pattern creates an illusion of being a continuous shade of gray.

The binary image created by halftoning is used in binary display devices, such as desktop inkjet printers.

In this program, the input gray image will be converted into halftone image of same size using Floyd's Error Diffusion Method.

Those who are new to Matlab Programming can see the "SampleUsage.m" file for the usage of the script "floydHalftone.m".

Those who are already familiar with Matlab Programming can directly use the script "floydHalftone.m".

Cite As

Athi (2024). Image Halftoning by Floyd's Method (https://www.mathworks.com/matlabcentral/fileexchange/25302-image-halftoning-by-floyd-s-method), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

ImageHalftoningFloyd/

Version Published Release Notes
1.1.0.0

Author Info Updated

1.0.0.0