public class ExtractCompressedFrameData extends Object
A class of static methods to read a DICOM image and extract the compressed bit stream of a selected frame.
| Constructor and Description |
|---|
ExtractCompressedFrameData(String inputFileName,
String outputFileName,
int frameNumber)
Read a DICOM image and extract the compressed bit stream of a selected frame.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] arg)
Read a DICOM image and extract the compressed bit stream of a selected frame.
|
public ExtractCompressedFrameData(String inputFileName, String outputFileName, int frameNumber) throws DicomException, FileNotFoundException, IOException
Read a DICOM image and extract the compressed bit stream of a selected frame.
inputFileName - the input file nameoutputFileName - the output file nameframeNumber - from zeroDicomExceptionFileNotFoundExceptionIOExceptionpublic static void main(String[] arg)
Read a DICOM image and extract the compressed bit stream of a selected frame.
arg - three parameters, the inputFile, outputFile, the selected frame (numbered from 0)