Reading a sequence of images fast

Mar 31, 2008 at 7:53pm

Reading a sequence of images fast

I’m working on a stop-motion system where the user takes pictures, those pictures end up (as jpgs) in a folder, and I have a jitter patch that reads those pictures in a loop as they are taken. This seems to work fine by just calling read myphotoXX.jpg into a jit.qt.movie (using a metro and a custom java object that outputs the path of the files sequentially) but it’s pretty slow. Any suggestions on how I could do this while using less ressources ?

#36647
Mar 31, 2008 at 8:29pm

#125876
Mar 31, 2008 at 8:35pm

That would be an idea, however, as new images arrive on the machine as the images is played back, that might be tricky…

#125877
Mar 31, 2008 at 8:54pm

#125878
Nov 5, 2010 at 1:47pm

Hi, I’m in the same project… Could you someone help to know how to start… I’m really new in Max and this is my first project….

If you have an idea or a post that can explain me some details….

Best…

KinoLab

#125879
Nov 5, 2010 at 1:57pm

hi,

you could try to instaciate a jit.gl.texture for every new picture you take. then use a jit.gl.videoplane to display those pictures…

it should be faster than reading from the hard drive.

cheers

g

#125880
Nov 5, 2010 at 5:33pm

have a look at jit.matrixset it was made for that sort of thing.

#125881
Nov 8, 2010 at 10:19pm

thanks for yours answer… I’ll let you know

best

#125882
Nov 9, 2010 at 11:12pm

Hi, I’m trying to create the patch… but :
Two problems…
1 – i don’t know how can i set the exportimage of jit.qt.grab to crate a sequence of jpg.. it overwrite the jpg each time…

2 – How can i set the jit.matrixset to analyse the folder each (metro) time and ajout the news jpg ??

Sorry but I’m starting with max….

best

#125883

You must be logged in to reply to this topic.