def testRefocusLF(LF, focus, outname): aperture = LF.shape[0] l = lf.refocusLF(LF, focus, aperture) for i in range(len(l)): io.imwrite(l[i], outname+str(i)+'.png')
def testRefocusLF(LF, focus, outname): aperture = LF.shape[0] io.imwrite(lf.refocusLF(LF, focus, aperture), outname+'.png')