Image Fundamentals and OpenCV Basics
Understand how images are represented digitally and perform basic image manipulation using OpenCV.
Session activity
Work through the class notebook: load an image, inspect its pixels as a NumPy array, convert between color spaces, transform it, draw on it and adjust brightness and contrast.
Learning objectives
- Understand how images are represented digitally and perform basic image manipulation using OpenCV.
Key concepts introduced
- Introduction to computer vision: applications in robotics
- Digital images: pixels, resolution, channels
- Image representation using NumPy
- Color spaces: BGR, RGB, grayscale, HSV
- Reading and displaying images
- Image transformations: resize, crop, rotate, flip
- Drawing on images: lines, rectangles, circles, text
- Basic image enhancement: brightness, contrast
- OpenCV functions
Homework
Go through the notebook for the class and replicate it for a different image of your choice.
Deliverable
A .ipynb notebook with no errors and commented code.