Computer Vision · Beginner level

Beginner level · Module 3 of 6 · 9 guided hours

Image Processing Fundamentals

Core image operations with OpenCV: geometric transforms, brightness and contrast, histograms and equalisation, thresholding (including for scanned documents) and morphology.

Learning objectives

  • Apply geometric and intensity transforms
  • Use histograms, equalisation and thresholding
  • Clean binary images with morphological operations

Topics

  • resizing, rotation and flipping
  • brightness and contrast
  • histograms and equalisation (CLAHE)
  • global, Otsu and adaptive thresholding
  • document image cleanup
  • erosion, dilation, opening and closing

Lessons

  1. Lesson 1 Geometric and Intensity Transformations

    Learners resize, rotate, flip and adjust brightness and contrast, and see how each operation changes the pixel values.

    cv2.resizecv2.rotate and warpAffinecv2.flipconvertScaleAbsclipping at 0 and 255

  2. Lesson 2 Histograms, Equalisation and Thresholding

    Learners read image histograms, improve contrast with histogram equalisation and CLAHE, and separate objects from background with global, Otsu and adaptive thresholding, including on scanned school documents.

    histogramequalizeHist and CLAHEglobal thresholdOtsu's methodadaptive threshold

  3. Lesson 3 Morphological Operations

    Learners clean binary images with erosion, dilation, opening and closing, and count objects such as seeds or grains on a plain background.

    structuring element (kernel)erosiondilationopening and closingconnected components

Practical activity

Build two small tools: a document cleaner that turns uneven-light photos of fictional forms into readable black-and-white images, and a seed counter with a measured error.

Expected outcomes

  • Practical command of core OpenCV operations
  • Measured, simple vision tools

Assessment

Practical test on new images (60%) and the two tools with their evaluation notes (40%).

Free taster lesson Basic Image Processing Read a free self-study lesson on this topic in the Free Course Library.

Taught live by an instructor — online or in person. Free course lessons are for self-study and do not lead to a certificate — see registration options.