The color and alpha numbers should be integers from 0 to 255.

Tim


On Mon, Dec 10, 2018 at 6:56 PM Zaixu Cui <cuizaixu19891...@gmail.com>
wrote:

> Hi Tim,
>
> Cool. Thank you so much. It works. I just used the command 'wb_command
> -metric-label-import 120292_lh.func.gii '' 120292_lh.label.gii'.
>
> I set the second parameter as null and the color was created as default.
> Is there an example of the text file of the label-list file. I used the
> file as attachment but failed. Is there any problems with this file?
>
> Thank you so much.
>
> Best wishes
> -
> Zaixu
>
>
>
> On Mon, 10 Dec 2018 at 19:02, Timothy Coalson <tsc...@mst.edu> wrote:
>
>> If you save those vectors of values as .func.gii files (maybe this is how
>> you made the .func.gii files you have?), you can use wb_command
>> -metric-label-import to turn them into .label.gii files:
>>
>>
>> https://www.humanconnectome.org/software/workbench-command/-metric-label-import
>>
>> To get them onto HCP surfaces, see FAQ #9 here:
>>
>>
>> https://wiki.humanconnectome.org/display/PublicData/HCP+Users+FAQ#HCPUsersFAQ-9.HowdoImapdatabetweenFreeSurferandHCP
>> ?
>>
>> Tim
>>
>>
>> On Mon, Dec 10, 2018 at 5:50 PM Zaixu Cui <cuizaixu19891...@gmail.com>
>> wrote:
>>
>>> Hi, developers,
>>>
>>> Thank you so much for developing such a fantastic software. I am trying
>>> to visualize an atlas in FreeSurfer fsaverage5 space, but failed to create
>>> *.label.gii file for my atlas.
>>>
>>> I have successfully converted fsaverage5 template into
>>> *.midthickness.surf.gii and converted my atlas into *.func.gii file. Then,
>>> workbench can display the atlas as a metric map.
>>>
>>> However, I need to display it as an atlas, with each region a different
>>> color. So, I tried to covert the atlas into *.label.gii. My atlas is a
>>> 10242*1 vector for left hemisphere and a 10242*1 vector for right
>>> hemisphere. The values in the atlas range from 1 to 100. I tried a lot, but
>>> failed finally. Is there a manual about how to convert a vector into
>>> *.label.gii file that accepted by workbench?
>>>
>>> Thank you so much.
>>> Best
>>> -
>>> Zaixu Cui, Ph.D.
>>> Postdoc fellow at Department of Psychiatry, Perelman School of Medicine
>>> University of Pennsylvania
>>> E-mail: zaixu...@gmail.com
>>>              zaixu....@pennmedicine.upenn.edu
>>>
>>> _______________________________________________
>>> HCP-Users mailing list
>>> HCP-Users@humanconnectome.org
>>> http://lists.humanconnectome.org/mailman/listinfo/hcp-users
>>>
>>

_______________________________________________
HCP-Users mailing list
HCP-Users@humanconnectome.org
http://lists.humanconnectome.org/mailman/listinfo/hcp-users

Reply via email to