From: murat on
"murat " <hmuratv(a)hotmail.com> wrote in message <hnt5th$8v5$1(a)fred.mathworks.com>...
> ImageAnalyst <imageanalyst(a)mailinator.com> wrote in message <567e5da9-e193-46a2-8a94-24b1e182c3ad(a)u33g2000yqe.googlegroups.com>...
> > And where are you placing the perpendicular along the major axis?
> > Half way down? At the point where the bean is widest? If so, what if
> > several perpendicular positions have the same width?
>
> Yes the perpendicular along the major axis is at the poing where the ben is widest, exactly.. then I can say that if there are more than one longest perpendicular with same width I can take only one of them, because I need the value at the end..
> thanks.

It is easy I think to use this image that I create in paint. The question is how can I draw and measure these lines (the longest lines perpendicular to each other, length and width)?
thanks
From: murat on
I wrote that;

Yes the perpendicular along the major axis is at the poing where the ben is widest, exactly.. then I can say that if there are more than one longest perpendicular with same width I can take only one of them, because I need the value at the end..
thanks.

and,

It is easy I think to use this image that I create in paint. The question is how can I draw and measure these lines (the longest lines perpendicular to each other, length and width)?

http://www.flickr.com/photos/48553451(a)N08/4443206926/

thanks

but no reply? Isnt there any solution for this?
From: Aisling on
Hi Murat,
If all you want is to find the length of the axes you can use 'regionprops' in the Image Processing Toolbox. Using this you can get the MajorAxisLength and MinorAxisLength amongst other properties.

If you want to plot the major axes of the ellipse, I can't help you. I'm trying to do the same myself and can't figure it out! Only the length, not the co-ordinates of the axis are in the output. But surely this info has to be available to obtain the orientation of the major axis!! If anyone has any suggestions let me know!
Aisling

"murat " <hmuratv(a)hotmail.com> wrote in message <hntcsh$8nf$1(a)fred.mathworks.com>...
> I wrote that;
>
> Yes the perpendicular along the major axis is at the poing where the ben is widest, exactly.. then I can say that if there are more than one longest perpendicular with same width I can take only one of them, because I need the value at the end..
> thanks.
>
> and,
>
> It is easy I think to use this image that I create in paint. The question is how can I draw and measure these lines (the longest lines perpendicular to each other, length and width)?
>
> http://www.flickr.com/photos/48553451(a)N08/4443206926/
>
> thanks
>
> but no reply? Isnt there any solution for this?
First  |  Prev  | 
Pages: 1 2
Prev: Error with accelerator mode
Next: randperm cell array