regarding threshold
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: regarding threshold
Threshold Images
http://imagemagick.org/Usage/quantize/#threshold
http://imagemagick.org/Usage/quantize/#threshold
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: regarding threshold
I found that using % instead of for example 255,255,255 was wery logic when using function WhiteThresholdImage.
I'm setting all pixels above 250 to white, 250 is 98% of 255.
so my call to WhiteThresholdImage with 98% as threshold , did the job.
I'm setting all pixels above 250 to white, 250 is 98% of 255.
so my call to WhiteThresholdImage with 98% as threshold , did the job.
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: regarding threshold
Using percent is preferable as it will work for ALL 'Q' levels of IM.
not just Q8. Basially it is not just a percentage but a floating point specification giving very fine control.
not just Q8. Basially it is not just a percentage but a floating point specification giving very fine control.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/