innolitics / freesurfer

The official FreeSurfer repository maintained by LCN
Other
1 stars 2 forks source link

Mutual Information Cost and Gradient Calculator #12

Closed yujanshrestha closed 6 years ago

yujanshrestha commented 6 years ago

Given an image and priors calculate the mutual information cost and gradient. Use numpy's histogram instead of rolling our own.

Return a cost (single float) as well as a gradient (vector of size N x 3 where N is the number of nodes in the mesh and 3 is dx, dy, and dz for each node.

yujanshrestha commented 6 years ago

Map step: For a given tetrahedra calculate a cost and gradient per vertex. Reduce step: Combine above with simple addition