Median Filter for 24-bit and 32-bit images

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Median Filter for 24-bit and 32-bit images

m_azodi
Hello there,

Could anyone suggest me the fastest median filter for images with 24-bit or 32-bit depth? I do know about the possible implementations  but I am wondering if you could suggest me with a piece of code?

Thank you all in advance
Reply | Threaded
Open this post in threaded view
|

Re: Median Filter for 24-bit and 32-bit images

Olivier Burri
Hi

I suggest you look at the implementations of

http://rsbweb.nih.gov/ij/developer/api/ij/plugin/filter/RankFilters.html

http://rsbweb.nih.gov/ij/developer/api/ij/plugin/Filters3D.html

With sources at:
https://code.google.com/p/fiji-bi/source/browse/ij/plugin/filter/RankFilters.java?repo=imageja&r=2acf88daa5df455838e37f2b86ca2f4238e64c43

https://github.com/imagej/imagej1/blob/master/ij/plugin/Filters3D.java

Best

Olivier Burri
Engineer - Image Processing
& Software Development
EPFL - SV - PTECH - PTBIOP

> -----Original Message-----
> From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of
> m_azodi
> Sent: vendredi 2 mai 2014 15:29
> To: [hidden email]
> Subject: Median Filter for 24-bit and 32-bit images
>
> Hello there,
>
> Could anyone suggest me the fastest median filter for images with 24-bit or
> 32-bit depth? I do know about the possible implementations  but I am
> wondering if you could suggest me with a piece of code?
>
> Thank you all in advance
>
>
>
> --
> View this message in context: http://imagej.1557.x6.nabble.com/Median-
> Filter-for-24-bit-and-32-bit-images-tp5007550.html
> Sent from the ImageJ mailing list archive at Nabble.com.
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Median Filter for 24-bit and 32-bit images

m_azodi
Dear Olivier Burri ,
Thank you so much. Have you had an experience handling 32-bit image with the suggested algorithms?
Reza
Reply | Threaded
Open this post in threaded view
|

Re: Median Filter for 24-bit and 32-bit images

Olivier Burri
> Thank you so much. Have you had an experience handling 32-bit image with
> the suggested algorithms?

The rank filters convert any image type to 32-bit before processing.

The 3D Filter also work on 32-bit no problem.

They also work on hyperstacks.

The 3D Filters are multi-threaded and are thus quite fast if you have a recent multicore machine.


Testing this was extremely simple. Just open a  32-bit image in Fiji and run the filter on the image. You'll see if they work right away ;-)

Best


Oli


> Dear Olivier Burri ,
> Reza
>
>
>
>
> --
> View this message in context: http://imagej.1557.x6.nabble.com/Median-
> Filter-for-24-bit-and-32-bit-images-tp5007550p5007559.html
> Sent from the ImageJ mailing list archive at Nabble.com.
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html