Package com.pixelmed.apps
Class KeepOnlyImagePixelModule
- java.lang.Object
-
- com.pixelmed.apps.KeepOnlyImagePixelModule
-
public class KeepOnlyImagePixelModule extends java.lang.ObjectA 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
Fields Modifier and Type Field Description protected static AttributeTag[]relevantGeneralSeriesModuleAttributeTagsprotected static AttributeTag[]relevantImagePixelModuleAttributeTagsprotected static AttributeTag[][]relevantModulesprotected static AttributeTag[]relevantMultiFrameModuleAttributeTagsprotected static AttributeTag[]relevantSOPCommonModuleAttributeTags
-
Constructor Summary
Constructors Constructor 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
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] arg)Read a DICOM image input file and discard everything except what is required to describe the pixels.
-
-
-
Field Detail
-
relevantImagePixelModuleAttributeTags
protected static AttributeTag[] relevantImagePixelModuleAttributeTags
-
relevantMultiFrameModuleAttributeTags
protected static AttributeTag[] relevantMultiFrameModuleAttributeTags
-
relevantGeneralSeriesModuleAttributeTags
protected static AttributeTag[] relevantGeneralSeriesModuleAttributeTags
-
relevantSOPCommonModuleAttributeTags
protected static AttributeTag[] relevantSOPCommonModuleAttributeTags
-
relevantModules
protected static AttributeTag[][] relevantModules
-
-
Constructor Detail
-
KeepOnlyImagePixelModule
public KeepOnlyImagePixelModule(java.lang.String inputFileName, java.lang.String outputFileName) throws DicomException, java.io.FileNotFoundException, java.io.IOExceptionRead 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:
DicomExceptionjava.io.FileNotFoundExceptionjava.io.IOException
-
-