Define origin and length of the Strel function
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Luccas S.
am 22 Feb. 2022
Kommentiert: Luccas S.
am 22 Feb. 2022
I'm trying to create the following structuring element (SE):
The underline bar represents the origin of the SE.
For example, if I want an SE of and with length equal to 3, how could I do it through the strel function?
0 Kommentare
Akzeptierte Antwort
DGM
am 22 Feb. 2022
No need for strel().
A = false(7);
A(4,4) = true
st1 = [1 1 1 0 0 ];
B1 = imdilate(A,st1)
st2 = [0 0 1 1 1];
B2 = imdilate(A,st2)
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu 3-D Volumetric Image Processing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!