Usage: seuilauto in.pgm L <min|max> [n] out.pgm
Description: Determine automatically a threshold thanks to the smoothed histogram of the picture (L : smoothing coefficient, 0<L<255). If n is given, it indicates the number of peaks on the histogram to be kept. If n isn't given, the threshold separates the picture in two approximatively equivalent groups of points. The argument <min|max> selects the part of the picture to be kept:
Category: arith