This module is to learn about basic image filtering. It was developed to allow students to instantly observe the effects of different filters and their parameters on live video. The module implements a variety of filters using OpenCV. Each filter exposes some paremeters (e.g., kernel size) that can be set interactively to understand their effects onto the filter behavior.
How to use this module
- Open a video viewer on your host computer and select YUYV 640x240 @ 30 fps (see Quickstart user guide)
- Open a serial communication to JeVois (see Command-line interface user guide)
help and observe the available parameter called
- Start by setting the
effect parameter to a given effect type. For example:
setpar effect Median or
setpar effect Morpho (commands are case-sensitive).
help to see what additional parameters are available for each effect. For example, for Median, you can adjust the kernel size (parameter
ksize). For Morpho, you can select the type of morphological operation (parameter
op), structuring element shape (parameter
kshape) and size (parameter
setpar effect Morpho
setpar op Open
setpar ksize 7 7