refocDist.m

This function takes optical parameters of a standard plenoptic camera and computes the distance at which a synthetically focused image exhibits least blur. The measurement unit is millimetre.