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

 
 

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

Submitter:  Hartmut <hardy>
Submitted:  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:  * dev Operating System:  * Any
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       

 

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:

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 .

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only project members can vote.

     

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-02-26 mtmiller Release4.2.1 dev
    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.9