Approve the Cookies
This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies. Read More.
OK
Index  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear  •   • Reviews
New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear  •   • Reviews
Register to forums    Log in

 
FORUMS Photography Talk by Genre General Photography Talk
Thread started 30 Nov 2012 (Friday) 18:40
Prev/next
sponsored links
(this ad will go away when you log in as registered member)

Use your camera to create slit camera (slit-scan or timeline) images.

 
Martin ­ Dixon
THREAD ­ STARTER
Goldmember
Martin Dixon's Avatar
Joined Sep 2009
Ealing
Jun 27, 2016 04:40 as a reply to post 18048908 |  #136

The program works on each frame, so faster framerate will give you more detail. Check your input file really is the right one and is the framerate you think.


flickrexternal link Editing OKexternal link

LOG IN TO REPLY
sponsored links
(this ad will go away when you log in as registered member)
Blitzschnitzel
Hatchling
6 posts
Joined May 2016
Jul 21, 2016 19:17 |  #137

Ok I don't know what the problem was but it works now. The footage definitely was 50p.
I am using your script for my master thesis. Here are some test shots:
http://www.marxen.desi​gn/index.html#106 (external link)
I am currently building a bigger two railed slider. That should get rid of the shaking in the pictures.




LOG IN TO REPLY
Martin ­ Dixon
THREAD ­ STARTER
Goldmember
Martin Dixon's Avatar
Joined Sep 2009
Ealing
Jul 22, 2016 03:53 as a reply to Blitzschnitzel's post |  #138

Glad you are getting some interesting captures. Good luck with your thesis!

Interesting how some of the shaking gives it a kind of watery feeling.


flickrexternal link Editing OKexternal link

LOG IN TO REPLY
Blitzschnitzel
Hatchling
6 posts
Joined May 2016
Aug 02, 2016 11:25 |  #139

https://vimeo.com/1772​51614 (external link)
I experimented a bit with the slider and the scan line position. Turns out, I can bend space!:lol:
Would it be possible to stack render many images from the same video? Each with a different scanline position. I think that could also be interesting for videos from a fixed camera position.
I noticed, that the script breaks when fixedslit is set to 1. I think the scanline is one pixel outside the video frame.




LOG IN TO REPLY
Martin ­ Dixon
THREAD ­ STARTER
Goldmember
Martin Dixon's Avatar
Joined Sep 2009
Ealing
Aug 02, 2016 12:45 as a reply to Blitzschnitzel's post |  #140

That sounds simply a case of constructing a bigger loop in the program - give it a go! I'm away for a few days, but if you need help I should be able to in a few days.


flickrexternal link Editing OKexternal link

LOG IN TO REPLY
Blitzschnitzel
Hatchling
6 posts
Joined May 2016
Post has been edited 9 months ago by Blitzschnitzel.
Aug 02, 2016 19:23 |  #141

Hi Martin,
Thank you for the offer. :)
So first, this schould fix the fixedslit = 1 bug:
if (fixedslit == 1) slitOffset -= 1; //Add after line 229

I am more familiar with arduino so I don't really understand what's going on here. But I tried...^^
After "import processing.video.*;" I added this:
float lineStep = 0.5;
float lineCurrent = 0;
int imageNumber = 0;

I changed these:
String outfilename;
float fixedslit = lineCurrent;

And at the beginning of draw() I added:
while(lineCurrent <= 1){
String[] fileParts = new String[3];
fileParts[0] = "image";
fileParts[1] = str(imageNumber);
fileParts[2] = ".tif";
String fileName = join(fileParts, "");
outfilename = fileName;

And at the end of draw() I added:

lineCurrent += lineStep;
imageNumber++;
}

Right now the preview screen just freezes after a few frames. I let it run for quite some time but no tifs were generated.




LOG IN TO REPLY
Martin ­ Dixon
THREAD ­ STARTER
Goldmember
Martin Dixon's Avatar
Joined Sep 2009
Ealing
Aug 03, 2016 02:20 as a reply to Blitzschnitzel's post |  #142

No time right now, but I suspect there may be a problem using up memory. I think each generated image needs to have memory freed before starting the next - I'm not an expert either - actually I came across Processing when messing with Arduino.


flickrexternal link Editing OKexternal link

