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: Fri, 2 Jun 2017 07:55:47 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0

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

Here is the Matlab result for more exotic input types:

* wiener2([])  ->   []

* wiener2(logical([0 0; 1 1]))  -> logical(ones(2,2))

This is NOT what our current Octave implementation of wiener2.m does. (Because
this is NOT what the Matlab help says: "Class Support: The input image I is a
two-dimensional image of class uint8, uint16, int16, single, or double. The
output image J is of the same size and class as I.")

So we should probably change our input checks accordingly, and add the above
two lines as new tests to the function.



    _______________________________________________________

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]