Show / Hide Table of Contents
View Source

Class TransferSyntaxHelper

Inheritance
System.Object
TransferSyntaxHelper
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:EvilDICOM.Core.Helpers
Assembly:EvilDICOM.dll
Syntax
public static class TransferSyntaxHelper

Fields

View Source

EXPLICIT_VR_BIG_ENDIAN

Unique ID that represents an explicit VR with big endian encoding

Declaration
public const string EXPLICIT_VR_BIG_ENDIAN = "1.2.840.10008.1.2.2"
Field Value
Type Description
System.String
View Source

EXPLICIT_VR_LITTLE_ENDIAN

Unique ID that represents an explicit VR with little endian encoding

Declaration
public const string EXPLICIT_VR_LITTLE_ENDIAN = "1.2.840.10008.1.2.1"
Field Value
Type Description
System.String
View Source

IMPLICIT_VR_LITTLE_ENDIAN

Unique ID that represents an implicit VR with little endian encoding

Declaration
public const string IMPLICIT_VR_LITTLE_ENDIAN = "1.2.840.10008.1.2"
Field Value
Type Description
System.String
View Source

JPEG_2000

Unique ID that represents JPEG 2000 image encoding

Declaration
public const string JPEG_2000 = "1.2.840.10008.1.2.4.91"
Field Value
Type Description
System.String
View Source

JPEG_2000_LOSSLESS

Unique ID that represents JPEG 2000 lossless image encoding

Declaration
public const string JPEG_2000_LOSSLESS = "1.2.840.10008.1.2.4.90"
Field Value
Type Description
System.String
View Source

JPEG_BASELINE

Unique ID that represents JPEG baseline image encoding

Declaration
public const string JPEG_BASELINE = "1.2.840.10008.1.2.4.50"
Field Value
Type Description
System.String
View Source

JPEG_EXTENDED

Unique ID that represents JPEG Extended image encoding

Declaration
public const string JPEG_EXTENDED = "1.2.840.10008.1.2.4.51"
Field Value
Type Description
System.String
View Source

JPEG_LOSSLESS_14

Unique ID that represents JPEG lossless (Process 14) image encoding

Declaration
public const string JPEG_LOSSLESS_14 = "1.2.840.10008.1.2.4.57"
Field Value
Type Description
System.String
View Source

JPEG_LOSSLESS_14_S1

Unique ID that represents JPEG lossless (Process 14 Selection Value 1) image encoding

Declaration
public const string JPEG_LOSSLESS_14_S1 = "1.2.840.10008.1.2.4.70"
Field Value
Type Description
System.String
View Source

JPEG_LOSSLESS_15

Unique ID that represents JPEG lossless (Process 15) image encoding

Declaration
public const string JPEG_LOSSLESS_15 = "1.2.840.10008.1.2.4.58"
Field Value
Type Description
System.String
View Source

JPEG_LS_LOSSLESS

Unique ID that represents JPEG-LS lossless image encoding

Declaration
public const string JPEG_LS_LOSSLESS = "1.2.840.10008.1.2.4.80"
Field Value
Type Description
System.String
View Source

JPEG_LS_NEAR_LOSSLESS

Unique ID that represents JPEG-LS near lossless image encoding

Declaration
public const string JPEG_LS_NEAR_LOSSLESS = "1.2.840.10008.1.2.4.81"
Field Value
Type Description
System.String
View Source

JPEG_PROGRESSIVE

Unique ID that represents JPEG Progressive image encoding

Declaration
public const string JPEG_PROGRESSIVE = "1.2.840.10008.1.2.4.55"
Field Value
Type Description
System.String
View Source

RLE_LOSSLESS

Unique ID that represents RLE lossless image encoding

Declaration
public const string RLE_LOSSLESS = "1.2.840.10008.1.2.5"
Field Value
Type Description
System.String

Methods

View Source

GetSyntax(IDICOMElement)

Converts the string in the Transfer syntax element to the transfer syntax enum for reading the file

Declaration
public static TransferSyntax GetSyntax(IDICOMElement el)
Parameters
Type Name Description
IDICOMElement el

the transfer syntax element

Returns
Type Description
TransferSyntax

the transfer syntax in enum format

View Source

GetSyntax(String)

Converts the string to the transfer syntax enum for reading the file

Declaration
public static TransferSyntax GetSyntax(string syntaxUID)
Parameters
Type Name Description
System.String syntaxUID
Returns
Type Description
TransferSyntax

the transfer syntax in enum format

View Source

IsCompressedImage(String)

Indicates if the pixel data is in compressed form

Declaration
public static bool IsCompressedImage(string syntaxUIDString)
Parameters
Type Name Description
System.String syntaxUIDString
Returns
Type Description
System.Boolean

boolean indicating if image is compressed

View Source

SetSyntax(DICOMObject, TransferSyntax)

Sets the transfer syntax of the DICOM object. The purpose of this is to go from an enum to a string.

Declaration
public static void SetSyntax(DICOMObject dicom, TransferSyntax selector)
Parameters
Type Name Description
DICOMObject dicom

the DICOM object to set syntax

TransferSyntax selector

the transfer syntax to set

Back to top Copyright © 2015-2016 Microsoft
Generated by DocFX