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

Stefan van der Walt stefan@sun.ac...
Tue Jan 22 11:24:56 CST 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


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:


who also hangs around on this list.


More information about the SciPy-user mailing list