nipy / mindboggle

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

How to reconstruct the shape form Zernike moments extracted from the original shape #167

Closed valorv closed 5 years ago

valorv commented 5 years ago

Nice work,It really help. I have extracted the Zernike moments from my labeled data using your code.now I want to reconstruction my data,what should I do ? thank you !

binarybottle commented 5 years ago

Zernike moments are computed per region, not per vertex, so you would need to assign a different scalar value (corresponding to the moments) to each region's vertices.

You can assign these values to Mindboggle's shapes/vertex.csv tabular output, and you have a Zernike value for each vertex, or you can set color values to a colormap corresponding to the moments -- see Mindboggle's plot functions: https://mindboggle.readthedocs.io/en/latest/api/mindboggle.mio.html#module-mindboggle.mio.plots