Robust estimation of 3D positions and orientations of knee implants from xray fluoroscopic images