Sample data screening method, device, electronic device and storage medium

In the video codec performance evaluation, balanced distribution of sample data is selected based on the video's spatial complexity, time complexity, minimum noticeable difference and other characteristic information, which solves the problem of over-fitting of the video codec and achieves a better Accurate performance reviews.

CN112861852BActive Publication Date: 2024-09-06BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110068740.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-19
Publication Date
2024-09-06
Estimated Expiration
2041-01-19

AI Technical Summary

Technical Problem

The existing technology makes it difficult to select representative videos as test sets from massive video data to prevent video codecs from overfitting. Especially in the subjective evaluation of video codec performance, it is difficult to achieve a balanced distribution of samples.

Method used

By obtaining the video to be screened, its characteristic information such as space complexity, time complexity and minimum noticeable difference is determined, and based on these characteristic information, target videos that meet the balanced distribution conditions are selected as sample data for the video codec. Subjective review.

Benefits of technology

It achieves the representativeness and balanced distribution of samples in the subjective evaluation of video codec performance, avoids overfitting of video codecs, and provides a better basis for test samples.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112861852B
    Figure CN112861852B
Patent Text Reader

Abstract

The present application relates to a method, device, electronic device and storage medium for screening sample data. When screening sample data for subjectively evaluating the performance of a video codec from a plurality of videos to be selected, the method introduces a feature dimension that can be used to characterize differences in human eye perception, and determines feature information of each video to be screened in at least a predetermined feature dimension including the introduced feature dimension, and selects a plurality of target videos evenly distributed in the predetermined feature dimension as sample data based on the feature information of each video in the predetermined feature dimension. The sample data selected based on the processing process can at least achieve balanced sample distribution in terms of differences in human eye perception, thereby enabling the selection of representative video samples that avoid overfitting of the video codec locally for subjective evaluation of the performance of the video codec, and providing a better test sample basis for the subjective evaluation of the performance of the video codec.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of data processing technology, and in particular, relates to a sample data screening method, device, electronic device and storage medium. Background Art

[0002] The performance evaluation of video codecs is usually an indispensable part of video codec research and development. In order to evaluate the performance of different video codecs, it is necessary to select different videos as test data sets to perform performance tests on the video codecs and record the comparison data of the encoding results obtained from the tests. Each generation of coding standards for video codecs has its own standard recommended test data sets. However, with the widespread popularity of UGC (User Generated Content) videos, the continuous iteration and update of new videos, and the customized optimization of codecs for specific occasions, the recommended test data sets can no longer well reflect the actual video status under the current situation. In order to ensure that the test results match the current video status, it is necessary to re-screen the test data sets.

[0003] Currently, a huge amount of video data is produced every second on the Internet. How to select representative videos as test sets from the massive video data while preventing the test videos and video codecs from being overfitted locally has become a problem that must be faced in the development of video codecs. In particular, for data sets used for subjective evaluation of video codec performance (at least involving parameter estimation and recording of test videos of video codecs based on human eye perception), since subjective evaluation is combined with evaluation based on human eye perception, it further brings difficulties to the screening of test data sets. Summary of the invention

[0004] In view of this, the present application provides a sample data screening method, device, electronic device and storage medium for subjective evaluation of video codec performance, so as to achieve the selection of representative videos while avoiding local overfitting with the video codec, so as to construct a test data set for subjective evaluation of the video codec as sample data.

[0005] The specific technical solutions are as follows:

[0006] A sample data screening method, comprising:

[0007] Get multiple videos to be screened;

[0008] Determine feature information of each video in a predetermined feature dimension respectively; the predetermined feature dimension at least includes a feature dimension that can be used to characterize differences in human eye perception;

[0009] According to the feature information of each video in the predetermined feature dimension, multiple target videos are selected from the multiple videos as sample data for subjectively evaluating the performance of a predetermined video codec; wherein the distribution status of the multiple target videos in the predetermined feature dimension satisfies a balanced distribution condition for representing a balanced distribution of samples.

[0010] Optionally, the determining of feature information of each video in a predetermined feature dimension includes:

[0011] The spatial complexity, temporal complexity and just noticeable difference of each of the multiple videos are determined; wherein the difference in human eye perception is represented based on different just noticeable differences.

[0012] Optionally, determining the spatial complexity, temporal complexity, and least noticeable difference of each of the multiple videos includes:

[0013] Encoding each of the plurality of videos using the predetermined video codec to obtain predetermined encoding information of each video; determining the spatial complexity and the temporal complexity of each video according to the predetermined encoding information of each video;

[0014] For each video in the multiple videos, the minimum noticeable difference of each pixel in each frame image of the video is determined respectively; and the minimum noticeable difference of the video is determined according to the minimum noticeable difference of each pixel in each frame image of the video.

[0015] Optional:

[0016] Determining the spatial complexity and the temporal complexity of each video according to the predetermined encoding information of each video includes:

[0017] Determine the spatial complexity of each video based on the sum of the bit rates of all I frames obtained after encoding each video and the number of I frames;

[0018] The temporal complexity of the corresponding video is determined according to the sum of the bit rates of all B frames and P frames obtained after encoding each video, the number of P frames, and the spatial complexity.

[0019] Optionally, the respectively determining the minimum noticeable difference of each pixel in each frame image of the video includes:

[0020] For each pixel in each frame image of the video, determining a maximum contrast value of a predetermined number of operator gradients of the pixel;

[0021] Determine the intensity of the brightness component of the pixel in the sub-block in the corresponding frame image; the sub-block is the minimum coding unit of the predetermined video codec;

[0022] Determine the sum of edge pixels in the frame image where the pixel is located;

[0023] Determine the sum of distances between the sub-block corresponding to the pixel in the frame image and the center position of the salient region;

[0024] Determine the temporal variation mask of the inter block in the frame image where the pixel is located; the inter block indicates that the sub-block where the pixel is located is a block using an inter-frame coding reference mode;

[0025] A just noticeable difference of the pixel is determined according to the maximum contrast value, the intensity of the brightness component, the sum of edge pixels, the sum of distances, and the temporal variation mask.

[0026] Optional:

[0027] Determining the maximum contrast value of the predetermined number of operator gradients of the pixels comprises:

[0028] For each pixel in each frame image of the video, the maximum contrast value of the predetermined number of operator gradients of the pixel is calculated using the following visual contrast sensitivity bandpass calculation formula:

[0029]

[0030] Among them, grad z (x, y) represents the zth operator gradient of the pixel;

[0031] The determining the intensity of the brightness component of the sub-block where the pixel is located in the corresponding frame image includes:

[0032] The intensity of the brightness component of the pixel in the sub-block in the corresponding frame image is calculated using the following brightness amplitude nonlinear model calculation formula:

[0033]

[0034] Among them, I xy represents the brightness value of the pixel with coordinates (x, y);

[0035] The determining the sum of edge pixels in the frame image where the pixel is located comprises:

[0036] The following texture contrast masking model calculation formula is used to calculate the sum of edge pixels corresponding to the pixel obtained by processing the frame image where the pixel is located using the Canny operator:

[0037] T_CM=∑ canny ;

[0038] The determining the sum of distances between the sub-blocks corresponding to the pixel in the frame image and the center position of the salient region includes:

[0039] The sum of the distances between the corresponding sub-blocks of the pixel in the frame image and the center position of the salient area is calculated using the following human eye convex masking model calculation formula:

[0040]

[0041] Among them, (x j ,y j ) represents the center position of the jth salient region in the frame image where the pixel is located, N represents the number of salient regions in the frame image where the pixel is located, (x i ,y i ) represents the position of the i-th pixel in the sub-block where the pixel is located, and K represents the total number of pixels included in the sub-block;

[0042] The determining of the temporal change mask of the inter block in the frame image where the pixel is located includes:

[0043] The temporal change mask of the inter block in the frame image where the pixel is located is calculated using the following temporal mask calculation formula:

[0044]

[0045] Wherein, SAD represents the sum of the absolute values ​​of the residuals in the sub-block where the pixel is located, cu represents the sub-block where the pixel is located, cu=inter represents that the sub-block where the pixel is located is a block using an inter-frame coding reference mode, and cu=intra represents that the sub-block where the pixel is located is a block using an intra-frame coding reference mode;

[0046] The determining the least noticeable difference of the pixel according to the maximum contrast value, the intensity of the brightness component, the sum of the edge pixels, the sum of the distances, and the temporal variation mask comprises:

[0047] The sum of the T_CSF, the T_LM, the T_CM, the T_FM and the T_TM is calculated to obtain a just noticeable difference of the pixel.

[0048] Optionally, determining the minimum noticeable difference of the video according to the minimum noticeable difference of each pixel in each frame image of the video includes:

[0049] An average value of the least noticeable difference of each pixel in each frame image of the video is calculated to obtain the least noticeable difference of the video.

[0050] Optionally, the selecting, according to the feature information of each video in the predetermined feature dimension, a plurality of target videos from the plurality of videos as sample data for subjectively evaluating the performance of a predetermined video codec includes:

[0051] Clustering the multiple sets of feature information corresponding to the multiple videos to obtain k cluster centers; a set of feature information corresponding to a video includes a triple consisting of the spatial complexity, the temporal complexity and the least noticeable difference of the video, and k is an integer greater than 1;

[0052] For each cluster center, determine a set of feature information with the shortest distance from the cluster center, and obtain k sets of feature information corresponding to the k cluster centers;

[0053] Determining k target videos corresponding to the k groups of feature information as sample data for subjectively evaluating the performance of the predetermined video codec;

[0054] The distribution of the k target videos in terms of spatial complexity, temporal complexity and least noticeable difference meets the balanced distribution condition.

[0055] Optionally, before selecting a plurality of target videos from the plurality of videos as sample data for subjectively evaluating the performance of a predetermined video codec according to the feature information of each video in the predetermined feature dimension, the method further includes:

[0056] The spatial complexity, temporal complexity and just noticeable difference of each of the multiple videos are normalized, and based on the normalized spatial complexity, temporal complexity and just noticeable difference, the step of selecting multiple target videos from the multiple videos as sample data for subjectively evaluating the performance of a predetermined video codec based on feature information of each video in the predetermined feature dimension is triggered.

[0057] Optionally, the normalizing the spatial complexity, temporal complexity, and least noticeable difference of each of the multiple videos includes:

[0058] For each video in the plurality of videos, the spatial complexity of the video is normalized using the following calculation formula:

[0059]

[0060]

[0061] Among them, SC i , denote the unnormalized spatial complexity and the normalized spatial complexity of the i-th video in the plurality of videos, SC min , σ SC , SC average Respectively represent the minimum value, standard deviation and average value of the spatial complexity of the multiple videos;

[0062] The time complexity of the video is normalized using the following calculation formula:

[0063]

[0064]

[0065] Among them, TC i , denote the unnormalized time complexity and normalized time complexity of the i-th video in the plurality of videos, TC min , σ TC ,TC average Respectively represent the minimum value, standard deviation and average value of the time complexity of the multiple videos;

[0066] The video's just noticeable difference is normalized using the following formula:

[0067]

[0068]

[0069] Among them, JND i , Respectively represent the unnormalized just noticeable difference and the normalized just noticeable difference of the i-th video in the multiple videos, JND min , σ JND , JND average They respectively represent the minimum value, standard deviation and average value of the just noticeable difference of the multiple videos.

[0070] A sample data screening device, comprising:

[0071] An acquisition unit, used for acquiring a plurality of videos to be screened;

[0072] A determination unit, configured to respectively determine feature information of each video in a predetermined feature dimension; the predetermined feature dimension at least includes a feature dimension that can be used to characterize a difference in human eye perception;

[0073] A selection unit is used to select multiple target videos from the multiple videos as sample data for subjectively evaluating the performance of a predetermined video codec based on feature information of each video in the predetermined feature dimension; wherein the distribution status of the multiple target videos in the predetermined feature dimension satisfies a balanced distribution condition for representing a balanced distribution of samples.

[0074] An electronic device, comprising:

[0075] Memory, used to store computer instruction sets;

[0076] A processor is used to implement the sample data screening method as described in any of the above items by executing an instruction set stored in the memory.

[0077] A computer-readable storage medium stores a computer instruction set, and when the computer instruction set is executed by a processor, the sample data screening method as described in any one of the above items is implemented.

[0078] The sample data screening method, device, electronic device and storage medium provided in the embodiments of the present application introduce a feature dimension that can be used to characterize the difference in human eye perception when screening sample data for subjective evaluation of the performance of a video codec from multiple videos to be selected, and respectively determine the feature information of each video to be screened in a predetermined feature dimension including at least the introduced feature dimension, and select multiple target videos that are evenly distributed in the predetermined feature dimension as sample data based on the feature information of each video in the predetermined feature dimension. The sample data selected based on this processing process can at least achieve a balanced distribution of samples in terms of the difference in human eye perception, so that for the subjective evaluation of the performance of the video codec, it is possible to achieve the selection of video samples that are representative while avoiding local overfitting with the video codec, thereby providing a better test sample basis for the subjective evaluation of the performance of the video codec. BRIEF DESCRIPTION OF THE DRAWINGS

