Article View: alt.graphics.pixutils
Article #624Halftoning algorithm (C code) needed
From: John Ens
Date: Mon, 04 Jan 1993 22:41
Date: Mon, 04 Jan 1993 22:41
16 lines
1020 bytes
1020 bytes
My apologies if this is a FAQ .... Could some kind soul point me to a halftoning algorithm (C code if possible) for transforming a gray-scale image to a halftoned binary bit map. Since I'm working with my own image format, I don't need any I/O code. I currently have an algorithm which uses pre-defined dot patterns, but I'm not satisfied with the results. I'm interested in an adaptive scheme where the dots are produced randomly, based on the input gray-scale image and errors from neighbouring pixels. Thanks in advance. John Ens ens@cs.sfu.ca
Technical Details
Message-ID:
<1993Jan4.224155.10755@cs.sfu.ca>Path:
arc1-ca.pugleaf.net!sparky!uunet!usc!howland.reston.ans.net!paladin.american.edu!gatech!destroyer!cs.ubc.ca!fornax!ensShow Full Headers
Complete Article Headers
Newsgroups: alt.graphics.pixutils,comp.graphics,alt.binaries.pictures.utilities Path: arc1-ca.pugleaf.net!sparky!uunet!usc!howland.reston.ans.net!paladin.american.edu!gatech!destroyer!cs.ubc.ca!fornax!ens From: ens@cs.sfu.ca (John Ens) Subject: Halftoning algorithm (C code) needed Message-ID: <1993Jan4.224155.10755@cs.sfu.ca> Keywords: Halftoning Organization: CSS, Simon Fraser University, Burnaby, B.C., Canada Date: Mon, 4 Jan 1993 22:41:55 GMT Lines: 16