Change image lut with Image Editor

I want to create an app where i can take a photo and change it’s Lut (Look Up Table) to adapt for different types of colorblindness. Anyone would know how i can achieve this result?

For now i created the basic structure of the app, but my main issue is in how to apply the lut to the image using the Image Editor component. Looks like color filter and hue are not what i am looking for.
Maybe i can merge two images (a png containg the lut) and the taken picture to create a new one?

Thanks in advance