That pic is accurate, the mast is the tallest structure on the ship, and allows a better angle and more accurate estimation. In the pic, the waterline on the top ship is touching the mast on the bottom ship.
Stadimeter range finding is pretty cool, eh? Except in rough seas!