As part of the project, I'm trying to measure how similar the 2 textures taken from the image are. (I take 2 square samples about 40 x 40 pixels).
After I take the samples, I transfer them to the Gabor filter bank (with two filter sizes and 6 orientations), so now I have 12 output filters for each sample.
The goal is to calculate a metric that tells us how similar 2 textures are , so that if 2 samples are wood or brick, a metric estimate (the difference is small), but if 1 sample is stone and the other is fabric, the metric should be high (the textures are very different).
Question: How to measure the difference in texture using these outputs? I was asked to create a distribution of the outputs for each sample, and then measure the distance between the two distributions, but I just do not know how to do this.
Filters look something like this: (not entirely accurate):

The result looks something like this (I used this image as an example)

source share