Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I set different colors depending on the pixel value in the 3D display? #3

Open
hongliang666 opened this issue May 20, 2019 · 2 comments

Comments

@hongliang666
Copy link

When I use the "volumerendering" function, I select the color (such as red) by clicking "miniColors-trigger", and then all the pixels are displayed corresponding shades of red according to the gray value. But I want to display different colors for different pixel values. For example, the pixel value is 100 and the color is red, The pixel value is 200 and the color is blue. Can it be changed like this?Thanks in advance!

@haehn
Copy link
Member

haehn commented Jul 28, 2019

Sure - labelmaps can do that. Does this help: http://jsfiddle.net/gh/get/toolkit/edge/xtk/lessons/tree/master/11/#run ?

@hongliang666
Copy link
Author

But after clicking the "volume rendering", the color disappear

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

No branches or pull requests

2 participants