I think will be good to make some options how to use the masks and how to utilize it.
For example - right now I do not convert my RAW files to Tiff cause CR(CapturinReality) use this format very well. So I just save my time.
And mask can be done in a different way - color keying, difference, handmade(yes, some times its need to be done), and also backlights… so I need option to load masks from separated files.
Also different step sometime need different masks. For example than I shoot on the bright background I got bright bloom on model but I need to keep it to make geometry better. But then I start bake textures, I just mask boomed parts from image (I don`t want exclude image cause some information its still usefull and needed.)