/ main.jl
main.jl
 1  import HoloProcessing: load_holo, plan_fft, reconst, FFTW
 2  import Makie: save
 3  
 4  
 5  holo = load_holo("./set", "111.jpg"; convert=true)
 6  
 7  FFTW.set_num_threads(Sys.CPU_THREADS)
 8  
 9  Pr = plan_fft(holo)
10  scale = 1500
11  re_img = reconst(holo, Pr, scale;shift=true, nthreads=true)
12  
13  save("./out.png", re_img)