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

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

[Octave-bug-tracker] [bug #41186] image: fspecial disk is not matlab com


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #41186] image: fspecial disk is not matlab compatible
Date: Fri, 10 Jan 2014 13:16:05 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20131030 Firefox/17.0 Iceweasel/17.0.10

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

                 Summary: image: fspecial disk is not matlab compatible
                 Project: GNU Octave
            Submitted by: carandraug
            Submitted on: Fri 10 Jan 2014 13:16:04 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: other
        Operating System: Any

    _______________________________________________________

Details:

Octave's fspecial disk shape, returns a disk shaped filter for average, where
all have the same value. However, the Matlab disk is slightly different, where
the borders are slightly lower (pillbox).


>> a = fspecial ('disk')

a =

         0         0         0    0.0012    0.0050    0.0063    0.0050   
0.0012         0         0         0
         0    0.0000    0.0062    0.0124    0.0127    0.0127    0.0127   
0.0124    0.0062    0.0000         0
         0    0.0062    0.0127    0.0127    0.0127    0.0127    0.0127   
0.0127    0.0127    0.0062         0
    0.0012    0.0124    0.0127    0.0127    0.0127    0.0127    0.0127   
0.0127    0.0127    0.0124    0.0012
    0.0050    0.0127    0.0127    0.0127    0.0127    0.0127    0.0127   
0.0127    0.0127    0.0127    0.0050
    0.0063    0.0127    0.0127    0.0127    0.0127    0.0127    0.0127   
0.0127    0.0127    0.0127    0.0063
    0.0050    0.0127    0.0127    0.0127    0.0127    0.0127    0.0127   
0.0127    0.0127    0.0127    0.0050
    0.0012    0.0124    0.0127    0.0127    0.0127    0.0127    0.0127   
0.0127    0.0127    0.0124    0.0012
         0    0.0062    0.0127    0.0127    0.0127    0.0127    0.0127   
0.0127    0.0127    0.0062         0
         0    0.0000    0.0062    0.0124    0.0127    0.0127    0.0127   
0.0124    0.0062    0.0000         0
         0         0         0    0.0012    0.0050    0.0063    0.0050   
0.0012         0         0         0






    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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