Class DicomCodecExtensions
Extension methods associated with DICOM transfer syntax change.
Inherited Members
Namespace: Dicom.Imaging.Codec
Assembly: cs.temp.dll.dll
Syntax
public static class DicomCodecExtensions
Methods
ChangeTransferSyntax(DicomDataset, DicomTransferSyntax, DicomCodecParams)
Create a copy of the specified DICOM dataset with requested transfer syntax.
Declaration
[Obsolete("Deprecated, will be removed in later version. Use Clone instead.")]
public static DicomDataset ChangeTransferSyntax(this DicomDataset dataset, DicomTransferSyntax syntax, DicomCodecParams parameters = null)
Parameters
Type | Name | Description |
---|---|---|
DicomDataset | dataset | DICOM dataset to copy. |
DicomTransferSyntax | syntax | Requested transfer syntax for the created DICOM dataset. |
DicomCodecParams | parameters | Codec parameters. |
Returns
Type | Description |
---|---|
DicomDataset | DICOM dataset with modified transfer syntax. |
ChangeTransferSyntax(DicomFile, DicomTransferSyntax, DicomCodecParams)
Create a copy of the specified DICOM file with requested transfer syntax.
Declaration
[Obsolete("Deprecated, will be removed in later version. Use Clone instead.")]
public static DicomFile ChangeTransferSyntax(this DicomFile file, DicomTransferSyntax syntax, DicomCodecParams parameters = null)
Parameters
Type | Name | Description |
---|---|---|
DicomFile | file | DICOM file to copy. |
DicomTransferSyntax | syntax | Requested transfer syntax for the created DICOM file. |
DicomCodecParams | parameters | Codec parameters. |
Returns
Type | Description |
---|---|
DicomFile | DICOM file with modified transfer syntax. |
Clone(DicomDataset, DicomTransferSyntax, DicomCodecParams)
Create a copy of the specified DICOM dataset with requested transfer syntax.
Declaration
public static DicomDataset Clone(this DicomDataset dataset, DicomTransferSyntax syntax, DicomCodecParams parameters = null)
Parameters
Type | Name | Description |
---|---|---|
DicomDataset | dataset | DICOM dataset to copy. |
DicomTransferSyntax | syntax | Requested transfer syntax for the created DICOM dataset. |
DicomCodecParams | parameters | Codec parameters. |
Returns
Type | Description |
---|---|
DicomDataset | DICOM dataset with modified transfer syntax. |
Clone(DicomFile, DicomTransferSyntax, DicomCodecParams)
Create a copy of the specified DICOM file with requested transfer syntax.
Declaration
public static DicomFile Clone(this DicomFile file, DicomTransferSyntax syntax, DicomCodecParams parameters = null)
Parameters
Type | Name | Description |
---|---|---|
DicomFile | file | DICOM file to copy. |
DicomTransferSyntax | syntax | Requested transfer syntax for the created DICOM file. |
DicomCodecParams | parameters | Codec parameters. |
Returns
Type | Description |
---|---|
DicomFile | DICOM file with modified transfer syntax. |