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 #64526] Wed, 07 January 2009 01:41 Go to previous message
loebasboy is currently offline  loebasboy
Messages: 26
Registered: August 2008
Junior Member
On 6 jan, 18:17, Kim <adisn...@hotmail.com> wrote:
> On Jan 6, 8:06 am, "Jean H." <jghas...@DELTHIS.ucalgary.ANDTHIS.ca>
> wrote:
>
>
>
>
>
>>> 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.
>
>> So, what should be the pixel size?
>> If it is unitary, there is no problem:
>
>> image = bytarr(Xsize,Ysize)
>> image[x,y] = 1
>
>> If you don't want to have the value 1, but rather the number of times a
>> point fell in this pixel, use histogram instead (hist_2d). Moreover, you
>> can specify the bin size!
>
>> Jean
>
> Thanks for all the help.
> This might work after all. ^^- Tekst uit oorspronkelijk bericht niet weergeven -
>
> - Tekst uit oorspronkelijk bericht weergeven -

Sorry for my misunderstanding, I was to quick in reading your
problem...
[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: Thu Oct 09 19:54:01 PDT 2025

Total time taken to generate the page: 0.39820 seconds