```&& src1.channels() <= 4 && src2.channels()<=4``` is redundant (in other places too)