# # 0README: LPM Sample Program # # [1998/01/29] OSHIRO Naoki. # # $Log:$ # This directory contains very simple [OLD] LPM(log polar mapping) programs (and some bugs ;-<, inverse image is effected some rotation). 1. Compile make [RET] 2. Usage a. Prepare PPM format image file. b. Generate LPM image. lpscl lpwidth lpheight infile > lpm-outfile[RET] c. Get Inverse LPM image. lpsclinv orgwidth orgheight lpm-outfile > inv-outfile[RET] 3. Sample There is sample image 'grid.ppm' in PPM format (126x123 size). % lpscl 30 30 grid.ppm > grid-lp.ppm[RET] % lpsclinv 126 123 grid-lp.ppm > grid-lpinv.ppm[RET] 4. Files 0README : This file. Makefile : lpscl.c : LPM program. lpsclinv.c: Inverse LPM program. ppmutils.c: PPM format utilities. ppmutils.h: Header file PPM format utilities. grid.ppm : Sample Image. 5. Notice ... ========================================= Naoki OSHIRO: n-oshiro@tec.u-ryukyu.ac.jp http://www.cc.u-ryukyu.ac.jp/~n-oshiro/