Reduction of stress nonuniformities by apodization of compressor displacement in elastography