From: Elior on 12 May 2010 05:07 hi I would like to set several ROI on an image, as shown in the code below fig = figure; I = imread('coins.png'); imshow(I); roi1 = imrect; position = wait(roi1); roi2 = imrect; position = wait(roi2); Now, based on a user click on the figure, how can I retrieve which of the ROIs was selected? Thanks, Elior
|
Pages: 1 Prev: Adjust R squared for least square regressions Next: Replacing part of matrix with zeros |