Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
I need help, how I use this function to display image in matlab gui separately by double clicking ?
조회 수: 2 (최근 30일)
이전 댓글 표시
if true
% code
end
function openSpecificImage(handles)
type = get(gcf,'SelectionType');
switch type
case 'open' % double-click
im = get( gcbo,'cdata' );
imtool(im, [min(im(:)) max(im(:))] )
case 'normal'
%left mouse button action
case 'extend'
% shift & left mouse button action
case 'alt'
% alt & left mouse button action
end
댓글 수: 0
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!