Re: [Elphel-support] 答复: 答复: 答复: 答复: 答复: sync stereo with lidar

2018-12-16 Thread Elphel Support
1) 2.5 mm audio cable has 2 wires. Which are connected to what? 2) Do you 
trigger camera from the external source, use camera trigger output or use 
external signal to log in the camera  On Sun, 16 Dec 2018 18:35:17 -0800 
Winston Zhang  wrote  Hi elphel.     1. The 2.5mm 
audio line connect to the trigger generated cable(can output the 5v pulse 
voltage).     2. The trigger signal can be controlled by software. So We can 
stop it.     3. The parameters can not be refresh when I change the trigger 
page parameter(many many times). But may be it works some time. So I load the 
parameters which was saved some day. This is a big problem, it waste much time 
to save parameter. --- 
Best Regrad! Yicheng-Zhang Email:  winston.zh...@bst.ai Tel:    18516291005 
Black Sesame Technologies (Shanghai) Co., Ltd.  www.bst.ai Rm 1102-1108, 
Bldg36, No.2777, East Jinxiu Rd, Pudong District, Shanghai, China   发件人: Elphel 
Support 发送时间: 2018-12-17 10:12 收件人: Winston Zhang; Elphel List 抄送: Qiao Yan; 
David Zhang; Qun Gu; Tao Zhang 主题: Re: [Elphel-support] 答复: 答复: 答复: 答复: 答复: 
sync stereo with lidar Hello Winston, 1. I still do not understand - what cable 
do you use? 2. "But I stopped the trigger board signal" - what exactly do you 
mean by that? Disconnected cable, changed some parameter (which one, how?) 3. 
"that parameters can not be saved when I change the trigger parameter"  - Does 
the camera continue to work - http://192.168.0.39:2323/pointers (put your ip) 
increment frame number when you refresh? Andrey  On Sun, 16 Dec 2018 
17:39:26 -0800 Winston Zhang  wrote  Hi, Oleg     I 
just tested the method 1. However, When I set the parameter TRIG_OUT = 0x00 and 
applied it, all the parameters could not save(Test it many times). So I removed 
the external signal line, and tested all of these, it made works. The frame num 
stopped growing.     Another question is that parameters can not be saved when 
I change the trigger parameter(I remove the autoparameter*.* file in 
etc/elphel393), but other parameters probably can be saved success. Can you 
have other suggestion?      
--- Best Regrad! 
Yicheng-Zhang Email:  winston.zh...@bst.ai Tel:    18516291005 Black Sesame 
Technologies (Shanghai) Co., Ltd.  www.bst.ai Rm 1102-1108, Bldg36, No.2777, 
East Jinxiu Rd, Pudong District, Shanghai, China   发件人: Oleg 发送时间: 2018-12-13 
03:44 收件人: winston.zh...@bst.ai 抄送: david.zh...@bst.ai; qiao@bst.ai; 
tao.zh...@bst.ai; Qun Gu; elphel support-list 主题: Re: [Elphel-support] 答复: 答复: 
答复: 答复: 答复: sync stereo with lidar Hello, In the link you used the internal 
trigger generator is working and is routed out to the sync cable (which is 
probably self-looped - input and output wires are connected): Try: 1. Set 
TRIG_OUT=0x0 to stop internal pulses at the sync cable output: # old link: 
http://192.168.0.9/parsedit.php?sensor_port=0_CONDITION=0x9_OUT=0x66555_PERIOD=1=4
 # new link:  
http://192.168.0.9/parsedit.php?sensor_port=0_CONDITION=0x9_OUT=0x0_PERIOD=1=4
    or  2. If the sync cable inputs and outputs connected. Disconnect the wires 
from each other and apply your trigger source:  signal or "+" - to Black wire,  
ground or "-" - to Green wire. Please, check the wire colors and pinout here. 
Let us know if that worked. Thanks. I'll update our docs to make them clear. 
Best regards, Oleg Dzhimiev Electronics Engineer phone: +1 801 783  x124 
Elphel, Inc. On Tue, Dec 11, 2018 at 9:04 PM Winston Zhang 
 wrote: Hi, Andrey!     Thany you for your patience to 
answer our questions!     I have some new questions about external trigger. 
When I set the trigger parameter as the page 
http://192.168.0.9/parsedit.php?sensor_port=0_CONDITION=0x9_OUT=0x66555_PERIOD=1000=4,
 and I made the trigger board pulsing out the signal(10HZ), I found we could 
get 10 images. But I stopped the trigger board signal, I also could update the 
image(10hz). I wanted to konw that how can I test the external trigger signal 
work? Because when i stop external source trigger signal, it could receive 
images too. --- Best 
Regrad! Yicheng-Zhang Email:  winston.zh...@bst.ai Tel:    18516291005 Black 
Sesame Technologies (Shanghai) Co., Ltd.  www.bst.ai Rm 1102-1108, Bldg36, 
No.2777, East Jinxiu Rd, Pudong District, Shanghai, China   发件人: Oleg 发送时间: 
2018-09-19 02:38 收件人: david.zh...@bst.ai 抄送: winston.zh...@bst.ai; 
tao.zh...@bst.ai; Qun Gu; elphel support-list 主题: Re: [Elphel-support] 答复: 答复: 
答复: 答复: 答复: sync stereo with lidar Hello, Here are a couple commands (in linux) 
that can help to check and sync the system clock: - Compare PC and camera 
clock: ~$ ssh root@192.168.0.9 date;date -u - Write PC time into camera clock: 
~$ ssh root@192.168.0.9 "date -s @`( date -u +"%s" )` &&

Re: [Elphel-support] 答复: 答复: 答复: 答复: 答复: sync stereo with lidar

2018-12-16 Thread Winston Zhang
Hi elphel.
1. The 2.5mm audio line connect to the trigger generated cable(can output 
the 5v pulse voltage).
2. The trigger signal can be controlled by software. So We can stop it.
3. The parameters can not be refresh when I change the trigger page 
parameter(many many times). But may be it works some time. So I load the 
parameters which was saved some day. This is a big problem, it waste much time 
to save parameter.


---
Best Regrad!
Yicheng-Zhang
Email:  winston.zhang@bst<mailto:winston.zh...@blacksesame.com.cn>.ai
Tel:18516291005
Black Sesame Technologies (Shanghai) Co., Ltd.  www.bst.ai<http://www.bst.ai/>
Rm 1102-1108, Bldg36, No.2777, East Jinxiu Rd, Pudong District, Shanghai, China

