Package com.pixelmed.apps
Class KeepOnlyImagePixelModule
java.lang.Object
com.pixelmed.apps.KeepOnlyImagePixelModule
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).
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static AttributeTag[]
protected static AttributeTag[]
protected static AttributeTag[][]
protected static AttributeTag[]
protected static AttributeTag[]
-
Constructor Summary
ConstructorsConstructorDescriptionKeepOnlyImagePixelModule
(String inputFileName, String outputFileName) Read a DICOM image input file and discard everything except what is required to describe the pixels -
Method Summary
-
Field Details
-
relevantImagePixelModuleAttributeTags
-
relevantMultiFrameModuleAttributeTags
-
relevantGeneralSeriesModuleAttributeTags
-
relevantSOPCommonModuleAttributeTags
-
relevantModules
-
-
Constructor Details
-
KeepOnlyImagePixelModule
public KeepOnlyImagePixelModule(String inputFileName, String outputFileName) throws DicomException, FileNotFoundException, IOException Read a DICOM image input file and discard everything except what is required to describe the pixels
- Parameters:
inputFileName
- the input file nameoutputFileName
- the output file name- Throws:
DicomException
FileNotFoundException
IOException
-
-
Method Details
-
main
Read a DICOM image input file and discard everything except what is required to describe the pixels.
- Parameters:
arg
- two parameters, the inputFile, outputFile
-