Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
{'*.jpg','file jpeg(*.jpg)';
'*.bmp','file bitmap(*.bmp)';
'*.*','semua file (*.*)'},......
'Buka File Citra Host/Asli');
if ~isequal(nama_file1, 0)
handles.data1=imread(fullfile(nama_path1,nama_file1));
guidata(hObject,handles);
handles.current_data1=handles.data1;
axes1(handles.Gambar1);
imshow(handles.current_data1);
set(handles.text2,'String',nama_file1);
else
return;
end
[nama_file1,nama_path1]=uigetfile(......
{'*.jpg','file jpeg(*.jpg)';
'*.bmp','file bitmap(*.bmp)';
'*.*','semua file (*.*)'},......
'menyimpan File Citra Host/Asli');
if ~isequal(nama_file1, 0)
handles.data1=imread(fullfile(nama_path1,nama_file1));
guidata(hObject,handles);
handles.current_data1=handles.data1;
axes(handles.axes2);
T=fspecial('unsharp');
A=imfilter(handles.current_data1,T,'replicate')
imshow(A);
set(handles.text2,'String',nama_file1);
else
return;
end
[nama_file1,nama_path1]=uigetfile(......
{'*.jpg','file jpeg(*.jpg)';
'*.bmp','file bitmap(*.bmp)';
'*.*','semua file (*.*)'},......
'Buka File Citra Host/Asli');
if ~isequal(nama_file1, 0)
handles.data1=imread(fullfile(nama_path1,nama_file1));
guidata(hObject,handles);
handles.current_data1=handles.data1;
axes(handles.axes1);
imshow(handles.current_data1);
set(handles.text2,'String',nama_file1);
else
return;
end
[nama_file1,nama_path1]=uigetfile(......
{'*.jpg','file jpeg(*.jpg)';
'*.bmp','file bitmap(*.bmp)';
'*.*','semua file (*.*)'},......
'menyimpan File Citra Host/Asli');
if ~isequal(nama_file1, 0)
handles.data1=imread(fullfile(nama_path1,nama_file1));
guidata(hObject,handles);
handles.current_data1=handles.data1;
axes(handles.axes2);
T=fspecial('unsharp');
A=imfilter(handles.current_data1,T,'replicate')
imshow(A);
set(handles.text2,'String',nama_file1);
else
return;
end
cnt=get(handles.pladd,'UserData');
% To update the ID3 tag index
[f g]=uigetfile ('*.mp3','Choose a MP3 File','MultiSelect', 'on'); % Choose
mp3 file to add to play list
p=get(handles.playlist,'String');
p{length(p)+1}=[f];
set(handles.playlist,'String',p);
% Update the playlist display
handles.playfiles{length(handles.playfiles)+1}=[g f];
s = which('mp3read.m');
ww = findstr('mp3read.m',s);
location = s(1:ww-2);
% --- Outputs from this function are returned to the command line.
function varargout = sharpening_OutputFcn(hObject, eventdata, handles)
% varargout cell array for returning output args (see VARARGOUT);
% hObject
handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles
structure with handles and user data (see GUIDATA)
% Get default command line output from handles structure
varargout{1} = handles.output;
% hObject
% eventdata
% handles
folder=pud;
[gambar,direktori]=uigetfile('*.jpg;*.tif','load data file');
if gambar == 0
cd (folder)
return
end
cd(direktori)
nama=imread(gambar);
axes(handles,axes1)
imshow(nama)
hold on
%set (handles,figure1,'currentaxes',handles,axes6)
showaxes('off')
cd(folder)
Bisa
function varargout = sharpening(varargin)
% SHARPENING MATLAB code for sharpening.fig
%
SHARPENING, by itself, creates a new SHARPENING or raises the existing
%
singleton*.
%
%
H = SHARPENING returns the handle to a new SHARPENING or the handle to
%
the existing singleton*.
%
%
SHARPENING('CALLBACK',hObject,eventData,handles,...) calls the local
%
function named CALLBACK in SHARPENING.M with the given input
arguments.
%
%
SHARPENING('Property','Value',...) creates a new SHARPENING or raises
the
%
existing singleton*. Starting from the left, property value pairs are
%
applied to the GUI before sharpening_OpeningFcn gets called. An
%
unrecognized property name or invalid value makes property application
%
stop. All inputs are passed to sharpening_OpeningFcn via varargin.
%
%
*See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one
%
instance to run (singleton)".
%
% See also: GUIDE, GUIDATA, GUIHANDLES
% Edit the above text to modify the response to help sharpening
% Last Modified by GUIDE v2.5 11-Dec-2014 16:33:18
% --- Outputs from this function are returned to the command line.
function varargout = sharpening_OutputFcn(hObject, eventdata, handles)
% varargout cell array for returning output args (see VARARGOUT);
% hObject
handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles
structure with handles and user data (see GUIDATA)
% Get default command line output from handles structure
varargout{1} = handles.output;
% handles
structure with handles and user data (see GUIDATA)
folder=pwd;
[gambar,direktori]=uigetfile('*.jpg;*.tif','load data file');
if gambar == 0
cd (folder)
return
end
cd(direktori)
nama=imread(gambar);
axes(handles,axes1)
imshow(nama)
hold on
%set (handles,figure1,'currentaxes',handles,axes6)
showaxes('off')
cd(folder)
save('nama.mat','nama')