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

Hardwood Grain Image Restoration and Enhancement via Gaussian Histogram Specification and Adaptive Color Adjustment

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

기본 정보

저자
  1. Jingjing Mao — College of Furnishings and Industrial Design, Nanjing Forestry University, Nanjing 210037, China
  2. Zhihui Wu — College of Furnishings and Industrial Design, Nanjing Forestry University, Nanjing 210037, China|||Jiangsu Co-Innovation Center of Efficient Processing and Utilization of Forest Resources, Nanjing 210037, China
DOI
10.3390/f13060863
저널
Forests
발행년도
2022
발행기관
Multidisciplinary Digital Publishing Institute
피인용수
3
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3390/f13060863
토픽
Color Science and Applications
OpenAlex ID
W4281623013

평가 내용

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

초록

Hardwood is widely used in the surface decoration of furniture and wood products due to its rich texture and durable surface, and the improvement of wood grain images is vital to promote the aesthetics of wood surfaces. In order to restore the Gaussian distribution of distorted wood grain images and reproduce a sharp and clear wood surface, a Gaussian histogram specification algorithm based on the constant mean and variance values of red (R), green (G), and blue (B), and an adaptive color adjustment algorithm based on the color extension of R, G, and B histograms was proposed, respectively. Objective evaluation methods of histogram distribution, colorfulness index, contrast index, and sharpness index were used independently to evaluate the visual effect of the images processed by the two algorithms. Objective and subjective evaluation results showed that although the Gaussian method had only a small influence on the visual effect of hardwood grain images, it could restore the distorted images by repairing the irregular color points to weaken the adverse impact on visual impression. Meanwhile, extra attention should be paid to the processing of images with prominent uneven color transitions, because the Gaussian method might have an imperceptible smoothing or enhancing effect. The adaptive color adjustment method had a favorable enhancement effect on most hardwood grain images. However, the color extension coefficients of the over-enhanced images should be reduced to eliminate overcompensation and color shift. Compared with the traditional enhancement method unsharp mask (USM) and the methods designed for sand-degraded images and underwater images, the proposed adaptive color adjustment at the 1.5 coefficient could effectively enhance the images from the perspective of wood grain visibility and color retention.

본문 65,655자

본문 펼치기
Introduction Surface decoration methods of wood products are becoming dependent on wood grain images, especially 3D wood texture printing on board surfaces [1]. A wood grain image is generally obtained through high-quality image acquisition equipment; hence it belongs to natural images (NI), whose pixel intensity follows the Gaussian distribution [2]. Because of the instability of image acquisition equipment and other factors, the image quality of wood grain is apt to degrade, and the pixel intensity of the distorted images does not always follow the Gaussian distribution. For instance, noise is typically strongest in the B (blue) channel of an image [3], and disobeys the Gaussian distribution. Therefore, when it comes to the digital printing of wood grain images, image enhancement approaches like output sharpening are essential to produce a satisfactorily clear wood surface [4]. As a result, the restoration and enhancement of wood grain images are vital to promote the aesthetics of a wood surface. Introduction Currently, most image restoration and enhancement methods concentrate on underwater images [5][6][7], haze images [8,9], or sand-dust images [10,11] because of the poor The ten hardwood images were stored in a default JPEG format at 8 bits per channel and 300 pixels per inch (ppi) resolution. They were then cropped to the size of 35 mm × 35 mm (length × width); thus, the size of each image is 413 × 413 pixels with 256 gray levels. Gaussian Histogram Specification of Wood Grain Images Histogram specification is a kind of typical non-modeled image intensification method [26]. Due to the fact that the I channel of HSI images is the main factor that restricts the production of crisper looking haze images, to intensify the image contrast, Liang et al. [8] proposed a color image defogging algorithm through the histogram specification of Gaussian function weighting on the I channel. Gaussian Histogram Specification of Wood Grain Images Since the R, G, and B components of RGB images were equally related to the intensity component I of HSI images, the Gaussian histogram specification was conducted on the R, G, and B channels, respectively. Different from the above intensifying method, to approximate the RGB histograms of the natural images (NI), the Gaussian method was conducted under the condition that the mean and variance values of each image were constant. The Gauss formulas are as follows: Gaussian Histogram Specification of Wood Grain Images where ∈ { , , }, 2 is the image variance, is the average value of all pixels in the image, × is the image size, and ( , ) is the pixel value at the point ( , ). Adaptive Color Adjustment of Wood Grain Images The existing image enhancement algorithms mainly focus on the color deviation caused by the shooting environment, thus each color channel is treated differently. For example, as shown in Equation (4), Zhi et al. [27] used the histogram distribution of the G channel to calculate the color extension coefficient of all the channels in order to enhance the dust-degraded images. Adaptive Color Adjustment of Wood Grain Images where _ and _ are the maximum and minimum values in the G channel. Accordingly, because there were no severely unbalanced color defects in the wood images, values of R, G, and B channels were all used to calculate the coefficient of the corresponding channel. The coefficient is calculated as follows: 2 Indian Silver Greywood Terminalia bialata Golden Wattle Acacia pycnantha 10 American Elm Ulmus americana The ten hardwood images were stored in a default JPEG format at 8 bits per channel and 300 pixels per inch (ppi) resolution. They were then cropped to the size of 35 mm × 35 mm (length × width); thus, the size of each image is 413 × 413 pixels with 256 gray levels. Gaussian Histogram Specification of Wood Grain Images Histogram specification is a kind of typical non-modeled image intensification method [26]. Due to the fact that the I channel of HSI images is the main factor that restricts the production of crisper looking haze images, to intensify the image contrast, Liang et al. [8] proposed a color image defogging algorithm through the histogram specification of Gaussian function weighting on the I channel. Gaussian Histogram Specification of Wood Grain Images Since the R, G, and B components of RGB images were equally related to the intensity component I of HSI images, the Gaussian histogram specification was conducted on the R, G, and B channels, respectively. Different from the above intensifying method, to approximate the RGB histograms of the natural images (NI), the Gaussian method was conducted under the condition that the mean and variance values of each image were constant. The Gauss formulas are as follows: Gaussian Histogram Specification of Wood Grain Images where ∈ { , , }, 2 is the image variance, is the average value of all pixels in the image, × is the image size, and ( , ) is the pixel value at the point ( , ). Adaptive Color Adjustment of Wood Grain Images The existing image enhancement algorithms mainly focus on the color deviation caused by the shooting environment, thus each color channel is treated differently. For example, as shown in Equation (4), Zhi et al. [27] used the histogram distribution of the G channel to calculate the color extension coefficient of all the channels in order to enhance the dust-degraded images. Adaptive Color Adjustment of Wood Grain Images where _ and _ are the maximum and minimum values in the G channel. Accordingly, because there were no severely unbalanced color defects in the wood images, values of R, G, and B channels were all used to calculate the coefficient of the corresponding channel. The coefficient is calculated as follows: 3 Macassar Ebony Diospyros celebica Golden Wattle Acacia pycnantha 10 American Elm Ulmus americana The ten hardwood images were stored in a default JPEG format at 8 bits per channel and 300 pixels per inch (ppi) resolution. They were then cropped to the size of 35 mm × 35 mm (length × width); thus, the size of each image is 413 × 413 pixels with 256 gray levels. Gaussian Histogram Specification of Wood Grain Images Histogram specification is a kind of typical non-modeled image intensification method [26]. Due to the fact that the I channel of HSI images is the main factor that restricts the production of crisper looking haze images, to intensify the image contrast, Liang et al. [8] proposed a color image defogging algorithm through the histogram specification of Gaussian function weighting on the I channel. Gaussian Histogram Specification of Wood Grain Images Since the R, G, and B components of RGB images were equally related to the intensity component I of HSI images, the Gaussian histogram specification was conducted on the R, G, and B channels, respectively. Different from the above intensifying method, to approximate the RGB histograms of the natural images (NI), the Gaussian method was conducted under the condition that the mean and variance values of each image were constant. The Gauss formulas are as follows: Gaussian Histogram Specification of Wood Grain Images where ∈ { , , }, 2 is the image variance, is the average value of all pixels in the image, × is the image size, and ( , ) is the pixel value at the point ( , ). Adaptive Color Adjustment of Wood Grain Images The existing image enhancement algorithms mainly focus on the color deviation caused by the shooting environment, thus each color channel is treated differently. For example, as shown in Equation (4), Zhi et al. [27] used the histogram distribution of the G channel to calculate the color extension coefficient of all the channels in order to enhance the dust-degraded images. Adaptive Color Adjustment of Wood Grain Images where _ and _ are the maximum and minimum values in the G channel. Accordingly, because there were no severely unbalanced color defects in the wood images, values of R, G, and B channels were all used to calculate the coefficient of the corresponding channel. The coefficient is calculated as follows: Golden Wattle Acacia pycnantha 10 American Elm Ulmus americana The ten hardwood images were stored in a default JPEG format at 8 bits per channel and 300 pixels per inch (ppi) resolution. They were then cropped to the size of 35 mm × 35 mm (length × width); thus, the size of each image is 413 × 413 pixels with 256 gray levels. Gaussian Histogram Specification of Wood Grain Images Histogram specification is a kind of typical non-modeled image intensification method [26]. Due to the fact that the I channel of HSI images is the main factor that restricts the production of crisper looking haze images, to intensify the image contrast, Liang et al. [8] proposed a color image defogging algorithm through the histogram specification of Gaussian function weighting on the I channel. Gaussian Histogram Specification of Wood Grain Images Since the R, G, and B components of RGB images were equally related to the intensity component I of HSI images, the Gaussian histogram specification was conducted on the R, G, and B channels, respectively. Different from the above intensifying method, to approximate the RGB histograms of the natural images (NI), the Gaussian method was conducted under the condition that the mean and variance values of each image were constant. The Gauss formulas are as follows: Gaussian Histogram Specification of Wood Grain Images where ∈ { , , }, 2 is the image variance, is the average value of all pixels in the image, × is the image size, and ( , ) is the pixel value at the point ( , ). Adaptive Color Adjustment of Wood Grain Images The existing image enhancement algorithms mainly focus on the color deviation caused by the shooting environment, thus each color channel is treated differently. For example, as shown in Equation (4), Zhi et al. [27] used the histogram distribution of the G channel to calculate the color extension coefficient of all the channels in order to enhance the dust-degraded images. Adaptive Color Adjustment of Wood Grain Images where _ and _ are the maximum and minimum values in the G channel. Accordingly, because there were no severely unbalanced color defects in the wood images, values of R, G, and B channels were all used to calculate the coefficient of the corresponding channel. The coefficient is calculated as follows: Golden Wattle Acacia pycnantha 10 Adaptive Color Adjustment of Wood Grain Images American Elm Ulmus americana The ten hardwood images were stored in a default JPEG format at 8 bits per channel and 300 pixels per inch (ppi) resolution. They were then cropped to the size of 35 mm × 35 mm (length × width); thus, the size of each image is 413 × 413 pixels with 256 gray levels. Gaussian Histogram Specification of Wood Grain Images Histogram specification is a kind of typical non-modeled image intensification method [26]. Due to the fact that the I channel of HSI images is the main factor that restricts the production of crisper looking haze images, to intensify the image contrast, Liang et al. [8] proposed a color image defogging algorithm through the histogram specification of Gaussian function weighting on the I channel. Gaussian Histogram Specification of Wood Grain Images Since the R, G, and B components of RGB images were equally related to the intensity component I of HSI images, the Gaussian histogram specification was conducted on the R, G, and B channels, respectively. Different from the above intensifying method, to approximate the RGB histograms of the natural images (NI), the Gaussian method was conducted under the condition that the mean and variance values of each image were constant. The Gauss formulas are as follows: Gaussian Histogram Specification of Wood Grain Images where ∈ { , , }, 2 is the image variance, is the average value of all pixels in the image, × is the image size, and ( , ) is the pixel value at the point ( , ). Adaptive Color Adjustment of Wood Grain Images The existing image enhancement algorithms mainly focus on the color deviation caused by the shooting environment, thus each color channel is treated differently. For example, as shown in Equation (4), Zhi et al. [27] used the histogram distribution of the G channel to calculate the color extension coefficient of all the channels in order to enhance the dust-degraded images. Adaptive Color Adjustment of Wood Grain Images where _ and _ are the maximum and minimum values in the G channel. Accordingly, because there were no severely unbalanced color defects in the wood images, values of R, G, and B channels were all used to calculate the coefficient of the corresponding channel. The coefficient is calculated as follows: 6 Jarrah Eucalyptus marginata Golden Wattle Acacia pycnantha 10 Adaptive Color Adjustment of Wood Grain Images American Elm Ulmus americana The ten hardwood images were stored in a default JPEG format at 8 bits per channel and 300 pixels per inch (ppi) resolution. They were then cropped to the size of 35 mm × 35 mm (length × width); thus, the size of each image is 413 × 413 pixels with 256 gray levels. Gaussian Histogram Specification of Wood Grain Images Histogram specification is a kind of typical non-modeled image intensification method [26]. Due to the fact that the I channel of HSI images is the main factor that restricts the production of crisper looking haze images, to intensify the image contrast, Liang et al. [8] proposed a color image defogging algorithm through the histogram specification of Gaussian function weighting on the I channel. Gaussian Histogram Specification of Wood Grain Images Since the R, G, and B components of RGB images were equally related to the intensity component I of HSI images, the Gaussian histogram specification was conducted on the R, G, and B channels, respectively. Different from the above intensifying method, to approximate the RGB histograms of the natural images (NI), the Gaussian method was conducted under the condition that the mean and variance values of each image were constant. The Gauss formulas are as follows: Gaussian Histogram Specification of Wood Grain Images where ∈ { , , }, 2 is the image variance, is the average value of all pixels in the image, × is the image size, and ( , ) is the pixel value at the point ( , ). Adaptive Color Adjustment of Wood Grain Images The existing image enhancement algorithms mainly focus on the color deviation caused by the shooting environment, thus each color channel is treated differently. For example, as shown in Equation (4), Zhi et al. [27] used the histogram distribution of the G channel to calculate the color extension coefficient of all the channels in order to enhance the dust-degraded images. Adaptive Color Adjustment of Wood Grain Images where _ and _ are the maximum and minimum values in the G channel. Accordingly, because there were no severely unbalanced color defects in the wood images, values of R, G, and B channels were all used to calculate the coefficient of the corresponding channel. The coefficient is calculated as follows: 7 Southern Magnolia Magnolia grandiflora Golden Wattle Acacia pycnantha 10 Adaptive Color Adjustment of Wood Grain Images American Elm Ulmus americana The ten hardwood images were stored in a default JPEG format at 8 bits per channel and 300 pixels per inch (ppi) resolution. They were then cropped to the size of 35 mm × 35 mm (length × width); thus, the size of each image is 413 × 413 pixels with 256 gray levels. Gaussian Histogram Specification of Wood Grain Images Histogram specification is a kind of typical non-modeled image intensification method [26]. Due to the fact that the I channel of HSI images is the main factor that restricts the production of crisper looking haze images, to intensify the image contrast, Liang et al. [8] proposed a color image defogging algorithm through the histogram specification of Gaussian function weighting on the I channel. Gaussian Histogram Specification of Wood Grain Images Since the R, G, and B components of RGB images were equally related to the intensity component I of HSI images, the Gaussian histogram specification was conducted on the R, G, and B channels, respectively. Different from the above intensifying method, to approximate the RGB histograms of the natural images (NI), the Gaussian method was conducted under the condition that the mean and variance values of each image were constant. The Gauss formulas are as follows: Gaussian Histogram Specification of Wood Grain Images where ∈ { , , }, 2 is the image variance, is the average value of all pixels in the image, × is the image size, and ( , ) is the pixel value at the point ( , ). Adaptive Color Adjustment of Wood Grain Images The existing image enhancement algorithms mainly focus on the color deviation caused by the shooting environment, thus each color channel is treated differently. For example, as shown in Equation (4), Zhi et al. [27] used the histogram distribution of the G channel to calculate the color extension coefficient of all the channels in order to enhance the dust-degraded images. Adaptive Color Adjustment of Wood Grain Images where _ and _ are the maximum and minimum values in the G channel. Accordingly, because there were no severely unbalanced color defects in the wood images, values of R, G, and B channels were all used to calculate the coefficient of the corresponding channel. The coefficient is calculated as follows: 8 Afata Cordia trichotoma Golden Wattle Acacia pycnantha 10 Adaptive Color Adjustment of Wood Grain Images American Elm Ulmus americana The ten hardwood images were stored in a default JPEG format at 8 bits per channel and 300 pixels per inch (ppi) resolution. They were then cropped to the size of 35 mm × 35 mm (length × width); thus, the size of each image is 413 × 413 pixels with 256 gray levels. Gaussian Histogram Specification of Wood Grain Images Histogram specification is a kind of typical non-modeled image intensification method [26]. Due to the fact that the I channel of HSI images is the main factor that restricts the production of crisper looking haze images, to intensify the image contrast, Liang et al. [8] proposed a color image defogging algorithm through the histogram specification of Gaussian function weighting on the I channel. Gaussian Histogram Specification of Wood Grain Images Since the R, G, and B components of RGB images were equally related to the intensity component I of HSI images, the Gaussian histogram specification was conducted on the R, G, and B channels, respectively. Different from the above intensifying method, to approximate the RGB histograms of the natural images (NI), the Gaussian method was conducted under the condition that the mean and variance values of each image were constant. The Gauss formulas are as follows: Gaussian Histogram Specification of Wood Grain Images where ∈ { , , }, 2 is the image variance, is the average value of all pixels in the image, × is the image size, and ( , ) is the pixel value at the point ( , ). Adaptive Color Adjustment of Wood Grain Images The existing image enhancement algorithms mainly focus on the color deviation caused by the shooting environment, thus each color channel is treated differently. For example, as shown in Equation (4), Zhi et al. [27] used the histogram distribution of the G channel to calculate the color extension coefficient of all the channels in order to enhance the dust-degraded images. Adaptive Color Adjustment of Wood Grain Images where _ and _ are the maximum and minimum values in the G channel. Accordingly, because there were no severely unbalanced color defects in the wood images, values of R, G, and B channels were all used to calculate the coefficient of the corresponding channel. The coefficient is calculated as follows: 9 Golden Wattle Acacia pycnantha Golden Wattle Acacia pycnantha 10 Adaptive Color Adjustment of Wood Grain Images American Elm Ulmus americana The ten hardwood images were stored in a default JPEG format at 8 bits per channel and 300 pixels per inch (ppi) resolution. They were then cropped to the size of 35 mm × 35 mm (length × width); thus, the size of each image is 413 × 413 pixels with 256 gray levels. Gaussian Histogram Specification of Wood Grain Images Histogram specification is a kind of typical non-modeled image intensification method [26]. Due to the fact that the I channel of HSI images is the main factor that restricts the production of crisper looking haze images, to intensify the image contrast, Liang et al. [8] proposed a color image defogging algorithm through the histogram specification of Gaussian function weighting on the I channel. Gaussian Histogram Specification of Wood Grain Images Since the R, G, and B components of RGB images were equally related to the intensity component I of HSI images, the Gaussian histogram specification was conducted on the R, G, and B channels, respectively. Different from the above intensifying method, to approximate the RGB histograms of the natural images (NI), the Gaussian method was conducted under the condition that the mean and variance values of each image were constant. The Gauss formulas are as follows: Gaussian Histogram Specification of Wood Grain Images where ∈ { , , }, 2 is the image variance, is the average value of all pixels in the image, × is the image size, and ( , ) is the pixel value at the point ( , ). Adaptive Color Adjustment of Wood Grain Images The existing image enhancement algorithms mainly focus on the color deviation caused by the shooting environment, thus each color channel is treated differently. For example, as shown in Equation (4), Zhi et al. [27] used the histogram distribution of the G channel to calculate the color extension coefficient of all the channels in order to enhance the dust-degraded images. Adaptive Color Adjustment of Wood Grain Images where _ and _ are the maximum and minimum values in the G channel. Accordingly, because there were no severely unbalanced color defects in the wood images, values of R, G, and B channels were all used to calculate the coefficient of the corresponding channel. The coefficient is calculated as follows: 10 American Elm Ulmus americana Forests 2022, 13, x FOR PEER REVIEW 3 of 15 Golden Wattle Acacia pycnantha 10 American Elm Ulmus americana The ten hardwood images were stored in a default JPEG format at 8 bits per channel and 300 pixels per inch (ppi) resolution. They were then cropped to the size of 35 mm × 35 mm (length × width); thus, the size of each image is 413 × 413 pixels with 256 gray levels. Gaussian Histogram Specification of Wood Grain Images Histogram specification is a kind of typical non-modeled image intensification method [26]. Due to the fact that the I channel of HSI images is the main factor that restricts the production of crisper looking haze images, to intensify the image contrast, Liang et al. [8] proposed a color image defogging algorithm through the histogram specification of Gaussian function weighting on the I channel. Gaussian Histogram Specification of Wood Grain Images Since the R, G, and B components of RGB images were equally related to the intensity component I of HSI images, the Gaussian histogram specification was conducted on the R, G, and B channels, respectively. Different from the above intensifying method, to approximate the RGB histograms of the natural images (NI), the Gaussian method was conducted under the condition that the mean and variance values of each image were constant. The Gauss formulas are as follows: Gaussian Histogram Specification of Wood Grain Images where ∈ { , , }, 2 is the image variance, is the average value of all pixels in the image, × is the image size, and ( , ) is the pixel value at the point ( , ). Adaptive Color Adjustment of Wood Grain Images The existing image enhancement algorithms mainly focus on the color deviation caused by the shooting environment, thus each color channel is treated differently. For example, as shown in Equation (4), Zhi et al. [27] used the histogram distribution of the G channel to calculate the color extension coefficient of all the channels in order to enhance the dust-degraded images. Adaptive Color Adjustment of Wood Grain Images where _ and _ are the maximum and minimum values in the G channel. Accordingly, because there were no severely unbalanced color defects in the wood images, values of R, G, and B channels were all used to calculate the coefficient of the corresponding channel. The coefficient is calculated as follows: Gaussian Histogram Specification of Wood Grain Images Histogram specification is a kind of typical non-modeled image intensification method [26]. Due to the fact that the I channel of HSI images is the main factor that restricts the production of crisper looking haze images, to intensify the image contrast, Liang et al. [8] proposed a color image defogging algorithm through the histogram specification of Gaussian function weighting on the I channel. Gaussian Histogram Specification of Wood Grain Images Since the R, G, and B components of RGB images were equally related to the intensity component I of HSI images, the Gaussian histogram specification was conducted on the R, G, and B channels, respectively. Different from the above intensifying method, to approximate the RGB histograms of the natural images (NI), the Gaussian method was conducted under the condition that the mean and variance values of each image were constant. The Gauss formulas are as follows: Gaussian Histogram Specification of Wood Grain Images where c ∈ {R, G, B}, σ c 2 is the image variance, µ c is the average value of all pixels in the image, M × N is the image size, and I c (i, j) is the pixel value at the point (i, j). Adaptive Color Adjustment of Wood Grain Images The existing image enhancement algorithms mainly focus on the color deviation caused by the shooting environment, thus each color channel is treated differently. For example, as shown in Equation (4), Zhi et al. [27] used the histogram distribution of the G channel to calculate the color extension coefficient of all the channels in order to enhance the dust-degraded images. Adaptive Color Adjustment of Wood Grain Images where I G_max and I G_min are the maximum and minimum values in the G channel. Accordingly, because there were no severely unbalanced color defects in the wood images, values of R, G, and B channels were all used to calculate the coefficient of the corresponding channel. The coefficient is calculated as follows: Adaptive Color Adjustment of Wood Grain Images where c ∈ {R, G, B}, I c_max and I c_min are the maximum and minimum values in each channel. As the maximum pixel value was 255 for 8-bit/channel images, the molecule 255 was used to ensure that the α c was no less than 1. Adaptive Color Adjustment of Wood Grain Images The adaptive color adjustment is as shown by Equation (6). Then the wood grain images after the adjustment can be obtained. Adaptive Color Adjustment of Wood Grain Images where c ∈ {R, G, B}, µ c is the average value of all pixels in the image, I c (i, j) is the pixel value at the point (i, j) before the extension adjustment, and I c (i, j) is that after the adjustment. Objective Evaluation Indices As the evaluation of visual effect is influenced by human subjective consciousness, objective evaluation is necessary to verify the restoration and enhancement methods adopted in image processing [5]. Objective Evaluation Indices Color image quality can be objectively evaluated using different image attributes [14,28]. Panetta et al. [14] proposed a color quality enhancement (CQE) metric consisting of colorfulness, sharpness, and contrast to measure the color image quality, and summarized that the CQE method was applicable to a wider variety of distorted images. Objective Evaluation Indices In this study, considering the prior knowledge of the restored and enhanced images was available and there was no need for distortion-free images, the objective evaluation indices of colorfulness, sharpness, and contrast were used independently to evaluate the visual effect. Colorfulness Index Colorfulness is the degree of difference between a color and grayscale image [28]. As shown in Equation (7), the color image quality index (CIQI) colorfulness [29] was applied to measure the colorfulness of wood grain images. Colorfulness Index where α = R − G, β = 0.5 × (R + G) − B, σ h 2 and µ h represent the variance and average values of the two-color axes. Contrast Index Contrast is defined as the ability to separate image details [28]. The existing contrast measures are commonly based on root mean square (RMS) contrast, Weber contrast, and Michelson contrast [5,14]. In this study, the sum values of edge blocks in an image were applied to measure the RMS contrast of wood grain images. Contrast Index According to Ferzli et al. [30], a Sobel edge detector is first run on each block to detect the edge blocks through the number of edge pixels in one block. For a 64 × 64 block, if the threshold is over 0.2% of the total number of pixels in one block, the block is seen as an edge block; otherwise, it is seen as a smooth block. Therefore, each wood image is divided into 64 × 64 blocks. As shown in Equation (8), the contrast of a color image is the sum of the RMS _contrast values of all the edge blocks. Contrast Index where µ is the average value of all pixels in the image, M × N is the image size, I(i, j) is the pixel value at the point (i, j), and T is the number of edge blocks. Sharpness Index Sharpness is the attribute related to the ability to preserve fine details and edges, and is defined by the boundaries between zones of different colors or intensities [28]. Since the Weber contrast-based measure of enhancement (EME) [31] can be applied to uniform background images [14], it was applied to measure the sharpness of wood grain images on the grayscale edge with an overlapped window size of 3 × 3. The formula is as follows: Sharpness Index where the image is split into k 1 × k 2 blocks of sizes, l 1 × l 2 , I max,k,l and I min,k,l are the maximum and minimum values inside a subblock. Figure 1 shows the visual effect of the ten hardwood grain images before and after the Gaussian histogram specification. The µ c and σ c 2 of each image remained unchanged during the process. Sharpness Index Sharpness is the attribute related to the ability to preserve fine details and edges, and is defined by the boundaries between zones of different colors or intensities [28]. Since the Weber contrast-based measure of enhancement (EME) [31] can be applied to uniform background images [14], it was applied to measure the sharpness of wood grain images on the grayscale edge with an overlapped window size of 3 × 3. The formula is as follows: Sharpness Index where the image is split into 1 × 2 blocks of sizes, 1 × 2 , , , and , , are the maximum and minimum values inside a subblock. Figure 1 shows the visual effect of the ten hardwood grain images before and after the Gaussian histogram specification. The and 2 of each image remained unchanged during the process. It can be seen from Figure 1 that there is no obvious change in the image textures after the specification except for a few marked areas. Change of Original Images after the Gaussian Histogram Specification To further find out the imperceptible change, we drew the RGB histograms of all the images and calculated the objective evaluation values before and after the specification by Equations (8)- (10). Figure 2 shows the RGB histograms of the ten images before and after the Gaussian histogram specification. The abscissa is the pixel value, and the ordinate ( ) is the proportion of the normalized value. Figure 3 shows the changing trends of objective evaluation values. It can be seen from Figure 1 that there is no obvious change in the image textures after the specification except for a few marked areas. Change of Original Images after the Gaussian Histogram Specification To further find out the imperceptible change, we drew the RGB histograms of all the images and calculated the objective evaluation values before and after the specification by Equations (8)- (10). Figure 2 shows the RGB histograms of the ten images before and after the Gaussian histogram specification. The abscissa x is the pixel value, and the ordinate p(x) is the proportion of the normalized x value. Figure 3 shows the changing trends of objective evaluation values. From Figure 2, the RGB histograms of most images before and after the specification were almost coincident, which further implied the small influence that the Gaussian method had on the ten images. However, the marked area of the No.10 image disobeyed the Gaussian distribution. This is because when the algorithm was based on the mean and variance values, the R channel overcompensation could be easily induced [7]; even though, from Figures 1 and 3, the mean and variance value-based Gaussian method had no adverse influence on visual impression of the No.10 image. Change of Original Images after the Gaussian Histogram Specification In Figure 3, the colorfulness values of the No.1, the No.8, and the No.9 images showed a wider decline after the specification. Correspondingly, in Figure 1, the textures of the No.1 image and the tree knots of the No.8 and the No.9 images were weakened. It was also found that in Figure 3, the contrast and sharpness values of the No.2 image had the largest variation after the specification. Correspondingly, in Figure 2, the RGB histograms of the No.2 image exhibited the greatest change. This phenomenon suggests that there could be a connection in each image between the histogram height and the sharpness or contrast. Moreover, the sensitivity of sharpness index was higher than the contrast index when comparing them with the RGB histograms before and after the processing. Change of Original Images after the Gaussian Histogram Specification Combined with the marked areas of these images in Figure 1, we supposed that the proposed Gaussian method tended to weaken irregular color points like tree knots, and smooth or enhance the uneven color transitions of the image textures. Change of Original Images after the Gaussian Histogram Specification To verify this conjecture, we took four grayscale images to imitate the tree knots and the edges of image textures, and then processed them by Gaussian histogram specification. Figure 4 shows the visual effect of the grayscale images and the magnified No.3 images before and after the specification. The and 2 of each image remained unchanged during the process. From Figure 2, the RGB histograms of most images before and after the specification were almost coincident, which further implied the small influence that the Gaussian method had on the ten images. However, the marked area of the No.10 image disobeyed the Gaussian distribution. This is because when the algorithm was based on the mean and variance values, the R channel overcompensation could be easily induced [7]; even though, from Figures 1 and 3, the mean and variance value-based Gaussian method had no adverse influence on visual impression of the No.10 image. Change of Original Images after the Gaussian Histogram Specification In Figure 3, the colorfulness values of the No.1, the No.8, and the No.9 images showed a wider decline after the specification. Correspondingly, in Figure 1, the textures of the No.1 image and the tree knots of the No.8 and the No.9 images were weakened. It was also found that in Figure 3, the contrast and sharpness values of the No.2 image had the largest variation after the specification. Correspondingly, in Figure 2, the RGB histograms of the No.2 image exhibited the greatest change. This phenomenon suggests that there could be a connection in each image between the histogram height and the sharpness or contrast. Moreover, the sensitivity of sharpness index was higher than the contrast index when comparing them with the RGB histograms before and after the processing. Change of Original Images after the Gaussian Histogram Specification Combined with the marked areas of these images in Figure 1, we supposed that the proposed Gaussian method tended to weaken irregular color points like tree knots, and smooth or enhance the uneven color transitions of the image textures. Change of Original Images after the Gaussian Histogram Specification To verify this conjecture, we took four grayscale images to imitate the tree knots and the edges of image textures, and then processed them by Gaussian histogram specification. Figure 4 shows the visual effect of the grayscale images and the magnified No.3 images before and after the specification. The µ c and σ c 2 of each image remained unchanged during the process. Change of Original Images after the Gaussian Histogram Specification As can be seen from Figure 4, the Gaussian method increased or decreased the difference of grayscale values between two gradients. As a result, extra attention should be paid to the processing of images with prominent uneven color transitions, because the Gaussian method might have a smoothing effect or an enhancing effect on these images. Change of Original Images after the Gaussian Histogram Specification Moreover, it made the spots fade away, and the variation of the magnified No.3 image also demonstrated this effect. It turned out that the Gaussian method could repair the irregular color points on hardwood grain images. As can be seen from Figure 4, the Gaussian method increased or decreased the difference of grayscale values between two gradients. As a result, extra attention should be paid to the processing of images with prominent uneven color transitions, because the Gaussian method might have a smoothing effect or an enhancing effect on these images. Change of Original Images after the Gaussian Histogram Specification Moreover, it made the spots fade away, and the variation of the magnified No.3 image also demonstrated this effect. It turned out that the Gaussian method could repair the irregular color points on hardwood grain images. Figure 5 shows the visual effect of the ten Gaussian hardwood grain images before and after the adaptive color adjustment. Figure 5 shows the visual effect of the ten Gaussian hardwood grain images before and after the adaptive color adjustment. As can be seen from Figure 4, the Gaussian method increased or decreased the d ference of grayscale values between two gradients. As a result, extra attention should paid to the processing of images with prominent uneven color transitions, because Gaussian method might have a smoothing effect or an enhancing effect on these imag Moreover, it made the spots fade away, and the variation of the magnified No.3 age also demonstrated this effect. It turned out that the Gaussian method could repair irregular color points on hardwood grain images. Figure 5 shows the visual effect of the ten Gaussian hardwood grain images bef and after the adaptive color adjustment. As shown in Figure 5, the image contrast was increased, the brightness was improved, and the visual information was richer, but the No.3 and No.10 images seemed over enhanced and presented an unnatural look. To explore the specific variation tendency of hardwood grain images before and after the adjustment, RGB histograms, colorfulness index, contrast index, and sharpness index were used independently to evaluate the enhancement effect of the ten Gaussian images. Similarly, we drew the RGB histograms of all the images and calculated the objective evaluation values before and after the adjustment by Equations (8)- (10). Figure 6 shows the RGB histograms of the ten Gaussian images before and after the adjustment. The abscissa x is the pixel value, and the ordinate p(x) is the proportion of the normalized x value. Figure 7 shows the changing trends of objective evaluation values. As seen in Figure 6, the histogram distributions of the R, G, and B channels became more dispersed and uniform after the adjustment, which was consistent with the high visual characteristics of enhanced images [7,8]. Moreover, from Figure 7, the evaluation values of colorfulness, contrast, and sharpness all increased to varying degrees. Change of Gaussian Images after the Adaptive Color Adjustment However, it could be seen from Figure 6 that the histograms of the No.1, the No.3, the No.5, and the No.10 images after the adjustment were evidently overcompensated in the R, G and B channels, and the R channel of the No.10 image was especially obvious. The reason for this phenomenon could be the same as that caused by the Gaussian method. Improvement and Comparison of the Adaptive Color Adjustment Algorithm According to the Equation (6), the overcompensation in the R, G and B channels of the color-adjusted images might not only be induced by the mean value-based algorithm, but also by the color extension coefficient . Therefore, we compared the values of all the images in Table 2. Figure 6, it was proven that the overcompensation could also be caused by the values. Improvement and Comparison of the Adaptive Color Adjustment Algorithm For the other appropriately enhanced images, the values were around 1.5. Consequently, we reset the coefficient to a unified 1.5, and then drew the RGB histograms of the color-adjusted images at this setting. Figure 8 shows the RGB histograms of the four Gaussian images before and after the adjustment. As seen in Figure 6, the histogram distributions of the R, G, and B channels became more dispersed and uniform after the adjustment, which was consistent with the high visual characteristics of enhanced images [7,8]. Moreover, from Figure 7, the evaluation values of colorfulness, contrast, and sharpness all increased to varying degrees. Improvement and Comparison of the Adaptive Color Adjustment Algorithm However, it could be seen from Figure 6 that the histograms of the No.1, the No.3, the No.5, and the No.10 images after the adjustment were evidently overcompensated in the R, G and B channels, and the R channel of the No.10 image was especially obvious. The reason for this phenomenon could be the same as that caused by the Gaussian method. Improvement and Comparison of the Adaptive Color Adjustment Algorithm According to the Equation (6), the overcompensation in the R, G and B channels of the color-adjusted images might not only be induced by the mean value-based algorithm, but also by the color extension coefficient α c . Therefore, we compared the α c values of all the images in Table 2. From Table 2, the α c values of the No.1, the No.3, and the No.5 images were over 2, and the α R value of the No.10 image was also over 2. Combined with the marked areas in Figure 6, it was proven that the overcompensation could also be caused by the α c values. Improvement and Comparison of the Adaptive Color Adjustment Algorithm For the other appropriately enhanced images, the α c values were around 1.5. Consequently, we reset the coefficient to a unified 1.5, and then drew the RGB histograms of the color-adjusted images at this setting. Figure 8 shows the RGB histograms of the four Gaussian images before and after the adjustment. As seen in Figure 8, though the RGB histograms were not as dispersed as those in Figure 6, the overcompensation in the R, G and B channels disappeared at the reduced setting, excluding the No.10 image. This was because the No.10 image was already overcompensated during the Gaussian process. Improvement and Comparison of the Adaptive Color Adjustment Algorithm Notably, another adjustment experiment was conducted under which the coefficient was reset to a unified 2. The overcompensation in the No.1 and the No.3 images almost disappeared, but it was still appreciable in the No.5 and No.10 images. That is, for the light-colored images, overcompensation could be more easily induced by the mean and variance value-based algorithms. Improvement and Comparison of the Adaptive Color Adjustment Algorithm Images processed by the traditional output sharpening method unsharp mask (USM) were compared with those processed by the proposed algorithm at the unified 1.5 value of . When the amount was set to 50 (%), the radius 1.5 (pixels), and the threshold 0 (levels) in USM, images presented a more ideal and higher sharpness [24]. Table 3 shows the objective evaluation values of the four images processed by the proposed algorithm whose values were from Table 2 and a unified 1.5, and by the USM at the mentioned setting. Table 3, a higher value represents a higher evaluation value of the three indices, and a higher possibility of resulting in overcompensation. The visual effect of the No.10 image enhanced by the above methods is shown below. Improvement and Comparison of the Adaptive Color Adjustment Algorithm From Figure 9, the values obtained by Equation (5) were not appropriate for the adaptive color adjustment of the No.10 image, as its color was quite different from that of the original image, inclined to green. On the contrary, the algorithm at the reduced values (a unified 1.5) not only effectively enhanced the images, but also performed better in the enhancement effect than the USM. Despite the No.10 image still displayed overcompensation after the color adjustment at the reduced coefficient, the negative impact on visual impression was alleviated. As seen in Figure 8, though the RGB histograms were not as dispersed as those in Figure 6, the overcompensation in the R, G and B channels disappeared at the reduced α c setting, excluding the No.10 image. This was because the No.10 image was already overcompensated during the Gaussian process. Improvement and Comparison of the Adaptive Color Adjustment Algorithm Notably, another adjustment experiment was conducted under which the coefficient was reset to a unified 2. The overcompensation in the No.1 and the No.3 images almost disappeared, but it was still appreciable in the No.5 and No.10 images. That is, for the light-colored images, overcompensation could be more easily induced by the mean and variance value-based algorithms. Improvement and Comparison of the Adaptive Color Adjustment Algorithm Images processed by the traditional output sharpening method unsharp mask (USM) were compared with those processed by the proposed algorithm at the unified 1.5 value of α c . When the amount was set to 50 (%), the radius 1.5 (pixels), and the threshold 0 (levels) in USM, images presented a more ideal and higher sharpness [24]. Table 3 shows the objective evaluation values of the four images processed by the proposed algorithm whose α c values were from Table 2 and a unified 1.5, and by the USM at the mentioned setting. As shown in Table 3, a higher α c value represents a higher evaluation value of the three indices, and a higher possibility of resulting in overcompensation. The visual effect of the No.10 image enhanced by the above methods is shown below. Improvement and Comparison of the Adaptive Color Adjustment Algorithm From Figure 9, the α c values obtained by Equation (5) were not appropriate for the adaptive color adjustment of the No.10 image, as its color was quite different from that of the original image, inclined to green. On the contrary, the algorithm at the reduced α c values (a unified 1.5) not only effectively enhanced the images, but also performed better in the enhancement effect than the USM. Despite the No.10 image still displayed overcompensation after the color adjustment at the reduced coefficient, the negative impact on visual impression was alleviated. To further verify the effectiveness and the applicability of the proposed algorithm in other wood grain images, we performed qualitative and quantitative comparisons with the following methods: the adaptive color adjustment algorithm proposed by Zhi et al. [27] for sand-degraded images, the color balance algorithm proposed by Luo et al. [5] for underwater images, the traditional enhancement method USM suggested by Mao et al. [24], and the proposed adaptive color adjustment algorithm for wood grain images before and after modification. Improvement and Comparison of the Adaptive Color Adjustment Algorithm The tested images were from another five tree species, and stored in the same format and size as described above after being processed by the Gaussian histogram specification. Then, these Gaussian images were processed by the adjusted methods discussed above, respectively, and the resulting visual effect is shown in Figure 10. The basic information of the five species is shown in Table 4. To further verify the effectiveness and the applicability of the proposed algorithm in other wood grain images, we performed qualitative and quantitative comparisons with the following methods: the adaptive color adjustment algorithm proposed by Zhi et al. [27] for sand-degraded images, the color balance algorithm proposed by Luo et al. [5] for underwater images, the traditional enhancement method USM suggested by Mao et al. [24], and the proposed adaptive color adjustment algorithm for wood grain images before and after modification. Improvement and Comparison of the Adaptive Color Adjustment Algorithm The tested images were from another five tree species, and stored in the same format and size as described above after being processed by the Gaussian histogram specification. Then, these Gaussian images were processed by the adjusted methods discussed above, respectively, and the resulting visual effect is shown in Figure 10. The basic information of the five species is shown in Table 4. To further verify the effectiveness and the applicability of the proposed algorithm in other wood grain images, we performed qualitative and quantitative comparisons with the following methods: the adaptive color adjustment algorithm proposed by Zhi et al. [27] for sand-degraded images, the color balance algorithm proposed by Luo et al. [5] for underwater images, the traditional enhancement method USM suggested by Mao et al. [24], and the proposed adaptive color adjustment algorithm for wood grain images before and after modification. Improvement and Comparison of the Adaptive Color Adjustment Algorithm The tested images were from another five tree species, and stored in the same format and size as described above after being processed by the Gaussian histogram specification. Then, these Gaussian images were processed by the adjusted methods discussed above, respectively, and the resulting visual effect is shown in Figure 10. The basic information of the five species is shown in Table 4. [27], Luo et al. [5], USM [24], the proposed algorithm before modification, and the proposed algorithm at the unified 1.5 coefficient. Table 4. Basic information of the five tree species. Serial Numbers Tree Name Scientific Name Thumbnails Balsa Ochroma pyramidale Figure 10. Subjective comparisons on the five wood grain images. From left to right: Gaussian images, the results of Zhi et al. [27], Luo et al. [5], USM [24], the proposed algorithm before modification, and the proposed algorithm at the unified 1.5 coefficient. Clearly, from the perspective of image enhancement and color adjustment, the algorithms designed for sand-degraded images and underwater images were not suitable for wood grain images, and the USM was also unsatisfactory in improving image grain visibility. The proposed algorithm was better than these methods in improving visibility and maintaining color, but some of the images were over enhanced, especially the light-colored images, leading to overcompensation and color shift. Consequently, the color extension coefficient of the proposed algorithm should be reduced. Balsa Thanks to the high similarity between the images processed by the USM and the Propose-2 in Figure 10, further comparison was made through the objective evaluation below. Balsa As can be seen from Table 5, the five Gaussian images processed by the histogram extension method at the unified 1.5 coefficient performed better than USM in colorfulness, contrast, and sharpness, which verified the effectiveness of our algorithm. Despite the fact that the sharpness value of the No.11 image could not be calculated because of its inapparent texture, the results of other images remained effective. Conclusions In order to restore the distorted wood grain images by approximating the Gaussian distribution of natural images (NI), a method of Gaussian histogram specification was proposed. In addition, to print digital wood grain and reproduce a satisfactorily clear wood surface, an adaptive color adjustment algorithm was proposed and improved. Good processing results were achieved by using the proposed algorithms. Conclusions The Gaussian histogram specification was based on the constant mean and variance values of the R, G, and B of each image. The changing trends of the RGB histograms, col- 12 Itin Prosopis kuntzei Forests 2022, 13, x FOR PEER REVIEW 13 of 15 Figure 10. Subjective comparisons on the five wood grain images. From left to right: Gaussian images, the results of Zhi et al. [27], Luo et al. [5], USM [24], the proposed algorithm before modification, and the proposed algorithm at the unified 1.5 coefficient. Clearly, from the perspective of image enhancement and color adjustment, the algorithms designed for sand-degraded images and underwater images were not suitable for wood grain images, and the USM was also unsatisfactory in improving image grain visibility. The proposed algorithm was better than these methods in improving visibility and maintaining color, but some of the images were over enhanced, especially the light-colored images, leading to overcompensation and color shift. Consequently, the color extension coefficient of the proposed algorithm should be reduced. Prosopis kuntzei Thanks to the high similarity between the images processed by the USM and the Propose-2 in Figure 10, further comparison was made through the objective evaluation below. Prosopis kuntzei As can be seen from Table 5, the five Gaussian images processed by the histogram extension method at the unified 1.5 coefficient performed better than USM in colorfulness, contrast, and sharpness, which verified the effectiveness of our algorithm. Despite the fact that the sharpness value of the No.11 image could not be calculated because of its inapparent texture, the results of other images remained effective. Conclusions In order to restore the distorted wood grain images by approximating the Gaussian distribution of natural images (NI), a method of Gaussian histogram specification was proposed. In addition, to print digital wood grain and reproduce a satisfactorily clear wood surface, an adaptive color adjustment algorithm was proposed and improved. Good processing results were achieved by using the proposed algorithms. Conclusions The Gaussian histogram specification was based on the constant mean and variance values of the R, G, and B of each image. The changing trends of the RGB histograms, col- 13 Crab Apple Malus domestica Forests 2022, 13, x FOR PEER REVIEW 13 of 15 Figure 10. Subjective comparisons on the five wood grain images. From left to right: Gaussian images, the results of Zhi et al. [27], Luo et al. [5], USM [24], the proposed algorithm before modification, and the proposed algorithm at the unified 1.5 coefficient. Clearly, from the perspective of image enhancement and color adjustment, the algorithms designed for sand-degraded images and underwater images were not suitable for wood grain images, and the USM was also unsatisfactory in improving image grain visibility. The proposed algorithm was better than these methods in improving visibility and maintaining color, but some of the images were over enhanced, especially the light-colored images, leading to overcompensation and color shift. Consequently, the color extension coefficient of the proposed algorithm should be reduced. Malus domestica Thanks to the high similarity between the images processed by the USM and the Propose-2 in Figure 10, further comparison was made through the objective evaluation below. Malus domestica As can be seen from Table 5, the five Gaussian images processed by the histogram extension method at the unified 1.5 coefficient performed better than USM in colorfulness, contrast, and sharpness, which verified the effectiveness of our algorithm. Despite the fact that the sharpness value of the No.11 image could not be calculated because of its inapparent texture, the results of other images remained effective. Conclusions In order to restore the distorted wood grain images by approximating the Gaussian distribution of natural images (NI), a method of Gaussian histogram specification was proposed. In addition, to print digital wood grain and reproduce a satisfactorily clear wood surface, an adaptive color adjustment algorithm was proposed and improved. Good processing results were achieved by using the proposed algorithms. Conclusions The Gaussian histogram specification was based on the constant mean and variance values of the R, G, and B of each image. The changing trends of the RGB histograms, col- 14 Butternut Juglans cinerea Forests 2022, 13, x FOR PEER REVIEW 13 of 15 Figure 10. Subjective comparisons on the five wood grain images. From left to right: Gaussian images, the results of Zhi et al. [27], Luo et al. [5], USM [24], the proposed algorithm before modification, and the proposed algorithm at the unified 1.5 coefficient. Clearly, from the perspective of image enhancement and color adjustment, the algorithms designed for sand-degraded images and underwater images were not suitable for wood grain images, and the USM was also unsatisfactory in improving image grain visibility. The proposed algorithm was better than these methods in improving visibility and maintaining color, but some of the images were over enhanced, especially the light-colored images, leading to overcompensation and color shift. Consequently, the color extension coefficient of the proposed algorithm should be reduced. Juglans cinerea Thanks to the high similarity between the images processed by the USM and the Propose-2 in Figure 10, further comparison was made through the objective evaluation below. Juglans cinerea As can be seen from Table 5, the five Gaussian images processed by the histogram extension method at the unified 1.5 coefficient performed better than USM in colorfulness, contrast, and sharpness, which verified the effectiveness of our algorithm. Despite the fact that the sharpness value of the No.11 image could not be calculated because of its inapparent texture, the results of other images remained effective. Conclusions In order to restore the distorted wood grain images by approximating the Gaussian distribution of natural images (NI), a method of Gaussian histogram specification was proposed. In addition, to print digital wood grain and reproduce a satisfactorily clear wood surface, an adaptive color adjustment algorithm was proposed and improved. Good processing results were achieved by using the proposed algorithms. Conclusions The Gaussian histogram specification was based on the constant mean and variance values of the R, G, and B of each image. The changing trends of the RGB histograms, col- 15 Water Hickory Carya aquatica Conclusions Forests 2022, 13, x FOR PEER REVIEW 13 of 15 Figure 10. Subjective comparisons on the five wood grain images. From left to right: Gaussian images, the results of Zhi et al. [27], Luo et al. [5], USM [24], the proposed algorithm before modification, and the proposed algorithm at the unified 1.5 coefficient. Clearly, from the perspective of image enhancement and color adjustment, the algorithms designed for sand-degraded images and underwater images were not suitable for wood grain images, and the USM was also unsatisfactory in improving image grain visibility. The proposed algorithm was better than these methods in improving visibility and maintaining color, but some of the images were over enhanced, especially the light-colored images, leading to overcompensation and color shift. Consequently, the color extension coefficient of the proposed algorithm should be reduced. Conclusions Thanks to the high similarity between the images processed by the USM and the Propose-2 in Figure 10, further comparison was made through the objective evaluation below. Conclusions As can be seen from Table 5, the five Gaussian images processed by the histogram extension method at the unified 1.5 coefficient performed better than USM in colorfulness, contrast, and sharpness, which verified the effectiveness of our algorithm. Despite the fact that the sharpness value of the No.11 image could not be calculated because of its inapparent texture, the results of other images remained effective. Conclusions In order to restore the distorted wood grain images by approximating the Gaussian distribution of natural images (NI), a method of Gaussian histogram specification was proposed. In addition, to print digital wood grain and reproduce a satisfactorily clear wood surface, an adaptive color adjustment algorithm was proposed and improved. Good processing results were achieved by using the proposed algorithms. Conclusions The Gaussian histogram specification was based on the constant mean and variance values of the R, G, and B of each image. The changing trends of the RGB histograms, col-Clearly, from the perspective of image enhancement and color adjustment, the algorithms designed for sand-degraded images and underwater images were not suitable for wood grain images, and the USM was also unsatisfactory in improving image grain visibility. The proposed algorithm was better than these methods in improving visibility and maintaining color, but some of the images were over enhanced, especially the light-colored images, leading to overcompensation and color shift. Consequently, the color extension coefficient of the proposed algorithm should be reduced. Conclusions Thanks to the high similarity between the images processed by the USM and the Propose-2 in Figure 10, further comparison was made through the objective evaluation below. Conclusions As can be seen from Table 5, the five Gaussian images processed by the histogram extension method at the unified 1.5 coefficient performed better than USM in colorfulness, contrast, and sharpness, which verified the effectiveness of our algorithm. Despite the fact that the sharpness value of the No.11 image could not be calculated because of its inapparent texture, the results of other images remained effective. Conclusions In order to restore the distorted wood grain images by approximating the Gaussian distribution of natural images (NI), a method of Gaussian histogram specification was proposed. In addition, to print digital wood grain and reproduce a satisfactorily clear wood surface, an adaptive color adjustment algorithm was proposed and improved. Good processing results were achieved by using the proposed algorithms. Conclusions The Gaussian histogram specification was based on the constant mean and variance values of the R, G, and B of each image. The changing trends of the RGB histograms, colorfulness index, contrast index, and sharpness index of each image varied after the specification. Though the Gaussian method had a small influence on the visual effect of hardwood grain images, it could restore the distorted images by repairing the irregular color points to weaken the adverse impact on visual impression. The Gaussian method also had a smoothing effect or an enhancing effect on the images with prominent uneven color transitions. Conclusions The adaptive color adjustment was based on the color extension of the R, G, and B histograms of each Gaussian image. The texture visibility was improved, and the details were highlighted for each Gaussian image after the adjustment. The evaluation indices of colorfulness, contrast, and sharpness all showed an upward trend, and the distribution of the RGB histograms became more dispersed and uniform, implying that all the Gaussian images were enhanced after the adjustment. Conclusions Nevertheless, some of the color-adjusted images had overcompensation in R, G and B channels, which even led to color shift. By reducing the values of the color extension coefficient, the overcompensation and color shift could be eliminated. A higher coefficient represented a more scattered distribution of RGB histograms, a higher evaluation value of the three indices, and a higher enhancement intensity, yet the enhancement effect might not be satisfactory. Conclusions The adaptive color adjustment algorithm was compared with the traditional enhancement method USM and the methods designed for sand-degraded images and underwater images. The results show that images processed by the proposed algorithm at the reduced coefficient got better results in both objective and subjective evaluation, which verified the effectiveness and applicability of our algorithm in wood grain images. Conclusions From the view of digital image, the macroscopic appearance of wood grain is a region with different local color values and overall color. Although the tested images from 15 tree species could not represent the color of all the wood grain images, the color extension coefficient around 1.5 was proven to be effective. Overall, multiple tests and comparisons were suggested for different color images to obtain the required effect. Conflicts of Interest: The authors declare no conflict of interest.

