[Insight-users] Finding the median of the neighborhood of a pixel
Bjorn Hanch Sollie
bhs at pvv . org
Tue, 30 Jul 2002 23:43:07 +0200 (CEST)
Hi all!
Does ITK contain any functionality for finding the median of the
standard 9, 27, etc. neighborhood of a pixel? I've been looking at
MedianImageFunction, but couldn't figure out how to use it for this
purpose. Also the SmartNeighborhoodIterator uses similar
neighborhoods, but it doesn't have a method for calculating the median
as far as I can see. Not that it's so hard to implement this myself,
but I just thought I'd check if what I'm looking for is already in
there somewhere first.
-Beorn
--
The History of the Universe
Chapter 1: Bang! Chapter 2: Sss... Chapter 3: Crunch!
The End