Giter Site home page Giter Site logo

Comments (9)

ctralie avatar ctralie commented on June 15, 2024 1

Okay, I made a new release with this problem fixed. Thank you again for pointing this out!

And yes, you are right, it is indeed the 8 nearest neighbors, not the 4. My apologies. Here's the second of the code where I did that:

for di in [-1, 0, 1]:

from ripser.py.

ctralie avatar ctralie commented on June 15, 2024

from ripser.py.

riccardoc95 avatar riccardoc95 commented on June 15, 2024

Appreciate the prompt reply. Indeed, I apologize for the oversight; you're correct that in case 1, it's an overflow issue unrelated to Ripser. However, for cases 2 and 3, why isn't the component detected in case 2?

While I have your attention, could you please confirm whether the lower_star_img function utilizes simplicial complexes? Thank you!

from ripser.py.

ctralie avatar ctralie commented on June 15, 2024

from ripser.py.

ctralie avatar ctralie commented on June 15, 2024

from ripser.py.

riccardoc95 avatar riccardoc95 commented on June 15, 2024

Thanks!
I have a theoretical question lingering. You mentioned that each pixel is linked to the four adjacent pixels (left/right/up/down). However, on the lower_star_img webpage, it states "every vertex is connected to its 8 spatial neighbors". After conducting some tests, it appears to me that eight pixels are considered connected. Am I mistaken?

from ripser.py.

ctralie avatar ctralie commented on June 15, 2024

Oh also, the release should sync with pypi sometime today, but for now, you can clone the most recent commit in master and type

pip install -e .

from the command line in that directory

from ripser.py.

riccardoc95 avatar riccardoc95 commented on June 15, 2024

Thank you very much for the answers and also for the prompt bug fix!

from ripser.py.

ctralie avatar ctralie commented on June 15, 2024

My pleasure, I'm really glad this worked out, and I'm grateful to you for bringing this up. I'm about to start using this code in a new research endeavor, so I'm glad to know that it's working better now

from ripser.py.

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.