N = 7;
rgb = imread(fname(m,:));
cdata = ginput;
data(:,:,m) = cdata(1:4,:);
For this seven images i want data where i will click.
But when i am executing this code, it shows only cursor on image but not allowing to click.. Why..?
If any mistake then tell me..?
No products are associated with this question.
Consider using roipoly()
Alternately, only ginput() one value at a time, and text() a '+' into place at the returned coordinates before going on to the next.
Play games and win prizes!Learn more