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);
errorimdilateMATLABoffsetstrel
se = offsetstrel('ball',11,90);BW1 = imdilate(binaryImage,se);imshow(BW1);
Best Answer