Hi ptrblck, I realized that there is something wrong with the normalization.
But I don’t understand how swapping the axes affect the normalization. (I am normalizing each of the image to range from 0 to 1)