Package com.pixelmed.apps
Class ConvertPaletteColorToGrayscale
java.lang.Object
com.pixelmed.apps.ConvertPaletteColorToGrayscale
A class of static methods to convert PALETTE COLOR to MONOCHROME2 images.
-
Constructor Summary
ConstructorsConstructorDescriptionConvertPaletteColorToGrayscale
(String inputFileName, String outputFileName) Read a DICOM image input format file with a Photometric Interpretation of PALETTE COLOR, and from it create a DICOM image of Photometric Interpretation MONOCHROME2. -
Method Summary
-
Constructor Details
-
ConvertPaletteColorToGrayscale
public ConvertPaletteColorToGrayscale(String inputFileName, String outputFileName) throws DicomException, FileNotFoundException, IOException Read a DICOM image input format file with a Photometric Interpretation of PALETTE COLOR, and from it create a DICOM image of Photometric Interpretation MONOCHROME2.
- Parameters:
inputFileName
- the input file nameoutputFileName
- the output file name- Throws:
DicomException
FileNotFoundException
IOException
-
-
Method Details
-
main
Read a DICOM image input format file with a Photometric Interpretation of PALETTE COLOR, and from it create a DICOM image of Photometric Interpretation MONOCHROME2.
- Parameters:
arg
- two parameters, the inputFile, outputFile
-