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