matlab读取图像后,调用im2double()函数对图像进行处理,
Im= im2double((imread(img_name)));
出现错误:
Undefined function 'im2double' for input arguments of type 'uint8'.
这是因为在安装matlab的时候,没有选择安装Image Processing Toolbox,
解决方法是,重新安装matlab,安装的时候勾选Image Processing Toolbox项即可.