-
Notifications
You must be signed in to change notification settings - Fork 3
/
a.m
37 lines (36 loc) · 730 Bytes
/
a.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
%[filename, pathname] = uigetfile('*','Select an Image');
%imagen=imread(fullfile(pathname, filename));
% Show image
%imshow(imagen);
%title('INPUT');
%figure();
% Convert to gray scale
%if size(imagen,3)==3 %RGB image
% imagen=rgb2gray(imagen);
%end
%imshow(imagen);
%title('GRayscale');
%figure();
% Convert to BW
%threshold = graythresh(imagen)+0.2;
%disp(threshold);
%imshow(im2bw(imagen,threshold));
%title('Without Negation');
%figure();
%imagen =~im2bw(imagen,threshold);
%imshow(imagen);
%figure();
%imagen = bwareaopen(imagen,1);
%imshow(imagen);
clc
disp('B');
disp('A');
disp('K');
disp('E');
disp('R');
disp('Y');
disp('S');
disp('H');
disp('O');
disp('P');
disp('BAKERY SHOP');