how can chose a fix rectangular in series of images that position may be changeable?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I have to extract the rectangle for a seris of images that the size of rectangular is 30*30 but the position of rectangular is changeable in every images. Is there any way? I know that I can use imcrop and getrect. but these command need xmin,ymin position. I just need to fix xwith and ywitd. Is there any way?
0 Kommentare
Antworten (2)
Thomas Koelen
am 29 Apr. 2015
imshow('pout.tif')
h=imrect(gca,[0 0 30 30]);
wait(h)
Gives you a draggable rectangle with xwidth and ywidth of 30.
5 Kommentare
Image Analyst
am 29 Apr. 2015
Cut? What does that mean? And do you need to have the width be 30 after the user is done with it, or will you take whatever he made it?
Siehe auch
Kategorien
Mehr zu Display and Exploration finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!