com.pixelmed.apps
Class ConvertNonRGBToRGB

java.lang.Object
  extended by com.pixelmed.apps.ConvertNonRGBToRGB

public class ConvertNonRGBToRGB
extends Object

A class of static methods to convert non-RGB (e.g., YBR_FULL) to RGB true color images.


Constructor Summary
ConvertNonRGBToRGB(String inputFileName, 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
static void main(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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConvertNonRGBToRGB

public ConvertNonRGBToRGB(String inputFileName,
                          String outputFileName)
                   throws DicomException,
                          FileNotFoundException,
                          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 name
outputFileName - the output file name
Throws:
DicomException
FileNotFoundException
IOException
Method Detail

main

public static void main(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.

Parameters:
arg - two parameters, the inputFile, outputFile