Taper discontinuities along image edges
The output image
J is the weighted sum of the original image
I and its blurred version. The weighting array, determined
by the autocorrelation function of
J equal to
I in its central region,
and equal to the blurred version of
I near the edges.
original = imread('cameraman.tif'); PSF = fspecial('gaussian',60,10); edgesTapered = edgetaper(original,PSF); figure, imshow(original,);
I— Input image
Input image, specified as a numeric array.
PSF— Point spread function
Point spread function, specified as a numeric array. The size of the
PSF cannot exceed half of the image size in any
J— Weighted sum of original image and its blurred version