ChangLabUcsf / img_pipe

Image processing pipeline for ECoG data
59 stars 32 forks source link

Manual Electrode identification #47

Open CenXiang opened 4 months ago

CenXiang commented 4 months ago

In the GUI opened by the electrode_picker.py file called in patient.mark_electrode(), the image quality is not very high, and there are issues with picking electrode contacts. Therefore, I want to switch to manually selecting electrodes in Freeview. Could you please tell me if the coordinates selected here correspond to the RAS coordinates in Freeview or the TkReg RAS (T1)? Also, when loading T1.nii, do I need to check "Resample to Standard RAS space"? Thank you in advance. Here is in the GUI: image Here is in the freeview: Load the orig.mgz and rCT.nii

CenXiang commented 4 months ago

The RAS coordinates in GUI of img_pipe corresponds to the TkReg RAS (T1) in the freeview. It is important to note that in Freeview, the coordinates of TkReg RAS may be reversed or have opposite signs. It is necessary to verify and check the corresponding directions between the original GUI's RAS and this TkReg RAS.

libertyh commented 4 months ago

The RAS coordinates in GUI of img_pipe corresponds to the TkReg RAS (T1) in the freeview. It is important to note that in Freeview, the coordinates of TkReg RAS may be reversed or have opposite signs. It is necessary to verify and check the corresponding directions between the original GUI's RAS and this TkReg RAS.

As you noted, the final coordinates are in surface space - TkReg RAS. If you mark them based on the coordinates from brain.mgz or orig.mgz that should work well and show up in the correct hemisphere.