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, waitcanConvert, convert, getConvertedTransferSyntaxpublic long getConvertedPixelDataLength(DicomObject dcm, long originalPixelDataLength, int originalType) throws DicomException
FrameConverterOp.getConvertedPixelDataLength(DicomObject, long, int)getConvertedPixelDataLength in interface FrameConverterOpdcm - the source DicomObjectoriginalPixelDataLength - the length of the source pixel dataoriginalType - the type of the source pixel dataDicomExceptionpublic int getConvertedPixelDataType(DicomObject dcm, long originalPixelDataLength, int originalType) throws DicomException
FrameConverterOp.getConvertedPixelDataType(DicomObject, long, int)getConvertedPixelDataType in interface FrameConverterOpdcm - the source DicomObjectoriginalPixelDataLength - the length of the source pixel dataoriginalType - the type of the source pixel dataDicomExceptionpublic DicomObject modifyDicomObject(DicomObject dcm) throws DicomException
FrameConverterOp.modifyDicomObject(DicomObject)modifyDicomObject in interface FrameConverterOpdcm - the source DicomObjectDicomException - thrown when the file meta information is missing in the source DicomObject