Line scale measurement using image registration