Watch this Author's files
3rd Time's a charm (seems that commenting is difficult): A very nice contribution. Rectifying Lytro data is now so much more easy :-)
With Matlab R2014a a very small fix was needed:
in file LFCalFindCheckerCorners.m
(SerialIdx ~= MostFreqSerialIdx)' ); %DEBUG SV transpose added
Very promising looking piece of code! Please could you mail me your dehaze implementation (firstname.lastname@example.org)?