File size: 3,413 Bytes
17e2002
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
1
00:00:00,710 --> 00:00:05,450
Hi and welcome to Section 2 of this course where we're going to take a look at the basics of computer

2
00:00:05,450 --> 00:00:07,790
vision and open C.v.

3
00:00:08,060 --> 00:00:12,170
So I will just briefly go over the topics we're covering in this section.

4
00:00:12,320 --> 00:00:18,620
So firstly we're going to take a look at what exactly are images and how were they formed after that

5
00:00:18,680 --> 00:00:22,130
we're going to look at how images are stored on computers.

6
00:00:22,400 --> 00:00:27,440
And then after we complete that we're actually going to get started into open C-v and do some basic

7
00:00:27,440 --> 00:00:34,460
operations such as reading writing and displaying images then performing grayscale operations then taking

8
00:00:34,460 --> 00:00:40,340
a look at the different colors spaces that we have available and also representing images in a histogram

9
00:00:40,340 --> 00:00:42,500
form and how you interpret that.

10
00:00:42,500 --> 00:00:48,260
And lastly we're going to use open C-v to draw some basic shapes and put tacks on images.

11
00:00:48,980 --> 00:00:51,770
So what exactly are images.

12
00:00:51,780 --> 00:00:57,950
Now I have a one line definition here for images which tells us that images are two dimensional representation

13
00:00:58,340 --> 00:01:00,690
of the visible light spectrum.

14
00:01:00,770 --> 00:01:05,790
So what does exactly does it mean what does two dimensional mean in this context.

15
00:01:05,940 --> 00:01:11,840
Now you may have a theory idea that an image can be a photograph can be something you see on your laptop

16
00:01:11,840 --> 00:01:14,810
screen or TV screen and that's exactly right.

17
00:01:14,810 --> 00:01:17,620
Those are all two dimensional planes.

18
00:01:17,650 --> 00:01:24,260
Weight is only an x y dimension and that x y dimension here corresponds to different pixel points on

19
00:01:24,260 --> 00:01:26,570
computer screens or in the photographs.

20
00:01:26,600 --> 00:01:35,370
Basically dots eight inch deep you may have hit that in somewhat a form printer printers perhaps and

21
00:01:35,390 --> 00:01:44,030
so know each pixel or GPI point reflects different wavelengths of light and that is where we refer to

22
00:01:44,030 --> 00:01:45,930
the visible light spectrum.

23
00:01:45,960 --> 00:01:51,410
Now the visible light spectrum is part of the electromagnetic spectrum which consists of radio waves

24
00:01:51,440 --> 00:01:57,400
all the way to gamma rays and different waves here have different wavelengths and divisible part.

25
00:01:57,410 --> 00:02:03,590
What we see visible because it's visible to eyes consist of different wavelengths and each wavelength

26
00:02:03,680 --> 00:02:09,180
corresponds to different colors all the way from red green to red blue and slightly purple.

27
00:02:09,710 --> 00:02:13,950
So no know in an image like this this is Van Gogh's Starry Night painting.

28
00:02:14,030 --> 00:02:20,180
Each point corresponds to a different color which means it reflects different wavelengths of light which

29
00:02:20,180 --> 00:02:22,750
is what we see in these images.

30
00:02:23,030 --> 00:02:27,140
So no I hope you have a hint there or at least an idea of what images are.