To evaluate the diagnostic performance of two-dimensional shear-wave elastography (SWE) for staging hepatic fibrosis in the background liver parenchyma in patients with liver tumors before hepatic resection, using resected tissue pathology as a reference standard.