Replaced the local histogram feature extraction with another version that works considerably faster on larger images.
New sub-module with image filters such as sum_filter and average_filter that mimic scipy.ndimage.filters behaviour.