# Non-linear adaptive image enhancement in wireless sensor networks based on non-subsampled shearlet transform

- 642 Downloads
- 1 Citations

**Part of the following topical collections:**

## Abstract

Acquiring clear images is a crucial precondition in many image-related applications, such as wireless sensor network, industrial inspection, and machine vision. In this paper, a multi-scale image adaptive enhancement algorithm for image sensors in wireless sensor networks based on non-subsampled shearlet transform is presented. The images are decomposed into different scales of coefficients. Then the coefficients are enhanced by a non-linear enhancement function. We set two thresholds for this function. One is used to classify the coefficients between the set to be denoised and the set to be enhanced; the other is to control the enhanced intensity of the coefficients. The thresholds are selected adaptively according to the decomposition scale and the standard deviation of the coefficients. The performance of the proposed algorithm is evaluated both objectively and subjectively. And the results show that the visibility of the images is enhanced significantly.

### Keywords

Image enhancement Non-subsampled shearlet transform Wireless sensor networks Multi-scale analysis### Abbreviations

- CII
Contrast improvement index

- ENL
Equivalent number of looks

- EPI
Edge preservation index

- MAT
Multi-scale analysis theories

- NSCT
Non-subsampled contourlet transform

- NSST
Non-subsampled shearlet transform

## 1 Introduction

In wireless sensor networks for the situation understanding [1], different modalities are needed such as radar and optical images. In [2], it was shown that radar and images are two independent modalities which can be treated independently. In this paper, we focus on image modality in wireless sensor networks. The visibility and contrast of the captured images may be affected and may be degraded by many reasons, such as poor environmental condition, camera sensor noise, and other uncertain factors [3, 4]. It is a necessary step before further processing and understanding the images to improve image quality with enhancement and denoising algorithm in many vision applications [5, 6]. The contrast and detail of images can be improved remarkably by those algorithms, so it will be easier for human or machine to identify and understand.

The image enhancement algorithms can be divided into two categories: one is spatial domain algorithm, which enhances the images by recalculating the gray value of the pixels. The other is transform domain algorithm, which enhances the images by adjusting the image coefficients in some transform domain.

At present, the multi-scale analysis theories (MAT) have been widely used in transform domain image enhancement algorithms. The main idea of MAT is to enhance the image details in different scales and directions. The key points of these algorithms are the selection of multi-scale analysis tools and coefficients enhancement models.

In image processing applications, the most well-known multi-scale analysis tools are wavelet [7], contourlet [8], ridgelet [9], and other transform methods. Shearlet transform is a new multi-scale analysis tool which integrates the advantages of wavelet and contourlet [10]. It is well adapted to represent anisotropic features. Shearlet can provide an optimally sparse representation for multi-dimensional data [11], so it suits well for image processing tasks. The traditional multi-scale transforms tend to introduce pseudo-Gibbs artifacts owing to the down sampling operations. To eliminate this phenomenon, the shift-invariant non-subsampled transforms were proposed. Non-subsampled shearlet transform (NSST) can capture the geometrical structure of an image, such as edges, much more precisely than those traditional multi-scale transforms. The decomposition procedure for NSST is similar to non-subsampled contourlet transform (NSCT). But the computational cost and complexity of NSST is much lower than that of NSCT [12, 13]. And the number of directions for shearing has no limitation in the process of NSST, while the number of directions for NSCT decomposing must be any power of 2. So NSST has more flexibility in the description of the geometric structure of the image.

We apply NSST to image enhancement algorithm in this paper. The shearlet coefficients are processed by a non-linear function which can suppress the noise coefficients and can strengthen the weak detail coefficients. Since the thresholds of the function are selected adaptively, the coefficients of each scale and direction are enhanced. The enhanced results of the proposed algorithm show a good performance on both the enhancement of the image details and the suppression of noise.

## 2 Image enhancement based on NSST

### 2.1 Enhancement function and its properties

The aim for enhancing images is to improve the quality of the images so that image perceptions required by further processes can be obtained. So a well-designed enhancement algorithm can amplify the details of image, can adjust the image contrast, and meanwhile, can remove the noise of signals. It means that the coefficients of the image should be processed separately. So it is a good choice to use the non-linear function as the enhancement model.

