원시데이터 수집 시스템
선정목록으로

Underwater Image Processing using Graphics Processing Unit (GPU)

관련 필름·전자재료 · (16) CPI(투명 폴리이미드)

기본 정보

저자
  1. Sayooj Ottapura — Department of Electronics Engineering, Ramrao Adik Institute of Technology, Nerul, India
  2. Rahul Mistry — Department of Electronics Engineering, Ramrao Adik Institute of Technology, Nerul, India
  3. Jatin Keni — Department of Electronics Engineering, Ramrao Adik Institute of Technology, Nerul, India
  4. Chaitanya Jage — Department of Electronics Engineering, Ramrao Adik Institute of Technology, Nerul, India
DOI
10.1051/itmconf/20203203041
저널
ITM Web of Conferences
발행년도
2020
발행기관
EDP Sciences
피인용수
0
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1051/itmconf/20203203041
토픽
Color Science and Applications
OpenAlex ID
W3045940430

평가 내용

관련도
관련
사업분야
필름·전자재료 · (16) CPI(투명 폴리이미드)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > CPI(투명 폴리이미드)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Image processing is a method used for enhancement of an image or to extract some useful information from the image. It is a type of signal processing in which input is an image and output may be an image or any characteristics/features associated with that image. In this paper we will be focusing on a specific type of Image Processing i.e. Underwater Image Processing. Underwater Image Processing has always faced the problem of imbalance in colour distribution and this problem can be tackled by the simplest algorithm for colour balancing. We will be proceeding with the assumption that the highest values of R, G, B observed in the image corresponds to white and the lowest values corresponds to darkness. The underwater images are majorly saturated by blue colour because of its short wavelength and in this paper, we aim to enhance the image. We proposed a colour balancing algorithm for normalizing the image. The entire process will first be carried out on a CPU followed by a GPU. We will then compare the speedup obtained. Speedup is an important parameter in the field on image processing since a better speedup can help reduce the computation time significantly while maintaining a higher efficiency.

본문 16,632자

본문 펼치기
Image processing is a method used for enhancement of an image or to extract some useful information from the image. It is a type of signal processing in which input is an image and output may be an image or any characteristics/features associated with that image. In this paper we will be focusing on a specific type of Image Processing i.e. Underwater Image Processing. Underwater Image Processing has always faced the problem of imbalance in colour distribution and this problem can be tackled by the simplest algorithm for colour balancing. We will be proceeding with the assumption that the highest values of R, G, B observed in the image corresponds to white and the lowest values corresponds to darkness. The underwater images are majorly saturated by blue colour because of its short wavelength and in this paper, we aim to enhance the image. We proposed a colour balancing algorithm for normalizing the image. The entire process will first be carried out on a CPU followed by a GPU. We will then compare the speedup obtained. Speedup is an important parameter in the field on image processing since a better speedup can help reduce the computation time significantly while maintaining a higher efficiency. Introduction Underwater image processing has always faced numerous challenges. Physical properties of the medium i.e. impurities present in water, cause deterioration effects which are absent in the pictures taken in air. Underwater images are primarily distinguished by their low visibility since light gets extremely attenuated as it advances in the water and hence the images taken result to have poor contrast and have a presence of haze. The two main difficulties faced are absorption and scattering. In absorption, specific frequencies of light get absorbed at different depths [1]. Since blue colour has the shortest wavelength it travels the farthest, making ambient underwater environments to be dominated by a bluish hue. Scattering is any divergence from a straight-line path [2]. Scattering occurs because of the presence of suspended particles in the water and in turn drops the visibility and contrast of the captured image. Light attenuation decreases the distance of visibility in clear water by about 20 meters and in turbid water by 5 meters or less [3]. The extent of effects of absorption and scattering is decided by the number of floating particles present in the water known as "marine snow". Introduction Underwater Image Processing can be done using either Hardware techniques or through Software techniques. The software image processing can be approached from two different perspectives: image restoration technique or as an image enhancement method. Introduction i) The purpose of image restoration is to recover the original image from a degraded image by using models of both the images [4]. Introduction ii) Image enhancement focuses on certain criteria of the subject i.e. the image, and then produces a more visually appealing image. Image Enhancement method does not require any kind of physical model to process the image [4]. Introduction The approach that we will be discussing in the paper will be an Image enhancement method. Introduction For the purpose of Image enhancement, we will be making use of Graphics Processing Unit (GPU). GPU is preferred over CPU because image processing algorithms typically consume a great deal of computer resources which can be easily provided by the numerous processing cores present in a GPU. Graphics processors in many technical aspects outperform other imaging acceleration methods, when compared to the fastest available Field-Programmable Gate Array (FPGA). Underwater Image Processing Underwater imaging and image processing play significant roles in ocean science research. The basic purpose of the present work is to improve the quality of underwater images. A wide variety of methods are available for the purpose of image enhancement, each with its inherent advantages and disadvantages. Underwater pictures, as a natural phenomenon, have low contrast alongside showing a propensity for dominance of one colour and low sharpness. Underwater Image Processing In This work focused on diminishing colour [5]. In the very next year of 2013 M.S. Hitam, Wan Nural Jawahir Hj Wan Yussof, E.A. Awalludin and Z. Bachok operated on "Mixture contrast limited adaptive histogram equalization for underwater image enhancement". Here they introduced a new method known as hybrid Contrast Limited Adaptive Histogram Equalization (CLAHE) colour spaces designed specifically for enhancement of the underwater image. The technique works CLAHE on colour spaces RGB and HSV. Tentative findings suggest that the potential solution substantially increases the picture quality of underwater photographs by improving contrast, and decreases noise and errors [6]. Underwater Image Processing As mentioned earlier in Section 1, underwater image processing varies widely from visual image processing, mainly due to underwater channel dysfunctions such as absorption and scattering [7,8]. Scattering can occur in two ways: i) Forward scattering (light deviates while it travels from the object to the camera) leads to blurry images [9]. Underwater Image Processing ii) Backward scattering (the water reflects a fraction of the light to the camera before it actually reaches the objects) usually limits the contrast of the images [9]. As the images taken in underwater environment is mainly dominated by blue colour, we will be making use of a Colour Balancing Technique. Image Enhancement using Graphics Processing Unit (GPU) The Graphics Processing Unit (GPU) is widely used for real time graphics rendering in applications like high definition gaming, computer aided design software, etc [10]. GPU is becoming popular as cheap parallel supercomputer whose processing power can be utilized [11]. Image Enhancement using Graphics Processing Unit (GPU) Even though original purpose of GPU is graphics rendering, in recent years the GPU is increasingly being used for scientific computations. GPUs are also used for general purpose computations like scientific computations, encryption/decryption etc. This type of GPUs is called as General-purpose GPUs (GPGPUs). Nowadays, GPU is used in video processing, image processing and in many more general-purpose works. Image Enhancement using Graphics Processing Unit (GPU) Here we present an effective implementation of Simplest colour balance algorithm on the NVIDIA Tesla K80. Specifically, we showcase the effectiveness of our method by algorithm optimization. In result we display time relation between the implementation of the CPU and the GPU. We have run the algorithm using python and OpenCV on GPU[10]. Design Implementation In order to do the Image Enhancement process, we will be making use of the Simplest Colour Balancing (SCB) Algorithm. SCB is the Algorithm of choice because as mentioned earlier the images taken in underwater environment are majorly dominated by blue colour and so by using SCB we will be balancing out all the hues of RGB colour spectrum and thus reducing the dominance of blue making the resulting image to have an evenly balanced colour spectrum. The entire code for the algorithm is written and implemented in the Python Programming Language. The different libraries that are required in the image processing are taken from Open Computer Vision (OpenCV). Simplest Colour Balance (SCB) Algorithm Colour balance refers to the removal of an inherent colour bias from an image. It means balancing the intensities of each channel separately. For instance, if an image appears to be too red, it is said to have a red hue over it. Removing the red cast returns the picture to balance. Colour casts can arise from many different causes. In underwater imaging, the images are usually blue casted. There are various ways to make an image more readable and removing the colour cast which is usually blue in underwater images. Herein we propose a Simplest Colour Balance algorithm which improves readability. The SCB Algorithm does not necessarily improve the image quality. The goal here is to scale the pixel values to a range of 0 to 255 [14]. However, many underwater images pixels already occupy the 0 and 255 values. To obtain a better colour improvement, a small percentage of pixels having value equal to 255 and small percentage of pixels having value equal to 0 are clipped [14]. Clipping here means setting up the quantiles, Vmax and Vmin. Vmin and Vmax are calculated by using N × S1/100 and N × (1 -S2)/100 -1 respectively [14]. The quantiles are defined so that small proportion of pixels get the value of the quantiles. Finding the quantiles can be done by using sorting algorithm or by using histogram algorithm. Simplest Colour Balance (SCB) Algorithm In this algorithm we have used the sorting algorithm for finding the quantiles and then normalizing it to a normal 8-bit image range. An RGB image is of 24-bit. Each channel of an image is of 8-bit. In our algorithm we are applying normalization to each channel separately. Each channel pixel values will be sorting in ascending order. Depending on the user defined saturation percentage Vmax and Vmin are calculated. From the left side of an original image histogram S1% of pixels will be saturated and from the right side of the histogram that is, the pixels having a value closer to 255 are saturated to S2%. For example, S1=0 means there will be no pixel saturation at the beginning. S2=3 means there will be at most N × S2/100 at the end of histogram. We cannot guarantee that exactly N × (S1 + S2)/100 pixels get saturated because the distribution of pixel value is discrete. After a certain percent of pixel saturation is done, the image is then normalized to a specific range. Normalization is nothing but the re-scaling of real valued numeric attributes into the range between 0 and 1 in general [15]. But here the image is 8-bit so the pixel value ranges from 0 to 255. So, normalization of pixels is done for a range of 0 to 255 using the formula mentioned below [14]: f(x)=[(x -Vmin)×(max -min)]/[(Vmax -Vmin)+min] (1) For every pixel x, f(x) will be calculated. Here 'max' and 'min' are the range of normalization. The image is scaled to [min, max]. f(x)=[(x -Vmin)×(max -min)]/[(Vmax -Vmin)+min] (1) Let's take a look at an example, consider an image having a dimension of 183 rows and 275 columns. The total number of pixels are obtained by taking product of the number of rows and number of columns. Thus, for rows and columns and hence the number of pixels is 50325 which is usually represented as 'N'. S is the saturation value which we have considered to be 2 in this example. The image will be first separated with respect to each colour channel R, G and B. Thereafter we will employ the Vmax and Vmin equation for each channel. Let's now calculate the value of Vmin and Vmax by selecting S1 = S2 = 2 and N = 50325. Now by applying the Python indexing logic we get to know that the pixel value at the index position of 503 and 49281 of the blue channel arrays is 73 and 187 respectively. Hence, the final value of Vmin comes out to be 73 and the value of Vmax is 187 for the blue colour channel. So, the pixel values of pixel below the 503 rd pixel will be replaced by Vmin and the pixel values of pixels above 49821 st will be replaced by Vmax for the blue colour channel. Similarly, for green channel, the value of Vmin is 73 and the value of Vmax is 214. The pixel values of pixel below the 503 rd pixel will be replaced by Vmin and the pixel values of pixels above 49821 st will be replaced by Vmax of the green channel. For red colour channel, the Vmin obtained is 16 and the Vmax value is 116. The pixel values of pixel below the 503 rd pixel will be replaced by Vmin and the pixel values of pixels above 49821 st will be replaced by Vmax for the red channel. The last step is the normalization of the processed image having a range of b = [73,187], g = [73,214] and r = [16,116]. Each channel's pixel value range will be scaled between 0 to 255 and lastly the channel will be merged. f(x)=[(x -Vmin)×(max -min)]/[(Vmax -Vmin)+min] (1) Sorting of N pixels require O(N × log(N)) operations and a temporary duplication of the same N pixels [14]. Python Programming Language Python is a high-level programming language. Python is object-oriented with integrated dynamic semantics for web and app development. Since Python is simple and has fairly simple and easy syntax and also supports a large number of packages and modules it is the programming language of choice for our project. The Python version used in our codes is Python 3.5. We have made use of some popular Python modules such as NumPy, math, sys, time, etc. Open Computer Vision (OpenCV) OpenCV-Python is an open-source library basically used for computer vision assessment. Even though C and C++ are faster when compared to Python, Python is used in complex computations because of its simplicity. Another important attribute of Python is that it can be extended to C and C++. This functionality allows us to implement complex codes in C or C++ and to build a Python wrapper which can then be used as Python modules. This holds two benefits for us: i) Our program doesn't compromise on speed (because in actuality the C++ code is what is running in the background). Open Computer Vision (OpenCV) ii) Programming in Python comparatively easy. Open Computer Vision (OpenCV) NumPy support in OpenCV makes the mathematical calculations simpler. NumPy library is specifically designed for mathematical operations and is also highly optimised for the same. OpenCV-Python is a capable tool for speedy handling of computer vision issues. In our program we are making use of OpenCV version 4.1.2. Results and Performance Evaluation Our output yielded a good enhanced image which is removes blue cast and makes image more readable. The pixel range of the original image is from 0 to 254. The enhanced image is obtained by saturating 0.00001 pixels at the leftmost and rightmost sections of the original image. And then we normalized it to a scale of 0-255. Results and Performance Evaluation The Central Processing Unit(CPU) used in this paper is the Quad-core Intel i5, 8th generation processor with an average clock speed of 1.6 GHz which can be turbo boosted up to a maximum clock speed of 1.8 GHz. Results and Performance Evaluation The GPU of choice is the Tesla K80 having specifications as mentioned in Table 1 in Section 3. Results and Performance Evaluation Developing a parallel version of code enables us to run its application on large data (e.g. more pixels, a bigger physical model of system) in less amount of time. The result of successful parallelization is measured in terms of speedup. The speedup is nothing but the simple ratio of execution time on CPU to execution time on GPU. The speedup can be calculated by using formula as [16]: Results and Performance Evaluation In case if the serial version of an application executes in 150 seconds and the corresponding parallel version of the same application runs in 15 seconds, the speedup for the parallel application is 10 times [16]. Speedup is required when an algorithm consists of high computation. In case of CPU, it will provide high clock speed but a fewer threading functionality. While in GPU, as there are a greater number of cores a good multithreading performance is obtained. In this algorithm normalization function is applied on each pixel coordinates which becomes effective if multiple pixel normalization is done parallelly. Some of the important metrics of an image to be looked up after any kind of image processing are Mean brightness, Entropy, etc. We have found out the numerical values of this metrics and have tabulated them as follows: Efficiency of an image processing technique is decided on the basis of its image metrics as follows [17]: i) Smaller the value of mean brightness better is the efficiency of the image enhancement. ii) Bigger the value of entropy, better is the enhanced image. As we can read from Table 2, The enhanced image obtained from applying SCB Algorithm has a low brightness value and a higher entropy as compared to the original image hence our method is fairly efficient. Conclusion and Future Scope We have provided an alternative idea for enhancing the underwater images. Our approach not necessarily improves the image quality but makes it more readable. The main aim of SCB is to balance out the hue of all the colours in the RGB spectrum and thereby reducing the dominance of blue colour in underwater images. By

