Object Detection Using Circular Hough Transform
Object Detection Using Circular Hough Transform
net/publication/250801437
CITATIONS READS
113 4,457
5 authors, including:
SEE PROFILE
All content following this page was uploaded by Puteh Saad on 09 July 2014.
Abstract: In this study we propose a new system to detect the object from an input image. The
proposed system first uses the separability filter proposed by Fukui and Yamaguchi (Trans. IEICE
Japan J80-D-II. 8, 2170-2177, 1997) to obtain the best object candidates and next, the system uses the
circular Hough transform (CHT) to detect the presence of circular shape. The main contribution of this
work consists of using together two different techniques in order to take advantages from the
peculiarity of each of them. As the results of the experiments, the object detection rate of the proposed
system was 96% for 25 images by moving the circle template every 20 pixels to right and down.
Key words: Separability filter, circular hough transform, edge detection, mathematical morphology
The input image has to come across several steps Separability filter: The separability filter is a template-
before the proposed technique is performed. The image based method. The proposed technique will place the
had to be enhanced using histogram equalization in template of Fig. 2 at each point (xi,yi) and then
preprocessing step, edge detection and mathematical compute the separability between the two regions R1
morphology in segmentation step. Histogram and R2 in the template with size r.
equalization tends to increase the contrast of the image
and produced a better result for region-based feature
extraction. Then, the image segmentation is carried out. 1/4r
The edge detection and mathematical morphology had
been employed to perform segmentation. The edge
detection process is very important as the edge
information is required for the CHT technique. Various r
edge detection methods have been applied for different
application. Among them, Canny edge detector has
been employed to the image. Canny gives thin edge
compared to Sobel[4]. Beside that, the opening and
closing morphology are employed to minimize the
points to apply the template matching. The closing
tends to close small gaps and removes much of the
white pixel noise, giving a fairly clean image. Opening Fig. 2: The circle template to detect the object
on the other hand tends to open small gaps or spaces candidate
between touching objects in an image. The closing has
Equation 3 is used to measure the separability
been applied then followed by the opening. The closing
between the two regions.
‘close’ small gaps and make the region is clearly seen
N
even though it consists of noise. Then, the opening took
( )
2
place. The opening will eliminate some of the unwanted A= I ( xi , yi ) − Pm (1)
information. i =1
( ) ( )
After the segmentation process, both separability 2 2
B = n1 P1 − Pm + n2 P2 − Pm (2)
filter and CHT techniques are applied. The process of
separability filter and the CHT technique are described B
later.
η= (3)
A
The CHT is applied to image after the separability where
technique had been employed. When using the CHT, Nk (k=1,2) : number of pixels in Rk ;
the radius r is known in advanced because of the N=n1+n2;
object’s shape is peculiar feature by each other, so the
Pk (k=1,2) : the average intensity in Rk ;
radius r can be treated as known parameter. In this
work, the radii for the object largeness have been set to Pm : the average intensity in the union of R1 and R2 ;
30, 40 and 50 pixels. I ( xi , yi ) : the intensity values of pixels ( xi , yi ) in the
In this experiment, the object of interest is the
coconut throughout this research. Coconut is known in union of R1 and R2 .
scientific as coco nucifera and is a member of Family The circles that give the local maxima of the
Arecaceae (palm family). Coconut is an important plant separability η are selected as object candidates. The
in the lives and economies of people in South East Asia points (x i i obtained after the opening morphology in
,y )
like Burma, Indonesia, Philippines and Malaysia. In the segmentation process is used as the input to the
Malaysia, coconut is planted either for personal use or separability filter. The range of radius for the R2 region
commercialize. There are varieties of commercial is set to rL, rL+10, …, rU . The template of Fig. 2 will
coconut that had been planted in Malaysia such as move every 20 pixels from left to the right and 20
Malayan Tall (MT), Malayan yellow Dwarf (MYD), pixels from top to down as shown in Fig. 3.
Malayan Green Dwarf (MGD), Rennel Tall, Malayan
Red Dwarf (MRD) and Pandan. Coconut provides Circular hough transform (CHT): The Hough
almost all necessities of life like food, drink, oil, transform (HT) and several modified versions have
medicine, timber, thatch, mats, fuel and domestic been recognized as robust techniques for curve
utensils. For these, it has been called the “tree of detection. This method can detect object even polluted
heaven” and “tree of life”. A 40 year old palm typically by noise. The CHT was sketched by Duda et al.[5]. The
attains a height of 20-22m and an 80 year old palm may
CHT is one of the modified versions of the HT. The
attain a height of 35-40m. Due to the increasing usage
CHT aims to find circular patterns within an image. The
of coconut, new method had to be explored to assist the
coconut gripping process. CHT is used to transform a set of feature points in the
1607
Am. J. Appl. Sci., 2 (12): 1606-1609, 2005
EXPERIMENTAL RESULTS
The black circles indicate a set edge points within Fig. 5: Successful detection of single coconut
the image. Each edge point contributes a circle of radius
R to an output accumulator space indicated by the grey
circles. The output accumulator space has a peak where
these contributed circles overlap at the center of the
original circle. Modification to the CHT has been
widely implemented to either increase the detection rate
or reduce its computational complexity[6-8]. In this
work, the edge orientation information is used to
increase the CHT performance. This method was first
proposed by Kimme et al.[6]. The use of the edge
orientation information limits the possible positions of
the center for each edge point. Using this method, only
an arc needs to be plotted perpendicular to the edge
orientation at a distance R from the edge point.
Fig. 6: Successful detection of single coconut
1608
Am. J. Appl. Sci., 2 (12): 1606-1609, 2005
ACKNOWLEDGEMENT
REFERENCES
1609