CTREC - C-arm tracking and reconstruction using elliptic curves