# Transition Temperatures of Thermotropic Liquid Crystals from the Local Binary Gray Level Cooccurrence Matrix

Authors: S. Sreehari Sastry; T. Vindhya Kumari; C. Nageswara Rao; K. Mallika; S. Lakshminarayana; Ha Sie Tiong
Journal: Advances in Condensed Matter Physics
 (2012)

---

## Abstract

This paper presents a method which combines the statistical analysis with texture structural analysis called Local Binary Gray Level Cooccurrence Matrix (LBGLCM) to investigate the phase transition temperatures of thermotropicp,n-alkyloxy benzoic acid (nOBA, n=4,6,8,10 and 12) liquid crystals. Textures of the homeotropically aligned liquid crystal compounds are recorded as a function of temperature using polarizing optical microscope attached to the hot stage and high resolution camera. In this method, second-order statistical parameters (contrast, energy, homogeneity, and correlation) are extracted from the LBGLCM of the textures. The changes associated with the values of extracted parameters as a function of temperature are a helpful process to identify the phases and phase transition temperatures of the samples. Results obtained from this method have validity and are in good agreement with the literature.


---

## Body

## 1. Introduction

Thermotropic liquid crystals exhibit a variety of phases and phase transitions in the materials [1–3]. The structure of thermotropic liquid crystal phases is easily influenced by external conditions,  for example, the properties of the surface of a microscope cover glass. In case of planar alignment of LC’s the phases can possess complex structures and properties which are studied from several decades. In contrast, the investigation of liquid crystals as components in heterogeneous and its anchoring homeotropically is still in an early stage, especially when the more complex phases such as different smectic phases are considered. The understanding of textures and their characteristic features of thermotropic liquid crystal is the main focus of our studies to investigate the phase transitions [4].There are several techniques used to identify the mesophases or phase transitions of liquid crystals, such as polarizing optical microscope (POM), differential scanning calorimetry (DSC), differential thermal analysis (DTA), and X-ray diffraction. POM is one of the essential tools for the characterization of newly synthesized mesogenic materials, together with DSC, DTA, and X-ray investigations. While DSC and DTA are easily and quickly carried out methods, they merely provide information on phase transition temperatures, heat of transitions, heat capacity of various phases, and the order of the transitions. X-ray investigations for determination of the phase type have to be performed on macroscopically well-oriented samples which is often time consuming and sometimes hard to realize. However, precise phase identification could not easily be made by DSC, DTA, and X-ray investigation approaches. Polarizing microscopy on the other hand can provide a determination of both phase transition temperatures and phase type. This is done by temperature dependent texture investigations between crossed polarizers. Changes in the characteristics of the textural patterns that occurred while passing a phase transition reveal the type of phase presence [5, 6]. Keeping this in mind, some researchers proposed a liquid crystal texture image processing and analysis methodology to investigate the phase transitions of liquid crystals. They used the statistical parameters of the first  and second kinds to identify the phase transitions temperatures of liquid crystals [7–11].  However there exists coherence length diagram for the analysis [12] of liquid crystal textures which involves the more numbers of pixels. This coherence length analysis is useful to characterize the irregular textures, subphases, and defects.  Coherence length analysis ignores the boundaries of the textures and the complexity involved in required parameters  such as saturation point; threshold and directions for the calculation of coherence lengths are high. The statistical parameters of the first and second kind extract textural features based on one or two pixel intensity values which ignore the spatial relationship between the texture patterns. Therefore it is reasonable to propose a new method that combines the statistical analysis method with texture structural method which provides the information regarding the texture patterns and their strengths. Gray Level Cooccurrence Matrix of Local Binary Pattern (LBP) image extracts the features based on local neighbourhood of image which contains all spatial and texture feature information of different patterns. Extraction of parameters from the LBGLCM of textures is a helpful process to identify the textural features and it changes efficiently in order to investigate the phase transitions of the samples. In this communication a texture structural analysis method called Local Binary Gray Level Cooccurrence Matrix (LBGLCM) is proposed to investigate the phase transition temperatures of   p,n-alkyloxy benzoic acids (nOBA, n=4,6,8,10 and 12) and results are compared with the literature.


## 2. Experiment

