Ejemplo n.º 1
0
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')
Ejemplo n.º 2
0
def testRefocusLF(LF, focus, outname):
    aperture = LF.shape[0]
    io.imwrite(lf.refocusLF(LF, focus, aperture), outname+'.png')