[Insight-users] median slice per slice
Gaëtan Lehmann
gaetan.lehmann at jouy.inra.fr
Mon Oct 19 14:19:21 EDT 2009
Le 19 oct. 09 à 17:41, Samuele Dietler a écrit :
> Hello itk users,
> i will use a median filter on a 3D image but there is a time
> problem.If i will apply the median filter with a 3D mask 3X3X0 this
> will take long time due to the fact that the median filter is non-
> separable. Therefore i will apply just a 2D mask (3X3) filter on
> each single slice of my 3D image, how do this?? I have to use the
> filterextractor to extract and paste back the images from the 3D
> image??
Hi,
You can simply set the radius to 0 on the last dimension.
That way, you don't have to process your volume slice by slice
manually :-)
Other interesting options may be those filters:
http://www.itk.org/Doxygen/html/classitk_1_1SliceBySliceImageFilter.html
http://www.itk.org/Doxygen/html/classitk_1_1RankImageFilter.html
http://www.itk.org/Doxygen/html/classitk_1_1FastApproximateRankImageFilter.html
Regards,
Gaëtan
--
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66 fax: 01 34 65 29 09
http://voxel.jouy.inra.fr http://www.itk.org
http://www.mandriva.org http://www.bepo.fr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 203 bytes
Desc: Ceci est une signature ?lectronique PGP
URL: <http://www.itk.org/pipermail/insight-users/attachments/20091019/8238c5d0/attachment.pgp>
More information about the Insight-users
mailing list