Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Dispaly QImage simialar to imagesc of matlab
Forum Updated to NodeBB v4.3 + New Features

Dispaly QImage simialar to imagesc of matlab

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 307 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Girin
    wrote on last edited by Girin
    #1

    I want to display an greyscale image similar to imagesc display function in MATLAB in Qgraphicsview. What are the steps to be followed

    file.csv
    10bf7369-e80e-4562-8afb-6839aca4bb66-image.png

    Matlab code

    file = 'file.csv';
    img = csvread(file);
    imagesc(10, 10, img)
    colormap(gray)
    
    Pablo J. RoginaP 1 Reply Last reply
    0
    • G Girin

      I want to display an greyscale image similar to imagesc display function in MATLAB in Qgraphicsview. What are the steps to be followed

      file.csv
      10bf7369-e80e-4562-8afb-6839aca4bb66-image.png

      Matlab code

      file = 'file.csv';
      img = csvread(file);
      imagesc(10, 10, img)
      colormap(gray)
      
      Pablo J. RoginaP Offline
      Pablo J. RoginaP Offline
      Pablo J. Rogina
      wrote on last edited by
      #2

      @Girin please don't start a new topic when you already have one for the same issue.

      If nobody can help you so far (although in your case you've got a bunch of suggestions), adding more and more posts about the issue won't help you either.

      Upvote the answer(s) that helped you solve the issue
      Use "Topic Tools" button to mark your post as Solved
      Add screenshots via postimage.org
      Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      3

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved