Research Article | Open Access
Ryoichi Doi, Chusnul Arif, Budi Indra Setiawan, Masaru Mizoguchi, "Pixel Color Clustering of Multi-Temporally Acquired Digital Photographs of a Rice Canopy by Luminosity-Normalization and Pseudo-Red-Green-Blue Color Imaging", The Scientific World Journal, vol. 2014, Article ID 450374, 9 pages, 2014. https://doi.org/10.1155/2014/450374
Pixel Color Clustering of Multi-Temporally Acquired Digital Photographs of a Rice Canopy by Luminosity-Normalization and Pseudo-Red-Green-Blue Color Imaging
Red-green-blue (RGB) channels of RGB digital photographs were loaded with luminosity-adjusted R, G, and completely white grayscale images, respectively (RGwhtB method), or R, G, and R + G (RGB yellow) grayscale images, respectively (RGrgbyB method), to adjust the brightness of the entire area of multi-temporally acquired color digital photographs of a rice canopy. From the RGwhtB or RGrgbyB pseudocolor image, cyan, magenta, CMYK yellow, black, , , and grayscale images were prepared. Using these grayscale images and R, G, and RGB yellow grayscale images, the luminosity-adjusted pixels of the canopy photographs were statistically clustered. With the RGrgbyB and the RGwhtB methods, seven and five major color clusters were given, respectively. The RGrgbyB method showed clear differences among three rice growth stages, and the vegetative stage was further divided into two substages. The RGwhtB method could not clearly discriminate between the second vegetative and midseason stages. The relative advantages of the RGrgbyB method were attributed to the R, G, B, magenta, yellow, , and grayscale images that contained richer information to show the colorimetrical differences among objects than those of the RGwhtB method. The comparison of rice canopy colors at different time points was enabled by the pseudocolor imaging method.
Observation of plant color enables suitable plant management measures . Spatial and temporal changes in colors of leaf, flower, fruit, and other plant organs are significantly related to plant nutrition , success/failure in plant protection , weather stress , occurrence of invasive weed species , and other types of abnormalities. Various digital observation tools are commonly available and can assist in plant management by providing color digital photographs of plants. The quantification of changes in plant color is difficult, however, because the brightness of the imaging targets varies with photograph acquisition time . Furthermore, there is no correlation among the (intensity) axes of the color components, red-green-blue (RGB), and others . Thus, adjusting the brightness of the entire area of a single digital photograph is difficult .
A method to avoid this difficulty was recently demonstrated . An RGB digital photograph consists of data on grayscale intensity between 0 (complete black) and 255 (complete white) for R, G, and B channels . The R, G, and B channels are loaded with R, G, and B grayscale images, respectively. Adjusting the intensity values of pixels of R and G grayscale images of an RGB digital photograph provides the brightness-adjusted R and G grayscale images . The adjustment bases on the fact that the intensity values of R and G have strong correlations to brightness and are thus easy to adjust. However, B has poor correlations to brightness and the intensity of R and G. No other components of the other color models are as precisely brightness adjustable as R and G . To replace the B grayscale image with a white mat (RGwhtB pseudo-RGB color method) may overcome this challenge. Many field and natural plant organs are greenish , reddish , yellowish , or something in between . Yellowness is determined by redness and greenness . The intensity of R and G describes a large portion of information on the colors of plant organs. Thus, the quantification of the intensity values of these visible colors (R and G) should aid significantly in the color observation of plants  although invisible (near)-infrared spectra can also provide significant information.
In this context, the first objective of this study was to examine the RGwhtB method in the quantitative color profiling of multi-temporally acquired digital photographs of a rice canopy. Digital photographs of a rice canopy in a paddy field were acquired within a single rice crop season from late August to early December 2011 in Indonesia. Pixels in the acquired digital photographs of the rice canopy were clustered based on their color profiles provided by the method. Another pseudo-RGB color method was developed by replacing B grayscale images with RGB yellow grayscale images by merging brightness-adjusted R and G grayscale images at the same weights  (RGrgbyB pseudo-RGB color method). The RGrgbyB method was also used in color profiling of the rice canopy. The second objective was to determine rice growth stages based on the clustering results. The pseudo-RGB methods resulted in different clustering patterns. The pseudo-RGB methods were compared in terms of performance. The differences between the pseudo-RGB methods are discussed herein.
2. Materials and Methods
2.1. Site Description
Details of the study site are described elsewhere . The paddy field was located in the Nagrak District of Sukabumi, Indonesia (6°50′42.5′′S, 106°48′20.2′′E). In this study, a rooftop was used as a standard (Figure 1). The digital photographs, as shown in Figure 1, enabled visual confirmation of the aforementioned rooftop and paddy field. The soil texture was silty clay. On 20 August 2011, the field was planted with the local variety of rice (Oryza sativa L.), Sintanur. We used the following practices: single planting of young seedlings (10 days after sowing), spaced at 30 cm × 30 cm, applying an organic fertilizer at 7 ton/ha, but no chemical fertilizer. The paddy field was watered according to a non-flooded irrigation system [18, 19]. The silty clay soil was kept moist but with no standing water. The rice was harvested on 12 December 2011.
2.2. Digital Photography and Handling of Digital Photographs
In this study, digital photographs of the paddy field were used. The photographs were captured using a surveillance camera (UCAM-DLO130, Elecom, Osaka, Japan). Photographs were captured daily between 14.00 and 14.30 and stored on a hard disk between 21 August 2011 and 15 December 2011. The rooftop and the paddy field were located within a single scene (Figure 1). When the photograph was captured, data regarding the values of the red-green-blue (RGB) color intensity were generated. The image datum was then pasted into a new file window of Adobe Photoshop 7.0. In another layer overlapping the paddy photograph, frames were set on the rooftop and the rice canopy (Figure 1). The number of spectral-profiled pixels was 168 for the rooftop as the standard and 2,516 for the rice canopy in the target canopy frame. For the pixels in the rooftop frame, the intensity values of R and G were read . For R or G, a value between 0 (darkest) and 255 (saturated and most colorful) was reported. In this study, the AdobeRGB color space was chosen as one of the RGB color spaces. As a measure of brightness, luminosity was also read for the pixels of the rooftop and was averaged.
Using the statistical software SPSS 10.0.1 (SPSS Inc.), linear regression analysis of the luminosity and intensity of the RGB color component was performed to examine if the intensity values of R, G, and RGB yellow could be luminosity-normalized.
Grayscale images that show the intensity values of R and G were prepared . Each grayscale image was subjected to brightness adjustment of the entire image . Luminosity 120-normalization  was applied as the method for normalization of brightness of the entire area of the grayscale image. Next, the grayscale image of the intensity values of RGB yellow for the pixels was prepared by merging the luminosity 120-normalized R and G grayscale images at the same weights as described in the manufacturer’s instructions .
A red-green-white B (RGwhtB) image was prepared by using the luminosity 120-normalized R and G grayscale images and a white mat instead of the B grayscale image. Likewise, a red-green-RGB yellow (RGrgbyB) image was prepared by using the luminosity 120-normalized R, G, and RGB yellow grayscale images.
The authors prepared an RGwhtB or an RGrgbyB image file in which the luminosity 120-normalized pixels of the target frame and the rooftop were chronologically pasted to show temporal changes in the color profile of the rice canopy in the luminosity 120-normalized images. In the same image, the Microsoft Office gamut was pasted to monitor how the pixels of various colors are shown by the handling processes. From the RGwhtB or the RGrgbyB JPEG image, the grayscale images that show the intensity values of B, cyan (C), magenta (M), yellow (Y), key black (K), and lightness () and the values of and were prepared . CMYK images were generated with the International Color Consortium profile of US Web Coated (SWOP) v2 for digital output such as color printing.
2.3. Data Analyses
The R, G, B, and other grayscale images were used in the clustering of the pixels by running the pixel analysis software, MultiSpec 3.3 (Purdue Research Foundation). The iterative self-organizing data analysis technique  was applied to cluster the pixels in the JPEG image into color clusters. The minimum cluster size was 12 pixels, the first critical distance was 33 Euclidean distance, and the other critical distances were 66 Euclidean distances.
Images of the target canopy frame were cluster-profiled based on the distribution of color clusters. The Shannon diversity index for the canopy  was determined for the target canopy using the following equation: where is the proportional abundance for the th cluster over the total pixels for the canopy. Relative proximity among clustering patterns for the time points was quantified by performing multidimensional scaling using the statistical software SPSS 10.0.1.
3. Results and Discussion
Forty-nine photographs were obtained within the period. Mean luminosity values for the rooftop within the period ranged between 100 and 135. For the rooftop, the following linear relationships were obtained between luminosity and the intensity of R, G, and RGB yellow. Intensity of luminosity − 2.44 (, ). Intensity of luminosity − 4.41 (, ). Intensity of RGB yellow = 2.08 × luminosity − 6.85 (, ).Using the above equations, in each RGB digital photograph, the R and G grayscale images were luminosity 120-normalized, as shown in Figure 1. Figure 2(a) was obtained by copying pixels in the target canopy frame and the standard rooftop in the R- and G-luminosity 120-normalized RGB photographs on the selected dates and pasting them in a single image. In the luminosity 120-normalized RGB photograph, the mean intensity values of R and G for the rooftop were 128 and 114, respectively. Then, from Figure 2(a), in which 16 pairs of target frames and rooftops were pasted, luminosity 120-normalized R and G grayscale images were obtained (Figures 2(b) and 2(c)). A pseudo-RGB image was prepared by substituting the B grayscale image of Figure 2(a) with a white mat (RGwhtB, Figure 2(e)) or with the RGB yellow grayscale image (RGrgbyB, Figure 2(g)).
In the RGB image (Figure 2(a)), changes in color were visible for the rooftop, despite the luminosity 120-normalization of the R and G grayscale images. This indicates that the intensity of B changed so significantly that the changes became visible to the human eye. Changes in the grayscale intensity of R, G, and RGB yellow for the rooftop, however, were difficult to perceive (Figures 2(b), 2(c), and 2(d)). The grayscale images of R, G, and RGB yellow also indicate significant changes in the color profile of the pixels in the target canopy frame. On 8 and 11 December, the entire target canopy eventually became light-colored according to the R, G, and RGB yellow grayscale images (Figures 2(b), 2(c), and 2(d)) due to late leaf senescence resulting from the rice farming practices .
By clustering pixels in Figures 2(e) and 2(g), the mean (intensity) values of R, G, B, and the other color components were determined for each color cluster (Figures 2(f) and 2(h), Table 1). Values of and are shown as those between green (0) and red (255) and blue (0) and yellow (255), respectively (Figure 3, ). By adopting a criterion to select the most common pixel color clusters (100 pixels or more in the 16 target frames), five (RGwhtB) and seven (RGrgbyB) color clusters were selected to describe changes in color of the target canopy within the period of the observation (Table 1). The other pixels belonging to the nonselected minor clusters will be referred to as “the other pixels” hereafter. Values of the maximum − the minimum (ranges) of the (intensity) values of the color components tended to be larger for the RGrgbyB method than the RGwhtB method. These differences between the methods suggest that the RGrgbyB method was more informative in indicating temporal changes in pixel color in the target frame than the RGwhtB method.
|Clusters with pixel numbers >100 in the 16 target frames for 21 August to 15 December 2011 (Figure 2). |
For maximum − minimum (range), the bold values are larger for either method than the other.
Differences between canopy clustering patterns for September and October were clearly indicated in the color cluster image for the RGrgbyB method (Figure 2(h)). The color cluster image given by the RGwhtB method, however, did not clearly show changes in canopy color in September and October (Figure 2(f)). This means that the RGwhtB method was less advantageous than the RGrgbyB method in terms of discriminating pixels representing rice plant, soil, and other objects. As shown in Table 1, the two methods visually demonstrated differences in clustering the pixels of the Microsoft Office gamut (Figures 2(f) and 2(h)).
Figure 4 indicates the appearance and disappearance of the clusters in the target frame within the period of observation. For both methods, the cluster distribution patterns became complicated in late November when the rice grains were maturing and the leaves were experiencing senescence. When bare soil was observed in late August and mid-December the cluster distribution pattern for each method was simpler than in the maturity period. The color of the bare soil was largely described by color clusters 4 (RGwhtB method) and 5 (RGrgbyB method) with a large R intensity (>205) and a small G intensity (<48) (Table 1). In the RGrgbyB target frames for September (Figure 2(h)), relatively brighter pixels (cluster 6, , , Table 1) became dominant. In October, the dominance was taken over by darker pixels (cluster 7, , , Table 1). In the RGwhtB target frames, this change in dominant color was not shown (Figure 2(f)), whereas, in September and October, the most dominant was cluster 5 (, , Table 1). Eventually, changes in the color profile in the target frame within the two months (September and October) were apparently undetectable for the RGwhtB method, implying that the pixels representing different objects could not be discriminated. A marked difference between the methods was that the RGrgbyB method generated clusters 6 and 7 to indicate different time periods in September and October which were difficult to discriminate when employing the RGwhtB method.
These periods are thought to be the vegetative and reproductive stages according to the FAO’s manual . Patterns of cluster distribution in the target frames on 26 September and before in Figure 2(h) suggest the vegetative stage . Likewise, the cluster distribution patterns on 4, 14, and 24 October and 7 November are thought to represent the midseason stage . Therefore, the patterns for 17 November to 11 December are likely to be of the late season stage. As described later, the vegetative stage defined in the FAO’s manual was further divided in this study.
Values of Shannon diversity of color cluster distribution were determined for the dates. According to changes in the Shannon diversity index, the target frames in the RGrgbyB image had greater values of the Shannon diversity index within the period, especially in the midseason stage, than those derived from the RGwhtB image (Figure 4). Canopy diversity may be used as an information source on field crop production though the application was not found. Canopy diversity, however, was proven to be a good indicator for forest management. For example, changes in the value of the diversity index for the pine canopy significantly described pine biomass production . Because spatiotemporal variability is an important issue in crop production, and the current approach is feasible to employ to observe areas of crop production, crop canopy diversity is worth being investigated to determine what the indices indicate. With the current method, balloons  or unmanned planes  may help in identifying the spatiotemporal color changes of plant organs.
Figure 5 demonstrates the proximity among the cluster distribution patterns in the target frames in Figure 2(f) or Figure 2(h). The vegetative stage (before 4 October) can be divided into the first and second substages according to the cluster distribution patterns for the RGrgbyB method (Figure 2(h)). However, for the RGwhtB method, cluster distribution patterns in the second vegetative (September) and midseason (4 October to 7 November) stages were scored close to each other (Figure 5). The RGwhtB method was disadvantageous to describe the changes between these (sub-) stages (Figure 2(f)). As shown in this example, it is not always suitable to regard a single rice season as having three abruptly divided stages. Hence, the continuous observation of changes in canopy color enables flexible farming practices that respond to the changes in color .
To find the cause of the superiority of the RGrgbyB method, C, M, Y, K, , , and grayscale images were prepared from the RGrgbyB and RGwhtB JPEG images (Figure 6). The most marked difference was that the Y grayscale image derived from the RGrgbyB image showed lower intensity values, that is, darker pixels, in the target frames for 4 October to 7 November whereas those for the other time points had greater intensity values. This was thought to be the reason why the RGrgbyB method was more effective at finding the differences between the vegetative (September) and midseason (4 October to 7 November) stages than the RGwhtB method. In the RGB color model, yellow and blue have a complementary relationship . Therefore, if a B grayscale image of an RGB digital photograph is replaced with a white mat, the intensity of B becomes 255 for all pixels. Then, the information on the intensity of CMYK yellow as the complementary color must be largely lost (Figure 6). At the same time, the relative intensity of B to that of yellow becomes larger. This results in decreases in values of for pixels in the grayscale image because is a color component that shows the relative intensity of Y to B (Figure 3, ). This made the entire grayscale image for the RGwhtB method darker than that for the RGrgbyB method (Figure 6).
The quantification of temporal color changes in a rice canopy was enabled by pixel clustering based on the current pseudo-RGB methods. The RGrgbyB method more precisely revealed the temporal color changes in the rice canopy that indicate rice growth stages than the RGwhtB method. The relative advantage of the RGrgbyB method was suggested by the greater sensitivity to show differences in the (intensity) values of color components, especially yellowness. The greater sensitivity was thought to be associated with the greater Shannon diversity values for the distribution patterns of pixel color clusters in the area of the target canopy and the greater power to discriminate the cluster distribution patterns for rice growth stages. The RGrgbyB method indicated the first and second substages in the vegetative stage. However, the RGwhtB method did not discriminate between the second vegetative and midseason stages. The current pseudo-RGB methods are worth being examined and applied in the observation of (spatio-)temporal changes in the colors of various plant species/organs in actual fields where brightness varies significantly with time.
Conflict of Interests
The authors declare that there is no conflict of interests regarding the publication of this paper.
The authors gratefully acknowledge Mr. Ahmad JATIKA, the Director of the Nagrak Organic SRI Center, for his help since 2007. The authors are also grateful to the Japanese Society for Promotion of Science for the Grant-in-Aid 23255014 and to Associate Professor Satoshi TSUYUKI, the University of Tokyo, for his advice.
- T. G. van Niel and T. R. McVicar, “Current and potential uses of optical remote sensing in rice-based irrigation systems: a review,” Australian Journal of Agricultural Research, vol. 55, no. 2, pp. 155–185, 2004.
- H. S. Thind and R. K. Gupta, “Need based nitrogen management using the chlorophyll meter and leaf colour chart in rice and wheat in South Asia: a review,” Nutrient Cycling in Agroecosystems, vol. 88, no. 3, pp. 361–380, 2010.
- L. Feng, R.-Y. Chai, G.-M. Sun, D. Wu, B.-G. Lou, and Y. He, “Identification and classification of rice leaf blast based on multi-spectral imaging sensor,” Spectroscopy and Spectral Analysis, vol. 29, no. 10, pp. 2730–2733, 2009.
- E. W. Chipman and E. Thorpe, “Effect of maturity and frost on the leaf color of storage cabbage,” Canadian Journal of Plant Science, vol. 59, no. 2, pp. 429–435, 1979.
- M. E. Andrew and S. L. Ustin, “Habitat suitability modelling of an invasive plant with advanced remote sensing data,” Diversity and Distributions, vol. 15, no. 4, pp. 627–640, 2009.
- D. G. Hadjimitsis, C. R. I. Clayton, and A. Retalis, “The use of selected pseudo-invariant targets for the application of atmospheric correction in multi-temporal studies using satellite remotely sensed imagery,” International Journal of Applied Earth Observation and Geoinformation, vol. 11, no. 3, pp. 192–200, 2009.
- D. J. Hayes and S. A. Sader, “Comparison of change-detection techniques for monitoring tropical forest clearing and vegetation regrowth in a time series,” Photogrammetric Engineering and Remote Sensing, vol. 67, no. 9, pp. 1067–1075, 2001.
- J. R. Schott, C. Salvaggio, and W. J. Volchok, “Radiometric scene normalization using pseudoinvariant features,” Remote Sensing of Environment, vol. 26, no. 1, pp. 1–15, 1988.
- R. Doi, “Red-and green-based pseudo-RGB color models for the comparison of digital images acquired under different brightness levels,” Journal of Modern Optics, vol. 61, no. 17, pp. 1373–1380, 2014.
- Adobe Systems, Adobe Photoshop 7.0 Classroom in a Book, Adobe Photoshop 7. 0 Classroom in a Book, Adobe Press, San Jose, Calif, USA, 2002.
- R. Doi, C. Arif, B. I. Setiawan, and M. Mizoguchi, “Quantitative use of luminosity-normal greenness, redness and yellowness of a rice canopy derived from multi-temporally acquired digital photographs,” International Journal of Agriculture and Biology, vol. 15, no. 4, pp. 707–712, 2013.
- S. G. Pallardy, Physiology of Woody Plants, Academic Press, Burlington, Mass, USA, 3rd edition, 2008.
- S. Lev-Yadun and J. K. Holopainen, “Why red-dominated autumn leaves in America and yellow-dominated autumn leaves in Northern Europe?” New Phytologist, vol. 183, no. 3, pp. 506–512, 2009.
- R. Doi, “Simple luminosity normalization of greenness, yellowness and redness/greenness for comparison of leaf spectral profiles in multi-temporally acquired remote sensing images,” Journal of Biosciences, vol. 37, no. 4, pp. 723–730, 2012.
- B. Smith, “An RGB to spectrum conversion for reflectances,” Journal of Graphical Tools, vol. 4, no. 4, pp. 11–22, 1999.
- D. J. Mulla, “Twenty five years of remote sensing in precision agriculture: key advances and remaining knowledge gaps,” Biosystems Engineering, vol. 114, no. 4, pp. 358–371, 2013.
- C. Arif, B. I. Setiawan, M. Mizoguchi, and R. Doi, “Estimation of water balance components in paddy fields under non-flooded irrigation regimes by using excel solver,” Journal of Agronomy, vol. 11, no. 2, pp. 53–59, 2012.
- C. Arif, B. I. Setiawan, H. A. Sofiyuddin, L. M. Martief, M. Mizoguchi, and R. Doi, “Estimating crop coefficient in intermittent irrigation paddy fields using excel solver,” Rice Science, vol. 19, no. 2, pp. 143–152, 2012.
- R. Doi and M. Mizoguchi, “Feasibility of system of rice intensification practices in natural and socioeconomic contexts in Thailand,” International Journal of Sustainable Development and World Ecology, vol. 20, no. 5, pp. 433–441, 2013.
- R. Doi and S. L. Ranamukhaarachchi, “Discriminating between canopies of natural forest and Acacia plantation plots in a google earth image to evaluate forest land rehabilitation by Acacia species,” International Journal of Agriculture and Biology, vol. 12, no. 6, pp. 921–925, 2010.
- R. Doi, “Discriminating crop and other canopies by overlapping binary image layers,” Optical Engineering, vol. 52, no. 2, Article ID 020502, 2013.
- G. H. Ball and D. J. Hall, Isodata: A Method of Data Analysis and Pattern Classification, Stanford Research Institute, Office of Naval Research, Information Sciences Branch, Menlo Park, Calif, USA, 1968.
- A. D. Laderman, “Comparative community structure of Chamaecyparisthyoides bog forests: canopy diversity,” Wetlands, vol. 2, no. 1, pp. 216–230, 1982.
- A. Mishra and V. M. Salokhe, “The effects of planting pattern and water regime on root morphology, physiology and grain yield of rice,” Journal of Agronomy and Crop Science, vol. 196, no. 5, pp. 368–378, 2010.
- S. Lakio, J. Heinämäki, and J. Yliruusi, “Colorful drying,” AAPS PharmSciTech, vol. 11, no. 1, pp. 46–53, 2010.
- C. Brouwer and K. Prins, Irrigation Water Anagement: Irrigation Scheduling, FAO Land and Water Development Division, FAO, Rome, Italy, 1989.
- L. E. Schabenberger and S. M. Zedaker, “Relationships between loblolly pine yield and woody plant diversity in Virginia Piedmont plantations,” Canadian Journal of Forest Research, vol. 29, no. 7, pp. 1065–1072, 1999.
- G. J. J. Verhoeven, “Providing an archaeological bird's-eye view–an overall pictureof ground-based meansto execute low-altitude aerial photography (LAAP) in archaeology,” Archaeological Prospection, vol. 16, no. 4, pp. 233–249, 2009.
- C. Zhang and J. M. Kovacs, “The application of small unmanned aerial systems for precision agriculture: a review,” Precision Agriculture, vol. 13, no. 6, pp. 693–712, 2012.
- L. G. Toulios, M. G. Toulios, and E. Lipimenou, “Soil color relationships with reflectance spectra,” Geocarto International, vol. 13, no. 2, pp. 35–42, 1998.
Copyright © 2014 Ryoichi Doi et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.