Show / Hide Table of Contents
View Source

Class DICOMObjectExtensions

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

Methods

View Source

GetPixelStream(DICOMObject)

Grabs the pixel data bytes and sends it as a stream. Returns null if no pixel data element is found.

Declaration
public static PixelStream GetPixelStream(this DICOMObject dcm)
Parameters
Type Name Description
DICOMObject dcm
Returns
Type Description
PixelStream
View Source

RemoveMetaHeader(DICOMObject)

Removes all elements beginning with 0002

Declaration
public static void RemoveMetaHeader(this DICOMObject dcm)
Parameters
Type Name Description
DICOMObject dcm

DICOM object containing metadata header

View Source

SetPixelStream(DICOMObject, IEnumerable<Byte>)

Declaration
public static void SetPixelStream(this DICOMObject dcm, IEnumerable<byte> value)
Parameters
Type Name Description
DICOMObject dcm
System.Collections.Generic.IEnumerable<System.Byte> value
View Source

ToXMLString(DICOMObject)

Converts a DICOM object to XML format

Declaration
public static string ToXMLString(this DICOMObject dcm)
Parameters
Type Name Description
DICOMObject dcm
Returns
Type Description
System.String
Back to top Copyright © 2015-2016 Microsoft
Generated by DocFX