Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Shannons :calculating simple uncertainty

  1. Dec 18, 2007 #1
    If I were to use a two-tone image e.g. fax, and were to transmit it line-by-line, where the the individual pixels which make up the line were independent of each other, how would I measure the uncertainty at the transmitter? Also what would the length of the the transmited sequence be if the image was a square NxN image?

    I think the uncertainty is H(X)= - W{ Pilog(Pi) } -B{Qj log (Qj)}
    W=number of white pixels in the sequence
    Pi=probability of a white pixel.
    B=number of black pixels in seqence
    Qj=probability of a black pixel.

    Any ideas would be very helpful...thank you in advance!
  2. jcsd
  3. Dec 18, 2007 #2


    User Avatar
    Science Advisor
    Homework Helper

    Do not cross-post.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook