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

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

[Octave-bug-tracker] [bug #38465] IMAGE: regionprops Centriod order


From: Juan Pablo Carbajal
Subject: [Octave-bug-tracker] [bug #38465] IMAGE: regionprops Centriod order
Date: Mon, 04 Mar 2013 18:57:50 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.97 Safari/537.22

URL:
  <http://savannah.gnu.org/bugs/?38465>

                 Summary: IMAGE: regionprops Centriod order
                 Project: GNU Octave
            Submitted by: juanpi
            Submitted on: Mon 04 Mar 2013 06:57:48 PM GMT
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: juanpi
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.4
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Apparently the function regionprops from Matlab returns the Centroid of the
blobs in a different order than the Octave version.

That is if 

Octave_node = regionprops(lblNodes, 'Centroid').Centriod;


was calculated using Octave and


Matlab_node = regionprops(lblNodes, 'Centroid').Centriod;


using Matlab then

Matlab_node(1,[2 1]) = Octave_node





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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