[Insight-users] Testing GPU-based Median Filters

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Tue Jan 12 11:25:17 EST 2010


Le 12 janv. 10 à 00:18, Christopher Share a écrit :

> Hi,
>
> I'm in the process of developing several different GPU-based median  
> filters for the ITK (as part of the 09/10 VPAC Summer Project - this  
> year's project doesn't have a web page yet but here's a link to last  
> years' - http://www.vpac.org/?q=node/290). I have a question  
> regarding the testing of the filters. I'd like to test the  
> performance of the GPU filters under different conditions, however  
> I'm not clear about how these filters are used in practice.
>
> For the purposes of testing the filters I have the following  
> questions:
>
> 1. What image sizes should be tested? I was thinking of "small",  
> "medium" and "large" but I'm not sure what these sizes would be wrt  
> to the ITK.

I think the test should cover images smaller than the GPU memory and  
larger than the GPU memory.

>
> 2. Should I test RGB/RGBA images as well as greyscale images?

no: ITK's filters does not support them.

>
> 3. For the median filter case, what radius's should be tested?

You can have a look at ITK's test for that filter. I think that  
reusing the same test with your filter is a good start.

> Should different radius's in different directions be tested?


Yes, I think it should, because ITK's filter support it.

BTW, it would be great if the filter can have the exact same API than  
MedianImageFilter. That way, it can be used as a direct replacement.

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/20100112/be666abe/attachment.pgp>


More information about the Insight-users mailing list