DSX: Image and Surface Files

From Software Product Documentation
Revision as of 21:17, 4 February 2021 by Wikisysop (talk | contribs)
Jump to navigation Jump to search

The Image File contains the segmented 3D image data (CT or MRI) of the object. This file is created in a program like Surface3D, Mimics, or ScanIP by labeling the voxels representing the object, then setting all other voxels to zero. The resulting image volume is usually then cropped to the bounding box of the object's voxels, though this step is optional. The Image File has an implicit reference frame, with the origin in the lower-left corner of the first image slice, X going to the right, Y up, and Z increasing through the stack of slices. This reference frame is sometimes called the "CT frame" in the DSX documentation. The units for 3D image data are usually millimeters, but this depends on the settings of the scanner software.

The Surface File contains a polygonal representation of the surface of the object. It is often created by applying a marching-cubes algorithm to the data in the Image File, then outputting the vertices and polygons in the OBJ or STL formats. The vertices must be in the same units as the image data (usually millimeters), and expressed in the same reference frame as the one defined by the Image File. This is because the Image File is used to generate DRRs for tracking the objects in X-ray images, and the tracked poses are then used to animate the surface models for kinematic analysis. So the surface model must be in the same frame and units as the image data that was used to create it. If you generate the Image File and Surface File using Surface3D, they will automatically be output in the same frame. If you use third-party software to generate one or both of these files, you should use the Image/Surface Match widget in Orient3D to make sure that the files are consistent with each other.

The ROI Surface File is the same polygonal surface model as in the Surface File, but the vertices are expressed in meters in the object's local coordinate system (LCS). The LCS is the "anatomically meaningful" reference frame for the object, often defined by running a mathematical algorithm on the surface geometry (e.g., the Miranda algorithm for the distal femur and proximal tibia). Tracking results from Locate3D and X4D are output as the transform from the X-ray lab frame to the LCS of the object. Thus, the placement of the LCS within each object should be done carefully and with an eye towards the kinematic analyses that will be performed on the tracking results. Meters are used for the units because Visual3D expects distances and translations to be specified in meters.

Retrieved from ""