How to obtain data of bwdist function?

3 次查看(过去 30 天)
bob
bob 2012-7-10
Hi everyone, I'm doing a morphological study on a micrograph.As you see the code that I use(see the code below), I apply bwdist function and then I get the contour plot. Everything is perfect. But after that, I'd like to get the bwdist data in the form of MAXIMUM, MINIMUM and MEAN. and also the distribution of each desired value of bwdist. What can I do?
a = imread('open_disk_15.jpg');
b=im2bw(a);
c = bwdist(b,'euclidean');
figure
subplot(1,1,1), subimage(mat2gray(c)), title('Euclidean');
hold on, [w,h]= imcontour(c,20)
clabel(w,h);
  1 个评论
Image Analyst
Image Analyst 2012-7-10
编辑:Image Analyst 2012-7-10
Surely you know about the mean(), max(), and min() functions, so what does "in the form of MAXIMUM, MINIMUM and MEAN" mean?
Secondly, what are your " desired" values of bwdist? It gives a lot of values, but which are the values that you desire?

请先登录,再进行评论。

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by