What the error in this code..?
이전 댓글 표시
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
Walter Roberson
2012년 12월 20일
Try using
image(rgb)
instead of imshow(rgb)
Lalit Patil
2012년 12월 20일
Lalit Patil
2012년 12월 20일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Data Exploration에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!