Abstract
In recent years, due to the continuous improvement of the national economic level and the increasing academic burden of students’ main courses, students’ physical health problems (e.g., obesity, vision, and lumbar spine) have become more and more serious, which urgently needs the attention of relevant departments of national education and parents. This paper will use digital image technology to create a physical parameter measurement system and use literature, comparative analysis, and other research methods to analyze the impact of volleyball elective courses on students’ physical health. Firstly, this paper explains the theory of image processing technology and analyzes the parameters of human body scientifically; secondly, it detects the physical parameters of human body in digital images and also designs an image recognition system; finally, through experimental analysis, the accuracy of identifying key points of images is relatively high. After the system is adopted, the error of the measurement index is small. After the training of human body indexes, the effect of volleyball can be effectively improved.
1. Introduction
Students are the future pillars of a country and the hope and seeds of a country. However, with the rapid development of science and technology, students enjoy the convenience of life by using mobile phones, computers, and other electronic devices for a long time. Long-term inactivity (or a small amount of exercise) leads to students’ insufficient physical fitness and gradual decline in physical fitness, which is contrary to our concept of “sunshine sports.” In order to cultivate students’ idea of “lifelong physical education and physical fitness,” this paper selects volleyball elective course to test the specific role of students’ health, using digital image technology to analyze and study, discuss and help students to make a better fitness plan suitable for individuals from various angles and factors, truly make people-oriented, provide effective scientific basis and health guidance suggestions, and strive to improve the physique of all students. Reference [1] introduces the basis of digital image, image enhancement in spatial domain and frequency domain. Literature [2] uses a class of algorithms to determine the local similarity between structured data sets as the basis of pattern recognition and image processing. Literature [3] investigates and analyzes digital image recording methods and reviews common standards and guidelines. Reference [4] combines artificial neural network with digital image to analyze grain quality. Reference [5] explains the use of digital image related theory and algorithm structure in processing algorithms and applications. Literature [6] used experiments to find out the comprehensive effects of physical fitness and psychological variables on abdominal strength, grip and psychological skills of volleyball players after training. Literature [7] showed the training effect of explosive leg force and shoulder strength of volleyball players after training by comparing the situation after training in Kupas. Literature [8] shows that the application of stair teaching method in volleyball elective courses in colleges and universities can effectively improve students’ comprehensive volleyball ability. Literature [9] uses algorithms to detect the motion features based on body trajectory clustering and aggregation in volleyball and collects the required motion data. Literature [10] introduces the effective improvement of intensity modified leisure volleyball on the health signs and physical fitness of men aged 25–55. Literature [11] discusses the influence of four-person soft volleyball teaching practice, which is beneficial to college students’ physical and mental health. Literature [12] reviews and analyzes the research on students’ mastery of health-related fitness knowledge so as to clear up misunderstandings. Literature [13] investigated the attitudes and physical activity behaviors of professionals before participating in sports, health, and leisure services. Literature [14] evaluates the body composition, health awareness, and cardiopulmonary health of female college students after compulsory physical education class. Literature [15] studies the theoretical and empirical analysis of the influence of age and exercise on physical activity. The article introduces the image processing technology to carry on the movement recognition to the volleyball movement; the human body physique characteristic and the scientific movement training through the high recognition rate can be scientifically analyzed. Analysis of the human body constitution in the article shows that, after training, the body shape is more increased than before, and the overall weight shows a downward trend. Volleyball elective course has different degrees of improvement on each student’s physical fitness, and to achieve the best results, so as to strengthen the diversified teaching practice.
2. Theoretical Basis
2.1. Research Methodology
This paper mainly adopts the following three methods to study, analyze, and compare the theory and data in order to ensure the reliability, authenticity, and effectiveness of the results and avoid adverse effects caused by other unexpected factors.
2.1.1. Literature Research Method [16]
This paper refers to a large number of websites and documents such as CNKI, China Academic Journal Network, and Baidu Academic, which provides scientific theoretical basis for the study of students’ physical health. In addition, this paper also consulted a large number of books, periodicals, lectures, conferences, and magazines related to physical education quality courses, physical education teaching quality reform, volleyball elective courses, and so on, in order to deeply understand and grasp the research content of this topic from all aspects and angles.
2.1.2. Data Statistics [17]
As the name implies, this method is to collect and sort out all kinds of data obtained from experimental tests so as to facilitate the analysis and discussion of the results. This method will use Excel 2016 software [18] and SPSS 17.0 tool [19] to collect various indicators for statistical steps.
2.1.3. Comparative Analysis [20]
According to different categories and requirements, the physical health indicators of students obtained after the experimental test are compared and analyzed, such as body shape indicators and physical fitness indicators. Finally, the conclusion is summarized.
2.2. Digital Images
2.2.1. Introduction of Concepts
A digital image [21] is one of the images, represented by a two-dimensional array [22], and the basic digital unit is pixel points [23], which can be directly processed by a computer. The other analog image cannot be processed by computer unless it is digitally converted. The image format used in this paper is mainly JPEG format, which is mainstream and can save space by compressing storage, and basically all shooting equipment can support it. In this paper, according to the brand effect and use effect, we finally decide to use a certain Sony device to complete the shooting work. As shown in Figure 1, it is about the representation coordinate system of pixels on the image.

