Code Monkey home page Code Monkey logo

Comments (2)

alex-krull avatar alex-krull commented on August 20, 2024

Hello guochengqian,
Thank you for pointing this out.
We consciously decided against clipping.
Even though photographs are often stored in 8 bit, this is not true for other types of images (e.g. in microscopy often 16 bit or even 32 bit float is used).
Clipping would change the distribution of the noise, making it no longer zero-centered, which we rely on in N2V. So to illustrate the principle, we decided against clipping in the paper.
Note that all the baselines we ran to compare our method against use the same unclipped data.
However, we do agree that people might expect the data to be clipped.
We will point this out in the example notebook and also include your suggested line as a comment so that it can be uncommented to enable clipping if desired.

Cheers, Alex

from n2v.

guochengqian avatar guochengqian commented on August 20, 2024

That is good. Thank you. Do mention that in the new version of the notebook. At least the data should be clipped even if they can be float type not uint8. There should never be a negative value.

from n2v.

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.