Regarding deconvoultion using a point-spread function

23 ビュー (過去 30 日間)
Sebastian Daneli
Sebastian Daneli 2025 年 2 月 17 日 17:41
回答済み: Catalytic 2025 年 2 月 18 日 22:45
I am deconvoluting an image with a simulated point-spread function (PSF), and the top pixels of my image obviously have their intensity decreased. The intensity of the top pixels should, in theory, be the highest. How do I adress this in a reasonable way?
load('data');
image2=deconvwnr(image1,PSF,0.5);
figure(), hold on
subplot(2,1,1), imagesc(image1), axis off, title('Original Image')
subplot(2,1,2), imagesc(image2), axis off, title('Deconvoluted Image')
  2 件のコメント
Walter Roberson
Walter Roberson 2025 年 2 月 17 日 18:20
I notice the line in the documentation,
  • The output image J could exhibit ringing introduced by the discrete Fourier transform used in the algorithm. To reduce the ringing, use I = edgetaper(I,psf) before calling deconvwnr.
Perhaps you could try that?
Sebastian Daneli
Sebastian Daneli 2025 年 2 月 17 日 18:31
編集済み: Sebastian Daneli 2025 年 2 月 17 日 18:31
@Walter Roberson, I'll try it.

サインインしてコメントする。

回答 (1 件)

Catalytic
Catalytic 2025 年 2 月 18 日 22:45
load('data');
tmp=[flipud(image1);image1];
tmp=deconvwnr(tmp,PSF,0.5);
image2=tmp(end/2+1:end,:);
figure(), hold on
subplot(2,1,1), imagesc(image1), axis off, title('Original Image')
subplot(2,1,2), imagesc(image2), axis off, title('Deconvoluted Image')

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by