Variational Adaptive Correlation Method for Flow Estimation