发件人: Elphel Support<mailto:support-list@support.elphel.com>
发送时间: 2018-12-17 10:12
收件人: Winston Zhang<mailto:winston.zh...@bst.ai>; Elphel 
List<mailto:support-list@support.elphel.com>
抄送: Qiao Yan<mailto:qiao@bst.ai>; David Zhang<mailto:david.zh...@bst.ai>; 
Qun Gu<mailto:qun...@blacksesame.com>; Tao Zhang<mailto:tao.zh...@bst.ai>
主题: Re: [Elphel-support] 答复: 答复: 答复: 答复: 答复: sync stereo with lidar
Hello Winston,

1. I still do not understand - what cable do you use?
2. "But I stopped the trigger board signal" - what exactly do you mean by that? 
Disconnected cable, changed some parameter (which one, how?)
3. "that parameters can not be saved when I change the trigger parameter"  - 
Does the camera continue to work - 
http://192.168.0.9:2323/pointers<http://192.168.0.39:2323/pointers>
(put your ip) increment frame number when you refresh?

Andrey


 On Sun, 16 Dec 2018 17:39:26 -0800 Winston Zhang  
wrote 

Hi, Oleg
I just tested the method 1. However, When I set the parameter TRIG_OUT = 
0x00 and applied it, all the parameters could not save(Test it many times). So 
I removed the external signal line, and tested all of these, it made works. The 
frame num stopped growing.
Another question is that parameters can not be saved when I change the 
trigger parameter(I remove the autoparameter*.* file in etc/elphel393), but 
other parameters probably can be saved success. Can you have other suggestion?




---
Best Regrad!
Yicheng-Zhang
Email:  winston.zhang@bst<mailto:winston.zh...@blacksesame.com.cn>.ai
Tel:18516291005
Black Sesame Technologies (Shanghai) Co., Ltd.  www.bst.ai<http://www.bst.ai/>
Rm 1102-1108, Bldg36, No.2777, East Jinxiu Rd, Pudong District, Shanghai, China

发件人: Oleg<mailto:support-list@support.elphel.com>
发送时间: 2018-12-13 03:44
收件人: winston.zh...@bst.ai<mailto:winston.zh...@bst.ai>
抄送: david.zh...@bst.ai<mailto:david.zh...@bst.ai>; 
qiao@bst.ai<mailto:qiao@bst.ai>; 
tao.zh...@bst.ai<mailto:tao.zh...@bst.ai>; Qun 
Gu<mailto:qun...@blacksesame.com>; elphel 
support-list<mailto:support-list@support.elphel.com>
主题: Re: [Elphel-support] 答复: 答复: 答复: 答复: 答复: sync stereo with lidar
Hello,

In the link you used the internal trigger generator is working and is routed 
out to the sync cable (which is probably self-looped - input and output wires 
are connected):

Try:
1. Set TRIG_OUT=0x0 to stop internal pulses at the sync cable output:

# old link:
http://192.168.0.9/parsedit.php?sensor_port=0_CONDITION=0x9_OUT=0x66555_PERIOD=1=4
# new link:
http://192.168.0.9/parsedit.php?sensor_port=0_CONDITION=0x9_OUT=0x0_PERIOD=1=4

or

2. If the sync cable inputs and outputs connected. Disconnect the wires from 
each other and apply your trigger source:
signal or "+" - to Black wire,
ground or "-" - to Green wire.
Please, check the wire colors and pinout 
here<https://wiki.elphel.com/wiki/103891>.

Let us know if that worked. Thanks. I'll update our docs to make them clear.

Best regards,
Oleg Dzhimiev
Electronics Engineer
phone: +1 801 783  x124
Elphel, Inc.


On Tue, Dec 11, 2018 at 9:04 PM Winston Zhang 
mailto:winston.zh...@bst.ai>> wrote:
Hi, Andrey!
Thany you for your patience to answer our questions!
I have some new questions about external trigger. When I set the trigger 
parameter as the page 
http://192.168.0.9/parsedit.php?sensor_port=0_CONDITION=0x9_OUT=0x66555_PERIOD=1000=4,<http://192.168.0.9/parsedit.php?sensor_port=0_CONDITION=0x9_OUT=0x66555_PERIOD=1=4,>
 and I made the trigger board pulsing out the signal(10HZ), I found we could 
get 10 images. But I stopped the trigger board signal, I also could update the 
image(10hz). I wanted to konw that how can I test the external trigger signal 
work? Because when i stop external source trigger signal, it could receive 
images too.




--

Re: [Elphel-support] 答复: 答复: 答复: 答复: 答复: sync stereo with lidar

2018-12-16 Thread Elphel Support
Hello Winston, 1. I still do not understand - what cable do you use? 2. "But I 
stopped the trigger board signal" - what exactly do you mean by that? 
Disconnected cable, changed some parameter (which one, how?) 3. "that 
parameters can not be saved when I change the trigger parameter"  - Does the 
camera continue to work - http://192.168.0.9:2323/pointers (put your ip) 
increment frame number when you refresh? Andrey  On Sun, 16 Dec 2018 
17:39:26 -0800 Winston Zhang  wrote  Hi, Oleg     I 
just tested the method 1. However, When I set the parameter TRIG_OUT = 0x00 and 
applied it, all the parameters could not save(Test it many times). So I removed 
the external signal line, and tested all of these, it made works. The frame num 
stopped growing.     Another question is that parameters can not be saved when 
I change the trigger parameter(I remove the autoparameter*.* file in 
etc/elphel393), but other parameters probably can be saved success. Can you 
have other suggestion?      
--- Best Regrad! 
Yicheng-Zhang Email:  winston.zh...@bst.ai Tel:    18516291005 Black Sesame 
Technologies (Shanghai) Co., Ltd.  www.bst.ai Rm 1102-1108, Bldg36, No.2777, 
East Jinxiu Rd, Pudong District, Shanghai, China   发件人: Oleg 发送时间: 2018-12-13 
03:44 收件人: winston.zh...@bst.ai 抄送: david.zh...@bst.ai; qiao@bst.ai; 
tao.zh...@bst.ai; Qun Gu; elphel support-list 主题: Re: [Elphel-support] 答复: 答复: 
答复: 答复: 答复: sync stereo with lidar Hello, In the link you used the internal 
trigger generator is working and is routed out to the sync cable (which is 
probably self-looped - input and output wires are connected): Try: 1. Set 
TRIG_OUT=0x0 to stop internal pulses at the sync cable output: # old link: 
http://192.168.0.9/parsedit.php?sensor_port=0_CONDITION=0x9_OUT=0x66555_PERIOD=1=4
 # new link:  
http://192.168.0.9/parsedit.php?sensor_port=0_CONDITION=0x9_OUT=0x0_PERIOD=1=4
    or  2. If the sync cable inputs and outputs connected. Disconnect the wires 
