Custom segment colors

60 views
Skip to first unread message

p.musse...@gmail.com

unread,
May 1, 2020, 12:12:32 PM5/1/20
to Neuroglancer
Is it possible to specify colors of a segment? I'm using precomputed://gs://neuroglancer-janelia-flyem-hemibrain/v1.0/segmentation as the source.

Jeremy Maitin-Shepard

unread,
May 1, 2020, 8:01:33 PM5/1/20
to p.musse...@gmail.com, Neuroglancer
There is no UI for it, but you can set the "segmentColors" layer property to an object that maps segment IDs (as base-10 strings) to colors (any CSS color specification will work).

E.g.

      "segmentColors": {
        "885168486": "#ff0000",
        "1073428001": "#008000"
      },

For example:


On Fri, May 1, 2020 at 9:12 AM <p.musse...@gmail.com> wrote:
Is it possible to specify colors of a segment? I'm using precomputed://gs://neuroglancer-janelia-flyem-hemibrain/v1.0/segmentation as the source.

--
You received this message because you are subscribed to the Google Groups "Neuroglancer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neuroglancer...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/neuroglancer/0ef42d7c-f374-42b5-ac64-cf005b2b5142%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages