I derive and analyze an explicit formula for a generalized semblance attribute, which is suitable for velocity analysis of prestack seismic gathers with distinct amplitude trends. While the conventional semblance can be interpreted as squared correlation with a constant, the AB semblance is defined as a correlation with a trend. This measure is particularly attractive for analyzing class II AVO...