I want to calculate a histogram for the color image and computed histograms for each color channel. R=48*256;G=48*256;B=48*256;
(48 superpixels, each one has 256 range)
How to calculate the (R, G, B) histogram distance for specific superpixel to another superpixel in color image? For example,pdist(SP1,SP2,'emd');
How to calculate the Histogram distance with multiple images?
Any help is greatly appreciated. Thank you