A method for evaluating ecological restoration

By collecting images in the ecological restoration area and calculating the G channel value change coefficient, combined with the area change, the problem of low evaluation accuracy in the existing technology is solved, and accurate monitoring and evaluation of the dynamic development of the ecological restoration area is achieved.

CN118469351BActive Publication Date: 2024-10-08SICHUAN SHIMIAN COUNTY HENGDA POWDER MATERIAL CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410931083.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-10-08
Estimated Expiration
2044-07-12

AI Technical Summary

Technical Problem

Existing ecological restoration assessment methods are difficult to understand the dynamic development of ecological restoration areas, resulting in low assessment accuracy.

Method used

Collect images of the ecological restoration area at different time points, extract vegetation pixels and G channel values, calculate the G channel value change coefficient, calculate the ecological restoration score based on the vegetation area, and divide degradation and growth areas through the G channel value change coefficient and area change coefficient. , calculate the repair variation coefficient to improve the evaluation accuracy.

Benefits of technology

By dynamically monitoring vegetation changes in the ecological restoration area, we can improve the accuracy of ecological restoration assessment and accurately reflect the dynamic development of the ecological restoration area.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118469351B_ABST
    Figure CN118469351B_ABST
Patent Text Reader

Abstract

This invention discloses an ecological restoration assessment method, belonging to the field of image processing technology. The invention collects images of the ecological restoration area at different times, obtaining multiple original images. For each original image, vegetation areas are extracted, and then G-channel values ​​representing vegetation color are extracted from these vegetation areas to obtain G-channel images. Based on each G-channel image, the G-channel value variation coefficient at each pixel location is obtained. This coefficient reflects the change in G-channel value at that location. Based on the area of ​​each vegetation region and the G-channel value variation coefficient, the dynamic development of the ecological restoration area can be determined, thus improving the accuracy of ecological restoration assessment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image processing, and in particular to an ecological restoration assessment method. Background Art

[0002] Ecological restoration is an important environmental protection measure aimed at restoring and rebuilding the function and structure of damaged ecosystems. To evaluate the effectiveness of ecological restoration, monitoring and assessment of restored areas are necessary. Traditional ecological restoration assessment methods rely primarily on manual surveys and sampling, which are time-consuming and labor-intensive, and struggle to achieve large-scale, high-frequency monitoring.

[0003] With the development of remote sensing technology, using remote sensing images for ecological restoration assessment has become an effective method. Existing methods collect and classify images of ecological restoration areas to determine the vegetation area in each region. This method then assesses ecological restoration based on the area of ​​the vegetation area. However, assessing ecological restoration based solely on the area of ​​the vegetation area fails to capture the dynamic development of the ecological restoration area, resulting in low accuracy in ecological restoration assessments. Summary of the Invention

[0004] In response to the above-mentioned deficiencies in the prior art, the present invention provides an ecological restoration assessment method that solves the existing problem of being unable to know the dynamic development of the ecological restoration area, resulting in low accuracy of ecological restoration assessment.

[0005] In order to achieve the above-mentioned purpose of the invention, the technical solution adopted by the present invention is: an ecological restoration assessment method, comprising the following steps:

[0006] S1. Collect images of the ecological restoration area at different time points to obtain multiple original images;

[0007] S2. Extracting vegetation pixels from each original image to obtain the vegetation area on each original image;

[0008] S3, extracting the G channel value of the vegetation area on each original image to obtain a G channel image;

[0009] S4. Extracting the G channel value variation coefficient at each pixel position according to each G channel image;

[0010] S5. Obtain the ecological restoration score of the ecological restoration zone based on the area of ​​each vegetation area and the G channel value variation coefficient.

[0011] In summary, the beneficial effects of the present invention are as follows: the present invention collects images of the ecological restoration area at different times to obtain multiple original images, extracts the vegetation area for each original image, and then extracts the G channel value reflecting the vegetation color from the vegetation area to obtain a G channel image. According to each G channel image, the G channel value variation coefficient at each pixel position is obtained, and the G channel value variation coefficient is used to reflect the G channel value variation at that location. According to the area of ​​each vegetation area and the G channel value variation coefficient, the dynamic development of the ecological restoration area is known, thereby improving the accuracy of ecological restoration assessment.

