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

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);

Respuestas (1)

Jan
Jan el 15 de Jul. de 2018
Editada: Jan el 15 de Jul. de 2018
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

Categorías

Más información sobre Function Creation en Centro de ayuda y File Exchange.

Productos

Versión

R2010a

Etiquetas

Preguntada:

el 15 de Jul. de 2018

Editada:

Jan
el 15 de Jul. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by