pgmslice : Linux / Unix Command
by Geethalakshmi[ Edit ] 2010-04-27 11:00:13
pgmslice : Linux / Unix Command
pgmslice - extract one line of pixel values out of a portable graymap
pgmslice -row|-col line [pgmfile]
Extracts 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.
OPTIONS
-row
Extract a row of pixels
-col
Extract a column of pixels