Imaging solutions with Free Software & Open Hardware

Who's online

There are currently 0 users online.

Subscribe to Wiki Recent Changes feed
Track the most recent changes to the wiki in this feed. MediaWiki 1.28.0
Updated: 29 min 48 sec ago

File:103982 sch.pdf

Tue, 02/27/2018 - 09:11

Andrey.filippov uploaded File:103982 sch.pdf

New page

== Licensing ==
{{CERN OHLv1.1 }} Andrey.filippov

Gitlab recipes

Mon, 02/26/2018 - 11:47

‎Solution

← Older revision Revision as of 18:47, 26 February 2018 (10 intermediate revisions by the same user not shown)Line 1: Line 1: −==X-Frame-Options header==+==<font color='darkblue'>X-Frame headers</font>==  +===X-Frame-Options header===  * Edit: ''/opt/gitlab/embedded/service/gitlab-rails/app/controllers/application_controller.rb'' in '''def default_headers''': * Edit: ''/opt/gitlab/embedded/service/gitlab-rails/app/controllers/application_controller.rb'' in '''def default_headers''':    -headers['X-Frame-Options'] = 'DENY'   -headers['X-Frame-Options'] = 'DENY' Line 5: Line 6:  * Restart services * Restart services    gitlab-ctl restart   gitlab-ctl restart  +  +  +==<font color='darkblue'>Nginx behind apache2 misconfiguration</font>==  +===Error log===  + <font size='1em'>gitlab bind() to 0.0.0.0:80 failed (98: Address already in use)</font>  +  +Also, running '''gitlab-ctl status''' shows that nginx is getting restarted:  + <font size='1em'>run: gitaly: (pid 22266) 938s; run: log: (pid 18631) 277569s  + run: gitlab-monitor: (pid 22295) 938s; run: log: (pid 18630) 277569s  + run: gitlab-workhorse: (pid 22300) 937s; run: log: (pid 18617) 277569s  + run: logrotate: (pid 22312) 937s; run: log: (pid 18635) 277569s  + run: nginx: (pid 23828) <font color='red'>'''2s'''</font>; run: log: (pid 18629) 277569s  + run: node-exporter: (pid 22394) 936s; run: log: (pid 18636) 277569s  + run: postgres-exporter: (pid 22401) 936s; run: log: (pid 18649) 277569s  + run: postgresql: (pid 22406) 935s; run: log: (pid 18618) 277569s  + run: prometheus: (pid 22414) 935s; run: log: (pid 18616) 277569s  + run: redis: (pid 22429) 934s; run: log: (pid 18625) 277569s  + run: redis-exporter: (pid 22434) 934s; run: log: (pid 18615) 277569s  + run: sidekiq: (pid 22440) 933s; run: log: (pid 18626) 277569s  + run: unicorn: (pid 22447) 933s; run: log: (pid 18619) 277569s</font>  +  +===Versions===  + <font size='1em'>GitLab 10.5.1  + GitLab Shell 6.0.3  + GitLab Workhorse v3.6.0  + GitLab API v4  + Ruby 2.3.6p384  + Rails 4.2.10  + postgresql 9.6.5</font>  +  +===Problem===  +* /etc/gitlab/gitlab.rb:  + <font size='1em'># nginx['enable'] = true  + # nginx['client_max_body_size'] = '250m'  + # nginx['redirect_http_to_https'] = false  + # nginx['redirect_http_to_https_port'] = 80</font>  +  +''redirect_http_to_https'' default option is probably '''true''' or is ignored resulting in a nginx config record:  +  +* /var/opt/gitlab/nginx/conf/gitlab-http.conf:  + <font size='1em'>server {  +  listen *:80;  +  ...  + }</font>  +  +which is in conflict with Apache  +  +===Solution===  +In ''/etc/gitlab/gitlab.rb'' uncommented and changed '''nginx['redirect_http_to_https_port']''' to another port:  + <font size='1em'>nginx['redirect_http_to_https_port'] = 8033</font>  +Then:  + <font size='1em'>~# gitlab-ctl reconfigure  + ~# gitlab-ctl restart</font> Oleg

103981

Wed, 02/21/2018 - 10:08

‎103981

