Image Halftoning by Jarvis Method

version (221 KB) by Athi
This program converts a gray image into halftone image.


Updated Tue, 07 Jun 2011 05:06:12 +0000

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 Jarvis's Error Diffusion Method.

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

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

Cite As

Athi (2022). Image Halftoning by Jarvis 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!