On 29 August 2010 02:11, Baylis Shanks <bshan...@hotmail.com> wrote:
> I'm a little confused as to what the output format is; bwconncomp seems to
> think that it reverses the x and y coordinates. But in any case, either
> (3,1) is outside to image, or (2,3) is (because if it's reversed, then 2,3
> becomes 3,2).

By looking into the code, seems that the coordinates returned by
bwboundaries should be (rows, columns) at least when the object is
only one point. This is opposite to what the help text says.

When the object is larger than 1, it uses __imboundary__ which is
written in C (I don't know how to read C so I can't help) so maybe the
coordinates are returned as (columns, rows) as the help text says.

Should the help text or the function be corrected about the order of
the coordinates?

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to