Next Article in Journal
Speciation of Iron and Aluminum in Relation to Phosphorus Sorption and Supply Characteristics of Soil Aggregates in Subtropical Forests
Previous Article in Journal
Accessibility Improvement and Renewal of Urban Park Green Space for the Elderly and the Disabled
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Denoising Scheme for Scanned Wood Grain Images via Adaptive Color Substitution

1
School of Art and Design, Changzhou University, Changzhou 213164, China
2
College of Furnishings and Industrial Design, Nanjing Forestry University, Nanjing 210037, China
*
Author to whom correspondence should be addressed.
Forests 2023, 14(9), 1803; https://doi.org/10.3390/f14091803
Submission received: 10 August 2023 / Revised: 1 September 2023 / Accepted: 2 September 2023 / Published: 4 September 2023
(This article belongs to the Section Wood Science and Forest Products)

Abstract

:
Real-world image denoising is a challenging problem in low-level vision. In order to reduce the luminance noise on scanned wood grain images randomly generated by the Microtek Phantom 9900XL scanner, the images were classified and sorted according to the noise size. The proposed denoising scheme reduces noise by substituting dissimilar pixels within a certain window size. The No.1 to No. 6 wood images with noise size of approximately (or no greater than) 3 pixels × 3 pixels were processed using coarse denoising with a 7 × 7 window ( α = 100, β = 30), fine denoising with a 5 × 5 window ( α = 90, β = 40), and the Dust & Scratches filter at settings of 1 (pixels) and 35 (levels). The No.7 to No. 16 wood images with noise size of approximately (or no greater than) 1 pixel × 1 pixel were processed using fine denoising with a 5 × 5 window ( α = 100, β = 30), and the Dust & Scratches filter at settings of 1 (pixel) and 35 (levels). The proposed Scheme I and II was then compared with Wiener filtering, Gaussian filtering, median filtering, and the Dust & Scratches filter under designated settings. The results of subjective and objective evaluations demonstrated that the proposed Scheme outperformed the above denoising methods on reducing the luminance noise. When using the median values of R (red), G (green), and B (blue) channels within a certain window to substitute the R, G, and B values of the luminance noise, the denoising ranges of α 100 and β 30 were suitable for the No.1 to No.16 wood images.

1. Introduction

Various visual characteristics of wood, which are broadly categorized into rich colors, varied textures, and mellow gloss, contribute to the unique appearance of wood. To imitate such excellent visual characteristics of natural wood grain, wood veneer [1] and decorative papers have been widely applied in the finishings of construction, panels, large furniture products, etc. These two surface decoration techniques, as well as the three-dimensional (3D) wood grain produced by ultraviolet (UV)-curable inkjet printing, are all realized based on two-dimensional (2D) images [2]. Thus, this paper will focus on the 2D digital wood grain that can be applied to the surface decoration of forest products. Unique from the research purposes of classification or recognition of wood species [3] and the detection of defects on wood surfaces [4], digital wood grain used for surface decoration is generally acquired in a static environment rather than a dynamic one.
Scanners and cameras are the commonly-used devices for the static image acquisition. In particular, flatbed scanners have the advantages of uniform illumination and freedom from stray light. The ability to recognize the nuances of color gradients is superior on charge-coupled device (CCD) scanners; color fidelity is greater and the range of colors is also wider [2]. As a result, the flatbed CCD scanner is often selected as the equipment for the digitization of color wood grain when it comes to the surface decoration with wood grain.
The optically scanned images captured using scanner sensors are often contaminated by noise (undesired random signal) [5,6,7]. The noise filter Dust & Scratches in Photoshop CC 2018 (Adobe Inc., San Jose, CA, USA) can reduce different types of noise by changing dissimilar pixels, and the balance between hiding defects and protecting image details can be achieved if it is controlled properly [8]. However, image details will be damaged to varying degrees when using the Dust & Scratches filter to reduce noise.
To solve this problem, Wen et al. [9] presented an efficient denoising method based on a Shearlet applied on the tree radar images, and proved that the proposed method had the best denoising performance in preserving the edge information. To promote structural smoothness and edge preservation in the image, Tan et al. [10] introduced a novel denoising method by combining the total variation (TV) regularization. To sum up, existing studies on image denoising methods are mostly aimed at reducing noise; meanwhile, enhancing or protecting image edges and textures.
Image denoising algorithms can be roughly divided into spatial-domain-based denoising, spatial-frequency-domain-based denoising, partial differential equations (PDE) denoising, the state-of-the-art algorithms such as C-BM3D (color version of block-matching and 3D filtering) [11], MC-WNNM (multi-channel weighted nuclear norm minimization) [12], TWSC (trilateral weighted sparse coding) [13], EPLL (expected patch log-likelihood) [14], etc., and so on.
The authors normally assume that the noise of distorted images is additive white Gaussian noise (AWGN) [15]. For example, Abdul Hamid et al. [16] proposed an image denoising module for wood images by using the expectation–maximization (EM) adaption algorithm, and the performance of the proposed module was compared to several classic denoising filters at various AWGN noise levels. The downside is that the EM adaption algorithm will become much less effective when dealing with the realistic noise captured by CCD cameras, because the realistic noise is much more complex than AWGN [13]. The testing of the effectiveness of these denoising algorithms on the publicly available real-world noisy image datasets is still demanded [17].
However, industrial wood images are different from the publicly available ones. Because of the disparate shooting or scanning conditions, the above-mentioned algorithms can still be invalid in the denoising of the scanned wood grain images even if the effectiveness of these algorithms on the publicly available image datasets has been tested. Moreover, for the images that will be applied to the large-scale production of decorative wood grain, these denoising algorithms in the literature are time-consuming and inefficient, since shorter processing time is crucial when dealing with large wood image databases [16].
In this paper, a denoising scheme for the scanned wood grain images via adaptive color substitution was proposed. It can be directly applied to realistic noise captured by CCD cameras. Weight matrices to characterize the statistics of realistic noise and the publicly available real-world wood image datasets are not necessary, which is of great convenience for wood grain image processing. Specifically, after analyzing the luminance noise on the scanned wood images randomly generated by the Microtek Phantom 9900XL scanner, the median values of R (red), G (green), and B (blue) channels within a certain window were used to substitute the R, G, and B values of the luminance noise that meet certain conditions, respectively. This denoising scheme is low in complexity, thereby, fast in computation, and especially suited to images that will be applied to large-scale production of decorative wood grain. Not only can it reduce the randomly generated noise on the scanned wood images effectively, but also preserve the texture details.

