Is it possible to set custom colors for annotated brain regions when accessing an atlas brain image via the API?

Hello,

I can download an Atlas image with annotations. For example, this one is from the 2017 P56 Mouse brain:

http://api.brain-map.org/api/v2/atlas_image_download/576988729?downsample=3&annotation=true

My quesion is: Can I, via the API (or if not, by any other method) choose the colors that the different brain regions will be rendered?

In the example image, the VlSp, VlSpl and VLSpor regions of the cortex are all rendered in a dark green. I’d like to be able to have those rendered in different colors.

Thanks!

Seb James

Hi Seb,

Those images are pre-rendered so colors cannot be changed.

Thanks for the clarification Lydia. I can post-edit the images to change the colors manually - that will work (it’ll be tedious, but I’ll only have to do it once).

From the API, you can download SVG where you can change code by code. However, the text layer is only the pre-rendered images.

Ah, that’s a good idea. I have some code to modify .svg files already, so that could be quite easy.