SetMouseCallback

Request features to be added
harry
Posts: 48
Joined: Fri Jun 06, 2008 5:25 am

SetMouseCallback

Postby harry » Sun Aug 24, 2008 2:02 pm

Hi Canming!

I want to use cvSetMouseCallback (highGUI) in my program, but I don't know if it's possible to implement it in EMGU CV because you have to pass a "Pointer to the function to be called every time mouse event occurs in the specified window". I don't know how it should work with a C# function.

Could you tell me if you can implement SetMouseCallback in EMGU CV? Alternatively, how can I get the actual position of the mouse on an EMGU ImageBox or a PictureBox? Then I can use the mouse events to do the same things as with SetMouseCallback.

Harry

harry
Posts: 48
Joined: Fri Jun 06, 2008 5:25 am

Re: SetMouseCallback

Postby harry » Sun Aug 24, 2008 4:07 pm

Hi!

I have found a solution to get the mouse position on an ImageBox. So I don't need cvSetMouseCallback anymore. The solution was closer than I expected ;) .

Harry

canming
Site Admin
Posts: 911
Joined: Thu Feb 28, 2008 4:16 pm

Re: SetMouseCallback

Postby canming » Sun Aug 24, 2008 10:17 pm

That's great you find out yourself.

A example might be the Emgu Image box, when right click->property, it capture the mouse position and display the pixel value where the mouse is located.

harry
Posts: 48
Joined: Fri Jun 06, 2008 5:25 am

Re: SetMouseCallback

Postby harry » Mon Aug 25, 2008 3:31 pm

Hi Canming!

A example might be the Emgu Image box, when right click->property, it capture the mouse position and display the pixel value where the mouse is located.

That was the solution I found ;) . Thank you anyway!

Harry

richardjalgarve
Posts: 45
Joined: Sun Aug 26, 2012 8:44 pm

Re: SetMouseCallback

Postby richardjalgarve » Fri Jan 02, 2015 5:47 pm

Hello,

I have good news. I managed to implement the ROI selection with the mouse .

SOURCE code in this post: viewtopic.php?f=7&t=2861&p=10384#p10384

Happy 2015 .

A hug,

Richard J. Algarve

*** WE JOIN THE FORUM ***

taugurget
Posts: 196
Joined: Tue Dec 16, 2014 10:40 am

Margot Robbie

Postby taugurget » Wed Dec 07, 2016 1:14 am

Compadres (2016) DVDRip x264 AAC-SPRiNTER
Videos de Placebo
Show Summary
Shokugeki no Souma: Ni no Sara
Aimer, boire et chanter Dvdrip

haunting
Lethal Weapon S01E08 720p HDTV X264-DIMENSION[ettv]

м‚јм‹њм„ёлЃј м–ґмґЊнЋё3.E02.161021.720p-NEXT
MS Course 20486A: Developing ASP NET MVC 4 Web Applications ( Ul - Ryushare )
China Girl
Show Summary



The Carter III
Lil Raider-Half Baked Eye-Balln Ouncez Smoke Session Vol 2-WEB-2011-ENRAGED iNT
this chart
Игры для ПК Лига Ангелов 2 - продолжение знаменитой Лиги ангелов, созданных той же компанией. Игровой мир раздроблен на три независимых государства, сражающихся между собой, пытаясь вырвать пальму первенства. Игроку предстоит развить собственное королевство с целью восстановления Лиги Ангелов. ... Раздают: 5 Качают: 0 Размер: 554MB
Drama Mystery Thriller </td> </tr> Director: Edward Zwick Language: </span> English
Play Movie


Amityville 4 : The Evil Escapes Dvdrip
Driftking95
Grow Up 2016 for MAC
married at first sight

Leave a comment
Popularity


Return to “Feature Request”

Who is online

Users browsing this forum: No registered users and 2 guests