2. Materials and Methods

2.1. Source of Wood Images

The wood images for surface decoration were from 16 solid wood panels of different tree species. The surfaces of the solid wood panels were polished by waterproof abrasive 400-mesh paper and roller coated with waterborne transparent coatings. These clear and flat surfaces were then scanned by a CCD technology scanner (Phantom 9900XL, Microtek Co., Suzhou, China) with light-emitting diode (LED) light system, used according to reference [8].
One scanned plane was taken from each of the solid wood panels. Next, the 16 scanned planes were cropped to 120 mm × 900 mm (length × width), based on the size of the solid wood panels, and stored in a lossless TIFF format at 8 bits/channel and 300 pixels/inch resolution. Consequently, the image size of each scanned plane was 1417 pixels × 10,630 pixels with 256 gray levels.
Table 1 shows the basic information of the 16 solid wood panels. They have been classified and sorted by the following rules: No.1 to No.6 are the scanned planes with noise size of approximately (or no greater than) 3 pixels × 3 pixels, and No.7 to No.16 have noise size of approximately (or no greater than) 1 pixel × 1 pixel.
Table 2 shows the local parts of the scanned planes from No.1 to No.16, and the size of each local image is 59 pixels × 59 pixels (5 mm × 5 mm). The various sensor noises were categorized as either color noise or luminance noise [18]. It is obvious from Table 2 that the noise randomly generated by the Microtek Phantom 9900XL scanner is luminance noise.

2.2. Adpative Color Substitution

2.2.1. Noise Analysis

Table 3 shows the mean, maximum, and minimum values of R, G, and B channels of the wood grain images from No.1 to No.16. Table 4 shows the R, G, and B values of some random noise on these images.
From Table 3, the differences among the means of R, G, and B are significant; while from Table 4, the R, G, and B values of the random noise are quite close and relatively large, which is consistent with the characteristics of the luminance noise [18].
In summary, the R, G, and B values of the luminance noise to be replaced should meet the following conditions:
  • R > α , G > α , and B > α ;
  • R B < β , R G < β , and G B < β ,
where α and β are the constants.
Based on the color values of the wood grain images in Table 3 and the pixel values of the luminance noise in Table 4, α 100 and β 30 are suggested. As α values decrease and β values increase, the probability of detecting the noise is higher.
As can be seen from Table 3, the maximum values of R, G, and B channels are mostly approaching to 255, and the minimum values of the three channels are mostly zero. Therefore, the median values of R, G, and B channels within a certain window were used to substitute the R, G, and B values of the luminance noise, respectively.

2.2.2. Noise-Searching Window

Texture details will be easier to lose and computation speed will be slower when the noise-searching window is large.
For the scanned planes from No.1 to No.6 with noise size of approximately (or no greater than) 3 pixels × 3 pixels, if the window size is set to 5 × 5, the median values within the window are more likely to be the noise pixels. Thus, the noise-searching window for the No.1 to No.6 scanned planes was set to 7 × 7.
The 7 × 7 window is shown in Figure 1a, where c R , G , B , I c ( i , j ) is the pixel value of one point at the image coordinate.
Accordingly, for the scanned planes from No.7 to No.16 with noise size of approximately (or no greater than) 1 pixel × 1 pixel, the window size was set to 5 × 5 (Figure 1b), where c R , G , B , I c ( i , j ) is the pixel value of one point at the image coordinate.

2.2.3. Algorithm Flow

For the scanned planes from No.1 to No.6 with visible noise, the α value was set to 100 and the β value was set to 30 when performing coarse denoising with the 7 × 7 window.
Notably, when performing fine denoising with the 5 × 5 window in the next step, the α value should be less than 100, and the β value should be more than 30, otherwise the luminance noise cannot be detected. Using this method, the image will not be changed in any way. For this reason, the α value was reset to 90 and the β value was reset to 40 when performing the fine denoising.
Since only fine denoising with the 5 × 5 window was to be performed on the scanned planes from No.7 to No.16 with visually unapparent noise, the α value was set to 100 and the β value was set to 30 directly.
Figure 2 presents the algorithm flow chart, which is divided into three steps: (1) Decomposition of the source image, I ; (2) Conditional judgment of the pixel values of R, G, and B channels within a certain window: if R > α , G > α , B > α , R B < β , R G < β , and G B < β , the pixel at a certain point is considered as a noise pixel, and it should be substituted by the median values of R, G, and B channels within the window, respectively; otherwise the pixel at this point remains unchanged; (3) Merging the output R, G, and B channels to obtain the processed image, I o u t .
Because the substituted colors on the processed images could not be naturally fused with the surrounding colors, the noise filter Dust & Scratches at settings of 1 (pixels) and 35 (levels) was used after the above procedures, and the texture details of the non-light-colored wood grain images could be well-preserved at this setting [8].

2.3. Image Quality Assessment

2.3.1. Subjective Observation

Two-scale decomposition was performed on the denoised images for better observation. It separates each source image into a base layer containing the large-scale variations in intensity and a detail layer containing the small-scale details by average filtering [19]. The base layer and detail layer of each source image are obtained as follows:
B c = I c × Z
and
D c = I c B c ,
where c R , G , B , I c is the source image, B c is the base layer, D c is the detail layer, and Z is the average filter.
The size of the average filter was set to 1417 × 1417 as the image size of each scanned plane was 1417 pixels × 10,630 pixels. By selecting this large-size average filtering, the image details are fully extracted [20], thus, making it easier to observe the noise and the denoising effect of wood grain images.
The realistic noise varies among the different channels. As the noise is typically strongest in the blue channel [18], and denoising mainly works on this channel [21]; thus, the detail layer of the blue channel was chosen to exhibit the denoising effect.

2.3.2. Objective Evaluation

The widely-used no-reference image quality assessment (NR-IQA) metrics include the blind image quality index (BIQI) [22], blind/referenceless image spatial quality evaluator (BRISQUE) [23], Natural Image Quality Evaluator (NIQE) [24], Distortion Identification-based Image Verity and Integrity Evaluation (DIIVINE) [25], and so on.
Deviations from the statistical regularities observed in natural images (NI), i.e., the regularity of the natural scene statistic (NSS), enable these space domain algorithms with the capability of assessing the perceptual quality of an image without the need for any reference image [26] or the training on human-rated distorted images [24].
Since the scanned images are natural images [27], two of the NR-IQA metrics BRISQUE and NIQE were chosen to evaluate the quality of the denoised images. The lower these two values are, the better the images are perceived by the human eyes.

3. Results and Discussion

Two types of linear filters, Wiener filtering and Gaussian filtering, the non-linear median filtering, and the noise filter Dust & Scratches at settings of 1 (pixels) and 35 (levels) were compared to the proposed denoising algorithm.
All the experiments were implemented in MATLAB R2018b on a PC with an Intel (R) Core (TM) i7-8550U CPU, 8 GB RAM.

3.1. Denoising of the No.1 to No.6 Wood Images

As the noise size on the No.1 to No.6 wood images was approximately (or no greater than) 3 pixels × 3 pixels, the window size of the Wiener filtering, Gaussian filtering, and median filtering was set to 5 × 5. The window size of the Gaussian filtering is theoretically [6 × sigma − 1]/2 × 2 + 1 ([ ] represents taking an integer), so the standard deviation, σ , should be set to 5/6. If σ is large, the filtering effect improves, but the images become fuzzy [27]. For better denoising effect of the wood images, the σ was unified set to 1 in this paper. The proposed denoising Scheme I to be conducted on these images was divided into three steps:
  • Coarse denoising with the 7 × 7 window, where α = 100, β   = 30;
  • Fine denoising with the 5 × 5 window, where α   = 90, β   = 40;
  • Photoshop denoising using its Dust & Scratches filter at settings of 1 (pixels) and 35 (levels).

3.1.1. Evaluation of Visual Effect

Table 5 displays the local parts of the No.1 to No.6 wood images and their detail layers of the blue channels under different denoising methods. The size of each local image is 118 pixels × 118 pixels (10 mm × 10 mm).
From Table 5, the noise on the No.1 to No.6 wood images denoised using median filtering almost disappeared, but these images were the most vague. The images denoised using Wiener filtering and Gaussian filtering also exhibited ambiguity in varying degrees.
The images denoised using the Dust & Scratches filter at settings of 1 (pixels) and 35 (levels) and the proposed denoising Scheme I retained more texture details, but in terms of denoising effect, the proposed Scheme I was better.
As the evaluation of visual effects could be influenced by subjective consciousness, an objective evaluation was implemented to further illustrate the denoising effect of different methods adopted in wood image processing.

3.1.2. Evaluation of BRISQUE and NIQE

The evaluation values of BRISQUE and NIQE of the No.1 to No.6 wood images under different denoising methods are shown in Table 6, and the normalization results of the corresponding values are shown in Figure 3.
It is noted that the numerical values of BRISQUE and NIQE themselves are not comparable.
From Figure 3, inside the red box, the BRISQUE values of the images denoised using the Dust & Scratches filter and the proposed denoising Scheme I were close and lower than the values of the corresponding originals, as were the NIQE values. This demonstrates that the wood images denoised using these two methods were all improved.
Outside the red box, the BRISQUE values of the images denoised using Wiener filtering, Gaussian filtering, and median filtering were higher than the values of the others. This demonstrates that the wood images denoised by these three methods were degraded, and the evaluation of BRISQUE on wood image quality was consistent with subjective observation. However, the NIQE values of the images denoised using Wiener filtering were abnormally low; according to the visual effect in Table 5, the evaluation of NIQE on wood image quality might be inaccurate.

3.2. Denoising of the No.7 to No.16 Wood Images

As the noise size of the No.7 to No.16 wood images was approximately (or no greater than) 1 pixels × 1 pixels, the window size of the Wiener filtering, Gaussian filtering, and median filtering was set to 3 × 3. The proposed denoising Scheme II which was going to be conducted on these images was divided into two steps:
  • Fine denoising with the 5 × 5 window, where α   = 100, β = 30;
  • Photoshop denoising of Dust & Scratches filter at settings of 1 (pixels) and 35 (levels).

3.2.1. Evaluation of Visual Effect

The No.7 to No.16 wood images denoised by Wiener filtering, Gaussian filtering, and median filtering all exhibited ambiguity to varying degrees.
There were only negligible subjective visual differences before and after these images were denoised using the Dust & Scratches filter at settings of 1 (pixels) and 35 (levels) and the proposed denoising Scheme II; thus, there were unapparent noise on these images and only the results of the objective evaluation for these images are displayed and discussed.

3.2.2. Evaluation of BRISQUE and NIQE

The evaluation values of BRISQUE and NIQE of the No.7 to No.16 wood images under different denoising methods are shown in Table 7, and the normalization results of the corresponding values are shown in Figure 4.
It is noted that the numerical values of BRISQUE and NIQE themselves are not comparable.
From Figure 4, inside the red box, the BRISQUE values of the images denoised by Dust & Scratches filter and the proposed denoising Scheme II were close, as were the NIQE values. Nevertheless, a few of the BRISQUE values of the images denoised using the two methods were higher than the values of the corresponding original images. This might be because there a negligible amount of noise on the No.7 to No.16 wood images; denoising caused image degradation.
Outside the red box, the BRISQUE values of the images denoised using Wiener filtering, Gaussian filtering, and median filtering remained higher, while some of the NIQE values were still abnormally low, which further confirmed the inaccuracy of the evaluation of NIQE on wood image quality.

3.3. Comparison to the Originals

To compare the difference between the processed images and the corresponding original images, the structural similarity (SSIM) [28] measure, based on the spatially localized measure of correlation in pixel values [29] was introduced.
A higher SSIM value means the structure of the processed image closely matches that of the original image, whereas a lower value means less structural similarity to the original. The SSIM values of the No.1 to No.16 wood images under different denoising methods are shown in Table 8.
As seen in Table 8, the SSIM values of the images denoised using the Dust & Scratches filter and the proposed Scheme I and II were both closer to those of the originals. There could be changes in the relationships among the image pixels after the color substitution, leading to lower SSIM values of the proposed Scheme compared to those of the Dust & Scratches filter.
The differences in SSIM of the wood images No.1 to No.6 between the proposed Scheme and the Dust & Scratches filter were larger than the differences of the No.7 to No.16 wood images. This further confirmed that the noise was more distributed on the No.1 to No.6 wood images and verified the effectiveness of the color substitution method.
Overall, the No.1 to No.16 wood images denoised by the proposed Scheme showed more structural similarity to the originals in both subjective and objective evaluations.

4. Conclusions

The realistic noise on real-world noisy images captured by CCD cameras is complex due to the various factors in digital camera pipelines. In this paper, a novel denoising scheme for scanned wood grain images was proposed. It reduces visible noise by substituting dissimilar pixels within a certain window size in the spatial domain.
The No.1 to No.6 wood images denoised using Wiener filtering, Gaussian filtering, and median filtering exhibited ambiguity in varying degrees, and the BRISQUE values of these images were also higher. The images denoised using the Dust & Scratches filter at settings of 1 (pixels) and 35 (levels) and the proposed denoising Scheme I did not show fuzziness, but in terms of their denoising effects, the proposed Scheme I was better. The BRISQUE and NIQE values of these images were close and lower than the values of the corresponding original images, suggesting that the wood images denoised by the two methods were all improved. The results of subjective observation and objective evaluation indicated that the proposed Scheme I could reduce the randomly generated noise on the scanned wood images through color substitution, while preserving the texture details of the wood images with visible noise.
For the No.7 to No.16 wood images denoised using Wiener filtering, Gaussian filtering, and median filtering, the subjective and objective evaluations of them were consistent with those of the No.1 to No.6 wood images denoised by the three methods. There were negligible subjective visual differences between the images denoised by the Dust & Scratches filter at settings of 1 (pixels) and 35 (levels) and the proposed denoising Scheme II. The BRISQUE and NIQE values of these images were also close. The results of subjective observation and objective evaluation indicated that the denoising effect of the proposed Scheme II was consistent with that of the Dust & Scratches filter on the wood images with visually unapparent noise.
The scanned wood images were classified and sorted based on the size of luminance noise, and the classification denoising results showed that the ranges of α 100 and β 30 were suitable for the No.1 to No.16 wood images. Experiments demonstrated that for wood images scanned within the same batch, priority could be given to the analysis and denoising of images with evident noise.
This study focuses on the luminance noise on natural images, i.e., scanned wood grain images, and the ranges of α and β in this paper are only applicable to the denoising of wood images scanned by the Microtek Phantom 9900XL scanner. It is not difficult to find that through adjusting the denoising ranges and the size of noise-searching window, the proposed Scheme can also be applied to the denoising of other types of natural images with luminance noise.
For the other types of noise that may occur on real-world wood images, the method of color substitution may not be appropriate when the relationships among natural image pixels are particularly emphasized. Moreover, the state-of-the-art denoising methods on reducing realistic noise and their computational time should be compared with the proposed Scheme in the future studies.

