Page MenuHomePhabricator

Measurement frame saved in an unpracticable way by dicom import
Closed, ResolvedPublic

Description

When using the dicom import and directly saving as .dwi the measurement frame is stored as follows:

measurement frame:= ( 1.000000 , 0.000000 , 0.000000 ) ( 0.000000 , 1.000000 , 0.000000 ) ( 0.000000 , 0.000000 , 1.000000 ) \n

The high occurence of spaces make it difficult to preprocess the data correctly by the python script. It would be better if it saves this line like

measurement frame:= (1.000000,0.000000,0.000000) (0.000000,1.000000,0.000000) (0.000000,0.000000,1.000000)

Editing the file by hand after importing introduces problems when loading the data it the data are not split in header/raw.

Event Timeline

[8f2d54]: Merge branch 'bug-11006-measurementFrameSpaces'

Merged commits:

2012-02-17 09:26:57 Thomas van Bruggen [068e95]
removed spaces from field measurement frame in header