I try to create an interactive window. I read an image from my pc and show it using opencv.I use
cvSetMouseCallback
function to get mouse position and events. I write a code that creates a rectangle on the image when a user selects points of edges of rectangle.I want to redraw it, the user click+move. But I can't find how I handle mouse release. Is there an event for this such as EVENT_LBUTTONDOWN
?
I try to do this :