Author Contributions

Conceptualization, J.M.; methodology, J.M.; software, J.M.; validation, J.M. and Z.W.; formal analysis, J.M.; investigation, J.M.; resources, J.M. and Z.W.; data curation, J.M.; writing—original draft preparation, J.M.; writing—review and editing, J.M. and Z.W.; visualization, J.M.; supervision, J.M. and Z.W.; project administration, Z.W.; funding acquisition, Z.W. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Key R & D Program of China, grant number No. 2016 YFD0600704 and the Research Foundation for Talented Scholars of Changzhou University, grant number ZMF23020128.

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Slabohm, M.; Mai, C.; Militz, H. Bonding Acetylated Veneer for Engineered Wood Products—A Review. Materials 2022, 15, 3665. [Google Scholar] [CrossRef] [PubMed]
  2. Sang, R.; Manley, A.; Wu, Z.; Feng, X. Digital 3D Wood Texture: UV-Curable Inkjet Printing on Board Surface. Coatings 2020, 10, 1144. [Google Scholar] [CrossRef]
  3. Abdul Hamid, L.B.; Mohd Khairuddin, A.S.; Khairuddin, U.; Ruthfalydia, N.; Mokhtar, N. Texture image classification using improved image enhancement and adaptive SVM. Signal Image Video Process 2022, 16, 1587–1594. [Google Scholar] [CrossRef]
  4. Rajagopal, H.; Mohd Khairuddin, A.S.; Mokhtar, N.; Ahmad, A.; Yusof, R. Application of image quality assessment module to motion-blurred wood images for wood species identification system. Wood Sci. Technol. 2019, 53, 967–981. [Google Scholar] [CrossRef]
  5. Gou, H.; Swaminathan, A.; Wu, M. Intrinsic Sensor Noise Features for Forensic Analysis on Scanners and Scanned Images. IEEE Trans. Inf. Forensics Secur. 2009, 4, 476–491. [Google Scholar]
  6. Suneetha, A.; Reddy, E.S. Robust Gaussian Noise Detection and Removal in Color Images using Modified Fuzzy Set Filter. J. Intell. Syst. 2020, 30, 240–257. [Google Scholar] [CrossRef]
  7. Gunawan, R.; Tran, Y.; Zheng, J.; Nguyen, H.; Chai, R. Image Recovery from Synthetic Noise Artifacts in CT Scans Using Modified U-Net. Sensors 2022, 22, 7031. [Google Scholar] [CrossRef] [PubMed]
  8. Mao, J.; Wu, Z.; Feng, X. Image Definition Evaluations on Denoised and Sharpened Wood Grain Images. Coatings 2021, 11, 976. [Google Scholar] [CrossRef]
  9. Wen, J.; Li, Z.; Xiao, J. Noise removal in tree radar B-scan images based on Shearlet. Wood Res. 2020, 65, 1–12. [Google Scholar] [CrossRef]
  10. Tan, Z.; Yang, H. Total variation regularized multi-matrices weighted Schatten p-norm minimization for image denoising. Appl. Math. Model. 2023, 124, 518–531. [Google Scholar] [CrossRef]
  11. Dabov, K.; Foi, A.; Katkovnik, V.; Egiazarian, K. Color image denoising via sparse 3D collaborative filtering with grouping constraint in luminance-chrominance space. In Proceedings of the 2007 IEEE International Conference on Image Processing (ICIP), San Antonio, TX, USA, 16–19 September 2007; pp. 313–316. [Google Scholar]
  12. Xu, J.; Zhang, L.; Zhang, D.; Feng, X. Multi-channel weighted nuclear norm minimization for real color image denoising. In Proceedings of the 2017 IEEE International Conference on Computer Vision (ICCV), Venice, Italy, 22–29 October 2017; pp. 1105–1113. [Google Scholar]
  13. Xu, J.; Zhang, L.; Zhang, D. A trilateral weighted sparse coding scheme for real-world image denoising. In Proceedings of the European Conference on Computer Vision (ECCV), Munich, Germany, 8–14 September 2018; pp. 20–36. [Google Scholar]
  14. Zoran, D.; Weiss, Y. From learning models of natural image patches to whole image restoration. In Proceedings of the 2011 IEEE International Conference on Computer Vision (ICCV), Barcelona, Spain, 6–13 November 2011; pp. 479–486. [Google Scholar]
  15. Buades, A.; Coll, B.; Morel, J.M. A non-local algorithm for image denoising. In Proceedings of the 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR), San Diego, CA, USA, 20–25 June 2005; pp. 60–65. [Google Scholar]
  16. Abdul Hamid, L.B.; Rosli, N.R.; Mohd Khairuddin, A.S.; Mokhtar, N.; Yusof, R. Denoising module for wood texture images. Wood Sci. Technol. 2018, 52, 1539–1554. [Google Scholar] [CrossRef]
  17. Nam, S.; Hwang, Y.; Matsushita, Y.; Kim, S.J. A holistic approach to cross-channel image noise modeling and its application to image denoising. In Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA, 26 June–1 July 2016; pp. 1683–1691. [Google Scholar]
  18. Fraser, B.; Schewe, J. Chapter Two: Why do we sharpen? In Real World Image Sharpening with Adobe Photoshop, Camera Raw, and Lightroom; Fraser, B., Schewe, J., Eds.; Peachpit Press: Berkeley, CA, USA, 2010; pp. 11–88. [Google Scholar]
  19. Li, S.; Kang, X.; Hu, J. Image Fusion with Guided Filtering. IEEE Trans. Image Process. 2013, 22, 2864–2875. [Google Scholar] [PubMed]
  20. Li, J.; Zhang, X.; Li, S.; Wu, Z. Underwater color image enhancement based on two-scale image decomposition. J. Image Graph. 2021, 26, 0787–0795. [Google Scholar]
  21. Mao, J.; Wu, Z.; Feng, X. A Modeling Approach on the Correction Model of the Chromatic Aberration of Scanned Wood Grain Images. Coatings 2022, 12, 79. [Google Scholar] [CrossRef]
  22. Moorthy, A.K.; Bovik, A.C. A two-step framework for constructing Blind Image Quality Indices. IEEE Signal Process. Lett. 2010, 17, 513–516. [Google Scholar] [CrossRef]
  23. Mittal, A.; Moorthy, A.K.; Bovik, A.C. Blind/Referenceless Image Spatial Quality Evaluator, Signals, Systems & Computers. In Proceedings of the Forty Fifth Asilomar Conference on Signals, Systems and Computers (ASILOMAR), Pacific Grove, CA, USA, 6–9 November 2011; pp. 723–727. [Google Scholar]
  24. Mittal, A.; Soundararajan, R.; Bovik, A.C. Making a completely blind image quality analyzer. IEEE Signal Process. Lett. 2013, 20, 209–212. [Google Scholar] [CrossRef]
  25. Moorthy, A.K.; Bovik, A.C. Blind Image Quality Assessment: From Natural Scene Statistics to Perceptual Quality. IEEE Trans. Image Process. 2011, 20, 3350–3364. [Google Scholar] [CrossRef] [PubMed]
  26. Mittal, A.; Moorthy, A.K.; Bovik, A.C. No-Reference Image Quality Assessment in the Spatial Domain. IEEE Trans. Image Process. 2012, 21, 4695–4708. [Google Scholar] [CrossRef] [PubMed]
  27. Gonzalez, R.C.; Woods, R.E. Digital Image Processing, 3rd ed.; Gonzalez, R.C., Woods, R.E., Eds.; Pearson Prentice Hall: Upper Saddle River, NJ, USA, 2008; pp. 112–916. [Google Scholar]
  28. Wang, Z.; Bovik, A.C.; Sheikh, H.R.; Simoncelli, E.P. Image quality assessment: From error visibility to structural similarity. IEEE Trans. Image Process. 2004, 13, 600–612. [Google Scholar] [CrossRef] [PubMed]
  29. Larson, E.C.; Chandler, D.M. Most apparent distortion: Full-reference image quality assessment and the role of strategy. J. Electron. Imaging 2010, 19, 011006. [Google Scholar]
