Page 1 of 1

Median Calculation in Rasterize

Posted: Tue Mar 22, 2016 3:32 pm
by dmbrubac
Would it be possible to add Median to Min, Max and Average in the Projection - Cell Height calculation?

Median should be more resilient to spikes and would be a pretty easy implementation.

Thanks!

Re: Median Calculation in Rasterize

Posted: Tue Mar 22, 2016 7:33 pm
by daniel
Easy indeed, but it would take a lot of memory (as you need to store all values to compute the median). I'll add it to the TODO list.

Re: Median Calculation in Rasterize

Posted: Wed Mar 23, 2016 2:21 am
by dmbrubac
Thanks Daniel

The memory impact word get worse with the increasing cell size, that's true. I rarely have more than a few hundred points in a cell, though others may have more.

Re: Median Calculation in Rasterize

Posted: Thu Jan 14, 2021 8:54 am
by luotinen
daniel wrote: Tue Mar 22, 2016 7:33 pm Easy indeed, but it would take a lot of memory (as you need to store all values to compute the median). I'll add it to the TODO list.
Is this still on the TODO list? A median filter raster would be very useful despite the high memory requirement.

Re: Median Calculation in Rasterize

Posted: Thu Jan 14, 2021 9:27 am
by daniel
I think it's still in the TODO list indeed.

Yes maybe memory is less an issue now (it all depends on the grid size of course)