섹션 본문 148문단 · 59,640자

Introduction

2Surface decoration methods of wood products are becoming dependent on wood grain images, especially 3D wood texture printing on board surfaces [1]. A wood grain image is generally obtained through high-quality image acquisition equipment; hence it belongs to natural images (NI), whose pixel intensity follows the Gaussian distribution [2]. Because of the instability of image acquisition equipment and other factors, the image quality of wood grain is apt to degrade, and the pixel intensity of the distorted images does not always follow the Gaussian distribution. For instance, noise is typically strongest in the B (blue) channel of an image [3], and disobeys the Gaussian distribution. Therefore, when it comes to the digital printing of wood grain images, image enhancement approaches like output sharpening are essential to produce a satisfactorily clear wood surface [4]. As a result, the restoration and enhancement of wood grain images are vital to promote the aesthetics of a wood surface.

3Currently, most image restoration and enhancement methods concentrate on underwater images [5][6][7], haze images [8,9], or sand-dust images [10,11] because of the poor The ten hardwood images were stored in a default JPEG format at 8 bits per channel and 300 pixels per inch (ppi) resolution. They were then cropped to the size of 35 mm × 35 mm (length × width); thus, the size of each image is 413 × 413 pixels with 256 gray levels.

Gaussian Histogram Specification of Wood Grain Images

