Define origin and length of the Strel function
4 次查看(过去 30 天)
显示 更早的评论
采纳的回答
DGM
2022-2-22
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)
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!