DCUNRGB(1)
π DCUNRGB(1) β DICOM PS3 Β· Convert RGB to grayscale file
okay bestie, gather round, because this little icon of a tool is about to turn your rainbow pixels into β¨monochromeβ¨ and honestly? it ate.
β¨ NAME β¨
dcunrgb β ACR/NEMA DICOM PS3 ... DICOM PS3 β Convert RGB to grayscale file π¦
πΈ SYNOPSIS πΈ
dcunrgb infile outfile
π DESCRIPTION π
so here's the vibe: dcunrgb reads the dicom input file you named (that's infile), and that file has 3 samples per pixel, 8 bit per component RGB pixel data. got it? cute. π
then it takes that header information, plus the pixel data converted to a single channel 8 bit grayscale MONOCHROME2, and copies the whole thing into a brand new dicom file (that's outfile, bestie π«Ά).
and it does all that in the explicit VR little endian uncompressed transfer syntax, with a meta information header prepended. no cap, that's the whole deal. π
π OPTIONS π
the verbose output goes to standard error.
not me having literally zero options π
There are no options.
π§ ENVIRONMENT π§
nothing here, babe. it's giving empty. π
π EXAMPLES π
also empty. iconic of it honestly. β
π FILES π
nope, nothing listed here either. β¨
π SEE ALSO π
dcunjpeg(1)
π AUTHOR π
Copyright (c) 1993-2022, David A. Clunie DBA PixelMet Publishing. All rights reserved.
(the original says PixelMet β yes we know, we keep it exact, don't come for me π)
π BUGS π
β οΈ bestie, listen, this one's important β οΈ
it requires that netpbm utilities, and in particular ppmtopgm, are installed and in the PATH. no ppmtopgm, no grayscale, no slay. π
that's the whole page, fr fr. go convert something. π¦
DICOM PS3 β 13 January 2011 β signing off, DCUNRGB(1) out π
β¨
π¦ where this page comes from
- debian bookworm: dicom3tools 1.00~20220618093127-2 Β· BSD-3-Clause
- debian trixie: dicom3tools 1.00~20240118131615-1 Β· BSD-3-Clause
- ubuntu noble: dicom3tools 1.00~20240118131615-1 Β· BSD-3-Clause
- ubuntu resolute: dicom3tools 1.00~20240118131615-1 Β· BSD-3-Clause
- ubuntu stonking: dicom3tools 1.00~20240118131615-2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms