mandag 25. oktober 2004, 15:31, skrev Martin du Saire:
> How does IJ calculate auto threshold value in:
>
> int threshold = ip.getAutoThreshold(stats.histogram);
The algorithm is similar to "Calvard and Riddler Optimal threshold".
Calvard and Riddler assumes that the histogram is bimodal,
and finds the optimal placement of a horisontal line that separates the two
distributions.
For an explanation of Calvard Riddler and details, see top of page 2
in http://www.stud.ntnu.no/~perchrh/skole/datasyn/oving2/report.pdf
--
Per Christian Henden
http://www.stud.ntnu.no/~perchrh/index.html.en
Do YOU have Setites in your local Camarilla primogen?
Call 0-800-Assamite now! Operators standing by!
|
|