problem with strel function
조회 수: 8 (최근 30일)
이전 댓글 표시
Hi
I want to apply 'disk' structure on my balck and white image, however it rises an error as followe:
Undefined function or variable 'MakeDiskStrel'.
Error in main (line 25)
se =MakeDiskStrel();
my code:
I = imread('img.jpg');
gray = rgb2gray(I);
bw1 = imbinarize(gray);
bw2 = imfill(bw1,'holes');
se = strel('disk',10);
cl=imclose(bw2,se);
imshow(cl)
I am using MATLAB R2018b
댓글 수: 12
Walter Roberson
2020년 10월 9일
what shows up for
which -all strel
It looks like you are activating a different file.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

