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

Retain the slice color #219

Open
Haloxxxxx opened this issue Oct 27, 2023 · 1 comment
Open

Retain the slice color #219

Haloxxxxx opened this issue Oct 27, 2023 · 1 comment

Comments

@Haloxxxxx
Copy link

Hi, I have some slices that have color information that I want to keep after the reconstruction and I want to be able to see in slice mode .

tks!
MT-CVH-1459
无标题

@mlavik1
Copy link
Owner

mlavik1 commented Dec 1, 2023

Hi! Sorry for the late reply. I was on holiday in China for some time :)

So if I understand you correctly, this dataset doesn't simply store density values, but also colour values? (is it the Visible Human dataset maybe?).

I currently don't support such datasets, but if the dataset is open feel free to share it here so I or someone else can have a look at that later.

In general, it would require a bit of code to support this:

  • Write an importer for the format (is it a raw format?)
  • Change the "data" array to store RGB values. Also write to an RGB texture.
  • Modify shader to use RGB values.

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