DCUNRGB(1)

πŸ“¦
version 1.00~20240118131615 Β· 2 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’… 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 πŸ’…βœ¨