public class ConvertPaletteColorToGrayscale
extends java.lang.Object
A class of static methods to convert PALETTE COLOR to MONOCHROME2 images.
| Constructor and Description |
|---|
ConvertPaletteColorToGrayscale(java.lang.String inputFileName,
java.lang.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.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] arg)
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.
|
public ConvertPaletteColorToGrayscale(java.lang.String inputFileName,
java.lang.String outputFileName)
throws DicomException,
java.io.FileNotFoundException,
java.io.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.
inputFileName - the input file nameoutputFileName - the output file nameDicomExceptionjava.io.FileNotFoundExceptionjava.io.IOException