Calculates the rescaled distance of each pixel from the outlet. Such distance is so defined:
x' = xc + rxh
where: