Code Monkey home page Code Monkey logo

Comments (5)

tischi avatar tischi commented on September 24, 2024

In addition, I do not understand why the user has to enter some values here at all.
The plugin could just replace all the label values of the measurement values.
If one wants to hide some values this could be done later using a threshold on the result image.

from morpholibj.

dlegland avatar dlegland commented on September 24, 2024

Hi @tischi ,
The aim of this plugin is to replace the label of each region with a value stored in a Table. If you obtain a NaN value, a possible reason is that the label exists in the label image but not in the results table.

From what I remember, the min and max values are used for calibrating display brightness / contrast, but I agree, this could be made outside of the plugin. I found this was easier to setup at this stage, as this can help use the same calibration for different images.

from morpholibj.

tischi avatar tischi commented on September 24, 2024

Hi @dlegland ,

It exists in the table. It is label number 8.

image

from morpholibj.

tischi avatar tischi commented on September 24, 2024

Maybe some issue with counting from zero instead of one?

from morpholibj.

dlegland avatar dlegland commented on September 24, 2024

hmm, strange... The value zero is associated to background, and corresponds to a NaN in the result image.
Also, you have labels in increasing order, without missing labels, so this should work perferctly...

I will check it...

from morpholibj.

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.