Thread Subject: Find coordinates of intersection between an object in an image and a line (major axis of ellipse)

Subject: Find coordinates of intersection between an object in an image and a line (major axis of ellipse)

From: Kenneth Galea

Date: 4 Jan, 2010 17:47:04

Message: 1 of 2

Hi everyone,
   Pls can somebody help me in this. Is there a function in Matlab which generates the coordinates of intersection between a line (in my case the major axis of an ellipse) and the labelled object in the image?? The following link shows my image (with labelled objects) intersected with the major axis of an ellipse:
http://drop.io/intersection_object_line

Thanks

Kenneth

Subject: Find coordinates of intersection between an object in an image and a line (major axis of ellipse)

From: Krishna C

Date: 14 Mar, 2010 06:42:05

Message: 2 of 2

"Kenneth Galea" <k.galea@hotmail.com> wrote in message <hht9io$6qe$1@fred.mathworks.com>...
> Hi everyone,
> Pls can somebody help me in this. Is there a function in Matlab which generates the coordinates of intersection between a line (in my case the major axis of an ellipse) and the labelled object in the image?? The following link shows my image (with labelled objects) intersected with the major axis of an ellipse:
> http://drop.io/intersection_object_line
>
> Thanks
>
> Kenneth

%--------------------------------------
Hi...

i'm not sure to what extent this works out, but may be you can try this...

First, get all the pixel coordinates of the one object and next try to get the pixel coordinates of the other object...

after getting these two..try using the function 'polyxpoly'..

may be its helpful...

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
image processing Kenneth Galea 4 Jan, 2010 12:49:22
intersection be... Kenneth Galea 4 Jan, 2010 12:49:22
rssFeed for this Thread

Contact us at files@mathworks.com