DOI QR코드

DOI QR Code

Color Analysis for the Quantitative Aesthetics of Qiong Kiln Ceramics

  • Wang, Fei (Key Laboratory of Jiangxi Province for Image Processing and Pattern Recognition, Nanchang Hangkong University) ;
  • Cha, Hang (Key laboratory of Network and Data Security Lab, University of Electronic Science and Technology of China) ;
  • Leng, Lu (Associate Professor, Key Laboratory of Jiangxi Province for Image Processing and Pattern Recognition, Nanchang Hangkong University)
  • Received : 2020.03.23
  • Accepted : 2020.04.05
  • Published : 2020.06.30

Abstract

The subjective experience would degrade the current artificial artistic aesthetic analysis. Since Qiong kiln ceramics have a long history and occupy a very important position in ceramic arts, we employed computer-aided technologies to quickly automatically accurately and quantitatively process a large number of Qiong kiln ceramic images and generate the detailed statistical data. Because the color features are simple and significant visual characteristics, the color features of Qiong kiln ceramics are analyzed for the quantitative aesthetics. The Qiong kiln ceramic images are segmented with GrabCut algorithm. Three moments (1st-order, 2nd-order, and 3rd-order) are calculated in two typical color spaces, namely RGB and HSV. The discrimination powers of the color features are analyzed according to various dynasties (Tang Dynasty, Five Dynasties, Song Dynasty) and various utensils (Pot, kettle, bowl), which are helpful to the selection of the discriminant color features among various dynasties and utensils. This paper is helpful to promoting the quantitative aesthetic research of Qiong kiln ceramics and is also conducive to the research on the aesthetics of other ceramics.

Keywords

I. INTRODUCTION

Qiong kiln ceramics were produced in many places, such as Sichuan and Southwest in China. They sprang up in the Five Dynasties, but their manufacturing sizes became smaller in the Song Dynasty. They were sold well in Chengdu (the capital of Sichuan province) and its surrounding areas. Figure 1 shows the Qiong kiln ceramics samples of various dynasties, namely Tang Dynasty (AD 681-AD 907), Five Dynasties (AD 907-AD 960), Song Dynasty (AD 960-AD 1279), and various utensils, namely pot, kettle, bowl.

Fig. 1. Qiong kiln ceramics samples

In recent years, digital image processing and computer vision technologies have been applied to analyze the features [1], such as texture, color, and shape, which can also be used for the quantitative aesthetics of archeological ceramics. Compared with manual processing, computer-aided technologies can quickly automatically accurately and quantitatively process a large number of digital ceramic images and generate detailed statistical data, which avoids the disturbance of subjective experience [2].

Kampel and Sablatnig applied digital image processing to the automatic classification of archeological fragments [3]. Based on the correlation of the same ceramic sample in shape, material and color, they used the color characteristics of ceramic fragments to restore the fragments into a complete sample. Fusion can improve the performance in many aspects [4-6]; therefore, Smith et al. classified the thin-shell ceramics based on color and texture descriptors and reconstructed the complete ceramic samples [7]. Kamiri et al. and Shire et al. used digital image processing to detect the defects on the ceramic surface [8,9]. Their methods have low computation complexity and are effective. Penaranda et al. controlled the tile production by estimating the color and the proportion of each particle, accordingly the appearance of the produced tiles is visual uniformity [10]. Sun detected the defects of the ceramic of water taps and designed a real-time computer digital image dynamic detection system using charge-coupled device as the image acquisition sensor [11]. Elbehiery et al. utilized digital image processing to detect the colors and defects of the tile surface [12]. This method is helpful to the tile production and improves the homogeneity of various batches. Ebrahimzadeh and Hossienzadeh developed a system to classify the ceramics based on some discriminative features, including contrast and entropy [13]. The classifier was a trained multi-layer perceptron neural network. They changed the number of layers and debugged the parameters of the network to improve the network performance.

The main contributions of this paper are as follows.

(1) Digital image processing and computer vision technologies are employed for the quantitative aesthetics of Qiong kiln ceramics. Since the color features are simple and significant visual characteristics, the color features of Qiong kiln ceramics are analyzed.

(2) Image segmentation is conducted to segment the foreground object from the background. Three moments (1st-order, 2nd-order, and 3rd-order) are calculated in two typical color spaces, namely RGB and HSV. The eighteen color features are analyzed according to various dynasties (Tang Dynasty, Five Dynasties, Song Dynasty) and various utensils (pot, kettle, bowl).

