Defocus Discrimination In Video Of Motion In Depth And Related Applications