public abstract class BaseFrameConverterOp extends java.lang.Object implements FrameConverterOp
Constructor and Description |
---|
BaseFrameConverterOp() |
Modifier and Type | Method and Description |
---|---|
long |
getConvertedPixelDataLength(DicomObject dcm,
long originalPixelDataLength,
int originalType)
base implementation that returns the pixel data length of the source
see
FrameConverterOp.getConvertedPixelDataLength(DicomObject, long, int) |
int |
getConvertedPixelDataType(DicomObject dcm,
long originalPixelDataLength,
int originalType)
base implementation that returns the vr data type of the source pixel data
see
FrameConverterOp.getConvertedPixelDataType(DicomObject, long, int) |
DicomObject |
modifyDicomObject(DicomObject dcm)
base implementation that modifies the transfer syntax of the file meta information to the target transfer syntax
see
FrameConverterOp.modifyDicomObject(DicomObject) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canConvert, convert, getConvertedTransferSyntax
public long getConvertedPixelDataLength(DicomObject dcm, long originalPixelDataLength, int originalType) throws DicomException
FrameConverterOp.getConvertedPixelDataLength(DicomObject, long, int)
getConvertedPixelDataLength
in interface FrameConverterOp
dcm
- the source DicomObjectoriginalPixelDataLength
- the length of the source pixel dataoriginalType
- the type of the source pixel dataDicomException
public int getConvertedPixelDataType(DicomObject dcm, long originalPixelDataLength, int originalType) throws DicomException
FrameConverterOp.getConvertedPixelDataType(DicomObject, long, int)
getConvertedPixelDataType
in interface FrameConverterOp
dcm
- the source DicomObjectoriginalPixelDataLength
- the length of the source pixel dataoriginalType
- the type of the source pixel dataDicomException
public DicomObject modifyDicomObject(DicomObject dcm) throws DicomException
FrameConverterOp.modifyDicomObject(DicomObject)
modifyDicomObject
in interface FrameConverterOp
dcm
- the source DicomObjectDicomException
- thrown when the file meta information is missing in the source DicomObject