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

 
 

bug #42541: imcrop seems to ignore the crop vector

Submitted by:  None
Submitted on:  Wed 11 Jun 2014 10:42:15 AM UTC  
 
Category: LibrariesSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: InvalidAssigned to: None
Originator Name: Lutz AndersohnOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.8.1
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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>
Project 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 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 None (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):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 11 Jun 2014 12:09:53 PM UTCcarandraugStatusNone=>Invalid
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1