Gravar-mail: Automated 2D–3D registration of portal images and CT data using line-segment enhancement