Elastography is an imaging technique that measures the stiffness of tissues, including the liver, to assess the degree of fibrosis or scarring.