Mathieu Bouchard a écrit :
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.
hello Mathieu, thanks, i will try it (probably with puredyne).
but i might not understand what you want to do: what do you really need pix_snap for?
well, that was a mistake indeed.
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.
i was refering to a possibly non-rectangular shape. i am not used to gridflow but i would guess that it is possible to take the mean color over a group of pixels.
v