Class DicomImageInfo
İsim alanı : Aspose.Imaging.FileFormats.Dicom Toplantı: Aspose.Imaging.dll (25.4.0)
Dicom dosya başlığından tüm meta bilgileri içerir
[JsonObject(MemberSerialization.OptIn)]
public sealed class DicomImageInfo
Inheritance
mirasçı üyeleri
object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Properties
BitsAllocated
“BitsAllocated” değerini alır.
[JsonProperty]
public int BitsAllocated { get; }
Mülkiyet Değer
BitsStored
Depolanan bitlerin sayısını alır.
[JsonProperty]
public int BitsStored { get; }
Mülkiyet Değer
Blues
Mavi’nin array renklerini alır
[JsonProperty]
public byte[] Blues { get; }
Mülkiyet Değer
byte […]
DicomHeaderInfoByBytes
Dikom başlık bilgileri byte ile alınır.
[JsonProperty]
public byte[] DicomHeaderInfoByBytes { get; }
Mülkiyet Değer
byte […]
DicomInfo
DICOM dosyasının başlık bilgilerini alır.
public ReadOnlyCollection<string> DicomInfo { get; }
Mülkiyet Değer
ReadOnlyCollection < için; string >
Examples
Aşağıdaki örnek, bir DICOM görüntüsünün başlık bilgilerini nasıl okuyacağınızı gösterir.
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
Yeşil renklerin array renklerini alır
[JsonProperty]
public byte[] Greens { get; }
Mülkiyet Değer
byte […]
Height
Yüksekliği alır.
[JsonProperty]
public int Height { get; }
Mülkiyet Değer
IsLittleEndian
Bu durumun küçük bir endian olup olmadığını gösteren bir değer alır.
[JsonProperty]
public bool IsLittleEndian { get; }
Mülkiyet Değer
NumberOfFrames
Çerçeve sayısını alır.
[JsonProperty]
public int NumberOfFrames { get; }
Mülkiyet Değer
Offset
Ödemeyi alır.
[JsonProperty]
public int Offset { get; }
Mülkiyet Değer
PhotoInterpretation
“Fotografik yorum” anlamına gelir.
[JsonProperty]
public string PhotoInterpretation { get; }
Mülkiyet Değer
PixelRepresentation
“Pixel Representation” piksel değerini alır.
[JsonProperty]
public int PixelRepresentation { get; }
Mülkiyet Değer
PlanarConfiguration
Planlı yapılandırma yapılır.
[JsonProperty]
public int PlanarConfiguration { get; }
Mülkiyet Değer
ReadonlyTagsList
Bu etiket değerleri gerçek görüntü verilerine göre yeniden ayarlanır.
public static ReadOnlyCollection<string> ReadonlyTagsList { get; }
Mülkiyet Değer
ReadOnlyCollection < için; string >
Reds
Kırmızı renklerin array rengi alır
[JsonProperty]
public byte[] Reds { get; }
Mülkiyet Değer
byte […]
RescaleIntercept
“RescaleIntercept” değerini alır.
[JsonProperty]
public double RescaleIntercept { get; }
Mülkiyet Değer
RescaleSlope
“RescaleSlope” değerini alır.
[JsonProperty]
public double RescaleSlope { get; }
Mülkiyet Değer
SamplesPerPixel
“PerPixel örnekleri” değerini alır.
[JsonProperty]
public int SamplesPerPixel { get; }
Mülkiyet Değer
SignedImage
“SignedImage” olup olmadığını gösteren bir değer alır.
public bool SignedImage { get; }
Mülkiyet Değer
Width
Genişliğe ulaşır.
[JsonProperty]
public int Width { get; }
Mülkiyet Değer
WindowCentre
pencere merkezine ulaşır.
[JsonProperty]
public double WindowCentre { get; }
Mülkiyet Değer
WindowWidth
Pencerelerin genişliğini alır.
[JsonProperty]
public double WindowWidth { get; }
Mülkiyet Değer
Methods
AddTag(Çerçeve , Object)
Yeni Dicom etiketini ekleyin.
public void AddTag(string tagDescription, object value)
Parameters
tagDescription
string
Etiket açıklaması. sıfır veya beyaz alan olamaz.
value
object
Etiket değeri. sıfır olamaz.
RemoveTagAt(int ile)
Mevcut bir etiket kaldırın.
public void RemoveTagAt(int index)
Parameters
index
int
Etiket indeksi güncellenecektir.
TryAddTag(Çerçeve , Object)
Yeni Dicom etiketini ekleyin.
public bool TryAddTag(string tagDescription, object value)
Parameters
tagDescription
string
Etiket açıklaması. sıfır veya beyaz alan olamaz.
value
object
Etiket değeri. sıfır olamaz.
Returns
Operasyon Sonuçları
TryRemoveTagAt(int ile)
Mevcut bir etiket kaldırın.
public bool TryRemoveTagAt(int index)
Parameters
index
int
Etiket indeksi güncellenecektir.
Returns
Operasyon Sonuçları
TryUpdateTagAt(nesne, nesne)
Mevcut etiketleri güncelleyin.
public bool TryUpdateTagAt(int index, object newValue)
Parameters
index
int
Etiket indeksi güncellenecektir.
newValue
object
Etiket değeri. sıfır olamaz.
Returns
Operasyon Sonuçları
UpdateTagAt(nesne, nesne)
Mevcut etiketleri güncelleyin.
public void UpdateTagAt(int index, object newValue)
Parameters
index
int
Etiket indeksi güncellenecektir.
newValue
object
Etiket değeri. sıfır olamaz.