Closed akafen closed 6 years ago
Check whether k is a valid kernel.
I just run the demo,but it could not work,the problem is what I said
Pay attention to "Expected input number 2, PSF, to be nonzero."
PSF is required not to contain zero elements by the function validateattributes(PSF,{'uint8','uint16','int16','double','single'},...
So, you need to check PSF to make sure it does not contain zeros.
Error using edgetaper Expected input number 2, PSF, to be nonzero.
Error in edgetaper>parse_inputs (line 128) validateattributes(PSF,{'uint8','uint16','int16','double','single'},...
Error in edgetaper (line 34) [I, PSF, sizeI, classI, sizePSF, numNSdim] = parse_inputs(varargin{:});
Error in Demo_deblur_real_application (line 76) y = edgetaper(y,k);