help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

I would like to do this, but is not supported


From: charo
Subject: I would like to do this, but is not supported
Date: Thu, 23 Oct 2003 15:11:26 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030630


Hi all,

I need to work with movies frames to compute velocity distrib. In file 'fileseq' I have each frame calibrated and ready for doing computations. I can load the frame as shown in (1), but I cannot save as in (2). I know that this is not trivial to implement, but just one question for you. Is there any scripting languaje that allows this kind of twisted programming? Otherway, I will have to code this frame by frame which is very painful for long movies.

Thanks a lot,

Rosario

........................................................................
load fileseq;
for j=1:sFrame(2)
   aux=[];
   for n=1:numFrames
       fr = eval(sprintf("seq%03i",n)); <------------------- (1)
       aux=[aux,fr(:,j)];
   endfor
   for i=1:sFrame(1)
       tcFr = getSignedTemporalContrast(aux(i,:));
       eval(sprintf("tempGrad(%03i,%03i)",i,j))= tcFr; <---- (2)
   endfor
endfor






-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]