Implementation_of_ant_clustering_algorithm_for_IR_imagery_in_wind_turbine_applications

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

Implementation of Ant Clustering Algorithm for

IR Imagery in Wind Turbine Applications


Golrokh Mirzaei1, Mohammad Wadood Majid1, Mohsin M. Jamali1, Peter V. Gorsevski2, Joseph Frizado2
Jeremy Ross2 Verner P. Bingman2
Department of Electrical and Comp Sci. Geospatial Science School of Earth & Environment
University of Toledo1, Toledo, USA Bowling Green State University2
mohsin.jamali@utoledo.edu Bowling Green, USA

Abstract—Interaction of avian with turbines has become an different groups, based on target features. This is an
important public policy issue, so identification and unsupervised learning method which is used for exploration
quantification of avian at turbine sites is crucial. of inter-relationships among a pool of data. In clustering
In this work, first the data is collected in terms of videos there is no need to have any priori labeling of the data. This is
recorded by an IR camera in the vicinity of wind turbine; the in contrast to classification problem which is considered as
videos are applied for detection and tracking algorithm. supervised method requiring pre-defined databases.
Features are then extracted for each detected target. Ant based
clustering algorithm (ACA) based on Lumer & Faieta with its The novelty of this work is quantification of avian
three different variations including Standard ACA, Different (bird/bat/insect) using IR images in terms of groups created,
Speed ACA and Short Memory ACA is implemented over which can then be correlated to the results obtained from
extracted features and are compared in terms of different other monitoring tools (e.g., acoustics, radar). In this work,
groups created for detected avian data. first videos recorded by IR camera are processed by target
The novelty of this work is quantification of avian detection algorithm which is based on Background
(bird/bat/insect) using IR images in terms of clusters. Also this Subtraction and Morphological techniques. Then detected
work uses Ant Clustering Algorithm which is an effective novel targets are given to a tracking algorithm which is based on
method for this application. The results of this experiment can component connectivity. Target features are extracted and
be combined with other type of monitoring systems for better
applied to the Ant Clustering Algorithm (ACA)[7]. This
understanding of avian behavior. It will also be helpful for
algorithm is a bio-inspired technique inspired from the
biologists for development of appropriate mitigation
techniques.
behavior of ants. ACA by Lumer & Faieta (LF) [8] has been
effectively used in different applications for grouping of the
data. This model can also be applied for imagery avian
I. INTRODUCTION
clustering. An important feature of this algorithm is that no
Due to numerous reports of bird/bat interaction with priori assumption on the number and size of clusters is
turbine blades and their mortality [1][2], it is important to needed, in contrast to other clustering problems such as k-
record the behavior of avian near off/on shore wind sites. means. Three different versions of LF-ACA are
Monitoring the bird/bat activity at wind-energy facilities can implemented for clustering including Standard ACA (S-
be through different techniques such as acoustic methods ACA), Different Speed ACA (DS-ACA) and Short-term
[3][4] and visual techniques (e.g. radar and IR camera) [5][6]. Memory ACA (SM-ACA). Block diagram of Fig. 1 shows
These monitoring and quantification of bird/bat activity in the various steps involve in detection, tracking and clustering
vicinity of wind turbines can be very useful for development process.
of mitigation techniques and reduction of avian mortalities.
Acoustics may be useful for species level identification
based on a database of pre-known calls of desired species. Background Feature
However the quantification of birds and bats using acoustic Subtraction Extraction
methods may not be very reliable as some birds may not call
and some bats may be hovering/calling number of times in a Image Sequence Thresholding
certain area. IR camera can be a valuable tool for
supplementing the quantification process. Videos can be
recorded over the specific period of time and they can be Noise Suppression
processed using video processing techniques to determine the
number of tracks. However separation of the counts in terms Clustering
of bats, birds or insects can be very challenging. As pre-
define images of all avian tracks are not available for training Tracking
for use in classification. The best method can be to group SACA DSACA SMACA
bird/bats via available clustering algorithms.
Clustering algorithm can arrange the set of data into Figure 1. Block Diagram of the Avian Detection and Tracking system
This work is partially supported from DOE Contract #DE-FG36-06G086096

