matlab-dicominfo函数

matlab-dicominfo函数

函数功能:读取图像所包含的dicom信息

函数使用共三种方法:
info = dicominfo(filename)
info = dicominfo(filename,‘dictionary’,D)
info = dicominfo(___,Name,Value)
其中括号内为dicom图像路径信息

运行后info为包含dicom图像信息的结构体,包括的信息有:
info = struct with fields:
Filename: ‘/mathworks/devel/bat/Bdoc18a/build/matlab/toolbox/images/imdata/CT-MONO2-16-ankle.dcm’
FileModDate: ‘18-Dec-2000 12:06:43’
FileSize: 525436
Format: ‘DICOM’
FormatVersion: 3
Width: 512
Height: 512
BitDepth: 16
ColorType: ‘grayscale’
FileMetaInformationGroupLength: 192
FileMetaInformationVersion: [2x1 uint8]
MediaStorageSOPClassUID: ‘1.2.840.10008.5.1.4.1.1.7’
MediaStorageSOPInstanceUID: ‘1.2.840.113619.2.1.2411.1031152382.365.1.736169244’
TransferSyntaxUID: ‘1.2.840.10008.1.2’
ImplementationClassUID: ‘1.2.840.113619.6.5’
ImplementationVersionName: ‘1_2_5’
SourceApplicationEntityTitle: ‘CTN_STORAGE’
IdentifyingGroupLength: 414
ImageType: ‘DERIVED\SECONDARY\3D’
SOPClassUID: ‘1.2.840.10008.5.1.4.1.1.7’
SOPInstanceUID: ‘1.2.840.113619.2.1.2411.1031152382.365.1.736169244’
StudyDate: ‘1993.04.30’
SeriesDate: ‘1993.04.30’
ContentDate: ‘1993.04.30’
StudyTime: ‘11:27:24’
SeriesTime: ‘11:27:24’
ContentTime: ‘11:27:24’
Modality: ‘CT’
ConversionType: ‘WSD’
Manufacturer: ‘GE MEDICAL SYSTEMS’
InstitutionName: ‘JFK IMAGING CENTER’
ReferringPhysicianName: [1x1 struct]
StationName: ‘CT01OC0’
StudyDescription: ‘RT ANKLE’
PhysicianReadingStudy: [1x1 struct]
OperatorName: [1x1 struct]
ManufacturerModelName: ‘GENESIS_ZEUS’
PatientGroupLength: 18
PatientName: [1x1 struct]
AcquisitionGroupLength: 10
SoftwareVersion: ‘03’
RelationshipGroupLength: 134
StudyInstanceUID: ‘1.2.840.113619.2.1.1.322987881.621.736170080.681’
SeriesInstanceUID: ‘1.2.840.113619.2.1.2411.1031152382.365.736169244’
SeriesNumber: 365
InstanceNumber: 1
ImagePresentationGroupLength: 168
SamplesPerPixel: 1
PhotometricInterpretation: ‘MONOCHROME2’
Rows: 512
Columns: 512
BitsAllocated: 16
BitsStored: 16
HighBit: 15
PixelRepresentation: 1
SmallestImagePixelValue: 0
PixelPaddingValue: 0
WindowCenter: 1024
WindowWidth: 4095
RescaleIntercept: -1024
RescaleSlope: 1
RescaleType: ‘US’
PixelDataGroupLength: 524296

可通过info直接引用这些信息:示例:
row = info.Rows;

文中部分内容引自matlab帮助文档—dicominfo。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值