Class DicomImageInfo

Class DicomImageInfo

Nama dari : Aspose.Imaging.FileFormats.Dicom Pengumpulan: Aspose.Imaging.dll (25.4.0)

Mengandungi semua meta-informasi dari tajuk file Dicom

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

Inheritance

object DicomImageInfo

anggota yang diwarisi

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

Properties

BitsAllocated

Dapatkan nilai dari “bitsAllocated”.

[JsonProperty]
public int BitsAllocated { get; }

Nilai Properti

int

BitsStored

Dapatkan jumlah bit yang disimpan.

[JsonProperty]
public int BitsStored { get; }

Nilai Properti

int

Blues

Dapatkan warna array dari biru

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

Nilai Properti

byte [ ]

DicomHeaderInfoByBytes

Dapatkan informasi header dicom dengan byte.

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

Nilai Properti

byte [ ]

DicomInfo

Dapatkan informasi header dari file DICOM.

public ReadOnlyCollection<string> DicomInfo { get; }

Nilai Properti

ReadOnlyCollection dan lt; string >

Examples

Contoh berikut menunjukkan bagaimana membaca informasi tajuk dari gambar 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

Dapatkan warna array dari hijau

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

Nilai Properti

byte [ ]

Height

Mendapatkan ketinggian

[JsonProperty]
public int Height { get; }

Nilai Properti

int

IsLittleEndian

Dapatkan nilai yang menunjukkan apakah instansi ini sedikit akhir.

[JsonProperty]
public bool IsLittleEndian { get; }

Nilai Properti

bool

NumberOfFrames

Dapatkan jumlah bingkai.

[JsonProperty]
public int NumberOfFrames { get; }

Nilai Properti

int

Offset

Mendapatkan kompensasi.

[JsonProperty]
public int Offset { get; }

Nilai Properti

int

PhotoInterpretation

Dapatkan nilai dari “fotointerpretasi”.

[JsonProperty]
public string PhotoInterpretation { get; }

Nilai Properti

string

PixelRepresentation

Dapatkan nilai dari pixel “pixelRepresentation”.

[JsonProperty]
public int PixelRepresentation { get; }

Nilai Properti

int

PlanarConfiguration

Dapatkan konfigurasi planar.

[JsonProperty]
public int PlanarConfiguration { get; }

Nilai Properti

int

ReadonlyTagsList

Nilai tag ini akan ditetapkan kembali sesuai dengan data gambar yang sebenarnya pada gambar disimpan.

public static ReadOnlyCollection<string> ReadonlyTagsList { get; }

Nilai Properti

ReadOnlyCollection dan lt; string >

Reds

Dapatkan warna array dari merah

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

Nilai Properti

byte [ ]

RescaleIntercept

Dapatkan nilai dari “rescaleIntercept”.

[JsonProperty]
public double RescaleIntercept { get; }

Nilai Properti

double

RescaleSlope

Dapatkan nilai dari “rescaleSlope”.

[JsonProperty]
public double RescaleSlope { get; }

Nilai Properti

double

SamplesPerPixel

Dapatkan nilai dari “sempelPerPixel”.

[JsonProperty]
public int SamplesPerPixel { get; }

Nilai Properti

int

SignedImage

Dapatkan nilai yang menunjukkan apakah “signedImage”.

public bool SignedImage { get; }

Nilai Properti

bool

Width

Dapatkan lebar

[JsonProperty]
public int Width { get; }

Nilai Properti

int

WindowCentre

Mendapatkan pusat jendela.

[JsonProperty]
public double WindowCentre { get; }

Nilai Properti

double

WindowWidth

Dapatkan lebar jendela.

[JsonProperty]
public double WindowWidth { get; }

Nilai Properti

double

Methods

AddTag(String dan Object)

Tambahkan tag dicom baru.

public void AddTag(string tagDescription, object value)

Parameters

tagDescription string

Tabel deskripsi. tidak dapat null atau white space.

value object

Nilai tag. tidak dapat menjadi nol.

RemoveTagAt(int)

Menghapus tag yang ada.

public void RemoveTagAt(int index)

Parameters

index int

Indeks dari tag harus diperbarui.

TryAddTag(String dan Object)

Tambahkan tag dicom baru.

public bool TryAddTag(string tagDescription, object value)

Parameters

tagDescription string

Tabel deskripsi. tidak dapat null atau white space.

value object

Nilai tag. tidak dapat menjadi nol.

Returns

bool

hasil operasi tersebut.

TryRemoveTagAt(int)

Menghapus tag yang ada.

public bool TryRemoveTagAt(int index)

Parameters

index int

Indeks dari tag harus diperbarui.

Returns

bool

hasil operasi tersebut.

TryUpdateTagAt(objek, objek)

Update tag yang sudah ada.

public bool TryUpdateTagAt(int index, object newValue)

Parameters

index int

Indeks dari tag harus diperbarui.

newValue object

Nilai tag. tidak dapat menjadi nol.

Returns

bool

hasil operasi tersebut.

UpdateTagAt(objek, objek)

Update tag yang sudah ada.

public void UpdateTagAt(int index, object newValue)

Parameters

index int

Indeks dari tag harus diperbarui.

newValue object

Nilai tag. tidak dapat menjadi nol.

 Indonesia