π£ Notes To Self: What Is an Image?
I write something for myself to remember in the future.
βSight is what you see with your eyes, vision is what you see with your mind.β- Robert Kiyosaki
πππContent
1. What is an Image?
2. How Do We See Color?
3. How Do We Digitally Represent a Grayscale Image?
4. How Do We Digitally Represent a Colored Image?
5. What are the types of Digital Image Formats?
What is an Image?
It looks easy to describe what is an image? but most people donβt know what is exactly. First, we should start to think about how do we see images? and what is color? An image is a visual representation of something, while a digital image is a binary representation of visual data. These images can take the form of photographs, graphics, and individual video frames. For this purpose, an image is a picture that was created or copied and stored in electronic form.
How Do We See Color?
Waves are observed by the human eye and translated in the visual cortex into color. Then, when you look at a banana, the wavelengths of reflected light determine what color you see. The light waves reflect off the banana and hit your eye has a wavelength of 570 to 580 nanometers. These are the wavelength of yellow light.
How Do We Digitally Represent a Grayscale Image?
A grayscale image is a system of 256 tones with values ranging from 0 to 255. And β0β represents black β255β represents white. So We can think why it is 0 to 255 and that is because of binary code. In binary code β0β means β00000000β and β1β means β11111111β so 8 digits mean 8 bits what a coincidence also 2 power 8 is 256 :) However, starts from 0 and because of it ends at 255. And Pixel represents the smallest part of an image.
How Do We Digitally Represent a Colored Image?
Each pixel coordinate (x,y) contains 3 layers(values, channel) if colorful. Those layers are RGB(Red, Green, Blue) if you see other colors on the image those are mixed of these three colors.
And this is all about mathematics and as you see below this is a one-dimensional matrix and only has white and black.
And you can imagine an image with 3 layers lined up like below for colorful images.
What are the types of Digital Image Formats?
Common Image File Formats
- JPEG (And JPG) β Joint Photographic Experts Group
- PNG β Portable Network Graphics
- GIF β Graphics Interchange Format
- WebP
- TIFF
- BMP β Bitmap
- HEIF β HighEfficiency Image File Format
- SVG β Scalable Vector Graphics
- EPS β Encapsulated Postscript
- PDF β Portable Document Format
- PSD β Photoshop Document
- AI β Adobe Illustrator Artwork
- XCF β eXperimental Computing Facility
- INDD β Adobe InDesign Document
- Raw Image File Types
In short, I will try to publish notes to myself about the subjects I have learned recently, the subjects I have repeated, or the subjects I want to write about. If you have a question or something in your mind you can communicate with me on Linkedin.
Keep having fun, developing, and living π