Discrete Orthogonal Decomposition and Variational Fluid Flow Estimation