Generalized Adaptive Smoothing Method for State Estimation of Generic Two-Dimensional Flows