how to use square filter with value 4 for erode function
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
f=imread('gee.jpg');
se=strel('train',4);
k=imerode(f,se);
imshow(k);
0 Commenti
Risposte (1)
Image Analyst
il 14 Mar 2016
'train' is not one of the options. Not sure what you want, but maybe you want to consider the 4 closest neighbors
grayImage = imread('gee.jpg');
se = [0,1,0; 1,0,1; 0,1,0];
erodedImage = imerode(grayImage , se);
imshow(erodedImage);
0 Commenti
Vedere anche
Categorie
Scopri di più su Point Cloud Processing in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!