Commit 728573a4 authored by ac32's avatar ac32

use imnlmeans when useCuda is false, ubuntu matlabPollDB

parent afbe3697
......@@ -92,7 +92,7 @@ if is3D(im)
imx=imx-HIP.Cuda.Gaussian(im,szFilter,1,[]);
end
else
imx = medfilt3(im)-imgaussfilt3(im,szFilter);
imx = medfilt3(im);
end
else
% 2D
......@@ -102,7 +102,7 @@ else
imx=imx-HIP.Cuda.Gaussian(im,[szFilter,1],1,[]);
end
else
imx=medfilt2(im)-imgaussfilt(im,szFilter(1:2));
imx=imnlmfilt(im);
end
end
......
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment