octave-patch-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-patch-tracker] [patch #9354] image package: new function wiener2


From: Hartmut
Subject: [Octave-patch-tracker] [patch #9354] image package: new function wiener2.m
Date: Sat, 27 May 2017 06:03:31 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0

Follow-up Comment #8, patch #9354 (project octave):

I've done the proposed changes:

https://bitbucket.org/hgimpel/octave-image/commits/e58325fdbe19ae3f4db066302d64542023937d2f

Regarding to question 3: In the literature I have only seen this method
applied to 1d or 2d images. But since it only relies on the noise variance
(implicitly assuming additive gaussian noise), the image variance and the
image mean in some simple neighborhood, it should also work fine with Nd
images. The following changes would be required for this:
* skip the input test of ndims==2 for image and neighborhood
* add an input test of ndims(image)==numel(neighborhood), maybe even postpad
neighborhood with 1s beforehand.
* make sure the two filtering commands works fine (currently imfilter only
supports 2d images, right? Maybe switch to convn and padarray as suggested for
the meantime.)
* mention it in the documentation
* add a test for it
I don't know if Matlab allows for Nd input images. But this shouldn't keep us
from doing better than them.

I will try to figure out how to create new named bookmarks in tortoise-hg.
Maybe next time I can use them instead of branches.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?9354>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]