错误是:
getvalues 中的错误(第 4 行) faceNoNoise = wiener2(x, [5 5]);
在调用“C:\Users\Trent\face\getvalues.m>getvalues”期间未分配输出参数“mouthTall”(可能还有其他参数)。
finalProject2 中的错误(第 10 行)[numWhiteEyebrow,mouthTall,brownHeight] = 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
我试图弄清楚它为什么这样做......