Professional Documents
Culture Documents
Research Article: Evaluation of Corrosion Growth On SS304 Based On Textural and Color Features From Image Analysis
Research Article: Evaluation of Corrosion Growth On SS304 Based On Textural and Color Features From Image Analysis
ISRN Corrosion
Volume 2013, Article ID 376823, 7 pages
http://dx.doi.org/10.1155/2013/376823
Research Article
Evaluation of Corrosion Growth on SS304 Based on Textural
and Color Features from Image Analysis
Copyright © 2013 Ramana M. Pidaparti 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.
Corrosion surface damage in the form of pitting and microcracks is observed in many systems and affects the integrity of steel
structures in nuclear, civil, and industrial engineering. In order to gain a better understanding and develop nondestructive and
automatic detection/assessment of corrosion damage and its growth, an image analysis based on texture using wavelet transforms
and color features was carried out. Experiments were conducted on steel 304 panels under three different electrolyte solutions, and
periodic scans were used to obtain the images for analysis over time. The results obtained from the image analysis are presented
to illustrate the metrics which best characterize early stage corrosion damage growth behavior. The results obtained indicate that
textural features in combination with color features are more effective and may be used for correlating service/failure conditions
based on corrosion morphology.
decomposition energies at different subbands to estimate images. Two-dimensional discrete wavelet packet transform
the corrosion loss of five types of aluminum alloys. It was (DWPT) decomposition allows us to analyze an image
found that the values of subimage energies decreased with simultaneously at different resolution levels and orientations.
increasing exposure time. In 2D DWPT method, an image is decomposed into one
In order to qualitatively and quantitatively characterize approximation and three detail images. The approximation
corrosion damage growth, an investigation of image analysis and the detail images are then decomposed into a second-
was carried out. Specifically, in this paper, we explored the level approximation and detail images, and the process is
idea of developing textural/color features that are sensitive to repeated. The standard 2D DWPT can be implemented with
corrosion images, with a low-tech tool using a commercial a low-pass filter and a high-pass filter [11]. The 2D DWPT
color scanner. An investigation of textural features from of a 𝑁 × 𝑀 discrete image 𝐴 up to level 𝑃 + 1 (𝑃 ≤
wavelet transforms and color features through image analysis min(log2 𝑁, log2 𝑚)) is recursively defined in terms of the
was carried out in order to identify the metrics for corrosion coefficients at level 𝑝 as follows:
damage growth detection under three different electrolyte
𝑝+1 𝑝
solutions. Our approach is to integrate functionality reducing 𝐶4𝑘, = ∑∑ℎ (𝑚) ℎ (𝑛) 𝐶𝑘, ,
(𝑖,𝑗) 𝑚 𝑛 (𝑚+2𝑖,𝑛+2𝑗)
properties due to material compromise (textural features)
with local aspects (color values) to describe corrosion damage 𝑝+1 𝑝
𝐶4𝑘+1, = ∑∑ℎ (𝑚) 𝑔 (𝑛) 𝐶𝑘, ,
growth with increasing time. Results obtained from the (𝑖,𝑗) 𝑚 𝑛 (𝑚+2𝑖,𝑛+2𝑗)
analysis are presented and discussed. (1)
𝑝+1 𝑝
𝐶4𝑘+2, = ∑∑𝑔 (𝑚) ℎ (𝑛) 𝐶𝑘, ,
(𝑖,𝑗) 𝑚 𝑛 (𝑚+2𝑖,𝑛+2𝑗)
2. Experiments
𝑝+1 𝑝
𝐶4𝑘+3, = ∑∑𝑔 (𝑚) 𝑔 (𝑛) 𝐶𝑘, ,
Stainless steel 304 metal samples with dimensions 6 × 3 (𝑖,𝑗) 𝑚 𝑛 (𝑚+2𝑖,𝑛+2𝑗)
and thickness 0.020 were obtained from Q-Panel. Initially,
the specimens were first inspected visually to make sure they where 𝐶00 is the image 𝐴 and 𝑘 is an index of the nodes in the
are in good condition. They were washed with clean water wavelet packet tree denoting each subband. At each step, the
𝑝 𝑝+1
and ground with sand paper 300 grit first and then 600 image 𝐶𝑘 is decomposed into four-quarter-size images 𝐶4𝑘 ,
grit. Then they were washed again and dried in a desiccator 𝑝+1 𝑝+1 𝑝+1
𝐶4𝑘+1 , 𝐶4𝑘+2 , and 𝐶4𝑘+3 .
for about 10 minutes. Afterwards, these specimens were The Shannon entropy in different subbands is computed
immersed in three different solutions, sodium chloride (satu- from the subband coefficient matrix as
rated), distilled water, and sodium sulphate (1% weight). The
𝑝 2 𝑝 2
specimens were kept in these solutions completely immersed Entropy𝑝 (𝑘) = −∑∑𝐶𝑘, 𝑖,𝑗 log 𝐶𝑘, 𝑖,𝑗 ,
for various times. After a specified time, the specimen is 𝑖 𝑗
( ) ( )
taken for image analysis using a 3200 dpi resolution scanner. (2)
The specimens were scanned at 5, 10, 15, 30, 45, 60, 75, 90, 𝑝 2
Energy𝑝 (𝑘) = ∑∑𝐶𝑘, 𝑖,𝑗 ,
105, 120, and 135 minutes in order to quantify the corrosion
𝑖 ( )
𝑗
damage growth then returned to the solution until the next
characterization. The experimental setup and process are where Energy𝑝 (𝑘) and Entropy𝑝 (𝑘) are the energy and
shown in Figure 1. Typical scanned images and subimages
entropy of the image projected onto the subspace at node
were used in image analysis. This setup allows the evolution
(𝑝, 𝑘). The entropy of each subband provides a measure
of the surface corrosion, along with some pitting corrosion,
of the image characteristics in that subband. The energy
to be tracked, with three color components of red, green, and
distribution has important discriminatory properties for
blue, energy, and entropy.
images and as such can be used as a feature for texture
classification. From the equations above, it follows that the
3. Image Analysis Methods wavelet entropy is minimum when the image represents
an ordered activity characterized by a narrow frequency
Several image analysis methods are available for character- distribution, whereas the entropy is high when an image
izing corrosion damage surface morphology. In this study, contains a broad spectrum of frequency distribution. In this
texture features from wavelet transform image processing as study, Haar mother wavelet was employed to decompose the
well as color attributes from optical imaging were used. These corrosion images to a second level of decomposition, and
methods are described below briefly. Shannon entropies of images at each subband have been used
as image features. In the corrosion damage region, both the
3.1. Textural Features from Wavelet Packet Transform. In energy and entropy features describe how the pixel values
order to extract textural features from scanned images, are distributed within the corroded region and indicate the
multiresolution wavelet transforms can be used, the details degree of corrosion reflecting the texture of corrosion surface.
of which can be found in [11]. As an extension of the standard
wavelets, wavelet packets which represent a generalization of 3.2. Color Features Analysis. Three primary color features,
the multiresolution analysis use the entire family of subband namely, red (R), green (G), and blue (B), which are commonly
decompositions to generate a complete representation of found in the spectral distribution of light, were related to
ISRN Corrosion 3
3 inch
6 inch
Washed Washed
Grind with
Panel (304 SS) sand paper
Dried in desiccator
Image
processing
Imported in Matlab
Placed in solution
Scanner
T0 T 45
T 90 T 135
(a) Energy feature from wavelet transforma- (b) Entropy feature from wavelet transforma-
tion for corroded specimens tion for corroded specimens
Figure 2: Typical scanned images (a) and wavelet transformed images (b) at four different times for specimens corroded in NaCl solution.
corrosion damage, specifically iron oxide ions. “Imtool” in density) was selected. The first saturation layer of images at
Matlab software [12] was used for obtaining the RGB values their respective times was imported in Matlab to observe the
of each image along a specific profile line. RGB value of each highest range of pixel for a quantification of 128.
pixel was calculated, and average values were correlated with
respect to corrosion damage time. Subimages with diagonal 4. Results and Discussion
and bisector lines along visible corrosion damage were used
as the fundamental profile line to extract RGB values of Typical scanned images of specimens in NaCl solution
each image. The R, G, and B values obtained are presented along with wavelet transformed images of specimens at four
and correlated in order to quantify the corrosion damage different times are shown in Figure 2. As shown in the figure,
growth. In addition, a color saturation range of 128 (8 bit color it can be seen that it is very difficult to identify the corrosion
4 ISRN Corrosion
2.43
2.5 7.2
7
1.9 6.8
2
6.6
1.5 6.4
Entropy
Energy
1.2
1.1 6.2
1 0.9 6
5.8
0.5 5.6
0.2 0.2 0.150.2 0.19
0.11 0.11 5.4
0 5.2
20 45 90 135 20 45 90 135
Time (min) Time (min)
NaCl NaCl
Na2 SO4 Na2 SO4
DW DW
(a) Energy feature from wavelet transformation for corroded specimens (b) Entropy feature from wavelet transformation for corroded specimens
Figure 3: Energy (a) and Entropy (b) of corrosion damage growth calculated from wavelet image analysis under different solutions.
Entropy on
ROI
RGB analysis
ROI selection
Correlation
120
110 with time
100
90
(142 ∗ 142)
80
70
60
50
40
30
0 20 40 60 80 100 120 140 160 180 200
Distance along profile
Cutoff-range
method
Figure 4: An overview of the approach for correlation of corrosion growth evaluation based on ROI.
damage regions (Figure 2(a)). To further improve the dam- The entropy feature values of corroded specimens under
age identification, a wavelet transformation is applied to three different solutions are presented in Figure 3(b). In
those images and selective features, specifically if energy general, the entropy values increase with increasing cor-
and entropy values were extracted. The wavelet transformed rosion time. However, the entropy values are lower for
image is shown in Figure 2(b). It can be seen from Figure 2 NaCl solution and higher for sodium sulphate solution. The
that some of the corrosion damage features are now evident in entropy values are lower and constant for distilled water
the wavelet transformed images. The energy feature values of condition. In the first 90 minutes, the rate of increase in
corroded specimens under three different solutions are pre- entropy value is about 17% for NaCl solution, whereas it
sented in Figure 3(a). In general, the energy values decrease is about 2% for sodium sulphate solution. However, the
with increasing corrosion time. However, the energy values entropy values are pretty much constant for distilled water.
are higher for NaCl solution and lower for deionized water. The results presented in Figure 3(b) show that an increase
In the first 90 minutes, the rate of decrease in energy value in entropy values represents corrosion damage, which is
is about 55% for NaCl solution, whereas it is about 88% for higher under sodium sulphate solution in comparison to
sodium sulphate solution. However, the energy values are NaCl solution. In order to quantify local defects such as
pretty much constant for distilled water. The results presented pits, an approach based on region of interest (ROI) with
in Figure 3(a) show that a decrease in energy values illustrate entropy, RGB analysis, and cutoff-range method was used
the corrosion damage, which is higher under NaCl solution as shown in Figure 4. The entropy values specific to a
in comparison to the sodium sulphate solution. corroded of region of interest (ROI) under NaCl solution
ISRN Corrosion 5
7 120
R2 = 0.156
6.8
100
6.6
80
6.4 R2 = 0.7716
RGB values
Entropy
6.2 60
6
40
5.8
5.6
20 R2 = 0.8993
5.4 0
20 30 45 60 75 90 105 120 135 20 30 45 60 75 90 105 120 135
Time (min) Time (min)
Figure 5: Entropy values calculated based on ROI. Figure 7: Average RGB values of corroded specimen along diagonal
profile damage line.
Time (min)
20 30 45 60 75 90 105 120 135 140
R2 = 0.9039
120
100
120
100 RGB values 80 R2 = 0.7324
80
60 60
40
20
0 40
20 30 45 60 75 90 105 120 135
20
Area (pixel)
0 R2 = 0.8891
Figure 6: Pit initiation and growth with increasing time for a 20 30 45 60 75 90 105 120 135
specific ROI. Time (min)
Each
Separated in 3 RGB layer Cutoff-range range
using Matlab correlated
with time
Journal of
Metallurgy
BioMed
Research International
Hindawi Publishing Corporation Hindawi Publishing Corporation
http://www.hindawi.com Volume 2014 http://www.hindawi.com Volume 2014
Nanomaterials
Submit your manuscripts at
http://www.hindawi.com
Journal of Journal of
Materials
Hindawi Publishing Corporation
Nanoparticles
Hindawi Publishing Corporation
http://www.hindawi.com Volume 2014 http://www.hindawi.com Volume 2014
Nanomaterials
Journal of
Nanoscience
Hindawi Publishing Corporation
Coatings
Hindawi Publishing Corporation
Crystallography
Hindawi Publishing Corporation
Ceramics
Hindawi Publishing Corporation
Textiles
Hindawi Publishing Corporation
http://www.hindawi.com
http://www.hindawi.com Volume 2014 http://www.hindawi.com Volume 2014 http://www.hindawi.com Volume 2014 http://www.hindawi.com Volume 2014 Volume 2014