image thumbnail
from image gallery by Yonathan Nativ
a simple gui to open, view and process a batch of images - now with an axes scrollbar.

openSpecificImage(handles)
function openSpecificImage(handles)
    type = get(gcf,'SelectionType');
    switch type
        case 'open' % double-click
            im = get( gcbo,'cdata' );
            % if you have "imtool" it's nicer to open the image in it...
%             imtool(im, [min(im(:)) max(im(:))] ); 
            figure; imagesc(im); colorbar;  axis equal; axis off;
        case 'normal'   
            %left mouse button action
        case 'extend'
            % shift & left mouse button action
        case 'alt'
            % alt & left mouse button action
end

Contact us