Login  Register

Dicom-how to set "origin and transformation" for the "multi-frame single file" dicom file?

Posted by WangPing on Feb 12, 2020; 6:05pm
URL: http://imagej.273.s1.nabble.com/Dicom-how-to-set-origin-and-transformation-for-the-multi-frame-single-file-dicom-file-tp5022928.html

sorry to bother everyone but this is a dicom question:

I used Matlab to create a multiframe single file, the data came from a DICOM series (separate image files) acquired on scanner.
I first used "dicominfo" to read one of the individual image file to get the dicom metadata information,

dcm_info = dicominfo([dicompath 'IM_0001']);

then used dicomwrite to write a multiframe single file,

dicomwrite(V3D, 'multiframe.dcm', dcm_info, 'MultiframeSingleFile', true, 'CreateMode', 'copy');


Everything looks good with the multiframe file but it turned out that the information of origin and transformation were lost. Does anyone know how to set such information (origin and transformation) to the "multiframe single file" dicom?

many thanks
Ping Wang


--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html