bugGNU Octave - Bugs: bug #51420, [octave forge] (image) imrotate is...

 
 

bug #51420: [octave forge] (image) imrotate is less tolerant to missing argument than Matlab

Submitted by:  Hartmut <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:  Open/Closed:  Open
Release:  4.2.1 Operating System:  Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 08 Jul 2017 08:26:20 PM UTC, original submission:

This happens with Octave 4.2.1 and image-2.6.1.

Consider following example code:

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 .

Hartmut <hardy>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Updated the item)
  • -email is unavailable- added by hardy (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-08-12 jwe Summaryimage package: imrotate is less tolerant to missing argument than Matlab => [octave forge] (image) imrotate is less tolerant to missing argument than Matlab

    Back to the top


    Powered by Savane 3.3