[0079] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are merely embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0080] Figure 1 is an example diagram of subjective evaluation parameters when subjectively evaluating a video codec provided in an embodiment of the present application;

[0081] Figure 2 It is a flow chart of a sample data screening method provided in an embodiment of the present application;

[0082] Figure 3 is a schematic diagram of a processing process for determining a just noticeable difference of a video provided in an embodiment of the present application;

[0083] Figure 4 is another flow chart of the sample data screening method provided in the embodiment of the present application;

[0084] Figure 5 It is a structural schematic diagram of a sample data screening device provided in an embodiment of the present application;

[0085] Figure 6 is another structural schematic diagram of the sample data screening device provided in an embodiment of the present application;

[0086] Figure 7 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0087] 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.

[0088] In order to evaluate the performance of different video codecs, such as compression rate, compression loss, compression speed, etc., it is necessary to select different videos as test data sets to perform performance tests on video codecs and record the encoding results obtained from the tests. The test of video codecs itself consumes machine time, and it is impossible to test all videos as test data. Therefore, in view of the current situation that massive video data is produced every second on the Internet, how to select representative videos from the massive video data as test sets and prevent the test video from overfitting with the video codec locally has become a problem that video codec research and development must face.

[0089] Subjective evaluation of video codec performance involves estimating and recording parameters of the test video based on human eye perception, see Figure 1 The example diagram of subjective evaluation parameters shown generally includes the evaluation of multiple parameters such as subjective image quality, face clarity, blur, noise, brightness and color of the video screen, so as to realize subjective evaluation of video codec performance (such as compression rate, compression loss, compression speed) based on the estimation of these parameters. In order to better compare the differences in encoding results of different codecs due to the subjective perception of the human eye, it is necessary to conduct subjective evaluation of video codec performance to achieve representative selection of videos that avoid overfitting of the video codec locally.

[0090] In view of this, the present application discloses a sample data screening method, device, electronic device and storage medium, aiming to solve the problem of selecting a test data set that is representative in the subjective evaluation of video codec performance and avoids local overfitting with the video codec.

[0091] See also Figure 2, showing a flow chart of the sample data screening method provided in an embodiment of the present application. The sample data screening method in an embodiment of the present application can be applied to but not limited to terminal devices with data processing functions, such as mobile phones, tablet computers, personal PCs (such as notebooks, all-in-one computers, desktop computers), or physical machines corresponding to private cloud / public cloud platforms, servers, etc. with data processing functions.

[0092] like Figure 2 As shown, in this embodiment, the sample data screening method includes the following processing steps:

[0093] Step 201: Obtain multiple videos to be screened.

[0094] The multiple videos to be screened may be a plurality of videos or video clips selected from the massive video data produced on the Internet. The selected videos or video clips may be complete videos or clips thereof of UGC videos and / or other types of non-UGC videos (such as film and television drama videos pushed by video playback software), and this embodiment does not impose any restrictions on this.

[0095] Optionally, if the video codec to be tested is a codec customized and optimized for a specific occasion, the multiple videos to be screened may be a series of videos or video clips corresponding to the specific occasion, such as a series of videos / video clips specific to a competition, game, show or news.

[0096] Step 202: Determine feature information of each video in a predetermined feature dimension respectively; the predetermined feature dimension at least includes a feature dimension that can be used to characterize differences in human eye perception.

[0097] In the subjective evaluation of video codecs, in order to better compare the subjective perception of the human eye to the differences in the encoding results of different encoders, it is necessary to consider the differences in the sensory aspects of the evaluators when selecting the test data set, and make the selected test data have differences in human eye perception (such as Figure 1 The samples need to be evenly distributed in terms of the differences in various perceptual parameters shown.

[0098] To this end, the embodiment of the present application introduces a feature dimension that can be used to characterize the difference in human eye perception when selecting a test data set for the subjective evaluation of video codecs. Specifically, as an optional implementation, JND is introduced as the feature dimension for characterizing the difference in human eye perception. JND is the abbreviation of Just Noticeable Difference, which refers to the minimum noticeable difference and is another name for the difference threshold. The JND model is an efficient model of human vision based on psychology and physiology. It is used to represent the maximum image distortion that the human eye cannot perceive, and reflects the human eye's tolerance to image changes. In the field of image processing, JND can be used to measure the sensitivity of the human eye to distortion in different areas of the image. The embodiment of the present application uses JND to evenly evaluate individual differences in human perception.

[0099] In view of this, in this embodiment, the predetermined characteristic dimension at least includes JND, ie, just noticeable difference.

[0100] In implementation, optionally, a method based on Figure 1 The different scoring scores obtained by performing video aesthetic scoring / video quality scoring on different videos according to the various parameters shown are used to characterize the differences in human eye perception. In this implementation manner, the predetermined feature dimension at least includes the aesthetic score / quality score of the video.

[0101] In addition, optionally, the predetermined feature dimensions may also include spatial complexity (Spatial Complexity, SC) and / or temporal complexity (Temporal Complexity, TC), so that the selected video sample data is not only evenly distributed in terms of differences in human eye perception, but also ensures a balanced distribution in terms of spatial complexity and / or temporal complexity.

[0102] Taking the example that the predetermined feature dimensions include spatial complexity, temporal complexity and minimal noticeable difference, in this step 202, it is necessary to determine the feature information of each video to be screened in the above three feature dimensions respectively, that is, to determine the values ​​of spatial complexity, temporal complexity and minimal noticeable difference of each video respectively.

[0103] As for the spatial complexity and temporal complexity of the video, the video codec to be evaluated can be used to encode each of the multiple videos to obtain predetermined encoding information of the video, such as the sum of the bit rates of all I frames and the number of I frames, the sum of the bit rates of all B frames and P frames, the number of P frames, etc., and then the spatial complexity and temporal complexity of the video can be determined based on the above encoding information of the video.

[0104] During implementation, taking the AV1 encoder as an example, the fast gear of the AV1 encoder can be used preferentially, and each of the multiple videos to be screened is encoded in a fixed QP (QuantFactor, quantization factor) mode to obtain the above-mentioned encoding information of each video, and for each video, the corresponding spatial complexity is calculated: SC = the sum of the bit rates of all I frames of the video after encoding / the number of I frames of the video, and the temporal complexity: TC = the sum of the bit rates of all B frames and P frames of the video after encoding / the number of B frames and P frames / SC, and the values ​​of the two dimensions of SC and TC of each video are obtained accordingly.

[0105] The AV1 encoder includes multiple gears such as fast, medium, slow, and super slow. Using the fast gear can ensure a faster running speed to quickly obtain the encoding result. During implementation, it is not limited to this and the gear used can be flexibly selected / set according to actual needs.

[0106] For video just noticeable difference, see Figure 3 The process of determining the minimum noticeable difference of the video shown may specifically include:

[0107] Step 301: determining the minimum noticeable difference of each pixel in each frame image of the video;

[0108] The step 301 can be further implemented as follows:

[0109] 1) For each pixel in each frame image of the video, determine the maximum contrast value of a predetermined number of operator gradients of the pixel;

