Class DicomCodecExtensions
Extension methods associated with DICOM transfer syntax change.
Inheritance
System.Object
DicomCodecExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FellowOakDicom.Imaging.Codec
Assembly: fo-dicom.core.dll
Syntax
public static class DicomCodecExtensions
Methods
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. |