dcm.bff

来自「toolbox of BVQX, This is the access betw」· BFF 代码 · 共 47 行

BFF
47
字号
# BinaryFileFormat (leave this tag as its own magic token!)

# DICOM files
#
# Version:  v0.7a
# Build:    7082815
# Date:     Aug-28 2007, 3:45 PM CEST
# Author:   Jochen Weber, Brain Innovation, B.V., Maastricht, NL
# URL/Info: http://wiki.brainvoyager.com/BVQXtools

# FILE FORMAT
Description:DICOM files
EncodingSyntax:ieee-le
Extensions:dcm
Magic:|
name             |range       |type    |magic
DCM_DICMMagic    |129, 132    |hex     |44,49,43,4d
EndMagic

# FIELDS
ListOfFields:!
type  !cond                   !disktype!datatype!dim                      !default !varname

# no write support at the moment
EXPRE !$BFFWRITE              !!!!!error('no write support');

# use external reader !
EXPRE !$BFFREAD               !!!!!try, t_obj = dcmio($FILENAME); t_str = struct(t_obj); @@ = getcont(t_obj); BVQXfile(0, 'clearobj', t_str.L); catch, error('error reading file'); end

EndListOfFields

NewFileCode:!
@Magic = 'DICM';
@Preamble = 1;
@MetaTSExplicit = 1;
@MetaLittleEndian = 1;
@Meta = cell2struct(cell(0, 0, 5), {'Key', 'VR', 'VLShort', 'VLLong', 'Value'}, 3);
@MetaKeys = cell(0, 1);
@MetaKeyLookup = struct;
@DataDictionary = 'OFFIS';
@DataTSExplicit = 1;
@DataLittleEndian = 1;
@Data = cell2struct(cell(0, 0, 5), {'Key', 'VR', 'VLShort', 'VLLong', 'Value'}, 3);
@DataKeys = cell(0, 1);
@DataKeyLookup = struct;
EndNewFileCode

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?