978-1-4673-2527-1/12/$31.00 ©2012 IEEE 868

Authorized licensed use limited to: Shanghai Jiaotong University. Downloaded on May 14,2022 at 05:27:21 UTC from IEEE Xplore. Restrictions apply.
The rest of this paper is structured as follows: First data Tracking Algorithm
acquisition is explained in Section II. Then target (1) Convert videos to frames
detection/tracking and feature extraction is described in (2) Detect blobs
Section III. Clustering including three different variations of (3) Create morphological blobs
(4) Label the blobs
LF model is presented in Section IV. Finally results and (5) Check Component Connectivity
conclusions are given. a) In case of connectivity , use same labeling
b) Else use new labeling
II. DATA ACQUISITION (6) Check for the last frame containing blob with same label
a) In case of last frame goto step 7
The camera used in this study is a thermal IR camera b) Else check new frame
(FLIR SR-19) with resolution of 704 × 480 pixels. The (7) Plot target trajectory
camera is static and it is oriented +19.75° from North, while Figure 2. Detection and Tracking process
the left side of the screen is the East and the right side is the ∑
West. The rate of the recording is 30 frames/sec (fps). 4
1 0.033
Video feeds from IR camera are stored onto a hard drive for
further data processing. The data was collected between Where is the velocity of kth bird, is the distance which
May - July 2011, starting at one hour after the sunset to one is passed by bird in frame i . The value of 0.033 is the time
hour before sunrise; as we are concerned with nocturnal of each frame including the bird, considering the camera
bird/bat migration. Because of hardware limitations, frame rate of 30 frames/second.
recorded videos are divided into small videos of fifteen
minutes each. They are then divided into number of frames. Heat: It is the average intensity value of the bird and can be
defined as:
III. DETECTION/TRACKING/FEATURE EXTRACTION 1
5
Recorded frames are used for detection, tracking, feature
extraction and clustering. Detection was implemented based Where is heat of kth bird and is the heat of bird in
on background subtraction using Running Average and frame i.
Morphological techniques [9] consisting of opening followed
by closure as[9]: Straightness Index: It is a measure of the discrepancy
between the actual path which is travelled by the bird and a
1 1 perfect straight segment and is defined as:

2 6

Where is background, is foreground, α is adaptive rate
(0.05), K is binary image and S is element structure. Where is the straightness index of kth bird, is the
, , , are erosion, dilation, opening and closure operators, straight distance of bird k and is distance from starting
respectively. point to the present location of bird. The value of
straightness index is in the range from 0 to 1. Fig. 3 shows
Tracking algorithm was developed based on labeling and results from detection/tracking algorithm where image (a)
component connectivity. Eight-connected neighborhood show one track and image (b) show two tracks respectively.
was used for connectivity. Number of frames including the
bird with same label are added together to generate the
trajectory of the bird. The process of detection and tracking IV. ANT CLUSTERING ALGORITHM (ACA)
algorithm is shown in Fig. 2. Ant Colony-based clustering is a heuristic method for
clustering data inspired by behavior of ants, particularly for
Features were extracted from already tracked bird/bats. clustering of unlabeled data sets. In this method, data is
Features include size, velocity, heat and straightness index. projected from multi-dimensional space to a bidirectional
These features are very effective in separating various grid, in which ants are randomly move and pick up and
species. These features are described as follows: deposit items to and from specific cells.
Size: it is the average size of the bird, as

1
3

Where is size of kth bird, is the size of bird in each


frame i and is the total number of the frames where bird
is present.
Velocity: it is the velocity of the bird based on the distance (a) (b)
travelled in camera view and can be determined as: Figure 3. Sample results of detection and tracking algorithm

869

