|
NAMEbwthresh - threshold a black-and-white bw fileSYNOPSISbwthresh val... < file.bw DESCRIPTIONbwthresh reads from standard input a stream of black-and-white data in bw(5) format and thresholds it among the vals, writing the resulting bw(5) data to standard output. The vals must appear on the command line in strictly increasing order.The grey scale 0..255 is divided evenly into n+1 bins, and each pixel of input is compared to the vals, to determine which of the n+1 grey levels should be output. EXAMPLEThe commandbwthresh 37 143 < file.bw > file2.bw performs the following mapping: if (pixel_in < 37) pixel_out = 0 else if (pixel_in < 143) pixel_out = 128 else pixel_out = 255 SEE ALSObwmod(1), bwstat(1), bw(5)AUTHORBRL-CAD TeamCOPYRIGHTThis software is Copyright (c) 1991-2019 by the United States Government as represented by U.S. Army Research Laboratory.BUG REPORTSReports of bugs or problems should be submitted via electronic mail to devs@brlcad.org
Visit the GSP FreeBSD Man Page Interface. |