public class NoopFrameConverterOp extends BaseFrameConverterOp
| Constructor and Description |
|---|
NoopFrameConverterOp()
creates a frame converter that does not perform any kind of frame conversion and does not change
the transfer syntax
|
NoopFrameConverterOp(TransferSyntaxUID targetTransferSyntaxUID)
creates a frame converter that does not perform any kind of frame conversion and outputs to
the specified transfer syntax.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canConvert(DicomObject dcm)
This converter just echo's the incoming image.
|
byte[] |
convert(byte[] frame,
ImageInfo imageInfo)
just returns the source frame.
|
TransferSyntaxUID |
getConvertedTransferSyntax(DicomObject dcm)
returns the original transfer syntax from the original image
based on the file meta information of the original image
|
getConvertedPixelDataLength, getConvertedPixelDataType, modifyDicomObjectpublic NoopFrameConverterOp()
public NoopFrameConverterOp(TransferSyntaxUID targetTransferSyntaxUID)
targetTransferSyntaxUID - the target TransferSyntaxUIDpublic boolean canConvert(DicomObject dcm)
dcm - the source DicomObjectpublic TransferSyntaxUID getConvertedTransferSyntax(DicomObject dcm) throws DicomException
dcm - the source DicomObjectDicomException - -public byte[] convert(byte[] frame,
ImageInfo imageInfo)
frame - the source pixel fameimageInfo - relevant information of the image