Imaging solutions with Free Software & Open Hardware

Who's online

There are currently 0 users online.

07/19/18 [imagej-elphel][dct] by AndreyFilippov: improved list of infinities

Elphel GIT logs - Thu, 07/19/2018 - 23:31
AndreyFilippov committed changes to the Elphel git project :
improved list of infinities

07/19/18 [imagej-elphel][dct] by Andrey Filippov: typos

Elphel GIT logs - Thu, 07/19/2018 - 18:55
Andrey Filippov committed changes to the Elphel git project :
typos

07/19/18 [imagej-elphel][dct] by Andrey Filippov: Minor fixes

Elphel GIT logs - Thu, 07/19/2018 - 18:13
Andrey Filippov committed changes to the Elphel git project :
Minor fixes

07/19/18 [imagej-elphel][gpu] by Andrey Filippov: fixed symlinks following for extrisics stats

Elphel GIT logs - Thu, 07/19/2018 - 16:50
Andrey Filippov committed changes to the Elphel git project :
fixed symlinks following for extrisics stats

07/19/18 [imagej-elphel][gpu] by AndreyFilippov: Handling no-zoom in alignment stats

Elphel GIT logs - Thu, 07/19/2018 - 15:04
AndreyFilippov committed changes to the Elphel git project :
Handling no-zoom in alignment stats

07/19/18 [imagej-elphel][dct] by AndreyFilippov: Added alignment statistics

Elphel GIT logs - Thu, 07/19/2018 - 14:58
AndreyFilippov committed changes to the Elphel git project :
Added alignment statistics

Tiff file format for pre-processed quad-stereo sets

Wiki Recent Changes - Wed, 07/18/2018 - 19:00

‎Python

