Got Questions? Get Answers.
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Problem with imread/imcrop/im2bw/strel after upgrade to 2013a

Subject: Problem with imread/imcrop/im2bw/strel after upgrade to 2013a

From: JH

Date: 18 Sep, 2013 22:26:05

Message: 1 of 2

I just switched from 2009a to 2013a and am having problems with all of my image processing scripts:

imcrop - Undefined function 'imcrop' for input arguments of type 'uint8'.
Error - x_cropped =imcrop(x, [height/4, height/4, height/2, height/2])

im2bw - Undefined function 'im2bw' for input arguments of type 'double'.
Error - xbinary = im2bw(x,1)

strel - Undefined function 'strel' for input arguments of type 'char'.
Error - se = strel ('disk',7);

It's also advising me to change AVIREAD to VIDEOREADER (which doesn't seem to be causing any issues).

(I used 'x' above for privacy)

Can someone help with this?

Subject: Problem with imread/imcrop/im2bw/strel after upgrade to 2013a

From: Sadik

Date: 19 Sep, 2013 01:00:05

Message: 2 of 2

Hi,

Your installation seems to be missing the Image Processing Toolbox [or perhaps part of it?]. When I type

help strel
help imcrop

I get the usual help text.

Best.

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us