Hi Jason,
Attached is some code that will do what you want. It was written for someone else who wanted to do the same thing. They were using single file nifti (nii) images. If you use img/hdr pairs please let me know and I can send you one appropriate for that. Call it by:
greaterThanYNii('roi.nii','new_roi.nii')
Ben Wagner
ANSIR Lab
-----Original Message-----
From: SPM (Statistical Parametric Mapping) [mailto:[log in to unmask]] On Behalf Of Jason Smucny
Sent: Monday, May 07, 2012 5:30 PM
To: [log in to unmask]
Subject: [SPM] Creating ROIs from WFU Pickatlas
Dear SPM Community,
I am trying to make ROIs using the WFU Pickatlas tool. However, I would like to restrict these ROIs to only parts of the regions outlined by WFU Pickatlas (for example, using the SMA ROI in WFU pickatlas, but only for y>0). Does anyone know how edit ROIs in this fashion? Thank you very much for your help.
Regards
Jason Smucny
|