1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Shannon's uncertainty question

  1. Dec 18, 2007 #1
    1. The problem statement, all variables and given/known data:

    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?

    2. The attempt at a solution

    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

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