[0012] Furthermore, the step S2 includes the following sub-steps:

[0013] S21, taking each pixel on each original image as the center;

[0014] S22, calculating the vegetation feature value of the central pixel according to the pixel values ​​of the central pixel and the neighboring pixels;

[0015] S23. When the vegetation characteristic value is less than the vegetation characteristic threshold, the pixel point at the center is classified as a vegetation pixel point, and all vegetation pixels constitute a vegetation area.

[0016] The beneficial effect of the above-mentioned further scheme is: the present invention calculates the vegetation characteristic value of the center pixel based on the pixel values ​​of the center pixel and the neighboring pixel points, and judges whether the center pixel is a vegetation pixel point through the vegetation characteristic value. The present invention integrates the pixel value of the center pixel and the pixel value of the neighboring pixel points to improve the accuracy of judging the pixel point as a vegetation pixel point and avoid the influence of individual noise points.

[0017] Furthermore, the formula for calculating the vegetation characteristic value of the pixel at the center in S22 is:

[0018] , where ζ is the vegetation characteristic value of the pixel at the center, P o is the pixel value of the center pixel, P v To compare pixel values, P o,i is the pixel value of the i-th pixel in the center neighborhood, and i is the pixel number.

[0019] The beneficial effect of the above-mentioned further scheme is: the present invention calculates the distance between the pixel value of the pixel point at the center and the comparison pixel value, measures the similarity of the pixel values, and then calculates the distance between the pixel value of the pixel point in the neighborhood and the comparison pixel value, measures the similarity of the neighborhood pixel values, thereby comprehensively obtaining the vegetation characteristic value of the pixel point at the center.

[0020] Furthermore, the S4 includes the following sub-steps:

[0021] S41, subtract the G channel values ​​of the G channel images at adjacent time points according to the pixel points to obtain the G channel difference, G d,i = G T+1,i -G T,i , where G d,i is the G channel difference of the i-th pixel, G T+1,i is the G channel difference of the i-th pixel on the G channel image corresponding to the T+1 time point, G T,i is the G channel difference of the i-th pixel on the G channel image corresponding to the T-th time point, where T is the number of the time point and i is the number of the pixel;

[0022] S42, forming a G channel difference sequence from multiple G channel differences at the same pixel position;

[0023] S43. Calculate the G channel value variation coefficient at each pixel position according to the G channel difference sequence.

[0024] The beneficial effect of the above-mentioned further scheme is as follows: the present invention subtracts the G-channel images of adjacent time points by pixel to obtain the G-channel difference at each pixel. Since there are multiple time points, there are multiple G-channel differences at each pixel, forming a G-channel difference sequence. A G-channel difference sequence represents the change of the G-channel value at a pixel. According to the G-channel difference sequence, the G-channel value change coefficient at each pixel position is calculated to reflect the change of the G-channel value at each pixel.

[0025] Furthermore, the formula for calculating the G channel value variation coefficient in S43 is:

[0026] , where θ is the G channel value variation coefficient, G d,j is the j-th G-channel difference in the G-channel difference sequence, N is the number of G-channel differences in the G-channel difference sequence, j is the number of the G-channel difference, and || is the absolute value operation.

[0027] The beneficial effect of the above further scheme is: when the G channel value variation coefficient of the present invention is greater than 0, the G channel value of the pixel point is in an increasing state during this period of time; when the G channel value variation coefficient is less than 0, the G channel value of the pixel point is in a decreasing state.

[0028] Furthermore, the step S5 includes the following sub-steps:

[0029] S51. Calculate the area variation coefficient based on the area of ​​each vegetation region;

[0030] S52, when the G channel value variation coefficient is greater than 0, classifying the corresponding pixel as a degraded pixel, and classifying the area where all degraded pixels are located as a degraded area;

[0031] S53, when the G channel value variation coefficient is greater than or equal to 0, classifying the corresponding pixel as a growth pixel, and classifying the area where all growth pixels are located as a growth area;

[0032] S54, calculating the degradation degree value according to the variation coefficient of each G channel value in the degradation area;

[0033] S55, calculating the growth degree value according to the variation coefficient of each G channel value in the growth area;

