I am real need of some help here. Basically I have a test tomorrow and the following question was on last years test and its completely over my head as I haven't done Maths in years.
I have to use the following formula:
To calculate the following:
An image, 500 pixels by 400 pixels, consists of 80000 Blue, 6000 Orange, 8000 Red, 2000 Yellow, 50000 Indigo, 40000 Green, 4000 Violet pixels, 10000 Turquoise pixels.
(iv) Calculate Entropy in bits based on Shannon’s formula. (Show how you derived the result)
Any help will be greatly appreciated as I'm basically fooked for this test.