from each other and apply your trigger source:  signal or "+" - to Black wire,  
ground or "-" - to Green wire. Please, check the wire colors and pinout here. 
Let us know if that worked. Thanks. I'll update our docs to make them clear. 
Best regards, Oleg Dzhimiev Electronics Engineer phone: +1 801 783  x124 
Elphel, Inc. On Tue, Dec 11, 2018 at 9:04 PM Winston Zhang 
 wrote: Hi, Andrey!     Thany you for your patience to 
answer our questions!     I have some new questions about external trigger. 
When I set the trigger parameter as the page 
http://192.168.0.9/parsedit.php?sensor_port=0_CONDITION=0x9_OUT=0x66555_PERIOD=1000=4,
 and I made the trigger board pulsing out the signal(10HZ), I found we could 
get 10 images. But I stopped the trigger board signal, I also could update the 
image(10hz). I wanted to konw that how can I test the external trigger signal 
work? Because when i stop external source trigger signal, it could receive 
images too. --- Best 
Regrad! Yicheng-Zhang Email:  winston.zh...@bst.ai Tel:    18516291005 Black 
Sesame Technologies (Shanghai) Co., Ltd.  www.bst.ai Rm 1102-1108, Bldg36, 
No.2777, East Jinxiu Rd, Pudong District, Shanghai, China   发件人: Oleg 发送时间: 
2018-09-19 02:38 收件人: david.zh...@bst.ai 抄送: winston.zh...@bst.ai; 
tao.zh...@bst.ai; Qun Gu; elphel support-list 主题: Re: [Elphel-support] 答复: 答复: 
答复: 答复: 答复: sync stereo with lidar Hello, Here are a couple commands (in linux) 
that can help to check and sync the system clock: - Compare PC and camera 
clock: ~$ ssh root@192.168.0.9 date;date -u - Write PC time into camera clock: 
~$ ssh root@192.168.0.9 "date -s @`( date -u +"%s" )` &&  hwclock -w" After 
setting the system clock check if the time survives the reboot. If it does not 
- then please update the firmware to 20180511. There was a bug in the clock 
driver we had to fix a while ago. Regards, Oleg On Mon, Sep 17, 2018 at 11:27 
PM David Zhang  wrote: Hi, Andrey, We use default 
configuration(TRIG=4 and TRIG_PERIOD=2500). Is that OK? And now our 
situation is there are timestamps in EXIF header. But it is not the kernel's 
system time. e.g. the timestamp in EXIF may be 2018/09/14 but actually system's 
date is 2018/09/18. How can i fix it? Thanks. Best, David 发件人: Elphel Support 
 发送时间: 2018年9月18日 10:03:19 收件人: Winston Zhang 
