Brainshift Correction Methods


The iELVis toolbox currently supports two methods for correcting subdural electrode locations for postimplant brainshift (Dykstra et al., 2011; Yang, Wang, et al., 2011). Both methods project the postimplant locations to the preimplant FreeSurfer dural (i.e., smoothed pial) surface but they do this in slightly different ways. This page summarizes those differences and provides some additional details on how to use the algorithms in practice.

 

A. The Dykstra et al. Method

This method (illustrated in the figure below) projects each subdural electrode to the dural surface using an iterative optimization algorithm that attempts to minimize the change in each electrode's location and the distance between it and its four closest neighbors. This function also has the option to simply assign each subdural electrode to the nearest vertex on the dural surface in case the optimization performs poorly.

(A) The preoperative MRI is coregistered with the postoperative CT volume. The lower panel shows the maximal intensity projection of the CT volume in the sagittal dimension, which shows all the electrodes in a sagittal plane. (B) Due to the parenchymal shift from the implant procedure, some electrodes initially appear as though buried in the gray matter. To correct for this, each electrode coordinate is projected first to a smoothed pial surface (effectively a dural surface) and subsequently back to the pial surface.

 

When the optimization procedure runs the diagnostic plot below is produced:

?? Andy can you explain what each plot means here.

 

 

B. The Yang, Wang et al. Method

 

Complete procedure for localization of grids from pre- and post-implant MR images. Post-implant MR image (B) is co-registered to the pre-implant MR image (A) using a rigid-body transformation. Widespread artifacts referred to as “black holes” surround each electrode of the dense grid, prohibiting unambiguous identification of all electrodes. Therefore, the co-registered image (D) is used to manually determine the xyz coordinates of two electrodes that are easily identifiable (yellow lines guide this procedure on simultaneous sagittal, axial, and coronal sections). These coordinates are in the same space as the smoothed pial surface reconstruction (C). The remaining electrodes are interpolated on a flat surface traversing the pial surface, referred to as the map plane (E). The two manually-localized electrodes on diagonal corners (blue) are on the cortical surface while the remaining electrodes (black) are either above or below the surface. Note that the entire lateral surface of the cortical hemisphere is shown here for illustrative purposes. The coordinates of the remaining electrodes are calculated using the inverse of the gnomonic projection to “fold” the grid onto the smoothed pial surface. Visualization is made on the subject-specific gyral surface (F). From Yang, Wang, et al. (2011).

 

 

Note a couple of particulars of Xiuyan Wang's Matlab code that implements his method: 

 

REFERENCES

 

Dykstra, A. R., Chan, A. M., Quinn, B. T., Zepeda, R., Keller, C. J., Cormier, J., et al. (2011). Individualized localization and cortical surface-based registration of intracranial electrodes. NeuroImage, 1–42. doi:10.1016/j.neuroimage.2011.11.046

 

Yang, A. I., Wang, X., Doyle, W. K., Halgren, E., Carlson, C., Belcher, T. L., et al. (2012). Localization of dense intracranial electrode arrays using magnetic resonance imaging. NeuroImage, 63(1), 157–165. doi:10.1016/j.neuroimage.2012.06.039