Coder Social home page Coder Social logo

Comments (5)

timholy avatar timholy commented on July 28, 2024

There is no imshow currently defined in Images; do you mean another package, or are you using an older version of Images? ImageView is the package for displaying images (including matrices) now. Winston also has an imshow defined for matrices, although it doesn't have ImageView's interactive features.

from imageview.jl.

timholy avatar timholy commented on July 28, 2024

I thought this issue was against Images, but now I see it's in ImageView, which indeed does support imshow. Oops.

The main command to display images is display, which (because of Julia's display function) now has to usually be qualified with the module name. It looks like this doesn't work because I've disabled running config---I can't remember why ATM. Honestly, I'm quite tempted to disable the external interface altogether. Do you need it for some reason?

from imageview.jl.

ssfrr avatar ssfrr commented on July 28, 2024

Hi Tim,

Mostly I was trying to figure out how to take a 2D intensity matrix (an audio spectrogram) and display it (preferably in ijulia) and it wasn't clear to me what I was supposed to use.

In the end I ended up having the best luck with using Winston's imagesc, which was especially convenient as it handled the colormapping for me and added the time and frequency axes. It would be nice to get some interactivity though, which is why I was looking at ImageView.

from imageview.jl.

timholy avatar timholy commented on July 28, 2024

The best plan is to get interactivity into Winston. There are some features I'm planning to add to ImageView that might be handy (basically, on-the-fly recalculation for huge images), but if you want axes Winston is my suggested route.

That said, in ImageView you should be able to use scalei=ScaleAutoMinMax() to handle the autoscaling, and of course you can define a one-line function to make that convenient, e.g.,

showsng(A) = ImageView.display(A, scalei=ScaleAutoMinMax())

from imageview.jl.

timholy avatar timholy commented on July 28, 2024

Closed via 4b22e69

from imageview.jl.

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.