Coder Social home page Coder Social logo

Loading image stacks about mantis-viewer HOT 2 CLOSED

zinagood avatar zinagood commented on August 18, 2024
Loading image stacks

from mantis-viewer.

Comments (2)

rj3d avatar rj3d commented on August 18, 2024

Yeah, that should be possible! Would you mind sharing an example of one of these images with us? If you don't want to post it publicly, you can email it to me at [email protected].

from mantis-viewer.

rj3d avatar rj3d commented on August 18, 2024

After some analysis, adding this directly to Mantis right now would require a significant overhaul of how Mantis opens images. The problems are twofold. First, the images are too large for Javascript. All of the tiff libraries I've found for Javascript read the full tiff file into a buffer before processing it, and because Javascript has a maximum buffer size of ~ 2GB this fails. The second problem is that these images are what are called hyperstacks. From what I've been able to gather, hyperstacks can only be generated by ImageJ (and a few other programs that make use of the underlying imaging library). There are a couple of libraries that claim to support opening hyperstacks, but depending on the specifics of how the hyperstack was generated some hyperstacks can only be opened with ImageJ or the underlying imaging library. Long term we are planning to switch the image processing backend from javascript to Clojure/Java. When we do, we are planning to use the same library that ImageJ uses, which will add support for image stacks and larger images without downsampling when we do. In the interim, we're releasing a command line utility that we're calling image-utils that can be used to split tiff stacks into individual tiffs that Mantis is able to open.

from mantis-viewer.

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.