[PD] get average luminance of the camera

IOhannes m zmölnig zmoelnig at iem.at
Tue Feb 4 14:52:41 CET 2020


On 2/4/20 2:17 PM, enrike wrote:
> hi
> 
> Is it possible to get the average luminance of the camera input using GEM?
> 
> I am exploring pix_data but as far as I can see it only works with
> individual pixels. If I could average or reduce the color information
> from the camera to a single color, then I think I could just take the
> pix_data grey value of any pixel. But I am not sure this can be done. I
> am checking different pix_ objects but I dont see how I could get this
> to work. Any tips?

[pix_mean_color]

gfmsadr
IOhannes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20200204/67ad54aa/attachment.sig>


More information about the Pd-list mailing list