Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!p11g2000yqe.googlegroups.com!not-for-mail
From: ImageAnalyst <imageanalyst@mailinator.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Motion Sensor, unable to find the threshold, image differences
Date: Sun, 5 Apr 2009 13:04:59 -0700 (PDT)
Organization: http://groups.google.com
Lines: 32
Message-ID: <8b5eaa65-2154-4240-930e-925258ec5296@p11g2000yqe.googlegroups.com>
References: <gr8riq$t6s$1@fred.mathworks.com> <gr8vkt$6f8$1@fred.mathworks.com> 
	<62d6b288-5135-460d-b127-0bd5916cf72f@j39g2000yqn.googlegroups.com> 
	<graoqt$dgs$1@fred.mathworks.com>
NNTP-Posting-Host: 75.186.70.56
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1238961899 19643 127.0.0.1 (5 Apr 2009 20:04:59 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sun, 5 Apr 2009 20:04:59 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: p11g2000yqe.googlegroups.com; posting-host=75.186.70.56; 
	posting-account=0rLUzAkAAABojYSRC64DkTbtiSCX77HH
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; 
	GTB5; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 
	3.5.21022),gzip(gfe),gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:530520


On Apr 5, 1:13=A0pm, "Ongun Palaoglu" <on...@mac.com> wrote:
> Hey, =A0Yes =A0i did not defined i. =A0I thought , since it is on the lef=
t side of the equation I thought it is =A0not necessary. I am getting diffe=
rent error.
>
> "Subscript indices must either be real positive integers or logicals."
>
> my second question is. about my last art of the code, is it a good way to=
 find the motion ?
>
> * possibly,there are many errors , I am newbie to Matlab. I apology.
>
> Thank you.
---------------------------------------------------------------------------=
--------------

Your "i" is not on the left side of an assignment - your i is inside
parentheses.  That means it must already have some values defined.
Since you don't, you are getting the error message.  I don't see
different error messages - I see only the one that you posted.

I'm not an expert on motion estimation.  I suggest you look here for
suggestions:

http://iris.usc.edu/Vision-Notes/bibliography/contentsmotion-f.html#Motion%=
20--%20Feature-Based,%20Long%20Range,%20Motion%20and%20Structure%20Estimate=
s,%20Tracking,%20Surveillance,%20Activities

http://www.mee.tcd.ie/~sigmedia/Research/RigRemoval

Good luck,
ImageAnalyst