Consider the image of a handwritten number,

Each single-digit image can be represented as an array
Representation of Grey Scale Images

Whiten part is represented as 0
Darkest is represented as a digit one
- A number is represented by 28*28
- The image on the left is a grey scale image which means it is only black or white or some colors of gray and it is represented as an array with values ranging from 0 to 1
- How dark a pixel should be can be represented as a value between 0 and 1
- Often default images have values between 0 and 255
- Where 255 is the highest or brightest value
- Zero is the darkest
- The range 0 to 255 has to do with how computers store 8-bit numbers
- Divide all the values by 255 to normalize between 0 and 1
Views: 0