Package com.pixelmed.apps
Class ConvertNonRGBToRGB
- java.lang.Object
-
- com.pixelmed.apps.ConvertNonRGBToRGB
-
public class ConvertNonRGBToRGB extends java.lang.Object
A class of static methods to convert non-RGB (e.g., YBR_FULL) to RGB true color images.
-
-
Constructor Summary
Constructors Constructor Description ConvertNonRGBToRGB(java.lang.String inputFileName, java.lang.String outputFileName)
Read a DICOM color image input format file and change the photometric interpretation of the the encoded pixel data to RGB.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] arg)
Read a DICOM image input format file with a Photometric Interpretation of non-RGB (e.g., YBR_FULL), and from it create a DICOM image of Photometric Interpretation RGB.
-
-
-
Constructor Detail
-
ConvertNonRGBToRGB
public ConvertNonRGBToRGB(java.lang.String inputFileName, java.lang.String outputFileName) throws DicomException, java.io.FileNotFoundException, java.io.IOException
Read a DICOM color image input format file and change the photometric interpretation of the the encoded pixel data to RGB.
- Parameters:
inputFileName
- the input file nameoutputFileName
- the output file name- Throws:
DicomException
java.io.FileNotFoundException
java.io.IOException
-
-