LOG IN TO REPLY
Blitzschnitzel
Hatchling
6 posts
Joined May 2016
Aug 04, 2016 10:00 |  #143

Absolutely no haste. :-)
My project are the still images and that is working. An animation would be just a cool gimmick at the presentation but not essential for the concept. If I can’t get it to work I will just outsource it to my family to start the renderings by hand.^^




LOG IN TO REPLY
Blitzschnitzel
Hatchling
6 posts
Joined May 2016
Dec 15, 2016 17:01 |  #144

Hi,
Thanks again! The master presentation was a huge success. I never managed to automate the script but I ended up using a macro programm for Windows.
Some of the videos and images can be seen here:
http://www.marxen.desi​gn/pages/quersicht.htm​l (external link)
Please view the videos with 4K settings in Youtube, because Youtubes's video compression hates it when everything is moving.




LOG IN TO REPLY
Martin ­ Dixon
THREAD ­ STARTER
Goldmember
Martin Dixon's Avatar
Joined Sep 2009
Ealing
Dec 15, 2016 17:19 as a reply to Blitzschnitzel's post |  #145

Very cool! Nice slider too!


flickrexternal link Editing OKexternal link

LOG IN TO REPLY
Cropone
Hatchling
1 post
Joined Dec 2016
Dec 29, 2016 13:16 |  #146

Thanks for sharing this very cool program Martin, I played around a bit and I'm amazed ;-)a

HOSTED PHOTO
please log in to view hosted photos in full size.



LOG IN TO REPLY
denyszandonadi
Hatchling
1 post
Joined Feb 2017
Feb 10, 2017 21:32 |  #147

Hello Martin! I really loved your code! I tried with microscope slides, and its amazing! Take a look...
Now, i need to use it with live Capture. I tried really hard, but looks like the frames are not detected.
I used "println" to debug, and put inside "movieEvent" and the print didnt show up. I only could see my webcam on screen.
What can i do?
Thank you very much!

HOSTED PHOTO
please log in to view hosted photos in full size.



LOG IN TO REPLY
Martin ­ Dixon
THREAD ­ STARTER
Goldmember
Martin Dixon's Avatar
Joined Sep 2009
Ealing
Mar 04, 2017 05:09 as a reply to denyszandonadi's post |  #148

Sorry for delay in replying - been a bit distracted by events recently. Nice image - not exactly sure what you are doing here what is the time element? Is the slide moving or?

I haven't got a webcm on my PC, but Processing can process live video in real time. I'd start by looking at a few examples od live video processing on the Processing website. Debugging using println is what I do too.

Cheers!


flickrexternal link Editing OKexternal link

LOG IN TO REPLY
pierite
Hatchling
1 post
Joined May 2017
May 20, 2017 08:25 |  #149

Hello !
Your program is really great !
By the way, is it possible to use a mp4 format video instead of.mov ?
Thank you !
Pierre




LOG IN TO REPLY
Martin ­ Dixon
THREAD ­ STARTER
Goldmember
Martin Dixon's Avatar
Joined Sep 2009
Ealing
May 23, 2017 08:54 as a reply to pierite's post |  #150

Processing is pretty good at opening most formats mp4 should work.


flickrexternal link Editing OKexternal link

LOG IN TO REPLY
sponsored links
(this ad will go away when you log in as registered member)

30,663 views & 11 likes for this thread
Use your camera to create slit camera (slit-scan or timeline) images.
FORUMS Photography Talk by Genre General Photography Talk


Not a member yet? Click here to register to the forums.
Registered members get all the features: search, following threads, own gear list and ratings, likes, more forums, private messaging, thread follow, notifications, own gallery, settings, view hosted photos, own reviews and more...


AAA

Send feedback to staff    •   Jump to forum...    •   Rules    •   Index    •   New posts    •   RTAT    •   'Best of'    •   Gallery    •   Gear    •   Reviews    •   Polls

COOKIES DISCLAIMER: This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies. Privacy policy and cookie usage info.

POWERED BY AMASS 1.4version 1.4
made in Finland
by Pekka Saarinen
for photography-on-the.net
Spent 0.00087 for 4 database queries.
PAGE COMPLETED IN 0.02s
Latest registered member is timomatilainen
1079 guests, 449 members online
Simultaneous users record so far is 6106, that happened on Jun 09, 2016