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. How to display image that I already edit with "cv::Line" in Gui?
QtWS25 Last Chance

How to display image that I already edit with "cv::Line" in Gui?

Scheduled Pinned Locked Moved Unsolved General and Desktop
opencvguidraw line
2 Posts 2 Posters 675 Views
  • 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.
  • M Offline
    M Offline
    Mawarditaman
    wrote on 14 Jul 2018, 08:40 last edited by
    #1

    I have a program to simply draw line in mat image. I draw a line in it and when I display it error. This my algorithm that I already try:

    1. Load image use mat.read
    2. Draw line in image
    3. Convert image from bgr2rgb
    4. Convert mat image to Qimage
    5. Display qimage with Format_RGB888

    And it is not work. How I fix it?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 14 Jul 2018, 22:10 last edited by
      #2

      Hi and welcome to devnet,

      Can you show the code you are using ?
      What exactly do you expect ?
      What exactly do you get ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      1/2

      14 Jul 2018, 08:40

      • Login

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