neurolabusc / surfice_atlas

Convert NIfTI-format atlases to Surface MZ3 meshes
BSD 2-Clause "Simplified" License
8 stars 4 forks source link

Specify the atlas mesh's color for each ROI #1

Open anbai106 opened 3 years ago

anbai106 commented 3 years ago

Hi,

Thank you for this contribution. I am able to create an atlas having 20 ROIs, but wonder how can I choose the colors for each ROI. I put it into the atlas folder under surfice. I assume that we can put some .lut file to specify the colors? I only see .txt file to specify each ROI's label and name.

Thank you for your help

neurolabusc commented 3 years ago

By default, this Matlab script assigns random colors to each region. I have updated the code and documentation to describe how you can provide a custom ImageJ Color Lookup Table. You can edit the new writeLut.m script to define unique color schemes.