[0034] S56. Calculate the repair variation coefficient based on the degradation degree value and the growth degree value;

[0035] S57. Use the area change coefficient and the restoration change coefficient to compensate the area of ​​the vegetation area corresponding to the latest time point, and calculate the ecological restoration score of the ecological restoration area.

[0036] The beneficial effect of the above-mentioned further scheme is as follows: the present invention divides the corresponding pixel points into two parts according to the G channel value variation coefficient: the degradation area and the growth area. The restoration variation coefficient is calculated by the G channel value variation coefficient in the degradation area and the growth area, reflecting whether the vegetation growth is in a state of growth or degradation. Then, the area of ​​the vegetation area corresponding to the latest time point is compensated according to the area variation coefficient and the restoration variation coefficient, thereby improving the accuracy of ecological restoration assessment.

[0037] Furthermore, the formula for calculating the area variation coefficient in S51 is:

[0038] , where γ is the area variation coefficient, E T+1 is the area of ​​vegetation area corresponding to the T+1 time point, E T is the area of ​​vegetation area corresponding to the Tth time point, M is the number of time points, T is the number of time points, and | | is the absolute value operation.

[0039] The beneficial effect of the above-mentioned further scheme is: the present invention adds the areas of the vegetation areas at adjacent time points to obtain the area change coefficient. When the area change coefficient is greater than 0, the area of ​​the vegetation area during this period is in a growth state. When the area change coefficient is less than 0, the area of ​​the vegetation area during this period is in a degradation state.

[0040] Furthermore, the formula for calculating the degradation degree value in S54 is:

[0041] , where h down is the degradation degree value, θ down,n is the variation coefficient of the nth G channel value in the degradation area, L downis the number of variation coefficients of the G channel value in the degraded region, and n is a positive integer;

[0042] The formula for calculating the growth degree value in S55 is:

[0043] , where h up is the growth degree value, θ up,n is the coefficient of change of the nth G channel value in the growth area, L up is the number of coefficients of change of the G channel value in the growth area.

[0044] Furthermore, the formula for calculating the repair variation coefficient in S56 is:

[0045] , where μ is the repair variation coefficient, e is the natural constant, and h down is the degradation degree value, h up is the growth value.

[0046] The beneficial effect of the above-mentioned further scheme is: the present invention subtracts the growth degree value from the degradation degree value to obtain the repair variation coefficient. When the repair variation coefficient is greater than 0, the growth of the growth area is stronger than the degradation of the degradation area. When the repair variation coefficient is less than 0, the degradation of the degradation area is stronger than the growth of the growth area.

[0047] Furthermore, the formula for calculating the ecological restoration score of the ecological restoration area in S57 is:

[0048] , where S is the ecological restoration score of the ecological restoration area, α is the proportional coefficient, and E new is the area of ​​the vegetation area corresponding to the latest time point, E is the area of ​​the ecological restoration area, μ is the restoration change coefficient, and γ is the area change coefficient.

[0049] The beneficial effect of the above-mentioned further scheme is: the present invention adopts the area change coefficient and the restoration change coefficient for compensation. The larger the area change coefficient, the restoration change coefficient and the area of ​​the vegetation area corresponding to the latest time point, the higher the ecological restoration score, and a proportional coefficient is set to adjust the size of the ecological restoration score. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 A flowchart of an ecological restoration assessment method. DETAILED DESCRIPTION

[0051] The specific embodiments of the present invention are described below to facilitate understanding of the present invention by those skilled in the art. However, it should be clear that the present invention is not limited to the scope of the specific embodiments. For those skilled in the art, as long as various changes are within the spirit and scope of the present invention as defined and determined by the appended claims, these changes are obvious, and all inventions and creations utilizing the concepts of the present invention are protected.

[0052] like Figure 1 As shown, an ecological restoration assessment method includes the following steps:

[0053] S1. Collect images of the ecological restoration area at different time points to obtain multiple original images;

[0054] S2. Extracting vegetation pixels from each original image to obtain the vegetation area on each original image;

[0055] S3, extracting the G channel value of the vegetation area on each original image to obtain a G channel image;

[0056] S4. Extracting the G channel value variation coefficient at each pixel position according to each G channel image;