[0110] 2) determining the intensity of the brightness component of the above pixel in the sub-block in the corresponding frame image;

[0111] The sub-block is the smallest coding unit of the video codec, and may be, for example, 4x4, 8x8, or 16x16 in size.

[0112] 3) determining the sum of edge pixels in the frame image where the above pixel is located;

[0113] 4) determining the sum of the distances between the sub-blocks corresponding to the above pixels in the frame image and the center position of the salient region;

[0114] 5) determining a temporal variation mask of an inter block in the frame image where the pixel is located; the inter block indicates that the sub-block where the pixel is located is a block using an inter-frame coding reference mode;

[0115] 6) Determine the least noticeable difference of the above pixels according to the above maximum contrast value, brightness component intensity, edge pixel sum, distance sum and time domain change mask.

[0116] In the implementation, this embodiment specifically decomposes the JND model into five models: the contrast sensitivity function (CSF) model, the luminance nonlinear (LM) model, the texture contrast masking (CM) model, the foveated masking (FM) model and the temporal masking (TM) model. By calculating the model components of each pixel in each frame of the video in the above five models, the maximum contrast value, luminance component intensity, edge pixel sum, distance sum and temporal change masking corresponding to the pixel are obtained, and the JND of the pixel is further calculated based on these values.

[0117] The calculation formulas for the pixel corresponding to each model component of the above five models are as follows:

[0118]

[0119] Wherein, T_CSF is the CSF model component, specifically representing the maximum contrast value of the operator gradient of a predetermined number (i.e., n, where n is an integer greater than 1) of the pixels, grad z (x, y) represents the zth operator gradient of the pixel; illustratively, when n=4, the four operator gradients of the pixel may be the operator gradients corresponding to the four directions of horizontal, vertical, 45° to the lower left, and 45° to the lower right.

[0120]

[0121] Wherein, T_LM is the LM model component, specifically representing the intensity of the brightness component of the pixel in the sub-block in the corresponding frame image, I xy Represents the brightness value of the pixel with coordinates (x, y).

[0122] T_CM=∑ canny ;

[0123] Wherein, T_CM is a CM model component, specifically indicating the sum of edge pixels corresponding to the pixel obtained by processing the frame image where the pixel is located using the canny operator.

[0124]

[0125] Wherein, T_FM is the FM model component, specifically representing the sum of the distances between the corresponding sub-blocks of the pixel in the frame image and the center position of the salient region, (x j ,y j) represents the center position of the jth salient region in the frame image where the pixel is located, N represents the number of salient regions in the frame image where the pixel is located, (x i ,y i ) represents the position of the i-th pixel in the sub-block where the pixel is located, and K represents the total number of pixels included in the sub-block. The salient area of ​​an image refers to the fact that when facing a scene, people automatically process the area of ​​interest based on the visual attention mechanism and selectively ignore the area of ​​no interest. These areas of interest based on the visual attention mechanism are called salient areas. In implementation, the salient area in the image can be extracted by simulating the visual characteristics of people according to the visual saliency detection algorithm.

[0126]

[0127] Among them, T_TM is the TM model component, specifically representing the temporal change masking of the inter block in the frame image where the pixel is located, SAD (Sum of Absolute Differences) represents the sum of the absolute values ​​of the residuals in the sub-block where the pixel is located, cu represents the sub-block where the pixel is located, cu=inter represents the sub-block where the pixel is located is a block using the inter-frame coding reference mode, cu=intra represents the sub-block where the pixel is located is a block using the intra-frame coding reference mode, and in this formula, intra is not considered.

[0128] On this basis, the sum of T_CSF, T_LM, T_CM, T_FM and T_TM of the pixel can be further calculated to obtain the minimum noticeable difference of the pixel, that is, the minimum noticeable difference of the pixel is: T _ CSF+T _ LM+T _ CM+T _ FM+T _ TM.

[0129] Step 302: Determine a minimum noticeable difference of the video according to the minimum noticeable difference of each pixel in each frame image of the video.

[0130] For each of the multiple videos to be screened, the average value of the minimum perceptible difference of each pixel in each frame image of the video can be calculated to obtain the minimum perceptible difference of the video, that is:

[0131]

[0132] In this formula:

[0133] JND represents the just noticeable difference of the video, Frames represents the total number of image frames included in the video, W represents the width of the video image, and H represents the height of the video image.

[0134] Step 203: Select multiple target videos from the multiple videos as sample data for subjectively evaluating the performance of a predetermined video codec based on feature information of each video in a predetermined feature dimension; wherein the distribution of the multiple target videos in the predetermined feature dimension satisfies a balanced distribution condition for indicating a balanced distribution of samples.

[0135] Among them, by clustering multiple groups of feature information corresponding to multiple videos to be screened, multiple target videos can be selected from the multiple videos as sample data for subjectively evaluating the performance of a predetermined video codec.

[0136] Specifically, multiple sets of feature information corresponding to multiple videos to be screened can be clustered based on a predetermined clustering algorithm such as kmeans. A set of feature information corresponding to each video includes a triple consisting of the spatial complexity, temporal complexity and the just noticeable difference of the video, i.e. (SC, TC, JND). The parameter k is set, and k cluster centers can be obtained by clustering, which are respectively represented as (X sc1 , Y tc1 , Z jnd1 ), (X sc2 , Y tc2 , Z jnd2 )...(X sck , Y tck , Z jndk ), each center point is generally not directly a data point of feature information. Therefore, the distance between the feature information triplet of each video and each cluster center can be further calculated based on the following calculation formula (Formula (1)...(k) respectively represents the distance between the feature information triplet of the i-th video and the 1st...k-th cluster center):

