From: Martin on
Hi
I would like to get all the pixels within a region of interest in my image. I can use roipoly and then do indexing to get the pixels of interest, if my region of interest is a polygon.
But, my image contains an elliptical object and I would like to get all the pixels within the ellipse. Thresholding did not work because some regions in the ellipse are not bright and these regions get omitted from the thresholded image.
I used imellipse to define my ellipse. But then I did not know how to get all the pixels within the ellipse. The Mathworks documentation on imellipse says that I can use 'createMask' using the function handle that I create using imellipse. But unfortunately, this function is available only in the newest version and I do not have it.

Any suggestions on how I can proceed will be great.

Thanks
Sundar
From: ImageAnalyst on
Sundar:
I don't have your old version. Exactly what does your version of
imellipse give you? Can you paste the first part of the help file for
it here?
-ImageAnalyst