Hi Rick,
Yes you are right. The problem is with the missing +orig in the generated script. After adding the missing part, it works fine.
But I didn't alter the proc script before. I don't know what happened since no matter how many times I have tried, the final script is still the same as the missing one. I need to add the missing part manually.
Besides, is it no problem that I use other's processed fMRI data as the master dataset in 3dresample to get the template ventricle? It seems weird that what if I don't have the available processed data and need to process the new dataset....
Thanks for your reply!
Tracy