calculating entropy of image or alternative?

2015-07-03 Thread telmo bacile
Hi list, I found a code that calculates entropy of images with python that can be used for classifying interesting images from uninteresting ones. Interesting images has more structured patterns while uninsteresting are more noisy or completely homogeneous. I was thinking this code (entropy of i

error with pillow: decoder not avaliable

2015-07-02 Thread telmo bacile
Hi list, im new in this list. Im trying to run a python code that was made originally with pil using pillow, The problem is that i get this error: IOError: decoder jpeg not available Any idea why this code is not working with pillow? import math from PIL import Image imageFile = 'test.jpg