Subgrid scale formulation of optical flow for the study of turbulent flow