By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,660 Members | 1,100 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,660 IT Pros & Developers. It's quick & easy.

Image treshold

P: n/a
Can anyone give me an example how to apply a threshold value to an
image?

(everything above a certain brightness level becomes white, and
everything below the
level becomes black.)

I was told I should use 256-item mapping table and pass it to the
"point" method.

But how should the 256-item mapping table look like, if the threshold
is 18( found from the histogram)
Thank you for any hint.
L.

Nov 10 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Johny wrote:
Can anyone give me an example how to apply a threshold value to an
image?
(everything above a certain brightness level becomes white, and
everything below the level becomes black.)
I was told I should use 256-item mapping table and pass it to the
"point" method.
But how should the 256-item mapping table look like, if the threshold
is 18( found from the histogram)
Sounds like homework. You have the tools, and are close to the answer.
Experiment and look at the results.

-Scott
Nov 10 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.