AIM-Harvard / pyradiomics

Open-source python package for the extraction of Radiomics features from 2D and 3D images and binary masks. Support: https://discourse.slicer.org/c/community/radiomics
http://pyradiomics.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
1.14k stars 492 forks source link

Image window question #744

Closed codeenthusiast closed 2 years ago

codeenthusiast commented 2 years ago

Hi there, I have an image in .mrb format (contains all the orientations). When I open it in 3D slicer, I can visualize the image in the soft tissue window. I then want to export a specific orientation with its segmentation as a .nrrd.

However, when I reopen the file in 3D slicer, it is in a bony window. However, I was wondering does the window level matter when it is put through PyRadiomics? Or does the algorithm consider all window levels when performing feature extraction.

Thank you!

JoostJM commented 2 years ago

Window/Level only affects how the gray values in the image are displayed. There is no effect on the values themselves. PyRadiomics works with those underlying gray values and is therefore unaffected by window/level.

codeenthusiast commented 2 years ago

Great, thanks so much for the clarification.