Image Halftoning by Floyd's Method

This program converts a gray image into halftone image.

You are now following this Submission

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 (2026). Image Halftoning by Floyd's Method (https://www.mathworks.com/matlabcentral/fileexchange/25302-image-halftoning-by-floyd-s-method), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

Author Info Updated

1.0.0.0