how to use square filter with value 4 for erode function
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
f=imread('gee.jpg');
se=strel('train',4);
k=imerode(f,se);
imshow(k);
0 Kommentare
Antworten (1)
Image Analyst
am 14 Mär. 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 Kommentare
Siehe auch
Kategorien
Mehr zu Point Cloud Processing finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!