Thermotropic liquid crystals of even homologous series,p,n-Alkyloxybenzoic acid (nOBA, where n=4,6,8,10, and 12), are obtained from the Frinton laboratories, Inc., USA. The homeotropic alignment (90° alignment) of ITO coated cell having area of  5mm×5mm with 6 μm spacing (tolerance is ±0.2 μm) are obtained from Instec Inc., USA. Temperature dependent textural investigations are carried out by Meopta optical polarizing microscope attached to hot stage as described by Gray [13] and high resolution Canon camera. Mesogens are injected in these cells by heating the sample in its isotropic state through capillary action.A high resolution Canon color camera is used for recording the observations. The colour image or texture recorded by the camera has a resolution of3888×2592 pixels which represents the 24-bit true colour pixel tone that ranges from 0 to 255 in R, G, and B colours. In the present work, the translated gray scale image is used for analysis. The size of the image is selected to be 256. The program has been coded using MATLAB software (implemented on P4 1.6 GHz with 2 GB RAM) for computational analysis of textures which is an efficient tool for computation [14].


## 3. Texture Features Extraction from the Local Binary Gray Level Cooccurrence Matrix (LBGLCM)

A new approach based on the idea of Local Binary Pattern (LBP) operator and Gray Level Cooccurrence Matrix (GLCM) is proposed. Firstly, we have to apply the local binary pattern (LBP) operator on liquid crystal textures generating the LBP image. Secondly, the GLCM of the LBP images has to construct and finally we have to extract the second-order statistical parameters (contrast, energy, homogeneity, and correlation) that are extracted from the Local Binary Gray Level Cooccurrence Matrix of  textures.


### 3.1. Local Binary Pattern Operator

