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

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

[Octave-bug-tracker] [bug #45568] imfilter incompatible to MATLAB for ev


From: Felix
Subject: [Octave-bug-tracker] [bug #45568] imfilter incompatible to MATLAB for even filter width
Date: Fri, 17 Jul 2015 13:01:43 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:39.0) Gecko/20100101 Firefox/39.0

URL:
  <http://savannah.gnu.org/bugs/?45568>

                 Summary: imfilter incompatible to MATLAB for even filter
width
                 Project: GNU Octave
            Submitted by: fefe
            Submitted on: Fr 17 Jul 2015 13:01:42 GMT
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.0
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

There is a difference in the results of MATLAB and Octave for the imfilter()
function when used with even filter-sizes.

Used versions:
Octave 4.0.0
image-2.4.0

Example Code:


I = zeros(6);
I(2:3,2:3) = 1;
F = zeros(4);
F(2,2:3) = 1;
imfilter(I, F)


Matlab-Result:

     0     0     0     0     0     0
     1     2     1     0     0     0
     1     2     1     0     0     0
     0     0     0     0     0     0
     0     0     0     0     0     0
     0     0     0     0     0     0


Octave-Result:

     0     0     0     0     0     0
     0     0     0     0     0     0
     0     1     2     1     0     0
     0     1     2     1     0     0
     0     0     0     0     0     0
     0     0     0     0     0     0






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45568>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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