Authorized licensed use limited to: Shanghai Jiaotong University. Downloaded on May 14,2022 at 05:27:21 UTC from IEEE Xplore. Restrictions apply.
The common feature of both real and artificial ants is • Projection from attribute space to item grid
collection and drop-off. However, real ants collect corpses to • Calculate Perceived Function
make their nest cleaner or take larvae to arrange them by size. • Pick up and drop off items based on probability
While artificial ants move data items that are laid out in an
artificial environment, and specially organize them in a
B. Different Speed ACA (DS-ACA)
sorted fashion. The important feature of ACA is no priori
assumption on the number and size of clusters is needed. Similar to S-ACA ants move randomly in the item space,
however the ants have different speeds in contrast to S-ACA
Three different variations of ACA of LF model [8] are
where there was same speed for all ants. The speed is
implemented for application of avian clustering. In this distributed uniformly in the interval 1, where
application the features extracted from track of birds/bats, is the maximum speed and is defined as 6. This
including size, velocity, heat and straightness index are speed affects the probability of pick up and drops off items
applied as the attributes for clustering problem. by ants according to Eqn. 10:

A. Standard ACA (S-ACA)


The general idea of S-ACA is to pick up an item and 1 ,
max 1 ,0 10
match with similar items in different locations. The carried
item is then deposited in a location where it contains most
similar items. There are some ants who are just responsible to
carry items and drop them off. Where corresponds to the number of units travelled per
time unit by an ant. Thus fast moving ants are not as
The probability that an unloaded random moving ant selective as slow or relaxed ants in their approximation of
picks up an item is given by: the average resemblance of an item to its neighbors.

7 C. Short-term Memory ACA(SM-ACA)


This method is similar to S-ACA, with the difference that
Where is the perceived fraction of items in the ants have a short memory of a fixed size. By this way, ants
neighborhood of the ant and is a threshold constant. remember the last m dropped items with their locations. This
For , 1, which means when there are not memory helps the ants during pick-up time, when comparing
carried item with those in the memory list. In this case the
many items in the neighborhood, then there is high
ant goes toward the location of the memorized element most
probability of picking up an item. Also for ,
similar to the one just collected. This behavior results to the
0 , which indicate there is less probability for removing an creation of a smaller number of statistically equivalent
item from a mass area. clusters, since identical items have a lower probability of
The probability that a randomly loaded moving ant, starting a new cluster.
drops that item in a certain location is given by
V. IMPLEMENTATION AND RESULTS
8 Videos are recorded using IR camera (FLIR SR-19) in
May- July 2011. Camera was deployed at Ottawa National
Wildlife Refuge in Ohio. The camera and location used in
Where k is another threshold constant. In this case, if this work is shown in Fig. 4 and Fig. 5 respectively.
f k then P 0 , therefore in none-dense area there is
less probability to deposit the item by ants. Also when The recorded videos are transferred to Intel(R) Core™i7
f k then P 1 , so the probability of item deposition is processor for data processing. MATLAB 7.13.0 software is
high when there are many items in a given location. It used for developing the algorithms and data processing. First,
indicates items have a tendency to be dropped off in arena videos are converted to frames and they are forwarded to
where there are many items. detection and tracking algorithm. 150 tracks were used for
this experiment. Features (size, heat, velocity and straightness
The perceived function proposed by LF is used to index) are extracted for each track and then are applied to S-
calculate the similarity in the neighborhood of object xi ACA, DS-ACA and SM-ACA algorithms. The overall
situated at site r as: process is shown in Fig. 6.

1 , The parameters used in ACAs for this experiment are


max 1 ,0 9 shown in TABLE I. Different number of iterations is
performed to testing the algorithm. Fig. 7 shows the initial
data projection and final data clusters for the S-ACA. In this
Where is scaling of the dissimilarity, , is experiment, Euclidian distance is used as the dissimilarity
between pairs of items.
dissimilarity between pair of items and 2 is the total number
of sites in the local area of interest.
Generally steps for grouping data by S-ACA are:
870

Authorized licensed use limited to: Shanghai Jiaotong University. Downloaded on May 14,2022 at 05:27:21 UTC from IEEE Xplore. Restrictions apply.
Figure 4. IR camera used in this Figure 5.Location of camera
work deployment (Ottawa NWR)
(a) (b)
Data Target Tracking
Acquisition Detection

Clustering Feature
Extraction
Figure 6. Overall process

TABLE I. Parameter Setting


