[SciPy-user] 2D and 3D moments of an image (Hu, Zernike, ...)

Stefan van der Walt stefan at sun.ac.za
Tue Jan 22 12:24:56 EST 2008


Hi Matthieu

On Tue, Jan 22, 2008 at 09:00:40AM +0100, Matthieu Brucher wrote:
> On a side note, is there an efficient way to compute the cooccurence matrix of
> an array ?

You can find a ctypes implementation at

  http://mentat.za.net/source/greycomatrix.tar.bz2 

This is a translated version of some C++ code I wrote a few years ago,
so please check the results thoroughly (patches are welcome).

Another person you may want to chat to is Zachary Pincus:

  http://public.kitware.com/pipermail/insight-users/2004-June/009190.html

who also hangs around on this list.

Regards
Stéfan



More information about the SciPy-User mailing list