섹션 본문 30문단 · 15,671자

(제목 없음)

1Image processing is a method used for enhancement of an image or to extract some useful information from the image. It is a type of signal processing in which input is an image and output may be an image or any characteristics/features associated with that image. In this paper we will be focusing on a specific type of Image Processing i.e. Underwater Image Processing. Underwater Image Processing has always faced the problem of imbalance in colour distribution and this problem can be tackled by the simplest algorithm for colour balancing. We will be proceeding with the assumption that the highest values of R, G, B observed in the image corresponds to white and the lowest values corresponds to darkness. The underwater images are majorly saturated by blue colour because of its short wavelength and in this paper, we aim to enhance the image. We proposed a colour balancing algorithm for normalizing the image. The entire process will first be carried out on a CPU followed by a GPU. We will then compare the speedup obtained. Speedup is an important parameter in the field on image processing since a better speedup can help reduce the computation time significantly while maintaining a higher efficiency.

Introduction

2Underwater image processing has always faced numerous challenges. Physical properties of the medium i.e. impurities present in water, cause deterioration effects which are absent in the pictures taken in air. Underwater images are primarily distinguished by their low visibility since light gets extremely attenuated as it advances in the water and hence the images taken result to have poor contrast and have a presence of haze. The two main difficulties faced are absorption and scattering. In absorption, specific frequencies of light get absorbed at different depths [1]. Since blue colour has the shortest wavelength it travels the farthest, making ambient underwater environments to be dominated by a bluish hue. Scattering is any divergence from a straight-line path [2]. Scattering occurs because of the presence of suspended particles in the water and in turn drops the visibility and contrast of the captured image. Light attenuation decreases the distance of visibility in clear water by about 20 meters and in turbid water by 5 meters or less [3]. The extent of effects of absorption and scattering is decided by the number of floating particles present in the water known as "marine snow".