Figure 1. The noise-searching window for the scanned planes from No.1 to No.16: (a) the 7 × 7 window; (b) the 5 × 5 window.
Figure 1. The noise-searching window for the scanned planes from No.1 to No.16: (a) the 7 × 7 window; (b) the 5 × 5 window.
Forests 14 01803 g001
Figure 2. Algorithm flow chart.
Figure 2. Algorithm flow chart.
Forests 14 01803 g002
Figure 3. The changing trends of normalized BRISQUE and NIQE values of the No.1 to No.6 wood images under different denoising methods. D&S represents Dust & Scratches filter at settings of 1 (pixels) and 35 (levels).
Figure 3. The changing trends of normalized BRISQUE and NIQE values of the No.1 to No.6 wood images under different denoising methods. D&S represents Dust & Scratches filter at settings of 1 (pixels) and 35 (levels).
Forests 14 01803 g003
Figure 4. The changing trends of normalized BRISQUE and NIQE values of the No.7 to No.16 wood images under different denoising methods. D&S represents Dust & Scratches filter at settings of 1 (pixels) and 35 (levels).
Figure 4. The changing trends of normalized BRISQUE and NIQE values of the No.7 to No.16 wood images under different denoising methods. D&S represents Dust & Scratches filter at settings of 1 (pixels) and 35 (levels).
Forests 14 01803 g004
Table 1. Basic information of the solid wood panels.
Table 1. Basic information of the solid wood panels.
Panel NumberTree NameScientific NamePanel Size
L (mm) × W (mm) × T (mm)
1Intsia spp.I. bijuga150 × 1000 × 20
2Tabebuia spp.T. guayacan150 × 1000 × 20
3Robinia spp.R. pseudoacacia150 × 1000 × 20
4Pometia spp.P. pinnata150 × 1000 × 20
5DanielliaD. klainei150 × 1000 × 20
6Pterocarpus spp.P. soyauxii150 × 1000 × 20
7PiptadeniastrumP. africanum150 × 1000 × 20
8Betula spp.B. albosinensis150 × 1000 × 20
9DalbergiaD. latifolia150 × 1000 × 20
10Quercus spp.Q. rubra150 × 1000 × 20
11Carya spp.C. illinoensis150 × 1000 × 20
12Swintonia spp.S. pierrei150 × 1000 × 20
13Swietenia spp.S. mahagoni150 × 1000 × 20
14Ulmus spp.U. pumila150 × 1000 × 20
15CylicodiscusC. gabunensis150 × 1000 × 20
16Quercus spp.Q. mongolica150 × 1000 × 20
Table 2. The local parts of the scanned wood grain images from No.1 to No.16.
Table 2. The local parts of the scanned wood grain images from No.1 to No.16.
No.1No.2No.3No.4No.5No.6
Forests 14 01803 i001Forests 14 01803 i002Forests 14 01803 i003Forests 14 01803 i004Forests 14 01803 i005Forests 14 01803 i006
No.7No.8No.9No.10No.11No.12
Forests 14 01803 i007Forests 14 01803 i008Forests 14 01803 i009Forests 14 01803 i010Forests 14 01803 i011Forests 14 01803 i012
No.13No.14No.15No.16
Forests 14 01803 i013Forests 14 01803 i014Forests 14 01803 i015Forests 14 01803 i016
The image size shown above has been enlarged to 36 times the original size, which is 30 mm × 30 mm.
Table 3. Mean, maximum, and minimum values of R, G, and B channels of the wood grain images from No.1 to No.16.
Table 3. Mean, maximum, and minimum values of R, G, and B channels of the wood grain images from No.1 to No.16.
Image NumberMean ValuesMaximum ValuesMinimum Values
μ R μ G μ B I R _ m a x I G _ m a x I B _ m a x I R _ m i n I G _ m i n I B _ m i n
1119.3163.1111.68251201224000
2118.6171.6316.85210202192000
3126.1383.5734.14253230214000
4153.2784.3150.29255222204000
5147.0879.8921.93244214205700
6138.9790.5441.40237205203000
7173.92113.6167.54255233236000
8193.48140.7687.5325523320437100
9188.87120.7480.772552232033400
10188.38129.5981.982552242125900
11191.11141.1798.742532262088230
12180.38133.53102.042552552382100
13190.15117.4854.18255237187000
14166.74114.3367.67254225209000
15149.0078.1512.23255214188000
16169.87120.4476.02248226208000
Table 4. R, G, and B values of three luminance noise points on the wood grain images.
Table 4. R, G, and B values of three luminance noise points on the wood grain images.
Image NumberNoise INoise IINoise III
R ValuesG ValuesB ValuesR ValuesG ValuesB ValuesR ValuesG ValuesB Values
1135137161102122141130137154
2173152147120118160133115127
3168149152145107133129132123
4167158157162140160192179189
5193176183178157172196184179
6166158164196180173175171183
Table 5. Denoising effect of the No.1 to No.6 wood images under different denoising methods.
Table 5. Denoising effect of the No.1 to No.6 wood images under different denoising methods.
Tree NameIndexWiener filtering (5 × 5)Gaussian filtering (5 × 5)Median filtering (5 × 5)Dust & Scratches Filter Proposed Scheme IOriginal Images
No.1
Intsia spp.
RGB 1Forests 14 01803 i017Forests 14 01803 i018Forests 14 01803 i019Forests 14 01803 i020Forests 14 01803 i021Forests 14 01803 i022
D B  2Forests 14 01803 i023Forests 14 01803 i024Forests 14 01803 i025Forests 14 01803 i026Forests 14 01803 i027Forests 14 01803 i028
No.2
Tabebuia spp.
RGBForests 14 01803 i029Forests 14 01803 i030Forests 14 01803 i031Forests 14 01803 i032Forests 14 01803 i033Forests 14 01803 i034
D B Forests 14 01803 i035Forests 14 01803 i036Forests 14 01803 i037Forests 14 01803 i038Forests 14 01803 i039Forests 14 01803 i040
No.3
Robinia spp.
RGBForests 14 01803 i041Forests 14 01803 i042Forests 14 01803 i043Forests 14 01803 i044Forests 14 01803 i045Forests 14 01803 i046
D B Forests 14 01803 i047Forests 14 01803 i048Forests 14 01803 i049Forests 14 01803 i050Forests 14 01803 i051Forests 14 01803 i052
No.4
Pometia spp.
RGBForests 14 01803 i053Forests 14 01803 i054Forests 14 01803 i055Forests 14 01803 i056Forests 14 01803 i057Forests 14 01803 i058
D B Forests 14 01803 i059Forests 14 01803 i060Forests 14 01803 i061Forests 14 01803 i062Forests 14 01803 i063Forests 14 01803 i064
No.5
Daniellia
RGBForests 14 01803 i065Forests 14 01803 i066Forests 14 01803 i067Forests 14 01803 i068Forests 14 01803 i069Forests 14 01803 i070
D B Forests 14 01803 i071Forests 14 01803 i072Forests 14 01803 i073Forests 14 01803 i074Forests 14 01803 i075Forests 14 01803 i076
No.6
Pterocarpus spp.
RGBForests 14 01803 i077Forests 14 01803 i078Forests 14 01803 i079Forests 14 01803 i080Forests 14 01803 i081Forests 14 01803 i082
D B Forests 14 01803 i083Forests 14 01803 i084Forests 14 01803 i085Forests 14 01803 i086Forests 14 01803 i087Forests 14 01803 i088
1 RGB represents the RGB color images; 2  D B represents the detail layer of the blue channel; The image size shown above has been enlarged to 4.84 times the original size, which is 22 mm × 22 mm.
Table 6. IQA results of the No.1 to No.6 wood images under different denoising methods.
Table 6. IQA results of the No.1 to No.6 wood images under different denoising methods.
Image NumberWiener Filtering (5 × 5)Gaussian Filtering (5 × 5)Median Filtering (5 × 5)Dust & Scratches Filter Proposed Scheme IOriginal Images
B 1N 2BNBNBNBNBN
141.205.0139.466.2047.496.173.165.243.225.343.085.45
239.595.8547.586.9546.176.66−1.116.12−1.346.170.236.34
343.045.7449.176.9042.436.0130.535.3429.665.3932.085.70
446.395.5548.947.0051.467.4821.074.8721.084.9221.365.29
536.754.9638.676.2145.895.94−3.235.60−3.475.62−2.955.76
645.826.0249.927.5045.006.9234.566.2532.596.2836.426.60
1 B represents the evaluation values of BRISQUE; 2 N represents the evaluation values of NIQE.
Table 7. IQA results of the No.7 to No.16 wood images under different denoising methods.
Table 7. IQA results of the No.7 to No.16 wood images under different denoising methods.
Image NumberWiener Filtering
(3 × 3)
Gaussian Filtering
(3 × 3)
Median Filtering
(3 × 3)
Dust & Scratches Filter Proposed Scheme IIOriginal Images
B 1N 2BNBNBNBNBN
738.295.9639.907.1446.637.1523.586.2123.586.2123.206.26
838.704.8044.816.6142.156.3421.985.5222.005.5223.605.71
949.875.8652.867.1750.856.8135.206.1835.216.1835.416.35
1045.656.3247.387.2842.078.2237.966.8037.966.8037.946.89
1141.836.0551.557.3444.298.1735.826.8535.796.8536.696.92
1239.035.0238.386.4545.065.479.585.109.415.109.375.29
1337.325.1935.436.5745.624.9412.085.4212.085.4210.835.63
1449.945.7553.977.2657.226.8845.597.1145.597.1147.347.39
1552.376.1649.657.1057.056.6236.565.5636.585.5634.765.67
1644.595.8846.196.9742.526.9626.076.2826.076.2826.486.41
1 B represents the evaluation values of BRISQUE; 2 N represents the evaluation values of NIQE.
Table 8. SSIM values of the No.1 to No.16 wood images under different denoising methods.
Table 8. SSIM values of the No.1 to No.16 wood images under different denoising methods.
Image
Number
Wiener FilteringGaussian FilteringMedian FilteringDust & Scratches FilterProposed Scheme I and II Original Images
10.97570.97750.95510.99520.99261
20.97780.98060.96100.99610.99451
30.97560.97970.95550.99740.99321
40.97240.97720.95580.99570.99491
50.98130.98640.96950.99860.99771
60.97230.97770.95330.99490.99711
70.98780.98650.98280.99890.99891
80.99150.98990.98620.99900.99891
90.99360.99230.98990.99930.99931
100.99360.99270.99150.99950.99951
110.99100.98940.98570.99960.99951
120.97250.97150.96230.99660.99631
130.98560.98470.98000.99640.99641
140.97930.97750.97010.99660.99651
150.99150.98860.98580.99660.99651
160.99200.99100.98890.99950.99951
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Mao, J.; Wu, Z. A Denoising Scheme for Scanned Wood Grain Images via Adaptive Color Substitution. Forests 2023, 14, 1803. https://doi.org/10.3390/f14091803

AMA Style

Mao J, Wu Z. A Denoising Scheme for Scanned Wood Grain Images via Adaptive Color Substitution. Forests. 2023; 14(9):1803. https://doi.org/10.3390/f14091803

Chicago/Turabian Style

Mao, Jingjing, and Zhihui Wu. 2023. "A Denoising Scheme for Scanned Wood Grain Images via Adaptive Color Substitution" Forests 14, no. 9: 1803. https://doi.org/10.3390/f14091803

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop