bugGNU Octave - Bugs: bug #42541, imcrop seems to ignore the crop...

 
 

bug #42541: imcrop seems to ignore the crop vector

Submitter:  None
Submitted:  Wed 11 Jun 2014 10:42:15 AM UTC
   
 
Category:  Libraries Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Lutz Andersohn Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 3.8.1
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 11 Jun 2014 12:09:53 PM UTC, comment #2: 

There is no image package version 2.2. There is 2.2.0 and 2.2.1. I am guessing, the Ubuntu package has the 2.2.0 version since that option was only implemented for 2.2.1.

It won't be a bug on the Ubuntu packaging, you're simply using an old version of it.

Carnë Draug <carandraug>
Group Member
Wed 11 Jun 2014 10:50:10 AM UTC, comment #1: 

Update:
I installed octave and octave-image from ubuntu package manager. It appears the octave-image addon is version 2.2 and the source code imcrop.m is from 2012 whereas the latest imcrop.m on sourforge is from 2014. The 2012 versionb of the code indeded does not handle a rectangle parameter
This may be a bug with the package maintainers on ubuntu rather than Octave, sorry

Anonymous
Wed 11 Jun 2014 10:42:15 AM UTC, original submission:  

when I call imcrop with an optional 2nd vector argument describing the X and Y crop region, I still get the GUI-crop option and a cropped image is not automatically returned.
This is a problem with Matlab compatibility. Example

*verbatim+
Out = imcrop(IN, [XL YL XLen YLen]);
-verbatim-

starts the interactive crop and does not automatically return the specified rectangle


Anonymous

 

(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 None (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 group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-06-11 carandraug StatusNone Invalid / Not an Octave Bug
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code