3Underwater Image Processing can be done using either Hardware techniques or through Software techniques. The software image processing can be approached from two different perspectives: image restoration technique or as an image enhancement method.

4i) The purpose of image restoration is to recover the original image from a degraded image by using models of both the images [4].

5ii) Image enhancement focuses on certain criteria of the subject i.e. the image, and then produces a more visually appealing image. Image Enhancement method does not require any kind of physical model to process the image [4].

6The approach that we will be discussing in the paper will be an Image enhancement method.

7For the purpose of Image enhancement, we will be making use of Graphics Processing Unit (GPU). GPU is preferred over CPU because image processing algorithms typically consume a great deal of computer resources which can be easily provided by the numerous processing cores present in a GPU. Graphics processors in many technical aspects outperform other imaging acceleration methods, when compared to the fastest available Field-Programmable Gate Array (FPGA).

Underwater Image Processing

8Underwater imaging and image processing play significant roles in ocean science research. The basic purpose of the present work is to improve the quality of underwater images. A wide variety of methods are available for the purpose of image enhancement, each with its inherent advantages and disadvantages. Underwater pictures, as a natural phenomenon, have low contrast alongside showing a propensity for dominance of one colour and low sharpness.

9In This work focused on diminishing colour [5]. In the very next year of 2013 M.S. Hitam, Wan Nural Jawahir Hj Wan Yussof, E.A. Awalludin and Z. Bachok operated on "Mixture contrast limited adaptive histogram equalization for underwater image enhancement". Here they introduced a new method known as hybrid Contrast Limited Adaptive Histogram Equalization (CLAHE) colour spaces designed specifically for enhancement of the underwater image. The technique works CLAHE on colour spaces RGB and HSV. Tentative findings suggest that the potential solution substantially increases the picture quality of underwater photographs by improving contrast, and decreases noise and errors [6].

