bugGNU Octave - Bugs: bug #39701, regionprops centroid property...


bug #39701: regionprops centroid property swaps coordinates sometimes

Submitted by:  Cristian <r41nm4n>
Submitted on:  Mon Aug 5 14:18:39 2013  
Category: Octave Forge PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: NoneAssigned to: Andreas Weber <andy1978>
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


Tue Aug 6 16:00:58 2013, comment #2:

I've pushed the patch with rev ab0ac77d350b to octave-image.
Regards, Andy

Andreas Weber <andy1978>
Project MemberIn charge of this item.
Tue Aug 6 11:25:38 2013, comment #1:

Dear Cristian,
thank you for reporting this bug.

I've attached a patch to fix this but it will take some time until a new release of the package "octave-image" will be made.

Regards, Andy

(file #28771)

Andreas Weber <andy1978>
Project MemberIn charge of this item.
Mon Aug 5 14:18:39 2013, original submission:

With octave 3.7.5, package image 2.0.0, built on Debian testing, the function regionprops gives unexpected results with the property centroid. Four cases follow: the first and the third are correct, the second and the fourth seem not:

Cristian <r41nm4n>


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

Attach File(s):

Attached Files


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by andy1978 (Updated the item)
  • -unavailable- added by r41nm4n (Submitted the item)
  • -unavailable- added by r41nm4n

    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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue Aug 6 16:00:58 2013andy1978Open/ClosedOpen=>Closed
    Tue Aug 6 11:25:38 2013andy1978Attached File-=>Added bug_39701_regionprops_centroid.patch, #28771
      Assigned toNone=>andy1978
    Mon Aug 5 14:18:39 2013r41nm4nCarbon-Copy-=>Added r41nm4n

    Back to the top

    Powered by Savane 3.1-cleanup1