4Histogram specification is a kind of typical non-modeled image intensification method [26]. Due to the fact that the I channel of HSI images is the main factor that restricts the production of crisper looking haze images, to intensify the image contrast, Liang et al. [8] proposed a color image defogging algorithm through the histogram specification of Gaussian function weighting on the I channel.

5Since the R, G, and B components of RGB images were equally related to the intensity component I of HSI images, the Gaussian histogram specification was conducted on the R, G, and B channels, respectively. Different from the above intensifying method, to approximate the RGB histograms of the natural images (NI), the Gaussian method was conducted under the condition that the mean and variance values of each image were constant. The Gauss formulas are as follows:

6where ∈ { , , }, 2 is the image variance, is the average value of all pixels in the image, × is the image size, and ( , ) is the pixel value at the point ( , ).

Adaptive Color Adjustment of Wood Grain Images

7The existing image enhancement algorithms mainly focus on the color deviation caused by the shooting environment, thus each color channel is treated differently. For example, as shown in Equation (4), Zhi et al. [27] used the histogram distribution of the G channel to calculate the color extension coefficient of all the channels in order to enhance the dust-degraded images.

8where _ and _ are the maximum and minimum values in the G channel. Accordingly, because there were no severely unbalanced color defects in the wood images, values of R, G, and B channels were all used to calculate the coefficient of the corresponding channel. The coefficient is calculated as follows: 2 Indian Silver Greywood Terminalia bialata Golden Wattle Acacia pycnantha 10 American Elm