10As mentioned earlier in Section 1, underwater image processing varies widely from visual image processing, mainly due to underwater channel dysfunctions such as absorption and scattering [7,8]. Scattering can occur in two ways: i) Forward scattering (light deviates while it travels from the object to the camera) leads to blurry images [9].

11ii) Backward scattering (the water reflects a fraction of the light to the camera before it actually reaches the objects) usually limits the contrast of the images [9]. As the images taken in underwater environment is mainly dominated by blue colour, we will be making use of a Colour Balancing Technique.

Image Enhancement using Graphics Processing Unit (GPU)

12The Graphics Processing Unit (GPU) is widely used for real time graphics rendering in applications like high definition gaming, computer aided design software, etc [10]. GPU is becoming popular as cheap parallel supercomputer whose processing power can be utilized [11].

13Even though original purpose of GPU is graphics rendering, in recent years the GPU is increasingly being used for scientific computations. GPUs are also used for general purpose computations like scientific computations, encryption/decryption etc. This type of GPUs is called as General-purpose GPUs (GPGPUs). Nowadays, GPU is used in video processing, image processing and in many more general-purpose works.

14Here we present an effective implementation of Simplest colour balance algorithm on the NVIDIA Tesla K80. Specifically, we showcase the effectiveness of our method by algorithm optimization. In result we display time relation between the implementation of the CPU and the GPU. We have run the algorithm using python and OpenCV on GPU[10].

Design Implementation

15In order to do the Image Enhancement process, we will be making use of the Simplest Colour Balancing (SCB) Algorithm. SCB is the Algorithm of choice because as mentioned earlier the images taken in underwater environment are majorly dominated by blue colour and so by using SCB we will be balancing out all the hues of RGB colour spectrum and thus reducing the dominance of blue making the resulting image to have an evenly balanced colour spectrum. The entire code for the algorithm is written and implemented in the Python Programming Language. The different libraries that are required in the image processing are taken from Open Computer Vision (OpenCV).

Simplest Colour Balance (SCB) Algorithm

16Colour balance refers to the removal of an inherent colour bias from an image. It means balancing the intensities of each channel separately. For instance, if an image appears to be too red, it is said to have a red hue over it. Removing the red cast returns the picture to balance. Colour casts can arise from many different causes. In underwater imaging, the images are usually blue casted. There are various ways to make an image more readable and removing the colour cast which is usually blue in underwater images. Herein we propose a Simplest Colour Balance algorithm which improves readability. The SCB Algorithm does not necessarily improve the image quality. The goal here is to scale the pixel values to a range of 0 to 255 [14]. However, many underwater images pixels already occupy the 0 and 255 values. To obtain a better colour improvement, a small percentage of pixels having value equal to 255 and small percentage of pixels having value equal to 0 are clipped [14]. Clipping here means setting up the quantiles, Vmax and Vmin. Vmin and Vmax are calculated by using N × S1/100 and N × (1 -S2)/100 -1 respectively [14]. The quantiles are defined so that small proportion of pixels get the value of the quantiles. Finding the quantiles can be done by using sorting algorithm or by using histogram algorithm.

