mirror of https://github.com/2martens/uni.git
[BV] Aufgabe 3 der 4. Übung fertiggestellt
Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
parent
70a7fb780e
commit
d19acd31ae
|
@ -0,0 +1,8 @@
|
|||
% 3.
|
||||
img = logical([1 0 0 0 1 1 1 0 1 1]);
|
||||
se = strel('line', 3, 0);
|
||||
dilated_img = imdilate(img, se);
|
||||
eroded_img = imerode(img, se);
|
||||
figure (1), imshow(img);
|
||||
figure (2), imshow(dilated_img);
|
||||
figure (3), imshow(eroded_img);
|
Loading…
Reference in New Issue