Strain maps + vector calculations

I have tried to manually calculate the strain from the vector values but
I am getting different strain values to that which is calculated by
DaVis. I have also uploaded the strain video. After 2:30 minutes the
strain map gets eaten away. Is this due to the image going out of focus?