medfilt performance

[Old posts from the commercial version of ArrayFire] Discussion of ArrayFire using CUDA or OpenCL.

Moderator: pavanky

medfilt performance

Postby robot9 » Fri May 09, 2014 8:46 pm

My first post, so please be gentle!

I am using OpenCV to do a 301x301 median filter on an image that is 4096x4096. It takes about 12 seconds to carry out the computation on an i5 with 4 cores, with each core doing 1/4 of the image and then recombining.

If I were to implement this with a GPU and ArrayFire, what sort of improvement can I expect in computation time? I have seen some data that implies I might get a 6x to 10x reduction in time, but that is for smaller kernels.

Any info would be most appreciated!
robot9
 
Posts: 1
Joined: Fri May 09, 2014 3:36 pm

Re: medfilt performance

Postby pavanky » Mon May 12, 2014 11:11 am

Hi,

Currently arrayfire does not support medfilt of that size. Windowed operations of these sizes may not be ideal for GPUs.

Frankly we haven't seen anyone ask for a median filter of that size. If you can explain a bit about what you are trying to achieve may be we can help you with an alternative method instead ?
Pavan Yalamanchili,
ArrayFire
--
~ If it is not broken, you have not tried hard enough ~
User avatar
pavanky
Site Admin
 
Posts: 1123
Joined: Mon Mar 15, 2010 7:39 pm
Location: Atlanta, GA


Return to [archive-commercial] Programming & Development with ArrayFire

cron