17In this algorithm we have used the sorting algorithm for finding the quantiles and then normalizing it to a normal 8-bit image range. An RGB image is of 24-bit. Each channel of an image is of 8-bit. In our algorithm we are applying normalization to each channel separately. Each channel pixel values will be sorting in ascending order. Depending on the user defined saturation percentage Vmax and Vmin are calculated. From the left side of an original image histogram S1% of pixels will be saturated and from the right side of the histogram that is, the pixels having a value closer to 255 are saturated to S2%. For example, S1=0 means there will be no pixel saturation at the beginning. S2=3 means there will be at most N × S2/100 at the end of histogram. We cannot guarantee that exactly N × (S1 + S2)/100 pixels get saturated because the distribution of pixel value is discrete. After a certain percent of pixel saturation is done, the image is then normalized to a specific range. Normalization is nothing but the re-scaling of real valued numeric attributes into the range between 0 and 1 in general [15]. But here the image is 8-bit so the pixel value ranges from 0 to 255. So, normalization of pixels is done for a range of 0 to 255 using the formula mentioned below [14]:

f(x)=[(x -Vmin)×(max -min)]/[(Vmax -Vmin)+min] (1)

18For every pixel x, f(x) will be calculated. Here 'max' and 'min' are the range of normalization. The image is scaled to [min, max].

19Let's take a look at an example, consider an image having a dimension of 183 rows and 275 columns. The total number of pixels are obtained by taking product of the number of rows and number of columns. Thus, for rows and columns and hence the number of pixels is 50325 which is usually represented as 'N'. S is the saturation value which we have considered to be 2 in this example. The image will be first separated with respect to each colour channel R, G and B. Thereafter we will employ the Vmax and Vmin equation for each channel. Let's now calculate the value of Vmin and Vmax by selecting S1 = S2 = 2 and N = 50325. Now by applying the Python indexing logic we get to know that the pixel value at the index position of 503 and 49281 of the blue channel arrays is 73 and 187 respectively. Hence, the final value of Vmin comes out to be 73 and the value of Vmax is 187 for the blue colour channel. So, the pixel values of pixel below the 503 rd pixel will be replaced by Vmin and the pixel values of pixels above 49821 st will be replaced by Vmax for the blue colour channel. Similarly, for green channel, the value of Vmin is 73 and the value of Vmax is 214. The pixel values of pixel below the 503 rd pixel will be replaced by Vmin and the pixel values of pixels above 49821 st will be replaced by Vmax of the green channel. For red colour channel, the Vmin obtained is 16 and the Vmax value is 116. The pixel values of pixel below the 503 rd pixel will be replaced by Vmin and the pixel values of pixels above 49821 st will be replaced by Vmax for the red channel. The last step is the normalization of the processed image having a range of b = [73,187], g = [73,214] and r = [16,116]. Each channel's pixel value range will be scaled between 0 to 255 and lastly the channel will be merged.

20Sorting of N pixels require O(N × log(N)) operations and a temporary duplication of the same N pixels [14].

Python Programming Language

21Python is a high-level programming language. Python is object-oriented with integrated dynamic semantics for web and app development. Since Python is simple and has fairly simple and easy syntax and also supports a large number of packages and modules it is the programming language of choice for our project. The Python version used in our codes is Python 3.5. We have made use of some popular Python modules such as NumPy, math, sys, time, etc.

Open Computer Vision (OpenCV)

22OpenCV-Python is an open-source library basically used for computer vision assessment. Even though C and C++ are faster when compared to Python, Python is used in complex computations because of its simplicity. Another important attribute of Python is that it can be extended to C and C++. This functionality allows us to implement complex codes in C or C++ and to build a Python wrapper which can then be used as Python modules. This holds two benefits for us: i) Our program doesn't compromise on speed (because in actuality the C++ code is what is running in the background).

23ii) Programming in Python comparatively easy.

24NumPy support in OpenCV makes the mathematical calculations simpler. NumPy library is specifically designed for mathematical operations and is also highly optimised for the same. OpenCV-Python is a capable tool for speedy handling of computer vision issues. In our program we are making use of OpenCV version 4.1.2.

