Euler characteristic

Compute euler characteristic of the cubical complex representation of a volumetric binary object.