Computer-aided diagnosis of complications of total hip replacement X-ray images