nipy / mindboggle

Automated anatomical brain label/shape analysis software (+ website)
http://mindboggle.info
Other
145 stars 54 forks source link

Implementation of Koehl's method for calculating geometric moments #45

Closed brianthelion closed 10 years ago

brianthelion commented 10 years ago

The current method for calculating Zernike moments depends on first calculating the geometric moments for the mesh. This is the slowest step in the algorithm, by far.

The current implementation depends on a method due to Pozo that is O(N^6). Koehl proposes a recursive method that is O(N^3).

brianthelion commented 10 years ago

I now have the method working and will focus on optimization.

brianthelion commented 10 years ago

Optimization is almost finished. I have reduced per-face computational time at N=20 from 0.20s (Pozo's method) to 0.01s (Koehl's method). Things are coming along nicely.

brianthelion commented 10 years ago

Here are the latest benchmarks for Koehl's method on a standard Mindboggle mesh (~300k faces):

Looking to push tomorrow.