Image Processing with Python

[Note: This site is not an official Software Carpentry lesson. The lesson is under development for use in the 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. Introduction What sort of scientific questions can we answer with image processing / computer vision?
What are morphometric problems?
What are colorimetric problems?
00:05 2. Image Basics How are images represented in digital format?
00:55 3. OpenCV Images How are digital images stored in Python with the OpenCV computer vision library?
02:35 4. Drawing and Bitwise Operations How can we draw on OpenCV images and use bitwise operations and masks to select certain parts of an image?
03:55 5. Creating Histograms How can we create grayscale and color histograms to understand the distribution of color values in an image?
05:20 6. Blurring images How can we apply a low-pass blurring filter to an image?
06:10 7. Thresholding How can we use thresholding to produce a binary image?
07:45 8. Edge Detection How can we automatically detect the edges of the objects in an image?
08:50 9. Contours How can we find contours in an image, and what can we do with contours?
11:30 10. Challenges What are the questions?
12:00 Finish

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