In this proposal, regardless of the themographic
system implanted in plant, the use of an interface
under Robot (Oracle, n.d.) allows to capture the
thermography image and to store it in an array of
pixels which is subsequently treated under Open
CV.
Through Open CV (.Mat, .Highgui) the
information in the array of pixels is extracted and
presented using SWT (ECLIPSE, n.d.) (Pulli, et al.,
2012) (see Figure 4). Next, the necessary
information is stored, so that it can be used for
image analysis.
The post-processing allows locating longitude,
latitude and temperature on any point of the
extracted image; which determines values that will
be used to search for patterns that describe thermal
behaviors. The position of the matched pattern is
stored in a database whose design allows for fast
data recovery. It uses a standard indexation search
method and facilitates the identification of refractory
zones which may have been damaged for having
been exposed to high temperature for large periods
of time. The positions patterns storage allows for a
semi-automated post-processing capability.
Figure 4: Image extracted from the Thermographic system
and processed with Robot, Open CV and SWT.
3.1 Patterns Matching using Open CV
with Bag of Words Approach
(BoW)
The Probabilistic Latent Semantic Analysis (PLSA)
(Fergus, n.d.) and the Dirichlet Allocation Latent
Technique (Hofmann, 1999) used for text analysis
were introduced in the visual domain methods (Blei
& Jordan, 2003) (Fei-Fei & Perona, 2005) (Sivic, et
al., 2005). In the code developed under Open CV
there are implementations of PLSA, including all
stages of pre-processing.
There are two possibilities to search for patterns
that identify areas of high temperatures: use a loop
that examines all the pixels in the images, or use a
BoW approach.
By using a BoW approach it is possible to choose
a pattern on one of the images of interest and search
its repetition in the bank of images, obtained using
an automated image capture.
The studied images, which can be currently
obtained from the thermograph, are 350x330 pixels.
However, the dimensions of the refractory areas
which may be affected have a minimum length of 10
cm; as a result, image analysis should be based in
affected regions of that size.
A disadvantage of using the BoW approach in
Open CV is that coding is performed under
MatLab®, whereas in the proposal free software is
preferred.
3.2 Open CV Template Matching
The study of options for pattern analysis led to try
other search alternatives. Under Open CV there is a
Match Template function, with various methods of
searching for similarities. The aim of these methods
is to find a piece of specific image (Template Image)
within an image source (Source Image). In the case
of thermography images, this allows to determine
the pattern of high temperatures, within the full
image on the thermography of the oven.
The methods integrated into Open CV for
searching patterns based on the Match Template
function are:
method= CV_TM_SQDIFF
method=CV_TM_SQDIFF_NORMED
method=CV_TM_CCORR
method=CV_TM_CCORR_NORMED
method=CV_TM_CCOEFF
method=CV_TM_CCOEFF_NORMED
Each method is based on a mathematical
formulation, which can be found in the
documentation of Open CV (Open CV, n.d.), which
allows formulating an algorithm for determining the
most appropriate results, according to the
characteristics of the desired images. In the case of
thermography images, specific features such as its
imprecise contours should be considered.
The tests were conducted on thermographic
images obtained a day before a forced stop of the
kiln, in a period of two years. Different methods of
patterns search were used.
The methods implemented of the “matching”
function, considered the template on the image
search and tried to find the most similar. A
AnalysisofThermographicPatternsusingOpenCV-CaseStudy:AClinkerKiln
481