Ulmus americana

9The ten hardwood images were stored in a default JPEG format at 8 bits per channel and 300 pixels per inch (ppi) resolution. They were then cropped to the size of 35 mm × 35 mm (length × width); thus, the size of each image is 413 × 413 pixels with 256 gray levels.

Gaussian Histogram Specification of Wood Grain Images

10Histogram specification is a kind of typical non-modeled image intensification method [26]. Due to the fact that the I channel of HSI images is the main factor that restricts the production of crisper looking haze images, to intensify the image contrast, Liang et al. [8] proposed a color image defogging algorithm through the histogram specification of Gaussian function weighting on the I channel.

11Since the R, G, and B components of RGB images were equally related to the intensity component I of HSI images, the Gaussian histogram specification was conducted on the R, G, and B channels, respectively. Different from the above intensifying method, to approximate the RGB histograms of the natural images (NI), the Gaussian method was conducted under the condition that the mean and variance values of each image were constant. The Gauss formulas are as follows:

12where ∈ { , , }, 2 is the image variance, is the average value of all pixels in the image, × is the image size, and ( , ) is the pixel value at the point ( , ).

Adaptive Color Adjustment of Wood Grain Images

13The existing image enhancement algorithms mainly focus on the color deviation caused by the shooting environment, thus each color channel is treated differently. For example, as shown in Equation (4), Zhi et al. [27] used the histogram distribution of the G channel to calculate the color extension coefficient of all the channels in order to enhance the dust-degraded images.

14where _ and _ are the maximum and minimum values in the G channel. Accordingly, because there were no severely unbalanced color defects in the wood images, values of R, G, and B channels were all used to calculate the coefficient of the corresponding channel. The coefficient is calculated as follows: 3 Macassar Ebony Diospyros celebica Golden Wattle Acacia pycnantha 10 American Elm

Ulmus americana

15The ten hardwood images were stored in a default JPEG format at 8 bits per channel and 300 pixels per inch (ppi) resolution. They were then cropped to the size of 35 mm × 35 mm (length × width); thus, the size of each image is 413 × 413 pixels with 256 gray levels.

Gaussian Histogram Specification of Wood Grain Images

16Histogram specification is a kind of typical non-modeled image intensification method [26]. Due to the fact that the I channel of HSI images is the main factor that restricts the production of crisper looking haze images, to intensify the image contrast, Liang et al. [8] proposed a color image defogging algorithm through the histogram specification of Gaussian function weighting on the I channel.

17Since the R, G, and B components of RGB images were equally related to the intensity component I of HSI images, the Gaussian histogram specification was conducted on the R, G, and B channels, respectively. Different from the above intensifying method, to approximate the RGB histograms of the natural images (NI), the Gaussian method was conducted under the condition that the mean and variance values of each image were constant. The Gauss formulas are as follows:

18where ∈ { , , }, 2 is the image variance, is the average value of all pixels in the image, × is the image size, and ( , ) is the pixel value at the point ( , ).

Adaptive Color Adjustment of Wood Grain Images

19The existing image enhancement algorithms mainly focus on the color deviation caused by the shooting environment, thus each color channel is treated differently. For example, as shown in Equation (4), Zhi et al. [27] used the histogram distribution of the G channel to calculate the color extension coefficient of all the channels in order to enhance the dust-degraded images.

20where _ and _ are the maximum and minimum values in the G channel. Accordingly, because there were no severely unbalanced color defects in the wood images, values of R, G, and B channels were all used to calculate the coefficient of the corresponding channel. The coefficient is calculated as follows: Golden Wattle Acacia pycnantha 10 American Elm

Ulmus americana

21The ten hardwood images were stored in a default JPEG format at 8 bits per channel and 300 pixels per inch (ppi) resolution. They were then cropped to the size of 35 mm × 35 mm (length × width); thus, the size of each image is 413 × 413 pixels with 256 gray levels.

Gaussian Histogram Specification of Wood Grain Images

22Histogram specification is a kind of typical non-modeled image intensification method [26]. Due to the fact that the I channel of HSI images is the main factor that restricts the production of crisper looking haze images, to intensify the image contrast, Liang et al. [8] proposed a color image defogging algorithm through the histogram specification of Gaussian function weighting on the I channel.

23Since the R, G, and B components of RGB images were equally related to the intensity component I of HSI images, the Gaussian histogram specification was conducted on the R, G, and B channels, respectively. Different from the above intensifying method, to approximate the RGB histograms of the natural images (NI), the Gaussian method was conducted under the condition that the mean and variance values of each image were constant. The Gauss formulas are as follows:

24where ∈ { , , }, 2 is the image variance, is the average value of all pixels in the image, × is the image size, and ( , ) is the pixel value at the point ( , ).

Adaptive Color Adjustment of Wood Grain Images

25The existing image enhancement algorithms mainly focus on the color deviation caused by the shooting environment, thus each color channel is treated differently. For example, as shown in Equation (4), Zhi et al. [27] used the histogram distribution of the G channel to calculate the color extension coefficient of all the channels in order to enhance the dust-degraded images.

26where _ and _ are the maximum and minimum values in the G channel. Accordingly, because there were no severely unbalanced color defects in the wood images, values of R, G, and B channels were all used to calculate the coefficient of the corresponding channel. The coefficient is calculated as follows: Golden Wattle Acacia pycnantha 10

27American Elm

Ulmus americana

28The ten hardwood images were stored in a default JPEG format at 8 bits per channel and 300 pixels per inch (ppi) resolution. They were then cropped to the size of 35 mm × 35 mm (length × width); thus, the size of each image is 413 × 413 pixels with 256 gray levels.

Gaussian Histogram Specification of Wood Grain Images

29Histogram specification is a kind of typical non-modeled image intensification method [26]. Due to the fact that the I channel of HSI images is the main factor that restricts the production of crisper looking haze images, to intensify the image contrast, Liang et al. [8] proposed a color image defogging algorithm through the histogram specification of Gaussian function weighting on the I channel.

30Since the R, G, and B components of RGB images were equally related to the intensity component I of HSI images, the Gaussian histogram specification was conducted on the R, G, and B channels, respectively. Different from the above intensifying method, to approximate the RGB histograms of the natural images (NI), the Gaussian method was conducted under the condition that the mean and variance values of each image were constant. The Gauss formulas are as follows:

31where ∈ { , , }, 2 is the image variance, is the average value of all pixels in the image, × is the image size, and ( , ) is the pixel value at the point ( , ).

Adaptive Color Adjustment of Wood Grain Images

32The existing image enhancement algorithms mainly focus on the color deviation caused by the shooting environment, thus each color channel is treated differently. For example, as shown in Equation (4), Zhi et al. [27] used the histogram distribution of the G channel to calculate the color extension coefficient of all the channels in order to enhance the dust-degraded images.

33where _ and _ are the maximum and minimum values in the G channel. Accordingly, because there were no severely unbalanced color defects in the wood images, values of R, G, and B channels were all used to calculate the coefficient of the corresponding channel. The coefficient is calculated as follows: 6 Jarrah Eucalyptus marginata Golden Wattle Acacia pycnantha 10

34American Elm

Ulmus americana

35The ten hardwood images were stored in a default JPEG format at 8 bits per channel and 300 pixels per inch (ppi) resolution. They were then cropped to the size of 35 mm × 35 mm (length × width); thus, the size of each image is 413 × 413 pixels with 256 gray levels.

Gaussian Histogram Specification of Wood Grain Images

36Histogram specification is a kind of typical non-modeled image intensification method [26]. Due to the fact that the I channel of HSI images is the main factor that restricts the production of crisper looking haze images, to intensify the image contrast, Liang et al. [8] proposed a color image defogging algorithm through the histogram specification of Gaussian function weighting on the I channel.

37Since the R, G, and B components of RGB images were equally related to the intensity component I of HSI images, the Gaussian histogram specification was conducted on the R, G, and B channels, respectively. Different from the above intensifying method, to approximate the RGB histograms of the natural images (NI), the Gaussian method was conducted under the condition that the mean and variance values of each image were constant. The Gauss formulas are as follows:

38where ∈ { , , }, 2 is the image variance, is the average value of all pixels in the image, × is the image size, and ( , ) is the pixel value at the point ( , ).

Adaptive Color Adjustment of Wood Grain Images

39The existing image enhancement algorithms mainly focus on the color deviation caused by the shooting environment, thus each color channel is treated differently. For example, as shown in Equation (4), Zhi et al. [27] used the histogram distribution of the G channel to calculate the color extension coefficient of all the channels in order to enhance the dust-degraded images.

40where _ and _ are the maximum and minimum values in the G channel. Accordingly, because there were no severely unbalanced color defects in the wood images, values of R, G, and B channels were all used to calculate the coefficient of the corresponding channel. The coefficient is calculated as follows: 7 Southern Magnolia Magnolia grandiflora Golden Wattle Acacia pycnantha 10

41American Elm

Ulmus americana

42The ten hardwood images were stored in a default JPEG format at 8 bits per channel and 300 pixels per inch (ppi) resolution. They were then cropped to the size of 35 mm × 35 mm (length × width); thus, the size of each image is 413 × 413 pixels with 256 gray levels.

Gaussian Histogram Specification of Wood Grain Images

43Histogram specification is a kind of typical non-modeled image intensification method [26]. Due to the fact that the I channel of HSI images is the main factor that restricts the production of crisper looking haze images, to intensify the image contrast, Liang et al. [8] proposed a color image defogging algorithm through the histogram specification of Gaussian function weighting on the I channel.

44Since the R, G, and B components of RGB images were equally related to the intensity component I of HSI images, the Gaussian histogram specification was conducted on the R, G, and B channels, respectively. Different from the above intensifying method, to approximate the RGB histograms of the natural images (NI), the Gaussian method was conducted under the condition that the mean and variance values of each image were constant. The Gauss formulas are as follows:

45where ∈ { , , }, 2 is the image variance, is the average value of all pixels in the image, × is the image size, and ( , ) is the pixel value at the point ( , ).

Adaptive Color Adjustment of Wood Grain Images

46The existing image enhancement algorithms mainly focus on the color deviation caused by the shooting environment, thus each color channel is treated differently. For example, as shown in Equation (4), Zhi et al. [27] used the histogram distribution of the G channel to calculate the color extension coefficient of all the channels in order to enhance the dust-degraded images.

