Giter Site home page Giter Site logo

Comments (2)

Remi-Gau avatar Remi-Gau commented on August 21, 2024 1

(1) is it intended to start expanding in only 1 ROI and continuing in the second one?

Nope.

It starts in one ROI and the sphere will keep growing till it reaches a certain number of voxels. So if there is not enough voxels in the first ROI then the sphere will keep growing and will inevitably include stuff anywhere in the brain: including things on the other side of the brain.

(2) I guess that the 3rd spot in the inferior part is there by mistake.

Well depends what you mean by "mistake". It definitely should not be there. But I suspect that those voxels are part of the the original mask you provided.

Also, Have you tried to save each ROI across the expansion iteration? It seems that at some point in the process it stops expanding and starts again towards the end.

Not tried that specifically.

In this case I suspect, this happens because the sphere as to keep growing to get to the other side of the brain.

What we could do is make the function more verbose and spit out the radius and number of voxel included on each iteration. Might give some clue to to the user as to what is going on or if you are in a situation you can't get out of (a sphere that keep expanding forever - actually the function should stop after a certain sphere radius because brains of 2 meters do not exist).

from cpp_roi.

Remi-Gau avatar Remi-Gau commented on August 21, 2024

In your case I would make sure that initial mask you use has more voxels around each ROI (use a lower voxels threshold).

from cpp_roi.

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.