[MINC-users] median filter

Andrew Janke a.janke at gmail.com
Mon Jan 31 22:19:05 EST 2011


> I'm a bit puzzled by your suggestion - the mincmorph kernel you
> describe is a mean filter, not a median filter, right? AFAIK you can't
> implement a median filter by convolution (because you need to sort).

Correct, I was more attempting to point out that it wouldn't be at all
hard to modify the convolution kernel to do the median bit. When I
re-read what I sent though seems I got a bit carried away. So yes, my
bad what I described is a mean filter not median.

> That said, it still seems that mincmorph would be the most natural
> place for adding a median filter; it seems like all the ingredients
> are there. It seems like it would only be a minor modification of the
> median dilate option it already provides?

Correct.


a


More information about the MINC-users mailing list