47where _ and _ are the maximum and minimum values in the G channel. Accordingly, because there were no severely unbalanced color defects in the wood images, values of R, G, and B channels were all used to calculate the coefficient of the corresponding channel. The coefficient is calculated as follows: 8 Afata Cordia trichotoma Golden Wattle Acacia pycnantha 10

48American Elm

Ulmus americana

49The ten hardwood images were stored in a default JPEG format at 8 bits per channel and 300 pixels per inch (ppi) resolution. They were then cropped to the size of 35 mm × 35 mm (length × width); thus, the size of each image is 413 × 413 pixels with 256 gray levels.

Gaussian Histogram Specification of Wood Grain Images

50Histogram specification is a kind of typical non-modeled image intensification method [26]. Due to the fact that the I channel of HSI images is the main factor that restricts the production of crisper looking haze images, to intensify the image contrast, Liang et al. [8] proposed a color image defogging algorithm through the histogram specification of Gaussian function weighting on the I channel.

51Since the R, G, and B components of RGB images were equally related to the intensity component I of HSI images, the Gaussian histogram specification was conducted on the R, G, and B channels, respectively. Different from the above intensifying method, to approximate the RGB histograms of the natural images (NI), the Gaussian method was conducted under the condition that the mean and variance values of each image were constant. The Gauss formulas are as follows:

52where ∈ { , , }, 2 is the image variance, is the average value of all pixels in the image, × is the image size, and ( , ) is the pixel value at the point ( , ).

Adaptive Color Adjustment of Wood Grain Images

53The existing image enhancement algorithms mainly focus on the color deviation caused by the shooting environment, thus each color channel is treated differently. For example, as shown in Equation (4), Zhi et al. [27] used the histogram distribution of the G channel to calculate the color extension coefficient of all the channels in order to enhance the dust-degraded images.

54where _ and _ are the maximum and minimum values in the G channel. Accordingly, because there were no severely unbalanced color defects in the wood images, values of R, G, and B channels were all used to calculate the coefficient of the corresponding channel. The coefficient is calculated as follows: 9 Golden Wattle Acacia pycnantha Golden Wattle Acacia pycnantha 10

55American Elm

Ulmus americana

56The ten hardwood images were stored in a default JPEG format at 8 bits per channel and 300 pixels per inch (ppi) resolution. They were then cropped to the size of 35 mm × 35 mm (length × width); thus, the size of each image is 413 × 413 pixels with 256 gray levels.

Gaussian Histogram Specification of Wood Grain Images

57Histogram specification is a kind of typical non-modeled image intensification method [26]. Due to the fact that the I channel of HSI images is the main factor that restricts the production of crisper looking haze images, to intensify the image contrast, Liang et al. [8] proposed a color image defogging algorithm through the histogram specification of Gaussian function weighting on the I channel.

58Since the R, G, and B components of RGB images were equally related to the intensity component I of HSI images, the Gaussian histogram specification was conducted on the R, G, and B channels, respectively. Different from the above intensifying method, to approximate the RGB histograms of the natural images (NI), the Gaussian method was conducted under the condition that the mean and variance values of each image were constant. The Gauss formulas are as follows:

59where ∈ { , , }, 2 is the image variance, is the average value of all pixels in the image, × is the image size, and ( , ) is the pixel value at the point ( , ).

Adaptive Color Adjustment of Wood Grain Images

60The existing image enhancement algorithms mainly focus on the color deviation caused by the shooting environment, thus each color channel is treated differently. For example, as shown in Equation (4), Zhi et al. [27] used the histogram distribution of the G channel to calculate the color extension coefficient of all the channels in order to enhance the dust-degraded images.

61where _ and _ are the maximum and minimum values in the G channel. Accordingly, because there were no severely unbalanced color defects in the wood images, values of R, G, and B channels were all used to calculate the coefficient of the corresponding channel. The coefficient is calculated as follows: 10 American Elm

Ulmus americana

62Forests 2022, 13, x FOR PEER REVIEW 3 of 15 Golden Wattle Acacia pycnantha 10 American Elm

63The ten hardwood images were stored in a default JPEG format at 8 bits per channel and 300 pixels per inch (ppi) resolution. They were then cropped to the size of 35 mm × 35 mm (length × width); thus, the size of each image is 413 × 413 pixels with 256 gray levels.

Gaussian Histogram Specification of Wood Grain Images

64Histogram specification is a kind of typical non-modeled image intensification method [26]. Due to the fact that the I channel of HSI images is the main factor that restricts the production of crisper looking haze images, to intensify the image contrast, Liang et al. [8] proposed a color image defogging algorithm through the histogram specification of Gaussian function weighting on the I channel.

65Since the R, G, and B components of RGB images were equally related to the intensity component I of HSI images, the Gaussian histogram specification was conducted on the R, G, and B channels, respectively. Different from the above intensifying method, to approximate the RGB histograms of the natural images (NI), the Gaussian method was conducted under the condition that the mean and variance values of each image were constant. The Gauss formulas are as follows:

66where ∈ { , , }, 2 is the image variance, is the average value of all pixels in the image, × is the image size, and ( , ) is the pixel value at the point ( , ).

Adaptive Color Adjustment of Wood Grain Images

67The existing image enhancement algorithms mainly focus on the color deviation caused by the shooting environment, thus each color channel is treated differently. For example, as shown in Equation (4), Zhi et al. [27] used the histogram distribution of the G channel to calculate the color extension coefficient of all the channels in order to enhance the dust-degraded images.

68where _ and _ are the maximum and minimum values in the G channel. Accordingly, because there were no severely unbalanced color defects in the wood images, values of R, G, and B channels were all used to calculate the coefficient of the corresponding channel. The coefficient is calculated as follows:

Gaussian Histogram Specification of Wood Grain Images

69Histogram specification is a kind of typical non-modeled image intensification method [26]. Due to the fact that the I channel of HSI images is the main factor that restricts the production of crisper looking haze images, to intensify the image contrast, Liang et al. [8] proposed a color image defogging algorithm through the histogram specification of Gaussian function weighting on the I channel.

70Since the R, G, and B components of RGB images were equally related to the intensity component I of HSI images, the Gaussian histogram specification was conducted on the R, G, and B channels, respectively. Different from the above intensifying method, to approximate the RGB histograms of the natural images (NI), the Gaussian method was conducted under the condition that the mean and variance values of each image were constant. The Gauss formulas are as follows:

71where c ∈ {R, G, B}, σ c 2 is the image variance, µ c is the average value of all pixels in the image, M × N is the image size, and I c (i, j) is the pixel value at the point (i, j).

Adaptive Color Adjustment of Wood Grain Images

72The existing image enhancement algorithms mainly focus on the color deviation caused by the shooting environment, thus each color channel is treated differently. For example, as shown in Equation (4), Zhi et al. [27] used the histogram distribution of the G channel to calculate the color extension coefficient of all the channels in order to enhance the dust-degraded images.

73where I G_max and I G_min are the maximum and minimum values in the G channel. Accordingly, because there were no severely unbalanced color defects in the wood images, values of R, G, and B channels were all used to calculate the coefficient of the corresponding channel. The coefficient is calculated as follows:

74where c ∈ {R, G, B}, I c_max and I c_min are the maximum and minimum values in each channel. As the maximum pixel value was 255 for 8-bit/channel images, the molecule 255 was used to ensure that the α c was no less than 1.

75The adaptive color adjustment is as shown by Equation (6). Then the wood grain images after the adjustment can be obtained.

76where c ∈ {R, G, B}, µ c is the average value of all pixels in the image, I c (i, j) is the pixel value at the point (i, j) before the extension adjustment, and I c (i, j) is that after the adjustment.

Objective Evaluation Indices

77As the evaluation of visual effect is influenced by human subjective consciousness, objective evaluation is necessary to verify the restoration and enhancement methods adopted in image processing [5].

78Color image quality can be objectively evaluated using different image attributes [14,28]. Panetta et al. [14] proposed a color quality enhancement (CQE) metric consisting of colorfulness, sharpness, and contrast to measure the color image quality, and summarized that the CQE method was applicable to a wider variety of distorted images.

79In this study, considering the prior knowledge of the restored and enhanced images was available and there was no need for distortion-free images, the objective evaluation indices of colorfulness, sharpness, and contrast were used independently to evaluate the visual effect.

Colorfulness Index

80Colorfulness is the degree of difference between a color and grayscale image [28]. As shown in Equation (7), the color image quality index (CIQI) colorfulness [29] was applied to measure the colorfulness of wood grain images.

81where α = R − G, β = 0.5 × (R + G) − B, σ h 2 and µ h represent the variance and average values of the two-color axes.

Contrast Index

82Contrast is defined as the ability to separate image details [28]. The existing contrast measures are commonly based on root mean square (RMS) contrast, Weber contrast, and Michelson contrast [5,14]. In this study, the sum values of edge blocks in an image were applied to measure the RMS contrast of wood grain images.

83According to Ferzli et al. [30], a Sobel edge detector is first run on each block to detect the edge blocks through the number of edge pixels in one block. For a 64 × 64 block, if the threshold is over 0.2% of the total number of pixels in one block, the block is seen as an edge block; otherwise, it is seen as a smooth block. Therefore, each wood image is divided into 64 × 64 blocks. As shown in Equation (8), the contrast of a color image is the sum of the RMS _contrast values of all the edge blocks.

84where µ is the average value of all pixels in the image, M × N is the image size, I(i, j) is the pixel value at the point (i, j), and T is the number of edge blocks.

Sharpness Index

85Sharpness is the attribute related to the ability to preserve fine details and edges, and is defined by the boundaries between zones of different colors or intensities [28]. Since the Weber contrast-based measure of enhancement (EME) [31] can be applied to uniform background images [14], it was applied to measure the sharpness of wood grain images on the grayscale edge with an overlapped window size of 3 × 3. The formula is as follows:

86where the image is split into k 1 × k 2 blocks of sizes, l 1 × l 2 , I max,k,l and I min,k,l are the maximum and minimum values inside a subblock. Figure 1 shows the visual effect of the ten hardwood grain images before and after the Gaussian histogram specification. The µ c and σ c 2 of each image remained unchanged during the process.

87Sharpness is the attribute related to the ability to preserve fine details and edges, and is defined by the boundaries between zones of different colors or intensities [28]. Since the Weber contrast-based measure of enhancement (EME) [31] can be applied to uniform background images [14], it was applied to measure the sharpness of wood grain images on the grayscale edge with an overlapped window size of 3 × 3. The formula is as follows:

88where the image is split into 1 × 2 blocks of sizes, 1 × 2 , , , and , , are the maximum and minimum values inside a subblock. Figure 1 shows the visual effect of the ten hardwood grain images before and after the Gaussian histogram specification. The and 2 of each image remained unchanged during the process. It can be seen from Figure 1 that there is no obvious change in the image textures after the specification except for a few marked areas.

Change of Original Images after the Gaussian Histogram Specification

89To further find out the imperceptible change, we drew the RGB histograms of all the images and calculated the objective evaluation values before and after the specification by Equations (8)- (10). Figure 2 shows the RGB histograms of the ten images before and after the Gaussian histogram specification. The abscissa is the pixel value, and the ordinate ( ) is the proportion of the normalized value. Figure 3 shows the changing trends of objective evaluation values. It can be seen from Figure 1 that there is no obvious change in the image textures after the specification except for a few marked areas.

90To further find out the imperceptible change, we drew the RGB histograms of all the images and calculated the objective evaluation values before and after the specification by Equations (8)- (10). Figure 2 shows the RGB histograms of the ten images before and after the Gaussian histogram specification. The abscissa x is the pixel value, and the ordinate p(x) is the proportion of the normalized x value. Figure 3 shows the changing trends of objective evaluation values. From Figure 2, the RGB histograms of most images before and after the specification were almost coincident, which further implied the small influence that the Gaussian method had on the ten images. However, the marked area of the No.10 image disobeyed the Gaussian distribution. This is because when the algorithm was based on the mean and variance values, the R channel overcompensation could be easily induced [7]; even though, from Figures 1 and 3, the mean and variance value-based Gaussian method had no adverse influence on visual impression of the No.10 image.

91In Figure 3, the colorfulness values of the No.1, the No.8, and the No.9 images showed a wider decline after the specification. Correspondingly, in Figure 1, the textures of the No.1 image and the tree knots of the No.8 and the No.9 images were weakened. It was also found that in Figure 3, the contrast and sharpness values of the No.2 image had the largest variation after the specification. Correspondingly, in Figure 2, the RGB histograms of the No.2 image exhibited the greatest change. This phenomenon suggests that there could be a connection in each image between the histogram height and the sharpness or contrast. Moreover, the sensitivity of sharpness index was higher than the contrast index when comparing them with the RGB histograms before and after the processing.

92Combined with the marked areas of these images in Figure 1, we supposed that the proposed Gaussian method tended to weaken irregular color points like tree knots, and smooth or enhance the uneven color transitions of the image textures.

93To verify this conjecture, we took four grayscale images to imitate the tree knots and the edges of image textures, and then processed them by Gaussian histogram specification. Figure 4 shows the visual effect of the grayscale images and the magnified No.3 images before and after the specification. The and 2 of each image remained unchanged during the process. From Figure 2, the RGB histograms of most images before and after the specification were almost coincident, which further implied the small influence that the Gaussian method had on the ten images. However, the marked area of the No.10 image disobeyed the Gaussian distribution. This is because when the algorithm was based on the mean and variance values, the R channel overcompensation could be easily induced [7]; even though, from Figures 1 and 3, the mean and variance value-based Gaussian method had no adverse influence on visual impression of the No.10 image.

