Hello!
I am using 3dUndump to create 1.5mm radius spheres that correspond to intracranial EEG electrode locations. The problem I am encountering is that multiple electrodes are within very close vicinity to one another, and this is resulting in the voxel value of one electrode overwriting the voxel value of another electrode. How can I make sure that every voxel is preserved? Obviously, it would be impossible for a voxel to simultaneously have 2 labels, but is there a way to make any voxel that would overwrite a voxel that has already been labeled, instead output itself into a different NIFTI file? My ultimate goal is to get the nearest node on the standard pial surface that corresponds to every voxel included within every electrode sphere. I already have the code set up for this process, but I am realizing now after the fact that some electrodes are missing due to this problem. Let me know if you have any suggestions!
Thanks