Fix image scaling.

Now we initialise image histogram with bin size equal to physical pixel
size.