Image analysis through local information measures