I am working on imrect
function in matlab to display canny and sobel edge of ROI of imrect
rectangle .
Actually I have two axis in my matlab gui. In one axis I am displaying user selected image and placing initial rectangle using imrect
function on it. correspondingly to the imrect
rectange I am displaying canny edge or sobel edge on axis two. Everything is fine till now.
Now I want user to drag or resize the rectangle then automatically I want to dispaly the latest rectangle canny and sobel edges on axis 2.
How to find imrect
rectangle position changed or not?
Can any one help me. If any web link will help please drop that.