Simply place the canvas block in a container on your screen and fill in the input parameters (binary image, id of the container and image configuration).
You can create a separate configuration screen where the user selects a type of colorblind correction filter, as well as values for intensity, contrast and saturation. You may also want to include a test image in this configuration screen, similarly to the demo for this component.
After saving these values, you just have to set the block's image configuration inputs to match the user's preferences.