Undefined function 'offsetstrel' for input arguments of type 'char'.
Show older comments
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 Comments
Star Strider
on 3 Dec 2018
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
on 3 Dec 2018
Accepted Answer
More Answers (1)
madhan ravi
on 3 Dec 2018
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 Comments
Zee Idrees
on 3 Dec 2018
madhan ravi
on 3 Dec 2018
whos offsetstrel
and
which offsetstrel
what does it show?
Categories
Find more on Morphological Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!