vistalab / vistasoft

VISTASOFT is the main software repository of the VISTA lab at Stanford University.
http://vistalab.stanford.edu
148 stars 141 forks source link

Orientation of INPLANE image in mrSESSION MATLAB 2017 #294

Closed soanduong closed 6 years ago

soanduong commented 6 years ago

Dear experts,

Do you know how to set up the orientation (as the ILP) of the INPLANE image in MATLAB2017? I created a mrSESSION, with the orientation of the functional image as LSP, by using the mrInit() function (with the newest version of vistasoft, downloaded on 15/5/2018). I studied the mrInitfunction and found that it calls the niftiCreateStringInplane() function to determine the orientation of the INPLANE image. And with the input of LSP, the niftiCreateStringInplane() function always returns a SRP orientation, which I do not want. I would like to fix the orientation of the INPLANE images as ILP. Do you have any idea about that problem? Any help you have to offer would be greatly appreciated.

Best, Soan

JWinawer commented 6 years ago

Hi Soan,

When vistasoft opens an inplane, it re-orients it but does not overwrite or save any changes. The re-orientation is just for viewing. Currently, there is no setting I am aware of to change the orientation of the display. You could alter the code,

niftiCreateXform, and that might do it for you.

-Jon

On Sun, May 27, 2018 at 6:12 AM, duongs notifications@github.com wrote:

Dear experts,

Do you know how to set up the orientation (as the ILP) of the INPLANE image in MATLAB2017? I created a mrSESSION, with the orientation of the functional image as LSP, by using the mrInit() function (with the newest version of vistasoft, downloaded on 15/5/2018). I studied the mrInitfunction and found that it calls the niftiCreateStringInplane() function to determine the orientation of the INPLANE image. And with the input of LSP, the niftiCreateStringInplane() function always returns a SRP orientation, which I do not want. I would like to fix the orientation of the INPLANE images as ILP. Do you have any idea about that problem? Any help you have to offer would be greatly appreciated.

Best, Soan

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/vistalab/vistasoft/issues/294, or mute the thread https://github.com/notifications/unsubscribe-auth/ACBX3oygrDMnTLw1aagh-zboZ1N3RzXbks5t2nwFgaJpZM4UPOM1 .

-- Jonathan Winawer Assistant Professor of Psychology and Neural Science

New York University 6 Washington Place New York, NY, 10003 (212) 998-7922 (phone) (212) 995-4018 (fax) jonathan.winawer@nyu.edu http://psych.nyu.edu/winawer/

JWinawer commented 6 years ago

Closing... (Pls re-open if you would like to discuss this further)