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

Please help with volume rendering preset #167

Open
gzt036 opened this issue May 25, 2022 · 1 comment
Open

Please help with volume rendering preset #167

gzt036 opened this issue May 25, 2022 · 1 comment

Comments

@gzt036
Copy link

gzt036 commented May 25, 2022

In presets.js it has a collection of parameters to be used in creating a CT 3D actor by calling
applyPreset(actor, preset);

The question I have is How to adjust these parameters to make a proper 3D volume rendering. For example, the CT-Bone preset below will pick up Bone pixels and show it in red-orange color and semi transparent way. I would like to be able to disable the transparency and show it in a more nature color (e.g,. yellow or gray). How should I change the preset?
{
name: 'CT-Bone',
gradientOpacity: '4 0 1 255 1',
specularPower: '10',
scalarOpacity: '8 -3024 0 -16.4458 0 641.385 0.715686 3071 0.705882',
id: 'vtkMRMLVolumePropertyNode3',
specular: '0.2',
shade: '1',
ambient: '0.1',
colorTransfer:
'16 -3024 0 0 0 -16.4458 0.729412 0.254902 0.301961 641.385 0.905882 0.815686 0.552941 3071 1 1 1',
selectable: 'true',
diffuse: '0.9',
interpolation: '1',
effectiveRange: '-16.4458 641.385',
}

Is there any place explain these parameters and how it should be defined?

@FMCalisto
Copy link

Did you solve this issue?

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