A method to remove the projection error in triple-energy radiography with contrast medium