Abstract
This paper proposes a human flexibility fitness detection algorithm based on edge detection and feature point extraction. This algorithm first improves on the deficiency of the classical Canny operator. Specifically, a hybrid filter is used instead of the original Gaussian filter to improve filtering performance. Next, the templates in the \(45^\circ \) and \(135^\circ \) directions are added based on the original gradient calculation templates, and Otsu algorithm is used to achieve threshold segmentation to obtain the final edge information. Then, based on the obtained edge information, a human body feature point extraction algorithm for calculating the anteflexion angle is proposed, and the feature points of the shoulder, hip, and leg of the person are extracted, and the angle formed by these points is calculated. Size is used to achieve human body flexibility and fitness testing. In order to verify the effectiveness of the edge detection algorithm proposed in this paper, experiments are performed to compare with other algorithms, and the results show that the results of our algorithm are more accurate.
Similar content being viewed by others
References
Aprovitola A, Gallo L (2014) Edge and junction detection improvement using the Canny algorithm with a fourth order accurate derivative filter. In: 2014 Tenth international conference on signal-image technology and internet-based systems. IEEE, Marrakech, Morocco, pp 104–111
Canny J (1987) A computational approach to edge detection. In: Fischler MA, Firschein O (eds) Readings in computer vision. Elsevier, London, pp 184–203
Chen H, Ding H, He X, Zhuang H (2014) Color image segmentation based on seeded region growing with Canny edge detection. In: 2014 12th International conference on signal processing. IEEE, Hangzhou, Zhejiang, pp 683–686
Elad M (2002) On the origin of the bilateral filter and ways to improve it. IEEE Trans Image Process 11(10):1141–1151
Farrens S, Mboula F, Starck J (2017) Space variant deconvolution of galaxy survey images. Astron Astrophys 601:A66
Flores-Vidal PA, Olaso P, Gmez D et al (2019) A new edge detection method based on global evaluation using fuzzy clustering. Soft Comput 23:1809–1821
Fu W, Johnston M, Zhang M (2016) Genetic programming for edge detection: a Gaussian-based approach. Soft Comput 20:1231–1248
Guariglia D, Pereira L, Dias J et al (2011) Time-of-day effect on hip flexibility associated with the modified sit-and-reach test in males. Int J Sport Med 32(12):947–952
Hartman J, Looney M (2003) Norm-referenced and criterion-referenced reliability and validity of the back-saver sit-and-reach. Measur Phys Edu Exerc Sci 7(2):71–87
He K, Sun J, Tang X (2012) Guided image filtering. IEEE Trans Pattern Anal 35(6):1397–1409
Jaafar Belaid L, Ben Abda A, AlMalki N (2011) The Cauchy problem for the Laplace equation and application to image in painting. ISRN Math Anal 2011:11
Jones C, Rikli R, Max J, Noffal G (1998) The reliability and validity of a chair sit-and-reach test as a measure of hamstring flexibility in older adults. Res Q Exerc Sport 69(4):338–343
Lpez-Miarro P, Baranda Andjar dP, RodrGuez-Garca P (2009) A comparison of the sit-and-reach test and the back-saver sit-and-reach test in university students. J Sport Sci Med 8(1):116
Lu X, Yang C, Zhang Y et al (2019) Test method for health-related physical fitness of college students in mobile internet environment. Math Biosci Eng 16(4):2189–2201
Miarro P, Baranda Andjar dP, Garca P et al (2007) A comparison of the spine posture among several sit-and-reach test protocols. J Sci Med Sport 10(6):456–462
Mier C (2011) Accuracy and feasibility of video analysis for assessing hamstring flexibility and validity of the sit-and-reach test. Res Q Exerc Sport 82(4):617–623
Mookerjee S, McMahon M (2014) Electromyographic analysis of muscle activation during sit-and-reach flexibility tests. J Strength Cond Res 28(12):3496–3501
Nezamabadi-pour H, Saryazdi S, Rashedi E (2006) Edge detection using ant algorithms. Soft Comput 10:623–628
Nguyen D, Li W, Ogunbona P (2016) Human detection from images and videos: a survey. Pattern Recogn 51:148–175
Nikouei S, Chen Y, Song S, Xu R et al. (2018) Real-time human detection as an edge service enabled by a lightweight CNN. In: 2018 IEEE international conference on edge computing. IEEE, pp 125–129
Otsu N (1979) A threshold selection method from gray-level histograms. IEEE T Syst Man Cybern Soc 9(1):62–66
Pawar K, Nalbalwar S (2016) Distributed canny edge detection algorithm using morphological filter. In: 2016 IEEE international conference on recent trends in electronics, information and communication technology. IEEE, Bangalore, pp 1523–1527
Pitas I (2000) Digital image processing algorithms and applications. Wiley, Hoboken
Qi X, Chen X (2012) Bilateral filtering approach to edge detection based on modified Otsu. Comput Eng Appl 48(31):150–155
Razzak M, Naz S, Zaib A (2018) Deep learning for medical image processing: overview, challenges and the future. In: Dey N, Ashour AS, Borra S (eds) Classification in BioApps. Springer, Berlin
Rong W, Li Z, Zhang W, Sun L (2014) An improved CANNY edge detection algorithm. In: 2014 IEEE international conference on mechatronics and automation. IEEE. Tianjin, pp 577–582
Segl K, Kaufmann H (2001) Detection of small objects from high-resolution panchromatic satellite imagery based on supervised image segmentation. IEEE T Geosci Remote 39(9):2080–2083
Setiawan B,Rusydi A,Pradityo K (2017) Lake edge detection using Canny algorithm and Otsu thresholding. In: 2017 International symposium on geoinformatics. IEEE, Malang, pp 72–76
Wang Z, Wang K, Yang F et al (2018) Image segmentation of overlapping leaves based on ChanVese model and Sobel operator. Inform Process Agric 5(1):1–10
Wu Y (2019) Research on feature point extraction and matching machine learning method based on light field imaging. Neural Comput Appl 5:1–13
Xuan L, Hong Z (2017) An improved Canny edge detection algorithm. In: 2017 8th IEEE international conference on software engineering and service science. IEEE, Beijing, pp 275–278
Yao B, Hagras H, Alhaddad MJ et al (2015) A fuzzy logic-based system for the automation of human behavior recognition using machine vision in intelligent environments. Soft Comput 19:499–506
Youdas J, Krause D, Hollman J (2008) Validity of hamstring muscle length assessment during the sit-and-reach test using an inclinometer to measure hip joint angle. J Strength Cond Res 22(1):303–309
Zhang Y, Lu X (2019) Measurement method for human body anteflexion angle based on image processing. Int J Imag Syst Technol. https://doi.org/10.1002/ima.22332
Zhang D, Zhao S (2013) An improved edge detection algorithm based on canny operator. Appl Mech Mater 347:3541–3545
Zhang P, Wang L, Huang W et al (2015) Multiple pedestrian tracking based on couple-states Markov chain with semantic topic learning for video surveillance. Soft Comput 19:85–97
Zhang W, Zhao Y, Breckon T, Chen L (2017) Noise robust image edge detection based upon the automatic anisotropic Gaussian kernels. Pattern Recogn 63:193–205
Zhang L, Li K, Zhang Y et al (2017) Adaptive image segmentation based on color clustering for person re-identification. Soft Comput 21:5729–5739
Zhao X, Meng C, Feng M, Chang S (2017) Fatigue detection based on cascade convolutional neural network. J Optoelectron Laser 28:497–502
Zheng H, Chen C (2017) Feature point detection and target tracking based on SIFT and KLT. In: International conference on geo-spatial knowledge and intelligence. Springer, Chiang Mai, pp 3–12
Ziad M, Alanwar A, Alzantot M, et al. (2016) Cryptoimg: Privacy preserving processing over encrypted images. In: 2016 IEEE conference on communications and network security, October 17–19. IEEE, Philadelphia, pp 570–575
Acknowledgements
The National Natural Science Foundation of China, Grant No: 61802073; The Scientific and Technological Project of Guangdong Province, China, Grant No.: 2017A040405059; The Key Grant Scientific and Technological Planning Project of Guangzhou, Grant Nos.: 201704020113, 201903010041.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors declare no potential conflict interests.
Additional information
Communicated by A. Di Nola.
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Lu, X., Zhang, Y. Human body flexibility fitness test based on image edge detection and feature point extraction. Soft Comput 24, 8673–8683 (2020). https://doi.org/10.1007/s00500-020-04869-w
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00500-020-04869-w