Table of Contents

Class DicomImageInfo

Namespace
Aspose.Imaging.FileFormats.Dicom
Assembly
Aspose.Imaging.dll

Contains all meta-information from Dicom file header

public sealed class DicomImageInfo
Inheritance
DicomImageInfo
Inherited Members

Properties

BitsAllocated

Gets a value of the "bitsAllocated".

public int BitsAllocated { get; }

Property Value

int

The a value of the "bitsAllocated".

BitsStored

Gets the number of stored bits.

public int BitsStored { get; }

Property Value

int

Blues

Gets the array colors of the blue

public byte[] Blues { get; }

Property Value

byte[]

The blues.

DicomHeaderInfoByBytes

Gets the dicom header information by bytes.

public byte[] DicomHeaderInfoByBytes { get; }

Property Value

byte[]

The dicom header information by bytes.

DicomInfo

Gets the header information of the DICOM file.

public ReadOnlyCollection<string> DicomInfo { get; }

Property Value

ReadOnlyCollection<string>

Greens

Gets the array colors of the green

public byte[] Greens { get; }

Property Value

byte[]

The reds color.

Height

Gets the height.

public int Height { get; }

Property Value

int

The a value of the height.

IsLittleEndian

Gets a value indicating whether this instance is little endian.

public bool IsLittleEndian { get; }

Property Value

bool

true if this instance is little endian; otherwise, false.

NumberOfFrames

Gets the number of frames.

public int NumberOfFrames { get; }

Property Value

int

The number of frames.

Offset

Gets the offset.

public int Offset { get; }

Property Value

int

The a value of the offset.

PhotoInterpretation

Gets a value of the "PhotoInterpretation".

public string PhotoInterpretation { get; }

Property Value

string

The a value of the "photointerpretation".

PixelRepresentation

Gets a value of the pixel "pixelRepresentation".

public int PixelRepresentation { get; }

Property Value

int

The a value of the "pixelRepresentation".

PlanarConfiguration

Gets the planar configuration.

public int PlanarConfiguration { get; }

Property Value

int

The planar configuration.

ReadonlyTagsList

The read-only tags list. These tag values will be reset according to the actual image data upon image save.

public static ReadOnlyCollection<string> ReadonlyTagsList { get; }

Property Value

ReadOnlyCollection<string>

Reds

Gets the array colors of the red

public byte[] Reds { get; }

Property Value

byte[]

The reds.

RescaleIntercept

Gets a value of the "rescaleIntercept".

public double RescaleIntercept { get; }

Property Value

double

The a value of the "rescaleIntercept".

RescaleSlope

Gets a value of the "rescaleSlope".

public double RescaleSlope { get; }

Property Value

double

The a value of the "rescaleSlope".

SamplesPerPixel

Gets a value of the "samplesPerPixel".

public int SamplesPerPixel { get; }

Property Value

int

The value of the "samplesPerPixel".

SignedImage

Gets a value indicating whether "signedImage".

public bool SignedImage { get; }

Property Value

bool

Width

Gets the width.

public int Width { get; }

Property Value

int

The a value of the width.

WindowCentre

Gets the window centre.

public double WindowCentre { get; }

Property Value

double

The a value of the window centre.

WindowWidth

Gets the width of the window.

public double WindowWidth { get; }

Property Value

double

The width of the window.

Methods

AddTag(string, object)

Add new Dicom tag.

public void AddTag(string tagDescription, object value)

Parameters

tagDescription string

The tag description. Can not be null or whitespace.

value object

The tag value. Can not be null.

RemoveTagAt(int)

Remove an existing tag.

public void RemoveTagAt(int index)

Parameters

index int

The index of the tag to be updated.

TryAddTag(string, object)

Add new Dicom tag.

public bool TryAddTag(string tagDescription, object value)

Parameters

tagDescription string

The tag description. Can not be null or whitespace.

value object

The tag value. Can not be null.

Returns

bool

The operation result.

TryRemoveTagAt(int)

Remove an existing tag.

public bool TryRemoveTagAt(int index)

Parameters

index int

The index of the tag to be updated.

Returns

bool

The operation result.

TryUpdateTagAt(int, object)

Update an existing tag.

public bool TryUpdateTagAt(int index, object newValue)

Parameters

index int

The index of the tag to be updated.

newValue object

The tag value. Can not be null.

Returns

bool

The operation result.

UpdateTagAt(int, object)

Update an existing tag.

public void UpdateTagAt(int index, object newValue)

Parameters

index int

The index of the tag to be updated.

newValue object

The tag value. Can not be null.