Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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

2 vues (au cours des 30 derniers jours)
ATTAR Mehenni
ATTAR Mehenni le 17 Mar 2018
Clôturé : MATLAB Answer Bot le 20 Août 2021
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

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by