Interface IDicomTranscoder
DICOM transcoder interface.
Namespace: Dicom.Imaging.Codec
Assembly: cs.temp.dll.dll
Syntax
public interface IDicomTranscoder
Properties
InputCodecParams
Gets the parameters associated with the input codec.
Declaration
DicomCodecParams InputCodecParams { get; }
Property Value
Type | Description |
---|---|
DicomCodecParams |
InputSyntax
Gets the transfer syntax of the input codec.
Declaration
DicomTransferSyntax InputSyntax { get; }
Property Value
Type | Description |
---|---|
DicomTransferSyntax |
OutputCodecParams
Gets the parameters associated with the output codec.
Declaration
DicomCodecParams OutputCodecParams { get; }
Property Value
Type | Description |
---|---|
DicomCodecParams |
OutputSyntax
Gets the transfer syntax of the output codec.
Declaration
DicomTransferSyntax OutputSyntax { get; }
Property Value
Type | Description |
---|---|
DicomTransferSyntax |
Methods
DecodeFrame(DicomDataset, Int32)
Decompress single frame from DICOM dataset and return uncompressed frame buffer.
Declaration
IByteBuffer DecodeFrame(DicomDataset dataset, int frame)
Parameters
Type | Name | Description |
---|---|---|
DicomDataset | dataset | DICOM dataset. |
Int32 | frame | Frame number. |
Returns
Type | Description |
---|---|
IByteBuffer | Uncompressed frame buffer. |
DecodePixelData(DicomDataset, Int32)
Decompress pixel data from DICOM dataset and return uncompressed pixel data.
Declaration
IPixelData DecodePixelData(DicomDataset dataset, int frame)
Parameters
Type | Name | Description |
---|---|---|
DicomDataset | dataset | DICOM dataset. |
Int32 | frame | Frame number. |
Returns
Type | Description |
---|---|
IPixelData | Uncompressed pixel data. |
Transcode(DicomDataset)
Transcode a DicomDataset from InputSyntax to OutputSyntax.
Declaration
DicomDataset Transcode(DicomDataset dataset)
Parameters
Type | Name | Description |
---|---|---|
DicomDataset | dataset | DICOM dataset. |
Returns
Type | Description |
---|---|
DicomDataset | New, transcoded, DICOM dataset. |
Transcode(DicomFile)
Transcode a DicomFile from InputSyntax to OutputSyntax.
Declaration
DicomFile Transcode(DicomFile file)
Parameters
Type | Name | Description |
---|---|---|
DicomFile | file | DICOM file. |
Returns
Type | Description |
---|---|
DicomFile | New, transcoded, DICOM file. |