Class DicomImageInfo

Class DicomImageInfo

Nom dels espais: Aspose.Imaging.FileFormats.Dicom Assemblea: Aspose.Imaging.dll (25.4.0)

Conté tota la meta-informació de l’encàrrec de fitxers Dicom

[JsonObject(MemberSerialization.OptIn)]
public sealed class DicomImageInfo

Inheritance

object DicomImageInfo

Membres heretats

object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Properties

BitsAllocated

Obté un valor dels “bitsAllocats”.

[JsonProperty]
public int BitsAllocated { get; }

Valor de la propietat

int

BitsStored

Obté el nombre de bits emmagatzemats.

[JsonProperty]
public int BitsStored { get; }

Valor de la propietat

int

Blues

Obtén els colors de l’arrel del blau

[JsonProperty]
public byte[] Blues { get; }

Valor de la propietat

byte []

DicomHeaderInfoByBytes

Obté la informació de titulació dicom per bytes.

[JsonProperty]
public byte[] DicomHeaderInfoByBytes { get; }

Valor de la propietat

byte []

DicomInfo

Obté la informació del títol del fitxer DICOM.

public ReadOnlyCollection<string> DicomInfo { get; }

Valor de la propietat

ReadOnlyCollection < string >

Examples

L’exemple següent mostra com llegir la informació del títol d’una imatge DICOM.

string dir = "c:\\aspose.imaging\\issues\\net\\3635\\testdata\\3628";
                                                                                           using (Aspose.Imaging.FileFormats.Dicom.DicomImage image = (Aspose.Imaging.FileFormats.Dicom.DicomImage)Aspose.Imaging.Image.Load(System.IO.Path.Combine(dir, "ttfm.dcm")))
                                                                                           {
                                                                                               foreach (string s in image.FileInfo.DicomInfo)
                                                                                               {
                                                                                                   System.Console.WriteLine(s);
                                                                                               }
                                                                                           }

                                                                                           // STDOUT:
                                                                                           //Media Storage Sop Class Uid: 1.2.840.10008.5.1.4.1.1.3.1
                                                                                           //Media Storage Sop Instance Uid: 2.16.840.1.114488.0.4.123489834087.1330071425.2
                                                                                           //Transfer Syntax Uid: 1.2.840.10008.1.2.4.70
                                                                                           //Implementation Class Uid: 1.2.840.114236
                                                                                           //Specific Character Set: ISO_IR 100
                                                                                           //Image Type: \SECONDARY\INTRAOPERATIVE
                                                                                           //Sop Class Uid: 1.2.840.10008.5.1.4.1.1.3.1
                                                                                           //Sop Instance Uid: 2.16.840.1.114488.0.4.123489834087.1330071425.2
                                                                                           //Study Date: 20110824
                                                                                           //Series Date: 20110824
                                                                                           //Content Date: 20110824
                                                                                           //Study Time: 094836.214743984
                                                                                           //Series Time: 094836.214743984
                                                                                           //Content Time: 100451.214743816
                                                                                           //Modality: US
                                                                                           //Manufacturer: Medistim
                                                                                           //Institution Name: Hospital Name
                                                                                           //Institution Address: Hospital Address or Department
                                                                                           //Station Name: VERIQ
                                                                                           //Performing Physician's Name: CA Prof. Debus
                                                                                           //Manufacturer's Model Name: VeriQ C
                                                                                           //Recommended Display Frame Rate: 1
                                                                                           //Patient's Name: Femoral trombenarterectomy^Case Report:
                                                                                           //Patient Id: Case Report 1
                                                                                           //Patient's Sex: M
                                                                                           //Patient's Size: 0
                                                                                           //Patient's Weight: 0
                                                                                           //Patient Comments: See case report on www.medistim.com
                                                                                           //Cine Rate: 1
                                                                                           //Effective Duration: 1
                                                                                           //Device Serial Number: 0
                                                                                           //Software Versions(s): 3.3.0 RC0 built 02 / 23 / 12  09:50:45
                                                                                           //Frame Time: 1000
                                                                                           //Study Instance Uid: 2.16.840.1.114488.0.4.123489834087.1330071425.0
                                                                                           //Series Instance Uid: 2.16.840.1.114488.0.4.123489834087.1330071425.1
                                                                                           //Series Number: 1
                                                                                           //Instance Number: 1
                                                                                           //Samples per Pixel: 3
                                                                                           //Photometric Interpretation: RGB
                                                                                           //Planar Configuration: 0
                                                                                           //Number of Frames: 1
                                                                                           //Frame Increment Pointer:
                                                                                           //Rows: 768
                                                                                           //Columns: 1024
                                                                                           //Bits Allocated: 8
                                                                                           //Bits Stored: 8
                                                                                           //high Bit: 7
                                                                                           //Pixel Representation: 0
                                                                                           //Lossy Image Compression: 00
                                                                                           //Pixel Data: 1492

