10393 power
Powering from batteries
← Older revision Revision as of 21:11, 12 January 2018 (One intermediate revision by the same user not shown)Line 27: Line 27: |valign='top'|[[File:10393 power33 3.jpeg|thumb|320px|Fig.5 Power supply]] |valign='top'|[[File:10393 power33 3.jpeg|thumb|320px|Fig.5 Power supply]] |} |} + +==Powering from batteries== +===12V setup=== +Power from any battery output voltage ranging 12-36V. + +===48V setup=== +Power from any battery output voltage ranging 18-75V. + +===Example setup and cables for 48V=== +* ANTY BATTERY 48V 4A(ANTY or BOOANT, can be found on aliexpress). +* Power cable with an inline fuse and a switch. Is used to power the camera +* Cable with a 48-to-12v converter ([https://www.digikey.com/product-detail/en/cui-inc/PYB20-Q48-S12-DIN/102-3224-ND/4477482 CUI INC PYB15-Q48-S12]). It was used to power an extra network switch which might not be needed. +* The camera was connected to a laptop running on its own battery. + + + [[Category:393]] [[Category:393]] Oleg10393 power
Tmp manual
In the package
← Older revision Revision as of 20:31, 12 January 2018 Line 10: Line 10: |[[File:NC393-CS marked ports.jpeg|thumb|200px|Fig.1 10393 interfaces]] |[[File:NC393-CS marked ports.jpeg|thumb|200px|Fig.1 10393 interfaces]] |} |} −* Power supply wall adapter (default: 18-75V, [[10393_power|more information]])+* Power supply wall adapter (default: 18-75V, [[10393_power|more information]] on power supply options) * CAT6 network cable * CAT6 network cable * μUSB-to-USB cable * μUSB-to-USB cable OlegWorking with raw image data
Processing
← Older revision Revision as of 19:36, 12 January 2018 (14 intermediate revisions by the same user not shown)Line 1: Line 1: −==Downloading==+==<font color='darkblue'>Downloading</font>== * Available options (channels can be 0..3): * Available options (channels can be 0..3): − # set receiving buffer size in 4kB pages (thus 4096 equals to 16MB)+ <font size='2em'># set receiving buffer size in 4kB pages (thus 4096 equals to 16MB) − echo {size} > /sys/devices/soc0/elphel393-mem\@0/buffer_pages_raw_chn2+ '''echo {size} > /sys/devices/soc0/elphel393-mem\@0/buffer_pages_raw_chn2''' # start from the N-th frame position in buffer. Currently, 0 or 1 # start from the N-th frame position in buffer. Currently, 0 or 1 − echo 1 > /sys/devices/soc0/elphel393-videomem\@0/video_frame_number+ '''echo 1 > /sys/devices/soc0/elphel393-videomem\@0/video_frame_number''' # initiate transfer, wait for X-th frame (X - absolute frame number), 0 = no waiting # initiate transfer, wait for X-th frame (X - absolute frame number), 0 = no waiting − echo X > /sys/devices/soc0/elphel393-videomem\@0/membridge_start2+ '''echo X > /sys/devices/soc0/elphel393-videomem\@0/membridge_start2''' − # copy to file # copy to file − cat /dev/image_raw2 > /tmp/test.raw+ '''cat /dev/image_raw2 > /tmp/test.raw''' # see in hex # see in hex − hexdump /tmp/test.raw+ '''hexdump /tmp/test.raw''' + # copy to PC + '''scp /tmp/test.raw user@address:/path/'''</font> + +* Minimal: + + <font size='2em'>'''echo 4096 > /sys/devices/soc0/elphel393-mem\@0/buffer_pages_raw_chn2''' + '''echo 0 > /sys/devices/soc0/elphel393-videomem\@0/membridge_start2''' + '''cat /dev/image_raw2 > /tmp/test.raw'''</font> + + + +==<font color='darkblue'>Displaying</font>== +===ImageMagick=== +* Camera settings: 2592x1936 JPEG, actual valid pixels - 2596x1940, pixels read - 2608x1940: + <font size='2em'>convert -size 2608x1940 -depth 8 -endian MSB -normalize gray:test.raw -compress lzw result.tiff</font> +* Camera settings: 2592x1936 JP4, actual pixels available: 2592x1936 + <font size='2em'>convert -size 2592x1936 -depth 8 -endian MSB -normalize gray:test.raw -compress lzw result.tiff</font> + +The result is a grayscale tiff + +===bayer2rgb program=== +* Available [https://github.com/jdthomas/bayer2rgb here]. +* Camera settings: 2592x1936 JPEG: + <font size='2em'>bayer2rgb -w 2608 -v 1940 -b 8 -f GRBG -m AHD -t -i test.raw -o test.tiff</font> +The result is a colored tiff image. Pixel values are linear. + +===Python=== +* Camera settings: 2592x1936 JPEG: + <font size='2em'>''#!/usr/bin/python3'' + from PIL import Image + rawData = open("test.raw", 'rb').read() + imgSize = (2608,1940)# the image size + img = Image.frombytes('L', imgSize, rawData) + img.save("result.jpeg")# can give any format you like .png</font> − # copy to PC+The result will be a grayscale image. − scp /tmp/test.raw user@address:/path/ −* Minimal: − echo 4096 > /sys/devices/soc0/elphel393-mem\@0/buffer_pages_raw_chn2+==<font color='darkblue'>Processing</font>== − echo 0 > /sys/devices/soc0/elphel393-videomem\@0/membridge_start2+ Open the file and process as pixel array RGGB, GRBG, GBRG or BGGR - 8 or 16 bits − cat /dev/image_raw2 > /tmp/test.raw −==Previewing==+[[Category:393]] +[[Category:raw image data]] +[[Category:bayer pixel array]] OlegWorking with raw image data
Previewing
← Older revision Revision as of 18:53, 12 January 2018 (One intermediate revision by the same user not shown)Line 1: Line 1: ==Downloading== ==Downloading== * Available options (channels can be 0..3): * Available options (channels can be 0..3): − # set receiving buffer size in 4kB pages (thus 4096 equals to 16MB)+ <font size='2em'># set receiving buffer size in 4kB pages (thus 4096 equals to 16MB) − echo {size} > /sys/devices/soc0/elphel393-mem\@0/buffer_pages_raw_chn2+ '''echo {size} > /sys/devices/soc0/elphel393-mem\@0/buffer_pages_raw_chn2''' # start from the N-th frame position in buffer. Currently, 0 or 1 # start from the N-th frame position in buffer. Currently, 0 or 1 − echo 1 > /sys/devices/soc0/elphel393-videomem\@0/video_frame_number+ '''echo 1 > /sys/devices/soc0/elphel393-videomem\@0/video_frame_number''' # initiate transfer, wait for X-th frame (X - absolute frame number), 0 = no waiting # initiate transfer, wait for X-th frame (X - absolute frame number), 0 = no waiting − echo X > /sys/devices/soc0/elphel393-videomem\@0/membridge_start2+ '''echo X > /sys/devices/soc0/elphel393-videomem\@0/membridge_start2''' − # copy to file # copy to file − cat /dev/image_raw2 > /tmp/test.raw+ '''cat /dev/image_raw2 > /tmp/test.raw''' # see in hex # see in hex − hexdump /tmp/test.raw+ '''hexdump /tmp/test.raw''' − # copy to PC # copy to PC − scp /tmp/test.raw user@address:/path/+ '''scp /tmp/test.raw user@address:/path/'''</font> − * Minimal: * Minimal: − echo 4096 > /sys/devices/soc0/elphel393-mem\@0/buffer_pages_raw_chn2+ <font size='2em'>'''echo 4096 > /sys/devices/soc0/elphel393-mem\@0/buffer_pages_raw_chn2''' − echo 0 > /sys/devices/soc0/elphel393-videomem\@0/membridge_start2+ '''echo 0 > /sys/devices/soc0/elphel393-videomem\@0/membridge_start2''' − cat /dev/image_raw2 > /tmp/test.raw+ '''cat /dev/image_raw2 > /tmp/test.raw'''</font> −==Previewing==+==Displaying== OlegWorking with raw image data
Created page with "==Downloading== * Available options (channels can be 0..3): # set receiving buffer size in 4kB pages (thus 4096 equals to 16MB) echo {size} > /sys/devices/soc0/elphel393-mem..."
New page
==Downloading==* Available options (channels can be 0..3):
# set receiving buffer size in 4kB pages (thus 4096 equals to 16MB)
echo {size} > /sys/devices/soc0/elphel393-mem\@0/buffer_pages_raw_chn2
# start from the N-th frame position in buffer. Currently, 0 or 1
echo 1 > /sys/devices/soc0/elphel393-videomem\@0/video_frame_number
# initiate transfer, wait for X-th frame (X - absolute frame number), 0 = no waiting
echo X > /sys/devices/soc0/elphel393-videomem\@0/membridge_start2
# copy to file
cat /dev/image_raw2 > /tmp/test.raw
# see in hex
hexdump /tmp/test.raw
# copy to PC
scp /tmp/test.raw user@address:/path/
* Minimal:
echo 4096 > /sys/devices/soc0/elphel393-mem\@0/buffer_pages_raw_chn2
echo 0 > /sys/devices/soc0/elphel393-videomem\@0/membridge_start2
cat /dev/image_raw2 > /tmp/test.raw
==Previewing== Oleg
Features
Redirected page to Features 393
← Older revision Revision as of 03:42, 12 January 2018 Line 1: Line 1: −#REDIRECT [[Features 353]]+#REDIRECT [[Features 393]] +Legacy Features pages for legacy 353 cameras is renamed to [[Features 353]] Andrey.filippovFeatures
Andrey.filippov moved page Features to Features 353
Andrey.filippov353
Redirected page to 10393
← Older revision Revision as of 02:45, 12 January 2018 (One intermediate revision by the same user not shown)Line 1: Line 1: #REDIRECT [[10393]] #REDIRECT [[10393]] +Legacy 353 page is renamed to [[353_legacy]] Andrey.filippov353
Redirected page to 10393
← Older revision Revision as of 02:45, 12 January 2018 (2 intermediate revisions by the same user not shown)Line 1: Line 1: −#REDIRECT [[353 legacy]]+#REDIRECT [[10393]] +Legacy 353 page is renamed to [[353_legacy]] Andrey.filippov353
Redirected page to 10393
← Older revision Revision as of 02:23, 12 January 2018 Line 1: Line 1: −#REDIRECT [[353 legacy]]+#REDIRECT [[10393]] Andrey.filippovTalk:353
Andrey.filippov moved page Talk:353 to Talk:353 legacy Google only shows old products
Andrey.filippov353 legacy
Andrey.filippov moved protection settings from 353 to 353 legacy 353 moved to 353 legacy: Google only shows old products
Andrey.filippov353
Andrey.filippov moved page 353 to 353 legacy Google only shows old products
Andrey.filippov353
353
353
Specs
← Older revision Revision as of 02:15, 11 January 2018 Line 27: Line 27: [[Image:Prototype363_detail.jpeg|frame|[[Media:Prototype363.jpeg|Detail of one of the first images acquired with Elphel Model 363 camera (click here for the full image)]]]] [[Image:Prototype363_detail.jpeg|frame|[[Media:Prototype363.jpeg|Detail of one of the first images acquired with Elphel Model 363 camera (click here for the full image)]]]] −There is a new series of Elphel cameras that continue the line of 303, 313/323 and 333 - it is 353/363 now.+Goolge loves obsolete products: There is a new series of Elphel cameras that continue the line of 303, 313/323 and 333 - it is 353/363 now. * Elphel Model 353 cameras are designed for video applications, use small format (usually - 1/2") high-resolution CMOS sensors and C/CS mount lenses * Elphel Model 353 cameras are designed for video applications, use small format (usually - 1/2") high-resolution CMOS sensors and C/CS mount lenses * Model 363 use large format CCD imagers, have higher resolution and lower frame rate - they acquire and send individual images. These cameras use 35 mm (or larger) format lenses. * Model 363 use large format CCD imagers, have higher resolution and lower frame rate - they acquire and send individual images. These cameras use 35 mm (or larger) format lenses. Andrey.filippov