错误是:
getvalues中的错误(第4行) faceNoNoise = wiener2(x,[5 5]);
在调用“C:\ Users \ Trent \ face \ getvalues.m> getvalues”时未输出参数“mouthTall”(也许是其他人)。
finalProject2中的错误(第10行) [numWhiteEyebrow,mouthTall,eyebrowHeight] = getvalues(faceGray)
faceNoNoise = wiener2(x, [5 5]); <---- getvalues.m line with error
function finalProject2(x) <----- finalproject file
face = imread(x);
faceGray = rgb2gray(face);
numWhiteEyebrow = 0;
mouthTall = 0;
eyebrowHeight = 0;
[ numWhiteEyebrow, mouthTall, eyebrowHeight ] = getvalues( faceGray ) <--error above
end
我试图找出为什么这样做......