Results and Performance Evaluation

25Our output yielded a good enhanced image which is removes blue cast and makes image more readable. The pixel range of the original image is from 0 to 254. The enhanced image is obtained by saturating 0.00001 pixels at the leftmost and rightmost sections of the original image. And then we normalized it to a scale of 0-255.

26The Central Processing Unit(CPU) used in this paper is the Quad-core Intel i5, 8th generation processor with an average clock speed of 1.6 GHz which can be turbo boosted up to a maximum clock speed of 1.8 GHz.

27The GPU of choice is the Tesla K80 having specifications as mentioned in Table 1 in Section 3.

28Developing a parallel version of code enables us to run its application on large data (e.g. more pixels, a bigger physical model of system) in less amount of time. The result of successful parallelization is measured in terms of speedup. The speedup is nothing but the simple ratio of execution time on CPU to execution time on GPU. The speedup can be calculated by using formula as [16]:

29In case if the serial version of an application executes in 150 seconds and the corresponding parallel version of the same application runs in 15 seconds, the speedup for the parallel application is 10 times [16]. Speedup is required when an algorithm consists of high computation. In case of CPU, it will provide high clock speed but a fewer threading functionality. While in GPU, as there are a greater number of cores a good multithreading performance is obtained. In this algorithm normalization function is applied on each pixel coordinates which becomes effective if multiple pixel normalization is done parallelly. Some of the important metrics of an image to be looked up after any kind of image processing are Mean brightness, Entropy, etc. We have found out the numerical values of this metrics and have tabulated them as follows: Efficiency of an image processing technique is decided on the basis of its image metrics as follows [17]: i) Smaller the value of mean brightness better is the efficiency of the image enhancement. ii) Bigger the value of entropy, better is the enhanced image. As we can read from Table 2, The enhanced image obtained from applying SCB Algorithm has a low brightness value and a higher entropy as compared to the original image hence our method is fairly efficient.

Conclusion and Future Scope

30We have provided an alternative idea for enhancing the underwater images. Our approach not necessarily improves the image quality but makes it more readable. The main aim of SCB is to balance out the hue of all the colours in the RGB spectrum and thereby reducing the dominance of blue colour in underwater images. By

참고문헌 14건

  1. Single image dehazing ACM Transactions on Graphics · Association for Computing Machinery · 2008 10.1145/1360612.1360671
  2. Normalization: A Preprocessing Stage arXiv (Cornell University) · Cornell University · 2015
  3. Computer modeling and the design of optimal underwater imaging systems IEEE Journal of Oceanic Engineering · Institute of Electrical and Electronics Engineers · 1990 10.1109/48.50695
  4. Significance level of image enhancement techniques for underwater images 2012 10.1109/iccisci.2012.6297295
  5. Mixture contrast limited adaptive histogram equalization for underwater image enhancement 2013 10.1109/iccat.2013.6522017
  6. Underwater Image Processing: State of the Art of Restoration and Image Enhancement Methods EURASIP Journal on Advances in Signal Processing · Springer Science+Business Media · 2010 10.1155/2010/746052
  7. Underwater video mosaicing for seabed mapping 2002 10.1109/icip.2000.900935
  8. Automated underwater image restoration and retrieval of related optical properties 2007 10.1109/igarss.2007.4423193
  9. A New Image Contrast Enhancement Algorithm Using Exposure Fusion Framework Lecture notes in computer science · Springer Science+Business Media · 2017 10.1007/978-3-319-64698-5_4
  10. Evaluation of Underwater Image Enhancement Algorithms under Different Environmental Conditions Journal of Marine Science and Engineering · Multidisciplinary Digital Publishing Institute · 2018 10.3390/jmse6010010
  11. GPU Computing of Special Mathematical Functions used in Fractional Calculus Current developments in mathematical sciences · Bentham Science Publishers · 2018 10.2174/9781681085999118010011
  12. Implementation of Parallel Image Processing Using NVIDIA GPU Framework Communications in computer and information science · Springer Science+Business Media · 2011 10.1007/978-3-642-18440-6_58
  13. Performance Analysis and CPU vs GPU Comparison for Deep Learning 2018 10.1109/ceit.2018.8751930
  14. Review jurnal ilmiah EURASIP Journal on Advances in Signal Processing · Springer Science+Business Media · 2014