Thanks for all the help!Convolving looks like a great way to do this, and I think that mean will be just fine for my purposes.That iterator also looks fantastic and is actually the sort of thing that I was looking for at first. I havn't tried it yet though. Any idea how fast it would be?
StephenOn
Not sure, but my Google desktop search of "medfilt" (the name of
Matlab function) brought me to:
info_signal.py - N-dimensional order filter. medfilt -N-dimensional
median filter
If it's true, then it is the 2D median filter.
Regarding the neighbouring cells, I found the iterator on 2D ranges on
On Sat, 10 Jun 2006, stephen emslie apparently wrote:
> I'm just starting with numpy (via scipy) and I'm wanting to perform
> adaptive thresholding
> (http://www.cee.hw.ac.uk/hipr/html/adpthrsh.html) on an image.
The ability to define a function on a neighborhood,
where the neighborhood is def
Hi,
> I'm just starting with numpy (via scipy) and I'm wanting to perform
> adaptive thresholding
> (http://www.cee.hw.ac.uk/hipr/html/adpthrsh.html) on an image.
> Basically that means that I need to get a threshold for each pixel by
> examining the pixels around it. In numpy this translates to f
Hi,
> I'm just starting with numpy (via scipy) and I'm wanting to perform
> adaptive thresholding
> (http://www.cee.hw.ac.uk/hipr/html/adpthrsh.html) on an image.
> Basically that means that I need to get a threshold for each pixel by
> examining the pixels around it. In numpy this translates to f
I'm just starting with numpy (via scipy) and I'm wanting to perform
adaptive thresholding
(http://www.cee.hw.ac.uk/hipr/html/adpthrsh.html) on an image.
Basically that means that I need to get a threshold for each pixel by
examining the pixels around it. In numpy this translates to finding
the adja