Giter Club home page Giter Club logo

cremi_python's People

Contributors

aschampion avatar axtimwalde avatar funkey avatar georgwiese avatar hanslovsky avatar juliabuhmann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cremi_python's Issues

Where and why to ignore 0 in VI?

Thank you for sharing your code.
And I found that the codes of vi in skimage and cremi are also based on gala's code.
*gala:https://github.com/janelia-flyem/gala/blob/master/gala/evaluate.py
*skimage: https://github.com/scikit-image/scikit-image/blob/master/skimage/metrics/_variation_of_information.py
*cremi: https://github.com/cremi/cremi_python/blob/master/cremi/evaluation/voi.py
But there is a tiny question: Where and why to ignore 0 in VI?
For your code, gala, you ignore 0 both in gt and pred (Default)
For cremi code, they only ignore 0 in gt, not in pred (Deafult)
For skimage, they did not ignore 0 in gt and pred (Default)
I made a simple comparison below, and i found that different setting will draw out different result. Can you tell what should i do in the task of neuron segmentation? Do i need to ignore 0 label in both gt and pred?
image

some questions about the Rand error computation

I'm having trouble squaring the comments in the code and the code itself.

In this line, it says that background (zero) pixels are excluded from the computation:
https://github.com/cremi/cremi_python/blob/master/cremi/evaluation/rand.py#L13

In this line, the total number of pixels (zero and nonzero) are computed as "n":
https://github.com/cremi/cremi_python/blob/master/cremi/evaluation/rand.py#L42

And "n" is used here in the computation:
https://github.com/cremi/cremi_python/blob/master/cremi/evaluation/rand.py#L60-L61

I would expect n to be something like "np.count_nonzero(segA)"

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.