OS Manuals

/usr/bin/dcmmklut

DCMTK is a collection of libraries and applications implementing large parts the DICOM standard.

From dcmtk 3.7.1-r0 (os), captured 2026-11-05 by running dcmmklut --help (exit 0). permalink

$dcmtk: dcmmklut v3.7.1 2026-10-15 $

dcmmklut: Create DICOM look-up tables
usage: dcmmklut [options] dcmimg-out

parameters:
  dcmimg-out             DICOM output filename ("-" for stdout)

general options:
  -h     --help          print this help text and exit
         --version       print version information and exit
         --arguments     print expanded command line arguments
  -q     --quiet         quiet mode, print no warnings and errors
  -v     --verbose       verbose mode, print processing details
  -d     --debug         debug mode, print debug information
  -ll    --log-level     [l]evel: string constant
                         (fatal, error, warn, info, debug, trace)
                         use level l for the logger
  -lc    --log-config    [f]ilename: string
                         use config file f for the logger
LUT creation options:
  LUT type:
    +Tm  --modality      create as Modality LUT
    +Tp  --presentation  create as Presentation LUT
    +Tv  --voi           create as VOI LUT (default)
  LUT placement:
    +Pa  --add           add to existing transform
                         (default for and only with --voi)
    +Pr  --replace       replace existing transform
                         (default for --modality and --presentation)
  LUT content:
    +Cg  --gamma         [g]amma: float
                         use gamma value (default: 1.0)
    +Cm  --map-file      [f]ilename: string
                         read input data from MAP file
    +Ct  --text-file     [f]ilename: string
                         read input data from text file
  LUT options:
    +Og  --inverse-gsdf  apply inverse GSDF (print presentation LUT in OD)
         --min-density   [v]alue: integer (0..65535, default: 20)
                         set min density to v (in hundreds of OD)
         --max-density   [v]alue: integer (0..65535, default: 300)
                         set max density to v (in hundreds of OD)
    +Oi  --illumination  [v]alue: integer (0..65535, default: 2000)
                         set illumination to v (in cd/m^2)
    +Or  --reflection    [v]alue: integer (0..65535, default: 10)
                         set reflected ambient light to v (in cd/m^2)
  LUT structure:
    -b   --bits          [n]umber: integer
                         create LUT with n bit values (8..16, default: 16)
    -e   --entries       [n]umber: integer
                         create LUT with n entries (1..65536, default: 256)
    -f   --first-mapped  [n]umber: integer
                         first input value mapped (-31768..65535, default: 0)
    -r   --random        [n]umber: unsigned integer
                         perform n randomly selected permutations on the LUT
    -rs  --random-seed   [n]umber: unsigned integer
                         initialize the random-number generator with n
                         (default: 0, for reproducible results)
    -o   --order         [n]umber: integer
                         use polynomial curve fitting algorithm with order n
                         (0..99, default: 5)
    -E   --explanation   [n]ame: string
                         LUT explanation (default: automatically created)
  LUT data alignment:
    -a   --byte-align    create byte-aligned LUT
                         (default for and only with 8 bit values)
    +a   --word-align    create word-aligned LUT
                         (default for 9-16 bit values)
  LUT data VR:
    +Dw  --data-ow       write LUT Data as OW (default)
    +Du  --data-us       write LUT Data as US
    +Ds  --data-ss       write LUT Data as SS (minimal support)
file options:
  +Fi    --dicom-input   [f]ilename: string
                         read dataset from DICOM file f
  +Fo    --text-output   [f]ilename: string
                         write LUT data to tabbed text file f
Options (18)
OptionDescriptionSource
-h--help print this help text and exithelp
--versionprint version information and exithelp
--argumentsprint expanded command line argumentshelp
-q--quiet quiet mode, print no warnings and errorshelp
-v--verbose verbose mode, print processing detailshelp
-d--debug debug mode, print debug informationhelp
-ll--log-level [l]evel: string constant (fatal, error, warn, info, debug, trace) use level l for the loggerhelp
-lc--log-config [f]ilename: string use config file f for the loggerhelp
--min-density[v]alue: integer (0..65535, default: 20) set min density to v (in hundreds of OD)help
--max-density[v]alue: integer (0..65535, default: 300) set max density to v (in hundreds of OD)help
-b--bits [n]umber: integer create LUT with n bit values (8..16, default: 16)help
-e--entries [n]umber: integer create LUT with n entries (1..65536, default: 256)help
-f--first-mapped [n]umber: integer first input value mapped (-31768..65535, default: 0)help
-r--random [n]umber: unsigned integer perform n randomly selected permutations on the LUThelp
-rs--random-seed [n]umber: unsigned integer initialize the random-number generator with n (default: 0, for reproducible results)help
-o--order [n]umber: integer use polynomial curve fitting algorithm with order n (0..99, default: 5)help
-E--explanation [n]ame: string LUT explanation (default: automatically created)help
-a--byte-align create byte-aligned LUT (default for and only with 8 bit values)help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.