抄送: Winston Zhang; Tao Zhang; Qun Gu; David Zhang 主题: Re: [Elphel-support] 答复: 
答复: 答复: 答复: sync stereo with lidar   Winston, What trigger settings do you use 
( https://wiki.elphel.com/wiki/Trigger_393 )? Trigger 393 - ElphelWiki - 
wiki.elphel.com wiki.elphel.com Description. 10389 board is required. The 
triggering is used for one or several cameras synchronization or setting the 
frame rate (or fps). The conditions of the trigger can be generated either 
internally or externally. Cam

Re: [Elphel-support] 答复: 答复: 答复: 答复: 答复: sync stereo with lidar

2018-12-16 Thread Winston Zhang
Hi, Oleg
I just tested the method 1. However, When I set the parameter TRIG_OUT = 
0x00 and applied it, all the parameters could not save(Test it many times). So 
I removed the external signal line, and tested all of these, it made works. The 
frame num stopped growing.
Another question is that parameters can not be saved when I change the 
trigger parameter(I remove the autoparameter*.* file in etc/elphel393), but 
other parameters probably can be saved success. Can you have other suggestion?



---
Best Regrad!
Yicheng-Zhang
Email:  winston.zhang@bst<mailto:winston.zh...@blacksesame.com.cn>.ai
Tel:18516291005
Black Sesame Technologies (Shanghai) Co., Ltd.  www.bst.ai<http://www.bst.ai/>
Rm 1102-1108, Bldg36, No.2777, East Jinxiu Rd, Pudong District, Shanghai, China

发件人: Oleg<mailto:support-list@support.elphel.com>
发送时间: 2018-12-13 03:44
收件人: winston.zh...@bst.ai<mailto:winston.zh...@bst.ai>
抄送: david.zh...@bst.ai<mailto:david.zh...@bst.ai>; 
qiao@bst.ai<mailto:qiao@bst.ai>; 
tao.zh...@bst.ai<mailto:tao.zh...@bst.ai>; Qun 
Gu<mailto:qun...@blacksesame.com>; elphel 
support-list<mailto:support-list@support.elphel.com>
主题: Re: [Elphel-support] 答复: 答复: 答复: 答复: 答复: sync stereo with lidar
Hello,

In the link you used the internal trigger generator is working and is routed 
out to the sync cable (which is probably self-looped - input and output wires 
are connected):

Try:
1. Set TRIG_OUT=0x0 to stop internal pulses at the sync cable output:

# old link:
http://192.168.0.9/parsedit.php?sensor_port=0_CONDITION=0x9_OUT=0x66555_PERIOD=1=4
# new link:
http://192.168.0.9/parsedit.php?sensor_port=0_CONDITION=0x9_OUT=0x0_PERIOD=1=4

or

2. If the sync cable inputs and outputs connected. Disconnect the wires from 
each other and apply your trigger source:
signal or "+" - to Black wire,
ground or "-" - to Green wire.
Please, check the wire colors and pinout 
here<https://wiki.elphel.com/wiki/103891>.

Let us know if that worked. Thanks. I'll update our docs to make them clear.

Best regards,
Oleg Dzhimiev
Electronics Engineer
phone: +1 801 783  x124
Elphel, Inc.

On Tue, Dec 11, 2018 at 9:04 PM Winston Zhang 
mailto:winston.zh...@bst.ai>> wrote:
Hi, Andrey!
Thany you for your patience to answer our questions!
I have some new questions about external trigger. When I set the trigger 
parameter as the page 
http://192.168.0.9/parsedit.php?sensor_port=0_CONDITION=0x9_OUT=0x66555_PERIOD=1000=4,<http://192.168.0.9/parsedit.php?sensor_port=0_CONDITION=0x9_OUT=0x66555_PERIOD=1=4,>
 and I made the trigger board pulsing out the signal(10HZ), I found we could 
get 10 images. But I stopped the trigger board signal, I also could update the 
image(10hz). I wanted to konw that how can I test the external trigger signal 
work? Because when i stop external source trigger signal, it could receive 
images too.


---
Best Regrad!
Yicheng-Zhang
Email:  winston.zhang@bst<mailto:winston.zh...@blacksesame.com.cn>.ai
Tel:18516291005
Black Sesame Technologies (Shanghai) Co., Ltd.  www.bst.ai<http://www.bst.ai/>
Rm 1102-1108, Bldg36, No.2777, East Jinxiu Rd, Pudong District, Shanghai, China

发件人: Oleg<mailto:support-list@support.elphel.com>
发送时间: 2018-09-19 02:38
收件人: david.zh...@bst.ai<mailto:david.zh...@bst.ai>
抄送: winston.zh...@bst.ai<mailto:winston.zh...@bst.ai>; 
tao.zh...@bst.ai<mailto:tao.zh...@bst.ai>; Qun 
Gu<mailto:qun...@blacksesame.com>; elphel 
support-list<mailto:support-list@support.elphel.com>
主题: Re: [Elphel-support] 答复: 答复: 答复: 答复: 答复: sync stereo with lidar
Hello,

Here are a couple commands (in linux) that can help to check and sync the 
system clock:
- Compare PC and camera clock:
~$ ssh root@192.168.0.9<mailto:root@192.168.0.9> date;date -u
- Write PC time into camera clock:
~$ ssh root@192.168.0.9<mailto:root@192.168.0.9> "date -s @`( date -u +"%s" )` 
&&  hwclock -w"

After setting the system clock check if the time survives the reboot. If it 
does not - then please update the firmware to 
20180511<https://wiki.elphel.com/wiki/10393_manual#Firmware.2Fsoftware_update>. 
There was a bug in the clock driver we had to fix a while ago.

Regards,
Oleg

On Mon, Sep 17, 2018 at 11:27 PM David Zhang 
mailto:david.zh...@bst.ai>> wrote:

Hi, Andrey,


We use default configuration(TRIG=4 and TRIG_PERIOD=2500). Is that OK? And 
now our situation is there are timestamps in EXIF header. But it is not

the kernel's system time.

e.g. the timestamp in EXIF may be 2018/09/14 but actually system's date is 
2018/09/18.

How can i fix it? Thanks.


Best,

David




________________________

Re: [Elphel-support] 答复: 答复: 答复: 答复: 答复: sync stereo with lidar

2018-12-12 Thread Winston Zhang
Ok, We will test and feedback it.


---
Best Regrad!
Yicheng-Zhang
Email:  winston.zhang@bst<mailto:winston.zh...@blacksesame.com.cn>.ai
Tel:18516291005
Black Sesame Technologies (Shanghai) Co., Ltd.  www.bst.ai<http://www.bst.ai/>
Rm 1102-1108, Bldg36, No.2777, East Jinxiu Rd, Pudong District, Shanghai, China

发件人: Oleg<mailto:support-list@support.elphel.com>
发送时间: 2018-12-13 03:44
收件人: winston.zh...@bst.ai<mailto:winston.zh...@bst.ai>
抄送: david.zh...@bst.ai<mailto:david.zh...@bst.ai>; 
qiao@bst.ai<mailto:qiao@bst.ai>; 
tao.zh...@bst.ai<mailto:tao.zh...@bst.ai>; Qun 
Gu<mailto:qun...@blacksesame.com>; elphel 
support-list<mailto:support-list@support.elphel.com>
主题: Re: [Elphel-support] 答复: 答复: 答复: 答复: 答复: sync stereo with lidar
Hello,

In the link you used the internal trigger generator is working and is routed 
out to the sync cable (which is probably self-looped - input and output wires 
are connected):

Try:
1. Set TRIG_OUT=0x0 to stop internal pulses at the sync cable output:

# old link:
http://192.168.0.9/parsedit.php?sensor_port=0_CONDITION=0x9_OUT=0x66555_PERIOD=1=4
# new link:
http://192.168.0.9/parsedit.php?sensor_port=0_CONDITION=0x9_OUT=0x0_PERIOD=1=4

or

2. If the sync cable inputs and outputs connected. Disconnect the wires from 
each other and apply your trigger source:
signal or "+" - to Black wire,
ground or "-" - to Green wire.
Please, check the wire colors and pinout 
here<https://wiki.elphel.com/wiki/103891>.

Let us know if that worked. Thanks. I'll update our docs to make them clear.

Best regards,
Oleg Dzhimiev
Electronics Engineer
phone: +1 801 783  x124
Elphel, Inc.

On Tue, Dec 11, 2018 at 9:04 PM Winston Zhang 
mailto:winston.zh...@bst.ai>> wrote:
Hi, Andrey!
Thany you for your patience to answer our questions!
I have some new questions about external trigger. When I set the trigger 
parameter as the page 
http://192.168.0.9/parsedit.php?sensor_port=0_CONDITION=0x9_OUT=0x66555_PERIOD=1000=4,<http://192.168.0.9/parsedit.php?sensor_port=0_CONDITION=0x9_OUT=0x66555_PERIOD=1=4,>
 and I made the trigger board pulsing out the signal(10HZ), I found we could 
get 10 images. But I stopped the trigger board signal, I also could update the 
image(10hz). I wanted to konw that how can I test the external trigger signal 
work? Because when i stop external source trigger signal, it could receive 
images too.


---
Best Regrad!
Yicheng-Zhang
Email:  winston.zhang@bst<mailto:winston.zh...@blacksesame.com.cn>.ai
Tel:18516291005
Black Sesame Technologies (Shanghai) Co., Ltd.  www.bst.ai<http://www.bst.ai/>
Rm 1102-1108, Bldg36, No.2777, East Jinxiu Rd, Pudong District, Shanghai, China

发件人: Oleg<mailto:support-list@support.elphel.com>
发送时间: 2018-09-19 02:38
收件人: david.zh...@bst.ai<mailto:david.zh...@bst.ai>
抄送: winston.zh...@bst.ai<mailto:winston.zh...@bst.ai>; 
tao.zh...@bst.ai<mailto:tao.zh...@bst.ai>; Qun 
Gu<mailto:qun...@blacksesame.com>; elphel 
support-list<mailto:support-list@support.elphel.com>
主题: Re: [Elphel-support] 答复: 答复: 答复: 答复: 答复: sync stereo with lidar
Hello,

Here are a couple commands (in linux) that can help to check and sync the 
system clock:
- Compare PC and camera clock:
~$ ssh root@192.168.0.9<mailto:root@192.168.0.9> date;date -u
- Write PC time into camera clock:
~$ ssh root@192.168.0.9<mailto:root@192.168.0.9> "date -s @`( date -u +"%s" )` 
&&  hwclock -w"

After setting the system clock check if the time survives the reboot. If it 
does not - then please update the firmware to 
20180511<https://wiki.elphel.com/wiki/10393_manual#Firmware.2Fsoftware_update>. 
There was a bug in the clock driver we had to fix a while ago.

Regards,
Oleg

On Mon, Sep 17, 2018 at 11:27 PM David Zhang 
mailto:david.zh...@bst.ai>> wrote:

Hi, Andrey,


We use default configuration(TRIG=4 and TRIG_PERIOD=2500). Is that OK? And 
now our situation is there are timestamps in EXIF header. But it is not

the kernel's system time.

e.g. the timestamp in EXIF may be 2018/09/14 but actually system's date is 
2018/09/18.

How can i fix it? Thanks.


Best,

David




________________________
发件人: Elphel Support 
mailto:support-list@support.elphel.com>>
发送时间: 2018年9月18日 10:03:19
收件人: Winston Zhang
抄送: Winston Zhang; Tao Zhang; Qun Gu; David Zhang
主题: Re: [Elphel-support] 答复: 答复: 答复: 答复: sync stereo with lidar

Winston,

What trigger settings do you use ( https://wiki.elphel.com/wiki/Trigger_393 )?
Trigger 393 - ElphelWiki - 
wiki.elphel.com<https://wiki.elphel.com/wiki/Trigger_393>
wiki.elphel.com<http://wiki.elphel.com>
Descriptio

Re: [Elphel-support] 答复: 答复: 答复: 答复: 答复: sync stereo with lidar

2018-12-12 Thread Oleg
Hello,

In the link you used the internal trigger generator is working and is
routed out to the sync cable (which is probably self-looped - input and
output wires are connected):

Try:
*1.* Set TRIG_OUT=0x0 to stop internal pulses at the sync cable output:

# old link:

http://192.168.0.9/parsedit.php?sensor_port=0_CONDITION=0x9_OUT=0x66555_PERIOD=1=4

# new link:

http://192.168.0.9/parsedit.php?sensor_port=0_CONDITION=0x9;
> *TRIG_OUT=0x0*_PERIOD=1=4


*or *

*2.* If the sync cable inputs and outputs connected. Disconnect the wires
from each other and apply your trigger source:
signal or "+" - to Black wire,
ground or "-" - to Green wire.
Please, check the wire colors and pinout here
<https://wiki.elphel.com/wiki/103891>.

Let us know if that worked. Thanks. I'll update our docs to make them clear.

Best regards,
Oleg Dzhimiev
Electronics Engineer
phone: +1 801 783  x124
Elphel, Inc.

On Tue, Dec 11, 2018 at 9:04 PM Winston Zhang  wrote:

> Hi, Andrey!
> Thany you for your patience to answer our questions!
> I have some new questions about external trigger. When I set the
> trigger parameter as the page
> http://192.168.0.9/parsedit.php?sensor_port=0_CONDITION=0x9_OUT=0x66555_PERIOD=1000=4,
> <http://192.168.0.9/parsedit.php?sensor_port=0_CONDITION=0x9_OUT=0x66555_PERIOD=1=4,>
>  and
> I made the trigger board pulsing out the signal(10HZ), I found we could get
> 10 images. But I stopped the trigger board signal, I also could update the
> image(10hz). I wanted to konw that how can I test the external trigger
> signal work? Because when i stop external source trigger signal, it could
> receive images too.
>
> --
>
> *---*
>
> *Best Regrad!*
>
> *Yicheng-Zhang*
>
> *Email:  winston.zhang@bst .ai*
>
> *Tel:18516291005*
>
> *Black Sesame Technologies (Shanghai) Co., Ltd.  www.bst.ai
> <http://www.bst.ai/>*
>
> *Rm 1102-1108, Bldg36, No.2777, East Jinxiu Rd, Pudong District, Shanghai,
> China*
>
>
> *发件人:* Oleg 
> *发送时间:* 2018-09-19 02:38
> *收件人:* david.zh...@bst.ai
> *抄送:* winston.zh...@bst.ai; tao.zh...@bst.ai; Qun Gu
> ; elphel support-list
> 
> *主题:* Re: [Elphel-support] 答复: 答复: 答复: 答复: 答复: sync stereo with lidar
> Hello,
>
> Here are a couple commands (in linux) that can help to check and sync the
> system clock:
> - Compare PC and camera clock:
>
>> ~$ ssh root@192.168.0.9 date;date -u
>
> - Write PC time into camera clock:
>
>> ~$ ssh root@192.168.0.9 "date -s @`( date -u +"%s" )` &&  hwclock -w"
>
>
> After setting the system clock check if the time survives the reboot. If
> it does not - then please update the firmware to 20180511
> <https://wiki.elphel.com/wiki/10393_manual#Firmware.2Fsoftware_update>.
> There was a bug in the clock driver we had to fix a while ago.
>
> Regards,
> Oleg
>
> On Mon, Sep 17, 2018 at 11:27 PM David Zhang  wrote:
>
>> Hi, Andrey,
>>
>>
>> We use default configuration(TRIG=4 and TRIG_PERIOD=2500). Is that
>> OK? And now our situation is there are timestamps in EXIF header. But it is
>> not
>>
>> the kernel's system time.
>>
>> e.g. the timestamp in EXIF may be 2018/09/14 but actually system's date
>> is 2018/09/18.
>>
>> How can i fix it? Thanks.
>>
>>
>> Best,
>>
>> David
>>
>>
>>
>>
>> --
>> *发件人:* Elphel Support 
>> *发送时间:* 2018年9月18日 10:03:19
>> *收件人:* Winston Zhang
>> *抄送:* Winston Zhang; Tao Zhang; Qun Gu; David Zhang
>> *主题:* Re: [Elphel-support] 答复: 答复: 答复: 答复: sync stereo with lidar
>>
>> Winston,
>>
>> What trigger settings do you use (
>> https://wiki.elphel.com/wiki/Trigger_393 )?
>> Trigger 393 - ElphelWiki - wiki.elphel.com
>> <https://wiki.elphel.com/wiki/Trigger_393>
>> wiki.elphel.com
>> Description. 10389 board is required. The triggering is used for one or
>> several cameras synchronization or setting the frame rate (or fps). The
>> conditions of the trigger can be generated either internally or externally.
>>
>>
>>
>> Camera channels should be in triggered mode (TRIG=4) and have  correct
>> TRIG_PERIOD. Then all channels will be exactly synchronized. If you set
>> TRIG_PERIOD to some "even" number (like exactly  10fps with
>> TRIG_PERIOD=1000), then timestamps will have all digits but seconds and
>> tenths of a second the same for all frames.
>>
>> Andrey
>>
>

Re: [Elphel-support] 答复: 答复: 答复: 答复: 答复: sync stereo with lidar

2018-12-11 Thread Winston Zhang
Hi, Andrey!
Thany you for your patience to answer our questions!
I have some new questions about external trigger. When I set the trigger 
parameter as the page 
http://192.168.0.9/parsedit.php?sensor_port=0_CONDITION=0x9_OUT=0x66555_PERIOD=1000=4,<http://192.168.0.9/parsedit.php?sensor_port=0_CONDITION=0x9_OUT=0x66555_PERIOD=1=4,>
 and I made the trigger board pulsing out the signal(10HZ), I found we could 
get 10 images. But I stopped the trigger board signal, I also could update the 
image(10hz). I wanted to konw that how can I test the external trigger signal 
work? Because when i stop external source trigger signal, it could receive 
images too.


---
Best Regrad!
Yicheng-Zhang
Email:  winston.zhang@bst<mailto:winston.zh...@blacksesame.com.cn>.ai
Tel:18516291005
Black Sesame Technologies (Shanghai) Co., Ltd.  www.bst.ai<http://www.bst.ai/>
Rm 1102-1108, Bldg36, No.2777, East Jinxiu Rd, Pudong District, Shanghai, China

发件人: Oleg<mailto:support-list@support.elphel.com>
发送时间: 2018-09-19 02:38
收件人: david.zh...@bst.ai<mailto:david.zh...@bst.ai>
抄送: winston.zh...@bst.ai<mailto:winston.zh...@bst.ai>; 
tao.zh...@bst.ai<mailto:tao.zh...@bst.ai>; Qun 
Gu<mailto:qun...@blacksesame.com>; elphel 
support-list<mailto:support-list@support.elphel.com>
主题: Re: [Elphel-support] 答复: 答复: 答复: 答复: 答复: sync stereo with lidar
Hello,

Here are a couple commands (in linux) that can help to check and sync the 
system clock:
- Compare PC and camera clock:
~$ ssh root@192.168.0.9<mailto:root@192.168.0.9> date;date -u
- Write PC time into camera clock:
~$ ssh root@192.168.0.9<mailto:root@192.168.0.9> "date -s @`( date -u +"%s" )` 
&&  hwclock -w"

After setting the system clock check if the time survives the reboot. If it 
does not - then please update the firmware to 
20180511<https://wiki.elphel.com/wiki/10393_manual#Firmware.2Fsoftware_update>. 
There was a bug in the clock driver we had to fix a while ago.

Regards,
Oleg

On Mon, Sep 17, 2018 at 11:27 PM David Zhang 
mailto:david.zh...@bst.ai>> wrote:

Hi, Andrey,


We use default configuration(TRIG=4 and TRIG_PERIOD=2500). Is that OK? And 
now our situation is there are timestamps in EXIF header. But it is not

the kernel's system time.

e.g. the timestamp in EXIF may be 2018/09/14 but actually system's date is 
2018/09/18.

How can i fix it? Thanks.


Best,

David





发件人: Elphel Support 
mailto:support-list@support.elphel.com>>
发送时间: 2018年9月18日 10:03:19
收件人: Winston Zhang
抄送: Winston Zhang; Tao Zhang; Qun Gu; David Zhang
主题: Re: [Elphel-support] 答复: 答复: 答复: 答复: sync stereo with lidar

Winston,

What trigger settings do you use ( https://wiki.elphel.com/wiki/Trigger_393 )?
Trigger 393 - ElphelWiki - 
wiki.elphel.com<https://wiki.elphel.com/wiki/Trigger_393>
wiki.elphel.com<http://wiki.elphel.com>
Description. 10389 board is required. The triggering is used for one or several 
cameras synchronization or setting the frame rate (or fps). The conditions of 
the trigger can be generated either internally or externally.




Camera channels should be in triggered mode (TRIG=4) and have  correct 
TRIG_PERIOD. Then all channels will be exactly synchronized. If you set 
TRIG_PERIOD to some "even" number (like exactly  10fps with 
TRIG_PERIOD=1000), then timestamps will have all digits but seconds and 
tenths of a second the same for all frames.

Andrey


 On Mon, 17 Sep 2018 18:31:26 -0700 
mailto:winston.zh...@bst.ai>> wrote 

Hi, Andrey!
I captured some images form camera with the timestamp image name. This 
timestamp was the same with camera system timestamp. And the other way,  each 
image had its exif information that contained the real timestamp. But this 
timestamp from exif information was not the same with system timestamp. So can 
you provided some detials about where was the exif timestamp  from. And how did 
i do can solve this problem.

(i had synchronized the camera system time with the GPS timestamp.)




---

Best Regrad!

Yicheng-Zhang

Email:  winston.zhang@bst<mailto:winston.zh...@blacksesame.com.cn>.ai

Tel:18516291005

Addr:   707 room, 7th floor, building 4th, No.1761, Zhangdong road, Pudong area


发件人: Oleg<mailto:support-list@support.elphel.com>
发送时间: 2018-05-12 06:32
收件人: Winston Zhang<mailto:winston.zh...@blacksesame.com.cn>
抄送: Tao Zhang<mailto:tao.zh...@blacksesame.com.cn>; Qun 
Gu<mailto:qun...@blacksesame.com>; David 
Zhang<mailto:david.zh...@blacksesame.com.cn>; elphel 
support-list<mailto:support-list@support.elphel.com>
主题: Re: [Elphel-support] 答复: 答复: 答复: 答复: sync stereo with lidar
Winston,

I could get the in

Re: [Elphel-support] 答复: 答复: 答复: 答复: 答复: sync stereo with lidar

2018-09-18 Thread Oleg
Hello,

Here are a couple commands (in linux) that can help to check and sync the
system clock:
- Compare PC and camera clock:

> ~$ ssh root@192.168.0.9 date;date -u

- Write PC time into camera clock:

> ~$ ssh root@192.168.0.9 "date -s @`( date -u +"%s" )` &&  hwclock -w"


After setting the system clock check if the time survives the reboot. If it
does not - then please update the firmware to 20180511
<https://wiki.elphel.com/wiki/10393_manual#Firmware.2Fsoftware_update>.
There was a bug in the clock driver we had to fix a while ago.

Regards,
Oleg

On Mon, Sep 17, 2018 at 11:27 PM David Zhang  wrote:

> Hi, Andrey,
>
>
> We use default configuration(TRIG=4 and TRIG_PERIOD=2500). Is that OK?
> And now our situation is there are timestamps in EXIF header. But it is not
>
> the kernel's system time.
>
> e.g. the timestamp in EXIF may be 2018/09/14 but actually system's date is
> 2018/09/18.
>
> How can i fix it? Thanks.
>
>
> Best,
>
> David
>
>
>
>
> --
> *发件人:* Elphel Support 
> *发送时间:* 2018年9月18日 10:03:19
> *收件人:* Winston Zhang
> *抄送:* Winston Zhang; Tao Zhang; Qun Gu; David Zhang
> *主题:* Re: [Elphel-support] 答复: 答复: 答复: 答复: sync stereo with lidar
>
> Winston,
>
> What trigger settings do you use (
> https://wiki.elphel.com/wiki/Trigger_393 )?
> Trigger 393 - ElphelWiki - wiki.elphel.com
> <https://wiki.elphel.com/wiki/Trigger_393>
> wiki.elphel.com
> Description. 10389 board is required. The triggering is used for one or
> several cameras synchronization or setting the frame rate (or fps). The
> conditions of the trigger can be generated either internally or externally.
>
>
>
> Camera channels should be in triggered mode (TRIG=4) and have  correct
> TRIG_PERIOD. Then all channels will be exactly synchronized. If you set
> TRIG_PERIOD to some "even" number (like exactly  10fps with
> TRIG_PERIOD=1000), then timestamps will have all digits but seconds and
> tenths of a second the same for all frames.
>
> Andrey
>
>
>  On Mon, 17 Sep 2018 18:31:26 -0700 * >* wrote 
>
> Hi, Andrey!
> I captured some images form camera with the timestamp image name. This
> timestamp was the same with camera system timestamp. And the other way,
>  each image had its exif information that contained the real timestamp. But
> this timestamp from exif information was not the same with system
> timestamp. So can you provided some detials about where was the exif
> timestamp  from. And how did i do can solve this problem.
>
> (i had synchronized the camera system time with the GPS timestamp.)
>
> --
>
> *---*
>
> *Best Regrad!*
>
> *Yicheng-Zhang*
>
> *Email:  winston.zhang@bst .ai*
>
> *Tel:    18516291005*
>
> *Addr:   707 room, 7th floor, building 4th, No.1761, Zhangdong road,
> Pudong area*
>
>
> *发件人:* Oleg 
> *发送时间:* 2018-05-12 06:32
> *收件人:* Winston Zhang 
> *抄送:* Tao Zhang ; Qun Gu
> ; David Zhang ; elphel
> support-list 
> *主题:* Re: [Elphel-support] 答复: 答复: 答复: 答复: sync stereo with lidar
> Winston,
>
>
> I could get the info from the 192.168.0.9:2323. This web could help me to
> get some information. But if I tried the
> http://192.168.0.9:2323/timestamp_name, the timestamp file saved web did
> not appear. How did I use it?
>
>
> http://192.168.0.9:2323*/pointer_value/img*
>
> Try the following:
> 1. get diagnostics.php
> <https://git.elphel.com/Elphel/elphel-web-393/blob/master/src/diagnostics/diagnostics.php>
> 2. copy to 192.168.0.9:/www/pages/
> 3. In the browser open:
>
> view-source:http://192.168.0.9/diagnostics.php?pointers
>
>
> You will get xml output similar to this one:
>
> 
> 
> 
> 
> 
>
> ...
>
> 1526075540.347616
> ...
>
>
> Take the pointer_value from the last  for a particular port. Don't
> forget to add "/img" or "/bimg".
>
> If something does not work. Please send me your xml.
>
> Best regards,
> Oleg Dzhimiev
> Electronics Engineer
> phone: +1 801 783  x124
> Elphel, Inc.
>
> ___
> Support-list mailing list
> Support-list@support.elphel.com
> http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com
>
>
>
>
> ___
> Support-list mailing list
> Support-list@support.elphel.com
> http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com
>
___
Support-list mailing list
Support-list@support.elphel.com
http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com


Re: [Elphel-support] 答复: 答复: 答复: 答复: 答复: sync stereo with lidar

2018-04-15 Thread Elphel Support
Hello Winston,

You may try to delete all autocampars*.* files from /etc/elphel393 in the 
camera and reboot. Your saved settings will be lost - you may first copy 
autocampars*.xml somewhere else or just use *.backup files if you did not 
reboot too many times since you've got that problem.

If after boot camera will not find those files, it will create default ones.

Andrey

 On Sun, 15 Apr 2018 19:59:09 -0700 Winston Zhang 
winston.zh...@blacksesame.com.cn wrote  

Hi Andrey!
   The camera could be ping success. And the camera Linux system could be 
login. 
  
 
 
   
 Best Regrad!
 Yicheng-Zhang
 Email:  winston.zh...@blacksesame.com.cn
 Teil:18516291005
 Addr:   707 room, 7th floor, building 4th, No.1761, Zhangdong road, Pudong area
 
  
   发件人: Winston Zhang 
 发送时间: 2018年4月16日 星期一 10:54
 收件人: 'Elphel Support' support-list@support.elphel.com; Allen Yin 
allen@blacksesame.com.cn
 抄送: Pioneer Li pioneer...@blacksesame.com.cn; Tao Zhang 
tao.zh...@blacksesame.com.cn; Qun Gu qun...@blacksesame.com
 主题: 答复: [Elphel-support] 答复: 答复: 答复: 答复: sync stereo with lidar
 
 
  
 Hi, Andrey
   Today, I met an problem. The camera setting web 
http://192.168.0.9/autocampars.php?sensor_port=0 and other related web were not 
be opened. This problem was not met ago. I guessed some setting of my internet 
was wrong, such as proxy setting. And I found an new clear computer and tried 
it again, and the problem was always there. So, I want to know why? Did you 
update the web services?
  

 
   
 Best Regrad!
 Yicheng-Zhang
 Email:  winston.zh...@blacksesame.com.cn
 Teil:18516291005
 Addr:   707 room, 7th floor, building 4th, No.1761, Zhangdong road, Pudong area
 
  
   发件人: Elphel Support [mailto:support-list@support.elphel.com] 
 发送时间: 2018年3月22日 星期四 8:01
 收件人: Allen Yin allen@blacksesame.com.cn; Elphel List 
support-list@support.elphel.com
 抄送: Pioneer Li pioneer...@blacksesame.com.cn; Tao Zhang 
tao.zh...@blacksesame.com.cn; Qun Gu qun...@blacksesame.com; 
Winston Zhang winston.zh...@blacksesame.com.cn
 主题: Re: [Elphel-support] 答复: 答复: 答复: 答复: sync stereo with lidar
 
 
  
  Hello Allen,
 
 I fixed master branch, should work now
 
 Andrey
   
  On Wed, 21 Mar 2018 01:25:58 -0700 Allen 
Yinallen@blacksesame.com.cn wrote  
 
Hi Andrey,
  
 I have a try on the Ubuntu 14.04.
  
 It seems there are some conflicts in the code. When I compile, there are some 
error. But I press run, ImageJ will work. I don’t know why. All steps follow 
the web page.
  
 If we get the gamma value, how to calculate the 12-bit pixel value. If gamma 
is 0.57, equation is: out(8bit) = a*in(12bit)^0.57, a = 2 .23? 
  
 Thanks,
  
 Allen Yin
  
   发件人: Elphel Support support-list@support.elphel.com 
 发送时间: 2018年3月21日, 星期三 0:40
 收件人: Allen Yin allen@blacksesame.com.cn; Elphel List 
support-list@support.elphel.com
 抄送: Tao Zhang tao.zh...@blacksesame.com.cn; Pioneer Li 
pioneer...@blacksesame.com.cn; Winston Zhang 
winston.zh...@blacksesame.com.cn; Qun Gu 
qun...@blacksesame.com; Elphel Sales | Olga Filippova 
sa...@elphel.com
 主题: Re: 答复: [Elphel-support] 答复: 答复: sync stereo with lidar
 
 
  
Hello Allen,
 
 I can not reproduce your setup because we do not have any computer with MS 
Windows here, I haven't used this family of OS since 2001. Yes, Eclipse is a 
multi-platform program, but we never tested our code with Windows, so there 
could be our bugs when running on Windows.
 
 Can you please try installation it with (K)ubuntu 16.04 LTS? Then I will be 
able to reproduce all the steps.
 
 Andrey
   
  On Tue, 20 Mar 2018 02:35:29 -0700 Allen 
Yinallen@blacksesame.com.cn wrote  
 
Hi Andrey,
  
 I follow the steps on the web page: 
  
 1. Download plugin  “git clone 
https://git.elphel.com/Elphel/imagej-elphel.git”
  
 2. Download Eclipse IDE for Java EE Developers, get the “Eclipse Java 
Oxygen” for 64bit
  
 3. Edit “eclipse.ini”,  see “1.jpg”, I could find “-clean -startup” and 
“-XX :MaxPermSize”  these two items in the file,  so I modify the file as 
“2.jpg”
  
 4. In eclipse , “File - Import - Existing Maven Projects - set 
imagej-elphel as Root Directory - a project will appear in the project list 
- Finish ” 
  
 5. “Run Configurations - select Java Application - New Launch 
Configuration - find the needed plugin class - Run”, see “3.jpg” and 
“4.jpg”
  
 It could not build the plugin. Could you please help us to setup this 
environment and give us more detailed steps ?
  
 OS: Windows 10
  
 Thanks, 
  
 Allen Yin
  
  
 
 
  
  
 
  
 
 
  
 
 ___ 
 Support-list mailing list 
 Support-list@support.elphel.com 
 http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com 
 
   
 
  
 
  
 
 ___ 
Support-list mailing list 
Support-list@support.elphel.com 
http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com

Re: [Elphel-support] 答复: 答复: 答复: 答复: 答复: sync stereo with lidar

2018-03-22 Thread Elphel Support
Allen,
~/.imagej/Eyesis_Correction.xml is not really needed - it just hides/reveals 
some experimental buttons on the interface
This is the contents of such file:
?xml version="1.0" encoding="UTF-8"?
!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd";
properties
commentlast updated Thu Sep 08 14:09:47 MDT 2016/comment
entry key="ADVANCED_MODE"False/entry
entry key="DCT_MODE"False/entry
entry key="MODE_3D"False/entry
/properties


result.jpg looks correct. It should be super-contrast as it is linear, so it 
CAN NOT be saved as JPEG - it needs either 16 bits or 32 bit TIFF as when you 
save it from imageJ (save as tiff). And it is "monochrome" - each pixel 
corresponds to the sensor pixel value. For you application I would recommend to 
use just green subchannel (checkerboard pattern, half of all pixels) - in that 
case you do not need to have aberration correction.

Your plots for gamma seem correct too, to be sure I need to look into the code 
again - I wrote that part several years ago.

Gamma is not changed automatically in the camera, but you may change it using 
one of the interfaces - camvc of just parsedit. In addition to the power (0.57) 
there is another parameter - dark level - the sensor adjusts its ADC to have 
output level of 160 (on 4096 scale) or 10(256) for the complete darkness, 
so-called "fat zero". 

Gamma is applied inside the FPGA and parameters are saved in the Exif header, 
so for processing it is possible to "undo" gamma and restore linear scale.

Andrey



 On Thu, 22 Mar 2018 00:58:53 -0700 Allen 
Yinallen@blacksesame.com.cn wrote  

Hi Andrey,
  
 There seems to be an another error, “2.jpg”. 
 
 I have some doubts, could you please help me?
  
  1. Does gamma value remain unchanged when camera works ?  Who realize 
this gamma mapping, sensor or ISP?
  
  2. When gamma0 = gamma1 = gamma2= gamma3 = 0.57, gamma_scale0 = 
gamma_scale1 = gamma_scale2 = gamma_scale3 = 1024,
  
 gamma mapping  is  Vout = a*Vin^gamma, a = 2.23  gamma = 0.57 , is it right? 
If not right, could you tell me the right? I use this gamma curve to convert 
the 12bit raw data, “result.jpg” is the result.
  






___
Support-list mailing list
Support-list@support.elphel.com
http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com


Re: [Elphel-support] 答复: 答复: 答复: 答复: 答复: sync stereo with lidar

2018-03-07 Thread Elphel Support
Hello Winston,

Tomorrow Oleg will try to reproduce your settings - so far we did not have such 
problems.

BTW, you can set same parameters on multiple ports simultaneously, using 
"Broadcast Mask" (hex number 0..f)
Port 0: 1
port 1 - 2
port 2 - 4
port 3 - 8,

So broadcast mask 3 will set the same mode on ports 0 and 1.

About bits I tried to explain in the previous messages and the "How many 
bits..." in the article.

Sensor provides 12 bits, and each bit is important in the shadows. But not in 
the bright light because of the shot noise that is caused just by the fact that 
each pixel can store only integer number of electrons. And so while all bits 
are important, there are not 4096 meaningful levels for each pixel, but 
significantly less (see "How many bits..."). Gamma conversion uses non-linear 
scale to represent pixel values with steps proportional to the shot noise 
(steps are smaller). The gamma conversion parameters are saved in the Exif 
header of the JP4 file, and if you open files with ImageJ plugin, it takes care 
of the Exif data and restores linear data proportional to the pixel raw values, 
then you can save it as  32-bit Tiff file.

Andrey




 Hi, Andrey
  I met a new question. I set ‘Color’ parameter with the five(it could get 
the jp4 format image)on one camera, and this camera image format was converted. 
But when I set the other one, this camera image format was not converted. 
Please help me test for it. 
  Another question
  What is the raw jp4 format image with 100% compression bit wide? I read 
it and the result show the bit wide is uint8. But you web shows that the bit 
wide is 12bit.
  
  
  
  
  Best Regrad!
  Yicheng-Zhang
  Email: winston.zh...@blacksesame.com.cn
  Teil: 18516291005
  Addr: 707 room, 7th floor, building 4th, No.1761, Zhangdong road, Pudong 
area





___
Support-list mailing list
Support-list@support.elphel.com
http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com