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
name_1 0 0.19203 0.13887 0.69627 1 name_2 1 0.09382 0.5254 0.53034 1 name_3 2 0.86114 0.48485 0.39346 1 name_4 3 0.67143 0.74126 0.52005 1 name_5 4 0.34771 0.15 0.58609 1 name_6 5 0.26215 0.044454 0.75493 1 name_7 6 0.24279 0.4424 0.6878 1 name_8 7 0.35923 0.73634 0.39471 1 name_9 8 0.68342 0.70405 0.44231 1 name_10 9 0.019578 0.33086 0.42431 1 name_11 10 0.27027 0.19705 0.82172 1 name_12 11 0.42992 0.88777 0.39118 1 name_13 12 0.76911 0.39679 0.80851 1 name_14 13 0.75508 0.3774 0.21602 1 name_15 14 0.79041 0.9493 0.32757 1 name_16 16 0.67126 0.43864 0.8335 1 name_17 17 0.76885 0.16725 0.86198 1 name_18 18 0.98987 0.51442 0.88428 1 name_19 19 0.58803 0.15475 0.19986 1 name_20 20 0.40695 0.74871 0.82558 1 name_21 21 0.78996 0.31852 0.53406 1 name_22 22 0.089951 0.11171 0.13629 1 name_23 23 0.67865 0.49518 0.18971 1 name_24 24 0.49501 0.14761 0.054974 1 name_25 26 0.85071 0.56056 0.92961 1 name_26 27 0.69667 0.58279 0.8154 1 name_27 28 0.87901 0.98891 0.00052238 1 name_28 29 0.86544 0.61257 0.98995 1 name_29 30 0.52768 0.47952 0.80135 1 name_30 32 0.22784 0.49809 0.90085 1 name_31 34 0.57466 0.84518 0.73864 1 name_32 35 0.58599 0.24673 0.66642 1 name_33 36 0.083483 0.62596 0.66094 1 name_34 37 0.72975 0.89075 0.9823 1 name_35 38 0.76903 0.58145 0.92831 1 name_36 39 0.58009 0.016983 0.12086 1 name_37 41 0.86271 0.4843 0.84486 1 name_38 42 0.20941 0.55229 0.62988 1 name_39 43 0.031991 0.61471 0.36241 1 name_40 44 0.049533 0.48957 0.19251 1 name_41 45 0.12308 0.20549 0.14651 1 name_42 46 0.18907 0.042652 0.6352 1 name_43 47 0.28187 0.5386 0.69516 1 name_44 48 0.49912 0.5358 0.44518 1 name_45 49 0.12393 0.49036 0.853 1 name_46 50 0.87393 0.27029 0.20846 1 name_47 51 0.56498 0.64031 0.41703 1 name_48 53 0.20598 0.94793 0.082071 1 name_49 54 0.10571 0.14204 0.16646 1 name_50 55 0.62096 0.57371 0.052078 1 name_51 56 0.9312 0.72866 0.73784 1 name_52 57 0.063405 0.86044 0.93441 1 name_53 58 0.9844 0.85894 0.78556 1 name_54 59 0.51338 0.1776 0.39859 1 name_55 60 0.13393 0.03089 0.93914 1 name_56 61 0.30131 0.29553 0.33294 1 name_57 62 0.46707 0.6482 0.025228 1 name_58 63 0.84221 0.55903 0.8541 1 name_59 64 0.34788 0.44603 0.054239 1 name_60 65 0.17711 0.66281 0.33083 1 name_61 66 0.89849 0.11816 0.98842 1 name_62 68 0.53998 0.70692 0.99949 1 name_63 69 0.28785 0.41452 0.46484 1 name_64 71 0.76396 0.8182 0.10022 1 name_65 72 0.17812 0.35963 0.056705 1 name_66 74 0.52189 0.33585 0.17567 1 name_67 75 0.20895 0.90515 0.67539 1 name_68 76 0.46847 0.91213 0.10401 1 name_69 77 0.74555 0.73627 0.56186 1 name_70 78 0.18419 0.59721 0.29994 1 name_71 79 0.13412 0.2126 0.89494 1 name_72 81 0.071453 0.24249 0.053754 1 name_73 82 0.44172 0.013283 0.89719 1 name_74 83 0.19666 0.093371 0.30737 1 name_75 84 0.45606 0.10167 0.99539 1 name_76 86 0.33209 0.29735 0.062045 1 name_77 87 0.29824 0.046351 0.50543 1 name_78 88 0.76143 0.63107 0.089892 1 name_79 90 0.080862 0.77724 0.90513 1 name_80 91 0.53377 0.10915 0.82581 1 name_81 92 0.3381 0.29397 0.74631 1 name_82 93 0.010337 0.048447 0.66792 1 name_83 94 0.60347 0.5261 0.72971 1 name_84 96 0.70725 0.78138 0.28798 1 name_85 97 0.69253 0.55667 0.39652 1 name_86 98 0.061591 0.78018 0.33758 1 name_87 99 0.60787 0.74125 0.10481 1 name_88 100 0.12789 0.54954 0.48523 1