Giter Club home page Giter Club logo

Comments (5)

csparker247 avatar csparker247 commented on June 9, 2024 1

Great, thanks!

I think the segmentation algorithm throws an exception if a point goes out of the volume bounds. On slice 0, the point doesn't have to go very far to be considered OOBs, so that's probably what's happening here, and we're not catching/handling the exception.

Given you got a different segmentation to work on slice zero (and so did we for the tutorial), it's probably conditional on the exact pointset used.

A good workaround is to go a few slices in and start from there. You don't lose much by doing that. If you go one slice in, you lose about one row of pixels from the final 2D result.

from volume-cartographer.

csparker247 avatar csparker247 commented on June 9, 2024 1

Thanks for giving me your segmentations. It helped me fix a number of potential bugs. One thing I hadn't seen before is that your segmentation had adjacent, duplicate points:

adjacent-points.mp4

This was causing some backend curve interpolation code to create a point outside of the volume, which lead to an uncaught exception, which crashed the program.

I've done a number of things in #8 to fix all of these compounded issues. Thanks again for reporting!

from volume-cartographer.

csparker247 avatar csparker247 commented on June 9, 2024

Try making a new segmentation on slice 1 instead of 0 and let me know what happens.

EDIT: Oh, and please zip up the segmentation directory inside *.volpkg/paths/ and send that to me so I can test a fix.

from volume-cartographer.

tomhsiao1260 avatar tomhsiao1260 commented on June 9, 2024

I switch to slice 1 and do it again and it works well. So I come back to slice 0 to do another new segmentation again and it works as well. The following is the path folder:

20230318015423: slice0 (not work)
20230318042534: slice1 (work)
20230318042733: slice0 (work)

paths.zip

from volume-cartographer.

tomhsiao1260 avatar tomhsiao1260 commented on June 9, 2024

Glad to know my segmentations data can help. Great work & thanks for the quick fix.

from volume-cartographer.

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.