DCM--window center/width via command line

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Posts: 1
Joined: 2016-06-02T09:30:13-07:00
Authentication code: 1151

DCM--window center/width via command line

Post by floerhomology »

This is a very simple but commonly needed feature request regarding coders/dcm.c. Could you please add an option for taking the window center/width values from the command line. In many medical applications one has to change the window center/width values according to the scales used by medical professionals. In such cases, using "dcm:display-range=reset" together with "-level black_pt,white_pt" is not an option for two reasons: 1) the medical professional gives black_pt & white_pt values on the original dcm scale and 2) there will be a loss of precision if one tries to incorporate some scaling coefficient type of thing. Thank you!

Posts: 26
Joined: 2011-04-26T05:14:01-07:00
Authentication code: 8675308

Re: DCM--window center/width via command line

Post by jcupitt »

Hello, this change is being discussed here:


If you'd like to follow progress or suggest improvements or do some coding.