Where \( a=\frac{1}{\mathrm{sigm}\left( c\left(1- b\right)\right)-\mathrm{sigm}\left(- c\left(1+ b\right)\right)} \), sigm is defined as \( \mathrm{sigm}(x)=\frac{1}{1+{e}^{- x}} \)。

*c*and

*b*in this function, where

*b*is used to control the enhancement range, and its value range is (0, 1); while

*c*is used to control the enhancement intensity, which usually takes the fixed value between 20 and 50. In the existing researches, many enhancement algorithms took the selection of the two parameters of

*b*and

*c*as key factors to improve the non-linear enhancement effect. Figure 1 demonstrates the curves with different

*b*and

*c*values in different colors. As shown in Fig. 1, the shape of the enhancement function varies greatly with different

*b*and

*c*values. At the same time, it also can be found that (take the positive direction of X axis as an example) two special points play important roles in the form of the function curve. One point is the first intersection between the curve and the line

*f*(

*x*) =

*x*. It determines whether the image coefficient should be suppressed by denoising or enhanced by amplifying. It means that the horizontal coordinate of the point is the boundary of denoising and enhancement. The other important point is the intersection between the function curve and line

*y*= 1, it determines the extent of the enhancement. The coefficients with greater value than the horizontal coordinate of the point will be increased to the maximum value of the coefficients, while the smaller coefficients will be amplified non-linearly according to the function curve.

The two important points on the function curve, in this paper, are proposed as two thresholds to determine the form of the enhancement function. The thresholds will be selected adaptively according to the image multi-resolution decomposition coefficients of different scales and directions.

### 2.2 Selection of the thresholds

We set two thresholds of \( {T_k^l}_{\mathrm{low}} \) and \( {T_k^l}_{\mathrm{high}} \) in the enhancement function. \( {T_k^l}_{\mathrm{low}} \) is the threshold to distinguish the coefficients between the enhancement set and the suppression set, \( {T_k^l}_{\mathrm{high}} \) is used to control the contrast stretching degree of the enhanced coefficients. The two thresholds correspond to the two special points in the enhancement curves analyzed in 2.1.

Shearlet transform can decompose images into different scales and directions. And the coefficients of different scale have different features. The high-frequency coefficients often correspond to the image edges and details. This kind of coefficient needs obvious enhancement, but noise signals also mostly exist in the high-frequency coefficients. So it is required to suppress the high-frequency coefficients which have smaller absolute values. The low-frequency coefficients correspond to the image background or smooth parts, such coefficients should not be sharply enhanced but should try to maintain its contrast. Since there is less noise signals in low-frequency coefficients, their demand for denoising is not obvious. Therefore, we will set the thresholds for different decomposition scales and directions adaptively.

*x*=

*f*(

*x*). It is supposed that \( {T_k^l}_{\mathrm{low}} \) is proportional to the standard deviation of the decomposition coefficients, and the standard deviation calculation function satisfies formula (2).

Where *σ* is the standard deviation of the coefficients; \( {c}_k^l\left( m, n\right) \) is the value of the coefficient in the position of (*m*, *n*); mean_{c} is the mean value of the coefficients of *k* scale *l* direction.

Where \( {T_k^l}_{\mathrm{low}} \) represents the first threshold of the coefficients in *k* scale *l* direction, *σ* is the standard deviation of the decomposition coefficients, *level* is the decomposition scale. Formula (3) means that the value of \( {T_k^l}_{\mathrm{low}} \) is propositional to the decomposition scale. That is, the greater the value of the decomposition scale, the more stringent the coefficients denoising.

Where \( {T_k}_{\mathrm{high}}^l \) represents the second threshold of the coefficients in *k* scale *l* direction; *n* is a constant, it is assigned to 150 in our experiments; \( {T_k}_{\mathrm{high}}^l \) is inversely proportional to the decomposition scale. That is, the higher the frequency of the decomposition coefficient, the stronger the enhancement degree of the coefficient. While for the low-frequency coefficient, the enhancement curve tends to be gentle.

### 2.3 The overall framework of the algorithm

- (1)
Decompose the original image by NSST to

*K*levels and*L*orientations. - (2)
Normalize the two highest frequency scales of coefficients in order to prepare them to be enhanced.

