From: Eddy on
Hi!
I'm currently exploring Matlab right now. And I have a problem wich
is:

I have an image and I've found multiple centroids of the shapes that
are present, but I would like to limit the search for the centroids
(three for being more specific) that are within a certain angle.
I have an example above in which A, B and C are no more than 90º
apart, so that would be the centroids I would like to focus on.
Is there a function that does this for me?


*B
A*
*C


Thanks for your attention and Help

--
Edison
From: us on
Eddy <edison.spencer(a)gmail.com> wrote in message <8fb1c9ec-6e75-40cc-a2f4-671735ef2923(a)q16g2000yqq.googlegroups.com>...
> Hi!
> I'm currently exploring Matlab right now. And I have a problem wich
> is:
>
> I have an image and I've found multiple centroids of the shapes that
> are present, but I would like to limit the search for the centroids
> (three for being more specific) that are within a certain angle.
> I have an example above in which A, B and C are no more than 90º
> apart, so that would be the centroids I would like to focus on.
> Is there a function that does this for me?
>
>
> *B
> A*
> *C
>
>
> Thanks for your attention and Help
>
> --
> Edison

a hint:

help cross;

us
From: Roger Stafford on
Eddy <edison.spencer(a)gmail.com> wrote in message <8fb1c9ec-6e75-40cc-a2f4-671735ef2923(a)q16g2000yqq.googlegroups.com>...
> ..... I would like to limit the search for the centroids
> ..... that are within a certain angle. ......
----------
You haven't made it clear what angles you are talking about. An angle is defined by a vertex and two lines projecting from that vertex. Which are your vertices, which are your pairs of lines?

Roger Stafford