How can I limit the size of the output signal from deconvolution using deconvwnr?

3 ビュー (過去 30 日間)
Benjamin Brenner
Benjamin Brenner 2019 年 8 月 20 日
コメント済み: Nikhil Sonavane 2020 年 1 月 27 日
I want to deconvolve a signal with a point spread function to retrieve a "ground truth" signal. I know that the ground truth is roughly Gaussian and should be 7x7 pixels.
This works when I do deconvolution without noise. However, when I add noise I get this weird periodic semi-gaussian signal that is the same length as the point spread function (47 pixels).
Is it possible to restrict the size of the output to be a 7x7 image?
Here is the code. The variables are attached:
deconvwnr(temp,sptint,0)
  2 件のコメント
Adam Danz
Adam Danz 2019 年 8 月 20 日
For J = deconvwnr(I,psf,nsr), from the documentation, J is a numeric array the same size as I. 'temp' is 7x47 and it produces the same size output. I don't have enough background on this topic to recommend an alternative but if you use deconvwnr() you can expect your output size to match the first input size.
Nikhil Sonavane
Nikhil Sonavane 2020 年 1 月 27 日
Please refer to the documenation for more details. The size of output of deconwnr function cannot be be lesser than the input. If you have any other specific doubt and need further clarification you may comment it here.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

タグ

製品


リリース

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by