Skip main navigation

Get 30% off one whole year of Unlimited learning. Subscribe for just £249.99 £174.99. T&Cs apply

Practical: Median filter for background learning

A practical showing how to implment median filtering for background substuction for use in video motion detection
A common way of finding and updating a background image for use in motion detection is the use of median filtering.

This practical shows you how to try this out using OpenCV.

All the instructions are in the attached pdf Median filtering.

The sample video data, walking.mp4, can be downloaded at https://github.com/nlmellor/PhenoDataCampp/tree/main/ImageAnalysis/data.

Please let us know how you get on in the comments.

This article is from the free online

Introduction to Image Analysis for Plant Phenotyping

Created by
FutureLearn - Learning For Life