Roto: fix bug when outside of mask
RGBLut: factorize