public class ConvertPlanarConfiguration extends Object
A class of static methods to convert the planar configuration of a multiple samples per pixel image, i.e., to change color-by-plane to color-by-pixel or vice versa.
| Constructor and Description |
|---|
ConvertPlanarConfiguration(String inputFileName,
String outputFileName)
Read a DICOM color image input format file and change the planar configuration of the encoded pixel data.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] arg)
Read a DICOM color image input format file and change the planar configuration of the encoded pixel data.
|
public ConvertPlanarConfiguration(String inputFileName, String outputFileName) throws DicomException, FileNotFoundException, IOException
Read a DICOM color image input format file and change the planar configuration of the encoded pixel data.
inputFileName - the input file nameoutputFileName - the output file nameDicomExceptionFileNotFoundExceptionIOExceptionpublic static void main(String[] arg)
Read a DICOM color image input format file and change the planar configuration of the encoded pixel data.
arg - two parameters, the inputFile, outputFile