seungjunlee96 / emergency-triage-of-brain-computed-tomography-via-anomaly-detection-with-a-deep-generative-model

8 stars 2 forks source link

At what HU levels is the dicom data windowed #9

Closed noorfatma closed 1 month ago

noorfatma commented 4 months ago

Hi,

First of all a very commendable work done here in the triage. I have some doubts about the input png demo images. As far as I can see, the png is made by combining three grey level dicoms at different HU levels. Can you pls elaborate at what Hu levels are those at.

Also, it would be helpful if you could elaborate on the preprocessing of dicom data for the custom dataset creation

seungjunlee96 commented 4 months ago

Hi,

The method custom.utils.windowing_brain (Link) involves windowing DICOM images at three specific Hounsfield Unit (HU) levels for brain imaging, aiming to highlight different tissue densities.

Three-Channel Processing: Creates a composite image by adjusting the original DICOM data to three different HU ranges, each assigned to one of the RGB channels:

For custom dataset preparation, images are processed using custom.utils.windowing_brain, resized to 512x512, and then sorted in axial CT slice order using their filename. The processed images are then saved in PNG format for visual assessment and further use.

Furthermore, it requires brain extraction of Brain CT scans using CT_BET. The results of this extraction are saved in NPY format.