Imaging solutions with Free Software & Open Hardware

Who's online

There are currently 0 users online.

File:Photofinish example 2.jpeg

Wiki Recent Changes - Tue, 01/30/2018 - 15:39

Oleg uploaded File:Photofinish example 2.jpeg

New page

== Licensing ==
{{CC }} Oleg

Photo Finish

Elphel Development Blog - Tue, 01/30/2018 - 14:53

Since 2005 and the older 333 model, Elphel cameras have a Photo Finish mode. First, it was ported to 353 generation, and then from 353 to 393 camera systems.

In this mode the camera samples scan lines and delivers composite images as video frames. Due to the Bayer pattern of the sensor the minimal sample height is 2 lines. The max fps for the minimal sample height is 2300 line pairs per second. The max width of a composite frame can be up to 16384px (is determined by WOI_HEIGHT). A sequence of these frames can be simply joined together without any missing scan lines.

Current firmware (20180130) includes a photo finish demo: http://192.168.0.9/photofinish.

A couple notes for 393 photo finish implementation:

  • works in JP4 format (COLOR=5). Because in this format demosaicing is not done it does not require extra scan lines, which simplified fpga’s logic.
  • fps is controlled:
    • by exposure for the sensor in the freerun mode (TRIG=0, delivers max fps possible)
    • by external or internal trigger period for the sensor in the snapshot mode (TRIG=4, a bit lower fps than in freerun)

See our wiki’s Photo-finish article for instructions and examples.

Tmp manual

Wiki Recent Changes - Tue, 01/30/2018 - 13:38

‎Firmware images

