So to summarize, there is a two-layered lookup going on:
* In the paint file itself, after the true header, before the
vertex:paint-index lookup, there's a paint-index to paint-name lookup,
e.g.:
1 SUL
2 GYRAL
3 SUL.CeS
4 SUL.SF
* In the area color file, there is a lookup from paint-name to color, e.g.:
SUL 125 125 125
GYRAL 255 255 255
SUL.CeS 0 255 255
SUL.SF 0 125 255
Sounds like you've got it figured out, but for others' benefit...
> I should have been more clear that I was asking about the numbers in the
> paint color's *names, *not the numbers of the paint colors themselves (RGB
> triplets).
>
> I wanted to verify if the Caret-assigned color name ("Unknown_name_#") was
> related to the value defining the ROI identified by that color name. I was
> mostly worried because I couldn't find documentation to verify that it was
> a correct assumption, but I've checked by using a single ROI (for example,
> defined by the 3's in a brain of 0's) and the assigned color name came out
> to be "Unknown_name_3".
>
> Thanks for responding, Donna!
>
> On Mon, Aug 20, 2012 at 5:11 PM, Donna Dierker
> <[email protected]>wrote:
>
>> Sorry, I misunderstood: I think you want the area color file. You
>> might
>> consider writing that out in ASCII as well. But it will be RGB triplets
>> --
>> not names.
>>
>>
>> http://brainvis.wustl.edu/CaretHelpAccount/caret5_help/file_formats/file_formats.html#areaColor
>>
>> > Area Color File
>> >
>> > The red, green, and blue components are specified in the integer range
>> 0
>> - 255. The area color file consists of:
>> > color-name-1 red green blue
>> > color-name-2 red green blue
>> > ...
>> > EXAMPLE:
>> > ---------
>> > SULCUS 150 150 150
>> > GYRAL 220 220 220
>> > LOBE.OCCIPITAL 255 200 200
>> >
>>
>>
>>
>> On Aug 20, 2012, at 3:59 PM, Megan Wang wrote:
>>
>> > Thanks Donna, I saved the ASCII .paint file- The first column contains
>> numbered ROIs, the second column contains paint names, which are all
>> "Unknown_name_(integer number)". However, it doesn't say what paint name
>> corresponds to what value defining that ROI. (such as, all regions with
>> value 4.0 are painted Color_green.) I do realize I could separate them
>> and
>> plot them individually, but I wanted to know if it could be done all at
>> once. Are the numbers in the "Unknown_name_#" paint colors derived from
>> the
>> values of the ROIs they paint? As in, an ROI defined by the value of 4
>> was
>> painted with the color "Unknown_name_4"?
>> >
>> > On Mon, Aug 20, 2012 at 3:19 PM, Donna Dierker
>> <[email protected]>
>> wrote:
>> > First, the ifh has a lookup table, but you have to add or subtract 2.
>> >
>> > If you save the paint file as ASCII, there is a paint index to name
>> lookup near the top (and you don't have to add or subtract 2 to that
>> one).
>> >
>> >
>> > On Aug 20, 2012, at 1:07 PM, Megan Wang wrote:
>> >
>> > > Hello all,
>> > >
>> > > I have a .4dfp file containing ROIs. Each ROI has a different
>> integer
>> value. When I map it with Paint (ROI) to a fiducial surface and
>> "Generate
>> colors for paints without colors," I can see my ROIs on the brain very
>> nicely. Is there a way to find the value in an ROI? I've been using the
>> Paint Color Key's color names but I am not sure if that's correct. I
>> thought there was a way to find out the value using Identify Window (as
>> in
>> click a node within the ROI and get the values in the ROI).
>> > >
>> > > Thanks,
>> > > Megan
>> > > _______________________________________________
>> > > caret-users mailing list
>> > > [email protected]
>> > > http://brainvis.wustl.edu/mailman/listinfo/caret-users
>> >
>> >
>> > _______________________________________________
>> > caret-users mailing list
>> > [email protected]
>> > http://brainvis.wustl.edu/mailman/listinfo/caret-users
>> >
>> > _______________________________________________
>> > caret-users mailing list
>> > [email protected]
>> > http://brainvis.wustl.edu/mailman/listinfo/caret-users
>>
>>
>> _______________________________________________
>> caret-users mailing list
>> [email protected]
>> http://brainvis.wustl.edu/mailman/listinfo/caret-users
>>
> _______________________________________________
> caret-users mailing list
> [email protected]
> http://brainvis.wustl.edu/mailman/listinfo/caret-users
>
_______________________________________________
caret-users mailing list
[email protected]
http://brainvis.wustl.edu/mailman/listinfo/caret-users