Class TransferSyntax
Namespace: Aspose.Medical.Dicom
Assembly: Aspose.Medical.dll (25.11.0)
A DICOM file Transfer Syntax. https://dicom.nema.org/medical/dicom/current/output/chtml/part05/chapter_A.html .
public sealed class TransferSyntax : ISpanParsable<transfersyntax>, IParsable<transfersyntax>Inheritance
Implements
ISpanParsable<transfersyntax> , IParsable<transfersyntax>
Inherited Members
object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
TransferSyntax()
public TransferSyntax()Fields
DeflatedExplicitVrLittleEndian
Deflated Explicit VR Little Endian (1.2.840.10008.1.2.1.99).
public static readonly TransferSyntax DeflatedExplicitVrLittleEndianField Value
ExplicitVrBigEndian
Explicit VR Big Endian (1.2.840.10008.1.2.2).
public static readonly TransferSyntax ExplicitVrBigEndianField Value
ExplicitVrLittleEndian
Explicit VR Little Endian (1.2.840.10008.1.2.1).
public static readonly TransferSyntax ExplicitVrLittleEndianField Value
FragmentableMpeg2MainProfile
Fragmentable MPEG2 Main Profile @ Main Level (1.2.840.10008.1.2.4.100.1).
public static readonly TransferSyntax FragmentableMpeg2MainProfileField Value
FragmentableMpeg2MainProfileHighLevel
Fragmentable MPEG2 Main Profile / High Level (1.2.840.10008.1.2.4.101.1).
public static readonly TransferSyntax FragmentableMpeg2MainProfileHighLevelField Value
FragmentableMpeg4Avch264BdCompatibleHighProfileLevel41
Fragmentable MPEG-4 AVC/H.264 BD-compatible High Profile / Level 4.1 (1.2.840.10008.1.2.4.103.1).
public static readonly TransferSyntax FragmentableMpeg4Avch264BdCompatibleHighProfileLevel41Field Value
FragmentableMpeg4Avch264HighProfileLevel41
Fragmentable MPEG-4 AVC/H.264 High Profile / Level 4.1 (1.2.840.10008.1.2.4.102.1).
public static readonly TransferSyntax FragmentableMpeg4Avch264HighProfileLevel41Field Value
FragmentableMpeg4Avch264HighProfileLevel42For2DVideo
Fragmentable MPEG-4 AVC/H.264 High Profile / Level 4.2 For 2D Video (1.2.840.10008.1.2.4.104.1).
public static readonly TransferSyntax FragmentableMpeg4Avch264HighProfileLevel42For2DVideoField Value
FragmentableMpeg4Avch264HighProfileLevel42For3DVideo
Fragmentable MPEG-4 AVC/H.264 High Profile / Level 4.2 For 3D Video (1.2.840.10008.1.2.4.105.1).
public static readonly TransferSyntax FragmentableMpeg4Avch264HighProfileLevel42For3DVideoField Value
FragmentableMpeg4Avch264StereoHighProfileLevel42
Fragmentable MPEG-4 AVC/H.264 Stereo High Profile / Level 4.2 (1.2.840.10008.1.2.4.106.1).
public static readonly TransferSyntax FragmentableMpeg4Avch264StereoHighProfileLevel42Field Value
GePrivateImplicitVrBigEndian
GE Private Implicit VR Big Endian (1.2.840.113619.5.2).
public static readonly TransferSyntax GePrivateImplicitVrBigEndianField Value
Remarks
Same as Implicit VR Little Endian except for big endian pixel data.
HTJ2K
High-Throughput JPEG 2000 Image Compression (1.2.840.10008.1.2.4.203).
public static readonly TransferSyntax HTJ2KField Value
HTJ2KLossless
High-Throughput JPEG 2000 Image Compression (Lossless Only) (1.2.840.10008.1.2.4.201).
public static readonly TransferSyntax HTJ2KLosslessField Value
HTJ2KLosslessRPCL
High-Throughput JPEG 2000 with RPCL Options Image Compression (Lossless Only) (1.2.840.10008.1.2.4.202).
public static readonly TransferSyntax HTJ2KLosslessRPCLField Value
Hevch265Main10ProfileLevel51
HEVC/H.265 Main 10 Profile / Level 5.1 (1.2.840.10008.1.2.4.108).
public static readonly TransferSyntax Hevch265Main10ProfileLevel51Field Value
Hevch265MainProfileLevel51
HEVC/H.265 Main Profile / Level 5.1 (1.2.840.10008.1.2.4.107).
public static readonly TransferSyntax Hevch265MainProfileLevel51Field Value
ImplicitVrLittleEndian
Implicit VR Little Endian (1.2.840.10008.1.2).
public static readonly TransferSyntax ImplicitVrLittleEndianField Value
Jpeg2000Lossless
JPEG 2000 Lossless Image Compression (1.2.840.10008.1.2.4.90).
public static readonly TransferSyntax Jpeg2000LosslessField Value
Jpeg2000Lossy
JPEG 2000 Lossy Image Compression (1.2.840.10008.1.2.4.91).
public static readonly TransferSyntax Jpeg2000LossyField Value
Jpeg2000Part2MultiComponent
JPEG 2000 Part 2 Multi-component Image Compression (1.2.840.10008.1.2.4.93).
public static readonly TransferSyntax Jpeg2000Part2MultiComponentField Value
Jpeg2000Part2MultiComponentLosslessOnly
JPEG 2000 Part 2 Multi-component Image Compression (Lossless Only) (1.2.840.10008.1.2.4.92).
public static readonly TransferSyntax Jpeg2000Part2MultiComponentLosslessOnlyField Value
JpegExtended24
JPEG Extended (Process 2 & 4) (1.2.840.10008.1.2.4.51).
public static readonly TransferSyntax JpegExtended24Field Value
JpegExtended35Retired
JPEG Extended (Process 3 & 5) (Retired) (1.2.840.10008.1.2.4.52).
public static readonly TransferSyntax JpegExtended35RetiredField Value
JpegLsLossless
JPEG-LS Lossless Image Compression (1.2.840.10008.1.2.4.80).
public static readonly TransferSyntax JpegLsLosslessField Value
JpegLsNearLossless
JPEG-LS Lossy (Near-Lossless) Image Compression (1.2.840.10008.1.2.4.81).
public static readonly TransferSyntax JpegLsNearLosslessField Value
JpegProcess1
JPEG Baseline (Process 1) (1.2.840.10008.1.2.4.50).
public static readonly TransferSyntax JpegProcess1Field Value
JpegProcess1012Retired
JPEG Full Progression, Non-Hierarchical (Process 10 & 12) (Retired) (1.2.840.10008.1.2.4.55).
public static readonly TransferSyntax JpegProcess1012RetiredField Value
JpegProcess1113Retired
JPEG Full Progression, Non-Hierarchical (Process 11 & 13) (Retired) (1.2.840.10008.1.2.4.56).
public static readonly TransferSyntax JpegProcess1113RetiredField Value
JpegProcess14
JPEG Lossless, Non-Hierarchical (Process 14) (1.2.840.10008.1.2.4.57).
public static readonly TransferSyntax JpegProcess14Field Value
JpegProcess14Sv1
JPEG Lossless, Non-Hierarchical, First-Order Prediction (Process 14 [Selection Value 1]) (1.2.840.10008.1.2.4.70).
public static readonly TransferSyntax JpegProcess14Sv1Field Value
JpegProcess15Retired
JPEG Lossless, Non-Hierarchical (Process 15) (Retired) (1.2.840.10008.1.2.4.58).
public static readonly TransferSyntax JpegProcess15RetiredField Value
JpegProcess1618Retired
JPEG Extended, Hierarchical (Process 16 & 18) (Retired) (1.2.840.10008.1.2.4.59).
public static readonly TransferSyntax JpegProcess1618RetiredField Value
JpegProcess1719Retired
JPEG Extended, Hierarchical (Process 17 & 19) (Retired) (1.2.840.10008.1.2.4.60).
public static readonly TransferSyntax JpegProcess1719RetiredField Value
JpegProcess2022Retired
JPEG Spectral Selection, Hierarchical (Process 20 & 22) (Retired) (1.2.840.10008.1.2.4.61).
public static readonly TransferSyntax JpegProcess2022RetiredField Value
JpegProcess2123Retired
JPEG Spectral Selection, Hierarchical (Process 21 & 23) (Retired) (1.2.840.10008.1.2.4.62).
public static readonly TransferSyntax JpegProcess2123RetiredField Value
JpegProcess2426Retired
JPEG Full Progression, Hierarchical (Process 24 & 26) (Retired) (1.2.840.10008.1.2.4.63).
public static readonly TransferSyntax JpegProcess2426RetiredField Value
JpegProcess2527Retired
JPEG Full Progression, Hierarchical (Process 25 & 27) (Retired) (1.2.840.10008.1.2.4.64).
public static readonly TransferSyntax JpegProcess2527RetiredField Value
JpegProcess28Retired
JPEG Lossless, Hierarchical (Process 28) (Retired) (1.2.840.10008.1.2.4.65).
public static readonly TransferSyntax JpegProcess28RetiredField Value
JpegProcess29Retired
JPEG Lossless, Hierarchical (Process 29) (Retired) (1.2.840.10008.1.2.4.66).
public static readonly TransferSyntax JpegProcess29RetiredField Value
JpegProcess68Retired
JPEG Spectral Selection, Non-Hierarchical (Process 6 & 8) (Retired) (1.2.840.10008.1.2.4.53).
public static readonly TransferSyntax JpegProcess68RetiredField Value
JpegProcess79Retired
JPEG Spectral Selection, Non-Hierarchical (Process 7 & 9) (Retired) (1.2.840.10008.1.2.4.54).
public static readonly TransferSyntax JpegProcess79RetiredField Value
JpegXL
JPEG XL (1.2.840.10008.1.2.4.112).
public static readonly TransferSyntax JpegXLField Value
JpegXLJpegRecompression
JPEG XL JPEG Recompression (1.2.840.10008.1.2.4.111).
public static readonly TransferSyntax JpegXLJpegRecompressionField Value
JpegXLLossless
JPEG XL Lossless (1.2.840.10008.1.2.4.110).
public static readonly TransferSyntax JpegXLLosslessField Value
JpipReferenced
JPIP Referenced (1.2.840.10008.1.2.4.94).
public static readonly TransferSyntax JpipReferencedField Value
JpipReferencedDeflate
JPIP Referenced Deflate (1.2.840.10008.1.2.4.95).
public static readonly TransferSyntax JpipReferencedDeflateField Value
Mpeg2MainProfile
MPEG2 Main Profile @ Main Level (1.2.840.10008.1.2.4.100).
public static readonly TransferSyntax Mpeg2MainProfileField Value
Mpeg2MainProfileHighLevel
MPEG2 Main Profile / High Level (1.2.840.10008.1.2.4.101).
public static readonly TransferSyntax Mpeg2MainProfileHighLevelField Value
Mpeg4Avch264BdCompatibleHighProfileLevel41
MPEG-4 AVC/H.264 BD-compatible High Profile / Level 4.1 (1.2.840.10008.1.2.4.103).
public static readonly TransferSyntax Mpeg4Avch264BdCompatibleHighProfileLevel41Field Value
Mpeg4Avch264HighProfileLevel41
MPEG-4 AVC/H.264 High Profile / Level 4.1 (1.2.840.10008.1.2.4.102).
public static readonly TransferSyntax Mpeg4Avch264HighProfileLevel41Field Value
Mpeg4Avch264HighProfileLevel42For2DVideo
MPEG-4 AVC/H.264 High Profile / Level 4.2 For 2D Video (1.2.840.10008.1.2.4.104).
public static readonly TransferSyntax Mpeg4Avch264HighProfileLevel42For2DVideoField Value
Mpeg4Avch264HighProfileLevel42For3DVideo
MPEG-4 AVC/H.264 High Profile / Level 4.2 For 3D Video (1.2.840.10008.1.2.4.105).
public static readonly TransferSyntax Mpeg4Avch264HighProfileLevel42For3DVideoField Value
Mpeg4Avch264StereoHighProfileLevel42
MPEG-4 AVC/H.264 Stereo High Profile / Level 4.2 (1.2.840.10008.1.2.4.106).
public static readonly TransferSyntax Mpeg4Avch264StereoHighProfileLevel42Field Value
Papyrus3ImplicitVrLittleEndianRetired
Papyrus 3 Implicit VR Little Endian (Retired) (1.2.840.10008.1.20).
public static readonly TransferSyntax Papyrus3ImplicitVrLittleEndianRetiredField Value
Rfc2557MimeEncapsulation
RFC 2557 MIME encapsulation (1.2.840.10008.1.2.6.1).
public static readonly TransferSyntax Rfc2557MimeEncapsulationField Value
RleLossless
RLE Lossless (1.2.840.10008.1.2.5).
public static readonly TransferSyntax RleLosslessField Value
XmlEncoding
XML Encoding (1.2.840.10008.1.2.6.2).
public static readonly TransferSyntax XmlEncodingField Value
Properties
IsDeflate
Indicates whether the transfer syntax represents deflatable objects. Read-only System.Boolean.
public bool IsDeflate { get; init; }Property Value
IsEncapsulated
Indicated whether the transfer syntax data representation is encapsulated. Read-only System.Boolean.
public bool IsEncapsulated { get; init; }Property Value
IsExplicitVr
Specifies that the Value Representation of the transfer syntax is explicit. Read-only System.Boolean.
public required bool IsExplicitVr { get; init; }Property Value
IsLittleEndian
Specifies that the transfer syntax uses a Little Endian notation. Read-only System.Boolean.
public required bool IsLittleEndian { get; init; }Property Value
IsLossy
Indicates whether the transfer syntax data representation is lossy. Read-only System.Boolean.
public bool IsLossy { get; init; }Property Value
IsRetired
Specifies that the transfer syntax is declared retired. Read-only System.Boolean.
public required bool IsRetired { get; init; }Property Value
LossyCompressionMethod
Gets the lossy compression method identifier. Read-only Aspose.Medical.Dicom.LossyCompressionMethods.
public LossyCompressionMethods? LossyCompressionMethod { get; init; }Property Value
SwapPixelData
Indicates whether the pixel data requires swapping. Read-only System.Boolean.
public bool SwapPixelData { get; init; }Property Value
Uid
The unique identifier of the transfer syntax. Read-only Aspose.Medical.Dicom.TransferSyntax.Uid.
public required Uid Uid { get; init; }Property Value
Methods
GetByUid(Uid)
public static TransferSyntax GetByUid(Uid uid)Parameters
uid Uid
Returns
Exceptions
Unable to parse transfer syntax.
Parse(string, IFormatProvider?)
static TransferSyntax Parse(string s, IFormatProvider? provider)Parameters
s string
provider IFormatProvider
?
Returns
Exceptions
The given s is not a valid Transfer Syntax.
Parse(ReadOnlySpan<char>, IFormatProvider?)
static TransferSyntax Parse(ReadOnlySpan<char> s, IFormatProvider? provider)Parameters
s ReadOnlySpan
<
char
>
provider IFormatProvider
?
Returns
Exceptions
The given string is not a valid Transfer Syntax.
Register(Uid, bool, bool)
Registers transfer syntax.
public static void Register(Uid uid, bool isLittleEndian, bool isExplicitVr)Parameters
uid Uid
The UID of the transfer syntax to be registered.
isLittleEndian bool
isExplicitVr bool
Exceptions
uid is not a transfer syntax type;
or
uid has already been registered;
or
an unknown error occurred.
ToString()
public override string ToString()Returns
TryParse(string?, IFormatProvider?, out TransferSyntax?)
static bool TryParse(string? s, IFormatProvider? provider, out TransferSyntax? result)Parameters
s string
?
provider IFormatProvider
?
result TransferSyntax
?
Returns
TryParse(ReadOnlySpan<char>, IFormatProvider?, out TransferSyntax?)
static bool TryParse(ReadOnlySpan<char> s, IFormatProvider? provider, out TransferSyntax? result)Parameters
s ReadOnlySpan
<
char
>
provider IFormatProvider
?
result TransferSyntax
?
Returns
bool </char></char></transfersyntax></transfersyntax>