← Older revision Revision as of 20:38, 30 January 2018 Line 281: Line 281:     ==<font color="blue">Firmware images</font>== ==<font color="blue">Firmware images</font>== −* [https://community.elphel.com/files/393/20180118/ '''20180118''']+* [https://community.elphel.com/files/393/20180130/ '''20180130''']  +* [https://community.elphel.com/files/393/20180118/ 20180118]  * [https://community.elphel.com/files/393/20180116/ 20180116] * [https://community.elphel.com/files/393/20180116/ 20180116] −* [https://community.elphel.com/files/393/20180109/ 20180109]  −* [https://community.elphel.com/files/393/20171120/ 20171120]  −* [https://community.elphel.com/files/393/20171115/ 20171115]      ==<font color="blue">Other info</font>== ==<font color="blue">Other info</font>== Oleg

Photo-finish

Wiki Recent Changes - Tue, 01/30/2018 - 13:26

‎Tips and notes

← Older revision Revision as of 20:26, 30 January 2018 (2 intermediate revisions by the same user not shown)Line 95: Line 95:  ** WOI_HEIGHT=3872 ** WOI_HEIGHT=3872  ** COMPRESSOR_RUN=2 ** COMPRESSOR_RUN=2 −<!--+   * '''Example 3:''' 2592x1936, not changing any frame dimensions, sensor is triggered from internal counter at '''2000 fps''' * '''Example 3:''' 2592x1936, not changing any frame dimensions, sensor is triggered from internal counter at '''2000 fps'''  ** COMPRESSOR_RUN=0, WB_EN=0, AUTOEXP_ON=0, EXPOS=400, TRIG=0, COLOR=5 ** COMPRESSOR_RUN=0, WB_EN=0, AUTOEXP_ON=0, EXPOS=400, TRIG=0, COLOR=5 Line 102: Line 102:  ** TRIG=4 ** TRIG=4  ** COMPRESSOR_RUN=2 ** COMPRESSOR_RUN=2 −-->+      ===Tips and notes=== ===Tips and notes=== Line 108: Line 108:  * How to process [[JP4#JP4|JP4]] * How to process [[JP4#JP4|JP4]]  * To '''seamlessly''' join 2 consecutive JP4 photo finish frames - their pixels has to be joined before demosaicing. Otherwise demosaicing algorithm will create a seam. * To '''seamlessly''' join 2 consecutive JP4 photo finish frames - their pixels has to be joined before demosaicing. Otherwise demosaicing algorithm will create a seam. −<!--* At 2000 fps and PH_HEIGHT=2, The 2592x16384 composite frame consists of 8192 2592x2 stacked frames and covers 4.096 seconds.-->+* FPS can be controlled by exposure for sensor in a freerun mode or external or internal trigger for sensor in a snapshot mode (TRIG=4)  + <font size='2'>Example: at 2000 fps and PH_HEIGHT=2, The 2592x16384 composite frame consists of 8192 2592x2 stacked frames and covers 4.096 seconds</font>     ==<font color='blue'>Instructions for 353</font>== ==<font color='blue'>Instructions for 353</font>== Line 138: Line 139:  * Works in JPEG format * Works in JPEG format  * 2 consecutive JPEG photo finish frames can be "seamlessly" joined without any special processing. Demosaicing related artifacts are taken care of in fpga. * 2 consecutive JPEG photo finish frames can be "seamlessly" joined without any special processing. Demosaicing related artifacts are taken care of in fpga.  +* FPS can be controlled by setting exposure. Setting fps for line scan by programming internal trigger period was not implemented for 353.     ==<font color='blue'>Important notes</font>== ==<font color='blue'>Important notes</font>== Oleg

Photo-finish

Wiki Recent Changes - Tue, 01/30/2018 - 13:26

‎Tips and notes

← Older revision Revision as of 20:26, 30 January 2018 (5 intermediate revisions by the same user not shown)Line 102: Line 102:  ** TRIG=4 ** TRIG=4  ** COMPRESSOR_RUN=2 ** COMPRESSOR_RUN=2  +     ===Tips and notes=== ===Tips and notes=== Line 107: Line 108:  * How to process [[JP4#JP4|JP4]] * How to process [[JP4#JP4|JP4]]  * To '''seamlessly''' join 2 consecutive JP4 photo finish frames - their pixels has to be joined before demosaicing. Otherwise demosaicing algorithm will create a seam. * To '''seamlessly''' join 2 consecutive JP4 photo finish frames - their pixels has to be joined before demosaicing. Otherwise demosaicing algorithm will create a seam. −* At 2000 fps and PH_HEIGHT=2, The 2592x16384 composite frame consists of 8192 2592x2 stacked frames and covers 4.096 seconds.+* FPS can be controlled by exposure for sensor in a freerun mode or external or internal trigger for sensor in a snapshot mode (TRIG=4) − + <font size='2'>Example: at 2000 fps and PH_HEIGHT=2, The 2592x16384 composite frame consists of 8192 2592x2 stacked frames and covers 4.096 seconds</font> −       ==<font color='blue'>Instructions for 353</font>== ==<font color='blue'>Instructions for 353</font>== Line 127: Line 127:  ** PF_HEIGHT=2 ** PF_HEIGHT=2  ** COMPRESSOR_RUN=2 ** COMPRESSOR_RUN=2  +<!--  * '''Example 2:''' 2592x1936, not changing any frame dimensions, sensor is triggered from internal counter: '''2000fps''' * '''Example 2:''' 2592x1936, not changing any frame dimensions, sensor is triggered from internal counter: '''2000fps'''  ** COMPRESSOR_RUN=0, WB_EN=0, AUTOEXP_ON=0, EXPOS=400, TRIG=0, COLOR=1 ** COMPRESSOR_RUN=0, WB_EN=0, AUTOEXP_ON=0, EXPOS=400, TRIG=0, COLOR=1 Line 133: Line 134:  ** TRIG=4 ** TRIG=4  ** COMPRESSOR_RUN=2 ** COMPRESSOR_RUN=2  +-->     ===Tips and notes=== ===Tips and notes===  * Works in JPEG format * Works in JPEG format  * 2 consecutive JPEG photo finish frames can be "seamlessly" joined without any special processing. Demosaicing related artifacts are taken care of in fpga. * 2 consecutive JPEG photo finish frames can be "seamlessly" joined without any special processing. Demosaicing related artifacts are taken care of in fpga.  +* FPS can be controlled by setting exposure. Setting fps for line scan by programming internal trigger period was not implemented for 353.     ==<font color='blue'>Important notes</font>== ==<font color='blue'>Important notes</font>== Oleg

Photo-finish

Wiki Recent Changes - Tue, 01/30/2018 - 13:26

‎Tips and notes

← Older revision Revision as of 20:26, 30 January 2018 (6 intermediate revisions by the same user not shown)Line 37: Line 37:  ==<font color='blue'>Line scan with Elphel</font>== ==<font color='blue'>Line scan with Elphel</font>==    −[[File:Elphelimg 1015229 a.jpeg|thumb|500px|This image is downsized from 2592x3872 and rotated by 90&deg; CCW]]+[[File:Elphelimg 1015229 a.jpeg|thumb|500px|This image is downsized from 2592x8000 and rotated by 90&deg; CCW]]     {| class='wikitable' {| class='wikitable' Line 60: Line 60:     Due to the Bayer pattern of the sensor the minimal sample height is 2 lines. Due to the Bayer pattern of the sensor the minimal sample height is 2 lines. −  −  −      ==<font color='blue'>Instructions for 393</font>== ==<font color='blue'>Instructions for 393</font>== Line 105: Line 102:  ** TRIG=4 ** TRIG=4  ** COMPRESSOR_RUN=2 ** COMPRESSOR_RUN=2  +     ===Tips and notes=== ===Tips and notes=== Line 110: Line 108:  * How to process [[JP4#JP4|JP4]] * How to process [[JP4#JP4|JP4]]  * To '''seamlessly''' join 2 consecutive JP4 photo finish frames - their pixels has to be joined before demosaicing. Otherwise demosaicing algorithm will create a seam. * To '''seamlessly''' join 2 consecutive JP4 photo finish frames - their pixels has to be joined before demosaicing. Otherwise demosaicing algorithm will create a seam. −* At 2000 fps and PH_HEIGHT=2, The 2592x16384 composite frame consists of 8192 2592x2 stacked frames and covers 4.096 seconds.+* FPS can be controlled by exposure for sensor in a freerun mode or external or internal trigger for sensor in a snapshot mode (TRIG=4) − + <font size='2'>Example: at 2000 fps and PH_HEIGHT=2, The 2592x16384 composite frame consists of 8192 2592x2 stacked frames and covers 4.096 seconds</font> −       ==<font color='blue'>Instructions for 353</font>== ==<font color='blue'>Instructions for 353</font>== Line 130: Line 127:  ** PF_HEIGHT=2 ** PF_HEIGHT=2  ** COMPRESSOR_RUN=2 ** COMPRESSOR_RUN=2  +<!--  * '''Example 2:''' 2592x1936, not changing any frame dimensions, sensor is triggered from internal counter: '''2000fps''' * '''Example 2:''' 2592x1936, not changing any frame dimensions, sensor is triggered from internal counter: '''2000fps'''  ** COMPRESSOR_RUN=0, WB_EN=0, AUTOEXP_ON=0, EXPOS=400, TRIG=0, COLOR=1 ** COMPRESSOR_RUN=0, WB_EN=0, AUTOEXP_ON=0, EXPOS=400, TRIG=0, COLOR=1 Line 136: Line 134:  ** TRIG=4 ** TRIG=4  ** COMPRESSOR_RUN=2 ** COMPRESSOR_RUN=2  +-->     ===Tips and notes=== ===Tips and notes===  * Works in JPEG format * Works in JPEG format  * 2 consecutive JPEG photo finish frames can be "seamlessly" joined without any special processing. Demosaicing related artifacts are taken care of in fpga. * 2 consecutive JPEG photo finish frames can be "seamlessly" joined without any special processing. Demosaicing related artifacts are taken care of in fpga.  +* FPS can be controlled by setting exposure. Setting fps for line scan by programming internal trigger period was not implemented for 353.     ==<font color='blue'>Important notes</font>== ==<font color='blue'>Important notes</font>== Oleg

01/30/18 [linux-elphel][rocko] by Oleg Dzhimiev: compare TRIG_PERIOD to pix_period and update the latter before setting P_PERIOD=pix_period

Elphel GIT logs - Tue, 01/30/2018 - 12:41
Oleg Dzhimiev committed changes to the Elphel git project :
compare TRIG_PERIOD to pix_period and update the latter before setting P_PERIOD=pix_period

Photo-finish

Wiki Recent Changes - Mon, 01/29/2018 - 13:01

‎Tips and notes

← Older revision Revision as of 20:01, 29 January 2018 (3 intermediate revisions by the same user not shown)Line 37: Line 37:  ==<font color='blue'>Line scan with Elphel</font>== ==<font color='blue'>Line scan with Elphel</font>==    −[[File:Elphelimg 1015229 a.jpeg|thumb|500px|This image is downsized from 2592x3872 and rotated by 90&deg; CCW]]+[[File:Elphelimg 1015229 a.jpeg|thumb|500px|This image is downsized from 2592x8000 and rotated by 90&deg; CCW]]     {| class='wikitable' {| class='wikitable' Line 60: Line 60:     Due to the Bayer pattern of the sensor the minimal sample height is 2 lines. Due to the Bayer pattern of the sensor the minimal sample height is 2 lines. −  −  −      ==<font color='blue'>Instructions for 393</font>== ==<font color='blue'>Instructions for 393</font>== Line 98: Line 95:  ** WOI_HEIGHT=3872 ** WOI_HEIGHT=3872  ** COMPRESSOR_RUN=2 ** COMPRESSOR_RUN=2 − +<!--  * '''Example 3:''' 2592x1936, not changing any frame dimensions, sensor is triggered from internal counter at '''2000 fps''' * '''Example 3:''' 2592x1936, not changing any frame dimensions, sensor is triggered from internal counter at '''2000 fps'''  ** COMPRESSOR_RUN=0, WB_EN=0, AUTOEXP_ON=0, EXPOS=400, TRIG=0, COLOR=5 ** COMPRESSOR_RUN=0, WB_EN=0, AUTOEXP_ON=0, EXPOS=400, TRIG=0, COLOR=5 Line 105: Line 102:  ** TRIG=4 ** TRIG=4  ** COMPRESSOR_RUN=2 ** COMPRESSOR_RUN=2  +-->     ===Tips and notes=== ===Tips and notes=== Line 110: Line 108:  * How to process [[JP4#JP4|JP4]] * How to process [[JP4#JP4|JP4]]  * To '''seamlessly''' join 2 consecutive JP4 photo finish frames - their pixels has to be joined before demosaicing. Otherwise demosaicing algorithm will create a seam. * To '''seamlessly''' join 2 consecutive JP4 photo finish frames - their pixels has to be joined before demosaicing. Otherwise demosaicing algorithm will create a seam. −* At 2000 fps and PH_HEIGHT=2, The 2592x16384 composite frame consists of 8192 2592x2 stacked frames and covers 4.096 seconds.+<!--* At 2000 fps and PH_HEIGHT=2, The 2592x16384 composite frame consists of 8192 2592x2 stacked frames and covers 4.096 seconds.--> −   −       ==<font color='blue'>Instructions for 353</font>== ==<font color='blue'>Instructions for 353</font>== Line 130: Line 126:  ** PF_HEIGHT=2 ** PF_HEIGHT=2  ** COMPRESSOR_RUN=2 ** COMPRESSOR_RUN=2  +<!--  * '''Example 2:''' 2592x1936, not changing any frame dimensions, sensor is triggered from internal counter: '''2000fps''' * '''Example 2:''' 2592x1936, not changing any frame dimensions, sensor is triggered from internal counter: '''2000fps'''  ** COMPRESSOR_RUN=0, WB_EN=0, AUTOEXP_ON=0, EXPOS=400, TRIG=0, COLOR=1 ** COMPRESSOR_RUN=0, WB_EN=0, AUTOEXP_ON=0, EXPOS=400, TRIG=0, COLOR=1 Line 136: Line 133:  ** TRIG=4 ** TRIG=4  ** COMPRESSOR_RUN=2 ** COMPRESSOR_RUN=2  +-->     ===Tips and notes=== ===Tips and notes=== Oleg

Photo-finish

Wiki Recent Changes - Fri, 01/26/2018 - 14:49

‎Line scan with Elphel

← Older revision Revision as of 21:49, 26 January 2018 Line 37: Line 37:  ==<font color='blue'>Line scan with Elphel</font>== ==<font color='blue'>Line scan with Elphel</font>==    −[[File:Elphelimg 1015229 a.jpeg|thumb|500px|This image is downsized from 2592x3872 and rotated by 90&deg; CCW]]+[[File:Elphelimg 1015229 a.jpeg|thumb|500px|This image is downsized from 2592x8000 and rotated by 90&deg; CCW]]     {| class='wikitable' {| class='wikitable' Line 60: Line 60:     Due to the Bayer pattern of the sensor the minimal sample height is 2 lines. Due to the Bayer pattern of the sensor the minimal sample height is 2 lines. −  −  −      ==<font color='blue'>Instructions for 393</font>== ==<font color='blue'>Instructions for 393</font>== Oleg

File:Elphelimg 1015229 a.jpeg

Wiki Recent Changes - Fri, 01/26/2018 - 14:48

Oleg uploaded a new version of File:Elphelimg 1015229 a.jpeg

New page

== Licensing ==
{{CC }} Oleg

01/26/18 [elphel-web-393][] by Oleg Dzhimiev: refresh after init

Elphel GIT logs - Fri, 01/26/2018 - 11:48
Oleg Dzhimiev committed changes to the Elphel git project :
refresh after init

01/26/18 [elphel-web-393][] by Oleg Dzhimiev: Added makefile

Elphel GIT logs - Fri, 01/26/2018 - 10:04
Oleg Dzhimiev committed changes to the Elphel git project :
Added makefile

01/25/18 [elphel-web-393][] by Oleg Dzhimiev: 1. timer 2. link to pars 3. set to sensor's center

Elphel GIT logs - Thu, 01/25/2018 - 19:05
Oleg Dzhimiev committed changes to the Elphel git project :
1. timer 2. link to pars 3. set to sensor's center

01/24/18 [elphel-web-393][] by Oleg Dzhimiev: init and refresh

Elphel GIT logs - Wed, 01/24/2018 - 19:51
Oleg Dzhimiev committed changes to the Elphel git project :
init and refresh

01/24/18 [elphel-web-393][] by Oleg Dzhimiev: added photo finish demo

Elphel GIT logs - Wed, 01/24/2018 - 19:41
Oleg Dzhimiev committed changes to the Elphel git project :
added photo finish demo

01/24/18 [elphel-web-393][] by Oleg Dzhimiev: abs path for get-image.php

Elphel GIT logs - Wed, 01/24/2018 - 15:34
Oleg Dzhimiev committed changes to the Elphel git project :
abs path for get-image.php

Photo-finish

Wiki Recent Changes - Wed, 01/24/2018 - 13:08

← Older revision Revision as of 20:08, 24 January 2018 (6 intermediate revisions by the same user not shown)Line 60: Line 60:     Due to the Bayer pattern of the sensor the minimal sample height is 2 lines. Due to the Bayer pattern of the sensor the minimal sample height is 2 lines.  +  +  +     ==<font color='blue'>Instructions for 393</font>== ==<font color='blue'>Instructions for 393</font>== Line 102: Line 105:  ** TRIG=4 ** TRIG=4  ** COMPRESSOR_RUN=2 ** COMPRESSOR_RUN=2  +  +===Tips and notes===  +* Works in JP4 (COLOR=5) and MONO(COLOR=1) formats  +* How to process [[JP4#JP4|JP4]]  +* To '''seamlessly''' join 2 consecutive JP4 photo finish frames - their pixels has to be joined before demosaicing. Otherwise demosaicing algorithm will create a seam.  +* At 2000 fps and PH_HEIGHT=2, The 2592x16384 composite frame consists of 8192 2592x2 stacked frames and covers 4.096 seconds.  +  +     ==<font color='blue'>Instructions for 353</font>== ==<font color='blue'>Instructions for 353</font>== Line 125: Line 136:  ** TRIG=4 ** TRIG=4  ** COMPRESSOR_RUN=2 ** COMPRESSOR_RUN=2  +  +===Tips and notes===  +* Works in JPEG format  +* 2 consecutive JPEG photo finish frames can be "seamlessly" joined without any special processing. Demosaicing related artifacts are taken care of in fpga.     ==<font color='blue'>Important notes</font>== ==<font color='blue'>Important notes</font>== Oleg

Photo-finish

Wiki Recent Changes - Wed, 01/24/2018 - 13:08

01/24/18 [linux-elphel][rocko] by Oleg Dzhimiev: finished photo finish debugging

Elphel GIT logs - Wed, 01/24/2018 - 12:08
Oleg Dzhimiev committed changes to the Elphel git project :
finished photo finish debugging

Photo-finish

Wiki Recent Changes - Mon, 01/22/2018 - 16:46

Pages

Subscribe to www3.elphel.com aggregator