Gravar-mail: Automatic detection of graticule isocenter and scale from kV and MV images