Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
What does a pixel represent in an image?
Think about the smallest piece of an image.
How can a grayscale image be represented?
Remember the image has only one value per pixel.
What does a grayscale image use for representation?
Remember the structure of grayscale images.
True or False: A color image is represented as a 2D array.
Think about how colors are combined.
Given a grayscale image matrix of size 4x4, write code that inverts the pixel values.
Consider what an inverted image would look like.
You are given a 3D color image matrix. Design a function to separate out the Red channel and return it as a 2D matrix.
Each pixel has three values—how do you access just one?
5 more questions in this section. Enroll free to practise them all.
Enroll free