[Elphel-support] Fwd: ccam.cgi

Simon Zuñiga ccc_mindsz at yahoo.com
Mon Jan 4 10:16:33 PST 2010


Andrey, I've been messing around with autocampars.php and after I set all the settings I needed, I saved the variables as a new custom configuration.

After this, I just use http://192.168.0.9:8081/bimg and it works perfectly.

Thank you all for the help.

-S

--- On Mon, 1/4/10, Andrey Filippov <andrey at elphel.com> wrote:

From: Andrey Filippov <andrey at elphel.com>
Subject: Re: [Elphel-support] Fwd: ccam.cgi
To: "Simon Zuñiga" <ccc_mindsz at yahoo.com>
Cc: support-list at support.elphel.com, "Alexandre Poltorak" <alexandre at elphel..com>
Date: Monday, January 4, 2010, 11:47 AM

> Ok, so I ended up using:
> http://192.168.0.9/snapfull.php?WOI_WIDTH=1280&WOI_HEIGHT=1024

Simon, I would recommend you to modify snapfull.php (better make a
modified copy)- as it is it always restores the image size back to the
original after image is acquired. With that modification you can
acquire next images (if you do not need to change parameters) directly
with http://192.168.0.9:8081/bimg - that will be faster.


> Is there a list of variable names anywhere? What I'm doing right now is to go to http://192.168.0.9/autocampars.php and look up the variables from there.

Yes, that is a good place - in autocampars.php parameters are grouped together.

> Also, I try to set COLOR=0, but the picture seems to get green. Anyone know how to get an actual greyscale picture?

What kind of sensor do you have?
Is it a color or a monochrome?
You may need to set
COLOR_SATURATION_RED=0
COLOR_SATURATION_BLUE=0
For manual control you can use parsedit.php with custom parameters, like
http://192.168.0.9/parsedit.php?embed=0.15&title=Parameters&COLOR=0&GAINR&GAING&GAINB&GAINGB&COLOR_SATURATION_BLUE=0&COLOR_SATURATION_RED=0&WOI_WIDTH=1280&WOI_HEIGHT=1024.

After you apply parameters you can acquire images with
http://192.168.0.9:8081/bimg as I wrote above.

Andrey



Simon, you are welcome.
>
> Please do not hesitate to ask if there will be more questions. We'll
> also appreciate if you can  post your results even if you'll not need
> any more help - such posting may turn out useful for somebody else.
>
> Andrey
>



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://support.elphel.com/pipermail/support-list_support.elphel.com/attachments/20100104/5a98c450/attachment-0002.html>


More information about the Support-list mailing list