[0137]

[0138] …

[0139]

[0140] And k groups of feature information with the smallest distance to the k cluster centers are selected, and k videos corresponding to the k groups of feature information (ie, k target videos) are used as sample data for subjectively evaluating the performance of the predetermined video codec.

[0141] In the case where there is one or more center points among the k cluster centers that are exactly the corresponding group feature information (i.e., data points), the video corresponding to the corresponding group feature information at the one or more center points is directly selected as the target video as sample data for subjective evaluation of the performance of the video codec.

[0142] Furthermore, in the embodiment of the present application, it is considered that the distribution of the k target videos obtained through the above clustering process in terms of spatial complexity, temporal complexity and minimum perceptible difference meets the balanced distribution condition.

[0143] The sample data screening method provided in the embodiment of the present application introduces a feature dimension that can be used to characterize the difference in human eye perception when screening sample data for subjective evaluation of the performance of a video codec from multiple videos to be selected, and determines the feature information of each video to be screened in a predetermined feature dimension including at least the introduced feature dimension, and selects multiple target videos that are evenly distributed in the predetermined feature dimension as sample data based on the feature information of each video in the predetermined feature dimension. The sample data selected based on this processing process can at least achieve a balanced distribution of samples in terms of the difference in human eye perception, so that for the subjective evaluation of the performance of the video codec, it is possible to achieve the selection of video samples that are representative while avoiding local overfitting with the video codec, thereby providing a better test sample basis for the subjective evaluation of the performance of the video codec.

[0144] In another optional embodiment of the present application, see Figure 4 Another flow chart of the sample data screening method is shown. Before step 203, the method may further include:

[0145] Step 401, normalizing the spatial complexity, temporal complexity and just noticeable difference of each of the multiple videos, and triggering the step of selecting multiple target videos from the multiple videos as sample data of a predetermined video codec based on feature information of each video in a predetermined feature dimension according to the normalized spatial complexity, temporal complexity and just noticeable difference.

[0146] Specifically, for each of the multiple videos to be screened, this embodiment provides the following normalization formula to normalize the spatial complexity of the video:

[0147]

[0148]

[0149] Among them, SC i , denote the unnormalized spatial complexity and the normalized spatial complexity of the i-th video in the plurality of videos, SC min , σ SC , SC average Respectively represent the minimum value, standard deviation and average value of the spatial complexity of the multiple videos.

[0150] Similarly, the temporal complexity of the video can be normalized using the following normalization formula:

[0151]

[0152]

[0153] Among them, TCi, denote the unnormalized time complexity and normalized time complexity of the i-th video in the plurality of videos, TC min , σ TC ,TC average Respectively represent the minimum value, standard deviation and average value of the temporal complexity of the multiple videos.

[0154] The video's minimally noticeable difference is normalized using the following normalization formula:

[0155]

[0156]

[0157] Among them, JND i , Respectively represent the unnormalized just noticeable difference and the normalized just noticeable difference of the i-th video in the multiple videos, JND min , σ JND , JND average They respectively represent the minimum value, standard deviation and average value of the just noticeable difference of the multiple videos.

[0158] Based on the normalized spatial complexity, temporal complexity and just noticeable difference of each video, the normalized spatial complexity, temporal complexity and just noticeable difference can be further used to trigger the step of selecting multiple target videos from the multiple videos as sample data of a predetermined video codec based on feature information of each video in a predetermined feature dimension.

[0159] In this embodiment, when the spatial complexity, temporal complexity and just noticeable difference of a video are normalized, the minimum value of the feature information corresponding to each video (e.g., SC min ,TC min , JND min) instead of the average value, mainly because the distribution of videos is mostly concentrated in areas of low temporal complexity and low spatial complexity. Therefore, this embodiment subtracts the minimum value instead of the average value, so that the aggregation characteristics of data in areas of low temporal complexity and low spatial complexity are not destroyed, and the aggregation characteristics of data in areas of low temporal complexity and low spatial complexity of the video are followed. Accordingly, the selection quality of video samples that are representative and avoid over-fitting of the video codec locally will be further guaranteed.

[0160] Corresponding to the above-mentioned sample data screening method, the present application embodiment also provides a sample data screening device, see Figure 5 The schematic diagram of the structure of the sample data screening device shown in FIG. 1 may include:

[0161] An acquisition unit 501 is used to acquire a plurality of videos to be screened;

[0162] A determination unit 502 is used to determine feature information of each video in a predetermined feature dimension respectively; the predetermined feature dimension at least includes a feature dimension that can be used to characterize a difference in human eye perception;

[0163] The selection unit 503 is used to select multiple target videos from the multiple videos as sample data for subjectively evaluating the performance of a predetermined video codec according to feature information of each video in a predetermined feature dimension; wherein the distribution status of the multiple target videos in the predetermined feature dimension satisfies a balanced distribution condition for representing a balanced distribution of samples.

[0164] In an optional implementation of the embodiment of the present application, the determining unit 502 is specifically configured to:

[0165] The spatial complexity, temporal complexity and just noticeable difference of each of the multiple videos are determined; wherein the difference in human eye perception is represented based on different just noticeable differences.

[0166] In an optional implementation of the embodiment of the present application, the determining unit 502 includes:

[0167] An encoding module, used to encode each of the multiple videos using the predetermined video codec to obtain predetermined encoding information for each video;

[0168] A first determination module, used to determine the spatial complexity and the temporal complexity of each video according to the predetermined encoding information of each video;

[0169] A second determination module is used to determine, for each video among the multiple videos, the minimum noticeable difference of each pixel in each frame image of the video;

[0170] The third determining module is configured to determine the least noticeable difference of the video according to the least noticeable difference of each pixel in each frame image of the video.

[0171] In an optional implementation manner of the embodiment of the present application, the first determining module is specifically configured to:

[0172] Determine the spatial complexity of each video based on the sum of the bit rates of all I frames obtained after encoding each video and the number of I frames;

[0173] The temporal complexity of each video is determined based on the sum of the bit rates of all B frames and P frames obtained after encoding each video, the number of P frames, and the spatial complexity.

[0174] In an optional implementation of the embodiment of the present application, the second determining module includes:

[0175] A first determination submodule is used to determine, for each pixel in each frame image of the video, a maximum contrast value of a predetermined number of operator gradients of the pixel;

[0176] A second determination submodule is used to determine the intensity of the brightness component of the sub-block where the pixel is located in the corresponding frame image; the sub-block is the minimum coding unit of the predetermined video codec;

[0177] A third determination submodule is used to determine the sum of edge pixels in the frame image where the pixel is located;

[0178] A fourth determination submodule, used to determine the sum of distances between the subblock corresponding to the pixel in the frame image and the center position of the salient region;

[0179] A fifth determination submodule is used to determine the temporal variation mask of the inter block in the frame image where the pixel is located; the inter block indicates that the subblock where the pixel is located is a block using an inter-frame coding reference mode;

[0180] The sixth determination submodule is configured to determine a just noticeable difference of the pixel according to the maximum contrast value, the intensity of the brightness component, the sum of edge pixels, the sum of distances, and the temporal variation mask.

[0181] In an optional implementation manner of the embodiment of the present application, the first determining submodule is specifically configured to:

[0182] The maximum contrast value of the predetermined number of operator gradients of the pixel is calculated using the following visual contrast sensitivity bandpass calculation formula:

[0183]

[0184] Among them, grad z (x, y) represents the zth operator gradient of the pixel;

[0185] The second determination submodule is specifically used for:

[0186] The intensity of the brightness component of the pixel in the sub-block in the corresponding frame image is calculated using the following brightness amplitude nonlinear model calculation formula:

[0187]

[0188] Among them, I xy represents the brightness value of the pixel with coordinates (x, y);

[0189] The third determination submodule is specifically used for:

[0190] The following texture contrast masking model calculation formula is used to calculate the sum of edge pixels corresponding to the pixel obtained by processing the frame image where the pixel is located using the Canny operator:

[0191] T_CM=∑ canny ;

[0192] The fourth determination submodule is specifically used for:

[0193] The sum of the distances between the corresponding sub-blocks of the pixel in the frame image and the center position of the salient area is calculated using the following human eye convex masking model calculation formula:

[0194]

[0195] Among them, (x j ,y j ) represents the center position of the jth salient region in the frame image where the pixel is located, N represents the number of salient regions in the frame image where the pixel is located, (x i ,y i ) represents the position of the i-th pixel in the sub-block where the pixel is located, and K represents the total number of pixels included in the sub-block;

[0196] The fifth determination submodule is specifically used for:

[0197] The temporal change mask of the inter block in the frame image where the pixel is located is calculated using the following temporal mask calculation formula:

[0198]

[0199] Wherein, SAD represents the sum of the absolute values ​​of the residuals in the sub-block where the pixel is located, cu represents the sub-block where the pixel is located, cu=inter represents that the sub-block where the pixel is located is a block using an inter-frame coding reference mode, and cu=intra represents that the sub-block where the pixel is located is a block using an intra-frame coding reference mode;

[0200] The sixth determination submodule is specifically used for:

[0201] The sum of the T_CSF, the T_LM, the T_CM, the T_FM and the T_TM is calculated to obtain a just noticeable difference of the pixel.

[0202] The third determination module is specifically used for:

[0203] An average value of the least noticeable difference of each pixel in each frame image of the video is calculated to obtain the least noticeable difference of the video.

[0204] In an optional implementation of the embodiment of the present application, the selection unit 503 is specifically configured to:

[0205] Clustering the multiple sets of feature information corresponding to the multiple videos to obtain k cluster centers; a set of feature information corresponding to a video includes a triple consisting of the spatial complexity, the temporal complexity and the least noticeable difference of the video, and k is an integer greater than 1;

[0206] For each cluster center, determine a set of feature information with the shortest distance from the cluster center, and obtain k sets of feature information corresponding to the k cluster centers;

[0207] Determining k target videos corresponding to the k groups of feature information as sample data for subjectively evaluating the performance of a predetermined video codec;

[0208] The distribution of the k target videos in terms of spatial complexity, temporal complexity and least noticeable difference meets the balanced distribution condition.

[0209] In an optional implementation of the present application, see Figure 6 The schematic diagram of the structure of the sample data screening device shown in FIG. 1 may further include:

[0210] The normalization unit 504 is used to normalize the spatial complexity, temporal complexity and minimally noticeable difference of each of the multiple videos before the selection unit 503 selects multiple target videos from the multiple videos as sample data for subjectively evaluating the performance of a predetermined video codec based on feature information of each video in a predetermined feature dimension, and trigger the execution of the function of the selection unit 503 based on the normalized spatial complexity, temporal complexity and minimally noticeable difference.

[0211] In an optional implementation of the embodiment of the present application, the normalization unit 504 is specifically configured to:

[0212] For each video in the plurality of videos, the spatial complexity of the video is normalized using the following calculation formula:

[0213]

[0214]

[0215] Among them, SC i , denote the unnormalized spatial complexity and the normalized spatial complexity of the i-th video in the plurality of videos, SC min , σ SC , SC average Respectively represent the minimum value, standard deviation and average value of the spatial complexity of the multiple videos;

[0216] The time complexity of the video is normalized using the following calculation formula:

[0217]

[0218]

[0219] Among them, TC i , denote the unnormalized time complexity and normalized time complexity of the i-th video in the plurality of videos, TC min , σ TC ,TC average Respectively represent the minimum value, standard deviation and average value of the time complexity of the multiple videos;

[0220] The video's just noticeable difference is normalized using the following formula:

[0221]

[0222]

[0223] Among them, JND i , Respectively represent the unnormalized just noticeable difference and the normalized just noticeable difference of the i-th video in the multiple videos, JND min , σ JND , JND average They respectively represent the minimum value, standard deviation and average value of the just noticeable difference of the multiple videos.

[0224] As for the sample data screening device disclosed in the embodiment of the present application, since it corresponds to the sample data screening method disclosed in any of the method embodiments above, the description is relatively simple. For relevant similarities, please refer to the description of the sample data screening method part in the method embodiments above, which will not be described in detail here.

[0225] An embodiment of the present application also discloses an electronic device, which may be, but is not limited to, a terminal device such as a mobile phone, a tablet computer, a personal PC (such as a notebook, an all-in-one computer, a desktop computer) with data processing capabilities, or a physical machine corresponding to a private cloud / public cloud platform, a server, etc. with data processing capabilities.

[0226] The electronic device has a structure such as Figure 7 As shown, including at least:

[0227] Memory 701, used for storing computer instruction sets;

[0228] The computer instruction set may be implemented in the form of a computer program.

[0229] The memory 701 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0230] The processor 702 is used to implement the sample data screening method disclosed in the above method embodiment by executing the instruction set stored in the memory.

[0231] The processor 702 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices.

[0232] In addition, the electronic device may also include components such as a communication interface and a communication bus. The memory, the processor and the communication interface communicate with each other through the communication bus.

[0233] The communication interface is used for communication between electronic devices and other devices. The communication bus can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc.

[0234] In this embodiment, the processor in the electronic device introduces a feature dimension that can be used to characterize the difference in human eye perception when screening sample data for subjective evaluation of the performance of a video codec from multiple videos to be selected by executing a computer instruction set stored in a memory, and determines the feature information of each video to be screened in a predetermined feature dimension including at least the introduced feature dimension, and selects multiple target videos that are evenly distributed in the predetermined feature dimension as sample data based on the feature information of each video in the predetermined feature dimension. The sample data selected based on this processing process can at least achieve a balanced distribution of samples in terms of the difference in human eye perception, so that for the subjective evaluation of the performance of the video codec, it is possible to achieve the selection of video samples that are representative while avoiding local overfitting with the video codec, thereby providing a better test sample basis for the subjective evaluation of the performance of the video codec.

[0235] In addition, an embodiment of the present application further discloses a computer-readable storage medium, which stores a computer instruction set. When the computer instruction set is executed by a processor, the sample data screening method disclosed in the above method embodiment is implemented.

[0236] When the instructions stored in the computer-readable storage medium are executed, when screening sample data for subjectively evaluating the performance of a video codec from a plurality of videos to be selected, a feature dimension that can be used to characterize differences in human eye perception is introduced, feature information of each video to be screened in at least a predetermined feature dimension including the introduced feature dimension is determined respectively, and based on the feature information of each video in the predetermined feature dimension, a plurality of target videos evenly distributed in the predetermined feature dimension are selected as sample data. The sample data selected based on the processing process can at least achieve a balanced distribution of samples in terms of differences in human eye perception, thereby enabling the selection of representative video samples that avoid overfitting of the video codec locally for the subjective evaluation of the performance of the video codec, thereby providing a better test sample basis for the subjective evaluation of the performance of the video codec.

[0237] It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0238] For the convenience of description, the above system or device is described by dividing it into various modules or units according to its functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0239] It can be known from the description of the above implementation methods that those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be essentially or partly contributed to the prior art in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present application or certain parts of the embodiments.

[0240] Finally, it should be noted that, in this article, relational terms such as first, second, third and fourth 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 the process, method, article or equipment including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or equipment. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or equipment including the elements.

[0241] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A sample data screening method, characterized in that: include: Get multiple videos to be screened; Determine feature information of each video in a predetermined feature dimension respectively; the predetermined feature dimension at least includes a feature dimension that can be used to characterize differences in human eye perception; According to the feature information of each video in the predetermined feature dimension, a plurality of target videos are selected from the plurality of videos as sample data for subjectively evaluating the performance of a predetermined video codec; wherein the distribution of the plurality of target videos in the predetermined feature dimension satisfies a balanced distribution condition for indicating a balanced distribution of samples; The step of respectively determining the feature information of each video in a predetermined feature dimension includes: Determine the spatial complexity, temporal complexity and just noticeable difference of each of the multiple videos; wherein the difference in human eye perception is represented based on different just noticeable differences; The determining of the spatial complexity, the temporal complexity and the least noticeable difference of each video in the plurality of videos comprises: Encoding each of the plurality of videos using the predetermined video codec to obtain predetermined encoding information of each video; determining the spatial complexity and the temporal complexity of each video according to the predetermined encoding information of each video; For each video in the plurality of videos, respectively determine the minimum noticeable difference of each pixel in each frame image of the video; determine the minimum noticeable difference of the video according to the minimum noticeable difference of each pixel in each frame image of the video; The step of respectively determining the minimum perceptible difference of each pixel in each frame image of the video comprises: For each pixel in each frame image of the video, determining a maximum contrast value of a predetermined number of operator gradients of the pixel; Determine the intensity of the brightness component of the pixel in the sub-block in the corresponding frame image; the sub-block is the minimum coding unit of the predetermined video codec; Determine the sum of edge pixels in the frame image where the pixel is located; Determine the sum of distances between the sub-block corresponding to the pixel in the frame image and the center position of the salient region; Determine the temporal variation mask of the inter block in the frame image where the pixel is located; the inter block indicates that the sub-block where the pixel is located is a block using an inter-frame coding reference mode; A just noticeable difference of the pixel is determined according to the maximum contrast value, the intensity of the brightness component, the sum of edge pixels, the sum of distances, and the temporal variation mask.

2. The method according to claim 1, characterized in that: Determining the spatial complexity and the temporal complexity of each video according to the predetermined encoding information of each video includes: Determine the spatial complexity of each video based on the sum of the bit rates of all I frames obtained after encoding each video and the number of I frames; The temporal complexity of each video is determined based on the sum of the bit rates of all B frames and P frames obtained after encoding each video, the number of P frames, and the spatial complexity.

3. The method according to claim 1, characterized in that: Determining the maximum contrast value of the predetermined number of operator gradients of the pixels comprises: The maximum contrast value of the predetermined number of operator gradients of the pixel is calculated using the following visual contrast sensitivity bandpass calculation formula: Among them, grad z (x, y) represents the zth operator gradient of the pixel; The determining the intensity of the brightness component of the sub-block where the pixel is located in the corresponding frame image includes: The intensity of the brightness component of the pixel in the sub-block in the corresponding frame image is calculated using the following brightness amplitude nonlinear model calculation formula: Among them, I xy represents the brightness value of the pixel with coordinates (x, y); The determining the sum of edge pixels in the frame image where the pixel is located comprises: The following texture contrast masking model calculation formula is used to calculate the sum of edge pixels corresponding to the pixel obtained by processing the frame image where the pixel is located using the Canny operator: T_CM=Σ canny ; The determining the sum of distances between the sub-blocks corresponding to the pixel in the frame image and the center position of the salient region includes: The sum of the distances between the corresponding sub-blocks of the pixel in the frame image and the center position of the salient area is calculated using the following human eye convex masking model calculation formula: Among them, (x j ,y j ) represents the center position of the jth salient region in the frame image where the pixel is located, N represents the number of salient regions in the frame image where the pixel is located, (x i ,y i ) represents the position of the i-th pixel in the sub-block where the pixel is located, and K represents the total number of pixels included in the sub-block; The determining of the temporal change mask of the inter block in the frame image where the pixel is located includes: The temporal change mask of the inter block in the frame image where the pixel is located is calculated using the following temporal mask model calculation formula: Wherein, SAD represents the sum of the absolute values ​​of the residuals in the sub-block where the pixel is located, cu represents the sub-block where the pixel is located, cu=inter represents that the sub-block where the pixel is located is a block using an inter-frame coding reference mode, and cu=intra represents that the sub-block where the pixel is located is a block using an intra-frame coding reference mode; The determining the least noticeable difference of the pixel according to the maximum contrast value, the intensity of the brightness component, the sum of the edge pixels, the sum of the distances, and the temporal variation mask comprises: The sum of the T_CSF, the T_LM, the T_CM, the T_FM and the T_TM is calculated to obtain a just noticeable difference of the pixel.

4. The method according to claim 1, characterized in that: Determining the minimum noticeable difference of the video according to the minimum noticeable difference of each pixel in each frame image of the video includes: An average value of the least noticeable difference of each pixel in each frame image of the video is calculated to obtain the least noticeable difference of the video.

5. The method according to claim 1, characterized in that The selecting, according to the feature information of each video in the predetermined feature dimension, a plurality of target videos from the plurality of videos as sample data for subjectively evaluating the performance of a predetermined video codec comprises: Clustering the multiple sets of feature information corresponding to the multiple videos to obtain k cluster centers; a set of feature information corresponding to a video includes a triple consisting of the spatial complexity, the temporal complexity and the least noticeable difference of the video, and k is an integer greater than 1; For each cluster center, determine a set of feature information with the shortest distance from the cluster center, and obtain k sets of feature information corresponding to the k cluster centers; Determining k target videos corresponding to the k groups of feature information as sample data for subjectively evaluating the performance of the predetermined video codec; The distribution of the k target videos in terms of spatial complexity, temporal complexity and least noticeable difference meets the balanced distribution condition.

6. The method according to claim 1, characterized in that Before selecting a plurality of target videos from the plurality of videos as sample data for subjectively evaluating the performance of a predetermined video codec according to the feature information of each video in the predetermined feature dimension, the method further includes: The spatial complexity, temporal complexity and just noticeable difference of each of the multiple videos are normalized, and based on the normalized spatial complexity, temporal complexity and just noticeable difference, the step of selecting multiple target videos from the multiple videos as sample data for subjectively evaluating the performance of a predetermined video codec based on feature information of each video in the predetermined feature dimension is triggered.

7. The method according to claim 6, characterized in that The normalizing of the spatial complexity, the temporal complexity and the least noticeable difference of each video in the plurality of videos comprises: For each video in the plurality of videos, the spatial complexity of the video is normalized using the following calculation formula: SC' i =(SC i -SC min ) / σ SC ; Among them, SC i , SC i 'respectively represent the unnormalized spatial complexity and the normalized spatial complexity of the i-th video in the multiple videos, SC min , σ SC , SC average Respectively represent the minimum value, standard deviation and average value of the spatial complexity of the multiple videos; The time complexity of the video is normalized using the following calculation formula: TC' i =(TC i -TC min ) / σ TC ; Among them, TC i TC' i denote the unnormalized time complexity and normalized time complexity of the i-th video in the plurality of videos, TC min , σ TC ,TC average Respectively represent the minimum value, standard deviation and average value of the time complexity of the multiple videos; The video's just noticeable difference is normalized using the following formula: JND' i =(JND i -JND min ) / σ JND ; Among them, JND i , JND i 'respectively represent the unnormalized just noticeable difference and the normalized just noticeable difference of the i-th video in the multiple videos, JND min , σ JND , JND average They respectively represent the minimum value, standard deviation and average value of the just noticeable difference of the multiple videos.

8. A sample data screening device, characterized in that: include: An acquisition unit, used for acquiring a plurality of videos to be screened; A determination unit, used to respectively determine feature information of each video in a predetermined feature dimension; The predetermined characteristic dimensions at least include characteristic dimensions that can be used to characterize differences in human eye perception; A selection unit, configured to select a plurality of target videos from the plurality of videos as sample data for subjectively evaluating the performance of a predetermined video codec according to feature information of each video in the predetermined feature dimension; wherein the distribution of the plurality of target videos in the predetermined feature dimension satisfies a balanced distribution condition for indicating a balanced distribution of samples; The step of respectively determining the feature information of each video in a predetermined feature dimension includes: Determine the spatial complexity, temporal complexity and just noticeable difference of each of the multiple videos; wherein the difference in human eye perception is represented based on different just noticeable differences; The determining of the spatial complexity, the temporal complexity and the least noticeable difference of each video in the plurality of videos comprises: Encoding each of the plurality of videos using the predetermined video codec to obtain predetermined encoding information of each video; determining the spatial complexity and the temporal complexity of each video according to the predetermined encoding information of each video; For each video in the plurality of videos, respectively determine the minimum noticeable difference of each pixel in each frame image of the video; determine the minimum noticeable difference of the video according to the minimum noticeable difference of each pixel in each frame image of the video; The step of respectively determining the minimum perceptible difference of each pixel in each frame image of the video comprises: For each pixel in each frame image of the video, determining a maximum contrast value of a predetermined number of operator gradients of the pixel; Determine the intensity of the brightness component of the pixel in the sub-block in the corresponding frame image; the sub-block is the minimum coding unit of the predetermined video codec; Determine the sum of edge pixels in the frame image where the pixel is located; Determine the sum of distances between the sub-block corresponding to the pixel in the frame image and the center position of the salient region; Determine the temporal variation mask of the inter block in the frame image where the pixel is located; the inter block indicates that the sub-block where the pixel is located is a block using an inter-frame coding reference mode; A just noticeable difference of the pixel is determined according to the maximum contrast value, the intensity of the brightness component, the sum of edge pixels, the sum of distances, and the temporal variation mask.

9. An electronic device, characterized in that: include: Memory, used to store computer instruction sets; A processor, configured to implement the sample data screening method according to any one of claims 1 to 7 by executing an instruction set stored in the memory.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer instruction set, and when the computer instruction set is executed by a processor, the sample data screening method according to any one of claims 1 to 7 is implemented.