Acr/nema dicom ps3 ... dicom ps3 - convert rgb to grayscale file
dcunrgb infile outfile
dcunrgb reads the named dicom input file that has 3 sample per pixel 8 bit per component RGB pixel data, and copies the header information and pixel data converted to a single channel 8 bit grayscale MONOCHROME2 to a new dicom file, in the explicit VR little endian uncompressed transfer syntax with a meta information header prepended.
The verbose output goes to standard error.
There are no options.
dcunjpeg(1)
Copyright (c) 1993-2014, David A. Clunie DBA PixelMed Publishing. All rights reserved.
Requires that netpbm utilities, and in particular ppmtopgm, are installed and in the PATH.