Choose inclusion, identity or merge. The parameters are edge threshold r and function threshold a; the matrices use rational coefficients.
View 3 of 3: merge
The initial figure is shown above. Enable JavaScript to change the selection.