Loading [MathJax]/extensions/tex2jax.js

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

Image Modification Using the HMI (hmi_checkbox)

Aim

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

Input

The Lena image from TestImage filter.

Output

Application with HMI as shown in the image below.

Hints

In this exercise most useful HMI controls are presented:

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

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

To create an application that uses HMI controls, 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.

Solution (FIS)

►Click here to show the solution.