Skip to content

Conversation

@rstones
Copy link

@rstones rstones commented Mar 30, 2017

I added functionality to attach a user-defined color map function (pixel value to rgba) to a labelmap for 2D rendering.

rstones added 8 commits March 4, 2017 12:09
…p of X.Volume which can be used to draw the labelmap rather than using a color table file. The colormap is used in X.parser.reslice2 and X.renderer2D.prototype.render_. Not currently tried with the 3D renderer.
… function to X.object to define a colormap function. Tested manually but still need to write some tests.
@haehn
Copy link
Member

haehn commented Mar 1, 2018

That's pretty cool - do you have an example online?

@rstones
Copy link
Author

rstones commented Mar 1, 2018

Hi, the project I'm using it with isn't live yet but I'll put a working example up some time this week to show it in action.

@hongliang666
Copy link

@rstones Have you tried with the 3D renderer? I just want to add the function for 3D rendering

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants