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 PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: NoneAssigned to: None
Originator Name: Open/Closed: Open
Release: 4.2.1Operating 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 12 Aug 2017 12:39:51 AM UTCjweSummaryimage 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.1-cleanup1