Title: RE: [LUGOS] Webcam

Uporabis lahko paket pbmplus, iz njega pa programa pamsumm in pnmgamma:

SYNOPSIS

   pamsumm { -sum | -mean | -min | -max } [-normalize] [-brief] [imagefile]

   All options can be abbreviated to their shortest unique prefix. You may use
   two hyphens instead of one. You may separate an option name and its value
   with white space instead of an equals sign.

DESCRIPTION

   This program is part of Netpbm.

   pamsumm reads a Netpbm image (PNM or PAM) and performs a summary function
   over all the samples in all the rows, columns, and planes and prints the
   result to Standard Output.

   pamsumm performs the operation on the actual sample values, not on the light
   intensities represented by them in the case that the image is a PGM or PPM
   image or PAM equivalent. If you want to do arithmetic on light intensities
   of such a visual image, you can use pnmgamma to convert it to one with
   samples proportional to light intensity, and then use pamsumm on the result.

   If you want to summarize by column (e.g. add up the columns separately), use
   pamsummcol. If you want to summarize by row, use a combination of pamsummcol
   and pamflip. If you want to summarize a particular plane, use pamchannel to
   extract it and then pamsumm.
 
Cesa podobnega, kar ti isces, se nisem pocel, paket pa je primeren za poganjanje v paketni obdelavi, potem ko ze ves, kaj isces.

Lep pozdrav,
Ales

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Fredi Najzar

Sent: 30. november 2005 20:42
To: Lugos List
Subject: [LUGOS] Webcam

Omislil sem si Webcan, pa me zanima, če mogoče pozna kdo kako orodje, ki lahko določi svetlost slike?

Problem:
Ko pride noč bi recimo preklopil prikaz iz žive slike na neko shranjeno sliko in zkutraj, ko je svetloba dovolj velika spet nazaj.

Se pravi nekaj takega:
analitzraj sliko.jpg --> vrne recimo svetloba = 30% ali kaj podobnega.

LP Fredi
--
  Fredi Najzar <[EMAIL PROTECTED]>
  http://mekotnjak.vreme-si.net/
  http://freeweb.siol.net/najzar45/

_______________________________________________
lugos-list mailing list
[email protected]
http://liste2.lugos.si/cgi-bin/mailman/listinfo/lugos-list

_______________________________________________
lugos-list mailing list
[email protected]
http://liste2.lugos.si/cgi-bin/mailman/listinfo/lugos-list

Одговори путем е-поште