What the error in this code..?
Mostrar comentarios más antiguos
N = 7;
for m=1:N
fname(m,:)=files(m+7,:);
rgb = imread(fname(m,:));
imshow(rgb);
cdata = ginput;
data(:,:,m) = cdata(1:4,:);
end
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..?
3 comentarios
Walter Roberson
el 20 de Dic. de 2012
Try using
image(rgb)
instead of imshow(rgb)
Lalit Patil
el 20 de Dic. de 2012
Lalit Patil
el 20 de Dic. de 2012
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Data Exploration en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!