octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #52926] [octave-forge] (image) regionprops('pe


From: Hartmut
Subject: [Octave-bug-tracker] [bug #52926] [octave-forge] (image) regionprops('perimeter') gives unexpected error / 'eccentricicty' inaccurate
Date: Thu, 18 Jan 2018 17:12:49 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0

Follow-up Comment #1, bug #52926 (project octave):

There seem to be several issues with this:

* Throwing an error on the 'perimeter' property with conn=4 : 
** This definitly is a proper bug. 
** Maybe somewhere in the subfunction rp_perimeter of regionprops.m
** This seems to be a regression. At least this still works (i.e. does NOT
throw any error) with an older version I have.

* (slightly) different values of the 'perimeter' property:
** Yes, those are formally a Matlab incompatibility bug.
** The currenct Octave results seem to be in good agreement with the Matlab
help page. But maybe there is some ambiguity in their defition.
** I am not sure if those small differences will be too big a nuisance in
practice.

* (even slighter) differences in values of the 'eccentricity' property. 
** Yes,this is formally also a Matlab compatibility bug.
** The only different value is in region 2 with conn=8. (after you get the
code running at all with conn=4, by only asking for the eccentricity).
** I am not sure if those small differences will be too big a nuisance in
practice.

So in my opinion, the first thing to fix here, would be the 'perimeter'
property with conn=4. I am not sure when I will find the time for this.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52926>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]