Image Processing

[Note: This site is not an official Software Carpentry lesson. The lesson is under development for use in the Doane Digital Imaging and Vision Applications in Science (DIVAS) Image Processing summer workshop.]

This lesson shows how to use Python and OpenCV to do basic image processing.

Prerequisites

This lesson assumes you have working knowledge of Python and Bash command-line commands.

Schedule

Setup Download files required for the lesson
00:00 1. Image Basics How are images represented in digital format?
00:30 2. OpenCV Images How are digital images stored in Python with the OpenCV computer vision library?
01:00 3. Drawing and Bitwise Operations How can we draw on OpenCV images and use bitwise operations and masks to select certain parts of an image?
01:30 4. Creating Histograms How can we create grayscale and color histograms to understand the distribution of color values in an image?
02:00 5. Blurring images How can we apply a low-pass blurring filter to an image?
02:30 6. Thresholding How can we use thresholding to produce a binary image?
03:00 7. Edge Detection How can we automatically detect the edges of the objects in an image?
03:30 8. Contours How can we find contours in an image, and what can we do with contours?
04:00 9. Challenges What are the questions?
04:30 Finish

The actual schedule may vary slightly depending on the topics and exercises chosen by the instructor.