Giter Club home page Giter Club logo

Comments (5)

bkandel avatar bkandel commented on July 26, 2024

Ah, yes, that makes sense. It probably depends on how R computes quantiles
of a totally uniform distribution. We can correct this.

2015-03-18 16:50 GMT-04:00 dorianps [email protected]:

predlabel2 = predlabel*0
plot(predlabel2)
Error in if (window.img[1] == window.img[2]) window.img[1] <- min(x) :
missing value where TRUE/FALSE needed


Reply to this email directly or view it on GitHub
#31.

from antsr.

dorianps avatar dorianps commented on July 26, 2024

Since we are here, you may want to add something that checks if image is a label image, like

length(labels(as.factor(as.array(img))))<10

and keep the window 0 to max.
Some labels don't appear with automatic windowing. Problem is that the code above is kind of slow.

from antsr.

bkandel avatar bkandel commented on July 26, 2024

We should have better support for labeling anyway. We currently assume the
overlay is basically continuous; if we deal with labels correctly, we
should have a specific list of colors, not a heatmap-type visualization.

2015-03-18 16:57 GMT-04:00 dorianps [email protected]:

Since we are here, you may want to add something that checks if images is
a label images, like
length(labels(as.factor(as.array(img))))<10

and keep the window 0 to max.
Some labels don't appear with automatic windowing. Problem is that the
code above is kind of slow.


Reply to this email directly or view it on GitHub
#31 (comment).

from antsr.

dorianps avatar dorianps commented on July 26, 2024

Yeap, need to make 0 value transparent on overlay.

Also, alpha setting still doesn't work (compiled yesterday at 4pm).

from antsr.

bkandel avatar bkandel commented on July 26, 2024

Fixed this issue. As for the labels: Setting the window.overlay to the max and min values of the labels and setting the colorbar to "rainbow" should work pretty well.

from antsr.

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.