Hi Andreas,

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

No, I don't crop the image in fpga nor pick every second line - the sensors are 
programmed to give the frames of the needed size - in case of the combined 
frame - they are programmed to half resolution, if they alternate - 'full' 
resolution.

>upper half the image of sensor one and two is shown

This depends on what values are written to the registers 0x001(Row Start) & 
0x002(Column Start). And you can control it from the camvc:
1. Set a smaller resolution, e.g. your 1296x960.
2. press camera icon and right under the histogram there's a small preview-like 
image with frame size parameters - you can grab this image and move around the 
field - this will reprogram starting row and column.

*if you do it in combined mode - you'll see that both sensors are reprogrammed. 
To program each sensor individually - you need to set an appropriate channel in 
10359_controls.html '1' - sensor 1, '2' - sensor 2 (and '4' for sensor 3), '7' 
is 'broadcast' - then you can go back to camvc 

Small Note: for the 2nd sensor you'll get combined frame of the 'upper' parts 
of its frames (I mentioned just to make this less surprising)

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

This can also be programmed from the camvc - press "more details..." in tab '5' 
there are controls for skipping & binning. They are not compatible with my 
10359_controls.

If I got it right - you want to have 2592x1920 which will be scaled (by 
skipping rows & columns) with e.g. 1/2 factor vertically and horizontally to 
1296x960 and then the frames from sensors will be combined into one. If so, I 
can add it. Or do you need only vertical scaling?

BTW, I measured fps and for the version I sent to you I could get only 10-12 
fps and some problems while I was changing starting row/column, so I switched 
back to buffering only one frame and was able to get 20 fps - and 22 can be 
reached I think. I also changed the interface and the phases adjusting script. 
Commited them to our CVS, what you need to get is:
(DIR=http://elphel.cvs.sourceforge.net/viewvc/elphel/elphel353-8.0/fpga/x359/)

DIR/x359.bit (copy to ftp://<cam-ip>/etc/)
DIR/test_scripts/10359_controls.html (-> ftp://<cam-ip>/usr/html/359/)
DIR/test_scripts/10359_modes.php (-> ftp://<cam-ip>/usr/html/359/)
+
http://elphel.cvs.sourceforge.net/viewvc/elphel/elphel353-8.0/packages/web/353/test/test_inner_10359.php
 (-> ftp://<cam-ip>/usr/html/test/)

Oleg

_______________________________________________
Support-list mailing list
[email protected]
http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com

Reply via email to