Implementation of Chain Code K-Nearest Neighbor in Qalqalah
Reading
Tjut Awaliyah Zuraiyah, Mulyati and Hanan Rosyada
Departement of Computer Science Pakuan University, Bogor, Indonesia
Keywords: Chain Code, Euclidean, KNN, Qalqalah.
Abstract: This study aims to implement the Chain Code method and KNN in Qalqalah reading law. The research phase
consists of image acquisition, pre-processing, grayscale, feature extraction using chain code, classification
using k-Nearest Neighbor k-NN). On the pre-processing process is carried out with image cropping, noise
removal and normalization image size 50x25 pixels. The data used are 132 datasets which are divided into 6
test data and 126 training data (63 original data and 63 rotation data). The Chain Code method is used as a
method of recognition of image patterns based on the direction of the wind, and the KNN method is used as
an image classification method based on the difference in euclidean distance. The KNN method will search
for the closest distance from the training data to the test data so that the best K is obtained with the highest
accuracy in each class. In the validation calculation, obtained the results of accuracy image classification with
an accuracy of 45.23%. This accuracy value is quite low because the Chain Code Method cannot detect images
with separate objects so that this method cannot work optimally.
1 INTRODUCTION
Al-Quran is a holy book that is owned by the Islamic
religion, which contains various kinds of life
meanings that can be applied in human life.
Al-Quran
provides an overview of life in the world and in the
hereafter and the effects that occur both positive and
negative impacts.
So, there must be tajweed learning
so that the message can be conveyed correctly.
Almost all Muslims in the world know how to read
the Quran, but some of them cannot read the Quran
correctly according to
makhraj and tajweed. People
who want to deep in the Quran will usually ask for
help from a teacher to learn more about the
makhraj
and tajweed recitation of the Quran correctly and
adequately.
A teacher will observe every makhraj
law and tajweed that are being read, then remind the
right tajwid law and guide the reader when there is an
error in reading.
This method is less effective because
a system is needed that can be used at any time when
needed.
At present, there are several Al-Quran
learning software on the market.
The usefulness of
this software is that users can only read the Quran, but
the placement of tajwid laws is not displayed.
This
software is still less effective for readers in learning
tajwid and messages contained therein.
Therefore, a
system is needed that can detect tajwid patterns so
that readers can find out how the laws of tajwid are
read, especially the recitation of qalqalah.
Based on
the related problems, a system was created entitled
Implementation of the Chain Code and k-NN
Method in the digital image-based recitation law of
qalqalah. Where chain code functions in pattern
detection while k-NN functions in the classification
of images obtained.
The tested image will be detected
based on the direction of the wind direction in the
chain code method.
2 RESEARCH METHOD
This study uses an image processing methodology
with several stages consisting of (1) the stage of
image acquisition, which
can be defined as a system
that functions to retrieve, collect and prepare data, to
process it to produce the desired data. (2)
Pre-
processing
stage is the stage to cut the character part
needed by the image. After the cutting results are
obtained, then the
noise removal is carried out (the
part that is not needed).
After that, the image size is
50 x 25 pixels uniform
. (3) The Grayscale stage is