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 <ericzhangxium...@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 mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Reply via email to