2.2.2. Instructions for Image Acquisition
In this paper, firstly, the two-dimensional plane image is taken to ensure the high quality of the image quality, and the image parameter standard is unified, and the two-dimensional plane image is converted into the parameter data of the three-dimensional index.
2.2.3. Image Processing Techniques
(1) Image Grayscale [24]. It is a general popular processing technique that relies on RGB [25] color proportions to operate. It can improve the speed of image processing, transform the original color image with too large pixels into gray image with fewer pixels, and reduce the burden of image processing. As shown in Figures 2 and 3, it is a spatial representation of the relationship between gray value number axis and RGB color scale.


As shown below, there are several conversion methods related to image grayscale. According to the actual needs and convenience, we chose the fifth method to effectively separate human parameters from surrounding environmental parameters.
Method 1: floating-point algorithm.
Method 2: integer method.
Method 3: shift algorithm.
Method 4: average method.
Method 5: only take the green method.
Suppose a grayscale photo of M×N size; list all possible grayscale values . We can get the probability of gray level in this photo:
From formulas (6) and (7), the average grayscale, grayscale variance, and n-step distance can be obtained:
(2) Image Arithmetic Operation. If the image is disturbed by Gaussian noise, superposition operation is performed:
Image enhancement operations are
Select a special image block:
Because the shot lens is affected by optical characteristics, shadows will occur. The lens principle is as shown in Figure 4.

We perform shadow correction of the image:
(3) Geometric Space Transformation. It can improve the spatial relationship of coordinates between pixels, where = original pixel coordinates and = transformed pixel coordinates.
(4) Image Transformation. The goal is to transform into a more convenient form by calculation, and then transform back, which can effectively improve the processing efficiency.
Unified formula of transformation is
Corresponding inverse transformation unified formula is
For example, the process of filtering to remove interference sources is illustrated:
Formulas (18) and (19) are substituted into formulas (16) and (17), respectively, and the result of transformation is as follows:
(5) Image Edge Detection. As shown in Figure 5, it is an introduction to different types of edge shapes.

(a)

(b)
The principle of image edge detection is to identify the change of gray value in image edge. Based on Laplacian operator, its template is as Figure 6.

The relevant formula is as follows:
(6) Image Binarization. If we want to detect our target object from the initial image, we use this method.
In formula (24), threshold (T) is the judgment threshold, and the corresponding optimal value is generally obtained by continuously comparing performance parameters in experimental comparison.
2.3. Parameter Indicators
2.3.1. Confirmation of Human Body Size Proportion
Using digital image technology to measure the human body, the obtained data is calculated in equal proportion with the defined human body size ratio, and the original real human body data is restored. The defined size ratio is shown in Table 1.
The formula model for obtaining data from the formula of human cross section model is as follows:
2.3.2. Unit Conversion
Because the unit of image is pixel unit, to convert it into actual human body parameters, it is necessary to convert pixel unit into actual centimeter unit. This conversion is based on 100 cm as a unit length, and the conversion formula is as follows:
In the second part of the article, the related research methods are explained, and then the digital image concept, acquisition, and processing technology are explained, and then the human body parameter characteristic parameters are explained proportionally. The second part gives an effective explanation of the basic research work of the article, which has good scientific significance.
3. Physical Parameter Detection Based on Digital Images
3.1. Analysis of the Characteristics of Volleyball Elective Courses
Volleyball elective course has antagonism across the net, competition and skill, which can stimulate students to learn volleyball elective course more passionately and enhance their physique. Volleyball class requires students to be skilled in volleyball basic skills, solid and stable core strength, know the rules of sports venues and referee rules of volleyball matches, skillfully use their own physical strength and skills, and be able to react quickly to volleyball, and meet the requirements of eyesight and self-control. Therefore, in volleyball elective training, physical education teachers only think about how to enhance students’ physical fitness reasonably and effectively in order to meet the requirements of students’ activities inside and outside class. As shown in Table 2, a key explanation about volleyball elective course is presented.
3.2. Analysis of Students’ Physique
In recent years, with the rapid development of the world, the rising power of science and technology has brought many changes in life. These changes make people’s lives more convenient, but also bring many troubles to people, among which physical health problems are particularly prominent. Due to the long-term academic pressure, students’ spare time is occupied by homework and electronic equipment, and only a few students take physical exercise, which leads to the gradual decline of students’ physical health and presents a subhealth state, which deserves the attention of relevant state departments and parents, and time should be given to encourage extracurricular activities.
When we test, we will use various indicators (e.g., height, weight, and vital capacity) to reflect the basic health status of a student according to the national test standards and make reasonable analysis and suggestions.
3.3. Design and Implementation of the System
3.3.1. Functional Design of the System
The system designed in this paper is a tool for measuring human body in experimental test, adopting advanced digital image technology, using shooting equipment to record the image of human body, and using related image processing technology to preprocess the image. It includes a series of operations such as image grayscale, image arithmetic operation, image binarization, image transformation, image edge detection, and so on, and truly restores and converts the real data of human body as the data reference of the experiment, which will liberate the tedious and repeated work in the experiment and automatically obtain human body parameters. A flowchart of the image processing of the system is shown in Figure 7.

