How to obtain data of bwdist function?
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commento
Image Analyst
il 10 Lug 2012
Modificato: Image Analyst
il 10 Lug 2012
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?
Risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!