Undefined function or variable 'imnlmfilt'

조회 수: 2 (최근 30일)
Anna Clouvel-Gervaiseau
Anna Clouvel-Gervaiseau 2020년 8월 8일
댓글: Anna Clouvel-Gervaiseau 2020년 8월 8일
Hello, I'm getting the "Undefined function or variable 'imnlmfilt'" error message, despite being certain that this is actually a matlab function - it just doesn't seem to be installed with my Matlab. I'm using Matlab R2017a, because for some reason my dying computer won't let me download anything newer, and I have a student license - could that be the problem? (and if yes, any way to get around it?)
That code segment looks like this :
% Preparing images
image_name_1 = horzcat(image_name_base, num2str(a, image_name_index), image_format);
image_name_2 = horzcat(image_name_base, num2str((a + 1), image_name_index), image_format);
I1 = imread(image_name_1);
I2 = imread(image_name_2);
K1 = imcrop(I1, image_area);
K2 = imcrop(I2, image_area);
if RunPIV
J1 = imnlmfilt(K1); %
J2 = imnlmfilt(K2); % Reduce noise by non-local means filter
if masking
BW1 = segmentImage1210(J1);
BW2 = segmentImage1210(J2);
end

채택된 답변

madhan ravi
madhan ravi 2020년 8월 8일
It requires Image Processing Toolbox and a valid license for it. Contact your IT department in your University to get the license.

추가 답변 (1개)

Image Analyst
Image Analyst 2020년 8월 8일
It was introduced in R2018b. Try to upgrade.
  댓글 수: 1
Anna Clouvel-Gervaiseau
Anna Clouvel-Gervaiseau 2020년 8월 8일
Thanks a lot for your response, I'm using an older mac and for some reason itll prevent me from downloading any too recent Matlab versions

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Matched Filter and Ambiguity Function에 대해 자세히 알아보기

제품


릴리스

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by