[0057] S5. Obtain the ecological restoration score of the ecological restoration zone based on the area of ​​each vegetation area and the G channel value variation coefficient.

[0058] In this embodiment, the interval between different time points is 10 days, and images of the ecological restoration area are collected every 10 days, and the shooting factors (direction, angle, height, etc.) of each collected image remain consistent.

[0059] The S2 comprises the following sub-steps:

[0060] S21, taking each pixel on each original image as the center;

[0061] S22, calculating the vegetation feature value of the central pixel according to the pixel values ​​of the central pixel and the neighboring pixels;

[0062] S23. When the vegetation characteristic value is less than the vegetation characteristic threshold, the pixel point at the center is classified as a vegetation pixel point, and all vegetation pixels constitute a vegetation area.

[0063] In the present invention, the vegetation characteristic threshold is a threshold set for the vegetation characteristic value, and is specifically set based on experience or experiments.

[0064] The present invention calculates the vegetation characteristic value of the center pixel based on the pixel values ​​of the center pixel and the neighboring pixel points, and judges whether the center pixel point is a vegetation pixel point through the vegetation characteristic value. The present invention integrates the pixel value of the center pixel point and the pixel value of the neighboring pixel points to improve the accuracy of judging the pixel point as a vegetation pixel point and avoid the influence of individual noise points.

[0065] The formula for calculating the vegetation characteristic value of the pixel point at the center in S22 is:

[0066] , where ζ is the vegetation characteristic value of the pixel at the center, P o is the pixel value of the center pixel, P v To compare pixel values, P o,i is the pixel value of the i-th pixel in the center neighborhood, and i is the pixel number.

[0067] The present invention calculates the distance between the pixel value of the pixel point at the center and the comparison pixel value to measure the similarity of the pixel values, and then calculates the distance between the pixel value of the pixel points in the neighborhood and the comparison pixel value to measure the similarity of the neighborhood pixel values, thereby comprehensively obtaining the vegetation characteristic value of the pixel point at the center.

[0068] In the present invention, the comparison pixel value is the pixel value of the vegetation pixel point collected in advance.

[0069] The S4 comprises the following sub-steps:

[0070] S41, subtract the G channel values ​​of the G channel images at adjacent time points according to the pixel points to obtain the G channel difference, G d,i = G T+1,i -G T,i , where G d,i is the G channel difference of the i-th pixel, G T+1,i is the G channel difference of the i-th pixel on the G channel image corresponding to the T+1 time point, G T,i is the G channel difference of the i-th pixel on the G channel image corresponding to the T-th time point, where T is the number of the time point and i is the number of the pixel;

[0071] S42, forming a G channel difference sequence from multiple G channel differences at the same pixel position;

[0072] S43. Calculate the G channel value variation coefficient at each pixel position according to the G channel difference sequence.

[0073] The present invention subtracts G-channel images at adjacent time points pixel by pixel to obtain the G-channel difference at each pixel. Since there are multiple time points, there are multiple G-channel differences at each pixel, forming a G-channel difference sequence. A G-channel difference sequence represents the change of the G-channel value at a pixel. Based on the G-channel difference sequence, the G-channel value change coefficient at each pixel position is calculated to reflect the change of the G-channel value at each pixel.

[0074] The formula for calculating the G channel value variation coefficient in S43 is:

[0075] , where θ is the G channel value variation coefficient, G d,j is the j-th G-channel difference in the G-channel difference sequence, N is the number of G-channel differences in the G-channel difference sequence, j is the number of the G-channel difference, and || is the absolute value operation.

[0076] When the G channel value variation coefficient of the present invention is greater than 0, the G channel value of the pixel point is in an increasing state during the period of time. When the G channel value variation coefficient is less than 0, the G channel value of the pixel point is in a decreasing state.

[0077] The S5 comprises the following sub-steps:

[0078] S51. Calculate the area variation coefficient based on the area of ​​each vegetation region;

[0079] S52, when the G channel value variation coefficient is greater than 0, classifying the corresponding pixel as a degraded pixel, and classifying the area where all degraded pixels are located as a degraded area;

[0080] S53, when the G channel value variation coefficient is greater than or equal to 0, classifying the corresponding pixel as a growth pixel, and classifying the area where all growth pixels are located as a growth area;

