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

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

[Octave-bug-tracker] [bug #51420] image package: imrotate is less tolera


From: Hartmut
Subject: [Octave-bug-tracker] [bug #51420] image package: imrotate is less tolerant to missing argument than Matlab
Date: Sat, 8 Jul 2017 16:26:21 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0

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

                 Summary: image package: imrotate is less tolerant to missing
argument than Matlab
                 Project: GNU Octave
            Submitted by: hardy
            Submitted on: Sat 08 Jul 2017 08:26:20 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
         Discussion Lock: Any
                 Release: 4.2.1
        Operating System: Any

    _______________________________________________________

Details:

This happens with Octave 4.2.1 and image-2.6.1. 

Consider following example code:


im = magic(15);
out = imrotate(im, 50,'crop');


This throws an error in Octave, because 'crop' is no valid interpolation
method. But it works fine in Matlab. See the second code line here, for
example:
http://de.mathworks.com/help/images/ref/houghpeaks.html?s_tid=doc_ta#examples
.

So the Matlab version of imrotate seems to be more tolerant about the missing
parameter "method" in this case, it just takes the given string "crop" to be
an input for the next parameter "bbox".

This works in Matlab, but I think it is not documented in their help page of
imrotate: http://de.mathworks.com/help/images/ref/imrotate.html .




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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