“For simplicity, we’ll instead load the images in greyscale.
A greyscale image has two dimensions: height and width.
Greyscale images have only one channel.
Most greyscale images are 8 bits per channel or 16 bits per channel.
For a greyscale image with 8 bits per channel, each value in the matrix represents a tone between black (0) and white (255).”
The added information about bits per channel is intended to inform the reader about the difference between 8 bits per channel images and 16 bits per channel images.
“For simplicity, we’ll instead load the images in greyscale.
A greyscale image has two dimensions: height and width. Greyscale images have only one channel. Most greyscale images are 8 bits per channel or 16 bits per channel. For a greyscale image with 8 bits per channel, each value in the matrix represents a tone between black (0) and white (255).”
The added information about bits per channel is intended to inform the reader about the difference between 8 bits per channel images and 16 bits per channel images.