Loading [MathJax]/extensions/tex2jax.js

You are here: Start » Tutorial Exercises » Image Modification Using the HMI

Image Modification Using the HMI

Aim

Create an application that will perform several image modifications using information from the HMI.

Input

The Lena image from the TestImage filter.

Output

An application with the HMI as shown in the image below.

Hints

In this exercise, most useful HMI controls are presented:

  • ImpulseButton - a button control used to terminate application,
  • ComboBox - selecting image modification to be applied to the input image,
  • CheckBox - a two-state control that allows changing the process' state,
  • VideoBox - presents an image in the HMI,
  • Knob - allows changing of a real value.

In this exercise all communication with the HMI should be performed in Main macrofilter.

To create an application that uses HMI controls, a loop generator should be added to the project.

In this example, variant macrofilters should be used to perform actions depending on the state of the HMI controls.

Labeling connections is explained in this article.

Solution (FIS)

►Click here to show the solution.

Further Readings