Thread Subject: Indices under ellipse in an Image

Subject: Indices under ellipse in an Image

From: Ray

Date: 25 Nov, 2009 12:30:24

Message: 1 of 1

Hi there,

I've got an binary image with a blob. For this blob I can extract informations using regionprops.
What I now want are the indices of the pixels which are covered from the equivalent ellipe. Drawing the ellipse in a figure is not a problem, but who can I extract the indices?

Any help would be great!!
Here is a code snipped with a picture from somewhere in the net:

I=imread('http://www-roc.inria.fr/gamma/OBJECTS/SCHNAUZER/ANATOMY/tibial-bone-sup.jpeg');
I=rgb2gray(I);
I=I>50;
I=imclose(I,strel(5,disk));
imshow(I);
props=regionprops(I,'centroid','Minoraxislength',...
    'MajorAxisLength','Orientation');
xc=yolk_props.Centroid(:,1);
yc=yolk_props.Centroid(:,2);
ra=yolk_props.MajorAxisLength(:,1);
rb=yolk_props.MinorAxisLength(:,1);
phi=yolk_props.Orientation(:,1);
 
 
 
 

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 processin... Ray 25 Nov, 2009 07:34:26
rssFeed for this Thread

Contact us at files@mathworks.com