Coder Social home page Coder Social logo

Comments (6)

naga-karthik avatar naga-karthik commented on June 26, 2024 2

Thank you for the clarification! I got it now. One of those situations where you hit send and immediately realize what something actually means 😅

from spinalcordtoolbox.

joshuacwnewton avatar joshuacwnewton commented on June 26, 2024 2

While I agree that label isn't the clearest name, I don't think it's so bad that we need to change it? Personally, I'm happy with starting with documentation changes for now.

from spinalcordtoolbox.

jcohenadad avatar jcohenadad commented on June 26, 2024

you’re not missing anything— as the help says: the expected output of the ‘label’ option is a single point (ie: center of mass of the blob)

from spinalcordtoolbox.

joshuacwnewton avatar joshuacwnewton commented on June 26, 2024

I'll open up a quick PR to clarify the help and provide an example.

from spinalcordtoolbox.

jqmcginnis avatar jqmcginnis commented on June 26, 2024

I think for me, I had the same misunderstanding as the greedy registration tool has the option of specifying the label option for the interpolation mode as well, but here it is used in order to interpolate masks to a different space, which differs from the use case / or functionality provided with the -x label option for sct_apply_transfo's label option.

I am unsure if other toolboxes have a similar understanding or if this is unique to greedy or SCT, respectively.

from spinalcordtoolbox.

jcohenadad avatar jcohenadad commented on June 26, 2024

I guess the problem comes from the word 'label', which is not specific at all to a 'single voxel'. It would have been better to call this option 'single-voxel', but it might be too late now (or is it? not so many people use this, so it won't break too many pipelines...)

from spinalcordtoolbox.

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.