- (3)
Calculate the standard variance of the normalized coefficients in each layer and direction.

- (4)
Calculate the two enhancement thresholds for each layer and direction and use the thresholds to determine the form of the enhancement function.

- (5)
Enhance the normalized coefficients by the enhancement function.

- (6)
Anti-normalize the enhanced coefficients.

- (7)
Recompose the image by the enhanced high-frequency coefficients and the original low-frequency coefficients.

Our algorithm is suitable to enhance grayscale images. Since it can suppress noise signals by the first threshold, it can also be used to enhance noisy images.

## 3 Experiment results and discussion

A set of grayscale images is used to demonstrate the performance of the proposed algorithm. The images include the standard 8-bit grayscale images of Lena, Barbara, and an infrared image. The hardware platform of the experiment is a desktop computer with 3.2 GHz CPU and 4 G RAM.

Objective evaluation parameters for Lena image set

Lena | CII | EPI | Running time(ms) |
---|---|---|---|

Wavelet | 1.0295 | 1.0771 | 3.201676 |

NSCT | 1.0639 | 2.0942 | 85.199992 |

NSST | 1.0734 | 2.3440 | 5.709889 |

Objective evaluation parameters for Barbara image set

Barbara | CII | EPI | Running time(ms) |
---|---|---|---|

Wavelet | 1.0189 | 1.0172 | 3.190038 |

NSCT | 1.1463 | 1.8084 | 86.739811 |

NSST | 1.1961 | 2.0732 | 5.205702 |

Objective evaluation parameters for the infrared image set

Infrared image | CII | EPI | Running time(ms) |
---|---|---|---|

Wavelet | 1.1026 | 1.0318 | 3.903247 |

NSCT | 1.2514 | 2.1303 | 86.213432 |

NSST | 1.2542 | 2.5644 | 8.812085 |

By contrast, we can find that the performance of NSST and NSCT is much better than that of wavelet by human eyes, especially at the detail parts. We choose three evaluation parameters to evaluate the enhancement methods. They are contrast improvement index (CII) [17], edge preservation index (EPI) [18], and running time. The objective evaluation results listed in Tables 1, 2, and 3 show that the proposed algorithm improves the image contrast and maintains the details. The running time of the program is acceptable.

Objective evaluation parameters for the noisy image set

Noisy image | CII | EPI | ENL |
---|---|---|---|

Wavelet | 1.0239 | 0.9223 | 6.9334 |

NSCT | 1.0149 | 2.3633 | 6.9136 |

NSST | 1.0576 | 4.6326 | 6.5254 |

## 4 Conclusions

NSST can be used as a promising method in image processing tasks, such as denosing, fusion, enhancement. We propose a non-linear enhancement algorithm in wireless sensor networks. Two thresholds of the enhancement function are selected adaptively according to the standard variation of the coefficients and the decomposition scale. Experiment results show that our method performs well on the enhancement of both standard gray images and infrared image. And it can also be used to enhance noisy images since it has a good ability of suppress noises among signals.

## Notes

### Acknowledgements

The authors would like to thank Tianjin Key Laboratory of Wireless Mobile Communications and Power Transmission for the support.

### Funding

The funding was given by Tianjin Edge Technology and Applied Basic Research Project (14JCYBJC15800), Tianjin Normal University Doctoral Foundation (52XB1603), Tianjin Normal University Application Development Foundation (52XK1601) in China.

### Availability of data and materials

The datasets supporting the conclusions of this article are included within the article (and its additional file(s)).

### Authors’ contributions

YT and JC conceived and designed the study. Both authors read and approved the final manuscript.

### Competing interests

The authors declare that they have no competing interests.

### Consent for publication

Not applicable

### Ethics approval and consent to participate

Not applicable

### References

