comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Help needed to create image frames from dataset (mpeg movie)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Help needed to create image frames from dataset (mpeg movie) [message #64560 is a reply to message #64556] Tue, 06 January 2009 05:33 Go to previous messageGo to previous message
Kim is currently offline  Kim
Messages: 19
Registered: January 2009
Junior Member
On Jan 6, 2:24 am, loebasboy <stijn....@gmail.com> wrote:
> On 6 jan, 06:37, Kim <adisn...@hotmail.com> wrote:
>
>
>
>> Hi,
>
>> I'd really appreciate if someone can help me out here.
>
>> I have 2-d data sets of x and y coordinates in time t.
>> For example,
>
>> At Time = 1sec,
>>              x                 y
>>              10              20
>>               20             14
>>               4               8
>>                .               .
>>                .               .
>>                .               .
>
>> At Time = 2sec,
>
>>                x              y
>>                23             8
>>                3              9
>>                 44            34
>>                 .              .
>>                 .               .
>>                 .               .
>
>> And so on..
>> At this format, I have approximately several hundreds of datasets of x
>> and y.
>> How can I make these data files into individual image frame such that
>> those frames can be used in mpeg movie, which is the next step.
>
>> Thank you very much!!!
>
> You should create a 3D data matrix (X,Y,T) with the data and then read
> the next link and thank David for it.
>
> http://www.dfanning.com/tips/how_mpeg.html
>
> next time, do a simple google search before you ask something like
> this, with 'mpeg IDL' the above link was the first thing that popped
> up...

Hi,

I think you misunderstood my question.
I already read David's link. Like you said, that was the first thing
that popped up.
My question was not how to make mpeg movies, but how to make the
matrix for each individual image frame, or the 3d data matrix.
The above (x, y, t) is not in a matrix format, I wanted something like

At T=1sec,

in 4x4 matrix of x and y,

0 0 1 0
1 0 0 1
0 0 1 0
0 1 0 0

Which corresponds to (2, 0), (0, 1), (3, 1), (2, 2), (1, 3) in x and y
coordinates.
Unfortunately, y coordinates I have are not in integer, but rather
double precision, and I have hundreds of data set.
So, I was hoping whether there is a quick way to create matrix out of
the given data sets.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Documentation time
Next Topic: ENVI ROI colors

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 07:48:47 PDT 2025

Total time taken to generate the page: 0.00658 seconds