Code in fo-dicom to apply window width and center on an image #1763
soothingmusic
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using fo-dicom to render images and change the window width and center of the images. All works great.
I have a scenario where i dont have the dicom file and yet, and i need to apply the window width and center.
I have looked at the fo-dicom code and I see that we have Modality LUT class that overrides indexer that transforms the pixel value by applying rescale slope and intercept..
This is then used while rendering the image.
I would like to know where exactly the window width and center are applied?
I would have expected following code somewhere to apply ww/wl..
Where can i find this in fo-dicom code??
Beta Was this translation helpful? Give feedback.
All reactions