Skip to content

Commit

Permalink
avoid the use of import
Browse files Browse the repository at this point in the history
  • Loading branch information
dlegland committed Mar 28, 2021
1 parent d8b8d86 commit f3f5514
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions ImageM/ImageM.m
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
% ImageM(img);
%
% See also
% Image
% Image, imagem.app.ImagemAppData, imagem.gui.ImagemGUI
%

% ------
Expand All @@ -31,9 +31,6 @@
% Created: 2011-03-10, using Matlab 7.9.0.529 (R2009b)
% Copyright 2011 INRA - Cepia Software Platform.

import imagem.app.ImagemAppData;
import imagem.gui.ImagemGUI;

% check if image is present, or create one
img = [];
if ~isempty(varargin)
Expand All @@ -60,8 +57,8 @@
end

% create the application, and a GUI
app = ImagemAppData;
gui = ImagemGUI(app);
app = imagem.app.ImagemAppData;
gui = imagem.gui.ImagemGUI(app);

% use the GUI to create a new image display
viewer = createImageFrame(gui, img);
Expand Down

0 comments on commit f3f5514

Please sign in to comment.