public class KeepOnlyImagePixelModule
extends java.lang.Object
A class of static methods to copy a DICOM image and retain only enough to describe pixels.
Retains the Pixel Data Module and whatever else is barely enough to describe the image (Number of Frames, SOP Class and Instance UIDs).
Modifier and Type | Field and Description |
---|---|
protected static AttributeTag[] |
relevantGeneralSeriesModuleAttributeTags |
protected static AttributeTag[] |
relevantImagePixelModuleAttributeTags |
protected static AttributeTag[][] |
relevantModules |
protected static AttributeTag[] |
relevantMultiFrameModuleAttributeTags |
protected static AttributeTag[] |
relevantSOPCommonModuleAttributeTags |
Constructor and Description |
---|
KeepOnlyImagePixelModule(java.lang.String inputFileName,
java.lang.String outputFileName)
Read a DICOM image input file and discard everything except what is required to describe the pixels
|
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] arg)
Read a DICOM image input file and discard everything except what is required to describe the pixels.
|
protected static AttributeTag[] relevantGeneralSeriesModuleAttributeTags
protected static AttributeTag[] relevantImagePixelModuleAttributeTags
protected static AttributeTag[][] relevantModules
protected static AttributeTag[] relevantMultiFrameModuleAttributeTags
protected static AttributeTag[] relevantSOPCommonModuleAttributeTags
public KeepOnlyImagePixelModule(java.lang.String inputFileName, java.lang.String outputFileName) throws DicomException, java.io.FileNotFoundException, java.io.IOException
Read a DICOM image input file and discard everything except what is required to describe the pixels
inputFileName
- the input file nameoutputFileName
- the output file nameDicomException
java.io.FileNotFoundException
java.io.IOException