Académique Documents
Professionnel Documents
Culture Documents
TELECOMUNICACIONES
2014-1
EXAMEN
PARCIAL
En Nmeros
En Letras
Apellidos
nombres:
UDED
Cdigo
AREQUIPA
Fecha:
201210021
2
19/7/2014
Docente:
Ciclo:
Mdulo:
Periodo
Acadmico:
2014-1
Estimado alumno
INDICACIO
NES PARA
EL
ALUMNO
M-EP20141
PREGUNTAS
PREGUNTA 1[10 puntos]
Dado el siguiente grafico.
Filename: 'dibujo1.jpg'
FileModDate: '19-jul-2014 03:08:07'
FileSize: 114449
Format: 'jpg'
FormatVersion: ''
Width: 1600
Height: 931
BitDepth: 24
ColorType: 'truecolor'
FormatSignature: ''
NumberOfSamples: 3
CodingMethod: 'Huffman'
CodingProcess: 'Sequential'
Comment: {}
2. Generar una matriz de datos, utilice imread [1 puntos], no lo liste
a
= imread('dibujo1.jpg')
M-EP20141
a
= imread('dibujo1.jpg');
a_gray = rgb2gray(a);
size(a)
size(a_gray)
figure(1)
subplot(221)
imshow(a_gray)
m1= 50;
m2=230;
factor = 255/(m2-m1);
a2 = (a_gray-m1)*factor;
subplot(222)
imhist(a_gray)
subplot(223)
imhist(a2)
subplot(224)
imshow(a2)
4
x 10
3
2
1
0
0
100
200
x 10
3
2
1
0
0
100
200
aumentar=2;
factor=factor/aumentar;
a2 = (a_gray-m1)*factor;
subplot(222)
imhist(a_gray)
subplot(223)
imhist(a2)
subplot(224)
imshow(a2)
Resultado:
4
x 10
3
2
1
0
0
100
200
x 10
3
2
1
0
0
100
200
M-EP20141
x 10
3
2
1
0
0
100
200
x 10
3
2
1
0
0
100
200
x 10
x 10
2.5
2.5
1.5
1.5
0.5
0.5
0
0
100
200
100
200
M-EP20141
M-EP20141
rosa1 =
Filename: 'rosa1.jpg'
FileModDate: '19-jul-2014 04:24:46'
FileSize: 10475
Format: 'jpg'
FormatVersion: ''
Width: 197
Height: 188
BitDepth: 24
ColorType: 'truecolor'
FormatSignature: ''
NumberOfSamples: 3
CodingMethod: 'Huffman'
CodingProcess: 'Sequential'
Comment: {}
rosa2 =
Filename: 'rosa2.jpg'
FileModDate: '19-jul-2014 04:25:29'
FileSize: 10583
Format: 'jpg'
FormatVersion: ''
Width: 197
Height: 188
BitDepth: 24
ColorType: 'truecolor'
FormatSignature: ''
NumberOfSamples: 3
CodingMethod: 'Huffman'
CodingProcess: 'Sequential'
Comment: {}
M-EP20141
rosa3 =
Filename: 'rosa3.jpg'
FileModDate: '19-jul-2014 04:25:47'
FileSize: 9873
Format: 'jpg'
FormatVersion: ''
Width: 197
Height: 188
BitDepth: 24
ColorType: 'truecolor'
FormatSignature: ''
NumberOfSamples: 3
CodingMethod: 'Huffman'
CodingProcess: 'Sequential'
Comment: {}
rosa4 =
Filename: 'rosa4.jpg'
FileModDate: '19-jul-2014 04:26:01'
FileSize: 9592
Format: 'jpg'
FormatVersion: ''
Width: 197
Height: 188
BitDepth: 24
ColorType: 'truecolor'
FormatSignature: ''
NumberOfSamples: 3
CodingMethod: 'Huffman'
CodingProcess: 'Sequential'
Comment: {}
rosa5 =
M-EP20141
Filename: 'rosa5.jpg'
FileModDate: '19-jul-2014 04:26:20'
FileSize: 8570
Format: 'jpg'
FormatVersion: ''
Width: 197
Height: 188
BitDepth: 24
ColorType: 'truecolor'
FormatSignature: ''
NumberOfSamples: 3
CodingMethod: 'Huffman'
CodingProcess: 'Sequential'
Comment: {}
rosa6 =
Filename: 'rosa6.jpg'
FileModDate: '19-jul-2014 04:26:36'
FileSize: 7109
Format: 'jpg'
FormatVersion: ''
Width: 197
Height: 188
BitDepth: 24
ColorType: 'truecolor'
FormatSignature: ''
NumberOfSamples: 3
CodingMethod: 'Huffman'
CodingProcess: 'Sequential'
Comment: {}
M-EP20141
Analice cual de los grficos tiene la misma resolucin, explique si hay diferencias en la
compresin espacial o de grises.
PREGUNTA 3 [8 puntos]
clc
rosa = imread('rosa.jpg');
rosa_gray = rgb2gray(rosa);
size(rosa)
size(rosa_gray)
figure(1)
subplot(221)
imshow(rosa_gray)
m1= 64;
m2=220;
factor = 255/(m2-m1);
rosa2 = (rosa_gray-m1)*factor;
subplot(222)
imhist(rosa_gray)
subplot(223)
imhist(rosa2)
subplot(224)
imshow(rosa2)
figure(2)
subplot(311)
imhist(rosa(:,:,1))
subplot(132)
imhist(rosa(:,:,2))
subplot(133)
imhist(rosa(:,:,3))
colormap gray;
M-EP20141
8000
6000
4000
2000
0
0
100
200
x 10
3
2
1
0
0
100
200
8000
10000
7000
9000
6000
8000
7000
5000
6000
4000
5000
3000
4000
3000
2000
2000
1000
1000
0
0
100
200
100
200
M-EP20141