[Elphel-support] Fwd: ccam.cgi

Andrey Filippov andrey at elphel.com
Mon Jan 4 08:47:57 PST 2010


> 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
>




More information about the Support-list mailing list