[ITK-users] one dimensional median filter, incredibly slow

jp cervellone at gmail.com
Wed Apr 8 10:46:11 EDT 2015


Dear all, 
i would like to apply a median filter but only in one image dimension, so i
use the rank image filter with a box structuring  element. of radius 0,0,1.
While the result is what i want the speed is abysmal. 
Does anyone have an idea ?

I am currenlly using itk 4.4.2 through python. 

Here is the code:

strel = itk.FlatStructuringElement[3].Box([0,0,1])
median = itk.RankImageFilter[itkType,itkType, strel].New(reader,
Kernel=strel)

Thanks very much

jp




--
View this message in context: http://itk-users.7.n7.nabble.com/one-dimensional-median-filter-incredibly-slow-tp35473.html
Sent from the ITK - Users mailing list archive at Nabble.com.


More information about the Insight-users mailing list