Pixels as Numbers: RGB to Greyscale with Weighted Luminance
This lesson is part of the course
In this lesson
For ten colour pixels from a PixelForge test photo you calculate the perceived grey value with luma weights, compare it with a plain average, find the brightest pixel and work out how much memory a colour photo needs.
Buy the course once for $9.99 to unlock every lesson and lab, the final exam and the certificate – lifetime access, no subscription.
Lessons in this course
- Pixels as Numbers: RGB to Greyscale with Weighted Luminance Locked
- Brightness, Contrast & the Histogram (FREQUENCY, with a Chart) Locked
- Thresholding & Binary Masks: Separating an Object from the Background Locked
- 3×3 Convolution with SUMPRODUCT: a Gaussian Blur Locked
- Sharpening & Edge Detection: Sobel Gx, Gy and Gradient Magnitude Locked
- Padding & Stride: the Output-Size Formula and a Stride-2 Convolution Locked
- Max & Average Pooling: Shrinking Feature Maps Locked
- A Tiny CNN by Hand: Conv → ReLU → Pool → Score Locked