Giter Site home page Giter Site logo

Comments (4)

Spenhouet avatar Spenhouet commented on May 26, 2024

Just to note this here. This issue is directly linked to this one (#145) since this tries to use ITKs registration via MONAI.

I currently suspect the following issues to exist:

  • Orientation
    • ITK uses LPS orientation for images and transforms
    • Monai/Nibabel uses RAS orientation for images and transforms
  • Center of Rotation
    • ITK provides the used center of rotation
    • Monai implicitly assumes the center of rotation to be the center of the image
  • World space vs. Index space.
    • All transforms and points from ITK are in world space.
    • Monai seems to operate directly on the image.
  • (0, 0, 0) Corner - ITK and Monai seem to use the opposit corner for coordinates - e.g. in a 4x4x4 image, position (0, 0, 0) in ITK is position (3, 3, 3) in Monai.

This is also tracked via this SO question: https://stackoverflow.com/questions/71529039/how-to-factor-the-itk-centerofrotationpoint-in-a-affine-transformation-matrix

from itkelastix.

thewtex avatar thewtex commented on May 26, 2024

@aylward @hjmjohnson

from itkelastix.

aylward avatar aylward commented on May 26, 2024

Here is a proposal to improve transforms in MONAI:
https://drive.google.com/file/d/1odXYUpQeoaMpjqzkeLnQK64eYRfd01YB/view

A good point of contact at MONAI is Wenqi Li [email protected]

from itkelastix.

thewtex avatar thewtex commented on May 26, 2024

Once Elastix has more complete itk::Transform support (in memory Python interface support via itk-elastix), this package will enable an elegant interface with MONAI: https://github.com/InsightSoftwareConsortium/itk-torch-transform-bridge

from itkelastix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.