← Older revision Revision as of 01:00, 19 July 2018 (One intermediate revision by the same user not shown)Line 44: Line 44:  * *.kml, rating.txt, thumb.jpeg - files, related to the online viewer only * *.kml, rating.txt, thumb.jpeg - files, related to the online viewer only    −==<font color='ForestGreen'>TIFF stacks for ML</font>==+==<font color='ForestGreen'>TIFF image stacks for ML</font>==  [[File:Ml tiff stack imagej.jpeg|thumb|400px|Fig.1 Opened in ImageJ, one of the layers]] [[File:Ml tiff stack imagej.jpeg|thumb|400px|Fig.1 Opened in ImageJ, one of the layers]]  [[File:Tiff layers.jpeg|thumb|400px|Fig.2 TIFF imagestack layers]] [[File:Tiff layers.jpeg|thumb|400px|Fig.2 TIFF imagestack layers]] Line 119: Line 119:    values data: (242, 324, 3)</font>   values data: (242, 324, 3)</font>    −[[File:Ml tiff stack python tile packing.jpeg|thumb|400px|Fig.4 Single layer packing (actually, see the CVPR2018 presentation, p.23)]]+[[File:Ml tiff stack python tile packing.jpeg|thumb|400px|Fig.5 Single layer packing (actually, see the CVPR2018 presentation, p.23)]]  '''2.''' Use '''pack_tile.py''' from [https://git.elphel.com/Elphel/python3-imagej-tiff python3-imagej-tiff] to: '''2.''' Use '''pack_tile.py''' from [https://git.elphel.com/Elphel/python3-imagej-tiff python3-imagej-tiff] to:  * <font color='DarkGreen'>'''Pack image tiles for better structuring for ML'''</font> * <font color='DarkGreen'>'''Pack image tiles for better structuring for ML'''</font> Oleg

Tiff file format for pre-processed quad-stereo sets

Wiki Recent Changes - Wed, 07/18/2018 - 19:00

‎Python

← Older revision Revision as of 01:00, 19 July 2018 (8 intermediate revisions by the same user not shown)Line 44: Line 44:  * *.kml, rating.txt, thumb.jpeg - files, related to the online viewer only * *.kml, rating.txt, thumb.jpeg - files, related to the online viewer only    −==<font color='ForestGreen'>TIFF stacks for ML</font>==+==<font color='ForestGreen'>TIFF image stacks for ML</font>==  [[File:Ml tiff stack imagej.jpeg|thumb|400px|Fig.1 Opened in ImageJ, one of the layers]] [[File:Ml tiff stack imagej.jpeg|thumb|400px|Fig.1 Opened in ImageJ, one of the layers]] −[[File:Ml tiff stack python values.jpeg|thumb|400px|Fig.2 Decoded 'value'-layers]]+[[File:Tiff layers.jpeg|thumb|400px|Fig.2 TIFF imagestack layers]] −[[File:Ml tiff stack python data layers.jpeg|thumb|500px|Fig.3 Data layers]]+[[File:Ml tiff stack python values.jpeg|thumb|400px|Fig.3 Decoded 'value'-layers]] −* What's in each stack is described in the [https://community.elphel.com/files/presentations/Elphel_TP-CNN_slides.pdf presentation for CVPR2018, pp.19-21]:+[[File:Ml tiff stack python data layers.jpeg|thumb|500px|Fig.4 Data layers]]  +* The TIFF stack format is described in the [https://community.elphel.com/files/presentations/Elphel_TP-CNN_slides.pdf presentation for CVPR2018, pp.19-21]:  +** 8 bpp  +** layer dimensions 2916x2178  ** 5 layers in the stack: ['''diagm-pair''', '''diago-pair''', '''hor-pairs''', '''vert-pairs''', '''other'''] ** 5 layers in the stack: ['''diagm-pair''', '''diago-pair''', '''hor-pairs''', '''vert-pairs''', '''other''']  *** '''diagm-pair''' *** '''diagm-pair''' Line 55: Line 58:  *** '''vert-pairs''' *** '''vert-pairs'''  *** '''other''' - encoded values: estimated disparity, estimated+residual disparity, and confidence for the residual disparity *** '''other''' - encoded values: estimated disparity, estimated+residual disparity, and confidence for the residual disparity −* Essentially it’s a normal TIFF image stack with several headers modified:+** The layers are tiled - tiles' wxh is read from the header - currently it's 9x9, making it 324x242 tiles total. −** ImageDescription (tag[270]) contains a string with info about number of images, slices+** The values in the '''other''' layer are encoded per tile. −** tag[50838] – a list of layers names’ lengths+** Essentially it’s a normal TIFF image stack with several headers modified: −** tag[50839] – binary string with encoded layers labels and extra info+*** ImageDescription (tag[270]) contains a string with info about number of images, slices  +*** tag[50838] – a list of layers names’ lengths  +*** tag[50839] – binary string with encoded layers labels and extra info  * The source files are processed using a plugin for ImageJ, the output file for each set is a tiff stack * The source files are processed using a plugin for ImageJ, the output file for each set is a tiff stack  * There are a few ways to view the stack: * There are a few ways to view the stack: Line 110: Line 115:     Upon opening tiff the image will be a numpy array of shape '''(height,width,layer)''' - for further processing it is reshaped to '''(height_in_tiles, width_in_tiles, tile_height, tile_width, layer)''', example: Upon opening tiff the image will be a numpy array of shape '''(height,width,layer)''' - for further processing it is reshaped to '''(height_in_tiles, width_in_tiles, tile_height, tile_width, layer)''', example: −  <font size='2'>tiff stack shape: (2178, 2916, 5)+  <font size='2'>original tiff stack shape: (2178, 2916, 5)    image data:  (242, 324, 9, 9, 4)   image data:  (242, 324, 9, 9, 4)    values data: (242, 324, 3)</font>   values data: (242, 324, 3)</font>    −[[File:Ml tiff stack python tile packing.jpeg|thumb|400px|Fig.4 Single layer packing (actually, see the CVPR2018 presentation, p.23)]]+[[File:Ml tiff stack python tile packing.jpeg|thumb|400px|Fig.5 Single layer packing (actually, see the CVPR2018 presentation, p.23)]]  '''2.''' Use '''pack_tile.py''' from [https://git.elphel.com/Elphel/python3-imagej-tiff python3-imagej-tiff] to: '''2.''' Use '''pack_tile.py''' from [https://git.elphel.com/Elphel/python3-imagej-tiff python3-imagej-tiff] to:  * <font color='DarkGreen'>'''Pack image tiles for better structuring for ML'''</font> * <font color='DarkGreen'>'''Pack image tiles for better structuring for ML'''</font> Oleg

07/18/18 [python3-imagej-tiff][master] by Oleg Dzhimiev: Merge branch 'master' of git.elphel.com:Elphel/python3-imagej-tiff

Elphel GIT logs - Wed, 07/18/2018 - 18:50
Oleg Dzhimiev committed changes to the Elphel git project :
Merge branch 'master' of git.elphel.com:Elphel/python3-imagej-tiff

07/18/18 [python3-imagej-tiff][master] by Oleg Dzhimiev: testing

Elphel GIT logs - Wed, 07/18/2018 - 18:50
Oleg Dzhimiev committed changes to the Elphel git project :
testing

07/18/18 [python3-imagej-tiff][master] by Oleg K Dzhimiev: Update README.md

Elphel GIT logs - Wed, 07/18/2018 - 18:49
Oleg K Dzhimiev committed changes to the Elphel git project :
Update README.md

07/18/18 [x3domlet][master] by Oleg Dzhimiev: +master_kml.xml support for index page

Elphel GIT logs - Wed, 07/18/2018 - 18:29
Oleg Dzhimiev committed changes to the Elphel git project :
+master_kml.xml support for index page

Tiff file format for pre-processed quad-stereo sets

Wiki Recent Changes - Wed, 07/18/2018 - 17:34

‎Python

← Older revision Revision as of 23:34, 18 July 2018 (6 intermediate revisions by the same user not shown)Line 46: Line 46:  ==<font color='ForestGreen'>TIFF stacks for ML</font>== ==<font color='ForestGreen'>TIFF stacks for ML</font>==  [[File:Ml tiff stack imagej.jpeg|thumb|400px|Fig.1 Opened in ImageJ, one of the layers]] [[File:Ml tiff stack imagej.jpeg|thumb|400px|Fig.1 Opened in ImageJ, one of the layers]] −[[File:Ml tiff stack python values.jpeg|thumb|400px|Fig.2 Decoded 'value'-layers]]+[[File:Tiff layers.jpeg|thumb|400px|Fig.2 TIFF imagestack layers]] −[[File:Ml tiff stack python data layers.jpeg|thumb|500px|Fig.3 Data layers]]+[[File:Ml tiff stack python values.jpeg|thumb|400px|Fig.3 Decoded 'value'-layers]] −* What's in each stack is described in the [https://community.elphel.com/files/presentations/Elphel_TP-CNN_slides.pdf presentation for CVPR2018, pp.19-21]:+[[File:Ml tiff stack python data layers.jpeg|thumb|500px|Fig.4 Data layers]]  +* The TIFF stack format is described in the [https://community.elphel.com/files/presentations/Elphel_TP-CNN_slides.pdf presentation for CVPR2018, pp.19-21]:  +** 8 bpp  +** layer dimensions 2916x2178  ** 5 layers in the stack: ['''diagm-pair''', '''diago-pair''', '''hor-pairs''', '''vert-pairs''', '''other'''] ** 5 layers in the stack: ['''diagm-pair''', '''diago-pair''', '''hor-pairs''', '''vert-pairs''', '''other''']  *** '''diagm-pair''' *** '''diagm-pair''' Line 55: Line 58:  *** '''vert-pairs''' *** '''vert-pairs'''  *** '''other''' - encoded values: estimated disparity, estimated+residual disparity, and confidence for the residual disparity *** '''other''' - encoded values: estimated disparity, estimated+residual disparity, and confidence for the residual disparity −* Essentially it’s a normal TIFF image stack with several headers modified:+** The layers are tiled - tiles' wxh is read from the header - currently it's 9x9, making it 324x242 tiles total. −** ImageDescription (tag[270]) contains a string with info about number of images, slices+** The values in the '''other''' layer are encoded per tile. −** tag[50838] – a list of layers names’ lengths+** Essentially it’s a normal TIFF image stack with several headers modified: −** tag[50839] – binary string with encoded layers labels and extra info+*** ImageDescription (tag[270]) contains a string with info about number of images, slices  +*** tag[50838] – a list of layers names’ lengths  +*** tag[50839] – binary string with encoded layers labels and extra info  * The source files are processed using a plugin for ImageJ, the output file for each set is a tiff stack * The source files are processed using a plugin for ImageJ, the output file for each set is a tiff stack  * There are a few ways to view the stack: * There are a few ways to view the stack: Line 110: Line 115:     Upon opening tiff the image will be a numpy array of shape '''(height,width,layer)''' - for further processing it is reshaped to '''(height_in_tiles, width_in_tiles, tile_height, tile_width, layer)''', example: Upon opening tiff the image will be a numpy array of shape '''(height,width,layer)''' - for further processing it is reshaped to '''(height_in_tiles, width_in_tiles, tile_height, tile_width, layer)''', example: −  <font size='2'>tiff stack shape: (2178, 2916, 5)+  <font size='2'>original tiff stack shape: (2178, 2916, 5)    image data:  (242, 324, 9, 9, 4)   image data:  (242, 324, 9, 9, 4)    values data: (242, 324, 3)</font>   values data: (242, 324, 3)</font> Oleg

07/18/18 [python3-imagej-tiff][master] by Oleg K Dzhimiev: Update README.md

Elphel GIT logs - Wed, 07/18/2018 - 17:22
Oleg K Dzhimiev committed changes to the Elphel git project :
Update README.md

Tiff file format for pre-processed quad-stereo sets

Wiki Recent Changes - Wed, 07/18/2018 - 17:20

‎TIFF stacks for ML

← Older revision Revision as of 23:20, 18 July 2018 (4 intermediate revisions by the same user not shown)Line 46: Line 46:  ==<font color='ForestGreen'>TIFF stacks for ML</font>== ==<font color='ForestGreen'>TIFF stacks for ML</font>==  [[File:Ml tiff stack imagej.jpeg|thumb|400px|Fig.1 Opened in ImageJ, one of the layers]] [[File:Ml tiff stack imagej.jpeg|thumb|400px|Fig.1 Opened in ImageJ, one of the layers]] −[[File:Ml tiff stack python values.jpeg|thumb|400px|Fig.2 Decoded 'value'-layers]]+[[File:Tiff layers.jpeg|thumb|400px|Fig.2 TIFF imagestack layers]] −[[File:Ml tiff stack python data layers.jpeg|thumb|500px|Fig.3 Data layers]]+[[File:Ml tiff stack python values.jpeg|thumb|400px|Fig.3 Decoded 'value'-layers]] −* What's in each stack is described in the [https://community.elphel.com/files/presentations/Elphel_TP-CNN_slides.pdf presentation for CVPR2018, pp.19-21]:+[[File:Ml tiff stack python data layers.jpeg|thumb|500px|Fig.4 Data layers]]  +* The TIFF stack format is described in the [https://community.elphel.com/files/presentations/Elphel_TP-CNN_slides.pdf presentation for CVPR2018, pp.19-21]:  +** 8 bpp  +** layer dimensions 2916x2178  ** 5 layers in the stack: ['''diagm-pair''', '''diago-pair''', '''hor-pairs''', '''vert-pairs''', '''other'''] ** 5 layers in the stack: ['''diagm-pair''', '''diago-pair''', '''hor-pairs''', '''vert-pairs''', '''other''']  *** '''diagm-pair''' *** '''diagm-pair''' Line 55: Line 58:  *** '''vert-pairs''' *** '''vert-pairs'''  *** '''other''' - encoded values: estimated disparity, estimated+residual disparity, and confidence for the residual disparity *** '''other''' - encoded values: estimated disparity, estimated+residual disparity, and confidence for the residual disparity −* Essentially it’s a normal TIFF image stack with several headers modified:+** The layers are tiled - tiles' wxh is read from the header - currently it's 9x9, making it 324x242 tiles total. −** ImageDescription (tag[270]) contains a string with info about number of images, slices+** The values in the '''other''' layer are encoded per tile. −** tag[50838] – a list of layers names’ lengths+** Essentially it’s a normal TIFF image stack with several headers modified: −** tag[50839] – binary string with encoded layers labels and extra info+*** ImageDescription (tag[270]) contains a string with info about number of images, slices  +*** tag[50838] – a list of layers names’ lengths  +*** tag[50839] – binary string with encoded layers labels and extra info  * The source files are processed using a plugin for ImageJ, the output file for each set is a tiff stack * The source files are processed using a plugin for ImageJ, the output file for each set is a tiff stack  * There are a few ways to view the stack: * There are a few ways to view the stack: Line 70: Line 75:  * <font color='DarkGreen'>'''Convert layers to numpy arrays (split into tiles or optionally not split) for further computations and plotting'''</font> * <font color='DarkGreen'>'''Convert layers to numpy arrays (split into tiles or optionally not split) for further computations and plotting'''</font>  Example (more examples are commented out in the __main__ section of the script): Example (more examples are commented out in the __main__ section of the script): −  <font size='1' style='line-height:0.5;'>'''~$ python3 imagej_tiff.py 1527256903_350165-ML_DATA-08B-O-FZ0.05-OFFS0.00000.tiff'''+  <font size='1' style='line-height:0.5;'># Dependencies:  + # - Python 3.5.2 (not strict)  + # - Pillow 5.1.0+ (strict)  + # - Numpy 1.14.2 (not strict)  + # - Matplotlib 2.2.2 (not strict)  +  + '''~$ python3 imagej_tiff.py 1527256903_350165-ML_DATA-08B-O-FZ0.05-OFFS0.00000.tiff'''    time: 1531344391.7055812   time: 1531344391.7055812    time: 1531344392.5336654   time: 1531344392.5336654 Oleg

Tiff file format for pre-processed quad-stereo sets

Wiki Recent Changes - Wed, 07/18/2018 - 15:41

← Older revision Revision as of 21:41, 18 July 2018 Line 46: Line 46:  ==<font color='ForestGreen'>TIFF stacks for ML</font>== ==<font color='ForestGreen'>TIFF stacks for ML</font>==  [[File:Ml tiff stack imagej.jpeg|thumb|400px|Fig.1 Opened in ImageJ, one of the layers]] [[File:Ml tiff stack imagej.jpeg|thumb|400px|Fig.1 Opened in ImageJ, one of the layers]] −[[File:Ml tiff stack python values.jpeg|thumb|400px|Fig.2 Decoded 'value'-layers]]+[[File:Tiff layers.jpeg|thumb|400px|Fig.2 TIFF imagestack layers]] −[[File:Ml tiff stack python data layers.jpeg|thumb|500px|Fig.3 Data layers]]+[[File:Ml tiff stack python values.jpeg|thumb|400px|Fig.3 Decoded 'value'-layers]]  +[[File:Ml tiff stack python data layers.jpeg|thumb|500px|Fig.4 Data layers]]  * What's in each stack is described in the [https://community.elphel.com/files/presentations/Elphel_TP-CNN_slides.pdf presentation for CVPR2018, pp.19-21]: * What's in each stack is described in the [https://community.elphel.com/files/presentations/Elphel_TP-CNN_slides.pdf presentation for CVPR2018, pp.19-21]:  ** 5 layers in the stack: ['''diagm-pair''', '''diago-pair''', '''hor-pairs''', '''vert-pairs''', '''other'''] ** 5 layers in the stack: ['''diagm-pair''', '''diago-pair''', '''hor-pairs''', '''vert-pairs''', '''other'''] Oleg

File:Tiff layers.jpeg

Wiki Recent Changes - Wed, 07/18/2018 - 15:40

Oleg uploaded File:Tiff layers.jpeg

New page

== Licensing ==
{{CC }} Oleg

Tiff file format for pre-processed quad-stereo sets

Wiki Recent Changes - Wed, 07/18/2018 - 15:40

‎TIFF stacks for ML

← Older revision Revision as of 21:40, 18 July 2018 (One intermediate revision by the same user not shown)Line 46: Line 46:  ==<font color='ForestGreen'>TIFF stacks for ML</font>== ==<font color='ForestGreen'>TIFF stacks for ML</font>==  [[File:Ml tiff stack imagej.jpeg|thumb|400px|Fig.1 Opened in ImageJ, one of the layers]] [[File:Ml tiff stack imagej.jpeg|thumb|400px|Fig.1 Opened in ImageJ, one of the layers]] −[[File:Ml tiff stack python values.jpeg|thumb|800px|Fig.2 Decoded 'value'-layers]]+[[File:Ml tiff stack python values.jpeg|thumb|400px|Fig.2 Decoded 'value'-layers]]  [[File:Ml tiff stack python data layers.jpeg|thumb|500px|Fig.3 Data layers]] [[File:Ml tiff stack python data layers.jpeg|thumb|500px|Fig.3 Data layers]]  * What's in each stack is described in the [https://community.elphel.com/files/presentations/Elphel_TP-CNN_slides.pdf presentation for CVPR2018, pp.19-21]: * What's in each stack is described in the [https://community.elphel.com/files/presentations/Elphel_TP-CNN_slides.pdf presentation for CVPR2018, pp.19-21]: Line 55: Line 55:  *** '''vert-pairs''' *** '''vert-pairs'''  *** '''other''' - encoded values: estimated disparity, estimated+residual disparity, and confidence for the residual disparity *** '''other''' - encoded values: estimated disparity, estimated+residual disparity, and confidence for the residual disparity  +* Essentially it’s a normal TIFF image stack with several headers modified:  +** ImageDescription (tag[270]) contains a string with info about number of images, slices  +** tag[50838] – a list of layers names’ lengths  +** tag[50839] – binary string with encoded layers labels and extra info  * The source files are processed using a plugin for ImageJ, the output file for each set is a tiff stack * The source files are processed using a plugin for ImageJ, the output file for each set is a tiff stack  * There are a few ways to view the stack: * There are a few ways to view the stack:  ====ImageJ==== ====ImageJ==== −ImageJ - it has a native support for stacks, each stack has a name label stored (along with related xml info) in the ImageJ tiff tags. To read tiff tags in ImageJ, go '''Image > Show Info...'''+ImageJ (or Fiji) - it has a native support for stacks, each stack has a name label stored (along with related xml info) in the ImageJ tiff tags. To read tiff tags in ImageJ, go '''Image > Show Info...'''  ====Python==== ====Python====  '''1.''' Use '''imagej_tiff.py''' from [https://git.elphel.com/Elphel/python3-imagej-tiff python3-imagej-tiff] to: '''1.''' Use '''imagej_tiff.py''' from [https://git.elphel.com/Elphel/python3-imagej-tiff python3-imagej-tiff] to: Oleg

File:Ml tiff stack python values.jpeg

Wiki Recent Changes - Wed, 07/18/2018 - 15:33

Oleg uploaded a new version of File:Ml tiff stack python values.jpeg

New page

== Licensing ==
{{CC }} Oleg

07/18/18 [imagej-elphel][gpu] by Andrey Filippov: handling error (probably cons. of fronto)

Elphel GIT logs - Wed, 07/18/2018 - 13:27
Andrey Filippov committed changes to the Elphel git project :
handling error (probably cons. of fronto)

Pages

Subscribe to www3.elphel.com aggregator