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; }
不動産価値
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; }
不動産価値
Reds
レッドの色を調べる
[JsonProperty]
public byte[] Reds { get; }
不動産価値
byte ( )
RescaleIntercept
「RescaleIntercept」の価値を得る。
[JsonProperty]
public double RescaleIntercept { get; }
不動産価値
RescaleSlope
「RescaleSlope」の価値を得る。
[JsonProperty]
public double RescaleSlope { get; }
不動産価値
SamplesPerPixel
「サンプルパーピクセル」の価値を得る。
[JsonProperty]
public int SamplesPerPixel { get; }
不動産価値
SignedImage
「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(オブジェクト、オブジェクト)
新しいDicomタグを追加します。
public void AddTag(string tagDescription, object value)
Parameters
tagDescription
string
タグの説明:ゼロまたはホワイトスペースではありません。
value
object
タグの値は、ゼロではない。
RemoveTagAt(インタ)
既存のタグを削除する
public void RemoveTagAt(int index)
Parameters
index
int
タグのインデックスが更新されます。
TryAddTag(オブジェクト、オブジェクト)
新しいDicomタグを追加します。
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
タグの値は、ゼロではない。