documentation question in -threshold IM 6.4.4.-6
Posted: 2008-10-14T23:28:19-07:00
The documentation for -threshold at http://www.imagemagick.org/script/comma ... #threshold says:
"If only a single 0 is provided, auto-thresholding will be performed."
Can someone tell me how auto-thresholding works or point me to the specific c code in the IM source code? When I do -threshold 0 all I get is a totally white image.
convert rose: -threshold 0 rose_auto_thresh.png
convert logo: -threshold 0 logo_auto_thresh.png
both result in a totally white image!!!
Also, while looking at the code in threshold.c, I see listed an A d a p t i v e T h r e s h o l d I m a g e, but I do not see any IM option at http://www.imagemagick.org/script/comma ... ptions.php for any such thing. What happened to this?
Thanks.
"If only a single 0 is provided, auto-thresholding will be performed."
Can someone tell me how auto-thresholding works or point me to the specific c code in the IM source code? When I do -threshold 0 all I get is a totally white image.
convert rose: -threshold 0 rose_auto_thresh.png
convert logo: -threshold 0 logo_auto_thresh.png
both result in a totally white image!!!
Also, while looking at the code in threshold.c, I see listed an A d a p t i v e T h r e s h o l d I m a g e, but I do not see any IM option at http://www.imagemagick.org/script/comma ... ptions.php for any such thing. What happened to this?
Thanks.