dcod2lum(1)
πΈ NAME πΈ
okay bestie, meet dcod2lum(1) β an OFFIS DCMTK command-line program, and its whole personality is Convert hardcopy characteristic curve file to softcopy format π
β¨.
β¨ SYNOPSIS β¨
dcod2lum in-file out-file
π¦ DESCRIPTION π¦
So it's a command line program that converts a hardcopy characteristic curve file to softcopy format. In other words, the measured optical density (OD) values from the input file are transformed to the luminance space according to this exact formula:
L = La + L0 * 10^(-D)
where L is the resulting luminance, La is the reflected ambient light, and L0 is the illumination (both measured in cd/m^2), and D is the optical density (OD). slay. π
heads up, bestie: if no illumination value is specified in the input file (keyword lum), all optical density values are mapped to a constant luminance. that's the rule, no cap.
π PARAMETERS π
in-fileβ the hardcopy characteristic curve file to be converted. input era. πout-fileβ the softcopy characteristic curve file to be written. output glow-up. π«Ά
π NOTES π
The format of both the input file and the output file is described in the documentation of the dcmdspfn command line tool. Also, the data folder contains sample characteristics file monitors, cameras, printers and scanners β all the sample vibes π.
π FILES π
<datadir>/camera.lutβ sample characteristics file of a camera πΈ<datadir>/monitor.lutβ sample characteristics file of a monitor π₯οΈ<datadir>/printer.lutβ sample characteristics file of a printer π¨οΈ<datadir>/scanner.lutβ sample characteristics file of a scanner π§
π SEE ALSO π
dcmdspfn(1)β the related manual, go read it iykyk π
π COPYRIGHT π
Copyright (C) 2002-2026 by OFFIS e.V., Escherweg 2, 26121 Oldenburg, Germany.
and that's the cute little sign-off: Version 3.7.1, dated Sat Oct 17 2026 09:34:01, manual name dcod2lum(1). bye bestie, go convert those curves πβ¨
π¦ where this page comes from
- arch rolling: dcmtk 3.7.1-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms