|
From: | Avinoam Kalma |
Subject: | [Octave-bug-tracker] [bug #52933] [octave-forge] (image) regionprops Perimeter returns Matlab incompatible results |
Date: | Fri, 19 Jan 2018 17:59:18 -0500 (EST) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36 |
Follow-up Comment #3, bug #52933 (project octave): >From http://www.crisluengo.net/index.php/archives/310: "Proffitt and Rosen also introduced the concept of corner count, the number of times the chain code changes value. As we will see later, this can further reduce the orientation dependency of the method. Vossepoel and Smeulders (Computer Graphics and Image Processing 20(4):347-364, 1982) obtained the following optimal values using the even, odd and corner counts:" corner = cc.chain~=[cc.chain(end),cc.chain(1:end-1)]; p = sum(even)*0.980 + sum(~even)*1.406 - sum(corner)*0.091; See also table 3 in Vossepoel and Smeulders paper in https://pure.uva.nl/ws/files/2080198/30019_135305.pdf _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?52933> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |