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

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

[Octave-bug-tracker] [bug #59773] [octave forge] (image) iradon is not M


From: Avinoam Kalma
Subject: [Octave-bug-tracker] [bug #59773] [octave forge] (image) iradon is not Matlab compatible when using filter
Date: Mon, 28 Dec 2020 16:15:30 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36

URL:
  <https://savannah.gnu.org/bugs/?59773>

                 Summary: [octave forge] (image) iradon is not Matlab
compatible when using filter
                 Project: GNU Octave
            Submitted by: avinoam
            Submitted on: Mon 28 Dec 2020 09:15:28 PM UTC
                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
                 Release: other
         Discussion Lock: Any
        Operating System: Any

    _______________________________________________________

Details:

Examples:

Octave:


>> iradon(radon(ones(2,2),0:5),0:5, 'nearest')
ans =

  -0.3677   0.7481   0.7127  -0.3903
  -0.3677   0.7481   0.7127  -0.3903
  -0.3677   0.7481   0.7127  -0.3903
  -0.3677   0.7481   0.7127  -0.3903


Matlab:


>> iradon(radon(ones(2,2),0:5),0:5, 'nearest')

ans =

   -0.3593    0.7563    0.7210   -0.3820
   -0.3593    0.7563    0.7210   -0.3820
   -0.3593    0.7563    0.7210   -0.3820
   -0.3593    0.7563    0.7210   -0.3820


but if filter is 'none' Octave is compatible.

Ocatve:


>> iradon(radon(ones(2,2),0:5),0:5, 'nearest', 'none')
ans =

   0.4264   2.7859   2.7152   0.3557
   0.4264   2.7859   2.7152   0.3557
   0.4264   2.7859   2.7152   0.3557
   0.4264   2.7859   2.7152   0.3557


Matlab:


>> iradon(radon(ones(2,2),0:5),0:5, 'nearest', 'none')

ans =

    0.4264    2.7859    2.7152    0.3557
    0.4264    2.7859    2.7152    0.3557
    0.4264    2.7859    2.7152    0.3557
    0.4264    2.7859    2.7152    0.3557







    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59773>

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




reply via email to

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