Dear FreeSurfer experts,
I understand that
freeview -v brain.nii.gz -ss screenshot
takes the screenshots and quits the freeview.
Regarding this, I have the following two questions.
(1) Is it possible to suppress the redundant GUI flashing?
It is really a pain when many images are batch-processed, because the GUI keeps flashing up and closing.
(2) Is it possible to take multiple screenshots with one session?
I wish to screenshot multiple slices of one image. I have tried
freeview -v brain.nii.gz\ -viewport sagittal -slice 80 127 127 -ss sag1 \ -viewport sagittal -slice 127 127 127 -ss sag2 \ -viewport sagittal -slice 156 127 127 -ss sag3 \
However, the session ends right after the first -ss, producing only one screenshot (sag1.png). I can surely do freeview -v brain.nii.gz 3 times to get these 3 screenshots, but that is very inefficient.
Thank you very much for your help in advance!
Best regards, Xiuming ZHANG (Eric)
Xiuming ZHANG (Mr.) :: Department of Electrical & Computer Engineering (ECE) :: National University of Singapore (NUS)
There is no direct way. But you can try this workaround:
Write all the screenshot command in a text file, line by line like this:
-v brain.nii -viewport sagittal -slice 80 127 127 -ss sag1 -noquit -viewport sagittal -slice 127 127 127 -ss sag2 -noquit …
Then run this command:
freeview -cmd cmd.txt
Ruopeng
On Sep 18, 2014, at 5:38 AM, Eric Xiuming ZHANG ericzhangxiuming@gmail.com wrote:
Dear FreeSurfer experts,
I understand that
freeview -v brain.nii.gz -ss screenshot
takes the screenshots and quits the freeview.
Regarding this, I have the following two questions.
(1) Is it possible to suppress the redundant GUI flashing?
It is really a pain when many images are batch-processed, because the GUI keeps flashing up and closing.
(2) Is it possible to take multiple screenshots with one session?
I wish to screenshot multiple slices of one image. I have tried
freeview -v brain.nii.gz\ -viewport sagittal -slice 80 127 127 -ss sag1 \ -viewport sagittal -slice 127 127 127 -ss sag2 \ -viewport sagittal -slice 156 127 127 -ss sag3 \
However, the session ends right after the first -ss, producing only one screenshot (sag1.png). I can surely do freeview -v brain.nii.gz 3 times to get these 3 screenshots, but that is very inefficient.
Thank you very much for your help in advance!
Best regards, Xiuming ZHANG (Eric)
Xiuming ZHANG (Mr.) :: Department of Electrical & Computer Engineering (ECE) :: National University of Singapore (NUS) _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu