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
- Either try it with using YUYV 640x240 @ 30 fps, or:
- 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
With JeVois v1.5 and above, you may want to use
help2 instead of
help, which is a shorter and more compact help message that shows parameters and commands of the running machine vision module only (and no general parameters related to the JeVois core).