Main Page   Modules   File List  

seuilauto.c File Reference

automatic threshold More...


Detailed Description

automatic threshold

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:

Types supported: byte 2d, byte 3d, long 2d, long 3d

Category: arith

Author:
Cedric Allene 2003

Generated on Fri Dec 17 11:59:38 2004 for Pink by doxygen1.2.18