Skip to content
Snippets Groups Projects
Commit d28eb293 authored by brossetti's avatar brossetti
Browse files

bug fix: medfilt does not exist

parent 436f5c49
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,7 @@ function arrayOut = MedianFilter(arrayIn,kernel,numIterations,device,suppressWar ...@@ -20,7 +20,7 @@ function arrayOut = MedianFilter(arrayIn,kernel,numIterations,device,suppressWar
else else
for z=1:size(arrayIn,3) for z=1:size(arrayIn,3)
for x=1:size(arrayIn,2) for x=1:size(arrayIn,2)
arrayOut(:,x,z,c,t) = medfilt(arrayIn(:,x,z,c,t),size(kernel,1)); arrayOut(:,x,z,c,t) = medfilt1(arrayIn(:,x,z,c,t),size(kernel,1));
end end
end end
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment