[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #57053] [octave forge] (image 2.10.0) possible
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #57053] [octave forge] (image 2.10.0) possible deconvwnr regression |
Date: |
Sun, 13 Oct 2019 16:33:04 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:56.0) Gecko/20100101 Firefox/56.0 |
URL:
<https://savannah.gnu.org/bugs/?57053>
Summary: [octave forge] (image 2.10.0) possible deconvwnr
regression
Project: GNU Octave
Submitted by: None
Submitted on: Sun 13 Oct 2019 08:33:02 PM UTC
Category: Octave Forge Package
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Regression
Status: None
Assigned to: None
Originator Name: jy bernier
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 5.1.0
Operating System: Mac OS
_______________________________________________________
Details:
deconvwnr gives wrong result with image 2.10.0.
Scripts were ok with image 2.6.1 and earlier.
Steps to reproduce:
Copy example at
https://octave.sourceforge.io/image/function/deconvwnr.html
and change phantom to imread
%I = phantom ();
I = imread("http://www.hlevkin.com/TestImages/cameraman.bmp");
figure, imshow (I);
title ("Original image");
psf = fspecial ("motion", 30, 15);
blurred = imfilter (I, psf, "conv");
figure, imshow (blurred);
title ("Image with added motion blur");
var_noise = 0.00005;
blurred_noisy = imnoise (blurred, "gaussian", 0, var_noise);
figure, imshow (blurred_noisy);
title ("Image with motion blur and added Gaussian noise");
estimated_nsr = var_noise / (var(blurred_noisy(:)) - var_noise);
J = deconvwnr (blurred_noisy, psf, estimated_nsr);
figure, imshow (J)
title ({"restored image after Wiener deconvolution",
"with known PSF and estimated NSR"});
See attached file deconvwnr_broken.jpg for result.
MacOS X 10.9
octave 5.1.0
image 2.10.0
Macport installation
Note : deconvblind working as expected
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sun 13 Oct 2019 08:33:02 PM UTC Name: deconvwnr_broken.jpg Size:
266KiB By: None
<http://savannah.gnu.org/bugs/download.php?file_id=47663>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57053>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #57053] [octave forge] (image 2.10.0) possible deconvwnr regression,
anonymous <=