bugGNU Octave - Bugs: bug #49331, Image Package: error with ...


bug #49331: Image Package: error with imtranslate ( , , , 'crop')

Submitted by:  Avinoam Kalma <avinoam>
Submitted on:  Thu 13 Oct 2016 12:04:20 PM UTC  
Category:  Octave Forge Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Avinoam Open/Closed:  Closed
Release:  other Operating System:  Any

Add a New Comment (Rich Markup)

You are not logged in

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


Thu 20 Oct 2016 08:39:31 PM UTC, comment #1: 

I have fixed it here http://hg.code.sf.net/p/octave/image/rev/e5072d495fd0 and will be part of the next patch release, 2.6.1

I would warn against relying too much on this function as it will eventually have to be removed and replaced with another that is Matlab compatible (even though the image package has had this function since 2002 and Matlab only implemented in 2014). If you are interested in implementing one that is Matlab compatible that would be great but it would be on the next minor release 2.8.0

Carnë Draug <carandraug>
Project Member
Thu 13 Oct 2016 12:04:20 PM UTC, original submission:  

>> imtranslate (ones(5,5), 1, 1, 'crop')
error: 'ypad' undefined near line 52 column 11
error: called from
    imtranslate at line 52 column 7

ypad definition was deleted in http://hg.code.sf.net/p/octave/image/rev/2a34ada9e75b.

Avinoam Kalma <avinoam>
Project Member


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

Attach Files:

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 avinoam
  • -email is unavailable- added by avinoam (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.




    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-10-20 carandraug StatusNone => Fixed
        Open/ClosedOpen => Closed
    2016-10-13 avinoam Carbon-Copy- => Added a.kalma@gmail.com

    Back to the top

    Powered by Savane 3.5