Tutorvo

Pixels as Numbers: RGB to Greyscale with Weighted Luminance

Lesson 1 of 814 minLab

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

  1. Pixels as Numbers: RGB to Greyscale with Weighted LuminanceLab14 min Locked
  2. Brightness, Contrast & the Histogram (FREQUENCY, with a Chart)Lab18 min Locked
  3. Thresholding & Binary Masks: Separating an Object from the BackgroundLab16 min Locked
  4. 3×3 Convolution with SUMPRODUCT: a Gaussian BlurLab18 min Locked
  5. Sharpening & Edge Detection: Sobel Gx, Gy and Gradient MagnitudeLab20 min Locked
  6. Padding & Stride: the Output-Size Formula and a Stride-2 ConvolutionLab18 min Locked
  7. Max & Average Pooling: Shrinking Feature MapsLab16 min Locked
  8. A Tiny CNN by Hand: Conv → ReLU → Pool → ScoreLab22 min Locked