[0081] S54, calculating the degradation degree value according to the variation coefficient of each G channel value in the degradation area;

[0082] S55, calculating the growth degree value according to the variation coefficient of each G channel value in the growth area;

[0083] S56. Calculate the repair variation coefficient based on the degradation degree value and the growth degree value;

[0084] S57. Use the area change coefficient and the restoration change coefficient to compensate the area of ​​the vegetation area corresponding to the latest time point, and calculate the ecological restoration score of the ecological restoration area.

[0085] According to the G channel value variation coefficient, the present invention divides the corresponding pixel points into two parts: the degradation area and the growth area. The restoration variation coefficient is calculated through the G channel value variation coefficient in the degradation area and the growth area, reflecting whether the vegetation growth is in a state of growth or degradation. Then, the area of ​​the vegetation area corresponding to the latest time point is compensated according to the area variation coefficient and the restoration variation coefficient, thereby improving the accuracy of ecological restoration assessment.

[0086] The formula for calculating the area variation coefficient in S51 is:

[0087] , where γ is the area variation coefficient, E T+1 is the area of ​​vegetation area corresponding to the T+1 time point, E T is the area of ​​vegetation area corresponding to the Tth time point, M is the number of time points, T is the number of time points, and | | is the absolute value operation.

[0088] The present invention adds the areas of vegetation areas at adjacent time points to obtain an area change coefficient. When the area change coefficient is greater than 0, the area of ​​the vegetation area during this period is in a growth state. When the area change coefficient is less than 0, the area of ​​the vegetation area during this period is in a degradation state.

[0089] The formula for calculating the degradation degree value in S54 is:

[0090] , where h down is the degradation degree value, θ down,n is the variation coefficient of the nth G channel value in the degradation area, L down is the number of variation coefficients of the G channel value in the degraded region, and n is a positive integer;

[0091] The formula for calculating the growth degree value in S55 is:

[0092] , where h up is the growth degree value, θ up,n is the coefficient of change of the nth G channel value in the growth area, L up is the number of coefficients of change of the G channel value in the growth area.

[0093] The formula for calculating the repair variation coefficient in S56 is:

[0094] , where μ is the repair variation coefficient, e is the natural constant, and h down is the degradation degree value, h up is the growth value.

[0095] The present invention subtracts the growth degree value from the degradation degree value to obtain a repair variation coefficient. When the repair variation coefficient is greater than 0, the growth of the growth area is stronger than the degradation of the degradation area. When the repair variation coefficient is less than 0, the degradation of the degradation area is stronger than the growth of the growth area.

[0096] The formula for calculating the ecological restoration score of the ecological restoration area in S57 is:

[0097] , where S is the ecological restoration score of the ecological restoration area, α is the proportional coefficient, and E new is the area of ​​the vegetation area corresponding to the latest time point, E is the area of ​​the ecological restoration area, μ is the restoration change coefficient, and γ is the area change coefficient.

[0098] The present invention uses the area change coefficient and the restoration change coefficient for compensation. The larger the area change coefficient, the restoration change coefficient and the area of ​​the vegetation area corresponding to the latest time point, the higher the ecological restoration score. A proportional coefficient is set to adjust the size of the ecological restoration score.

[0099] The present invention collects images of an ecological restoration area at different times to obtain multiple original images, extracts vegetation areas from each original image, and then extracts G channel values ​​reflecting vegetation colors from the vegetation areas to obtain G channel images. Based on each G channel image, a G channel value variation coefficient at each pixel position is obtained, and the G channel value variation coefficient is used to reflect the G channel value variation at that location. Based on the area of ​​each vegetation area and the G channel value variation coefficient, the dynamic development of the ecological restoration area is obtained, thereby improving the accuracy of ecological restoration assessment.

[0100] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention. Those skilled in the art will readily appreciate that various modifications and variations of the present invention are possible. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present invention shall be included within the scope of protection of the present invention.

Claims

