Plaque Simulator 7 (PS7) is scheduled to directly support loading of most DICOM files. Until PS7 is released you can preview several PS7 features in PS 6.8.6 and subsequent versions of PS6. To preview PS7 features in PS 6.8.6 you must use OsiriX to export the DICOM image data as a series of 16-bit signed
.raw format files and the DICOM meta-data as an .xml file. A demonstration tutorial named Tutorial, Ima can be found in PS6_Installer/EyePhysics/Plaque Simulator Patients/(Tutorials)/PS7 preview.
1. Use OsiriX to export DICOM to a series of
In Osirix open a 2D viewer window for the desired image series.
File/Export menu select export as Raw... .
Navigate to the folder in which you currently export your planar reconstructions (e.g.
OsiriX MPR), click the New Folder button in the Save window and create a new folder named Raw.
Save As: file name also to Raw and then click the Save button to save the files in the newly created Raw folder.
Osirix will export all of the images in the series using the filename
Raw with a sequential numeric tag. In this example, 72 images were exported to the Raw folder with names ranging from Raw.0 through Raw.71.
2. Export the DICOM meta-data to an
In Osirix open the meta-data window (e.g. there is a
meta-data button on the right of the 2D viewer toolbar to do this.
File/Export menu select export as XML file(s)...
Save the .xml file in the same newly created
Raw folder where you previously saved the Raw.nn .raw data files.
3. Trim the
The .xml meta-data export from Osirix will contain DICOM meta-data from all of the images. We only need meta-data from a single representative image to calibrate the .raw file series. We will use the BBEdit text editor to trim the .xml file.
Open the exported .xml file (e.g.
Tutorial, Ima.xml in a text editor such as BBEdit and do a Find search for the tag NativeDicomModel in the file.
The first instance of
NativeDicomModel should occur in the 2nd line of the .xml file
Next button and advance to the second instance of NativeDicomModel. This will be the closing tag of the NativeDicomModel .xml element of the first image (e.g. Raw.0).
Begin a text selection immediately after the closing tag of the first image...
and extend the selection to the end of the file.
Delete the selected text. The .xml file will now contain ony the meta-data that corresponds to the first raw file (e.g.
In BBEdit do a
File/Save to update the .xml file. In the MacOS Finder you should see the file size change from many MB to about 10 KB.
4. Export the planar reconstructions as .jpg files.
In order to maintain full backward compatibility with PS6, this would a good time to also export your .jpg multiplanar reconstructions named axial, sagittal, equator, nerve, n-axial, t-coronal and t-meridian into the same newly created
After creating and exporting the multiplanar reconstructions as .jpg files, drag the entire
Raw folder to the patient folder and then drag all of the the multiplanar reconstructions out of the Raw folder and into the patient folder.
When you initialize a new patient and drag the patient folder onto PS6's image window, PS 6.8.6 and later will also look for a folder named
Raw and search it for .raw and .xml files. The Rawfolder should contain a sequence of .raw image files named Raw.nn and only one .xml file that has been trimmed to include the meta-data of the file Raw.0.