From: Alan G I. <ai...@am...> - 2006-06-10 13:40:49
|
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 defined by relative coordinates, is useful other places too. (E.g., agent based modeling. Here the output should be a new array of the same dimension with each element replaced by the value of the function on the neighborhood.) I am also interested in learning how people handle this. Cheers, Alan Isaac |