diff --git a/README.md b/README.md index 67db6b3..e6facc6 100644 --- a/README.md +++ b/README.md @@ -26,9 +26,24 @@ For instance, look at the first Super Mario's picture down bellow, you can see t And each color intensity requires a certain amount of bits, this quantity is know as **bit depth**. Let's say we spend **8 bits** (accepting values from 0 to 255) per color (plane), therefore we have a **color depth** of **24 (8 * 3) bits** and you can also infer that we could use 2 to the power of 24 different colors. +An image has also another property such as **resolution** which is the number of pixels in each dimension. It is often presented as width × height, for example the **4×4** image bellow. + +![image resolution](/i/resolution.png "image resolution") + > #### Play around with image and color > You can [play around with image and colors](/image_as_3d_array.ipynb) using [jupyter](#how-to-use-jupyter) (python, numpy, matplotlib and etc). +Another property we can see while working with images or video is **aspect ratio** which is simple describes the proportional relationship between width and height of an image or pixel. + +When people says this movie or picture is **16x9** they usually are referring to the **Display Aspect Ratio (DAR)** and we also can have different shapes of a pixel, we call this **Pixel Aspect Ratio**. + +![display aspect ratio](/i/DAR.png "display aspect ratio") + +![pixel aspect ratio](/i/PAR.png "pixel aspect ratio") + +Finally we can define a **video** as a succession of *N* frames, being its frame rate or frames per second(FPS). + +![video](/i/video.png "video") # How to use jupyter diff --git a/i/DAR.png b/i/DAR.png new file mode 100644 index 0000000..3eb296e Binary files /dev/null and b/i/DAR.png differ diff --git a/i/PAR.png b/i/PAR.png new file mode 100644 index 0000000..db90b18 Binary files /dev/null and b/i/PAR.png differ diff --git a/i/resolution.png b/i/resolution.png new file mode 100644 index 0000000..a2ba154 Binary files /dev/null and b/i/resolution.png differ diff --git a/i/video.png b/i/video.png new file mode 100644 index 0000000..acbf147 Binary files /dev/null and b/i/video.png differ