Digital Image Processing for Height Measurement Application Based on Python OpenCV and Regression Analysis

Aji Bijaksana Abadi - Universitas Borneo Tarakan, Tarakan, 77123, Indonesia
Syahfrizal Tahcfulloh - Universitas Borneo Tarakan, Tarakan, 77123, Indonesia


Citation Format:



DOI: http://dx.doi.org/10.30630/joiv.6.4.1013

Abstract


Pixel is the smallest element given by the image from a digital camera and is used as a data source in the digital image processing process. In this paper, two data collection processes are carried out, i.e. taking actual height data using a standard stature meter and taking sample photos using a camera placed from the sample with a distance of 160 cm and a height of 100 cm. The sample photos obtained are then processed for segmentation of the sample body against the surrounding environment using several digital image-processing techniques such as grayscale, blur, edge detection, and bounding box in order to obtain a pixel value that represents the height of the sample. The next stage is the regression analysis process by correlating actual height with pixel height using five regression equation analysis methods such as least squares, logarithmic powers, exponentials, quadratic polynomials, and cubic polynomials. This study analyzes the differences between these methods in terms of correlation coefficient, Root Mean Squared Error (RMSE), average error, and accuracy between height calculation data based on digital image processing and actual height measurement data. From the results obtained, the logarithmic power method produces the best analytical value compared to other methods with the correlation coefficient, RMSE, average error percentage, and percentage accuracy of 0.976, 1.3, 0.58%, and 99.42%, respectively. While the cubic polynomial is in the last position, the correlation coefficient, RMSE, average error percentage, and accuracy percentage are 0.978, 1.41, 0.64%, and 99.36%, respectively.

Keywords


Camera; digital image processing; height; regression analysis

Full Text:

PDF

References


Y. H. Anis, H. S. Mangiri, and A. N. Trisetiyanto, “Pengembangan Alat Ukur Tinggi Badan Manusia Secara Otomatis Dengan Arduino,†Joined J. J. Informatics Educ., vol. 3, no. 1, pp. 77–83, 2020.

A. Harjanto, A. Rizal, and S. Hadiyoso, “Pengembangan Sistem Pengukuran Tinggi Badan Menggunakan Kinect,†in e-proceeding of Engineering, 2018, vol. 5, no. 3, pp. 4005–4010.

F. Zikra, S. Aulia, D. N. Ramadan, and S. Pd, “Aplikasi Pengukur Tinggi Badan Berbasis Android Android Based Body Height Measurement Application,†in e-proceeding of Applied Science, 2019, vol. 5, no. 1, pp. 200–211.

T. R. Adiguna, I. R. Magdalena, and S. Saidah, “Sistem Deteksi Idealitas Berat Badan Secara Real Time Dengan Menggunakan Metode Gray Level Co-Occurance Matrix Dan Body Surface Area,†in e-proceeding of Engineering, 2018, vol. 5, no. 3, pp. 5562–5570.

S. Aulia, F. E. Satria, and R. D. Atmaja, “Sistem Pengukur Tinggi dan Berat Badan berbasis Morphological Image Processing,†ELKOMIKA J. Tek. Energi Elektr. Tek. Telekomun. Tek. Elektron., vol. 6, no. 2, p. 219, 2018, doi: 10.26760/elkomika.v6i2.219.

R. A. Usman Umar, “Pemantauan Hemoglobin Darah Dengan Non-Invasive Menggunakan Sensor Near Infrared Led Ir 940Nm,†INSTEK Inform. Sains dan Teknol., pp. 93–102, 2020, [Online]. Available: http://journal.uin-alauddin.ac.id/index.php/instek/article/view/13690.

M. Rifqi, R. Masruri, H. Fitriyah, and E. Setiawan, “Estimasi Volume dan Berat Buah Belimbing menggunakan Metode Cakram dan Regresi Linear berbasis Kamera pada Raspberry Pi,†J. Pengemb. Teknol. Inf. dan Ilmu Komput., vol. 3, no. 11, pp. 10684–10690, 2019.

N. Khuriyati, M. B. Fibriato, and D. A. Nugroho, “Penentuan Kualitas Buah Naga (Hylocereus undatus) Dengan Metode Non-destruktif,†J. Teknol. Ind. Has. Pertan., vol. 23, no. 2, 2018.

