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

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

[Octave-patch-tracker] [patch #9235] image package: improve filtering fu


From: Hartmut
Subject: [Octave-patch-tracker] [patch #9235] image package: improve filtering functions (stdfilt, entropyfilt) and add tests (also medfilt2, ordfilt2, rangefilt)
Date: Thu, 22 Nov 2018 16:01:43 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0

Follow-up Comment #5, patch #9235 (project octave):

I have prepared a patch (V4) that includes the following changes to
entropyfilt.m
* the remaining tests (Sorry, I tried hard but did not always succed to
express the expected results analytically.)
* some additional tests with uint8 and uint16 inputs (also sometimes with
truncated floats, because I didn't suceed to express it otherwise.)
* a change to the input type conversion. It now uses im2uint8 instead of the
gray value stretching that was used before. This gives different results now.
And this was necessary to get Matlab compatible results for the above test
cases. (This compatibility change was also done to entropy.m recently.)
* no note in the NEWS file, because it is already there.

The tests are all Matlab compatible, and eventually they all pass :)

Please REVIEW the patch (V4) and let me know if there is something to change
before we can push it and close this issue.

(file #45512)
    _______________________________________________________

Additional Item Attachment:

File name: new_tests_typeconversion_entropyfilt_V4.patch Size:3 KB


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/patch/?9235>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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