[PD] mean color value of a video grid
Mathieu Bouchard
matju at artengine.ca
Fri Aug 25 07:41:12 CEST 2006
On Thu, 24 Aug 2006, vincent rioux wrote:
> pix_video (to read a stream from a webcam e.g.)
> 8 pix_crop (to divide the image)
> pix_snap to take a snapshot as a picture.
> pix_mean_color to compute the mean value.
if for example you want to reduce 240x320 camera input to 2x4 output,
[metro 40]
|
[#camera]
|
[#downscale_by (120 80) smoothly]
|
that's all.
but i might not understand what you want to do: what do you really need
pix_snap for?
> Moreover would it be possible to compute these values on a more complex shape
> than a rectangle?
This can mean several different things, so you should say what you mean
here, in detail.
> but i wonder if it won't be easier or more straightforward to code with
> gridflow or pdp?
gridflow's camera support works only in Linux.
_ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju
| Freelance Digital Arts Engineer, Montréal QC Canada
More information about the Pd-list
mailing list