We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpVideo Capture,  Movie Playback,  Vision Libraries › Cropping and tracking part of the video image
Page Index Toggle Pages: 1
Cropping and tracking part of the video image (Read 596 times)
Cropping and tracking part of the video image
Feb 18th, 2009, 8:13pm
 
Hi all,
I need to track a half of a 320 x 240 image from my camera, just looking the first 160x240 pixels, I don’t need the rest of the camera information there will be the audience; but then I need to use this 160x240 matrix stretched in a 320x240 again, like stretching only the vertical image.
What is the best way to do that?
David
Re: Cropping and tracking part of the video image
Reply #1 - Feb 18th, 2009, 10:18pm
 
PImage half = video.get(0,0,160,240);
image(half,0,0,320,240);

Smiley
Page Index Toggle Pages: 1