Class DicomImageInfo

Class DicomImageInfo

Le nom : Aspose.Imaging.FileFormats.Dicom Assemblée: Aspose.Imaging.dll (25.4.0)

Contient toutes les méta-informations du titre de fichier Dicom

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

Inheritance

object DicomImageInfo

I membri ereditari

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

Properties

BitsAllocated

Il obtient une valeur des “bitsAllocated”.

[JsonProperty]
public int BitsAllocated { get; }

Valore di proprietà

int

BitsStored

Recevoir le nombre de bits stockés.

[JsonProperty]
public int BitsStored { get; }

Valore di proprietà

int

Blues

Recevoir les couleurs du bleu

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

Valore di proprietà

byte [ ]

DicomHeaderInfoByBytes

Recevoir l’information du titre dicom par bytes.

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

Valore di proprietà

byte [ ]

DicomInfo

Obtenez les informations de titre du fichier DICOM.

public ReadOnlyCollection<string> DicomInfo { get; }

Valore di proprietà

ReadOnlyCollection di < string >

Examples

L’exemple ci-dessous montre comment lire les informations de titre d’une image 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

Recevoir les couleurs de l’array vert

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

Valore di proprietà

byte [ ]

Height

Obtenez la hauteur.

[JsonProperty]
public int Height { get; }

Valore di proprietà

int

IsLittleEndian

Il obtient une valeur indiquant si cette instance est peu finie.

[JsonProperty]
public bool IsLittleEndian { get; }

Valore di proprietà

bool

NumberOfFrames

Réservez le nombre de cadres.

[JsonProperty]
public int NumberOfFrames { get; }

Valore di proprietà

int

Offset

Il reçoit l’offre.

[JsonProperty]
public int Offset { get; }

Valore di proprietà

int

PhotoInterpretation

Il reçoit une valeur de la « photointerprétation ».

[JsonProperty]
public string PhotoInterpretation { get; }

Valore di proprietà

string

PixelRepresentation

Obtenez une valeur du pixel “pixelReprésentation”.

[JsonProperty]
public int PixelRepresentation { get; }

Valore di proprietà

int

PlanarConfiguration

Obtenez la configuration de plan.

[JsonProperty]
public int PlanarConfiguration { get; }

Valore di proprietà

int

ReadonlyTagsList

Les valeurs de tag seront réinitialisées en fonction des données d’image réelles sur l’enregistrement.

public static ReadOnlyCollection<string> ReadonlyTagsList { get; }

Valore di proprietà

ReadOnlyCollection di < string >

Reds

Recevoir les couleurs de l’array rouge

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

Valore di proprietà

byte [ ]

RescaleIntercept

Il obtient une valeur de la «rescaleIntercept».

[JsonProperty]
public double RescaleIntercept { get; }

Valore di proprietà

double

RescaleSlope

Il obtient une valeur de la «rescaleSlope».

[JsonProperty]
public double RescaleSlope { get; }

Valore di proprietà

double

SamplesPerPixel

Il obtient une valeur des “sembles PerPixel”.

[JsonProperty]
public int SamplesPerPixel { get; }

Valore di proprietà

int

SignedImage

Il obtient une valeur indiquant si « SignedImage ».

public bool SignedImage { get; }

Valore di proprietà

bool

Width

Obtenez la largeur.

[JsonProperty]
public int Width { get; }

Valore di proprietà

int

WindowCentre

Le centre de la fenêtre.

[JsonProperty]
public double WindowCentre { get; }

Valore di proprietà

double

WindowWidth

Obtenez la largeur de la fenêtre.

[JsonProperty]
public double WindowWidth { get; }

Valore di proprietà

double

Methods

AddTag(Télécharger, Objet)

Ajoutez un nouveau dicom.

public void AddTag(string tagDescription, object value)

Parameters

tagDescription string

La description de l’étiquette. ne peut être nulle ou blanche.

value object

La valeur de la marque. ne peut pas être nulle.

RemoveTagAt(int)

Supprimer un fichier existant.

public void RemoveTagAt(int index)

Parameters

index int

L’index de la marque doit être mis à jour.

TryAddTag(Télécharger, Objet)

Ajoutez un nouveau dicom.

public bool TryAddTag(string tagDescription, object value)

Parameters

tagDescription string

La description de l’étiquette. ne peut être nulle ou blanche.

value object

La valeur de la marque. ne peut pas être nulle.

Returns

bool

Il risultato dell’operazione.

TryRemoveTagAt(int)

Supprimer un fichier existant.

public bool TryRemoveTagAt(int index)

Parameters

index int

L’index de la marque doit être mis à jour.

Returns

bool

Il risultato dell’operazione.

TryUpdateTagAt(L’objet, objet)

Mise à jour d’un fichier existant.

public bool TryUpdateTagAt(int index, object newValue)

Parameters

index int

L’index de la marque doit être mis à jour.

newValue object

La valeur de la marque. ne peut pas être nulle.

Returns

bool

Il risultato dell’operazione.

UpdateTagAt(L’objet, objet)

Mise à jour d’un fichier existant.

public void UpdateTagAt(int index, object newValue)

Parameters

index int

L’index de la marque doit être mis à jour.

newValue object

La valeur de la marque. ne peut pas être nulle.

 Français