Class DicomImageInfo
اسم الفضاء : Aspose.Imaging.FileFormats.Dicom تجميع: Aspose.Imaging.dll (25.4.0)
يحتوي على جميع المعلومات الميتا من عنوان ملف Dicom
[JsonObject(MemberSerialization.OptIn)]
public sealed class DicomImageInfo
Inheritance
الأعضاء الموروثين
object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Properties
BitsAllocated
يحصل على قيمة من “bitsAllocated”.
[JsonProperty]
public int BitsAllocated { get; }
قيمة الممتلكات
BitsStored
يحصل على عدد البيتات المخزنة.
[JsonProperty]
public int BitsStored { get; }
قيمة الممتلكات
Blues
يحصل على ألوان الأزرق
[JsonProperty]
public byte[] Blues { get; }
قيمة الممتلكات
byte [ ]
DicomHeaderInfoByBytes
يحصل على معلومات العنوان ديكوم بواسطة بايت.
[JsonProperty]
public byte[] DicomHeaderInfoByBytes { get; }
قيمة الممتلكات
byte [ ]
DicomInfo
يحصل على معلومات العنوان من ملف DICOM.
public ReadOnlyCollection<string> DicomInfo { get; }
قيمة الممتلكات
ReadOnlyCollection <؛ string >
Examples
يظهر المثال التالي كيفية قراءة معلومات العنوان في صورة 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
يحصل على ألوان اللون الأخضر
[JsonProperty]
public byte[] Greens { get; }
قيمة الممتلكات
byte [ ]
Height
يحصل على الارتفاع.
[JsonProperty]
public int Height { get; }
قيمة الممتلكات
IsLittleEndian
يحصل على قيمة تشير إلى ما إذا كانت هذه الحالة صغيرة.
[JsonProperty]
public bool IsLittleEndian { get; }
قيمة الممتلكات
NumberOfFrames
يحصل على عدد الإطارات.
[JsonProperty]
public int NumberOfFrames { get; }
قيمة الممتلكات
Offset
احصل على التعويض
[JsonProperty]
public int Offset { get; }
قيمة الممتلكات
PhotoInterpretation
يحصل على قيمة من “تفسير الصور”.
[JsonProperty]
public string PhotoInterpretation { get; }
قيمة الممتلكات
PixelRepresentation
يحصل على قيمة من بكسل “PixelRepresentation”.
[JsonProperty]
public int PixelRepresentation { get; }
قيمة الممتلكات
PlanarConfiguration
يحصل على إعداد خطة.
[JsonProperty]
public int PlanarConfiguration { get; }
قيمة الممتلكات
ReadonlyTagsList
هذه القيم العلامة سيتم إعادة تعيينها وفقًا لبيانات الصورة الفعلية عند حفظ الصورة.
public static ReadOnlyCollection<string> ReadonlyTagsList { get; }
قيمة الممتلكات
ReadOnlyCollection <؛ string >
Reds
يحصل على الألوان من اللون الأحمر
[JsonProperty]
public byte[] Reds { get; }
قيمة الممتلكات
byte [ ]
RescaleIntercept
يحصل على قيمة من “RescaleIntercept”.
[JsonProperty]
public double RescaleIntercept { get; }
قيمة الممتلكات
RescaleSlope
يحصل على قيمة من “rescaleSlope”.
[JsonProperty]
public double RescaleSlope { get; }
قيمة الممتلكات
SamplesPerPixel
يحصل على قيمة من “النماذجPerPixel”.
[JsonProperty]
public int SamplesPerPixel { get; }
قيمة الممتلكات
SignedImage
يحصل على قيمة تشير إلى ما إذا كان “توقيع الصورة”.
public bool SignedImage { get; }
قيمة الممتلكات
Width
يحصل على العرض
[JsonProperty]
public int Width { get; }
قيمة الممتلكات
WindowCentre
احصل على مركز النافذة.
[JsonProperty]
public double WindowCentre { get; }
قيمة الممتلكات
WindowWidth
يحصل على عرض النافذة.
[JsonProperty]
public double WindowWidth { get; }
قيمة الممتلكات
Methods
AddTag(الخصائص، Object)
إضافة علامة ديكوم الجديدة.
public void AddTag(string tagDescription, object value)
Parameters
tagDescription
string
وصف العلامة لا يمكن أن يكون صفر أو الفضاء الأبيض.
value
object
قيمة العلامة لا يمكن أن تكون صفر.
RemoveTagAt(إنت)
إزالة علامة موجودة.
public void RemoveTagAt(int index)
Parameters
index
int
يجب تحديث مؤشر العلامة.
TryAddTag(الخصائص، Object)
إضافة علامة ديكوم الجديدة.
public bool TryAddTag(string tagDescription, object value)
Parameters
tagDescription
string
وصف العلامة لا يمكن أن يكون صفر أو الفضاء الأبيض.
value
object
قيمة العلامة لا يمكن أن تكون صفر.
Returns
نتيجة العملية .
TryRemoveTagAt(إنت)
إزالة علامة موجودة.
public bool TryRemoveTagAt(int index)
Parameters
index
int
يجب تحديث مؤشر العلامة.
Returns
نتيجة العملية .
TryUpdateTagAt(موضوع، موضوع)
تحديث العلامة الحالية.
public bool TryUpdateTagAt(int index, object newValue)
Parameters
index
int
يجب تحديث مؤشر العلامة.
newValue
object
قيمة العلامة لا يمكن أن تكون صفر.
Returns
نتيجة العملية .
UpdateTagAt(موضوع، موضوع)
تحديث العلامة الحالية.
public void UpdateTagAt(int index, object newValue)
Parameters
index
int
يجب تحديث مؤشر العلامة.
newValue
object
قيمة العلامة لا يمكن أن تكون صفر.