Greens

Obtén els colors de l’arrel del verd

[JsonProperty]
public byte[] Greens { get; }

Valor de la propietat

byte []

Height

Obtenir l’alçada.

[JsonProperty]
public int Height { get; }

Valor de la propietat

int

IsLittleEndian

Obté un valor que indica si aquesta instància és poc endian.

[JsonProperty]
public bool IsLittleEndian { get; }

Valor de la propietat

bool

NumberOfFrames

Recull el nombre de quadres.

[JsonProperty]
public int NumberOfFrames { get; }

Valor de la propietat

int

Offset

Obtenir la descompensa.

[JsonProperty]
public int Offset { get; }

Valor de la propietat

int

PhotoInterpretation

Obtén un valor de la “fotointerpretació”.

[JsonProperty]
public string PhotoInterpretation { get; }

Valor de la propietat

string

PixelRepresentation

Obté un valor del píxel “pixelrepresentació”.

[JsonProperty]
public int PixelRepresentation { get; }

Valor de la propietat

int

PlanarConfiguration

Obtenir la configuració de plànol.

[JsonProperty]
public int PlanarConfiguration { get; }

Valor de la propietat

int

ReadonlyTagsList

Aquests valors de etiquetes es resetaran segons les dades d’imatge reals a l’hora de guardar la imatge.

public static ReadOnlyCollection<string> ReadonlyTagsList { get; }

Valor de la propietat

ReadOnlyCollection < string >

Reds

Obtén els colors de l’arrel del vermell

[JsonProperty]
public byte[] Reds { get; }

Valor de la propietat

byte []

RescaleIntercept

Obté un valor del “rescaleIntercept”.

[JsonProperty]
public double RescaleIntercept { get; }

Valor de la propietat

double

RescaleSlope

Obté un valor del “rescaleSlope”.

[JsonProperty]
public double RescaleSlope { get; }

Valor de la propietat

double

SamplesPerPixel

Obté un valor dels “símbols PerPixel”.

[JsonProperty]
public int SamplesPerPixel { get; }

Valor de la propietat

int

SignedImage

Obté un valor que indiqui si “SignedImage”.

public bool SignedImage { get; }

Valor de la propietat

bool

Width

Obtenir la amplada.

[JsonProperty]
public int Width { get; }

Valor de la propietat

int

WindowCentre

Obtenir el centre de la finestra.

[JsonProperty]
public double WindowCentre { get; }

Valor de la propietat

double

WindowWidth

Obté l’amplada de la finestra.

[JsonProperty]
public double WindowWidth { get; }

Valor de la propietat

double

Methods

AddTag(Tàrrega, Objecte)

Afegir la nova etiqueta Dicom.

public void AddTag(string tagDescription, object value)

Parameters

tagDescription string

La descripció de la etiqueta. no pot ser zero o espai blanc.

value object

El valor de la etiqueta. no pot ser nul.

RemoveTagAt(Int)

Eliminar una etiqueta existent.

public void RemoveTagAt(int index)

Parameters

index int

L’índex de la etiqueta s’ha d’actualitzar.

TryAddTag(Tàrrega, Objecte)

Afegir la nova etiqueta Dicom.

public bool TryAddTag(string tagDescription, object value)

Parameters

tagDescription string

La descripció de la etiqueta. no pot ser zero o espai blanc.

value object

El valor de la etiqueta. no pot ser nul.

Returns

bool

El resultat de l’operaci.

TryRemoveTagAt(Int)

Eliminar una etiqueta existent.

public bool TryRemoveTagAt(int index)

Parameters

index int

L’índex de la etiqueta s’ha d’actualitzar.

Returns

bool

El resultat de l’operaci.

TryUpdateTagAt(Imatge, objecte)

Actualitzar una etiqueta existent.

public bool TryUpdateTagAt(int index, object newValue)

Parameters

index int

L’índex de la etiqueta s’ha d’actualitzar.

newValue object

El valor de la etiqueta. no pot ser nul.

Returns

bool

El resultat de l’operaci.

UpdateTagAt(Imatge, objecte)

Actualitzar una etiqueta existent.

public void UpdateTagAt(int index, object newValue)

Parameters

index int

L’índex de la etiqueta s’ha d’actualitzar.

newValue object

El valor de la etiqueta. no pot ser nul.

 Català