Image Processing

[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:30 2. Image Basics How are images represented in digital format?
01:00 3. OpenCV Images How are digital images stored in Python with the OpenCV computer vision library?
01:30 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?
02:00 5. Creating Histograms How can we create grayscale and color histograms to understand the distribution of color values in an image?
02:30 6. Blurring images How can we apply a low-pass blurring filter to an image?
03:00 7. Thresholding How can we use thresholding to produce a binary image?
03:30 8. Edge Detection How can we automatically detect the edges of the objects in an image?
04:00 9. Contours How can we find contours in an image, and what can we do with contours?
04:30 10. Challenges What are the questions?
05:00 Finish

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