scieee AI-readable full text Open interactive document viewer

Underwater light estimation using the OBSEA camera

Nogueras Cervera, Marc,Río Fernández, Joaquín del

Abstract

This is a description of the method used in the OBSEA observatory to obtain a value for the amount of light present in the seafloor using the existing video surveillance camera.

Full text

Martech 2021. Marine Technology Workshop 16,18th June. Vigo, Spain Underwater light estimation using the OBSEA camera Marc Nogueras, Joaquin del Río SARTI Research Group, Electronics Department, Universitat Politècnica de Catalunya; UPC, 08800 Vilanova i la Geltrú-Barcelona, Spain, [email protected] Abstract – This is a description of the method used in the OBSEA observatory to obtain a value for the amount of light present in the seafloor using the existing video surveillance camera. Keywords - cabled seafloor observatories, light measurement, underwater camera. I. INTRODUCTION OBSEA is an underwater seafloor observatory located in a shallow water environment at 20m depth and 4km offshore Vilanova i la Geltrú coast. OBSEA is equipped with many oceanographic instruments one of them is a PTZ camera [1]. The camera is a Sony SNC-RZ25N model for video surveillance mounted inside a hemispherical glass dome model OPT- 06 developed by “Ocean Presence Technologies”. With this camera is possible to take pictures of the environment of the observatory [2]. Due to the observatory is not equipped with any light detector, it has been considered to use the video surveillance camera to estimate the amount of light present at the seabed. Due to the camera is not providing any value for the light measurement an algorithm has been developed to make a first estimation from the normal parameters that can be obtained with a camera. All the algorithm for the calculations and control of the camera has been developed with a LabVIEW graphical programming. Fig 1. Underwater camera OPT-06 II. MATERIAL AND METHOD To be able to obtain an estimation of light quantity proportional to the real light present in the seafloor, it has been used the mean value of luminance of the captured jpeg image and three configuration parameters of the camera: the shutter speed, iris and gain. In addition, to avoid influence of the white balance in the measurement, it has been configured a fixed white balance with the parameters of R and B gain more adequate for the most part of light conditions. The first step of the algorithm is to calculate de exposure value (EV), that is a logarithm function of exposure time (T) and F number or iris aperture (N): EV = log2(N2/T) At the same time is obtained the illuminance value (Y) of the taken picture. The illuminance is the mean value of the pixels (R, G and B) of the picture compensated by a weight for the colour of the pixel. In order to improve the feasibility of the measurement, every measurement has been done taking 3 pictures with different values of EV. At the same time to have a quality indicator of the measure it is registered if the picture was correctly exposed or if it was over or under exposed. Y = (R*0.2126 + G*0.7152 + B*0.0722) / 256 NINTH INTERNATIONAL WORKSHOP ON MARINE TECHNOLOGY, Martech 2021 Vigo, Juny 16th, 18th - ISBN: 978-84-09-31270-2 Page 97 Martech 2021. Marine Technology Workshop 16,18th June. Vigo, Spain The method to evaluate the quality of the exposition is observing the histogram of the picture. Only histograms with all the pixel values different from 0 and 255 are accepted. This method avoids that dark or overexposed images can be used to compute the light of the scene. Then the value for the light (L) is a function of the Exposure Value (EV), Illuminance (Y) and Gain (G). L = Y * (AEV) / G where A=1.707 Where A is an empirical value obtained from the measurements that minimizes the variability of the measurements in function of the exposure value. Due to all this method has been developed without the possibility to calibrate the measurements in a known environment, the obtained value of light does not have physical units and it is usable only as a relative measurement of the light variability along the time. In any case, when it will be possible to recover the underwater camera from the seabed and bring it to the laboratory a calibration process will be done to convert the light measurement to Lux. After measuring the light periodically for 4 months every 10 minutes for 12 days is possible to see the light variability in the observatory in the following pictures. In the Fig.2 is shown a 9 days sample of the calculated data, the unfiltered data has all the measures from the camera, the filtered one has the only the measures coming from images correctly exposed. Due to most of the images taken during the night are underexposed filtered data only has information of the day. Fig 2. Seafloor light measurement Fig.3 shows data organized in hours and days. The first day of the test was 13/11/2019 and the last (#118) was 11/03/2020. This figure has been done averaging data in periods of 15 minutes and is possible to see how is increasing the daylight time along the year. It is possible to see also that in some periods there is very few light during the day, these periods of darkness 0,0 100,0 200,0 300,0 400,0 500,0 600,0 700,0 800,0 900,0 1000,0 -500 -400 -300 -200 -100 0 100 200 300 400 500 04/01/20 05/01/20 06/01/20 07/01/20 08/01/20 09/01/20 10/01/20 11/01/20 12/01/20 13/01/20 Filtered Lux Unfiltered Lux OBSEA light measurements Calc Lux UF Calc lux F 0,00 200,00 400,00 600,00 800,00 1000,00 1200,00 1400,00 1600,00 08/01/2020 0:00 12/01/2020 0:00 16/01/2020 0:00 20/01/2020 0:00 Light NINTH INTERNATIONAL WORKSHOP ON MARINE TECHNOLOGY, Martech 2021 Vigo, Juny 16th, 18th - ISBN: 978-84-09-31270-2 Page 98 Martech 2021. Marine Technology Workshop 16,18th June. Vigo, Spain are done to big storms that move so much sediment that they do not let any light reach the sea floor. From these data been has extracted the schedule of daylight in the seafloor and compared to the official sun schedule. In fig.4 can be seen that light is present in the observatory around 20 minutes before the sunrise and 30 minutes after the sunset. In the fig. 5 can be seen the histogram of the dataset where the highest values are concentrated between 10:00 and 14:00 and the lowest values between 16:00 and 8:00. Fig 3. Mean light measurement per hour and day Fig 4. Sunrise and Sunset versus measured light schedule 00:00:00 01:00:00 02:00:00 03:00:00 04:00:00 05:00:00 06:00:00 07:00:00 08:00:00 09:00:00 10:00:00 11:00:00 12:00:00 13:00:00 14:00:00 15:00:00 16:00:00 17:00:00 18:00:00 19:00:00 20:00:00 21:00:00 22:00:00 23:00:00 0 6 10 14 18 22 26 30 34 38 43 47 51 55 59 63 69 73 77 81 85 89 93 97 101 105 109 113 117 720-800 640-720 560-640 480-560 400-480 320-400 240-320 160-240 80-160 0-80 0:00:00 2:24:00 4:48:00 7:12:00 9:36:00 12:00:00 14:24:00 16:48:00 19:12:00 21:36:00 1 5 9 13 17 21 25 29 33 37 41 45 49 53 57 61 65 69 73 77 81 85 89 93 97 101105109113117 Sun Vs Measured light Schedule Sunrise Sunset First Light Last Light NINTH INTERNATIONAL WORKSHOP ON MARINE TECHNOLOGY, Martech 2021 Vigo, Juny 16th, 18th - ISBN: 978-84-09-31270-2 Page 99 Martech 2021. Marine Technology Workshop 16,18th June. Vigo, Spain Fig 5. Light histogram III. CONCLUSIONS In conclusion, this method of underwater light measurement can be useful for the correlation of other measurements that are being done in the observatory using the camera such as the marine species monitoring. IV. AKNOWLEDGEMENTS This work is partially funded by Generalitat de Catalunya "Sistemas de Adquisición Remota de datos y Tratamiento de la Información en el Medio Marino” (SARTI-MAR)” 2017 SGR 371 and by the Spanish Ministry of Education and Science (MEC) with the project “Redes de sensores submarinos autónomos y cableados aplicados a la monitorización remota de indicadores biológicos” TEC2017-87861-R. Researchers want to acknowledge the support of the Associated Unit Tecnoterra composed by members of Universidad Politécnica de Cataluña (UPC) and the Consejo Superior de Investigaciones Científicas (CSIC). This work used the EGI infrastructure with the dedicated support of INFN-CATANIA- STACK REFERENCES [1] Nogueras Cervera, Marc; Santamaria Català, Josep; Mànuel, Antoni. “CONSTRUCTION OF THE OBSEA CABLED SUBMARINE OBSERVATORY. Instrumentation viewpoint, 2007, Núm. 6, https://www.raco.cat/index.php/Instrumentation/article/view/84612 [2] Nogueras Cervera, Marc; del Río Fernandez, Joaquín. “Automatic Panoramic Image Creation System from OBSEA PTZ Underwater Camera”. Instrumentation Viewpoint, 2019, Núm. 20, https://www.raco.cat/index.php/Instrumentation/article/view/348172. 00:00:00 02:00:00 04:00:00 06:00:00 08:00:00 10:00:00 12:00:00 14:00:00 16:00:00 18:00:00 20:00:00 22:00:00 0 30 60 90 120 150 180 210 240 270 300 Histogram of light amplitude Vs hour 15-20 10-15 5-10 0-5 Con formato: Centrado NINTH INTERNATIONAL WORKSHOP ON MARINE TECHNOLOGY, Martech 2021 Vigo, Juny 16th, 18th - ISBN: 978-84-09-31270-2 Page 100