S. Zainab, H. Wibisana, and C. B. Casita, “Studi Perbandingan Konsentrasi Klorofil-a Di Semenanjung Blambangan Kabupaten Banyuwangi Menggunakan Data Citra Satelit Aqua Modis,†Geomatika, vol. 25, no. 1, p. 17, 2019, doi: 10.24895/jig.2019.25-1.889.

B. A. Prasetiyo, B. Rochaddi, and A. Satriadi, “Aplikasi Citra Sentinel-2 untuk Pemetaan Sebaran Material Padatan Tersuspensi Di Muara Sungai Wulan Demak,†J. Mar. Res., vol. 8, no. 4, pp. 379–386, 2019, doi: 10.14710/jmr.v8i4.25193.

T. Prayoga and L. S. Barus, “Analisis Penentuan Pembangunan Dermaga Berdasarkan Analisis Citra Sentinel 2A di Perairan Delta Wulan Kota Pesisir Demak,†J. Indones. Sos. Teknol., vol. 2, no. 11, pp. 2069–2081, 2021.

A. M. Sirisha and P. Venkateswararao, “Image processing techniques on radiological images of human lungs effected by COVID-19,†Int. J. Informatics Vis., vol. 4, no. 2, pp. 69–72, 2020, doi: 10.30630/joiv.4.2.359.

M. Z. Andrekha and Y. Huda, “Deteksi Warna Manggis Menggunakan Pengolahan Citra dengan Opencv Python,†Voteteknika (Vocational Tek. Elektron. dan Inform., vol. 9, no. 4, p. 27, 2021, doi: 10.24036/voteteknika.v9i4.114251.

M. I. Zul, I. Muslim, and A. K. S, “Identifikasi Bentuk Frame Kacamata dengan Metode Pengukuran Pixel dan Algoritma k-NN,†J. INFOTEL Inform. Telekomun. Elektron., vol. 9, no. 4, pp. 429–435, 2017.

C. B. Budhiasti, P. Septiawan, and A. D. Hartanto, “Otomatisasi Reduksi Citra Digital Menggunakan Algoritma Gaussian,†JURIKOM J. Ris. Komput., vol. 6, no. 6, pp. 623–626, 2019.

E. L. Utari, R. D. Ngaisyah, and H. Surbakti, “Sistem Identifikasi Citra Janin Terhadap Asupan Gizi Ibu Hamil Dengan Menggunakan Metode Sobel Dan Kirsch,†Simetris J. Tek. Mesin, Elektro dan Ilmu Komput., vol. 11, no. 2, pp. 448–461, 2021, doi: 10.24176/simet.v11i2.5709.

T. Efendi, T. A. Tsauri, and I. I. Uljanah, “Rancang Bangun Sistem Pengolahan Citra Digital Untuk Menentukan Berat Badan Ideal,†JISKA (Jurnal Inform. Sunan Kalijaga), vol. 2, no. 2, p. 63, 2017, doi: 10.14421/jiska.2017.22-01.

P. Katemba and R. K. Djoh, “Prediksi Tingkat Produksi Kopi Menggunakan Regresi Linear,†J. Ilm. FLASH, vol. 3, no. 1, pp. 42–51, 2017, [Online]. Available: http://jurnal.pnk.ac.id/index.php/flash/article/view/136.

B. Triatmodjo, Metode Numerik Dilengkapi Dengan Program Komputer, 8th ed. Yogyakarta: Beta Offset, 2010.

I. Wahyuni and F. A. Ahda, “Pemodelan Fuzzy Inference System Tsukamoto Untuk Prediksi Curah Hujan Studi Kasus Kota Batu,†J. Ilm. Teknol. Inf. Asia, vol. 12, no. 2, p. 115, 2018, doi: 10.32815/jitika.v12i2.260.

I. B. Mu, N. Fatihah, S. A. Mostafa, Z. Baharum, and T. Gusman, “Classifying Vehicle Types from Video Streams for Traffic Flow Analysis Systems,†Int. J. Informatics Vis., vol. 6, no. March, pp. 19–25, 2022.

D. A. Prabowo and D. Abdullah, “Deteksi dan Perhitungan Objek Berdasarkan Warna Menggunakan Color Object Tracking,†Pseudocode, vol. 5, no. 2, pp. 85–91, 2018, doi: 10.33369/pseudocode.5.2.85-91.

A. Y. Astuti, S. Sukoco, and M. Suyanto, “Optimalisasi Editing Green Screen Menggunakan Teknik Lighting Pada Chroma Key,†Multitek Indones., vol. 10, no. 1, p. 1, 2016, doi: 10.24269/mtkind.v10i1.233.