pgmsliceSection: User Commands (1)
Updated: 22 May 2000
Index Return to Main Contents
NAMEpgmslice - extract one line of pixel values out of a portable graymap
SYNOPSISpgmslice -row|-col line [pgmfile]
DESCRIPTIONExtracts one line of pixel values out of a portable graymap and outputs it in a two column ascii format, with the first value being the pixel's position in the line and the second value the pixel's greyscale value. This is useful for making cross sections through, for example, greyscale CCD images.
- Extract a row of pixels
- Extract a column of pixels
AUTHORpgmslice was written by Jos Dingjan <email@example.com> after being unable to find the source code to Marco Beijersbergen's program with the same name.