analysis test p3
Show older comments
como faço plotagem de gráficos?
1 Comment
help plot
If you want better help, then ask a clear question.
Answers (5)
Sergio Federer
on 14 Dec 2022
0 votes

COMPRESSÃO DE IMAGENS
Sergio Federer
on 14 Dec 2022
0 votes

quanto maior o valor da terceira linha, a imagem perde mais qualidade
fftshift(OF) %deslocamento/centralização do espectro
Sergio Federer
on 14 Dec 2022
Edited: Sergio Federer
on 14 Dec 2022
0 votes
Questão 3 (D) - FALSA
a transformada hit-miss ao definir elementos estruturais (string de texto) efetua a transformação acerto-erro e obtem as coordenadas explicitas de posições
Sergio Federer
on 14 Dec 2022
Edited: Sergio Federer
on 14 Dec 2022
0 votes
Questão 3 (E) - FALSO
A teoria de Fourier é baseada na idéia que qualquer função pode ser decomposta de senos e cossenos de diferentes frequências.
Sergio Federer
on 14 Dec 2022
0 votes
%ALÉM DE CRIAR OS 3 BOTÕES, TEM QUE ABRIR UMA STATIXTEXT PRA EXIBIR O NUMERO DE OBJETOS
(NÃO CONSEGUI A LIMIARIZAÇÃO)
function pushbutton1_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
global a
a=imread(uigetfile('*.jpg;*.png;*.bitmap'));
axes(handles.axes1);
imshow(a);
% --- Executes on button press in pushbutton2.
function pushbutton2_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton2 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
global a
global bw
b = rgb2gray(a);
bw = im2bw(b);
axes (handles.axes2);
imshow(bw);
% --- Executes on button press in pushbutton3.
function pushbutton3_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton3 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
global a
global bw
[L,num] = bwlabel(bw);
axis image; axis off;num
set(handles.text1,'String',num2str(num));
Categories
Find more on Graphics Objects in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!