From: Lauren on 14 Jun 2010 20:57 I tried almost everything, but with no success. Any ideas ? Here's the link for the formula in a jpg format : http://forum.bgu.co.il/uploads/monthly_06_2010/post-24033-12765479851708.jpg Thank you
From: TideMan on 15 Jun 2010 01:07 On Jun 15, 4:57 pm, Lauren <laureng...(a)gmail.com> wrote: > I tried almost everything, but with no success. Any ideas ? > Here's the link for the formula in a jpg format : > > http://forum.bgu.co.il/uploads/monthly_06_2010/post-24033-12765479851... > > Thank you Try using the numerator as the first argument and the denominator as the second argument.
From: Bruno Luong on 15 Jun 2010 01:10 "Lauren Gavy" <laurengavy(a)gmail.com> wrote in message <hv70o0$2qs$1(a)fred.mathworks.com>... > I tried almost everything, but with no success. Any ideas ? > Here's the link for the formula in a jpg format : > > http://forum.bgu.co.il/uploads/monthly_06_2010/post-24033-12765479851708.jpg > > Thank you Try theta = 0.5*atan2(2*I11, I20-I02) Read the doc is also sometime helpful. Bruno
From: Lauren Gavy on 15 Jun 2010 01:28 "Bruno Luong" <b.luong(a)fogale.findmycountry> wrote in message <hv71vc$mgu$1(a)fred.mathworks.com>... > "Lauren Gavy" <laurengavy(a)gmail.com> wrote in message <hv70o0$2qs$1(a)fred.mathworks.com>... > > I tried almost everything, but with no success. Any ideas ? > > Here's the link for the formula in a jpg format : > > > > http://forum.bgu.co.il/uploads/monthly_06_2010/post-24033-12765479851708.jpg > > > > Thank you > > Try > > theta = 0.5*atan2(2*I11, I20-I02) > > Read the doc is also sometime helpful. > > Bruno Thank you for your answer and I'm sorry for the double post. I read the doc but couldn't get it to work, It's the exact thing I tried. The error I'm getting is: ??? Undefined function or method 'atan2' for input arguments of type 'uint8'. Any idea ?
From: Bruno Luong on 15 Jun 2010 01:33 "Lauren Gavy" <laurengavy(a)gmail.com> wrote in message <hv7315$rie$1(a)fred.mathworks.com>... > "Bruno Luong" <b.luong(a)fogale.findmycountry> wrote in message <hv71vc$mgu$1(a)fred.mathworks.com>... > > "Lauren Gavy" <laurengavy(a)gmail.com> wrote in message <hv70o0$2qs$1(a)fred.mathworks.com>... > > > I tried almost everything, but with no success. Any ideas ? > > > Here's the link for the formula in a jpg format : > > > > > > http://forum.bgu.co.il/uploads/monthly_06_2010/post-24033-12765479851708.jpg > > > > > > Thank you > > > > Try > > > > theta = 0.5*atan2(2*I11, I20-I02) > > > > Read the doc is also sometime helpful. > > > > Bruno > > Thank you for your answer and I'm sorry for the double post. I read the doc but couldn't get it to work, It's the exact thing I tried. The error I'm getting is: > > ??? Undefined function or method 'atan2' for input arguments of type 'uint8'. Convert your image to *double* before doing any computation. Im = imread(somefile); Im = double(Im); % ... % Bruno
|
Next
|
Last
Pages: 1 2 Prev: What is the syntax for this atan2 formula ? Next: mathlab with interactive language ( flash) |