3.3.2. Implementation of the System
(1)LabVIEW 2013 software in Windows 10 operating system is selected as the development language. This programming language is more concise than the traditional programming language; there are more practical functional modules, more suitable for this system design needs.(2)After the size extraction, the system will use Excel 2016 software and SPSS 17.0 tools to collect various indicators for statistical steps so that the data can be saved more conveniently and reflected intuitively, which is convenient for us to analyze.(3)Realize the design drawing.
First, temporarily create a memory location to store the images we need to wait for processing. The functional design of the image reading part is shown in Figure 8.

The types of images are shown in Table 3.
Second, the purpose of this program is to obtain the B primary color (color image), and the functional design diagram of extracting grayscale is shown in Figure 9.

Among them, the pattern of color is shown in Table 4.
Third, let the value of B primary color become the gray value of each pixel; we can use MATLAB code to achieve gray image. As shown in Algorithm 1, it is about the process realized by MATLAB code, and we choose three methods to run it.
| ||||||||||||||||||||||||||||||
Fourthly, the acquired gray image is processed, and the binarization of the image is carried out by MATLAB, as shown in Figure 10.

Fifthly, all kinds of data are uniformly converted into strings and then stored in corresponding files. The image data saving function design diagram is shown in Figure 11.

4. Experimental Data Analysis
4.1. Subjects of the Study
This paper takes the influence of volleyball elective course on students' physical health as the research object and makes a comparative study on the changes of students' physical health before and after volleyball elective course. Because the student group includes kindergarten, primary school, junior high school, high school, and university, in order to avoid the influence of physical development on students’ health, we choose full-time freshmen in a university as the research object and randomly select 100 students (half male and half female) to participate in the physical health test. The test is divided into three stages. The first stage is that all people have not participated in volleyball elective courses for the first time, the second stage is that all people have been tested for the second time after two years of volleyball exercise with the same intensity (they can no longer participate in other physical exercises), and the third stage is the third test after stopping training for one year. Due to space constraints, we only choose to show part of the test data.


4.2. Analysis of Image Processing
4.2.1. Image Scanning Determination
(1)An example of a scan line determination diagram of a human body is shown in Figure 12.(2)The confirmation of key points in human body scanning is shown in Figure 13.
4.2.2. Scanning Recognition Accuracy Analysis
When processing digital images, it is very important to accurately confirm key points. Therefore, we analyzed the data of whether the digital image can accurately identify the key points in the human body and conducted five tests, respectively, as shown in Figure 14.

We calculate the average of the test results of five times and show the results in the form of line chart, as shown in Figure 15.

Analysis. We can find that the accuracy of digital image recognition is over 94%; the highest can reach 100%. The experimental results show that the accuracy of key points in image recognition is very high, which can meet the needs of the experiment.
4.3. Data Reliability Analysis
The data detected by our system still need to be verified and the reliability of the data is analyzed. Only by comparing the error between the data tested by the system and the data measured by the real system can we judge that the measured data of our system is true, reliable, and effective. Otherwise, the system cannot be adopted and needs to be redesigned and improved. In this trial run of the system, we considered labor cost, time cost, and other reasons, and only selected ten students for this data test, and adopted anonymous methods to protect students’ privacy. However, in order to ensure the accuracy of the manual test results, we promise to repeat the test three times to select the average value.
As shown in Table 5, it is about the comparison of male students’ height and arm span length.
As shown in Table 6, it is about the comparison of female students’ height and arm span length.
As shown in Table 7, it is a comparison of the data of male students’ measurements (chest circumference, waist circumference, and hip circumference).
As shown in Table 8, it is a comparison of the measurements (chest circumference, waist circumference, and hip circumference) of female students.
Conclusion. Through the comparison of the above table data, we can find that the error of each measurement index is very small, basically within the range of 0.2 cm, which can meet the needs of students’ physical health detection in our experiment. After the system is adopted, we can find that its efficiency will be far greater than that of manual measurement.
4.4. Comparative Analysis of Data
Because the data of 100 students was tested, the data was too huge, so in the comparative analysis and display of the data here, we only randomly intercepted a small number of students’ data (which was inconsistent with the student sample number when testing the system, and renumbered it) and adopted anonymous methods to protect students’ privacy.
4.4.1. Comparative Analysis of Basic Physical Indicators
(1) We compare and analyze the data of height and arm span of male students and female students, respectively, and give the corresponding line chart, which is convenient to feel the specific situation of the data more intuitively. As shown in Table 9, it is an analysis of the basic physical indicators of boys.
As shown in Figure 16, it is a broken line expression about the basic indicators of the body.

