Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. use mouse in openCV ????

use mouse in openCV ????

Scheduled Pinned Locked Moved C / C++ / MFC
question
3 Posts 3 Posters 0 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.
  • A Offline
    A Offline
    a04 lqd
    wrote on last edited by
    #1

    i use openCV to open .bmf picture. Does openCV allow to use mouse to take a point in this picture ??? if it allow, can i take x-axis and y-axis. thank so much.

    S T 2 Replies Last reply
    0
    • A a04 lqd

      i use openCV to open .bmf picture. Does openCV allow to use mouse to take a point in this picture ??? if it allow, can i take x-axis and y-axis. thank so much.

      S Offline
      S Offline
      Sarath C
      wrote on last edited by
      #2

      I think you must interpret the mouse handling yourself. Googled and found this![^]

      -Sarath.

      My blog - Sharing My Thoughts

      Rate the answers and close your posts if it's answered

      1 Reply Last reply
      0
      • A a04 lqd

        i use openCV to open .bmf picture. Does openCV allow to use mouse to take a point in this picture ??? if it allow, can i take x-axis and y-axis. thank so much.

        T Offline
        T Offline
        Tim Craig
        wrote on last edited by
        #3

        You didn't say how you're writing your application but if you're using OpenCV's builtin GUI from HighGUI, Sareth is correct in how to handle it. Be advised though that the GUI interface that HighGUI supports is quite limited. To have any "reasonable" application other than small test cases, you probably want to explore other alternatives.

        You measure democracy by the freedom it gives its dissidents, not the freedom it gives its assimilated conformists.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups