Rank: 5167 based on 14 downloads (last 30 days) and 1 file submitted
photo

Toby Collins

E-mail

Personal Profile:

PhD student - Informatics, University of Edinburgh, UK


 

Watch this Author's files

 

Files Posted by Toby Collins
Updated   File Tags Downloads
(last 30 days)
Comments Rating
13 Nov 2008 ordfilt3 Performs 3D order-statistic filtering on 3D volumetric data. Author: Toby Collins 3d, statistics, memory, orderstatistic, volumetric data, 3d volume 14 4
  • 4.75
4.8 | 4 ratings
Comments and Ratings on Toby Collins' Files View all
Updated File Comment by Comments Rating
14 Mar 2013 ordfilt3 Performs 3D order-statistic filtering on 3D volumetric data. Author: Toby Collins Keith

Great! almost 40% faster than medfilt3. Following Matthias's memory suggestion, an alternative for other platforms is largestmemblock http://www.mathworks.com/matlabcentral/fileexchange/25725-largest-memory-block-available-all-platforms

Note: You do need to modify that function in order to actually return the value.

15 Apr 2011 ordfilt3 Performs 3D order-statistic filtering on 3D volumetric data. Author: Toby Collins Matthias Schabel

I suggest a couple of minor changes :

1) Insert the following two lines after line 50 to get reasonable default values :

if (nargin < 3) winSize = 3; end;
if (nargin < 2) ord = 'med'; end;

2) Replace M = feature('memstats'); (which only works on Windows) with

try
M = feature('memstats');
catch e
M = 10^28; % or however many bytes of free space you figure your machine will have
end;

15 Apr 2011 ordfilt3 Performs 3D order-statistic filtering on 3D volumetric data. Author: Toby Collins Matthias Schabel

29 Jun 2010 ordfilt3 Performs 3D order-statistic filtering on 3D volumetric data. Author: Toby Collins Juha-Matti Alakoskela

27 Nov 2009 ordfilt3 Performs 3D order-statistic filtering on 3D volumetric data. Author: Toby Collins Shripad Kondra

Thanks !

Contact us