1. Home
  2. Docs
  3. Computer Vision
  4. Introduction to OpenCV
  5. Overview of Digital Image...
  6. Grey Scale Image

Grey Scale Image

Consider the image of a handwritten number,

Each single-digit image can be represented as an array

Representation of Grey Scale Images

  • 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
  • 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

Loading

Views: 0

How can we help?

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments