for i = 0:.01:1;
    
    K = I*i + J*(1-i);
    imshow(K);
    pause;
end