Begin3 Title: Ecg2png Version: 0.30 Entered-date: 1999/10/17 Description: This program is designed to convert scanned 12-lead electrocardiograms into PNG format and a web-friendly image size. It assumes that the electrocardiogram (ECG) is printed with a black line on white paper with a red grid. The problems this program is designed to solve are (1) an ECG scanned at relatively high resolution imposes a substantial load on the web browser because it contains about 6 million pixels. Also, (2) typical scanners convert a clean paper ECG into a multitude of colors, include green and blue. The resulting file cannot be compressed efficiently and thus takes more time to transmit over low-speed network connections. This program approaches these problems by shrinking the image in a way that preserves the signal data as first priority and the grid data as second priority, and cleaning up the color map. The first step reduces the memory burden on the user's web browser. The second step reduces the output filesize and in turn the transmission time. Keywords: electrocardiogram,image processing Author: Lawrence E. Widman Maintained-by: Lawrence E. Widman Primary-site: http://www.cardiothink.com/ Home-page: http://www.cardiothink.com/ Original-site: http://www.cardiothink.com/ Platforms: Linux and other Unices Copying-policy: GNU Public License End