External Email - Use Caution        

Hi Ruopeng,

You were correct - for some reason the version I built was 2.0.
I’ve downloaded a built version of freesurfer v7.1.0 and now I can successfully 
use the flag.

Another question if I may: is there a way to toggle the “clear lower”/“clear 
higher” option also from the terminal?

Thank you in advance!
Best regards,
Ricardo

Date: Thu, 18 Jun 2020 13:28:56 +0000
From: "Wang, Ruopeng" <rwa...@mgh.harvard.edu<mailto:rwa...@mgh.harvard.edu>>
Subject: Re: [Freesurfer] Freeview - Load custom overlay from terminal
To: Freesurfer support list 
<freesurfer@nmr.mgh.harvard.edu<mailto:freesurfer@nmr.mgh.harvard.edu>>
Message-ID: 
<fe2c8592-cfc2-41fd-9bb0-b4763ca86...@mgh.harvard.edu<mailto:fe2c8592-cfc2-41fd-9bb0-b4763ca86...@mgh.harvard.edu>>
Content-Type: text/plain; charset="utf-8"

Hi Ricardo,

The way you use the flag is correct. But have you made sure that you were 
actually running the latest version that you built? You can check freeview?s 
build time from About menu.

Best,
Ruopeng

Date: Thu, 18 Jun 2020 08:15:44 +0000
From: "Loucao, Ricardo" <r.lou...@fz-juelich.de<mailto:r.lou...@fz-juelich.de>>
Subject: [Freesurfer] Freeview - Load custom overlay from terminal
To: "freesurfer@nmr.mgh.harvard.edu<mailto:freesurfer@nmr.mgh.harvard.edu>" 
<freesurfer@nmr.mgh.harvard.edu<mailto:freesurfer@nmr.mgh.harvard.edu>>
Message-ID: 
<25d279e0-2256-47b0-b05a-1f470a1b3...@fz-juelich.de<mailto:25d279e0-2256-47b0-b05a-1f470a1b3...@fz-juelich.de>>
Content-Type: text/plain; charset="utf-8"

       External Email - Use Caution

Dear FS experts,

I?m trying to load a surface with a custom overlay directly from the terminal 
using the sub-option ?overlay_custom? but it returns ?Unrecognized sub-option 
flag ?overlay_custom??. I checked the source code on GitHub and found the flag 
to be present and implemented. I also built the freeview app from the GitHub 
(as it could be that my version did not have that sub-option) but I got the 
same return message.

Upon inspecting the code further, I figured the way this flag works is via 
quadruplets of the form ?val, r, g, b?. However, I also noticed that this 
return message comes when the overlay_custom sub-option is empty 
(freeview/MainWindow.cpp: line 3484). It seems to me like I might be using the 
flag improperly. Here?s an example of how I am using it:
?:overlay_custom=0.85,255,0,0,0.875,0,255,255,0.90,0,0,255?

Do you have any hints for me on how to deal with this?

Thank you very much in advance!
Best regards,
Ricardo


------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Volker Rieke
Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

Reply via email to