Giter VIP home page Giter VIP logo

Comments (2)

coalsont avatar coalsont commented on June 1, 2024

In a mostly identical manner to NIfTI, the conventions mentioned there are only to define the direction of the coordinate system itself, to define what a "negative" spacing element means. It is not a requirement on the orientation of the volume.

To put it another way, it is saying how to translate an XYZ coordinate specified in mm into physical space (X = positive 5mm is on the right of the origin, not the left, not above, etc), while leaving the choice of IJK to XYZ translation up to the user.

wb_command -cifti-resample will allow you to match an existing other cifti space (and if the voxels do line up exactly, any of the available volume resampling methods mathematically give the same output value as the original, though there is rounding error). At present, most other commands match by either cifti index or voxel IJK, so they require identical volume spaces (more strict than just same orientation).

Personally, I think users would be the least confused if fMRIPrep by default matched the HCP cifti space(s) exactly when feasible. Unless you disagree with the subcortical or medial wall definitions the HCP uses, or your resolutions are significantly different, I don't see a benefit to making a different cifti space. If you used the same orientation and FoV of the MNI template we do for the final resampling of the volume timeseries, this should happen naturally without generating extra files.

from workbench.

mgxd avatar mgxd commented on June 1, 2024

Thanks for the response, Tim. We'll adjust our outputs accordingly.

from workbench.

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.