Class DicomImageInfo

Class DicomImageInfo

نام ها : Aspose.Imaging.FileFormats.Dicom جمع آوری: Aspose.Imaging.dll (25.4.0)

حاوی تمام اطلاعات متا از عنوان فایل Dicom

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

Inheritance

object DicomImageInfo

اعضای ارثی

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; }

ارزش املاک

int

BitsStored

تعداد بیت های ذخیره شده را دریافت کنید.

[JsonProperty]
public int BitsStored { get; }

ارزش املاک

int

Blues

رنگ آمیزی رنگ آمیزی رنگ آبی

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

ارزش املاک

byte [ ]

DicomHeaderInfoByBytes

اطلاعات دایکوم را با بایت دریافت می کند.

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

ارزش املاک

byte [ ]

DicomInfo

اطلاعات عنوان فایل DICOM را دریافت می کند.

public ReadOnlyCollection<string> DicomInfo { get; }

ارزش املاک

ReadOnlyCollection &lt؛ 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; }

ارزش املاک

int

IsLittleEndian

یک مقدار را نشان می دهد که آیا این مثال کوچک است یا نه.

[JsonProperty]
public bool IsLittleEndian { get; }

ارزش املاک

bool

NumberOfFrames

تعداد فریم ها را نشان می دهد.

[JsonProperty]
public int NumberOfFrames { get; }

ارزش املاک

int

Offset

تخفیف را دریافت کنید.

[JsonProperty]
public int Offset { get; }

ارزش املاک

int

PhotoInterpretation

ارزش «تفسیر عکاسی» را به دست می آورد.

[JsonProperty]
public string PhotoInterpretation { get; }

ارزش املاک

string

PixelRepresentation

یک مقدار از پیکسل “PixelRepresentation” دریافت می کند.

[JsonProperty]
public int PixelRepresentation { get; }

ارزش املاک

int

PlanarConfiguration

تنظیمات برنامه را به دست آورید.

[JsonProperty]
public int PlanarConfiguration { get; }

ارزش املاک

int

ReadonlyTagsList

این ارزش های برچسب بر اساس داده های تصویر واقعی در ذخیره تصویر تنظیم می شود.

public static ReadOnlyCollection<string> ReadonlyTagsList { get; }

ارزش املاک

ReadOnlyCollection &lt؛ string >

Reds

رنگ آمیزی رنگ قرمز را به دست می آورد

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

ارزش املاک

byte [ ]

RescaleIntercept

به دست آوردن ارزش از “RescaleIntercept”.

[JsonProperty]
public double RescaleIntercept { get; }

ارزش املاک

double

RescaleSlope

به دست آوردن ارزش از “rescaleSlope”.

[JsonProperty]
public double RescaleSlope { get; }

ارزش املاک

double

SamplesPerPixel

به دست آوردن ارزش از “نمونه هایPerPixel”.

[JsonProperty]
public int SamplesPerPixel { get; }

ارزش املاک

int

SignedImage

یک مقدار را نشان می دهد که آیا “SignedImage” است یا خیر.

public bool SignedImage { get; }

ارزش املاک

bool

Width

پهنای باند را می گیرد.

[JsonProperty]
public int Width { get; }

ارزش املاک

int

WindowCentre

در مرکز پنجره قرار می گیرد.

[JsonProperty]
public double WindowCentre { get; }

ارزش املاک

double

WindowWidth

عرض پنجره را نشان می دهد.

[JsonProperty]
public double WindowWidth { get; }

ارزش املاک

double

Methods

AddTag(تگ ها، اشیاء)

بایگانی برچسب: Dicom tag

public void AddTag(string tagDescription, object value)

Parameters

tagDescription string

برچسب توصیف: نمی تواند صفر یا فضای سفید باشد.

value object

ارزش برچسب: نمی تواند صفر باشد.

RemoveTagAt(int)

یک تگ موجود را حذف کنید.

public void RemoveTagAt(int index)

Parameters

index int

شاخص برچسب باید به روز شود.

TryAddTag(تگ ها، اشیاء)

بایگانی برچسب: Dicom tag

public bool TryAddTag(string tagDescription, object value)

Parameters

tagDescription string

برچسب توصیف: نمی تواند صفر یا فضای سفید باشد.

value object

ارزش برچسب: نمی تواند صفر باشد.

Returns

bool

نتیجه عملیات

TryRemoveTagAt(int)

یک تگ موجود را حذف کنید.

public bool TryRemoveTagAt(int index)

Parameters

index int

شاخص برچسب باید به روز شود.

Returns

bool

نتیجه عملیات

TryUpdateTagAt(موضوع، موضوع)

یک برچسب فعلی را به روز کنید.

public bool TryUpdateTagAt(int index, object newValue)

Parameters

index int

شاخص برچسب باید به روز شود.

newValue object

ارزش برچسب: نمی تواند صفر باشد.

Returns

bool

نتیجه عملیات

UpdateTagAt(موضوع، موضوع)

یک برچسب فعلی را به روز کنید.

public void UpdateTagAt(int index, object newValue)

Parameters

index int

شاخص برچسب باید به روز شود.

newValue object

ارزش برچسب: نمی تواند صفر باشد.

 فارسی