I'd like to convert a set of DICOM instances (CT, MR, X-Ray basically) to JPEG (regular 8bits lossy grayscale). I have been starring at the options from dcmj2pnm:
I am quite confident that --use-window 1
is the right option when the input DICOM instance provide a single value for (0028,1050) Window Center & (0028,1051) Window Width. What I fail to understand is what is the "right" option to choose from (when WC/WW is missing):
--min-max-window
,--min-max-window-n
(what doesextreme values
mean ?),--histogram-window 5
(found ref here)
Are there any good rule of thumb when processing DICOM CT (Pixel Padding Value) images ? MR images ? X-Ray images ?