Demo: use fuzzyhub service to control image opacity

A band pass filter is implemented as a simple fuzzy contoller. Change the slider value below to change the image opacity.



The fuzzy system implements two rules:

How it works

As user changes the ruler thumb position, a fuzzy controller service is queried, how according to the rules the output variable changes. The output variable is then translated to image opacity, which can be observed by user. Obviously, the maximum image opacity is reached as the slider value is 0.5.