How to compare and calculate two specific superpixel's histograms?

1 次查看(过去 30 天)
I am working on image processing. I have generated 48 superpixels based on SLIC algorithm.While generating histograms I am getting more zeros and counts as 256*1 double.
[counts binlocations]=imhist(I);
Have I done it wrong? How to calculate the distance between two specific superpixels like calc-hist-dist(1,36)?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by