← Older revision Revision as of 17:08, 21 February 2018 Line 7: Line 7:  10398 board is a 18MPix sensor front end (SFE) designed to work with [[10393]] camera system board. It has the same physical dimensions and the same optical format (1/2.3") as a 5MPix SFE [[10338D]] and 14 MPix [[10398]](15mm x 28mm). 10398 board is a 18MPix sensor front end (SFE) designed to work with [[10393]] camera system board. It has the same physical dimensions and the same optical format (1/2.3") as a 5MPix SFE [[10338D]] and 14 MPix [[10398]](15mm x 28mm).    −The 18MPix (4912×3684, 1.25μm × 1.25 μm) BSI image sensor used is On Semiconductor (former Aptina) [http://www.onsemi.com/PowerSolutions/product.do?id=AR1820HS]. This sensor (and 103981 SFE) uses 4-lane HiSPi/MIPI serial interface running at 14 fps at full resolution (12bpp mode). 8-lane HiSPI mode is not supported. Other combinations of resolution/frame rate are possible.+The 18MPix (4912×3684, 1.25μm × 1.25 μm) BSI image sensor used is On Semiconductor (former Aptina) [http://www.onsemi.com/PowerSolutions/product.do?id=AR1820HS AR1820HS]. This sensor (and 103981 SFE) uses 4-lane HiSPi/MIPI serial interface running at 14 fps at full resolution (12bpp mode). 8-lane HiSPI mode is not supported. Other combinations of resolution/frame rate are possible.     Up to 4 103981 SFE can be directly connected to [[10393]] system board and run simultaneously at full speed (880M pixels/s combined). Up to 4 103981 SFE can be directly connected to [[10393]] system board and run simultaneously at full speed (880M pixels/s combined). Andrey.filippov

Price list

Wed, 02/14/2018 - 12:12

‎Cameras

← Older revision Revision as of 19:12, 14 February 2018 (One intermediate revision by the same user not shown)Line 23: Line 23:  |'''NC393-F-CS''' |'''NC393-F-CS'''  |'''NC393-DEV''' |'''NC393-DEV'''  +|'''MNC393-XCAM'''  |'''MNC393-H''' |'''MNC393-H'''    Line 29: Line 30:  |[[File:Nc393 small.jpeg|100px|link=http://www3.elphel.com/nc393-cs]] |[[File:Nc393 small.jpeg|100px|link=http://www3.elphel.com/nc393-cs]]  |[[File:Nc393-dev-sm.jpeg|150px]] |[[File:Nc393-dev-sm.jpeg|150px]]  +|[[File:mnc393-x_sm.jpeg|150px]]  |[[File:Nc-393-printed-H-.jpeg|150px|link=http://www3.elphel.com/mnc393-custom]] |[[File:Nc-393-printed-H-.jpeg|150px|link=http://www3.elphel.com/mnc393-custom]]    Line 37: Line 39:  |1x |1x  |1-4x |1-4x  +|4x  |4x |4x    Line 44: Line 47:  * GigE * GigE  * &mu;SD slot * &mu;SD slot −* 4x sensor ports, reconfigurable for general multi-purpose use+* 4x reconfigurable ports  | $1255 | $1255  | + | +  +| +  | +   | +    | + | + Line 60: Line 64:  | - | -  | + | +  +| +     |- valign='top' |- valign='top' Line 68: Line 73:  | + | +  | + | +  +| +     |- |- Line 126: Line 132:  |- |-  | - | -  +|-  +| -  +|}  +  +| &nbsp;  +{|  +| -  +|-  +| 4x  +|-  +| 1x  +|-  +| -  +|-  +| 1x  |- |-  | - | - Line 161: Line 182:     - -  +| &nbsp;  +-  +  ++  | &nbsp; | &nbsp;  + + Line 210: Line 235:  |- |-  | 1-4x | 1-4x  +|-  +| -  +|}  +  +| &nbsp;  +{|  +| &nbsp;  +|-  +| 4x  |- |-  | - | - Line 226: Line 260:  |'''Camera calibration''' |'''Camera calibration'''  * XCAM * XCAM  +| &nbsp;  +$500  | &nbsp; | &nbsp;  - - Line 231: Line 267:  - -  | &nbsp; | &nbsp; −-++  | &nbsp; | &nbsp;  - - Line 239: Line 275:  |$2545 |$2545  |$1900-$3055 |$1900-$3055  +|$11990  |$3600 |$3600  |} |} Oleg

File:Mnc393-x sm.jpeg

Wed, 02/14/2018 - 11:59

Oleg uploaded File:Mnc393-x sm.jpeg

New page

== Licensing ==
{{CC }} Oleg

Price list

Wed, 02/14/2018 - 11:56

‎Cameras

← Older revision Revision as of 18:56, 14 February 2018 (4 intermediate revisions by the same user not shown)Line 73: Line 73:  {| {|  |Sensor Front End |Sensor Front End  +|-  +|Calibrated Sensor Front End  |- |-  |Enclosure (aluminum, all parts) |Enclosure (aluminum, all parts)  |- |-  |Enclosure (aluminum, dev) |Enclosure (aluminum, dev)  +|-  +|Enclosure (xcam)  |- |-  |SFE Adapters (3D printed) |SFE Adapters (3D printed) Line 84: Line 88:  {| {|  | $90 | $90  +|-  +| $1700  |- |-  | $355 | $355  |- |-  | $65 | $65  +|-  +| $950  |- |-  | $345 | $345 Line 95: Line 103:  {| {|  | 1x | 1x  +|-  +| -  |- |-  | 1x | 1x  +|-  +| -  |- |-  | - | - Line 106: Line 118:  {| {|  | 1-4x | 1-4x  +|-  +| -  |- |-  | - | -  |- |-  | 1x | 1x  +|-  +| -  |- |-  | - | - Line 117: Line 133:  {| {|  | 4x | 4x  +|-  +| -  |- |-  | 1x | 1x  +|-  +| -  |- |-  | - | - Line 127: Line 147:  |- |-  |'''M.2 SSD''' |'''M.2 SSD''' −* SanDisk SD8SMAT, 128GB+* Transcend MTS600, 256GB  +* Transcend MTS600, 512GB  | &nbsp; | &nbsp; −$95+$200  +   +$400  | &nbsp; | &nbsp;  +-  +  - -  | &nbsp; | &nbsp;  +-  +  - -  | &nbsp; | &nbsp;  + +     +-  |- |-  |'''Lenses''' |'''Lenses''' Line 194: Line 222:  | - | -  |} |}  +  +|-  +|'''Camera calibration'''  +* XCAM  +| &nbsp;  +-  +| &nbsp;  +-  +| &nbsp;  +-  +| &nbsp;  +-     |- style='border-top:solid 3px black;' |- style='border-top:solid 3px black;' Line 199: Line 239:  |$2545 |$2545  |$1900-$3055 |$1900-$3055 −|$3495+|$3600  |} |}    Oleg

10393

Mon, 02/12/2018 - 19:13

‎Supported Image Sensors

← Older revision Revision as of 02:13, 13 February 2018 (2 intermediate revisions by the same user not shown)Line 17: Line 17:  * [[10398]]:  [http://www.onsemi.com/PowerSolutions/product.do?id=MT9F002 MT9F002] -  14MPix 1/2.3" CMOS * [[10398]]:  [http://www.onsemi.com/PowerSolutions/product.do?id=MT9F002 MT9F002] -  14MPix 1/2.3" CMOS  * [[103981]]: [http://www.onsemi.com/PowerSolutions/product.do?id=AR1820HS AR1820HS] - 18MPix 1/2.3" CMOS BSI ('' not yet manufactured'') * [[103981]]: [http://www.onsemi.com/PowerSolutions/product.do?id=AR1820HS AR1820HS] - 18MPix 1/2.3" CMOS BSI ('' not yet manufactured'')  +* [[10359]]:  3:1 Sensor multiplexer with memory, connects 3 of [[10338D]] SFE on each port, 12 sensors total     ====Memory and Storage==== ====Memory and Storage==== Line 34: Line 35:  ** M.2 SATA port ** M.2 SATA port  ** External synchronization (master or slave): ** External synchronization (master or slave): −*** 2.5mm audio+*** 2.5mm audio connector/cable (4-conductor)  *** 4-conductor flex cable *** 4-conductor flex cable −** 2x 10-conductor flex cable ports+** 2x 10-conductor flex cable ports (USB, I²C, +5.0V, +3.3V, 2 × FPGA GPIO signals)  *** carry 3.3VDC, 5VDC, USB, I<sup>2</sup>C and GPIO *** carry 3.3VDC, 5VDC, USB, I<sup>2</sup>C and GPIO  *** supports other extension boards ([[103695|IMU]], [[103696|GPS]]) *** supports other extension boards ([[103695|IMU]], [[103696|GPS]]) Andrey.filippov

103981

Mon, 02/12/2018 - 19:09

← Older revision Revision as of 02:09, 13 February 2018 Line 7: Line 7:  10398 board is a 18MPix sensor front end (SFE) designed to work with [[10393]] camera system board. It has the same physical dimensions and the same optical format (1/2.3") as a 5MPix SFE [[10338D]] and 14 MPix [[10398]](15mm x 28mm). 10398 board is a 18MPix sensor front end (SFE) designed to work with [[10393]] camera system board. It has the same physical dimensions and the same optical format (1/2.3") as a 5MPix SFE [[10338D]] and 14 MPix [[10398]](15mm x 28mm).    −The 18MPix (4912×3684, 1.25μm x1.25 μm) BSI image sensor used is On Semiconductor (former Aptina) [http://www.onsemi.com/PowerSolutions/product.do?id=AR1820HS]. This sensor (and 103981 SFE) uses 4-lane HiSPi/MIPI serial interface running at 14 fps at full resolution (12bpp mode). 8-lane HiSPI mode is not supported. Other combinations of resolution/frame rate are possible.+The 18MPix (4912×3684, 1.25μm × 1.25 μm) BSI image sensor used is On Semiconductor (former Aptina) [http://www.onsemi.com/PowerSolutions/product.do?id=AR1820HS]. This sensor (and 103981 SFE) uses 4-lane HiSPi/MIPI serial interface running at 14 fps at full resolution (12bpp mode). 8-lane HiSPI mode is not supported. Other combinations of resolution/frame rate are possible.     Up to 4 103981 SFE can be directly connected to [[10393]] system board and run simultaneously at full speed (880M pixels/s combined). Up to 4 103981 SFE can be directly connected to [[10393]] system board and run simultaneously at full speed (880M pixels/s combined). Andrey.filippov

10393

Mon, 02/12/2018 - 19:03

‎Supported Image Sensors

← Older revision Revision as of 02:03, 13 February 2018 Line 14: Line 14:  ** 800MHz ** 800MHz  ====Supported Image Sensors==== ====Supported Image Sensors==== −* [http://www.onsemi.com/PowerSolutions/product.do?id=MT9P006 MT9P006] - 5MPix 1/2.5" CMOS, see [[Mt9p006_specs|fps-resolution table]]+* [[10338D]]: [http://www.onsemi.com/PowerSolutions/product.do?id=MT9P006 MT9P006] -   5MPix 1/2.5" CMOS, see [[Mt9p006_specs|fps-resolution table]] −* [http://www.onsemi.com/PowerSolutions/product.do?id=MT9F002 MT9F002] - 14MPix 1/2.3" CMOS+* [[10398]]:  [http://www.onsemi.com/PowerSolutions/product.do?id=MT9F002 MT9F002] -   14MPix 1/2.3" CMOS  +* [[103981]]: [http://www.onsemi.com/PowerSolutions/product.do?id=AR1820HS AR1820HS] - 18MPix 1/2.3" CMOS BSI ('' not yet manufactured'')     ====Memory and Storage==== ====Memory and Storage==== Andrey.filippov

103981

Mon, 02/12/2018 - 18:42

← Older revision Revision as of 01:42, 13 February 2018 (One intermediate revision by the same user not shown)Line 7: Line 7:  10398 board is a 18MPix sensor front end (SFE) designed to work with [[10393]] camera system board. It has the same physical dimensions and the same optical format (1/2.3") as a 5MPix SFE [[10338D]] and 14 MPix [[10398]](15mm x 28mm). 10398 board is a 18MPix sensor front end (SFE) designed to work with [[10393]] camera system board. It has the same physical dimensions and the same optical format (1/2.3") as a 5MPix SFE [[10338D]] and 14 MPix [[10398]](15mm x 28mm).    −The 18MPix (4912×3684, 1.25μm x1.25 μm) BSI image sensor used is On Semiconductor (former Aptina) [http://www.onsemi.com/PowerSolutions/product.do?id=AR1820HS]. This sensor (and 103981 SFE) uses 4-lane HiSPi/MIPI serial interface running at 14 fps at full resolution (12bpp mode). 8-lane HiSPI mode is not supported, mode Other combinations of resolution/frame rate are possible.+The 18MPix (4912×3684, 1.25μm x1.25 μm) BSI image sensor used is On Semiconductor (former Aptina) [http://www.onsemi.com/PowerSolutions/product.do?id=AR1820HS]. This sensor (and 103981 SFE) uses 4-lane HiSPi/MIPI serial interface running at 14 fps at full resolution (12bpp mode). 8-lane HiSPI mode is not supported. Other combinations of resolution/frame rate are possible.     Up to 4 103981 SFE can be directly connected to [[10393]] system board and run simultaneously at full speed (880M pixels/s combined). Up to 4 103981 SFE can be directly connected to [[10393]] system board and run simultaneously at full speed (880M pixels/s combined).    −103981 SFE uses the same 30-pin flex cable connector for control (I²C, extra GPIO), differential data output (4-lane HiSPi+clock) and 3.3V power (additional 2.8V analog and 1.8V digital are generated on board). Short connections can use general purpose flex jumpers (30 conductors, 0.5mm pitch) or Elphel flex cables manufactured for the parallel interface sensors, longer connections require controlled-impedance flex cables with 100Ω differential lines.+103981 SFE uses the same 30-pin flex cable connector for control (I²C, extra GPIO), differential data output (4-lane HiSPi+clock) and 3.3V power (additional 2.8V analog, 1.8V digital, and 1.2V digital are generated on board). Short connections can use general purpose flex jumpers (30 conductors, 0.5mm pitch) or Elphel flex cables manufactured for the parallel interface sensors, longer connections require controlled-impedance flex cables with 100Ω differential lines.     [[Media:103981_sch.pdf|103981 Circuit Diagram]] <br/> [[Media:103981_gerber.tar.gz|103981 Gerber files]] <br/>[[Media:103981_assy.tar.gz|103981 placement files]] [[Media:103981_sch.pdf|103981 Circuit Diagram]] <br/> [[Media:103981_gerber.tar.gz|103981 Gerber files]] <br/>[[Media:103981_assy.tar.gz|103981 placement files]] Andrey.filippov

103981

Mon, 02/12/2018 - 18:40

Created page with "==103981== ''This board is not manufactured yet, images will be updated'' thumb|374px|10398 board, top view (will be replaced with 103981) Image:103..."

New page

==103981==
''This board is not manufactured yet, images will be updated''

[[Image:10398_top.png|thumb|374px|10398 board, top view (will be replaced with 103981)]]
[[Image:10398_bottom.png|thumb|374px|10398 board, bottom view (will be replaced with 103981)]]

10398 board is a 18MPix sensor front end (SFE) designed to work with [[10393]] camera system board. It has the same physical dimensions and the same optical format (1/2.3") as a 5MPix SFE [[10338D]] and 14 MPix [[10398]](15mm x 28mm).

The 18MPix (4912×3684, 1.25μm x1.25 μm) BSI image sensor used is On Semiconductor (former Aptina) [http://www.onsemi.com/PowerSolutions/product.do?id=AR1820HS]. This sensor (and 103981 SFE) uses 4-lane HiSPi/MIPI serial interface running at 14 fps at full resolution (12bpp mode). 8-lane HiSPI mode is not supported, mode Other combinations of resolution/frame rate are possible.

Up to 4 103981 SFE can be directly connected to [[10393]] system board and run simultaneously at full speed (880M pixels/s combined).

103981 SFE uses the same 30-pin flex cable connector for control (I²C, extra GPIO), differential data output (4-lane HiSPi+clock) and 3.3V power (additional 2.8V analog and 1.8V digital are generated on board). Short connections can use general purpose flex jumpers (30 conductors, 0.5mm pitch) or Elphel flex cables manufactured for the parallel interface sensors, longer connections require controlled-impedance flex cables with 100Ω differential lines.

[[Media:103981_sch.pdf|103981 Circuit Diagram]] <br/> [[Media:103981_gerber.tar.gz|103981 Gerber files]] <br/>[[Media:103981_assy.tar.gz|103981 placement files]] Andrey.filippov

10398

Mon, 02/12/2018 - 18:34

← Older revision Revision as of 01:34, 13 February 2018 Line 5: Line 5:  10398 board is a 14MPix sensor front end (SFE) designed to work with [[10393]] camera system board. It has the same physical dimensions and the same optical format (1/2.3") as a 5MPix SFE [[10338D]] (15mm x 28mm). 10398 board is a 14MPix sensor front end (SFE) designed to work with [[10393]] camera system board. It has the same physical dimensions and the same optical format (1/2.3") as a 5MPix SFE [[10338D]] (15mm x 28mm).    −The 14MPix (4608H x 3288V, 1.4μm x1.4 μm) image sensor used is On Semiconductor (former Aptina) [http://www.onsemi.com/pub_link/Collateral/MT9F002-D.PDF MT9F002]. This sensor (and 10398 SFE) uses 4-lane HiSPi serial interface running at 700 Mpbs/lane and is capable of running at 13.7 fps at full resolution (12bpp mode), or 60fps at 2304x1296 (1080p + 20% EIS). Other combinations of resolution/frame rate are possible.+The 14MPix (4608H x 3288V, 1.4μm x1.4 μm) image sensor used is On Semiconductor (former Aptina) [http://www.onsemi.com/pub_link/Collateral/MT9F002-D.PDF MT9F002]. This sensor (and 10398 SFE) uses 4-lane HiSPi serial interface running at 700 Mbps/lane and is capable of running at 13.7 fps at full resolution (12bpp mode), or 60fps at 2304x1296 (1080p + 20% EIS). Other combinations of resolution/frame rate are possible.     Up to 4 10398 SFE can be directly connected to [[10393]] system board and run simultaneously at full speed (880M pixels/s combined). Up to 4 10398 SFE can be directly connected to [[10393]] system board and run simultaneously at full speed (880M pixels/s combined). Andrey.filippov

File:103981 assy.tar.gz

Mon, 02/12/2018 - 18:28

Andrey.filippov uploaded File:103981 assy.tar.gz

New page

== Licensing ==
{{CERN OHLv1.1 }} Andrey.filippov

File:103981 gerber.tar.gz

Mon, 02/12/2018 - 18:28

Andrey.filippov uploaded File:103981 gerber.tar.gz

New page

== Licensing ==
{{CERN OHLv1.1 }} Andrey.filippov

File:103981 sch.pdf

Mon, 02/12/2018 - 18:27

Andrey.filippov uploaded File:103981 sch.pdf

New page

== Licensing ==
{{CERN OHLv1.1 }} Andrey.filippov

JP4

Fri, 02/09/2018 - 18:00

‎Example file

← Older revision Revision as of 01:00, 10 February 2018 (2 intermediate revisions by the same user not shown)Line 84: Line 84:     ==<font color="blue">JP4</font>== ==<font color="blue">JP4</font>==  +===Example file===  + Download [https://community.elphel.com/pictures/test.jp4 sample]  {| {|  |[[File:Jp4 example rotated asjpeg.jpeg|200px|thumb|JP4 opened as JPEG, rotated 90&deg;]] |[[File:Jp4 example rotated asjpeg.jpeg|200px|thumb|JP4 opened as JPEG, rotated 90&deg;]] Line 89: Line 91:  |} |}  * If opened as a normal image the macro blocks will be displayed as 8x32. * If opened as a normal image the macro blocks will be displayed as 8x32.  +  ===Online=== ===Online===  * [https://community.elphel.com/jp4viewer/?width=800&quality=1 Online JP4 viewer] * [https://community.elphel.com/jp4viewer/?width=800&quality=1 Online JP4 viewer] Line 367: Line 370:     Example files: Example files: −* [http://community.elphel.com/files/jp4/example_JP4.jpeg Example JP4]+* [http://community.elphel.com/files/jp4/example_JP46.jpeg Example JP46]  * [http://community.elphel.com/files/jp4/example_flipped.dng Example DNG] * [http://community.elphel.com/files/jp4/example_flipped.dng Example DNG]  * [http://community.elphel.com/files/jp4/example_converted.jpg Example JPG (converted)] * [http://community.elphel.com/files/jp4/example_converted.jpg Example JPG (converted)] Oleg

JP4

Fri, 02/02/2018 - 12:10

‎python

← Older revision Revision as of 19:10, 2 February 2018 (6 intermediate revisions by the same user not shown)Line 108: Line 108:     ====python==== ====python==== −* very slow+* 0.5s for 2592x1936 GRBG image  +<font size='1'>    import numpy as np   import numpy as np    from PIL import Image   from PIL import Image    import scipy.misc   import scipy.misc −  ...+    −  # in JP4 format the 16x16 block is 8x32 (GRBG)+ # first open image in grayscale −  # the 1st line of 8x32 blocks is the left half of the image+ I = scipy.misc.imread(filename, flatten=False, mode='L') −  # the 2nd line of 8x32 blocks is the right half+ −      + H,W = I.shape −  # vertical step = 16px+ −  for y in range(0,self.h,16):+  # 16x16 block −   for x in range(0,self.w,16):+ block  = np.zeros((16,16)) −                  +  # 16xW −     bx = x if x<self.w/2 else x-self.w/2+ stripe = np.zeros((16,W)) −     by = y if x<self.w/2 else y+8+ −                  + I = np.reshape(I,(H/16,16,W)) −    block8x8_gr = self.px[by:by+8,2*bx+0 :2*bx+ 8]+ −    block8x8_r  = self.px[by:by+8,2*bx+8 :2*bx+16]+  # print(I.shape) −    block8x8_b  = self.px[by:by+8,2*bx+16:2*bx+24]+ # (1936, 2592) -> (121, 16, 2592) −    block8x8_gb = self.px[by:by+8,2*bx+24:2*bx+32]+    −                +  for i in range(I.shape[0]): −    for dy in range(8):+  # stripe 16xW −      for dx in range(8):+  stripe = np.copy(I[i]) −        #OpenCV uses BGR format+   for j in range(0,W,16): −        output[y+2*dy+0,x+2*dx+0]=[0,block8x8_gr[dy,dx][0],0]+     if j<W/2: −        output[y+2*dy+0,x+2*dx+1]=[0,0,block8x8_r[dy,dx][0]]+      k = 0 −        output[y+2*dy+1,x+2*dx+0]=[block8x8_b[dy,dx][0],0,0]+      l = 2*j −        output[y+2*dy+1,x+2*dx+1]=[0,block8x8_gb[dy,dx][0],0]+     else: −  ...+      k = 8  +      l = 2*(j-W/2)  +  +      # gr r b gb  +      block[0::2,0::2] = stripe[k:k+8,l+ 0:l+ 0+8]  +      block[0::2,1::2] = stripe[k:k+8,l+ 8:l+ 8+8]  +      block[1::2,0::2] = stripe[k:k+8,l+16:l+16+8]  +      block[1::2,1::2] = stripe[k:k+8,l+24:l+24+8]  +  +      I[i,0:16,j:j+16] = block  +  + I = np.reshape(I,(H,W))  + # pixels ordered as in bayer pattern, this needs demosaicing  +  cv2.imwrite("result.png",I)  +</font>     ==<font color="blue">JP46</font>== ==<font color="blue">JP46</font>== Oleg

103891

Wed, 01/31/2018 - 10:51

← Older revision Revision as of 17:51, 31 January 2018 (One intermediate revision by the same user not shown)Line 14: Line 14:  * J2 connector: [http://www.digikey.com/product-detail/en/cui-inc/SJ1-42534-SMT-TR/CP1-42534SJTR-ND/659908 SJ1-42534-SMT-TR] ([http://www.cui.com/product/resource/sj1-4253x-smt-series.pdf datasheet]) * J2 connector: [http://www.digikey.com/product-detail/en/cui-inc/SJ1-42534-SMT-TR/CP1-42534SJTR-ND/659908 SJ1-42534-SMT-TR] ([http://www.cui.com/product/resource/sj1-4253x-smt-series.pdf datasheet])  * Sync cable example: [http://www.digikey.com/product-detail/en/tensility-international-corp/10-00331/839-1029-ND/2350237 839-1029-ND] * Sync cable example: [http://www.digikey.com/product-detail/en/tensility-international-corp/10-00331/839-1029-ND/2350237 839-1029-ND]  +  +Connector provides high-current (up to 0.5A) dc-coupled 5V output and optoisolated I/O. When optoisolated pair is used used as an input (common use), external signal is applied between XSYNC1 (+) and XSYNC2(-). When the pair is used as an output (less common), external 5V power source should be connected in series with the receiver and 103891, so that "+" will be applied to XSYNC2, and "-" - to XSYNC1 (opposite to the input mode). Details are available in the circuit diagram of the [[10389]] board.  +  +Output synchronization can be just a pulse or carry additional timestamp data when used to synchronize multiple NC393 cameras. See [[Trigger_393]] for the settings.  {| class='wikitable' {| class='wikitable'  +|+Connector pinout  +|Name  +|Pin  +|Cable wire color  +|Description  +|-  |XSYNC1 |XSYNC1 −|pin 1+|1  |black |black  +|optoisolated, "+" input with respect to XSYNC2  |- |-  |SYNC_DRV |SYNC_DRV −|pin 2+|2  |red |red  +|Sync output (DC-coupled), +5V pulses with respect to GND  |- |-  |GND |GND −|pin 3+|3  |white |white  +|Output reference, connected to the camera system ground  |- |-  |XSYNC2 |XSYNC2 −|pin 4+|4  |green |green  +|optoisolated, "-" input with respect to XSYNC1  |} |}  * [[Trigger_393#Internal_periodic_trigger_.284_fps.2C_from_fpga_generator.29_.2B_output_the_signal_to_external_port|How to output trigger signal to external port]] * [[Trigger_393#Internal_periodic_trigger_.284_fps.2C_from_fpga_generator.29_.2B_output_the_signal_to_external_port|How to output trigger signal to external port]]  * [[Media:103891a.pdf|103891 Rev "A" Circuit Diagram, Parts List, PCB layout]] * [[Media:103891a.pdf|103891 Rev "A" Circuit Diagram, Parts List, PCB layout]]  * [[Media:103891a gerber.tar.gz|103891 Rev "A" Gerber files]] * [[Media:103891a gerber.tar.gz|103891 Rev "A" Gerber files]] Andrey.filippov

103891

Wed, 01/31/2018 - 10:30

← Older revision Revision as of 17:30, 31 January 2018 Line 14: Line 14:  * J2 connector: [http://www.digikey.com/product-detail/en/cui-inc/SJ1-42534-SMT-TR/CP1-42534SJTR-ND/659908 SJ1-42534-SMT-TR] ([http://www.cui.com/product/resource/sj1-4253x-smt-series.pdf datasheet]) * J2 connector: [http://www.digikey.com/product-detail/en/cui-inc/SJ1-42534-SMT-TR/CP1-42534SJTR-ND/659908 SJ1-42534-SMT-TR] ([http://www.cui.com/product/resource/sj1-4253x-smt-series.pdf datasheet])  * Sync cable example: [http://www.digikey.com/product-detail/en/tensility-international-corp/10-00331/839-1029-ND/2350237 839-1029-ND] * Sync cable example: [http://www.digikey.com/product-detail/en/tensility-international-corp/10-00331/839-1029-ND/2350237 839-1029-ND]  +  {| class='wikitable' {| class='wikitable'  +|+Connector pinout  +|Name  +|Pin  +|Cable wire color  +|Description  +|-  |XSYNC1 |XSYNC1  |pin 1 |pin 1  |black |black  +|optoisolated, "+" input with respect to XSYNC2  |- |-  |SYNC_DRV |SYNC_DRV  |pin 2 |pin 2  |red |red  +|Sync output (DC-coupled), +5V pulses with respect to GND  |- |-  |GND |GND  |pin 3 |pin 3  |white |white  +|Output reference, connected to the camera system ground  |- |-  |XSYNC2 |XSYNC2  |pin 4 |pin 4  |green |green  +|optoisolated, "-" input with respect to XSYNC1  |} |}  * [[Trigger_393#Internal_periodic_trigger_.284_fps.2C_from_fpga_generator.29_.2B_output_the_signal_to_external_port|How to output trigger signal to external port]] * [[Trigger_393#Internal_periodic_trigger_.284_fps.2C_from_fpga_generator.29_.2B_output_the_signal_to_external_port|How to output trigger signal to external port]]  * [[Media:103891a.pdf|103891 Rev "A" Circuit Diagram, Parts List, PCB layout]] * [[Media:103891a.pdf|103891 Rev "A" Circuit Diagram, Parts List, PCB layout]]  * [[Media:103891a gerber.tar.gz|103891 Rev "A" Gerber files]] * [[Media:103891a gerber.tar.gz|103891 Rev "A" Gerber files]] Andrey.filippov

Tmp manual

Tue, 01/30/2018 - 16:30

‎Changelog

← Older revision Revision as of 23:30, 30 January 2018 (3 intermediate revisions by the same user not shown)Line 284: Line 284:  * [https://community.elphel.com/files/393/20180118/ 20180118] * [https://community.elphel.com/files/393/20180118/ 20180118]  * [https://community.elphel.com/files/393/20180116/ 20180116] * [https://community.elphel.com/files/393/20180116/ 20180116]  +===Changelog===  + <font size='1'>==20180130==  + * added photo finish demo  + * fixed fps limit calcs for triggered mode  + ==20180118==  + * raw.py & raw.php, see wiki.elphel.com  + * added python3 and python3-opencv  + ==20180116==  + * raw pixel data downloading through membridge  + * added gcc,make  + ==20180109==  + * fixed autoexposure  + ==20171228==  + * + strace, ltrace, dmsetup  + * added to drivers: register devs to sysfs - nodes then created by udev  + ==20171226==  + * kernel updated to 4.9 (from 4.0)  + * lots of drivers is updated to newer versions  + * +dm-crypt and cryptsetup  + ==20171120==  + * bugfix - incorrect displaying of TRIG_PERIOD at init  + ==20171115==  + * Fixed autocampars to let 10393 work with the mux board - 10359, see wiki.elphel.com for  +  docs  + ==20170823==  + * Fixed autocampars for multiple sensors getting desynced at init  + * Fixed Garmin GPS 18x USB driver  + ==20170802==  + * fixed a page for taking snapshots - works in chrome and firefox for bigger images (>2MB)  + * enabled "Access-Control-Expose-Headers: Content-Disposition" and CORS  + ==20170627==  + * viewing decoded jp4 format in camvc  + ==20170623==  + * fixed incorrect default setting of the master channel  +</font>     ==<font color="blue">Other info</font>== ==<font color="blue">Other info</font>== Oleg

Pages