Giter VIP home page Giter VIP logo

Comments (5)

DylanMuir avatar DylanMuir commented on June 17, 2024

Hi @dannyhmg, thanks for your comments! So for concatenation there is https://github.com/DylanMuir/TensorStack which should work out of the box for what you want. Slicing is much harder, but I had a vague idea that this was already supported somewhere — give me a moment to look.

I haven’t touched this code for quite a while, though. And supporting tensor referencing so it looks like a MATLAB tensor is really complicated!

from tiffstack.

DylanMuir avatar DylanMuir commented on June 17, 2024

Ah, I was thinking of the de-interleaving in TIFFSTack. So there's no existing functionality to do this. I would suggest making a small wrapper class that does slicing on a tensor, and just passes the indices through. Maybe take a look at https://github.com/DylanMuir/LazyTensorTransform

from tiffstack.

dickinson-lab avatar dickinson-lab commented on June 17, 2024

Hi Dylan, thanks very much for taking the time to reply.

I tested TensorStack and it indeed does exactly what I want - thank you!. I noticed that unlike TIFFStack, it doesn't include a license file. May I use a clone of TensorStack as part of an open-source package I am developing (https://github.com/dannyhmg/SiMPull-Analysis-Software), and if so, would you like to add a license?

Slicing is less urgent since I realized that in lieu of slicing a TIFFStack object and passing the result to a function, I can just pass indices along with the whole object along, and then let my function load the part of the image it needs. I might revisit writing a wrapper class later if passing indices becomes problematic.

from tiffstack.

DylanMuir avatar DylanMuir commented on June 17, 2024

from tiffstack.

dickinson-lab avatar dickinson-lab commented on June 17, 2024

Great - thanks again for your help and for sharing your work.

from tiffstack.

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.