Skip to content
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

ZMT zurich med tech

  1. Home
  2. Sim4Life
  3. Python API
  4. Export CT voxel data aligned with SAR/EM grid for use in Python

Export CT voxel data aligned with SAR/EM grid for use in Python

Scheduled Pinned Locked Moved Python API
1 Posts 1 Posters 12 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    saeidsh
    wrote last edited by
    #1

    I am working with Sim4Life and exporting simulation results for analysis in Python.
    I can successfully export SAR volumes and the corresponding grid coordinates. When I plot these in Python, they are correctly aligned. Inside Sim4Life, the SAR and CT images overlap perfectly.
    But if I load the original DICOM CT outside of S4L (e.g. with SimpleITK), the CT and SAR do not overlap, origins and orientations differ. This makes me believe that Sim4Life uses its own internal coordinate system for CT, and I need to export the CT from S4L directly in that system (instead of reloading the raw DICOM).

    My questions are:
    How can I export CT (HU values) with the proper coordinate system used inside S4L?
    Either on its native voxel grid, Or resampled onto the EM/SAR grid (preferred for direct overlay).
    What is the correct way in the Python API to access the CT voxel dataset from the project tree?

    Thank you in advance!

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Search