So I am basically trying to blend two pictures together by taking the weighted average of each pixel. However, in order for the transformation to apply, the two pictures must be exactly the same size. If not, then the first picture remains unchanged.
This is basically what I have to do, but I need clarification. I'm not understanding what I have to do with the colors