[Elphel-support] combining frames

Andreas Bean office at beanbox.com
Mon Dec 7 01:59:10 PST 2009


Hello Oleg!

I've tested the new mode. I did the following:

1) set the cam to triggered mode
2) switched resolution to 1/2 horizontal, full vertical
3) enabled combining mode

After these steps I get:
* stable picture
* color is fine of both sensors
* only the upper half the image of sensor one and two is shown

When you set the vertical size to 960px, do you crop the image (i.e.
take the upper half) or do you pick up every second line (to get the
full image with half vertical resolution). For my application it is
necessary to get the whole image. Can you add a parameter to set the
scale factor 1/2 1/3 1/4 (taking every second, third, fourth line) for
the image in the 10359_combining.php? That would be great!

Andreas

Oleg Dzhimiev schrieb:

> > Hi Andreas.
> >
> > I've made a first version of the mode you asked. Tried simple buffering
> > first (to check if there's enough time before the next trigger to read out
> > both frames - I think there's no need for C & D memory locations), so:
> >
> >   
>   
>> >> trigger: store sensor 1 to  A and at the same time store sensor 2 to B -
>> >> readout A+B.
>> >>
>> >>     
>>     
> >
> > You can try try it.
> >
> > Copy.
> >
> > "x359.bit" goes to "ftp://192.168.0.9/etc/",
> > "10359_combining.php" to "ftp://192.168.0.9/usr/html/359/"
> > and reboot the camera.
> >
> > About "10359_combining.php".
> >
> > "http://192.168.0.9/359/10359_combining.php?x=<horizontal_res>&y=<vertical_res>&mode=<on/off>&channel=<second_source>"
> > where
> > x - horizontal resolution as set in the camvc (x&y are for generating
> > correct output sync signals)
> > y - half vertical resolution from the camvc's
> > mode=on / off
> > channel=2 - if you have the 2nd sensor in J3 (default)
> > channel=3 - if you have the 2nd sensor in J4
> >
> > Instructions:
> >
> > 1. auto adjust sensors phases in 192.168.0.9/359/10359_controls.html
> > 2. set external trigger mode from 192.168.0.9/parsedit.php - set the period
> > and TRIG=0x4.
> > 3. go to the camvc and set set resolution of the combined frame - e.g.
> > 1296x1920 ( 50% x 99% )
> > 4. launch "http://192.168.0.9/359/10359_combining.php?x=1296&y=960&mode=on"
> > (5. launch "http://192.168.0.9/359/10359_combining.php?x=1296&y=960&mode=off
> > ")
> >
> > Write me if you have any comments.
> >
> > Oleg
> >
> >   
>   

-------------- next part --------------
A non-text attachment was scrubbed...
Name: office.vcf
Type: text/x-vcard
Size: 195 bytes
Desc: not available
URL: <http://support.elphel.com/pipermail/support-list_support.elphel.com/attachments/20091207/4d72977c/attachment.vcf>


More information about the Support-list mailing list