Parameter Value
Number of ants 50 (c) (d)
Threshold constant k 0.1
Figure 7. Item projection by S-ACA a) Initial projection b) Projection after
Threshold constant k 0.15 10,000 iterations c) Projection after 100,000 iterations d) Projection after
Neighborhood size 4,8 1,000,000 iterations
Dissimilarity Scale 1.05
TABLE II. Total number of clusters in different iterations
Maximum velocity 6
Iteration
Memory Size 10 Technique
10,000 100,000 1,000,000
S-ACA ≥ 20 9 6
Table II shows the number of clustered created after DS-ACA ≥ 12 7 5
different number of iterations for each technique. It is shown
SM-ACA ≥ 14 6 4
that higher number of iteration will result in lower number of
clusters. This is true for all three methods. Also, DS-ACA
and SM-ACA are creating fewer clusters as compared to S-
ACA in all cases. At least three clusters belonging to insects, REFERENCES
birds and bats are expected to be created. The behavior of
[1] R. Osborn, K. Higgins, R.Usgaard, C. Dieter and R. Neiger. 2000.
these three categories strongly depends on their features. For “Bird Mortality Associated with Wind Turbines at the Buffalo Ridge
example bats are expected zigzag pattern with a straightness Wind Resource Area, Minnesota”, American Midland Naturalist 143,
index less than birds; however the heat of a bird generally is pp. 41-52, 2000.
higher than insects and bats, because of higher flapping rate. [2] G. D. . Johnson, M. K. Perlik, W. P. Erikson and M. D. Strickland,
Other created clusters have the potential to be part of other “Bat Activity, Composition and Collision Mortality at a Large Wind
avian group with some overlapping information. Plant in Minnesota”, Wildlife Society Bulletin, pp. 1278-1288, 2004
[3] G.Vaca-Castano, D. Rodriguez, "Using Syllabic
Mel Cepstrum Features and k-nearest Neighbors to Identify
VI. CONCLUSION anurans and Birds Species". IEEE Workshop on Signal
The goal of this work is to use IR imagery to evaluate Processing Systems (SIPS), 2010
bird/bat activity in the vicinity of wind turbines. The [4] G. Mirzaei, M. W. Majid, M. Jamali, J. Ross, J. Friszado, “The
collected data are used for detection, tracking and feature Application of Evolutionary Neural Network for Bat Echolocation
Calls Recognition”, IEEE International Joint Conference on Neural
extraction algorithm. Features include size, velocity, Network, pp. 1106-1111, 2011
straightness index and heat. These features are important in [5] T. H. Kunz, E. B. Arnett, B. M. Cooper,W. P. Erickson, R. P. Larkin,
separating different groups. For example heat of a bird is “Assesing Impacts of Wind-Energy Development on Nocturnally
generally higher than a bat or insect because of higher rate of Active Birds and Bats:A Guidance Document”, Journal of Wildlife
flapping. Or bats are expected to have a higher zig-zag Management, pp.2449-2486, 2007
pattern, where birds have straighter flying pattern. It is [6] S. A. Guathreaux and J. W. Livingstone, “Monitoring Bird Migration
discovered that higher number of iterations will result in with a Fixed-beam Radar and a thermal-Imaging Camera”, Journal of
Field Ornithology, pp. 319-328, 2006
smaller number of clusters as expected. The SM-ACA looks
[7] L. N. de Castro, “Fundamentals of Natural Computing”, Chapman &
more promising approach for this application and S-ACA Hall/CRC, 2006
gives more clusters in all cases.
[8] E. D. Lumer , B. Faieta , “Diversity and Adaption in Populations of
These results from IR camera can be combined with Clustering Ants”, Proceeding of Third International Conference on
Simulation of Adaptive Behavior: from Animals to Animats, Vol. 3 ,
acoustic and radar data for better understanding of bird/bat MIT Press, pp.499-508, 1994
behavior in the given region. This will also help biologists to [9] R. C. Gonzalez, R. E. Woods, “Digital Image Processing”, Pearson ,
develop appropriate mitigation measures. 2009

871

Authorized licensed use limited to: Shanghai Jiaotong University. Downloaded on May 14,2022 at 05:27:21 UTC from IEEE Xplore. Restrictions apply.

You might also like