Revision bc042b8221b303a1e826eb54cba147432f944bc9 authored by Wei Liu on 03 October 2020, 02:30:27 UTC, committed by GitHub on 03 October 2020, 02:30:27 UTC
1 parent 251c7e0
psf2otf_Dy_GPU.m
function [otf] = psf2otf_Dy_GPU(outSize)
psf = single(zeros(outSize));
psf(1, 1) = -1;
psf(end, 1) = 1;
psf = gpuArray(psf);
otf = fftn(psf);
Computing file changes ...