Closed jadh4v closed 2 months ago
@floryst @jun-sironamedical Please review.
@jadh4v looks good to me, seems pretty straight forward. Might have questions when I try to implement though, but this PR looks good.
LGTM after Daniel's comment is addressed!
:tada: This PR is included in version 2.0.0-beta.18 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Add sliders and
VolumeRepresentation
property values for adjusting the data range applicable for the grayscale colormap. This effectively has the resulting behavior of Window/Level adjustment.I have verified that, in the fragment shader, the color transfer function is indeed applied after the raw voxel values are projected to the viewport. Therefore, using
colorDataRange
as a way to apply window/level adjustment for a MIP view is appropriate.https://github.com/user-attachments/assets/84faca29-cd84-4c55-a2b1-594494e12185