[ITK] [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.
_____________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php
Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users
    
    
More information about the Community
mailing list