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
On Jun 18, 2020, at 4:15 AM, Loucao, Ricardo r.loucao@fz-juelich.de wrote:
External Email - Use CautionDear 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