i am getting error ... ??? Undefined function or method

4 次查看(过去 30 天)
image=im2double(imread('C:\s01_01','jpg'));
j=rgb2gray(image);
A= histeq(j);
B = imresize(A, [150 130]);
cr=fdct_wrapping(B,1,1,3,16);
img =cr{1}{1};
??? Undefined function or method 'fdct_wrapping' for input arguments of type 'double'.
Error in ==> resize at 5
cr=fdct_wrapping(B,1,1,3,16);

回答(1 个)

Jan
Jan 2018-7-15
编辑:Jan 2018-7-15
This means, that the file fdct_wrapping.m is not found in your Matlab path. I guess you have either forgotten to install the required toolbox, or to add it to your path. See:
doc addpath
doc pathtool

类别

Help CenterFile Exchange 中查找有关 Function Creation 的更多信息

标签

产品


版本

R2010a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by