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
Guest
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
Search threadPrev/next
sponsored links
(this ad will go away when you log in as a registered member)

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

 
Martin ­ Dixon
THREAD ­ STARTER
Goldmember
Avatar
1,864 posts
Gallery: 59 photos
Likes: 273
Joined Sep 2009
Location: 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.


flickr (external link) Editing OK (external link)

  
  LOG IN TO REPLY
sponsored links
(this ad will go away when you log in as a registered member)
Blitzschnitzel
Hatchling
6 posts
Likes: 1
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
Avatar
1,864 posts
Gallery: 59 photos
Likes: 273
Joined Sep 2009
Location: 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.


flickr (external link) Editing OK (external link)

  
  LOG IN TO REPLY
Blitzschnitzel
Hatchling
6 posts
Likes: 1
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
Avatar
1,864 posts
Gallery: 59 photos
Likes: 273
Joined Sep 2009
Location: 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.


flickr (external link) Editing OK (external link)

  
  LOG IN TO REPLY
Blitzschnitzel
Hatchling
6 posts
Likes: 1
Joined May 2016
Post edited over 1 year 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
Avatar
1,864 posts
Gallery: 59 photos
Likes: 273
Joined Sep 2009
Location: 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.


flickr (external link) Editing OK (external link)

  
  LOG IN TO REPLY
Blitzschnitzel
Hatchling
6 posts
Likes: 1
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
Likes: 1
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
Avatar
1,864 posts
Gallery: 59 photos
Likes: 273
Joined Sep 2009
Location: Ealing
     
Dec 15, 2016 17:19 as a reply to  @ Blitzschnitzel's post |  #145

Very cool! Nice slider too!


flickr (external link) Editing OK (external link)

  
  LOG IN TO REPLY
Cropone
Hatchling
1 post
Likes: 2
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
Avatar
1,864 posts
Gallery: 59 photos
Likes: 273
Joined Sep 2009
Location: 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!


flickr (external link) Editing OK (external 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
Avatar
1,864 posts
Gallery: 59 photos
Likes: 273
Joined Sep 2009
Location: 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.


flickr (external link) Editing OK (external link)

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

39,721 views & 12 likes for this thread
Use your camera to create slit camera (slit-scan or timeline) images.
FORUMS Photography Talk by Genre General Photography Talk 
AAA
x 1600
y 1600

Jump to forum...   •  Rules   •  Index   •  New posts   •  RTAT   •  'Best of'   •  Gallery   •  Gear   •  Reviews   •  Member list   •  Polls   •  Image rules   •  Search   •  Password reset

Not a member yet?
Registered members may log in to forums and access all the features: full search, image upload, follow forums, own gear list and ratings, likes, more forums, private messaging, thread follow, notifications, own gallery, all settings, view hosted photos, own reviews, see more and do more... and all is free. Don't be a stranger - register now and start posting!


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


POWERED BY AMASS forum software 2.1forum software
version 2.1 /
code and design
by Pekka Saarinen ©
for photography-on-the.net

Latest registered member is swathy7894
723 guests, 408 members online
Simultaneous users record so far is 6430, that happened on Dec 03, 2017

Photography-on-the.net Digital Photography Forums is the website for photographers and all who love great photos, camera and post processing techniques, gear talk, discussion and sharing. Professionals, hobbyists, newbies and those who don't even own a camera -- all are welcome regardless of skill, favourite brand, gear, gender or age. Registering and usage is free.