(3) The discrimination power (DP) of each feature is measured with discrimination power analysis (DPA) [14,15], which are helpful to the selection of the discriminant color features among various dynasties and various utensils. The components with large DPs are more discriminative, which can improve classification accuracy.

The paper can help promote the quantitative aesthetic research of Qiong kiln ceramics and is conducive to the research on the aesthetics of other ceramics.

II. METHODOLOGY

2.1. Image Segmentation

Sine the color feature should be extracted and calculated only in the foreground region, i.e., the ceramic object region, rather than the background, object detection [16] and image segmentation [17], [21] are commonly used to separate the foreground object from the background. It is challenging for the segmentation of Qiong kiln ceramics since sometimes they have mixed and complex colors.

GrabCut algorithm is a famous image segmentation method based on graph cuts [18], which is suitable for Qiong kiln ceramic image. First a user specifies a bounding box around the ceramic object that needs to be segmented. The Gaussian mixture model is used for the estimation of the color distributions of the target object and background. A Markov random field is constructed over the pixel labels. The energy function prefers the connected regions that have the same label, and the optimization based on a graph cut is conducted to infer their values. Since it is likely that the estimation taken from the bounding box becomes more and more accurate, this procedure is repeated until convergence. If a user points out the misclassified regions and reruns the optimization, the estimation can be further corrected. In addition, GrabCut corrects the results to preserve edges.

In our dataset, each image contains only one ceramic object. Figure 2, the segmentation results based on GrabCut, demonstrates that GrabCut can accurately separate the ceramic object from the background.

2.2. Color Space

The color characteristics of Qiong kiln ceramics are analyzed in two color spaces, namely RGB (Red, Green, Blue) and HSV (Hue, Saturation, Value).

Let the three variables in (r, g, b) denote the red, green, and blue components, respectively. Similarly, let the three variables in (h, s, v) denote the hue, saturation, value components, respectively. max and min denote the maximum and minimum values of r, g and b, respectively. Eqs. (1-3) realize the transformation from RGB space to HSV space; while Eqs. (4)-(9) realize the transformation from HSV space to RGB space.

