Class DicomImageInfo

Class DicomImageInfo

A név: Aspose.Imaging.FileFormats.Dicom Összefoglaló: Aspose.Imaging.dll (25.4.0)

Tartalmazza az összes meta-információt a Dicom fájl címe

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

Inheritance

object DicomImageInfo

Örökletes tagok

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

Properties

BitsAllocated

Megkapja a „bitsAllocated” értéket.

[JsonProperty]
public int BitsAllocated { get; }

ingatlan értéke

int

BitsStored

Megkapja a tárolt bitek számát.

[JsonProperty]
public int BitsStored { get; }

ingatlan értéke

int

Blues

Megkapja a kék színek array

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

ingatlan értéke

byte []

DicomHeaderInfoByBytes

Megkapja a dicom fejjel információt byteken keresztül.

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

ingatlan értéke

byte []

DicomInfo

Megkapja a DICOM fájl címkével kapcsolatos információkat.

public ReadOnlyCollection<string> DicomInfo { get; }

ingatlan értéke

ReadOnlyCollection < string >

Examples

Az alábbi példa azt mutatja, hogyan olvashatjuk el a DICOM kép címkéjét.

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

Megkapja a zöld színeket

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

ingatlan értéke

byte []

Height

Megkapja a magasságot.

[JsonProperty]
public int Height { get; }

ingatlan értéke

int

IsLittleEndian

Megkapja az értéket, amely azt jelzi, hogy ez az eset kevés végzetes.

[JsonProperty]
public bool IsLittleEndian { get; }

ingatlan értéke

bool

NumberOfFrames

Megkapja a keretek számát.

[JsonProperty]
public int NumberOfFrames { get; }

ingatlan értéke

int

Offset

Megkapja a kedvezményt.

[JsonProperty]
public int Offset { get; }

ingatlan értéke

int

PhotoInterpretation

Megkapja a „fotóinterpretáció” értéket.

[JsonProperty]
public string PhotoInterpretation { get; }

ingatlan értéke

string

PixelRepresentation

Megkap egy értéket a pixel “pixelRepresentation”.

[JsonProperty]
public int PixelRepresentation { get; }

ingatlan értéke

int

PlanarConfiguration

Megkapja a tervezési konfigurációt.

[JsonProperty]
public int PlanarConfiguration { get; }

ingatlan értéke

int

ReadonlyTagsList

Ezek a tagértékek a valós képadatoknak megfelelően kerülnek átalakításra a kép mentésén.

public static ReadOnlyCollection<string> ReadonlyTagsList { get; }

ingatlan értéke

ReadOnlyCollection < string >

Reds

Megkapja a vörös színek array

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

ingatlan értéke

byte []

RescaleIntercept

Megkapja a „rescalintercept” értéket.

[JsonProperty]
public double RescaleIntercept { get; }

ingatlan értéke

double

RescaleSlope

Megkapja a „rescaleSlope” értéket.

[JsonProperty]
public double RescaleSlope { get; }

ingatlan értéke

double

SamplesPerPixel

Megkap egy értéket a “perpixel minták”.

[JsonProperty]
public int SamplesPerPixel { get; }

ingatlan értéke

int

SignedImage

Megkapja az értéket, amely azt jelzi, hogy „SignedImage”.

public bool SignedImage { get; }

ingatlan értéke

bool

Width

Megkapja a szélességet.

[JsonProperty]
public int Width { get; }

ingatlan értéke

int

WindowCentre

Megkapja az ablak központját.

[JsonProperty]
public double WindowCentre { get; }

ingatlan értéke

double

WindowWidth

Megkapja az ablak szélességét.

[JsonProperty]
public double WindowWidth { get; }

ingatlan értéke

double

Methods

AddTag(Térkép, objektum)

Hozzáadja az új Dicom tagot.

public void AddTag(string tagDescription, object value)

Parameters

tagDescription string

A címke leírása. nem lehet nulla vagy fehér tér.

value object

A tag értéke. nem lehet null.

RemoveTagAt(int)

Távolítsa el a meglévő tagot.

public void RemoveTagAt(int index)

Parameters

index int

A tag indexét naprakésszé kell tenni.

TryAddTag(Térkép, objektum)

Hozzáadja az új Dicom tagot.

public bool TryAddTag(string tagDescription, object value)

Parameters

tagDescription string

A címke leírása. nem lehet nulla vagy fehér tér.

value object

A tag értéke. nem lehet null.

Returns

bool

A művelet eredménye.

TryRemoveTagAt(int)

Távolítsa el a meglévő tagot.

public bool TryRemoveTagAt(int index)

Parameters

index int

A tag indexét naprakésszé kell tenni.

Returns

bool

A művelet eredménye.

TryUpdateTagAt(objektum, objektum)

Aktualizálja a meglévő tagot.

public bool TryUpdateTagAt(int index, object newValue)

Parameters

index int

A tag indexét naprakésszé kell tenni.

newValue object

A tag értéke. nem lehet null.

Returns

bool

A művelet eredménye.

UpdateTagAt(objektum, objektum)

Aktualizálja a meglévő tagot.

public void UpdateTagAt(int index, object newValue)

Parameters

index int

A tag indexét naprakésszé kell tenni.

newValue object

A tag értéke. nem lehet null.

 Magyar