Git Product home page Git Product logo

Comments (4)

nicholas-esterer avatar nicholas-esterer commented on May 19, 2024

Ok great! Is it possible to overlay multiple images with add_layout_image so that the image uploads can be faster (we can just send say a png which is transparent where the class isn't)?

from canvas-sandbox.

emmanuelle avatar emmanuelle commented on May 19, 2024

Yes, add_layout_image can be used to add several images, possibly with transparency. Maybe there is room for a small optimization here :-).

from canvas-sandbox.

nicholas-esterer avatar nicholas-esterer commented on May 19, 2024

Ah it's true, currently there's no way to just add / remove specific images from the graph's figure? We just have to upload them all each time? Say I display 7 images and I want to remove 1, I have to upload 6? Or I guess the browser might deal with this by chaching images...

from canvas-sandbox.

emmanuelle avatar emmanuelle commented on May 19, 2024

Update: https://github.com/scikit-image/scikit-image/blob/50d107fb042abb01dfc4f63225c463409e3f6112/doc/examples/segmentation/plot_trainable_segmentation.py can be used to define features and compute the segmentation.

The Dash components to select features can mirror the arguments of the trainable_segmentation function, that is there can be a checklist for intensity, edge and texture, a rangeslider for selecting the sigma range, and an input for the downsample parameter.

from canvas-sandbox.

Related Issues (9)

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.