\(h=\left\{\begin{array}{l} 0^{\circ} & \text { if } \max =\min \\ 60^{\circ} \times \frac{g-b}{\max -\min }+0^{\circ}, & \text { if } \max =r \text { and } g \geq b \\ 60^{\circ} \times \frac{g-b}{\max -\min }+360^{\circ}, &\text { if } \max =r \text { and } g<b \\ 60^{\circ} \times \frac{g-b}{\max -\min }+120^{\circ}, &\text { if } \max =g \\ 60^{\circ} \times \frac{g-b}{\max -\min }+240^{\circ}, &\text { if } \max =b \end{array}\right.\)          (1)

\(s=\left\{\begin{array}{ll} 0, & \text { if } \max =0 \\ \frac{\max -\min }{\max }=1-\frac{\min }{\max }, & \text { otherwise } \end{array}\right.\)             (2)

\(v=\max\)             (3)

\(h_{i}=\left\lfloor\frac{h}{60}\right\rfloor(\bmod 6)\)             (4)

\(f=\frac{h}{60}-h\)       (5)

\(p=v \times(1-s)\)       (6)

\(q=v \times(1-f \times s)\)       (7)

\(t=v \times(1-(1-f) \times s)\)       (8)

\((r, g, b)=\left\{\begin{array}{ll} (v, t, p), & \text { if } h_{i}=0 \\ (q, v, p), & \text { if } h_{i}=1 \\ (p, v, t), & \text { if } h_{i}=2 \\ (p, q, v), & \text { if } h_{i}=3 \\ (t, p, v), & \text { if } h_{i}=4 \\ (v, p, q), & \text { if } h_{i}=5 \end{array}\right.\)       (9)

Figures 3 and 4 show the color component characteristics of a Qiong kiln ceramic image in HSV and RGB spaces, respectively. Figure 5 shows the histograms of the six color components. To facilitate the analysis and comparison, the ranges of all color components are normalized to [0,255].

Fig. 3. RGB components.

Fig. 4. HSV components.

Fig. 5. Histograms of the color components

2.3. Moments

Color moments are simple and effective color features. Since the color distribution characteristics mainly focus on the low-order moments, only the 1st-order, 2nd-order and 3rd-order moments are used as the color features

1st-order color moment is the average value of the color component. The 1st-order color moment of the i-th component is:

\(M_{i}=\frac{1}{N} \sum_{j=1}^{N} p_{i j} {,}\)             (10)

where N is the number of pixels in the image, pij is the i-th color component value of the j-th pixel.

2.3. Moments

Color moments are simple and effective color features. Since the color distribution characteristics mainly focus on the low-order moments, only the 1st-order, 2nd-order and 3rd-order moments are used as the color features.

1st-order color moment is the average value of the color component. The 1st-order color moment of the i-th component is:

 \(M_{i}=\frac{1}{N} \sum_{j=1}^{N} p_{i j} {,}\)             (10)

where N is the number of pixels in the image, pij is the i-th color component value of the j-th pixel.

The 2nd-order color moment is the square root of the variance of the color distribution, i.e., standard deviation (STD), which measures how far the color component values are spread out from their average value. The 2nd-order color moment of the i-th component is:

\(V_{i}=\sqrt{\left(\frac{1}{N} \sum_{j=1}^{N}\left(p_{i j}-M_{i}\right)^{2}\right)}{,}\)             (11)

The 3rd-order color moment measures the lopsidedness, such as symmetry, of the color distribution. The 3rd-order color moment of the i-th component is:

\(L_{i}=\sqrt[3]{\left(\frac{1}{N} \sum_{j=1}^{N}\left(p_{i j}-M_{i}\right)^{3}\right)}{}\)          (12)

Table 1 shows the three moments of the six color moments of the image in Figures 3 and 4.

Table 1. Color moments of one image sample.

2.4. Discrimination Power Analysis

DPA can measure the discrimination power (DP) of each feature. The larger the DP value is, the more discriminant the feature is. Assume that the dataset contains C classes, and the number of the samples of the i-th class is Si. DP of each color feature can be calculated as follows.

(1) xij denotes the feature of the i-th sample of the i-th class.

(2) Calculate the average value of each class:

 \(m_{i}=\frac{1}{S_{j}} \sum_{j=1}^{S_{j}} x_{i j} {.}\)             (13)

(3) Calculate variance of each class:

 \(v_{i}=\frac{1}{S_{j}} \sum_{j=1}^{S_{j}}\left(x_{i j}-m_{i}\right)^{2}\)             (14)

(4) Calculate the average variance of the classes:

 \(v^{C}=\frac{1}{C} \sum_{i=1}^{C} v_{i}{.}\)             (15)

(5) Calculate the average of all training samples:

 \(m^{A}=\frac{1}{\sum_{i=1}^{C} S_{i}} \sum_{i=1}^{C} \sum_{j=1}^{S_{i}} x_{i j}\)             (16)

(6) Calculate the variance of all training samples:

 \(v^{A}=\frac{1}{\sum_{i=1}^{C} S_{i}} \sum_{i=1}^{C} \sum_{j=1}^{S_{i}}\left(x_{i j}-m^{A}\right) {.}\)             (17)

(7) Calculate the DP of this feature:

 \(d p=\frac{v^{A}}{v^{C}} {.}\)              (18)

All the DPs of the eighteen color features can be measured with DPA to reveal their discriminant ability.

III. EXPERIMENTAL RESULTS AND DISCUSSIONS

The color features are labeled as one letter and one number, which denote the color component and moment order, respectively. Take an example, “R1” denotes the 1st-order moment of red component. The color features of various dynasties and utensils are labeled as two letters and one number, which denote the dynasty/utensil, color component and moment order, respectively. Take an example, “TR1” denotes the 1st-order moment of red component of Tang dynasty.

Figures 6 and 7 show the distributions of the eighteen color features of the samples in the dataset. Tables 2 and 3 show the average color components of the samples in various dynasties and of various utensils, respectively.

Fig. 6. Distributions of the color features in RGB color space.

Fig. 7. Distributions of the color features in HSV color space.

Table 2. Means of color components in various dynasties.

Table 3. Means of color components of various utensils.

In RGB space, R1>G1>B1 for all dynasties and utensils, which demonstrates the proportions of the three components. In contrast, R2, G2 and B2 are approximate for each dynasty or utensil. TG3, PG3, KG3 and BG3 are much smaller than the other 3rd-order moments, which reveal their high symmetry characteristics.

(1) In RGB space, Five Dynasties has larger 2nd-order moments than Tang Dynasty; while Tang Dynasty has larger 2nd-order moments than Song Dynasty. Pot and Kettle have the similar 2nd-order moments that are larger than those of Bowl.

(2) In HSV space, according to H1 and H2, the colors are close to orange, yellow and green. According to S1 and V1, various dynasties and utensils can be compared in terms of saturation and brightness. TS3 is the smallest absolute 3rd-order moments for all dynasties. |S3|<|V3|<|H3| for all utensils.

(3) Tables 4 and 5 show the STDs of the color components of the samples in various dynasties and of various utensils, respectively.

Table 4. STDs of color components in various dynasties.

Table 5. STDs of color components of various utensils

[1] In RGB space, generally, the 1st-order moments of Five Dynasties are larger than those of Song Dynasty. Bowl has larger 1st-order moments than Pot; while Pot has larger 1st-order moments than Kettle. Generally, R2>G2>B2 for all dynasties and utensils. Five Dynasties has larger 1st-order moments than the other two dynasties.

[2] In HSV, generally S1>V1>H1 for all dynasties. There is no remarkable regular pattern for 2nd-order moments. Generally, S3>V3>H3 for all dynasties and utensils.

Tables 6 and 7 show the DPs of color components according to various dynasties and of various utensils, respectively. The larger the DP value is, the more discriminant the feature is.

Table 6. DPs of color moments for various dynasties.

Table 7. DPs of color moments for various utensils.

(1) For dynasty discrimination, B2 is the most discriminant feature; while R2, H1, H3 are the lease discriminant features.

(2) For utensil discrimination, R3 and H1 are the most and least discriminant features, respectively.

(3) The DPs of the color features differ for various dynasties and for various utensils. All the DPs in Table 7 are close to 1; while the DPs in Table 8 fluctuate more dramatically.

The DPs help to select the discriminant color features; however, DPA is greedy algorithm. The classification accuracy depends does not only on the DPs of the components, but also on their combination effects for fusion and dimensionality reduction [19-21]. We will study the fusion and dimensionality reduction of the selected color features for dynasty and utensil classifications in the future.

IV. CONCLUSIONS AND FUTURE WORKS

Qiong kiln ceramics have substantial artistic value and are important Chinese ceramics. To avoid the disturbance of subjective experience, computer-aided technologies are employed to quickly automatically accurately and quantitatively process a large number of Qiong kiln ceramic images and generate the detailed statistical data. The color features of Qiong kiln ceramics are analyzed for the quantitative aesthetics. In our method, the Qiong kiln ceramic images are segmented with GrabCut algorithm. Three moments (first order, second order, and third order) of RGB and HSV components are calculated, and their DPs are analyzed according to various dynasties and various utensils, which are helpful to the selection of the discriminant color features for dynasty and utensil classifications. This paper can substantially promote the quantitative aesthetic research of Qiong kiln ceramics and is conducive to the research on the aesthetics of other ceramics.

In the future, more discriminant features, such as shape and texture, will be comprehensively analyzed to further improve the accuracy of quantitative aesthetics. In addition, we will design the dynasty and utensil classifications based on the fusion and dimensionality reduction of the discriminant features.

Acknowledgement

This research was supported by National Natural Science Foundation of China (61866028), Key Program Project of Research and Development (Jiangxi Provincial Department of Science and Technology) (20171ACE50024), Foundation of China Scholarship Council (CSC20190836007), Open Foundation of Key Laboratory of Jiangxi Province for Image Processing and Pattern Recognition (ET201680245, TX201604002), and “Triple-little” Extracurricular Academic Projects (2019RJ072).

References

  1. G. S. Hong, J. H. Lee, Y. W. Lee, and B. G. Kim, "New vehicle verification scheme for blind spot area based on imaging sensor system," Journal of Multimedia Information System, vol. 4, no. 1, pp. 9-18, 2017. https://doi.org/10.9717/JMIS.2016.4.1.9
  2. B. G. Kim, D. J. Park, "Adaptive image normalisation based on block processing for enhancement of fingerprint image," Electronics Letters, vol. 38, no. 14, pp. 696-698, 2002. https://doi.org/10.1049/el:20020507
  3. M. Kampel and M. Sablatnig, "Color classification of archaeological fragments," in Proceedings of the 15th International Conference on Pattern Recognition, pp. 771-774, Sept. 2000.
  4. L. Leng, A. B. J. Teoh, M. Li, and M. K. Khan, "A remote cancelable palmprint authentication protocol based on multi-directional two-dimensional PalmPhasorfusion," Security and Communication Networks, vol. 7, no. 11, pp. 1860-1871, 2014. https://doi.org/10.1002/sec.900
  5. L. Leng and A. B. J. Teoh, "Alignment-free row-co-occurrence cancelable palmprint Fuzzy Vault," Pattern Recognition, vol. 48, no. 7, pp. 2290-2303, 2015. https://doi.org/10.1016/j.patcog.2015.01.021
  6. L. Leng and J. S. Zhang, "PalmHash Code vs. PalmPhasor Code," Neurocomputing, vol. 108, pp. 1-12, 2013. https://doi.org/10.1016/j.neucom.2012.08.028
  7. P. Smith, D. Bespalov, and A. Shokoufandeh, "Classification of archaeological ceramic fragments using texture and color descriptors," in Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), pp. 19-54, 2010.
  8. M. H. Karimi and D. Asemani, "Surface defect detection in tiling industries using digital image processing methods: Analysis and evaluation," ISA Trans, vol. 53, no. 3, pp. 834-844, 2014. https://doi.org/10.1016/j.isatra.2013.11.015
  9. A. N. Shire, M. M. Khanapurkar, and R. S. Mundewadikar, "Plain ceramic tiles surface defect detection using image processing," in Proceedings of the 4th International Conference on Emerging Trends in Engineering & Technology, pp. 212-220, 2011.
  10. J. A. Penaranda, C. Flores, and L. G. Corzo, "Colour and proportion of grains measurement in through-body porcelain tiles by means of image processing," Journal of the European Ceramic Society, vol. 26, no. 15, pp. 3373-3381, 2006. https://doi.org/10.1016/j.jeurceramsoc.2005.08.012
  11. Z. R. Sun, "Study on the digital image processing-based dynamic detection method for ceramic disk," Journal of Transcluction Technology, vol. 18, no. 1, pp. 70-73, 2005.
  12. H. M. Elbehiery, G. Abdelmouez M. A. A. Hefnawy, and M. T. Elewa, "Surface defects detection for fired ceramic tiles using monochrome and color image processing analysis," Nov. 2004; http://econwpa.wustl.edu. (accessed on 11 July 2018)
  13. A. Ebrahimzadeh and M. Hossienzadeh, "An efficient system for automatic sorting of the ceramic tiles," in Proceedings of the 6th International Conference on Digital Content, Multimedia Technology and its Applications, pp. 372-374, Aug. 2010.
  14. L. Leng, J. S. Zhang, M. K. Khan, X. Chen, and K. Alghathbar, "Dynamic weighted discrimination power analysis: a novel approach for face and palmprint recognition in DCT domain," International Journal of the Physical Sciences, vol. 5, no. 17, pp. 2543-2554, 2010.
  15. L. Leng, J. S. Zhang, J. Xu, M. K. Khan, and K. Alghathbar, "Dynamic weighted discrimination power analysis in DCT domain for face and palmprint recognition," in Proceedings of the International Conference on Information and Communication Technology Convergence (ICTC), Seoul, pp. 467-471, Nov. 2010.
  16. G. S. Hong, B.G. Kim, D. P. Dogra, and P. P. Roy, "A survey of real-time road detection techniques using visual color sensor," Journal of Multimedia Information System, vol. 5, no. 1, pp. 9-14, 2018. https://doi.org/10.9717/JMIS.2018.5.1.9
  17. B. G. Kim, J. I. Shim, and D. J. Park, "Fast image segmentation based on multi-resoluition analysis and wavelets," Pattern Recognition Letters, vol. 24, no. 16, pp. 2995-3006, 2003. https://doi.org/10.1016/S0167-8655(03)00160-0
  18. C. Rother, V. Kolmogorov, and A. Blake, "GrabCut: Interactive foreground extraction using iterated graph cuts," ACM Trans. Graph, vol. 23, no. 3, pp. 309-314, 2004. https://doi.org/10.1145/1015706.1015720
  19. L. Leng, M. Li, C. Kim, and X. Bi, "Dual-source discrimination power analysis for multi-instance contactless palmprint recognition Multimedia Tools and Application," Multimedia Tools and Applications, vol. 76, no. 1, pp. 333-354, 2017. https://doi.org/10.1007/s11042-015-3058-7
  20. L. Leng, J. S. Zhang, G. Chen, M. K. Khan, and P. Bai, "Two dimensional PalmPhasor enhanced by multi-orientation score level fusion," in Proceedings of the 8th FTRA International Conference on Secure and Trust Computing, Data Management, and Applications (STA), Crete, vol. 186, pp. 122-129, Jun. 2011.
  21. L. Leng, J. S. Zhang, G. Chen, M. K. Khan, and K. Alghathbar, "Two-directional two-dimensional random projection and its variations for face and palmprint recognition," in Proceedings of the International Conference Computational Science and Its Applications (ICCSIA), Santander, vol. 6786, pp. 458-470, 2011.
  22. Byung-Gyu Kim, Dong-Jo Park, "Novel Target Segmentation and Tracking Based on Fuzzy Membership Distribution for Vision-Based Target Tracking System," Image and Vision Computing, vol. 24, no. 12, pp. 1319-1331, 2006. https://doi.org/10.1016/j.imavis.2006.04.008