how to get the values of copy position in imrect?

2 views (last 30 days)
h= imrect; right clicking the rectanglwe we get 3 options. how to get the values in copy position. i can copy and paste in the workspace manually. but i wnted the code for it. please help me.
  1 Comment
Dhandapani.S
Dhandapani.S on 6 Feb 2015
i get the positional values from the context menu. i need the code for it.

Sign in to comment.

Answers (1)

faizal
faizal on 6 Aug 2016
pos = getPosition(h);
  1 Comment
GILDACIO SA
GILDACIO SA on 17 Apr 2018
I am a beginner im MATLAB - using imrect(h) and getPosition(h). How can I get 2 or more ROI´s in the same image ? Is it possible?

Sign in to comment.

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!