Undefined function 'offsetstrel' for input arguments of type 'char'.
이전 댓글 표시
I'm getting the following error when I try to run the following code. How can i fix it??
Undefined function 'offsetstrel' for input arguments of type 'char'.
se = offsetstrel('ball',11,90);
BW1 = imdilate(binaryImage,se);
imshow(BW1);
댓글 수: 2
Star Strider
2018년 12월 3일
It’s part of the Image Processing Toolbox, and has been around for at least a decade. If you have the Toolbox installed, you should have all the functions in your posted code.
Zee Idrees
2018년 12월 3일
채택된 답변
추가 답변 (1개)
madhan ravi
2018년 12월 3일
Didn't get any errors?
maybe try clear all and try again
>> se = offsetstrel('ball',11,90);
>> se
se =
offsetstrel is a ball shaped offset structuring element with properties:
Offset: [25×25 double]
Dimensionality: 2
>>
댓글 수: 2
Zee Idrees
2018년 12월 3일
madhan ravi
2018년 12월 3일
whos offsetstrel
and
which offsetstrel
what does it show?
카테고리
도움말 센터 및 File Exchange에서 Visualization and Interpretability에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!