Target Outcome

This specification deals with transforming a fully realistic specimen-specific model into a realistic partially specific subject-specific model using parametrization of the model geometry.

Protocols

Required Infrastructure

Inputs

Description

Starting from a surface model, the in vitro measurement points need to be located in the model's coordinate system. These point will be used as the control points in the model parametrization. The model will then be stretched to the location of measurement from the various in vivo subjects using Gaussian radial basis functions. The morphed model will then be saved under a new systematic name, that has yet to be determined.

As an illustrative example of this functionality a femur is morphed much further than will be necessary for this study. The first image shows the guide points (in red), the second image shows the adjusted guide point locations relative to the original femur, and the final shows the morphed femur geometry.

Procedure

Use the python script MultisMeshMorphing.py

The model circumference is no longer used in morphing, nor is the resulting circumference reported.

Morphed Leg

Output

Morphed representation of tissue of interest in Stl format in MRI coordinate system.

This Stl will be used in Mesh Generation.

Cropped Morphing

The cropped morphing method starts with the cropped leg model in MED format.

Then running the python script will:

  1. Using meshio read the cropped med file.
  2. Read in the data from in-vivo and in-vitro experimentation. This is similar to the other morphing procedure.
  3. Turn layer thickness from ultrasound into total thicknesses. The cropped vtk model no longer distinguishes between layers.
  4. Probe position is assumed to be surface of the model, even though it isn’t in the test case.
  5. Bone location is determined from the probe point + total thickness * probe direction
  6. The four bottom corners, plus a “center point” approximating the intersection of the probe direction vector and the bottom plane of the model are found.
  7. These bottom points plus the probe location and probe bone location are the control points of the morph.
  8. The only point that is moved for morphing is the probe point.
  9. It is moved along the direction of the probe based off the thickness change of between the original and the morphing subject.
  10. Morph is calculated.
  11. Assign the morphed point to the meshio mesh
  12. Write the new meshio mesh into a new morphed med.

Specifications/GeometryMorphing (last edited 2020-04-23 18:36:30 by landisb)