Target Outcome

The goal of this data analysis specification is to transform the ultrasound position data to the model coordinate system (either the CT or MR imaging coordinate system).

  1. Define coordinate system transformation between the image coordinate system and bone marker coordinate system (fiducial spheres).
  2. Transform ultrasound probe position to image coordinate system and verify probe positions with relation to the CT and/or MR images.

Prerequisites

Infrastructure

Previous Protocols

Requirements

Procedures

Registration Marker Segmentation

3DSlicer was used to manually segment all fiducial markers that were digitized during ultrasound data collection from the CT and MR images. Note: at least three markers should be used for each bone.

Protocol

Coordinate System Transformation Visualization

Folder Structure

These files are needed to run the script

Protocol - Visualization

This script transforms the ultrasound positions and orientations of the desired segment to the image coordinate system of choice (CT or MRI) and displays in a mayavi window.

  1. Make sure the subject directory follows the format outlined above and that all files are named according to the labeling specifications. You will also find a complete breakdown of the appropriate directory organization here.

  2. Modify directory, segment, imaging modality, and registration ID parameters that are located at the bottom of the script.
    • dir is the root directory of the subject (i.e. CMULTIS002-2)

    • segment is the segment that you are interested in viewing/transforming (Four options include: UpperArm, LowerArm, UpperLeg, and LowerLeg)

    • modality is the imaging modality that you would like the coordinates to be in (Either MRI or CT)

    • registration_id is the name of the registration directory to read registration marker STLs and send outputs to.

  3. Run the script.
  4. Outputs:
    • Visualization of ultrasound locations during the experiment

Protocol - Save Data

This script transforms the ultrasound positions and orientations of the desired segment to the image coordinate system of choice (CT or MRI) and saves the data to an XML. Registration errors will also be saved as text files.

  1. Make sure the subject directory follows the format outlined above and that all files are named according to the labeling specifications. You will also find a complete breakdown of the appropriate directory organization here.

  2. Modify directory, segment, imaging modality, and registration ID parameters that are located at the bottom of the script.
    • dir is the root directory of the subject (i.e. CMULTIS002-2)

    • segment is the segment that you are interested in viewing/transforming (Four options include: UpperArm, LowerArm, UpperLeg, and LowerLeg)

    • modality is the imaging modality that you would like the coordinates to be in (Either MRI or CT)

    • registration_id is the name of the registration directory to read registration marker STLs and send outputs to.

  3. Run the script.
  4. Outputs:
    • XML document of probe tip positions in imaging coordinate system for each accepted trial corresponding to the subject, segment, and coordinate system chosen.
      • Directory: Registration/"registration_id"/USPositions/"modality"/
      • Naming convention: "registration id"_"Donor ID"_"Segment"_US_"modality".xml
        • Example: R01_CMULTIS004-1_UL_US_CT.xml
    • Text file of registration errors between digitized points and segmented spheres in specified image coordinate system.
      • Directory: Registration/"registration_id"/QualityCheck/
      • Naming convention: "registration id"_"Donor ID"_MQC_DG_"modality"_"segment".txt
        • Example: R01_CMULTIS004-1_MQC_DG_CT_LA.txt

Dry Mock Registration Errors

CMULTIS006-1 (Leg) and CMULTIS012-1 (Leg) Comparison

CMULTIS012-1 (Leg) and CMULTIS012-2 (Arm) Comparison

Specifications/DataAnalysis/Registration (last edited 2018-11-12 17:50:57 by ricimorrill1)