94In Figure 3, the colorfulness values of the No.1, the No.8, and the No.9 images showed a wider decline after the specification. Correspondingly, in Figure 1, the textures of the No.1 image and the tree knots of the No.8 and the No.9 images were weakened. It was also found that in Figure 3, the contrast and sharpness values of the No.2 image had the largest variation after the specification. Correspondingly, in Figure 2, the RGB histograms of the No.2 image exhibited the greatest change. This phenomenon suggests that there could be a connection in each image between the histogram height and the sharpness or contrast. Moreover, the sensitivity of sharpness index was higher than the contrast index when comparing them with the RGB histograms before and after the processing.

95Combined with the marked areas of these images in Figure 1, we supposed that the proposed Gaussian method tended to weaken irregular color points like tree knots, and smooth or enhance the uneven color transitions of the image textures.

96To verify this conjecture, we took four grayscale images to imitate the tree knots and the edges of image textures, and then processed them by Gaussian histogram specification. Figure 4 shows the visual effect of the grayscale images and the magnified No.3 images before and after the specification. The µ c and σ c 2 of each image remained unchanged during the process.

97As can be seen from Figure 4, the Gaussian method increased or decreased the difference of grayscale values between two gradients. As a result, extra attention should be paid to the processing of images with prominent uneven color transitions, because the Gaussian method might have a smoothing effect or an enhancing effect on these images.

98Moreover, it made the spots fade away, and the variation of the magnified No.3 image also demonstrated this effect. It turned out that the Gaussian method could repair the irregular color points on hardwood grain images. As can be seen from Figure 4, the Gaussian method increased or decreased the difference of grayscale values between two gradients. As a result, extra attention should be paid to the processing of images with prominent uneven color transitions, because the Gaussian method might have a smoothing effect or an enhancing effect on these images.

99Moreover, it made the spots fade away, and the variation of the magnified No.3 image also demonstrated this effect. It turned out that the Gaussian method could repair the irregular color points on hardwood grain images. Figure 5 shows the visual effect of the ten Gaussian hardwood grain images before and after the adaptive color adjustment. Figure 5 shows the visual effect of the ten Gaussian hardwood grain images before and after the adaptive color adjustment. As can be seen from Figure 4, the Gaussian method increased or decreased the d ference of grayscale values between two gradients. As a result, extra attention should paid to the processing of images with prominent uneven color transitions, because Gaussian method might have a smoothing effect or an enhancing effect on these imag Moreover, it made the spots fade away, and the variation of the magnified No.3 age also demonstrated this effect. It turned out that the Gaussian method could repair irregular color points on hardwood grain images. Figure 5 shows the visual effect of the ten Gaussian hardwood grain images bef and after the adaptive color adjustment. As shown in Figure 5, the image contrast was increased, the brightness was improved, and the visual information was richer, but the No.3 and No.10 images seemed over enhanced and presented an unnatural look. To explore the specific variation tendency of hardwood grain images before and after the adjustment, RGB histograms, colorfulness index, contrast index, and sharpness index were used independently to evaluate the enhancement effect of the ten Gaussian images. Similarly, we drew the RGB histograms of all the images and calculated the objective evaluation values before and after the adjustment by Equations (8)- (10). Figure 6 shows the RGB histograms of the ten Gaussian images before and after the adjustment. The abscissa x is the pixel value, and the ordinate p(x) is the proportion of the normalized x value. Figure 7 shows the changing trends of objective evaluation values. As seen in Figure 6, the histogram distributions of the R, G, and B channels became more dispersed and uniform after the adjustment, which was consistent with the high visual characteristics of enhanced images [7,8]. Moreover, from Figure 7, the evaluation values of colorfulness, contrast, and sharpness all increased to varying degrees.

Change of Gaussian Images after the Adaptive Color Adjustment

100However, it could be seen from Figure 6 that the histograms of the No.1, the No.3, the No.5, and the No.10 images after the adjustment were evidently overcompensated in the R, G and B channels, and the R channel of the No.10 image was especially obvious. The reason for this phenomenon could be the same as that caused by the Gaussian method.

Improvement and Comparison of the Adaptive Color Adjustment Algorithm

101According to the Equation (6), the overcompensation in the R, G and B channels of the color-adjusted images might not only be induced by the mean value-based algorithm, but also by the color extension coefficient . Therefore, we compared the values of all the images in Table 2. Figure 6, it was proven that the overcompensation could also be caused by the values.

102For the other appropriately enhanced images, the values were around 1.5. Consequently, we reset the coefficient to a unified 1.5, and then drew the RGB histograms of the color-adjusted images at this setting. Figure 8 shows the RGB histograms of the four Gaussian images before and after the adjustment. As seen in Figure 6, the histogram distributions of the R, G, and B channels became more dispersed and uniform after the adjustment, which was consistent with the high visual characteristics of enhanced images [7,8]. Moreover, from Figure 7, the evaluation values of colorfulness, contrast, and sharpness all increased to varying degrees.

103However, it could be seen from Figure 6 that the histograms of the No.1, the No.3, the No.5, and the No.10 images after the adjustment were evidently overcompensated in the R, G and B channels, and the R channel of the No.10 image was especially obvious. The reason for this phenomenon could be the same as that caused by the Gaussian method.

104According to the Equation (6), the overcompensation in the R, G and B channels of the color-adjusted images might not only be induced by the mean value-based algorithm, but also by the color extension coefficient α c . Therefore, we compared the α c values of all the images in Table 2. From Table 2, the α c values of the No.1, the No.3, and the No.5 images were over 2, and the α R value of the No.10 image was also over 2. Combined with the marked areas in Figure 6, it was proven that the overcompensation could also be caused by the α c values.

105For the other appropriately enhanced images, the α c values were around 1.5. Consequently, we reset the coefficient to a unified 1.5, and then drew the RGB histograms of the color-adjusted images at this setting. Figure 8 shows the RGB histograms of the four Gaussian images before and after the adjustment. As seen in Figure 8, though the RGB histograms were not as dispersed as those in Figure 6, the overcompensation in the R, G and B channels disappeared at the reduced setting, excluding the No.10 image. This was because the No.10 image was already overcompensated during the Gaussian process.

106Notably, another adjustment experiment was conducted under which the coefficient was reset to a unified 2. The overcompensation in the No.1 and the No.3 images almost disappeared, but it was still appreciable in the No.5 and No.10 images. That is, for the light-colored images, overcompensation could be more easily induced by the mean and variance value-based algorithms.

107Images processed by the traditional output sharpening method unsharp mask (USM) were compared with those processed by the proposed algorithm at the unified 1.5 value of . When the amount was set to 50 (%), the radius 1.5 (pixels), and the threshold 0 (levels) in USM, images presented a more ideal and higher sharpness [24]. Table 3 shows the objective evaluation values of the four images processed by the proposed algorithm whose values were from Table 2 and a unified 1.5, and by the USM at the mentioned setting. Table 3, a higher value represents a higher evaluation value of the three indices, and a higher possibility of resulting in overcompensation. The visual effect of the No.10 image enhanced by the above methods is shown below.

108From Figure 9, the values obtained by Equation (5) were not appropriate for the adaptive color adjustment of the No.10 image, as its color was quite different from that of the original image, inclined to green. On the contrary, the algorithm at the reduced values (a unified 1.5) not only effectively enhanced the images, but also performed better in the enhancement effect than the USM. Despite the No.10 image still displayed overcompensation after the color adjustment at the reduced coefficient, the negative impact on visual impression was alleviated. As seen in Figure 8, though the RGB histograms were not as dispersed as those in Figure 6, the overcompensation in the R, G and B channels disappeared at the reduced α c setting, excluding the No.10 image. This was because the No.10 image was already overcompensated during the Gaussian process.

109Notably, another adjustment experiment was conducted under which the coefficient was reset to a unified 2. The overcompensation in the No.1 and the No.3 images almost disappeared, but it was still appreciable in the No.5 and No.10 images. That is, for the light-colored images, overcompensation could be more easily induced by the mean and variance value-based algorithms.

110Images processed by the traditional output sharpening method unsharp mask (USM) were compared with those processed by the proposed algorithm at the unified 1.5 value of α c . When the amount was set to 50 (%), the radius 1.5 (pixels), and the threshold 0 (levels) in USM, images presented a more ideal and higher sharpness [24]. Table 3 shows the objective evaluation values of the four images processed by the proposed algorithm whose α c values were from Table 2 and a unified 1.5, and by the USM at the mentioned setting. As shown in Table 3, a higher α c value represents a higher evaluation value of the three indices, and a higher possibility of resulting in overcompensation. The visual effect of the No.10 image enhanced by the above methods is shown below.

111From Figure 9, the α c values obtained by Equation (5) were not appropriate for the adaptive color adjustment of the No.10 image, as its color was quite different from that of the original image, inclined to green. On the contrary, the algorithm at the reduced α c values (a unified 1.5) not only effectively enhanced the images, but also performed better in the enhancement effect than the USM. Despite the No.10 image still displayed overcompensation after the color adjustment at the reduced coefficient, the negative impact on visual impression was alleviated. To further verify the effectiveness and the applicability of the proposed algorithm in other wood grain images, we performed qualitative and quantitative comparisons with the following methods: the adaptive color adjustment algorithm proposed by Zhi et al. [27] for sand-degraded images, the color balance algorithm proposed by Luo et al. [5] for underwater images, the traditional enhancement method USM suggested by Mao et al. [24], and the proposed adaptive color adjustment algorithm for wood grain images before and after modification.

112The tested images were from another five tree species, and stored in the same format and size as described above after being processed by the Gaussian histogram specification. Then, these Gaussian images were processed by the adjusted methods discussed above, respectively, and the resulting visual effect is shown in Figure 10. The basic information of the five species is shown in Table 4. To further verify the effectiveness and the applicability of the proposed algorithm in other wood grain images, we performed qualitative and quantitative comparisons with the following methods: the adaptive color adjustment algorithm proposed by Zhi et al. [27] for sand-degraded images, the color balance algorithm proposed by Luo et al. [5] for underwater images, the traditional enhancement method USM suggested by Mao et al. [24], and the proposed adaptive color adjustment algorithm for wood grain images before and after modification.

113The tested images were from another five tree species, and stored in the same format and size as described above after being processed by the Gaussian histogram specification. Then, these Gaussian images were processed by the adjusted methods discussed above, respectively, and the resulting visual effect is shown in Figure 10. The basic information of the five species is shown in Table 4. To further verify the effectiveness and the applicability of the proposed algorithm in other wood grain images, we performed qualitative and quantitative comparisons with the following methods: the adaptive color adjustment algorithm proposed by Zhi et al. [27] for sand-degraded images, the color balance algorithm proposed by Luo et al. [5] for underwater images, the traditional enhancement method USM suggested by Mao et al. [24], and the proposed adaptive color adjustment algorithm for wood grain images before and after modification.

114The tested images were from another five tree species, and stored in the same format and size as described above after being processed by the Gaussian histogram specification. Then, these Gaussian images were processed by the adjusted methods discussed above, respectively, and the resulting visual effect is shown in Figure 10. The basic information of the five species is shown in Table 4. [27], Luo et al. [5], USM [24], the proposed algorithm before modification, and the proposed algorithm at the unified 1.5 coefficient. Table 4. Basic information of the five tree species.

Serial Numbers

115Tree Name Scientific Name Thumbnails

Balsa

116Ochroma pyramidale Figure 10. Subjective comparisons on the five wood grain images. From left to right: Gaussian images, the results of Zhi et al. [27], Luo et al. [5], USM [24], the proposed algorithm before modification, and the proposed algorithm at the unified 1.5 coefficient. Clearly, from the perspective of image enhancement and color adjustment, the algorithms designed for sand-degraded images and underwater images were not suitable for wood grain images, and the USM was also unsatisfactory in improving image grain visibility. The proposed algorithm was better than these methods in improving visibility and maintaining color, but some of the images were over enhanced, especially the light-colored images, leading to overcompensation and color shift. Consequently, the color extension coefficient of the proposed algorithm should be reduced.

117Thanks to the high similarity between the images processed by the USM and the Propose-2 in Figure 10, further comparison was made through the objective evaluation below.

118As can be seen from Table 5, the five Gaussian images processed by the histogram extension method at the unified 1.5 coefficient performed better than USM in colorfulness, contrast, and sharpness, which verified the effectiveness of our algorithm. Despite the fact that the sharpness value of the No.11 image could not be calculated because of its inapparent texture, the results of other images remained effective.

Conclusions

119In order to restore the distorted wood grain images by approximating the Gaussian distribution of natural images (NI), a method of Gaussian histogram specification was proposed. In addition, to print digital wood grain and reproduce a satisfactorily clear wood surface, an adaptive color adjustment algorithm was proposed and improved. Good processing results were achieved by using the proposed algorithms.

120The Gaussian histogram specification was based on the constant mean and variance values of the R, G, and B of each image. The changing trends of the RGB histograms, col- 12 Itin

Prosopis kuntzei

121Forests 2022, 13, x FOR PEER REVIEW 13 of 15 Figure 10. Subjective comparisons on the five wood grain images. From left to right: Gaussian images, the results of Zhi et al. [27], Luo et al. [5], USM [24], the proposed algorithm before modification, and the proposed algorithm at the unified 1.5 coefficient. Clearly, from the perspective of image enhancement and color adjustment, the algorithms designed for sand-degraded images and underwater images were not suitable for wood grain images, and the USM was also unsatisfactory in improving image grain visibility. The proposed algorithm was better than these methods in improving visibility and maintaining color, but some of the images were over enhanced, especially the light-colored images, leading to overcompensation and color shift. Consequently, the color extension coefficient of the proposed algorithm should be reduced.

