Judgment method for preventing image data from being tampered
By inserting the average value, variance and algorithm version identification into the image data, the problem in the existing technology that anti-tampering detection of image data requires pre-transmission of hash values is solved, achieving fast, covert and efficient anti-tampering judgment of image data, applicable for large-scale data scenarios.
Patent Information
- Application Number
- CN202410603953.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-15
- Publication Date
- 2024-08-23
AI Technical Summary
In the existing technology, anti-tampering detection of image data requires telling the recipient the hash value of the original image in advance, which results in a large amount of data processing in large-scale data scenarios and is inconvenient. Especially in asynchronous communication scenarios, it can easily lead to misjudgments. .
By calculating the mean S, variance V and algorithm version identifier F of the RGB array of image data, insert them into the image, and the receiving end recalculates and compares to determine whether the data has been tampered with, avoiding additional data dissemination and processing.
It achieves fast and effective tamper-proof judgment of image data, with simple calculation, good concealment and low computational load. The calculation time of a 2 million pixel image is less than 0.5 milliseconds, which hardly affects the system performance.
Smart Images

Figure CN118537573A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of image recognition, and in particular relates to a method for determining whether image data can be tampered with. Background Art
[0002] With the increasing use of image and video data, the protection of image data is particularly important. In daily life, various image data are modified, such as PS face-changing tools, which can make the image look real, making it difficult to distinguish the source of the image data, which directly causes troubles for tasks such as traffic violation evidence collection and video image evidence collection. Therefore, ensuring the authenticity and legality of video images, especially illegal evidence data and evidence data, is a very important part of image data collection, transmission and storage. Anti-tampering protection measures for original images are particularly critical to ensure image consistency and effectiveness.
[0003] There are many methods for data tampering, such as a method for detecting multimedia data tampering (CN113536956A), which encapsulates the audio and video multimedia data to be recorded on the storage medium and stores them in segments; constructs a metadata hash tree based on the hash values of the multimedia data files of multiple segments and the corresponding metadata information, and constructs the corresponding metadata blocks; records the generated metadata blocks, and the metadata blocks are linked using a forward hash chain structure; the verifier detects tampering of the multimedia data files based on the forward hash chain of the recorded metadata blocks.
[0004] In the prior art, metadata hash trees are constructed through metadata information to achieve data tamper-proofing, which is a relatively common technical implementation method. However, in similar technical solutions, the hash value needs to tell the recipient the hash value of the original image in advance before comparison can be made to confirm whether data tampering has been performed. In scenarios with huge image databases and asynchronous communication between the data generation end and the data use end, using hash values for numerical comparison has the problem of large amounts of data to be processed and inconvenient comparison.
[0005] Therefore, it is an urgent problem to quickly and effectively prevent image data from being tampered with without adding additional factors that affect the original system's functions and performance, and to prevent important usage scenarios such as illegal evidence collection from causing misjudgments due to data modification. Summary of the invention
[0006] The purpose of the present invention is to provide a method for determining whether image data is tamper-proof, so as to solve the problem that in the prior art proposed in the background technology, the hash value is used for comparison, and the recipient needs to be informed of the hash value of the original image in advance before the comparison can be made. The use of hash values for numerical comparison results in a large amount of data to be processed and is inconvenient for comparison.
[0007] In order to solve the above technical problems, the technical solution adopted by the present invention is:
[0008] A method for determining whether image data is tamper-proof, comprising the following steps:
[0009] Step S1, acquiring image data and generating an RGB array of the image data;
[0010] Step S2, calculating the average value S, variance V and algorithm version identifier F of the RGB array;
[0011] Step S3, inserting the mean value S, variance V and algorithm version identifier F calculated in step S2 into the image RGB array;
[0012] Step S4, the receiving end recalculates the mean value S′ and variance V′ according to the algorithm version identifier F; Step S5, compares S′ and v′ with the original mean value S and variance v to determine whether the data has been tampered with; compares the F algorithm identifier to confirm whether changes have been made.
[0013] According to the above technical solution, in step S1, image data is obtained, and the RGB array of the image data is generated as follows: the image data includes three data channels, which are R, G, and B data channels respectively; each data channel includes multiple pixel points (i, j); wherein, i∈(0,width), j∈(0,hight), width, hight are the width and height of the image respectively.
[0014] According to the above technical solution, in step S3, the mean value S, variance V and algorithm version identifier F are inserted into the image RGB array as follows: the R channel (i, j) is used to store the mean value S, the G channel (i, j) is used to store the variance V, and the B channel (i, j) is used to store the algorithm version identifier F.
[0015] According to the above technical solution, in step S3, the first pixel (0,0) of the image stores the feature vector (S, v, F) of the entire image.
[0016] According to the above technical solution, in step S3, the first pixel (0,0) of the image stores the mean value S, the variance V and the algorithm version identifier F at the diagonal point.
[0017] According to the above technical solution, in step S2, when calculating the mean S, an even number column is used, and when calculating the variance V, an odd number column is used to cover the pixels of the entire image, thereby increasing the ability to prevent data tampering.
[0018] According to the above technical solution, in step S2, when calculating the mean S and the variance V, the feature points in the image are identified to prevent data tampering.
[0019] Compared with the prior art, the present invention has the following beneficial effects:
[0020] Through the recognition method recorded in the present invention, the tamper-proof nature of image data can be effectively achieved, and the calculation method has the characteristics of good concealment, simple calculation, and small amount of calculation. For a 2-megapixel image, the time consumed in calculating the S and v values is less than 0.5 milliseconds, which hardly affects the performance of the system.
[0021] By hiding the feature vector inside the image, there is no need to express the feature vector of the image through another propagation path, so this method has obvious advantages over the current image data hash value. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 It is a specific flow chart of the present invention; Figure 2 It is a calculation schematic diagram of the present invention; Figure 3 Comparison chart for calculation of the present invention; Figure 4 It is a schematic diagram of the three-dimensional structure of the data acquisition device of the present invention; Figure 5 It is a structural schematic diagram of the swing mechanism of the data acquisition device of the present invention; Figure 6 It is a structural schematic diagram of the mounting base of the data acquisition device of the present invention.
[0025] Markings in the figure: 100 - housing, 200 - bottom plate, 300 - driving motor, 400 - first mounting plate, 500 - rotating disk, 600 - first connecting rod, 700 - second connecting rod, 800 - rotating shaft, 900 - second mounting plate, 110 - mounting seat, 111 - base, 112 - mounting hole, 113 - gap, 114 - fixing hole, 115 - camera, 116 - display screen, 117 - connecting shaft, 118 - rotating seat, 119 - connecting column. DETAILED DESCRIPTION
[0026] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0027] Embodiment 1
[0028] like Figure 1 As shown, a method for determining whether image data is tamper-proof includes the following steps:
[0029] Step S1, acquiring image data and generating an RGB array of the image data;
[0030] Step S2, calculating the average value S, variance V and algorithm version identifier F of the RGB array;
[0031] Specifically, the algorithm version identifier F is used to specify the algorithm version for calculating the average value S and variance V of the RGB array, for example, here it is "average value S, variance V". The algorithm version identifier F1.1 is used to identify the receiving end; based on F, the receiving end knows that it is the algorithm for the average value and variance, and thus uses the decryption algorithm corresponding to F1.1; if it is changed to the "average value of the average value S1, variance of the variance V1" algorithm, the algorithm version identifier F1.2 is used to identify the corresponding receiver; the corresponding receiver knows which algorithm is used.
[0032] Step S3, inserting the mean value S, variance V and algorithm version identifier F calculated in step S2 into the image RGB array;
[0033] Step S4, the receiving end (here the receiving end refers to the data consumer) recalculates the mean value S′ and the variance V′ according to the algorithm version identifier F;
[0034] Step S5, compare S' and v' with the original mean value S and variance v to see if they are equal, and determine if the data has been tampered with; compare the F algorithm flag to confirm whether changes have been made.
[0035] In step S1, image data is obtained, and the RGB array of the image data is generated as follows: the image data includes three data channels, which are R, G, and B data channels respectively; each data channel includes multiple pixel points (i, j); wherein i∈(0,width), j∈(0,hight), width, hight are the width and height of the image respectively.
[0036] In step S3, the mean value S, variance V and algorithm version identifier F are inserted into the image RGB array as follows: the R channel (i, j) is used to store the mean value S, the G channel (i, j) is used to store the variance V, and the B channel (i, j) is used to store the algorithm version identifier F.
[0037] In step S3, the first pixel (0,0) of the image stores the feature vector (S, v, F) of the entire image.
[0038] In step S3, the first pixel (0,0) diagonal point of the image stores the mean value S, variance V and algorithm version identifier F.
[0039] In step S2, when calculating the mean S, an even number column is used, and when calculating the variance V, an odd number column is used to cover the pixels of the entire image and increase the ability to prevent data tampering.
[0040] In step S2, when calculating the mean S and the variance V, the feature points in the image are identified to prevent data tampering.
[0041] Through the recognition method recorded in the present invention, the tamper-proof nature of image data can be effectively achieved, and the calculation method has the characteristics of good concealment, simple calculation, and small amount of calculation. For a 2-megapixel image, the time consumed in calculating the S and v values is less than 0.5 milliseconds, which hardly affects the performance of the system.
[0042] By hiding the feature vector inside the image, there is no need to express the feature vector of the image through another propagation path, so this method has obvious advantages over the current image data hash value.
[0043] Embodiment 2
[0044] This embodiment is a further refinement of the first embodiment.
[0045] A method for determining image data tampering protection. In this embodiment, a color image is composed of three data channels, namely R, G, and B data channels. Each channel is composed of many pixel points (i, j), where i∈(0, width), j∈(0, hight), width, hight are the width and height of the image respectively, and the value of the pixel point is an integer int value from 0 to 255 (taking int8 image as an example), so an image can be represented by a three-dimensional array.
[0046] For an array, the simplest way to express the eigenvalue of the array is the mean S and variance v of the array. Therefore, the mean and variance of the image are calculated separately and then hidden in the image data. Since the value range of all pixels in the image is an integer between 0 and 255, the range of the mean and variance is also rounded between 0 and 255, so the mean and variance can be inserted into the image as an image pixel.
[0047] When it is necessary to determine whether an image has been tampered with, we only need to take out the mean value S and variance v hidden in the image, and recalculate the mean value S' and v' of the image. As long as S' and v' are equal to the original mean value S and variance v, the image data has not been modified. Otherwise, if they are not equal, the image data is no longer the original image data.
[0048] In this embodiment, since a color image consists of three channels (RGB image), it can be defined that the R channel (i, j) pixel points store the average value S, the G channel (i, j) pixel points store the variance v, and the B channel stores the algorithm version indication F. The algorithm version indication F tells the calculation process of the image authenticity detection algorithm to ensure that the formulas of the average value and the variance are the same. The value is an integer value ranging from 0 to 255, and the formula can be retrieved through this value. At the same time, in order to prevent the loss of the value hidden in the image and not affect the image display effect, when taking pixels, try to take the edge pixels of the image as the hidden value points. Generally, the (0,0) pixel point is taken, which is the first pixel point of an image, and the feature vector (S, v, F) of the entire image is saved. At the same time, in order to improve the reliability of the hidden value, a copy of the same data as the (0,0) point is also copied at the diagonal point (width, hight) of the point. When the data of the (0,0) point is destroyed, the feature vector (S, v, F) of the (width, hight) point can be taken. At the same time, in order to prevent the image from pixel interference (the imaging pixel value is the same as the interpolation), one more pixel point can prevent this interference phenomenon from occurring and improve the reliability of the interpolation pixel point. This algorithm only occupies two pixels of the image. In daily life photos or camera images, the images are generally more than 2 million pixels, and the influence of the occupied two pixels on the entire image can be ignored.
[0049] If an image is Photoshopped, its feature vector (S, v, F) will inevitably be changed, and the changed feature vector will not be equal to the feature vector of the original image. By using this feature, it is possible to determine whether the image has been tampered with and whether it is the original image data.
[0050] At the same time, the F value also indicates which image data the algorithm takes to calculate the mean and variance. For example, all image pixels except (0,0) and (width, high) pixels can be taken for calculation, or odd-numbered rows of image pixels can be taken for calculation, depending on the algorithm indication F. In order to prevent the calculation result from being cracked, the algorithm indication F can only be identified within this system. In fact, the purpose of this method is also to identify the modified image data within this system. For this embodiment, when F=100 is defined, the following formula is used to calculate the S,v value:
[0051]
[0052] Where i is an odd number between 1 and width-1, j is an integer between 1 and height, n is the total number of pixels to be calculated, and x is i,j It is the average value of the RGB three-channel pixel of the (i, j) pixel, and int is the rounding operation.
[0053]
[0054] Where i is an even number between 2 and width-1, j is an integer between 1 and height, n is the total number of pixels to be calculated, and x is i,j is the average value of the RGB three-channel pixel of the (i, j) pixel. S is the average value in formula 1, and int is the rounding operation.
[0055] When calculating the mean S, an even-numbered column is used, and when calculating the variance, an odd-numbered column is used. This allows all pixels in the entire image to participate in the calculation, while also increasing the ability to prevent data tampering.
[0056] In this embodiment, Figure 2 The method of the present invention is described in detail with reference to an example.
[0057] The image feature vector value generated by calculating the original image is (121, 33, 100), and this value is placed at the image pixel points (0, 0) and (width, height). When you want to determine whether the image has been tampered with, you only need to use the calculation method of F=100 to recalculate whether the S,v values are 121 and 33. If they are not this value, then the image is definitely not the original image. Since it is not the original image, it should not be used as the basis for important evidence.
[0058] For the image feature vector (S, v, F) selection problem, since the values of S, v, and F can only be integers between 0 and 255, where F is the algorithm and version indicator, it means that F can have 255 algorithm indicators, and the mean and variance introduced above are only one of them. This calculation method has the characteristics of good concealment, simple calculation, and low amount of calculation. For a 2-megapixel image, it takes less than 0.5 milliseconds to calculate the S and v values, which hardly affects the performance of the system.
[0059] The algorithm version indication may accommodate other algorithms, and this embodiment is described using other algorithms.
[0060] For the same image array, in addition to the above-mentioned mean variance, another algorithm that reflects array characteristic variables can be used - the incremental method. The image pixel value range is 0 to 255, 255 is represented by hexadecimal as FF, and the binary bit is 11111111, a total of 8 1s. Since 2 storage addresses can be used, 16-bit binary can be used to reflect the image value changes. Specifically: F = 101, an image is evenly divided into 16 image sub-areas, and the mean of each sub-image area is S0, S1, S2...S15, and then a string of 16-bit binary values is calculated using the incremental method:
[0061] 0 when S1–S0<0, otherwise 1;
[0062] 0 when S2–S1<0, otherwise 1;
[0063] 0 when S3–S2<0, otherwise 1; . . .
[0067] 0 when S15–S14<0, otherwise 1;
[0068] 0 when S0–S15<0, otherwise 1;
[0069] Based on the above calculation, a 16-bit binary value can be generated and converted into a hexadecimal value, such as Figure 3 shown.
[0070] 1010110010011110, converted to hexadecimal, can be obtained as AC9E. Convert AC to decimal as 172, and convert 9E to decimal as 158. Then the feature vector of this image is (172, 158, 101). Put this value at the position of image pixel (0, 0) and (width, height). When judging whether the image has been tampered with, just use the calculation method of F=101 to recalculate whether the image incremental feature value is AC9E (corresponding to decimal 172, 158). If it is not this value, then the image is definitely not the original image. Since it is not the original image, it should not be used as the basis of important evidence. This algorithm is more complex, but after modifying the image data in a certain interval, the reflected value changes are relatively large, that is, the sensitivity is relatively high, but the required computing power is relatively large, and the time consumed to calculate the incremental value is 2.7 milliseconds.
[0071] In this embodiment, a variety of different algorithms can be adopted, and the algorithm version indication is used in the RGB array transmission to increase the difficulty of tampering by tamperers and realize tamper-proof of image data.
[0072] Embodiment 3
[0073] This embodiment provides a specific data acquisition device, through which image data is acquired.
[0074] like Figure 4 As shown, a data acquisition device includes a housing 100, a swing mechanism is arranged inside the housing 100, and a collection component is arranged on the housing 100, and the collection component is used for image data collection; the collection component is rotatably connected to the housing 100, and the swing mechanism is connected to the collection component to drive the collection component to rotate;
[0075] like Figure 5As shown, the swing mechanism includes a base plate 200, a driving motor 300, a first mounting plate 400, a rotating disk 500, a first connecting rod 600 and a second connecting rod 700; wherein the driving motor 300 is fixedly arranged on the base plate 200; the rotating disk 500 is connected to the output shaft of the driving motor 300; the rotating disk 500 is also connected to one end of the first connecting rod 600 that rotates, and the other end of the first connecting rod 600 is connected to the second connecting rod 700;
[0076] A rotating shaft 800 is disposed at the end of the second connecting rod 700 , one end of the rotating shaft 800 is fixedly connected to the second connecting rod 700 , and the other end of the rotating shaft 800 is connected to the collection component to drive the collection component to rotate.
[0077] In the present invention, the driving motor 300 drives the swing mechanism to rotate, so that the swing mechanism can adjust the angle of the acquisition component as needed to adapt to data acquisition at different angles; the data acquisition operation is simple, which reduces the adjustment time of the acquisition component, thereby improving the efficiency of data acquisition.
[0078] This embodiment is a further refinement of the third embodiment.
[0079] The collection component includes a second mounting plate 900 , and a mounting seat 110 is provided on one side of the second mounting plate 900 . The mounting seat 110 is fixedly connected to the second mounting plate 900 , and the rotating shaft 800 is fixedly connected to the mounting seat 110 .
[0080] A mounting hole 112 is provided on the mounting seat 110, and the rotating shaft 800 is arranged inside the mounting hole 112; a gap 113 is provided at the upper end of the mounting seat 110, and the gap 113 is communicated with the mounting hole 112; a fixing hole 114 is provided on the side of the mounting seat 110, and the fixing hole 114 passes through the mounting seat 110; the fixing hole 114 is used for installing bolts, and the distance between the gap 113 is reduced by the bolts, so as to fix the rotating shaft 800 and the mounting seat 110.
[0081] Specifically, Figure 6 As shown, the mounting hole 112 is arranged along the transverse direction of the mounting seat 110, and the rotating shaft 800 passes through the mounting seat 110, extends to the inside of the rotating seat 118, and is rotatably connected to the rotating seat 118. The fixing hole 114 is arranged along the longitudinal direction of the mounting seat 110, and the fixing hole 114 passes through the mounting seat 110.
[0082] By installing bolts in the fixing holes 114 and tightening the bolts, the distance between the gaps 113 is reduced, so that the mounting seat 110 clamps the rotating shaft 800, so that the mounting seat 110 rotates with the rotating shaft 800, and the mounting seat 110 drives the collection assembly to rotate.
[0083] Preferably, the fixing hole 114 is disposed above the mounting hole 112 to prevent the rotating shaft 800 from affecting the installation of the bolt.
[0084] Preferably, the fixing hole 114 is configured as a countersunk hole. By configuring the fixing hole 114 as a countersunk hole, the installation space of the bolt is reduced, making the structure more compact.
[0085] The acquisition component also includes a camera 115 and a display screen 116 ; the display screen 116 is fixedly disposed on the second mounting plate 900 , and the camera 115 is disposed above the display screen 116 .
[0086] Specifically, the image information is collected by the camera 115 and displayed on the display screen 116, thereby completing the recognition of the image information.
[0087] Furthermore, the camera 115 and the display screen 116 used in the present invention are both existing devices and will not be described in detail herein.
[0088] The swing mechanism further comprises a connecting shaft 117, an end of which is fixedly connected to the second connecting rod 700, and the first connecting rod 600 is rotatably connected to the connecting shaft 117. The first connecting rod 600 is disposed in the middle of the connecting shaft 117.
[0089] Specifically, two sets of the mounting seat 110 , the rotating shaft 800 and the second connecting rod 700 are provided, and the two sets of the mounting seat 110 , the rotating shaft 800 and the second connecting rod 700 are respectively provided on the left and right sides of the second mounting plate 900 .
[0090] Furthermore, the two sets of second connecting rods 700 are connected by a rotating shaft 800. Preferably, both ends of the rotating shaft 800 are fixedly connected to the second connecting rod 700 respectively.
[0091] A rotating seat 118 is further disposed inside the housing 100 , and the rotating seat 118 is rotatably connected to the rotating shaft 800 .
[0092] Preferably, the rotating seat 118 is provided with two sets, such as Figure 5 As shown, two sets of rotating seats 118 are respectively arranged on the left and right sides of the housing 100.
[0093] Preferably, a bearing is provided inside the rotating seat 118, and is connected to the rotating shaft 800 through the bearing to improve the rotation efficiency.
[0094] The bottom plate 200 is detachably disposed inside the housing 100 .
[0095] A connecting column 119 is provided on the rotating disk 500 , and the rotating disk 500 is connected to the first connecting rod 600 via the connecting column 119 .
[0096] Specifically, the connecting column 119 is disposed on the rotating disk 500, and the connecting column 119 is eccentrically disposed on the rotating disk 500, that is, the center of the connecting column 119 does not overlap with the center of the rotating disk 500. When the rotating disk 500 rotates, the first connecting rod 600 can be driven to rotate eccentrically through the connecting column 119.
[0097] A base 111 is also provided below the housing 100 , and the base 111 is used to fix the collection component.
[0098] Specifically, the base 111 is not directly disposed on the ground, but may be disposed on a gate or other fixing device, so that the height of the recognition device is 160 cm to 170 cm when the angle is not adjusted (ie the camera 115 remains horizontal).
[0099] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0100] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for determining whether image data is tamper-proof, characterized in that: The following steps are involved: Step S1, acquiring image data and generating an RGB array of the image data; Step S2, calculating the average value S, variance V and algorithm version identifier F of the RGB array; Step S3, inserting the mean value S, variance V and algorithm version identifier F calculated in step S2 into the image RGB array; Step S4, the receiving end recalculates the mean value S' and the variance V' according to the algorithm version identifier F; Step S5, compare S' and v' with the original mean value S and variance v to see if they are equal, and determine if the data has been tampered with; compare the F algorithm flag to confirm whether changes have been made.
2. The method for determining image data anti-tampering according to claim 1, characterized in that: In step S1, image data is obtained, and the RGB array of the image data is generated as follows: the image data includes three data channels, which are R, G, and B data channels respectively; each data channel includes multiple pixel points (i, j); wherein i∈(0,width), j∈(0,hight), width, hight are the width and height of the image respectively.
3. The method for determining image data anti-tampering according to claim 1, characterized in that: In step S3, the mean value S, variance V and algorithm version identifier F are inserted into the image RGB array as follows: the R channel (i, j) is used to store the mean value S, the G channel (i, j) is used to store the variance V, and the B channel (i, j) is used to store the algorithm version identifier F.
4. The method for determining image data anti-tampering according to claim 1, characterized in that: In step S3, the first pixel (0,0) of the image stores the feature vector (S, v, F) of the entire image.
5. The method for determining image data anti-tampering according to claim 1, characterized in that: In step S3, the first pixel (0,0) diagonal point of the image stores the mean value S, variance V and algorithm version identifier F.
6. The method for determining image data anti-tampering according to claim 1, characterized in that: In step S2, when calculating the mean S, an even number column is used, and when calculating the variance V, an odd number column is used to cover the pixels of the entire image and increase the ability to prevent data tampering.
7. The method for determining image data anti-tampering according to claim 1, characterized in that: In step S2, when calculating the mean S and the variance V, the feature points in the image are identified to prevent data tampering.
