Interface IDicomTranscoder
- Namespace
- FellowOakDicom.Imaging.Codec
- Assembly
- fo-dicom.core.dll
DICOM transcoder interface.
public interface IDicomTranscoder
- Extension Methods
Properties
InputCodecParams
Gets the parameters associated with the input codec.
DicomCodecParams InputCodecParams { get; }
Property Value
InputSyntax
Gets the transfer syntax of the input codec.
DicomTransferSyntax InputSyntax { get; }
Property Value
OutputCodecParams
Gets the parameters associated with the output codec.
DicomCodecParams OutputCodecParams { get; }
Property Value
OutputSyntax
Gets the transfer syntax of the output codec.
DicomTransferSyntax OutputSyntax { get; }
Property Value
Methods
DecodeFrame(DicomDataset, int)
Decompress single frame from DICOM dataset and return uncompressed frame buffer.
IByteBuffer DecodeFrame(DicomDataset dataset, int frame)
Parameters
dataset
DicomDatasetDICOM dataset.
frame
intFrame number.
Returns
- IByteBuffer
Uncompressed frame buffer.
DecodePixelData(DicomDataset, int)
Decompress pixel data from DICOM dataset and return uncompressed pixel data.
IPixelData DecodePixelData(DicomDataset dataset, int frame)
Parameters
dataset
DicomDatasetDICOM dataset.
frame
intFrame number.
Returns
- IPixelData
Uncompressed pixel data.
Transcode(DicomDataset)
Transcode a DicomDataset from InputSyntax to OutputSyntax.
DicomDataset Transcode(DicomDataset dataset)
Parameters
dataset
DicomDatasetDICOM dataset.
Returns
- DicomDataset
New, transcoded, DICOM dataset.
Transcode(DicomFile)
Transcode a DicomFile from InputSyntax to OutputSyntax.
DicomFile Transcode(DicomFile file)
Parameters
file
DicomFileDICOM file.
Returns
- DicomFile
New, transcoded, DICOM file.