122Thanks to the high similarity between the images processed by the USM and the Propose-2 in Figure 10, further comparison was made through the objective evaluation below.

123As can be seen from Table 5, the five Gaussian images processed by the histogram extension method at the unified 1.5 coefficient performed better than USM in colorfulness, contrast, and sharpness, which verified the effectiveness of our algorithm. Despite the fact that the sharpness value of the No.11 image could not be calculated because of its inapparent texture, the results of other images remained effective.

Conclusions

124In order to restore the distorted wood grain images by approximating the Gaussian distribution of natural images (NI), a method of Gaussian histogram specification was proposed. In addition, to print digital wood grain and reproduce a satisfactorily clear wood surface, an adaptive color adjustment algorithm was proposed and improved. Good processing results were achieved by using the proposed algorithms.

125The Gaussian histogram specification was based on the constant mean and variance values of the R, G, and B of each image. The changing trends of the RGB histograms, col- 13 Crab Apple

Malus domestica

126Forests 2022, 13, x FOR PEER REVIEW 13 of 15 Figure 10. Subjective comparisons on the five wood grain images. From left to right: Gaussian images, the results of Zhi et al. [27], Luo et al. [5], USM [24], the proposed algorithm before modification, and the proposed algorithm at the unified 1.5 coefficient. Clearly, from the perspective of image enhancement and color adjustment, the algorithms designed for sand-degraded images and underwater images were not suitable for wood grain images, and the USM was also unsatisfactory in improving image grain visibility. The proposed algorithm was better than these methods in improving visibility and maintaining color, but some of the images were over enhanced, especially the light-colored images, leading to overcompensation and color shift. Consequently, the color extension coefficient of the proposed algorithm should be reduced.

127Thanks to the high similarity between the images processed by the USM and the Propose-2 in Figure 10, further comparison was made through the objective evaluation below.

128As can be seen from Table 5, the five Gaussian images processed by the histogram extension method at the unified 1.5 coefficient performed better than USM in colorfulness, contrast, and sharpness, which verified the effectiveness of our algorithm. Despite the fact that the sharpness value of the No.11 image could not be calculated because of its inapparent texture, the results of other images remained effective.

Conclusions

129In order to restore the distorted wood grain images by approximating the Gaussian distribution of natural images (NI), a method of Gaussian histogram specification was proposed. In addition, to print digital wood grain and reproduce a satisfactorily clear wood surface, an adaptive color adjustment algorithm was proposed and improved. Good processing results were achieved by using the proposed algorithms.

130The Gaussian histogram specification was based on the constant mean and variance values of the R, G, and B of each image. The changing trends of the RGB histograms, col- 14 Butternut

Juglans cinerea

131Forests 2022, 13, x FOR PEER REVIEW 13 of 15 Figure 10. Subjective comparisons on the five wood grain images. From left to right: Gaussian images, the results of Zhi et al. [27], Luo et al. [5], USM [24], the proposed algorithm before modification, and the proposed algorithm at the unified 1.5 coefficient. Clearly, from the perspective of image enhancement and color adjustment, the algorithms designed for sand-degraded images and underwater images were not suitable for wood grain images, and the USM was also unsatisfactory in improving image grain visibility. The proposed algorithm was better than these methods in improving visibility and maintaining color, but some of the images were over enhanced, especially the light-colored images, leading to overcompensation and color shift. Consequently, the color extension coefficient of the proposed algorithm should be reduced.

132Thanks to the high similarity between the images processed by the USM and the Propose-2 in Figure 10, further comparison was made through the objective evaluation below.

133As can be seen from Table 5, the five Gaussian images processed by the histogram extension method at the unified 1.5 coefficient performed better than USM in colorfulness, contrast, and sharpness, which verified the effectiveness of our algorithm. Despite the fact that the sharpness value of the No.11 image could not be calculated because of its inapparent texture, the results of other images remained effective.

Conclusions

134In order to restore the distorted wood grain images by approximating the Gaussian distribution of natural images (NI), a method of Gaussian histogram specification was proposed. In addition, to print digital wood grain and reproduce a satisfactorily clear wood surface, an adaptive color adjustment algorithm was proposed and improved. Good processing results were achieved by using the proposed algorithms.

135The Gaussian histogram specification was based on the constant mean and variance values of the R, G, and B of each image. The changing trends of the RGB histograms, col- 15 Water Hickory Carya aquatica

136Forests 2022, 13, x FOR PEER REVIEW 13 of 15 Figure 10. Subjective comparisons on the five wood grain images. From left to right: Gaussian images, the results of Zhi et al. [27], Luo et al. [5], USM [24], the proposed algorithm before modification, and the proposed algorithm at the unified 1.5 coefficient. Clearly, from the perspective of image enhancement and color adjustment, the algorithms designed for sand-degraded images and underwater images were not suitable for wood grain images, and the USM was also unsatisfactory in improving image grain visibility. The proposed algorithm was better than these methods in improving visibility and maintaining color, but some of the images were over enhanced, especially the light-colored images, leading to overcompensation and color shift. Consequently, the color extension coefficient of the proposed algorithm should be reduced.

137Thanks to the high similarity between the images processed by the USM and the Propose-2 in Figure 10, further comparison was made through the objective evaluation below.

138As can be seen from Table 5, the five Gaussian images processed by the histogram extension method at the unified 1.5 coefficient performed better than USM in colorfulness, contrast, and sharpness, which verified the effectiveness of our algorithm. Despite the fact that the sharpness value of the No.11 image could not be calculated because of its inapparent texture, the results of other images remained effective.

139In order to restore the distorted wood grain images by approximating the Gaussian distribution of natural images (NI), a method of Gaussian histogram specification was proposed. In addition, to print digital wood grain and reproduce a satisfactorily clear wood surface, an adaptive color adjustment algorithm was proposed and improved. Good processing results were achieved by using the proposed algorithms.

140The Gaussian histogram specification was based on the constant mean and variance values of the R, G, and B of each image. The changing trends of the RGB histograms, col-Clearly, from the perspective of image enhancement and color adjustment, the algorithms designed for sand-degraded images and underwater images were not suitable for wood grain images, and the USM was also unsatisfactory in improving image grain visibility. The proposed algorithm was better than these methods in improving visibility and maintaining color, but some of the images were over enhanced, especially the light-colored images, leading to overcompensation and color shift. Consequently, the color extension coefficient of the proposed algorithm should be reduced.

141Thanks to the high similarity between the images processed by the USM and the Propose-2 in Figure 10, further comparison was made through the objective evaluation below.

142As can be seen from Table 5, the five Gaussian images processed by the histogram extension method at the unified 1.5 coefficient performed better than USM in colorfulness, contrast, and sharpness, which verified the effectiveness of our algorithm. Despite the fact that the sharpness value of the No.11 image could not be calculated because of its inapparent texture, the results of other images remained effective.

143In order to restore the distorted wood grain images by approximating the Gaussian distribution of natural images (NI), a method of Gaussian histogram specification was proposed. In addition, to print digital wood grain and reproduce a satisfactorily clear wood surface, an adaptive color adjustment algorithm was proposed and improved. Good processing results were achieved by using the proposed algorithms.

144The Gaussian histogram specification was based on the constant mean and variance values of the R, G, and B of each image. The changing trends of the RGB histograms, colorfulness index, contrast index, and sharpness index of each image varied after the specification. Though the Gaussian method had a small influence on the visual effect of hardwood grain images, it could restore the distorted images by repairing the irregular color points to weaken the adverse impact on visual impression. The Gaussian method also had a smoothing effect or an enhancing effect on the images with prominent uneven color transitions.

145The adaptive color adjustment was based on the color extension of the R, G, and B histograms of each Gaussian image. The texture visibility was improved, and the details were highlighted for each Gaussian image after the adjustment. The evaluation indices of colorfulness, contrast, and sharpness all showed an upward trend, and the distribution of the RGB histograms became more dispersed and uniform, implying that all the Gaussian images were enhanced after the adjustment.

146Nevertheless, some of the color-adjusted images had overcompensation in R, G and B channels, which even led to color shift. By reducing the values of the color extension coefficient, the overcompensation and color shift could be eliminated. A higher coefficient represented a more scattered distribution of RGB histograms, a higher evaluation value of the three indices, and a higher enhancement intensity, yet the enhancement effect might not be satisfactory.

147The adaptive color adjustment algorithm was compared with the traditional enhancement method USM and the methods designed for sand-degraded images and underwater images. The results show that images processed by the proposed algorithm at the reduced coefficient got better results in both objective and subjective evaluation, which verified the effectiveness and applicability of our algorithm in wood grain images.

148From the view of digital image, the macroscopic appearance of wood grain is a region with different local color values and overall color. Although the tested images from 15 tree species could not represent the color of all the wood grain images, the color extension coefficient around 1.5 was proven to be effective. Overall, multiple tests and comparisons were suggested for different color images to obtain the required effect.

Conflicts of Interest:

149The authors declare no conflict of interest.

참고문헌 27건

  1. No-reference image quality assessment algorithms: A survey Optik · Elsevier BV · 2015 10.1016/j.ijleo.2015.02.093
  2. Image Processing Method as a Supporting Tool for Wood Species Identification Wood and Fiber Science · Society of Wood Science and Technology · 2013
  3. No reference color image contrast and quality measures IEEE Transactions on Consumer Electronics · Institute of Electrical and Electronics Engineers · 2013 10.1109/tce.2013.6626251
  4. Color image attribute and quality measurements Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 2014 10.1117/12.2050197
  5. A New Model of Nature Images Based on Generalized Gaussian Distribution 2009 10.1109/cmc.2009.302
  6. A new color contrast enhancement algorithm for robotic applications 2012 10.1109/tepra.2012.6215652
  7. A No-Reference Objective Image Sharpness Metric Based on the Notion of Just Noticeable Blur (JNB) IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2009 10.1109/tip.2008.2011760
  8. An Underwater Color Image Quality Evaluation Metric IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2015 10.1109/tip.2015.2491020
  9. Measuring colorfulness in natural images Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 2003 10.1117/12.477378
  10. Haze Removal for a Single Remote Sensing Image Based on Deformed Haze Imaging Model IEEE Signal Processing Letters · Institute of Electrical and Electronics Engineers · 2015 10.1109/lsp.2015.2432466
  11. Defogging algorithm of color images based on Gaussian function weighted histogram specification 2016 10.1109/skima.2016.7916248
  12. Visibility restoration algorithm of dust-degraded images Zhongguo Tuxiang Tuxing Xuebao · 2016
  13. Denoising module for wood texture images Wood Science and Technology · Springer Science+Business Media · 2018 10.1007/s00226-018-1049-3
  14. Application of image quality assessment module to motion-blurred wood images for wood species identification system Wood Science and Technology · Springer Science+Business Media · 2019 10.1007/s00226-019-01110-2
  15. Let You See in Sand Dust Weather: A Method Based on Halo-Reduced Dark Channel Prior Dehazing for Sand-Dust Image Enhancement IEEE Access · Institute of Electrical and Electronics Engineers · 2019 10.1109/access.2019.2936444
  16. Histogram modification based enhancement along with contrast-changed image quality assessment Multimedia Tools and Applications · Springer Science+Business Media · 2020 10.1007/s11042-020-08830-9
  17. No-reference quality assessment for image-based assessment of economically important tropical woods PLoS ONE · Public Library of Science · 2020 10.1371/journal.pone.0233320
  18. Histogram Specification-Based Image Enhancement for Backlit Image 2022 IEEE International Conference on Image Processing (ICIP) · 2020 10.1109/icip40778.2020.9190929
  19. Enhancing underwater image via color correction and Bi-interval contrast enhancement Signal Processing Image Communication · Elsevier BV · 2020 10.1016/j.image.2020.116030
  20. Digital 3D Wood Texture: UV-Curable Inkjet Printing on Board Surface Coatings · Multidisciplinary Digital Publishing Institute · 2020 10.3390/coatings10121144
  21. Sand-Dust Image Enhancement Using Successive Color Balance With Coincident Chromatic Histogram IEEE Access · Institute of Electrical and Electronics Engineers · 2021 10.1109/access.2021.3054899
  22. Underwater Image Restoration and Enhancement Based on a Fusion Algorithm With Color Balance, Contrast Optimization, and Histogram Stretching IEEE Access · Institute of Electrical and Electronics Engineers · 2021 10.1109/access.2021.3060947
  23. Color Classification and Texture Recognition System of Solid Wood Panels Forests · Multidisciplinary Digital Publishing Institute · 2021 10.3390/f12091154
  24. Image Definition Evaluations on Denoised and Sharpened Wood Grain Images Coatings · Multidisciplinary Digital Publishing Institute · 2021 10.3390/coatings11080976
  25. A Modeling Approach on the Correction Model of the Chromatic Aberration of Scanned Wood Grain Images Coatings · Multidisciplinary Digital Publishing Institute · 2022 10.3390/coatings12010079
  26. Texture image classification using improved image enhancement and adaptive SVM Signal Image and Video Processing · Springer Science+Business Media · 2022 10.1007/s11760-021-02113-y
  27. Image Processing Method as a Supporting Tool for Wood Species Identification Wood and Fiber Science (Society of Wood Science and Technology) · Society of Wood Science and Technology · 2013