Analysis. By counting the basic physical indicators of all boys and girls (the data of 100 students are not shown here), we can find that the height range of boys is about (170, 180) and that of girls is about (150, 165). On the whole, there is little difference in height, among which some are prominent in height and some are short in height. After calculation, we find that the height and arm length of the students are basically 1 : 1, which belongs to the normal range of ordinary people. In some cases, the arm span is greater than the height. According to the trend analysis of line chart, there is a positive correlation between students’ arm span and height.
(2) As shown in Figure 17, it is a broken line expression form about the body circumference index (part) of boys and girls.

Analysis. According to the above figure, we can find that no matter boys or girls, their individual circumference development is different, among which the chest circumference is the biggest difference, the hip circumference is the second, and the waist circumference curve is relatively gentle. On the whole, the fluctuation range of their respective circumference data curves is about 0 cm to 20 cm.
4.4.2. Comparative Analysis of Body Shape Indicators
In this part, we mainly compare three stages, BMI index, and vital capacity of male and female students.
(1) As shown in Figure 18, it is a comparative analysis chart of BMI index of all students in three stages.

As shown in Figure 19, it is a comparative analysis of the average BMI index of boys and girls.

Analysis. Before the first stage of training, students with abnormal body shape accounted for 34% of the total number, among which lean and overweight were the most. After two years of volleyball elective training, we can find that 83% of people have normal body shape, which is 25.76% higher than the previous number. The number of students who are thin, overweight, and obese has dropped significantly. After stopping training for one year, the number of students with normal shape decreased by about 3.61%, and the number of obese students did not increase again. We found that the weight of the subjects showed a downward trend as a whole.
(2) As shown in Figure 20, it is about the average distribution of vital capacity of boys and girls.

Analysis. From the figure, we can find that the overall mean change of vital capacity of both boys and girls shows a small upward trend. In the second stage, the vital capacity of students increased the most. Although it decreased to a certain extent in the third stage, it can be seen that the cardiopulmonary respiratory system of students improved obviously.
4.4.3. Comparative Analysis of Physical Fitness Indicators
In this part, we divided the data into two tests, which are before and after the volleyball elective class. As shown in Tables 10 and 11, it is about the average analysis and comparison of physical fitness indicators of male and female students.
Analysis. According to Tables 10 and 11, we can find that no matter whether boys or girls, after training, the training effect of five items is obvious, and the physical fitness indicators of students have a certain increase. This shows that volleyball elective course can effectively help students improve their physical quality and sports ability.
5. Conclusion
Whether the change of human body constitution can grow healthily is a key issue for the state to pay attention to. The purpose of this study is to empirically analyze the impact of volleyball elective courses on students’ physical health, to illustrate the role of volleyball elective courses by using theory and data, to prove that volleyball elective courses can effectively improve students’ physical fitness, and to cultivate students’ enthusiasm and interest in sports so as to guide students to love sports and match their physical fitness with their learning quality. This paper analyzes the influence of volleyball on students’ physique by using digital image processing technology. Through the experiment, we can get the conclusion that after the system is adopted, the error of the measurement index is small. For boys and girls, the development of three circumferences is different, the difference of chest circumference is the largest, the difference of hip circumference is the second, and the curve of waist circumference is relatively gentle. After training, the body shape is larger than before, and the overall weight shows a downward trend.
Volleyball optional courses have different degrees of improvement on each student’s physical fitness, and to achieve the best results, we need more diversified teaching experience. The focus of future work should be tailored according to their different physical qualities, and individualized teaching programs should be formulated and implemented in order to achieve the scientific goals proposed in the article.
Data Availability
The experimental data used to support the findings of this study are available from the author upon request.
Conflicts of Interest
The author declares no conflicts of interest regarding the publication of this work.