External Email - Use Caution
Dear Freesurfer experts,
I am trying to customize a colour map of my own, with five colours and scale from -12.5 to 12.5, since when using Heat (with default options), the scale is correct but it is shown in only four colours.
However after I created the .lut file (attached below), when loading it into freeview, the colour scale is from 0 to 6.
[image: image.png]
Does this mean I should also include scale information in the .lut file?
Any help would be much appreciated.
Peng Liu
Hi Peng,
Your lookup table only contains indices between 0 to 6. In any case I would not use look up table to display negative scales. Have you tried any other color maps like JET or NIH which has more colors?
Best, Ruopeng
On Apr 6, 2020, at 6:30 AM, Peng Liu claudialiu1120@gmail.com wrote:
External Email - Use CautionDear Freesurfer experts,
I am trying to customize a colour map of my own, with five colours and scale from -12.5 to 12.5, since when using Heat (with default options), the scale is correct but it is shown in only four colours.
However after I created the .lut file (attached below), when loading it into freeview, the colour scale is from 0 to 6.
<image.png>
Does this mean I should also include scale information in the .lut file?
Any help would be much appreciated.
Peng Liu <Map.lut>_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
External Email - Use Caution
Hi Ruopeng,
Thank you for your reply.
I have also tried NIH and JET, but with negative scale, the entire image will turn into one same color as if there is some error.
Meanwhile the reason of me trying to create .lut map is because I want five colours and five colours only...
Is there any specific reason to not display negative scales with look up table? Will it cause any error or jeopardize the results displayed?
Many Thanks
Peng
On Mon, 6 Apr 2020 at 16:13, Ruopeng Wang rpwang@nmr.mgh.harvard.edu wrote:
Hi Peng,
Your lookup table only contains indices between 0 to 6. In any case I would not use look up table to display negative scales. Have you tried any other color maps like JET or NIH which has more colors?
Best, Ruopeng
On Apr 6, 2020, at 6:30 AM, Peng Liu claudialiu1120@gmail.com wrote:
External Email - Use CautionDear Freesurfer experts,
I am trying to customize a colour map of my own, with five colours and scale from -12.5 to 12.5, since when using Heat (with default options), the scale is correct but it is shown in only four colours.
However after I created the .lut file (attached below), when loading it into freeview, the colour scale is from 0 to 6.
<image.png>
Does this mean I should also include scale information in the .lut file?
Any help would be much appreciated.
Peng Liu <Map.lut>_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
I don’t think look up table works with negative indices. It was mainly designed for label volumes.
Ruopeng
On Apr 6, 2020, at 10:35 AM, Peng Liu claudialiu1120@gmail.com wrote:
External Email - Use CautionHi Ruopeng,
Thank you for your reply.
I have also tried NIH and JET, but with negative scale, the entire image will turn into one same color as if there is some error.
Meanwhile the reason of me trying to create .lut map is because I want five colours and five colours only...
Is there any specific reason to not display negative scales with look up table? Will it cause any error or jeopardize the results displayed?
Many Thanks
Peng
On Mon, 6 Apr 2020 at 16:13, Ruopeng Wang <rpwang@nmr.mgh.harvard.edu mailto:rpwang@nmr.mgh.harvard.edu> wrote: Hi Peng,
Your lookup table only contains indices between 0 to 6. In any case I would not use look up table to display negative scales. Have you tried any other color maps like JET or NIH which has more colors?
Best, Ruopeng
On Apr 6, 2020, at 6:30 AM, Peng Liu <claudialiu1120@gmail.com mailto:claudialiu1120@gmail.com> wrote:
External Email - Use CautionDear Freesurfer experts,
I am trying to customize a colour map of my own, with five colours and scale from -12.5 to 12.5, since when using Heat (with default options), the scale is correct but it is shown in only four colours.
However after I created the .lut file (attached below), when loading it into freeview, the colour scale is from 0 to 6.
<image.png>
Does this mean I should also include scale information in the .lut file?
Any help would be much appreciated.
Peng Liu <Map.lut>_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu mailto:Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu mailto:Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
External Email - Use Caution
Thank you so much. I shall modify my other scripts then.
Peng
On Mon, 6 Apr 2020 at 16:59, Ruopeng Wang rpwang@nmr.mgh.harvard.edu wrote:
I don’t think look up table works with negative indices. It was mainly designed for label volumes.
Ruopeng
On Apr 6, 2020, at 10:35 AM, Peng Liu claudialiu1120@gmail.com wrote:
External Email - Use CautionHi Ruopeng,
Thank you for your reply.
I have also tried NIH and JET, but with negative scale, the entire image will turn into one same color as if there is some error.
Meanwhile the reason of me trying to create .lut map is because I want five colours and five colours only...
Is there any specific reason to not display negative scales with look up table? Will it cause any error or jeopardize the results displayed?
Many Thanks
Peng
On Mon, 6 Apr 2020 at 16:13, Ruopeng Wang rpwang@nmr.mgh.harvard.edu wrote:
Hi Peng,
Your lookup table only contains indices between 0 to 6. In any case I would not use look up table to display negative scales. Have you tried any other color maps like JET or NIH which has more colors?
Best, Ruopeng
On Apr 6, 2020, at 6:30 AM, Peng Liu claudialiu1120@gmail.com wrote:
External Email - Use CautionDear Freesurfer experts,
I am trying to customize a colour map of my own, with five colours and scale from -12.5 to 12.5, since when using Heat (with default options), the scale is correct but it is shown in only four colours.
However after I created the .lut file (attached below), when loading it into freeview, the colour scale is from 0 to 6.
<image.png>
Does this mean I should also include scale information in the .lut file?
Any help would be much appreciated.
Peng Liu <Map.lut>_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu