Info

この質問は閉じられています。 編集または回答するには再度開いてください。

I need help, how I use this function to display image in matlab gui separately by double clicking ?

1 回表示 (過去 30 日間)
ATTAR Mehenni
ATTAR Mehenni 2018 年 3 月 17 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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 件)

この質問は閉じられています。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by