- 1.Q Liang, Situation understanding based on heterogeneous sensor networks and human-inspired favor weak fuzzy logic system. IEEE Syst. J.
**5**(2), 156–163 (2011)CrossRefGoogle Scholar - 2.Q Liang, X Cheng, S Huang, D Chen, Opportunistic sensing in wireless sensor networks: theory and applications. IEEE Trans. Comput.
**63**(8), 2002–2010 (2014)MathSciNetCrossRefGoogle Scholar - 3.T Zeng, T Zhang, W Tian, C Hu, Space-Surface Bistatic SAR image enhancement based on repeat-pass coherent fusion with Beidou-2/Compass-2 as illuminators. IEEE Geosci. Remote Sens. Lett.
**13**(12), 1832–1836 (2016)CrossRefGoogle Scholar - 4.JY Chiang, YC Chen, Underwater image enhancement by wavelength compensation and Dehazing. IEEE Trans. Image Process.
**21**(4), 1756–69 (2012)MathSciNetCrossRefGoogle Scholar - 5.M Liu, X Sun, H Deng, C Ye, X Zhou, Image enhancement based on intuitionistic fuzzy sets theory. IET Image Proc.
**10**(10), 1–9 (2016)Google Scholar - 6.R Xiong, H Liu, X Zhang, J Zhang, S Ma, F Wu, W Gao, Image denoising via bandwise adaptive modeling and regularization exploiting nonlocal similarity. IEEE Trans. Image Process.
**25**(12), 5793–5805 (2016)MathSciNetCrossRefGoogle Scholar - 7.W Dong, X Wu, G Shi, Sparsity fine tuning in wavelet domain with application to compressive image reconstruction. IEEE Trans. Image Process.
**23**(12), 5249–5262 (2014)MathSciNetCrossRefGoogle Scholar - 8.V Bhateja, H Patel, A Krishn, A Sahu, Multimodal medical image sensor fusion framework using cascade of wavelet and Contourlet transform domains. IEEE Sensors J.
**15**(12), 6783–6790 (2015)CrossRefGoogle Scholar - 9.S Yang, W Min, L Zhao, Z Wang, Image noise reduction via geometric multiscale ridgelet support vector transform and dictionary learning. IEEE Trans. Image Process.
**22**(11), 4161–4169 (2013)MathSciNetCrossRefGoogle Scholar - 10.WQ Lim, The discrete shearlet transform: a new directional transform and compactly supported shearlet frames. IEEE Trans. Image Process.
**19**(5), 1166–80 (2010)MathSciNetCrossRefGoogle Scholar - 11.GR Easley, D Labate, WQ Lim, Sparse directional image representations using the discrete shearlet transform. Appl. Comput. Harmon. Anal.
**25**(1), 25–46 (2008)MathSciNetCrossRefMATHGoogle Scholar - 12.G Gao, L Xu, D Feng, Multi-focus image fusion based on non-subsampled shearlet transform. IET Image Process.
**7**(6), 633–639 (2013)CrossRefGoogle Scholar - 13.HR Shahdoosti, O Khayat, Image denoising using sparse representation classification and non-subsampled shearlet transform. SIViP
**10**(6), 1–7 (2016)CrossRefGoogle Scholar - 14.AF Laine, S Schuler, J Fan, W Huda, Mammographic feature enhancement by multi scale analysis. IEEE Trans. Med. Imaging
**13**(14), 725–740 (1994)CrossRefGoogle Scholar - 15.G Wang, L Xiao, AZ He, Algorithm research of adaptive fuzzy image enhancement in ridgelet transform domain. Acta Opt. Sin.
**27**(7), 1183–1190 (2007)Google Scholar - 16.Y Tong, M Zhao, Z Wei, L Liu, Synthetic Aperture Radar image nonlinear enhancement algorithm based on NSCT transform. Physical Communication
**13**, 239–243 (2014)CrossRefGoogle Scholar - 17.Y Cheng, D Xue, X Han, An images enhancement algorithm combined with wavelet and curvelet. J Eng Graphics
**30**(3), 100–104 (2009)Google Scholar - 18.SK Narayanan, RSD Wahidabanu, A View on Despeckling in Ultrasound Imaging. International Journal of Signal Processing, Image Processing and Pattern Recognition
**2**(3), 85–98 (2009)Google Scholar - 19.SN Anfinsen, AP Doulgeris, T Eltoft, Estimation of the equivalent number of looks in polarimetric synthetic aperture radar imagery. IEEE Trans. Geosci. Remote Sens.
**47**(11), 3795–3809 (2009)CrossRefGoogle Scholar

## Copyright information

**Open Access**This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.