1. An ecological restoration assessment method, characterized in that: The following steps are involved: S1, collecting images of the ecological restoration area at different time points to obtain multiple original images; S2, extracting vegetation pixels from each original image to obtain vegetation areas on each original image; S3, extracting the G channel value of the vegetation area on each original image to obtain a G channel image; S4, extracting the G channel value variation coefficient at each pixel position according to each G channel image; S5. Obtain the ecological restoration score of the ecological restoration area according to the area of ​​each vegetation area and the coefficient of variation of the G channel value; The S5 comprises the following sub-steps: S51, calculating the area variation coefficient according to the area of ​​each vegetation region; S52, when the G channel value variation coefficient is less than 0, classifying the corresponding pixel point as a degraded pixel point, and classifying the area where all the degraded pixel points are located as a degraded area; S53, when the G channel value variation coefficient is greater than or equal to 0, classifying the corresponding pixel point as a growth pixel point, and classifying the area where all the growth pixels are located as a growth area; S54, calculating the degradation degree value according to the variation coefficient of each G channel value on the degradation area; S55, calculating the growth degree value according to the change coefficient of each G channel value in the growth area; S56. Calculate the repair variation coefficient according to the degradation degree value and the growth degree value; S57, using the area change coefficient and the restoration change coefficient to compensate the area of ​​the vegetation area corresponding to the latest time point, and calculating the ecological restoration score of the ecological restoration area; The formula for calculating the area variation coefficient in S51 is: , where γ is the area variation coefficient, E T+1 is the area of ​​vegetation area corresponding to the T+1 time point, E T is the area of ​​vegetation area corresponding to the Tth time point, M is the number of time points, T is the number of time points, and | | is the absolute value operation; The formula for calculating the degradation degree value in S54 is: , where h down is the degradation degree value, θ down,n is the variation coefficient of the nth G channel value in the degenerate region, L down is the number of variation coefficients of the G channel value in the degraded region, n is a positive integer; The formula for calculating the growth degree value in S55 is: , where h up is the growth rate, θ up,n is the coefficient of change of the nth G channel value in the growth area, L up is the number of coefficients of variation of the G channel value on the growth area; The formula for calculating the repair variation coefficient in S56 is: , where μ is the repair variation coefficient, e is the natural constant, and h down is the degradation degree value, h up is the growth degree value; The formula for calculating the ecological restoration score of the ecological restoration area in S57 is: , where S is the ecological restoration score of the ecological restoration area, α is the proportionality coefficient, and E new is the area of ​​the vegetation area corresponding to the latest time point, E is the area of ​​the ecological restoration area, μ is the restoration change coefficient, and γ is the area change coefficient.

2. The ecological restoration assessment method according to claim 1, characterized in that: The S2 comprises the following sub-steps: S21, taking each pixel on each original image as the center; S22, calculating the vegetation feature value of the pixel at the center according to the pixel values ​​of the pixel at the center and the neighboring pixels; S23. When the vegetation feature value is less than the vegetation feature threshold, the pixel point at the center is classified as a vegetation pixel point, and all vegetation pixels constitute a vegetation area.

3. The ecological restoration assessment method according to claim 2, characterized in that: The formula for calculating the vegetation characteristic value of the pixel point at the center in S22 is: , where ζ is the vegetation characteristic value of the pixel at the center, P o is the pixel value of the center pixel, P v To compare pixel values, P o,i is the pixel value of the i-th pixel in the central neighborhood, and i is the number of the pixel.

4. The ecological restoration assessment method according to claim 1, characterized in that: The S4 comprises the following sub-steps: S41, subtract the G channel values ​​of the G channel images at adjacent time points according to the pixel points to obtain the G channel difference, G d,i =G T+1,i -G T,i , where G d,i is the G channel difference of the i-th pixel, G T+1,i is the G channel difference of the i-th pixel on the G channel image corresponding to the T+1th time point, G T,i is the G channel difference of the i-th pixel on the G channel image corresponding to the T-th time point, T is the number of the time point, and i is the number of the pixel; S42, forming a G channel difference sequence from multiple G channel differences at the same pixel position; S43. Calculate the G channel value variation coefficient at each pixel position according to the G channel difference sequence.

5. The ecological restoration assessment method according to claim 4, characterized in that: The formula for calculating the G channel value variation coefficient in S43 is: , where θ is the G channel value variation coefficient, G d,j is the j-th G channel difference in the G channel difference sequence, N is the number of G channel differences in the G channel difference sequence, j is the number of the G channel difference, and | | is the absolute value operation.