Imrect assigning values to
Afficher commentaires plus anciens
Hello. Im using a user defined rectangle to define a ROI on a tiff image.
p=[760,1660,500,500]
h = imrect(handles.axes1, p)
p = wait(h);
p = h.getPosition();
assignin('base','p',round(p))
addNewPositionCallback(h,@(p)assignin('base','p',p));
I am using guide, and want the ability to enter the values in "p" from a text box. Can I just create the string and assign it to "p"?
thanks Jason
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Image Arithmetic dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!