Abstract
Nowadays, sensors have generated more and more images than before, and parallel processing capacity shows great importance in massive image denoising tasks. Those images are always various in quality and hard to recognize by human or computer. In consequence, massive image denoising are essential. In this paper, two kinds of filter based on Quasi-Newton method called CB and BB filter are proposed, which takes the Newton iteration algorithm as the mathematical basis. Both two filters were achieved with MATLAB to produce the n product n matrix filter. The difference is that the CB filter process the pixels from the image center to the edge, while the BB filter process the pixels from the upper left of the image to the lower right boundary. To illustrate the effectiveness of CB and BB filter, we analyze key indicators after the massive image denoising with massive remote sensing image and high resolution image. We also compared the two filters with the traditional FastICA algorithm. The results indicate that the CB and BB filter have their own advantages in different type of image. The two filters both can effectively improve the massive image quality and enhance the visual effect.
Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.Avoid common mistakes on your manuscript.
1 Introduction
Nowadays, massive images in the internet lead a advancement in the image processing, and CUDA parallel processing is introduced into the image processing due to the superior processing capacity. Vision is the main channel for people to obtain external information, so using a variety of different observation systems to obtain the application of video image is very extensive. But due to various factors, the image quality declines, such as the defects of imaging equipment, system defocus, relative motion of object and imaging system, illumination and so on external environment factors interference [19]. The image is always low in contrast and small in dynamic range, polluted by noises, and fuzzy in edge so that the image understanding has been seriously affected. It has an impact on the people’s normal access to information from the digital image, especially the video image obtained from the video surveillance equipment [3].
With the rapid development of communication technology and network technology, the large-scale transmission of image data has become reality, meanwhile, the transmission speed has also been improved [6]. It is common for image data to be transferred from one computer to another, from one plant to another, from one city to another, and even between Earth and spacecraft [4]. Nowadays, in many practical field, people rely on image data even more than before. People also pay more attention to the quality of image quality [17]. Because of the interference within the system itself or come from the external environment, the image data does not always reflect the true information. This situation to the real life, production has brought a lot of inconvenience. To eliminate noise and obtain more accurate image information, many scholars have carried out in-depth study of various denoising models [7].
2 State of the art
The purpose of image denoising is to reduce the noise in the image as much as possible while preserving the original texture feature and details in the image as much as possible. Image denoising method uses a variety of filtering techniques, multi-point smoothing method from the known noise-containing images to remove the noise component. It is often an image that is contaminated by unpredictable noise [16]. The presence of these noises obscures the details of the image and renders the target unrecognizable, which seriously affects the subsequent application of the image. Therefore, the image denoising technique has been paid more and more attention by scholars, and has gradually developed into an important branch of image processing. In the 1940s, N. Wiener et al. Proposed the well-known Wiener filter theory, which illustrates the linear filtering theory under balanced conditions, which are applied in image processing and are also widely used in other fields [13]. However, the linear filtering is for the development of stationary signal processing, and for this non-stationary image signal, the linear filtering method is obviously inappropriate, especially the linear filtering of the multiplicative noise and impulse noise denoising ability is poor [15]. It also causes the edge blur, but has the very good smooth function to the additive noise linear filter. Turkey in 1971 proposed the idea of median filter, this method was later used in image processing to filter out image noise, get a better effect [9]. Since then, non-linear filtering in the international community to rise quickly and widely, from a different point of view a variety of improvements in the median filter and a variety of nonlinear filtering algorithm [8].
Wavelet analysis is a range of window methods that can be used to obtain more accurate low-frequency information at long intervals. It can obtain high-frequency information in short time intervals, thus effectively overcoming the problem of processing non-stationary complex image signals. The limitations of the method still existence [14]. And wavelet transform has the ability of multi-resolution analysis, more adapt to the visual characteristics of the human eye, so in the field of image denoising, wavelet transform plays a very important role. The wavelet transform is a transformation of the signal into a time domain and a scale domain. Different scales correspond to different frequency ranges. Therefore, wavelet transform is a good analysis for time-frequency signals such as image signals tool. Wavelet analysis of the time-frequency localization characteristics of the original image of the low-frequency part of the high-frequency part of the transformed coefficients are more concentrated, and not like the formation of amplitude dispersion. The number of codes to be encoded in the case of keeping the same detailed information is compared [1].
Independent component analysis is a blind source separation method that can directly isolate the source signal by observing the signal. Its development can be traced back to the concept of the first time in the early nineteenth century [18]. The independent component analysis method was applied to blind source separation. It has been widely used in image analysis, noise reduction, signal separation and other fields [12].
The redundant wavelet transform can be regarded as an approximate continuous wavelet transform. Firstly, the decomposition problem of the image was studied under the two-dimensional orthogonal wavelet basis. From the perspective of the digital filter, the discrete wavelet decomposition can be realized by a two-channel filter bank [10]. That is, a digital signal through the low-pass filter and high-pass filter, and then the next two sampling to remove the signal redundancy, making the signal length remains unchanged. However, the redundancy of the signal helps to reduce the sensitivity of the signal to noise and improve the time shift invariance of the transform. Redundant wavelet transform has time-invariant characteristics. Compared with traditional wavelet transform, redundant wavelet transform reduces the upsampling process in the process of down-sampling and reconstruction. At each level of decomposition, the output factor is twice the input factor, while the filter bank needs to be sampled to accommodate the growing data [2].
3 Image Denoising algorithm
For comparing purpose, we present the FastICA method in this section. And the improved quasi-Newton method was also proposed in this section.
3.1 FastICA algorithm
The FastICA algorithm can find a weighted vector w t in W, w t satisfy the projection y t = w T x with maximum Non-Gaussian property. The algorithm can separate a component from the observation signal. The Non-Gaussian property of equation y t = w T x is measured with negative entropy. The negative entropy value is defined by:
In which G is an arbitrary non-quadratic function, y t is a random variable with zero mean and unit variance. v is a Gaussian random variable with zero mean and unit variable. Substituting y t = w T x in (1) get:
Concluded from (1) and (2), the iteration method of the FastICA is:
In witch k is the number of iteration, each time after iteration, the weighted vector w i (k + 1) is normalized with:
3.2 Improved Quasi-Newton method
Quasi-Newton method is an important method of solving, simple in steps and wide in application scope, but it requires a lot of computations. And MATLAB is a powerful computing tool, so making use of MATLAB to achieve the calculation of the Quasi-Newton method can greatly save time.
For the geometric meaning of f(x) = 0 Newton method, the point near the root x* is taken. As the approximate value of the equation, make tangent line through the point (×0, f(×0)) on the curve y = f(x), and it is used as the approximation of y = f (x). The intersection point x1 of the tangent and the X axis is taken as the second approximation of the root x*, and continue to do it, then get the iterative (5).
Set x* as the single root of f(x) = 0. There is f(x*) = 0,f’(x*) ≠ 0,then \( {g}^{\hbox{'}}\left({x}^{\ast}\right)={x}_n-\frac{f\left({x}^{\ast}\right){f}^{\hbox{'}}\left({x}^{\ast}\right)}{{\left[{f}^{\hbox{'}}\left({x}^{\ast}\right)\right]}^2} \)=0,so near x*, there is |g '(x)| < 1. According to fixed point theorem, the convergence of Quasi-newton method can be obtained.
The improved quasi-newton method was:
In which x is the observed signal, w is the weighted vector, w T x is the projection of vector, wg is a randomly non-polynomial function, λ is an non zero coefficient.
The flowchart of quasi-newton method was shown in Fig. 1.
3.3 CB (center to boundary) wave filter
The minimum distance between the center pixel and the field can effectively reflect the noise pixel, and the distance value represents the relationship between the good pixels and the noise pixels. It is assumed that the maximum noise is difficult to affect the surrounding pixels. This paper, taking the Quasi-Newton method as the mathematical basis, proposes two kinds of filters, which are called CB (Center-to-Boundary) filter and BB (Boundary-to-Boundary) filter. In the CB filter, applying Newton iterative formula, viewing the pixels from the center to the edge and adopting (7) to calculate the distance between them:
Among them, Ci represents the center pixel, and Cj is the neighborhood pixel. It is assumed that the center pixel value is 1, using 4-connectivity and Newton formula to calculate the distance between the center pixel and the neighborhood, and then use the same method to deal with all the pixels, and the processed pixel will not be processed any longer. We assume that (9) showed the 5 × 5 mask CB filter we wanted to calculate.
According to the (9), the X14, X12, X8, X18 are four neighborhood values of X13. Assuming that C (X13, four neighborhoods center pixels) =1, then according to (6), (7), (8), calculate the values of the four neighborhoods:
Guided by the same principle, we can get:
Similarly, we calculate the pixel value (X9, X19, and X15) of X14. Since that X13 is viewed, it is not calculated again.
Similarly, we can get:
Calculate the value (X4, X10) of X9 neighborhood. Since that X4 and X8 are viewed, they are not calculated again.
Similarly, we can get:
For 5 × 5 filter, we calculate the neighborhood value X5 of X4. Since that X3 and X9 are viewed, they are not calculated again.
In consequence, we can get:
Applying Newton formula to calculate all the values in 5 × 5 filter, as is shown in (16).
For larger images to be processed, it needs for a larger filter. In the following, algorithm is given to calculate the filter, which is based on Newton’s formula, using MATLAB to achieve n × n filter algorithm. Based on this, it is possible to choose filters with different sizes according to requirements. In this study, 3 × 3 filter is mainly selected, as shown in (17).
The specific algorithm is as follows: 1) randomly select n * n matrix; 2) check parity of matrix. If it is even matrix, then quit; otherwise, execute step three; 3) initialize the center pixel of matrix, that is to say, Ci = 1; 4) apply 4-connectivity to view all the pixels from the center to the neighborhood; 5) apply Newton formula (4), on the basis of the fourth step, to calculate the value of the neighborhood \( {C}_j={C}_i-\frac{f\left({C}_i\right)}{f^{\hbox{'}}\left({C}_i\right)} \); 6) repeat the step 4 and step 5, until all the pixels are viewed. (notice: the pixels have been viewed are not viewed again; 7) quit.
3.4 BB (boundary-to-boundary) wave filter
Relatively to CB filter, distance calculation of BB filter is carried out from the left upper edge to the lower right edge, and assuming that the first value on the left edge is “1”, then according to the Newton formula (1), (2), (3), calculate four neighborhood values. Similarly, the values viewed are no longer repeated the calculation. Using the same method, the size of 5 * 5 filter can be calculated, as shown in (18).
In practical application, for processing large images, it may require larger filter, which makes the calculation more trouble. Also taking Quasi-Newton method as the foundation, MATLAB is used to realize the calculation of n × n filter, so it is possible to, according to the different needs, choose different size filters for image processing. In this paper, 3 * 3 size filter is still selected, which is shown in (19).
The specific algorithm is as follows: 1) randomly select n * n matrix; 2) check parity of matrix. If it is even matrix, then quit; otherwise, execute step three; 3) initialize the center pixel of matrix, that is to say, Ci = 1; 4) apply 4-connectivity to view all the pixels from the center to the neighborhood; 5) apply (20), on the basis of the fourth step, to calculate the value of the neighborhood
6) repeat step 4 and step 5, until all the pixels are viewed. (Notice: the pixels have been viewed are not viewed again); 7) quit.
3.5 MPI and openMP and CUDA heterogeneous system
In the GPU cluster, in addition to the huge computing power of GPU, there are also multi-core CPU processor resources, MPI + open MP + CUDA system can coordinate through the parallel structure to utilize the full development of these resources. The parallel improved Quasi-Newton algorithm with the MPI + open MP + CUDA system was used to process massive image denoising task. The flow chart is shown in Fig. 2. The heterogeneous system combined the two-level parallel hyperspectral data input in MPI + openMP structure and two-level parallel covariance matrix calculation in MPI + CUDA system. The MPI + openMP + CUDA system can maximize the parallel performance of every single GPU in the GPU cluster.
4 Results and discussion
To illustrating the effectiveness of CB and BB filter in image denoising, we carried out a large number of simulation experiments. We use the RSSCN7 data sets as the remote sensing data sets. We used the Urban100 dataset as the high-resolution dataset [5, 11]. In the following, massive remote sensing images (set A, B, C) and high resolution images (set D, E) are taken as examples, and compared with the image after FastICA algorithm, also quantitatively analyzed by using different indicators. The indicators adopted to evaluate are: Mean Square Error (MSE), Peak Signal-to-Noise Ratio (PSNR) and Quality Measure of Image Enhancement (EME). These algorithms can be applied to n * n mask. In this study, we only use the 3 * 3 mask and the image to carry out the convolution, and the processed results are achieved in MATLAB. Figure 3 shows the image denoising example of image D with different denoising algorithm.
4.1 Contrast entropy
In the evaluation of the image, the contrast entropy is an important index. For a random event E, if the probability it appears is P(E), then the information contained in it can be expressed as:
For the gray image, when the value of the entropy reaches the maximum, it is the moment when all the gray values appear equal probability. According to the theory of entropy, the larger the entropy, the more the information contained in the image, and the more abundant the details of the image. The contrast entropy is to increase the brightness of pixel points that are higher than the average gray value in the image to 10, while the brightness of pixel points that are lower than the average value is decreased by 10, and the image gray is pulled to both sides to make the image contrast degree improved. And the processed image contrast degree is improved. Thus, for measuring the effectiveness of CB and BB filter image processing, select different remote sensing images (set A, B, C) and infrared image (set D, E) to process, choose the optimal evaluation standard contrast entropy to evaluate the image processing results, and compare with the image processed by traditional FastICA. Through calculation, we get the parameters EME values after image applying different filters, as shown in Fig. 4.
We can see from Fig. 3 that the processing results of CB Filter and BB Filter are different. The processing results of remote sensing image BB Filter is better than that of FastICA, while the image results after CB Filter and FastICA processing have little difference. According to the definition, the image after BB Filter processing contains the maximum amount of information, and the detail loss is relatively less, so the image contrast after processing is large and the processing effect is good. The infrared image CB Filter processing results are better than that of FastICA processing, while the processing results of BB Filter and FastICA treatment are not very different. However, the image processed by CB Filter contains the maximum amount of information, and the detail loss is relatively less, so the contrast of image after processing is large, and the processing effect is good. Overall, the results of the two filters processing image are better than that of the average filter.
4.2 Mean square error
Mean square error evaluation criteria can reflect the difference between the original image and the restored image in general, and the Fig.5 shows the mean square error after processing the image with different filters.
As can be seen from Fig. 5, the value of the image after BB filter is generally less than the value of the FastICA and CB filter, which shows that the image effect of BB filter is better, and it can also be seen that the results of CB filter processing is the worst.
4.3 Peak signal-to-noise ratio
Fig. 6 is the value of the peak signal-to-noise ratio after processing image with different filters.
Comparison of image parameters for set A and set B, two set of images after using different filters processing are given in Fig. 6. From the data in the figure, we can see that the peak signal-to-noise ratio of CB Filter is the minimum, whose processing results are not so good as that as BB Filter and FastICA. According to the calculation results of the peak signal-to-noise ratio of the parameters, the effect of BB Filter image processing is the best, followed by FastICA, and the processing effect of CB Filter is the worst. But in the processing, no matter what kinds of filters they are, there are missing details of the original image to a certain extent, in which the CB Filter losses the most information, and BB Filter losses the least information. This will enable the edge and detail of image after being processed becomes smooth and blurred at different degrees.
The objective evaluation method refers to the physical evaluation methods. The results of the evaluation are compared with the prescribed standards. The objective evaluation method is fast, stable and easy to quantify. The common image quality evaluation method always resulted in the great difference of gray value in the standard image and the evaluating image. The image quality evaluation method mainly adopts the error evaluation method that is to calculate the statistical error between the filtered image result and the original “clean” image to realize the denoising. The smaller the error, the smaller the statistical difference is, that means the higher mark of image quality evaluation.
5 Conclusion
Influenced by various factors, the quality of massive remote sensing images and infrared images declined in various observation systems. The massive images show low contrast, small dynamic range, noise pollution effect, fuzzy edge and other problems in general. In consequence, image quality has been seriously affected. To solve the problem, before the target identification and resolution, it requires to carrying out image denoising and enhancement process. On this basis, we adopted Quasi-Newton method, generated CB filter and BB filter, then experimented the filter and massive sensing images and infrared images to carry out convolution to obtain the noise-removed image. At the same time, we evaluate the CB filter and BB filter with contrast entropy, mean square error and peak signal-to-noise ratio. Those two filters were compared with the traditional FastICA denoising methods. The comparison results indicate that the proposed CB filter and BB filter denoising methods are feasible and effective. Compared to the image processed by the FastICA method, CB and BB filter can effectively improve the image quality and enhance the visual effect based big data technologies.
References
Ai D, Yang J, Fan J, Cong W, Wang X (2015) Denoising filters evaluation for magnetic resonance images. Optik-International Journal for Light and Electron Optics 126(23):3844–3850
Alzarok, Hamza, Simon Fletcher, and Andrew P. Longstaff. (2016) A new strategy for improving vision based tracking accuracy based on utilization of camera calibration information. In Automation and Computing (ICAC), 2016 22nd International Conference on, pp. 278–283. IEEE
Aum J, Kim J-h, Jeong J (2015) Effective speckle noise suppression in optical coherence tomography images using nonlocal means denoising filter with double Gaussian anisotropic kernels. Appl Opt 54(13):D43–D50
Goyal, Garima. (2016) Improved Image Denoising Filter using Low Rank & Total Variation. Global Journal of Computer Science and Technology 16, no. 1
Huang, Jia-Bin, Abhishek Singh, and Narendra Ahuja. (2015) Single image super-resolution from transformed self-exemplars. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition
Jin J, McKenzie E, Fan Z, Tuli R, Deng Z, Pang J, Fraass B et al (2016) Nonlocal means Denoising of self-gated and k-space sorted 4-dimensional magnetic resonance imaging using block-matching and 3-dimensional filtering: implications for pancreatic tumor registration and segmentation. Int J Radiat Oncol Biol Phys 95(3):1058
Khmag A, Ramli AR, Al-Haddad SAR, Hashim SJ, Noh ZM, Najih AAM (2015) Design of natural image denoising filter based on second-generation wavelet transformation and principle component analysis. Journal of Medical Imaging and Health Informatics 5(6):1261–1266
Kim M, Park D, Han DK, Ko H (2015) A novel approach for denoising and enhancement of extremely low-light video. IEEE Trans Consum Electron 61(1):72–80
Kour, Simranjit, and Bikrampal Kaur. (2015) Hybrid filter with wavelet denoising and anisotropic diffusion filter for image despeckling. In 2015 I.E. International Conference on Computer Graphics, Vision and Information Security (CGVIS), pp. 17–21. IEEE
Kumudham, R., Aparna Swaminathan, and V. Rajendran. (2016) Comparison of the performance metrics of median filter and wavelet filter when applied on SONAR images for denoising. In Computation of Power, Energy Information and Commuincation (ICCPEIC), 2016 International Conference on, pp. 288–290. IEEE
Lin S, Lin F, Chen H, et al. (2016) A MOEA/D-based Multi-objective Optimization Algorithm for Remote Medical [J]. Neurocomputing
Miura, Yasuyuki, and Yuta Fujii. (2015) The examination of the image correction of the moving-object detection for low illumination video image. In Consumer Electronics-Taiwan (ICCE-TW), 2015 I.E. International Conference on, pp. 35–36. IEEE
Miura, Yasuyuki, Taishi Sueyoshi, and Takafumi Mori. (2016) Optimization scheme of denoising method for the moving-object recognition for low-illuminance video-image. In Consumer Electronics-Taiwan (ICCE-TW), 2016 I.E. International Conference on, pp. 1–2. IEEE
Pawar, Archana, and Sonali Bodkhe. (2015) A novel technique for the scanned color image descreening. In 2015 Annual IEEE India Conference (INDICON), pp. 1–4. IEEE
Stehly L, Froment B, Campillo M, Liu QY, Chen JH (2015) Monitoring seismic wave velocity changes associated with the mw 7.9 Wenchuan earthquake: increasing the temporal resolution using curvelet filters. Geophys J Int 201(3):1939–1949
Uddin, Nasir, and Sayeed Ghani. (2015) Analysis of the Markov chain denoising filter dispersion parameter. In 2015 International Conference on Information and Communication Technologies (ICICT), pp. 1–6. IEEE
Wong, Tak-Shing, and Peyman Milanfar. (2016) Turbo denoising for mobile photographic applications. In Image Processing (ICIP), 2016 I.E. International Conference on, pp. 988–992. IEEE
Yang, Zhi, and Michael D. Silver.(2015) Denoising method and system for preserving clinically significant structures in reconstructed images using adaptively weighted anisotropic diffusion filter. U.S. Patent 8,938,105, issued January 20
Zhou, Weijie, and Yasuyuki Miura. (2016) Denoising method using a moving-average filter for the moving-object recognition of low-illuminance video-image. In Consumer Electronics-Taiwan (ICCE-TW), 2016 I.E. International Conference on, pp. 1–2. IEEE.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Wang, J. Application of improved Quasi-Newton method to the massive image denoising. Multimed Tools Appl 77, 12157–12170 (2018). https://doi.org/10.1007/s11042-017-4863-y
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11042-017-4863-y