The local binary pattern (LBP) operator is defined as a gray scale invariant texture measure, derived from a general definition of texture in a local neighbourhood. It can be seen as a unifying approach to the traditionally divergent statistical and structural models of textural analysis. Perhaps the most important property of the LBP operator in real-world applications is its invariance against monotonic gray level change. Another equally important thing is its computational simplicity, which makes it possible to analyze the images in challenging real-time settings [15–17]. The LBP operator was originally designed for texture description. This concept was developed by Ojala et al. [18], attempts to decompose the texture into small units where the texture features are defined by the distribution of the LBP values calculated for each pixel in the image. The LBP texture unit is calculated in a 3×3 square neighbourhood by applying a simple threshold operation with respect to the central pixels as illustrated in (1):
(1)T={t(g0-gc),…,t(gP-1-gc)},t(x)={1x≥00x<0,
where T  is the texture unit, gc is thegray level value of the central pixel, gP are the gray values of the pixels adjacent to the central pixel in the 3×3 neighbourhood, P defines the number of pixels in the 3×3 neighbourhood, and function t defines the threshold operation. For a 3×3 neighbourhood the value of P is 8. To encompass the spatial arrangement of the pixels in the 3×3 neighbourhood, the LBP value for the tested (central) pixel is calculated using the following relationship:
(2)LBP=∑i=0P-1t(gi-gc)*2i,
where t(gi-gc) is the value of the thresholding operation illustrated in (1). The LBP values calculated using (2) is in the range [0‒255]. Figure 1 is an illustration of the basic LBP operator. It concerns the spatial relationship between patterns while ignoring the magnitude of gray level differences.  And also invariant against gray scale shifts, that is, the texture features are invariant when all of the pixels in the neighbourhood are plus or minus a value at the same time, so the sign of differences can also be ignored [19]. For example, the gray scale image and the processed image from LBP operator are shown in Figure 2.Figure 1
Illustration of LBP operator.(a) Gray scale image. (b) The LBP image.
(a)
(b)


### 3.2. Gray Level Cooccurrence Matrix (GLCM)

The Gray Level Cooccurrence Matrix (GLCM) is a widely used texture analysis method especially for stochastic textures. It enhances the details of image and gives the interpretation. The GLCM is a tabulation of how often different combinations of pixel brightness values (gray levels) occur in an image. The GLCM indicates the frequency occurrence of pixel pairs. From this principal, it is used to compute the relationships of pixel intensity to the intensity of its neighbouring pixels which are based on hypothesis that the same gary level configuration is repeated in a texture [20–22].The GLCM is defined with respect to given row, column. A GLCM element(i,j)denoted  by  Cij represents the number of times a point having gray level j occurs relative to a point having gray level i. This was explained with example shown in Figure 11. In  Figure 11, each element of Gray Level Cooccurrence Matrix represents the probability of occurrence of pixel pair. In (Figure 11) 20 and right-hand neighbor 10 occur, that is, (20, 10) at two times. Therefore element of GLCM represents the probability of occurrence of pixel pair, that is, 2.


### 3.3. Feature Extraction from the LBGLCM

The traditional GLCM extracts the features based on pixel and its next neighbour pixel while ignoring the spatial relationship of different local texture patterns in the image [11]. GLCM of the LBP image extracts the features based on local neighbourhood which contains all spatial and texture feature information of different patterns. We can extract the second-order statistical parameters: contrast, energy, homogeneity, and correlation from the LBGLCM and they will identify the textural features and their change, efficiently.An image of LBGLCM(i,j) of size m-by-nis a two-dimensional function and it is composed of m pixels in the vertical direction and n pixels in the horizontal direction, i,j are horizontal and vertical coordinates of the image. The total number of pixels in the image is m*n=N,0≤i≤m,0≤j≤n. The defined second-order statistical parameters are as follows.(i) Contrast
Intensity contrasts between different textural patterns are measured by the contrast of texture. The value of contrast is low if the gray levels of each textural patterns are similar.Contrast is as follows:(3)∑i=1m∑j=1n(i-j)2LBGLCM(i,j).(ii) Energy
Energy measures the textural uniformity. Maximum energy of the texture or image occurs when the gray level distribution of a given image is either constant or a periodic uniform.Energy is as follows:(4)∑i=1m∑j=1n(LBGLCM(i,j))2.(iii) Homogeneity
Homogeneity measures the closeness of the distribution of gray values in the image. Homogeneous texture will contain only a limited range of gray levels, giving a LBGLCM with only a few values but relatively high probability.Homogeneity:(5)∑i=1m∑j=1nLBGLCM(i,j)1+|i-j|.(iv) Correlation
Correlation is a measure of linear dependence between the textural patterns at specified positions relative to each other. Correlation is uncorrelated with energy, contrast, and homogeneity.Correlation is as follows:(6)∑i=1m∑j=1n{i×j}×LBGLCM(i,j)-{μx×μy}σx×σy,
where  μx, μy,  and σx, σy are the mean and standard deviations of probability matrix P along row-wise (Px) and column-wise (Py).


## 3.1. Local Binary Pattern Operator

The local binary pattern (LBP) operator is defined as a gray scale invariant texture measure, derived from a general definition of texture in a local neighbourhood. It can be seen as a unifying approach to the traditionally divergent statistical and structural models of textural analysis. Perhaps the most important property of the LBP operator in real-world applications is its invariance against monotonic gray level change. Another equally important thing is its computational simplicity, which makes it possible to analyze the images in challenging real-time settings [15–17]. The LBP operator was originally designed for texture description. This concept was developed by Ojala et al. [18], attempts to decompose the texture into small units where the texture features are defined by the distribution of the LBP values calculated for each pixel in the image. The LBP texture unit is calculated in a 3×3 square neighbourhood by applying a simple threshold operation with respect to the central pixels as illustrated in (1):
(1)T={t(g0-gc),…,t(gP-1-gc)},t(x)={1x≥00x<0,
where T  is the texture unit, gc is thegray level value of the central pixel, gP are the gray values of the pixels adjacent to the central pixel in the 3×3 neighbourhood, P defines the number of pixels in the 3×3 neighbourhood, and function t defines the threshold operation. For a 3×3 neighbourhood the value of P is 8. To encompass the spatial arrangement of the pixels in the 3×3 neighbourhood, the LBP value for the tested (central) pixel is calculated using the following relationship:
(2)LBP=∑i=0P-1t(gi-gc)*2i,
where t(gi-gc) is the value of the thresholding operation illustrated in (1). The LBP values calculated using (2) is in the range [0‒255]. Figure 1 is an illustration of the basic LBP operator. It concerns the spatial relationship between patterns while ignoring the magnitude of gray level differences.  And also invariant against gray scale shifts, that is, the texture features are invariant when all of the pixels in the neighbourhood are plus or minus a value at the same time, so the sign of differences can also be ignored [19]. For example, the gray scale image and the processed image from LBP operator are shown in Figure 2.Figure 1
Illustration of LBP operator.(a) Gray scale image. (b) The LBP image.
(a)
(b)


## 3.2. Gray Level Cooccurrence Matrix (GLCM)

The Gray Level Cooccurrence Matrix (GLCM) is a widely used texture analysis method especially for stochastic textures. It enhances the details of image and gives the interpretation. The GLCM is a tabulation of how often different combinations of pixel brightness values (gray levels) occur in an image. The GLCM indicates the frequency occurrence of pixel pairs. From this principal, it is used to compute the relationships of pixel intensity to the intensity of its neighbouring pixels which are based on hypothesis that the same gary level configuration is repeated in a texture [20–22].The GLCM is defined with respect to given row, column. A GLCM element(i,j)denoted  by  Cij represents the number of times a point having gray level j occurs relative to a point having gray level i. This was explained with example shown in Figure 11. In  Figure 11, each element of Gray Level Cooccurrence Matrix represents the probability of occurrence of pixel pair. In (Figure 11) 20 and right-hand neighbor 10 occur, that is, (20, 10) at two times. Therefore element of GLCM represents the probability of occurrence of pixel pair, that is, 2.


## 3.3. Feature Extraction from the LBGLCM

The traditional GLCM extracts the features based on pixel and its next neighbour pixel while ignoring the spatial relationship of different local texture patterns in the image [11]. GLCM of the LBP image extracts the features based on local neighbourhood which contains all spatial and texture feature information of different patterns. We can extract the second-order statistical parameters: contrast, energy, homogeneity, and correlation from the LBGLCM and they will identify the textural features and their change, efficiently.An image of LBGLCM(i,j) of size m-by-nis a two-dimensional function and it is composed of m pixels in the vertical direction and n pixels in the horizontal direction, i,j are horizontal and vertical coordinates of the image. The total number of pixels in the image is m*n=N,0≤i≤m,0≤j≤n. The defined second-order statistical parameters are as follows.(i) Contrast
Intensity contrasts between different textural patterns are measured by the contrast of texture. The value of contrast is low if the gray levels of each textural patterns are similar.Contrast is as follows:(3)∑i=1m∑j=1n(i-j)2LBGLCM(i,j).(ii) Energy
Energy measures the textural uniformity. Maximum energy of the texture or image occurs when the gray level distribution of a given image is either constant or a periodic uniform.Energy is as follows:(4)∑i=1m∑j=1n(LBGLCM(i,j))2.(iii) Homogeneity
Homogeneity measures the closeness of the distribution of gray values in the image. Homogeneous texture will contain only a limited range of gray levels, giving a LBGLCM with only a few values but relatively high probability.Homogeneity:(5)∑i=1m∑j=1nLBGLCM(i,j)1+|i-j|.(iv) Correlation
Correlation is a measure of linear dependence between the textural patterns at specified positions relative to each other. Correlation is uncorrelated with energy, contrast, and homogeneity.Correlation is as follows:(6)∑i=1m∑j=1n{i×j}×LBGLCM(i,j)-{μx×μy}σx×σy,
where  μx, μy,  and σx, σy are the mean and standard deviations of probability matrix P along row-wise (Px) and column-wise (Py).


## 4. Results and Discussions

nOBA (n=4,6) exhibit the nematic phase and textures of those two samples are shown in Figure 3. The compounds nOBA (n=8,10and12) show both nematic, smecticC phases and textures of samples are shown in Figure 4.  For the homologues series with n=8,10,and12 containing larger alkyloxy chain shows smecticC mesomorphism with broader mesomorphic range and chain length is important for the stabilization of the mesophases compared to series where n=4,6.Nematic textures of (a) 4OBA at temperature 161°C and (b) 6OBA at temperature 150°C.
(a)
(b)(a) Nematic texture of 8OBA at temperature 146.5°C, (b) nematic texture 10OBA at temperature 123.4°C, (c) nematic texture of 12OBA at temperature 135°C and (d) smectic texture of 12OBA at temperature 100°C.
(a)
(b)
(c)
(d)LBP of each temperature recording of the texture is computed using (1) and (2).  After construction of GLCM of the LBP image, the second-order statistical parameters, contrast, energy, homogeneity, and correlation are computed from (3)–(6).  At each temperature recording of the liquid crystal sample, the parameters are extracted from the textures and extracted parameters of the textures as a function of temperature that gives the phase transition of liquid crystals. The results obtained from this methodology are shown in Figures 5, 6, 7, 8 and 9.Computed parameters from the textures of 4OBA as a function of temperature where the phase transitions are indicated. (a) Contrast and energy; (b) homogeneity and correlation. Cr: Crystal, SmC: SmecticC, N: Nematic, and I: Isotropic.
(a)
(b)Computed parameters from the textures of 6OBA as a function of temperature where the phase transitions are indicated. (a) Contrast and energy; (b) homogeneity and correlation.
(a)
(b)Computed parameters from the textures of 8OBA as a function of temperature where the phase transitions are indicated. (a) Contrast and energy; (b) homogeneity and correlation.
(a)
(b)Computed parameters from the textures of 10OBA as a function of temperature where the phase transitions are indicated. (a) Contrast and energy; (b) homogeneity and correlation.
(a)
(b)Computed parameters from the textures of 12OBA as a function of temperature where the phase transitions are indicated. (a) Contrast and energy; (b) homogeneity and correlation. Cr: Crystal, SmC: SmecticC, N:  Nematic, I: Isotropic.
(a)
(b)The plots are drawn for parameters values of thep,n-alkyloxy benzoic acid textures as a function of temperature. The plots shown in Figures 5 to 9 reveal that, the parameter value remains approximately constant when there is no change in the textural features like isotropic phase or solid phase, once the phase transformation takes place from isotropic phase to the liquid crystal phase or liquid crystal phase to the solid phase reappearance of textural pattern or changes in textural features at specific temperature brings the abrupt variations in the parameter curves. In general, as s function of temperature the changes in the characteristics of the textural patterns occurred while passing a phase transition.Therefore, the temperature corresponding to abrupt changes in the curve represents the transition temperature of sample. This implies that present methodology is a helpful process to investigate the phase transitions of liquid crystals. As a representative case, the plots are drawn for cooling cycles, to avoid the paramorphotic defects. On cooling, in between crossed polarizers the sample executes the different textures with respect to the different phases as a function of temperature. In all plots, the behaviors of the parameters are different for different compounds which depend on the phase transformation and thermal stability of the phase. Transition temperatures of given samples are compared with the literature [23] which are shown in Table 1.Table 1
Textures and phase transition temperatures of homeotropically alignedp,n-alkyloxybenzoic acid mesogens (n = 4, 6, 8, 10 and 12).
CompoundnOBA where n =
Phases
Phase transition temperatures (°C)
Literature [23]
Present method
4
I-N-Cr
160-147
163.7-149
6
I-N-Cr
154-106
155.3-108
8
I-N-SmC-Cr
147-108-101
148.3-109.8-102.1
10
I-N-SmC-Cr
142-122-97
145.4-123.7-94
12
I-N-SmC-Cr
137-129-95
139.7-128.8-97.5
SmC: SmecticC; N: Nematic; Cr: Crysta; I: Isotropic.In DSC thermogram, the abrupt changes in the enthalpy and heat flow values are useful parameters to identify the transition temperatures of the samples and are shown in Figure10. Liquid crystal texture analysis in conjunction with POM is a process in which the abrupt changes in textural feature values computed from the textures as a function of temperatures are useful to identify the transition temperatures of the samples. Both processes are correlated to each other in abrupt changes of their measured parameter values.DSC thermograms ofp,n-alkyloxybenzoic acid mesogens, (a) n=4, (b)  n=6, (c) n=8, (d) n=10, and (e) n=12.
(a)
(b)
(c)
(d)
(e)(a)
(b)Although, in DSC the change of enthalpy values for the second-order transitions was relatively small and is not observable like first-order transitions [2]. These kinds of transitions are observable using traditional and LBGLCM statistical analysis. Computed parameter values associated with the changes textural feature values at the transition are useful to identify this kind of transitions. While present methodology is invariant against the gray scale changes causes the changes in the parameter values at the phase transformations are small compared to the traditional GLCM. The knowledge of traditional statistical and LBGLCM textural analysis methods in conjunction with POM is a more helpful process to identify second-order transitions and we have considered a future work for newly synthesized compounds.


## 5. Conclusion

It is concluded that the present method is successful in identifying the phase transition temperatures of thermotropic liquid crystalsp,n-alkyloxy benzoic acids of even series using statistical analysis with texture structural analysis called Local Binary Gray Level Cooccurrence Matrix (LBGLCM). Computational simplicity of the present methodology makes it possible to analyze the textural features in real-time settings.



---

*Source: 527065-2012-12-27.xml*