how to plotting the selected images
이전 댓글 표시
hai.
i have question on how to plotting the selected images from folder into axes when push button has been click. And how to update the selected image in axes1 into second push button(analysis operation in second push button) ?
채택된 답변
추가 답변 (1개)
Ahmed
2011년 9월 7일
0 개 추천
댓글 수: 3
Walter Roberson
2011년 9월 7일
[filename, directory] = uigetfile(...)
imagename = fullfilename(directory,filename);
IMG = imread(imagename);
imshow(handles.axes1, IMG);
drawnow();
Ahmed
2011년 9월 8일
Walter Roberson
2011년 9월 8일
Sorry, should have been fullfile() instead of fullfilename()
You appear to be using an existing axes. Are your axis limit modes set to manual or to automatic (default is automatic)?
I never use the CreateFcn; never found a use for it.
카테고리
도움말 센터 및 File Exchange에서 Image Arithmetic에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!