ヘルプ センターヘルプ センター
DICOM の固有識別子の情報の取得
details = images.dicom.decodeUID(uid)
例
details = images.dicom.decodeUID(uid) は uid に含まれる DICOM の固有識別子の情報を返します。details には UID の名前とタイプが含まれています。uid が転送構文に対応する場合、details にはエンディアン、イメージ ピクセルを読み取るために必要な DICOM 値の表現 (VR)、および圧縮の情報も含まれます。
details
uid
関数 images.dicom.decodeUID は、PS 3.6-2009 でのいくつかの追加を含め、PS 3.6-1999 の仕様で定義された ID を解釈できます。
images.dicom.decodeUID
すべて折りたたむ
DICOM ファイルからメタデータを読み取り、UID フィールドを抽出します。
info = dicominfo("CT-MONO2-16-ankle.dcm"); uid = info.SOPClassUID;
UID を復号化します。
uid_info = images.dicom.decodeUID(uid)
uid_info = struct with fields: Value: '1.2.840.10008.5.1.4.1.1.7' Name: 'Secondary Capture Image Storage' Type: 'SOP Class'
DICOM の固有識別子。string または文字ベクトルとして指定します。
例: "1.2.840.10008.5.1.4.1.1.7"
"1.2.840.10008.5.1.4.1.1.7"
データ型: char | string
char
string
UID からの情報。次のフィールドをもつ構造体として返されます。
Value
UID の値。文字ベクトルとして返されます。uid が有効な UID ではない場合、このフィールドの値は空の文字ベクトル '' になります。
''
Name
UID の名前。文字ベクトルとして返されます。
Type
UID のタイプ。文字ベクトルとして返されます。
転送構文の場合、構造体には次の追加フィールドがあります。
Compressed
true
false
Endian
'ieee-be'
'ieee-le'
PixelEndian
VR
'Implicit'
'Explicit'
LossyCompression
CompressionType
R2017b で導入
dicominfo | dicomuid
dicominfo
dicomuid
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office