Ant Colony Optimization: A Technique
used for Image Processing
Vishnu Sharma1*, Dr. Gaurav Khandelwal2
1 Research Scholar, University of Technology, Jaipur, Rajasthan
2 Professor and Supervisor, University of Technology, Jaipur, Rajasthan
Abstract - Ant colony optimization (ACO) is a technique which can be utilized for different
applications. Ant colony Optimization is an optimization technique that depends on the
rummaging conduct of genuine ant settlements. Ant colony optimization is applied for the
picture handling which are on the premise constant optimization. This paper proposes an ant
colony optimization (ACO) based calculation for persistent optimization issues on pictures like
picture edge identification, picture pressure, picture division, underlying harm checking and
so forth in picture handling. This paper addresses that how ACO is applied for different
applications in picture handling. The calculation can track down the ideal answer for issue.
The outcomes show achievability of the calculation as far as precision and ceaseless
optimization.
Keywords - Technique, Ant Colony Optimization (ACO)
INTRODUCTION
Ant colony optimization (ACO) is a populace-based metaheuristic that can be utilized to track down
estimated answers for troublesome optimization issues. In ACO, a bunch of programming specialists
called fake ants look for great answers for a given optimization issue. To apply ACO, the optimization
issue is changed into the issue of tracking down the best way on a weighted chart. The counterfeit
ants (henceforth ants) steadily construct arrangements by continuing on the diagram. The
arrangement development process is stochastic and is one-sided by a pheromone model, or at least,
a bunch of boundaries related with diagram parts (either hubs or edges) whose values are adjusted at
runtime by the ants. Ant colony optimization is nature enlivened optimization technique that depends
on the overall conduct of the ants for example how the ants meander haphazardly from source to
food. Ants store pheromone to the ground to stamp their ways, which are trailed by different ants, and
after some time pheromone vanish. No. of pheromone on more limited ways are more since
pheromone set down quicker by ants. This instrument brings about choosing more limited way. ACO
is meta-heuristic methodology.
Ant Colony optimization (ACO) is the technique which is utilized for tackling computational issues and
tracking down the best ways through diagrams. ACO depends on the conduct of ants looking for ways
from their colony to their food. Ants move haphazardly and subsequent to getting their food get once
again to their colony while setting down pheromone trails. Different ants track down such a way and
follow trail for returning
The principal ACO calculation, called the ant framework, was proposed by Dorigo et al. The ACO is
applied to numerous issues, in this paper; ACO is applied for Edge Detection. Edge discovery is the
most common way of separating the edge data from the picture so it is unequivocal to comprehend
the picture's substance. In the proposed technique, the quantity of ant's continues on the picture at
pixel level and where there is variety of picture force esteem as alluded to some edge esteem it stores
the situation in memory stockpiling and update the pheromone network. The limit esteem is depicted
to addresses the edge data at every pixel area of the picture. In this proposed work the edge data is
put away in the memory stockpiling as on handling time and the outcomes are found all the while. The
technique proposed in this paper additionally work on various limit values. The subtleties of the
technique are shrouded in this paper.
Image Edge Detection
Image edge detection alludes to the extraction of the edges in a digital image. It is an interaction
whose point is to recognize focuses in an image where discontinuities or sharp changes in force
happen. This cycle is pivotal to understanding the substance of an image and has its applications in
image investigation and machine vision. It is generally applied in beginning phases of PC vision
applications. Edge detection means to confine the limits of items in an image and is a reason for
some image examination and machine vision applications. Regular ways to deal with edge detection
are computationally costly in light of the fact that each set of tasks is directed for every pixel. In
customary methodologies, the calculation time rapidly increments with the size of the image.
An ACO-based methodology has the capability of defeating the limits of ordinary strategies. Moreover,
it can promptly be parallelized, which makes the calculation effectively versatile for disseminated
frameworks. A few ACO-based ways to deal with the edge detection issue have been proposed.
Recently detailed ACO-based ways to deal with image edge detection, to the best of the creators'
information, all utilization a choice decide that depends on AS. This paper presents a technique that is
gotten from enhancements presented in ACS, one of the principle augmentations to AS. One of the
significant parts of ACS is the type of choice rule utilized, the pseudorandom corresponding standard.
The methodology introduced in this paper uses such rule in the visit development process.
Edge Linking
Edge detection techniques experience the ill effects of specific downsides including misleading edge
detection, missing genuine edges, delivering flimsy or thick lines and the issues that emerge due to
noise24. Associating broken edges precisely is a troublesome errand. The neighborhood data of the
first image is by and large used to connect these messed up edges. A basic technique has been
recommended in25 to connect these messed up edges to further develop the edge detection. It deals
with the possibility that end points of edges are vital parts which contain the essential data and
subsequently direct lines could be attracted between these focuses to interface the messed up edges.
A veil is gained to decide the heading of endpoints to gauge the expense of the connecting line which
decides if the line is chosen or not.
The advantage of these strategy lies in there effortlessness and simplicity of execution. However,
then again they can produce inadequate edges. In one more old style approach26 Hough change is
applied tense image and explicit shape is removed to interface broken edges. Variable states of the
edges make this approach ominous. In27 an ACO based methodology has been utilized to connect
these messed up edges.
The methodology chips away at the way that every pixel in an image is associated with its 8-
neighborhood pixels. The distance between adjoining pixels is assessed from the first image.
Ordinary edge detection approaches are utilized for edge detection and the ants are put on the
removed endpoint. An image is made out of many endpoints and this brings about part of intricacy to
the inquiry cycle. Likewise it might prompt overt repetitiveness as various ants might look through a
similar area. To handle this issue the ants are parted into a few gatherings with various names. These
gatherings of ants endeavor to fix the breaks in edges. In the proper way of search they stretch out
their reach to decide compensable edges. In28 an ACO based methodology has been proposed to
precisely track down edges in uproarious image. The images were sullied with Gaussian and salt and
pepper clamor. Proposed technique can recognize edges utilizing ACO expecting the edge
frequencies to be nearer to the commotion recurrence. Further an incorporated ACO and edge
detection approach has been proposed in29 to give consistent and clear item limits. The methodology
is additionally ready to smother the boisterous environmental elements. So, with ACO, the significant
issues in edge connecting have been settled.
General Behaviour Of ACO
Algorithm Artificial ants emphasizes visit development circle which is one-sided with the counterfeit
pheromone trails and the heuristic data. The primary system at work in ACO is the disclosure of good
visits is the positive criticism done through the pheromone update by the ants. The more limited the
ant's visit, the more measure of pheromone is kept by ants. This powers the ants to choose similar
circular segments in the ensuing cycles of the algorithm. The event of circular segments with high
pheromone values are additionally built up by the instrument of pheromone vanishing that evades a
limitless measure of pheromone and reduction the pheromone content from the bends that seldom
get extra pheromone.
Pheromone
The ant's drop a substance pheromone over the ground. Ants can smell pheromone and assess its
quantity. Along these lines bigger quantity of pheromone is focused on the most brief way and
pheromone kept on the longest way starts to dissipate. In Ant Colony System once all ants have
processed their way. Ant system refreshes the pheromone track utilizing every one of the
arrangements delivered by the ant colony. Each edge having a place with one of the registered
arrangements is adjusted a measure of pheromone corresponding to its answer esteem. Toward the
finish of this stage the pheromone of the whole system dissipates and the course of development and
update is iterated.
OBJECTIVES OF THE STUDY
1. To study on Ant Colony Optimization
2. To study on Image Edge Detection
Ant Colony Optimization
The ant's drop a synthetic pheromone over the ground. Ants can smell pheromone and assess its
quantity. Subsequently bigger quantity of pheromone is focused on the most brief way and
pheromone saved on the longest way starts to vanish. In Ant Colony System once all ants have
figured their way. Ant system refreshes the pheromone track utilizing every one of the arrangements
created by the ant colony. Each edge having a place with one of the figured arrangements is altered a
measure of pheromone corresponding to its answer esteem. Toward the finish of this stage the
pheromone of the whole system vanishes and the course of development Ant colony optimization is
roused by food scrounging conduct showed by ant social orders or we can say that it is a nature-
motivated optimization algorithm. Ants as people are unsophisticated living creatures. Through some
scientist's perspective, the visual tactile organs of this present reality ants are simple essentially and
sometimes they are totally visually impaired. The ants convey utilizing a compound substance called
pheromone. In excursion of an ant, it amasses a constant measure of pheromone that different ants
can follow. Every ant at first moves in a fairly arbitrary style, however when an ant experiences a
pheromone trail, it should settle an issue whether or not to follow it. Assuming that it came after the
path, the ant's own pheromone supports the current path, and the development in pheromone
expands the likelihood of the following ant choosing the way. Hence, the more the ants travel on a
way, the more appealing the way becomes for successive ants. Besides, an ant utilizing a short
course to a food source will get back to the home sooner and, thusly, mark its way two times, before
the appearance of different ants.
This straight forwardly impacts the determination likelihood for the following ant leaving the home.
After some time, as more ants are proficient to finish the more limited course. Subsequently on more
limited ways pheromone gathers quicker and the more extended ways are less supported lastly
deserted. On more modest ways Pheromone densities stay high since pheromone is set down
quicker. While searching for food, ants will quite often follow trails of pheromones whose fixation is
higher. These paths are made by people searching for food, to direct others toward similar wellsprings
of food. The grouping of pheromone is more grounded in exceptionally visited places due to the space
made a trip by ants to arrive at food sources and return to the home. This technique for positive
criticism at last leads the ants to follow the more modest ways. It is this typical experience that
energized the improvement of the ACO meta-heuristic.
Image Processing implies extraction of the image pixels in digital structure needful for play out the
expected activities, for example, division, edge tasks, power values tasks, and so on so you can get a
more advantageous image or to extricate some advantage data from it. Image handling basically
incorporate the accompanying advances furthermore update is iterated:
1. Importing the image with optical scanner or via digital photography.
2. Reading and controlling the image which consolidates information pressure and image
upgrade and perceiving style those aren't to natural eyes like satellite TV for pc image.
3. Output is the excess stage wherein result might be modified image or report that depends on
image examination.
There are two assortments of strategies utilized for image handling to be specific, simple, and digital
image handling. Simple image handling can be utilized for the printed copy like printouts and photos.
Image investigations utilize different fundamental of translation simultaneously as utilizing these visual
techniques. The three general stages that every one kinds of information through on the equivalent
time as use of digital technique are pre-handling, improvement, and show, data extraction. Ant Colony
Optimization (ACO) is a heuristic inquiry technique that works in light of ant colony and is being
utilized for irregular issues.
Figure 1: All ants are in the nest. No pheromone in the environment.
Figure 2: Foraging starts. Some ants take the short path some takes long path to the food
source.
Figure 3: Ants Considered short path to arrive earlier at the food source because returning.
During late years this technique is particularly produced for edge extraction purposes. To arrive at
appropriate arrangement, it's important to indicate introductory ant positions and their development
type as well as their activity condition. Up until this point, OK outcomes are gotten yet because of this
reality that the essential ant colony algorithm is utilized and considering potential that this algorithm
have there is opportunity to get better.
Figure 4: Ants moving from nest (source) towards its food (Destination)
Figure 5: An obstacle placed on the way between nest and food
Edge:
An edge can be characterized collectively of associated pixels lying between limits of two areas.
Figure 6: The movement of ant on the image from source to destination
Edge can likewise be characterized as in twofold images as the dark pixels with one closest white
neighbor. An Edge is a neighborhood idea however the limit is a worldwide idea. An ideal edge is a
gathering of pixels situated at a symmetrical advance progress in dark level. Hazy edges are likewise
gained by the elements like issues or defects occurred at the time during of optics, inspecting and
image securing systems. Thus, edges can be firmly seen as having a profile as that of incline like
profile. The incline's slant is connected with the level of haziness reverse relatively. The thickness of
the edge is the length of the incline. Obscured edges are thick and sharp edges are dainty. It is very
much seen that the principal subordinate it is positive along the incline, zero where the power level is
constant and it is constant along the slope. The edges got from regular images are normally not in the
slightest degree ideal advance edges. Rather they are ordinarily impacted by one or a few of the
accompanying impacts:
ACO as a Filter Approach
Fluffy c means algorithm alongside ACO have been utilized in37 to tackle FS issue with no learning
algorithm. The heuristics utilized in the algorithm are the size of the component subset and the
mistake rate got from fluffy c means bunching. Creator in38 have utilized rough set hypothesis
alongside ACO to track down a diminished element subset. Unpleasant set hypothesis holds its
significance for managing deficient data and hence rough set based ACO can observe an element
subset with quicker union speed. Creator in4 have additionally utilized ACO to choose highlight
subsets with next to no learning algorithm. It depends on eliminating redundancies between the
highlights over the progressive collaborations. Include choice is completed by tracking down
comparability between the elements. In every one of the cycle each ant chooses an element which
has least similitude to the recently chosen include. A pseudorandom-corresponding principle has
been characterized to add elements to the generally made list of capabilities which is at first thought
to be vacant. It is asserted that the strategy chooses the best component subset where the size of the
diminished list of capabilities is known ahead of time. The computational intricacy of this technique is
exceptionally low in contrast with the covering-based methodologies.
Segmentation
Image division can be characterized as the method involved with parceling a digital image into little
portions. These more modest fragments are more significant and could be broke down effectively
which in this manner works on the handling of complete image. In this interaction each pixel is marked
and the pixels which have comparative visual attributes are allotted a similar name. The errand of
division is by all accounts straightforward however certain variables, for example, brightening variety,
image contrast, image clamor, variety and complex nature of images makes it trying. Various
methodologies like thresholding grouping, pressure based, histogram-based, edge detection, region
growing, watershed change and model based segmentation 47 have been proposed in writing for
fragmenting an image.
This large number of approaches have shown achievement in various issues. Bunching is the best
technique for division and could be applied to assortment of circumstances. Yet, it represents a mind-
boggling optimization issue and the reasons could be the enormous hunt space of the optimization
and the non-arched nature of bunching objective capacity. This might prompt an enormous number of
nearby minima. In this approach an image is seen as a bunch of complex information which can be
characterized into various parts based on certain predefined basis. Upgrades in grouping techniques
could be acquired by incorporating it with fluffy hypothesis, neural organizations and developmental
techniques like ACO.
Colossal methodologies have been proposed in the writing to expand the precision and lessen the
time. An ant colony based multi-specialist approach has been proposed by creators in48; in which
Max-Min ant system has been utilized to fragment an image by framing groups. Each pixel of the
image is planned to its nearest group. Execution of this approach has been additionally improved in
49 by coordinating Markov Random Field (MRF) and the AGO meta-heuristic qualities to section an
image. Populace of basic specialists has been utilized in this algorithm to build an applicant parcel by
an unwinding marking concerning the relevant requirements.
Principle issue related with these ACO based algorithms is that the pursuit cycle in division issue is
irregular and uses enormous number of calculations for intermingling due to the constant vanishing
coefficients. Creator in have recommended a thought of setting essential bunch place to manage this
issue. The proposed algorithm utilizes a little window with an intend to decrease the quantity of
calculations. Constant dissipation of coefficient prompts early union or stagnation which can be
forestalled by permitting the coefficients to change with the quantity of ants. One more ACO based
division approach has been given by Xiao et al, which is roused from a multistage choice algorithm.
Exact forms have been acquired in this algorithm by deciding the best way in an obliged area.
Anyway these algorithms experience the ill effects of slow pace of intermingling due to arbitrary
determination of grouping focuses. To settle this issue creator in have proposed a k-implies bunching
based ACO algorithm in which k-implies grouping has been applied to decide exact bunching focuses.
Albeit k-implies bunching has shown to be helpful yet the downside is that it relies on the underlying
state53. This issue has been settled in resolved and the creators have introduced a half and half
transformative algorithm that could take care of nonlinear partitional bunching issues. A cross breed
of fluffy versatile molecule swarm optimization, ant colony optimization and k-implies algorithm has
been proposed which can recognize preferable bunch allotments over the current methodologies.
CONCLUSION
ACO has massive potential in addressing different image handling errands including edge detection,
edge connecting, highlight extraction, division and image pressure. Subtleties of different ACO
algorithms towards taking care of these issues have been talked about. Traditional techniques for
taking care of these issues have additionally been introduced while featuring the advantages of
utilizing ACO over these techniques. The ebb and flow paper gives top to bottom examination of ACO
applied over image handling undertakings hence giving future bearings of research. Pheromones are
utilized for ant's correspondence. This technique is utilized for optimization in numerous applications
like edge detection, network parcel directing, structure wellbeing checking, vehicular steering, image
division mobile sales rep issue, quadratic task issue, successive requesting, planning, chart shading,
the executives of correspondences organizations, image pressure and so on In this paper we are
utilizing a strategy utilizing ACO to track down edge detection. It gives a pheromone grid and memory
put away places that are trailed by driving ant. The memory put together positions are put away with
respect to the premise of force values with reference with an edge esteem. The outcomes are shown
which effectively distinguish the edges of the image.
REFERENCES
1. R. C. Gonzalez and R. E. Woods, “Digital image processing”, Harlow: Prentice Hall, 2017.
2. X. Zhuang, “Edge Feature Extraction in Digital Images with the Ant Colony System”, in proc.
of the IEEE international Conference a computational intelligence for Measurement Systems
and Applications, pp.133-136, 2019.
3. R. Rajeswari and R. Rajesh, “A modified ant colony optimization based approach for image
edge detection,” International Conference on Image Information Processing (ICIIP), pp. 16,
2021.
4. O. Verma and R. Sharma, An optimal edge detection using universal law of gravity and ant
colony algorithm,” World Congress on Information and Communication Technologies (WICT),
pp. 507 511, Dec. 2021.
5. R. Maini and J. S. Sohal, “Performance evaluation of prewitt edge detector for noisy images,”
ICGST International Journal on Graphics, Vision and Image Processing, vol. 6(3), pp. 3946,
2016
6. L. G. Roberts, Machine Perception of 3-D Solids, pp. 159197. MIT Press, 2021.
7. P.Ravi, Dr. A.Ashokkumar, “Performance Analysis of Different Matrix Ordered Discrete
Cosine Transform Based Image Compression Techniques”, Novelty Journal, 2, 2, may-
August 2015
8. Marco Dorigo and Thomas Stützle -Ant Colony Optimization2015 C. Martinez- An ACO
Algorithm for Image Compression, LEI Electronic Journal, 9, 2,
9. Alirezae Rezaee , “Extracting Edge of Images with Ant Colony”, Journal of Electrical
Engineering, Vol. 59, NO. 1, 2018,.
10. O. Cordon, F. Herrera, and T. Stutzle, Special Issue on Ant Colony Optimization: Models and
Applications, Mathware and Soft Computing, vol. 9, Dec. 2021.
11. Anna Veronica, C. Baterina, Carlos M. Oppus, Ant Colony Optimization for Image Edge
Detection” Department of Electronics and Communications Engineering Ateneo de Manila
University Katipunan Avenue, Loyola Heights, Quezon City Phillipines.
12. C. Naga Raju, O.Rama Devi, Sharada Mani, Sanam Nagendram, “An Improved Ant Colony
Optimization Technique by using Fuzzy Inference Rules for Image Classification and
Analysis”, IJAEA, Jan 2010,vol I & II, pp 230-234