luispedro/mahotas — pull request #22 by langner (2012-11-01 14:56:34+00:00)
Title: Make mode an optional parameter in Euler characteristic calculation

I need to calculate the Euler characteristic with periodic boundary conditions, which works very nicely with 'wrap' mode.

BTW, I implemented an earlier algorithm for the characteristic (described in http://dx.doi.org/10.1016/S0010-4655(00)00139-9) and it happily gives the same answer as mahotas. But, mahotas is so much faster.