WO2022152002A1 - 图像画质的调试方法、装置、系统及电子设备 - Google Patents

图像画质的调试方法、装置、系统及电子设备 Download PDF

Info

Publication number
WO2022152002A1
WO2022152002A1 PCT/CN2021/143860 CN2021143860W WO2022152002A1 WO 2022152002 A1 WO2022152002 A1 WO 2022152002A1 CN 2021143860 W CN2021143860 W CN 2021143860W WO 2022152002 A1 WO2022152002 A1 WO 2022152002A1
Authority
WO
WIPO (PCT)
Prior art keywords
pixel
debugged
picture
debugging
value
Prior art date
Application number
PCT/CN2021/143860
Other languages
English (en)
French (fr)
Inventor
李艳波
宋起涛
李屹
Original Assignee
深圳光峰科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳光峰科技股份有限公司 filed Critical 深圳光峰科技股份有限公司
Publication of WO2022152002A1 publication Critical patent/WO2022152002A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • G06T7/001Industrial image inspection using an image reference approach
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/20Processor architectures; Processor configuration, e.g. pipelining
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10016Video; Image sequence

Definitions

  • the present application relates to the technical field of display device debugging, and in particular, to a method, device, system and electronic device for debugging image quality.
  • the image quality debugging mainly relies on manual debugging, the debugging process is cumbersome, and the debugging effect is poor. Therefore, how to improve the debugging efficiency of the image quality and ensure the debugging effect of the image quality has become an urgent technical problem to be solved.
  • the embodiments of the present application provide an image quality debugging method, device, system and electronic device, which can improve the debugging efficiency of the screen at least to a certain extent and ensure the debugging effect of the screen.
  • a method for debugging image quality includes:
  • the parameter value of the pixel to be debugged is adjusted until the adjusted pixel value of the pixel in the to-be-debugged picture is equal to the pixel value of the corresponding pixel in the reference picture. The difference between them is less than the first threshold.
  • the picture to be debugged is determined according to the difference between the pixel value of the pixel point in the picture to be debugged and the pixel value of the corresponding pixel point in the reference picture
  • the to-be-debugged pixel in the picture includes: if the difference between the pixel value of the pixel in the to-be-debugged picture and the pixel value of the corresponding pixel in the reference picture is greater than or equal to a second threshold
  • the point is identified as the pixel point to be selected; according to the predetermined selection rule, the pixel point to be selected is selected from the pixel point to be selected as the pixel point to be debugged.
  • selecting a pixel point to be selected from the pixel points to be selected as a pixel point to be debugged including: selecting the pixel point to be selected according to The corresponding difference values are arranged in order from small to large to obtain a set of pixels to be selected; according to the pre-set common ratio of the proportional sequence, from the set of pixels to be selected, select the value of the proportional sequence from the set of pixels to be selected.
  • the pixel to be selected at the corresponding position is used as the pixel to be debugged.
  • the parameter value of the pixel to be debugged is adjusted until the pixel of the pixel in the adjusted picture to be debugged is adjusted
  • the difference between the value and the pixel value of the corresponding pixel in the reference picture is smaller than the first threshold, including: according to the target adjustment direction, the first predetermined step size, and the second predetermined step size, for the pixel to be debugged
  • the parameter value of the point is adjusted to obtain a first debugging screen corresponding to the first predetermined step size and a second debugging screen corresponding to the second predetermined step size, where the first predetermined step size is smaller than the The second predetermined step size; according to the difference between the pixel value of the pixel point in the first debugging picture and the pixel value of the corresponding pixel point in the reference picture, and the pixel value of the pixel point in the second debugging picture
  • the method further includes: debugging according to the target The difference between the pixel value of the pixel in the picture and the pixel value of the corresponding pixel in the picture to be debugged, and the pixel value of the pixel in the reference picture and the pixel value of the corresponding pixel in the picture to be debugged If the ratio value is greater than or equal to the preset ratio threshold, reduce the first predetermined step size and the second predetermined step size to obtain an update the first predetermined step size and the second predetermined step size after the first predetermined step size and the second predetermined
  • the parameter values of the pixels to be debugged are adjusted in each adjustment direction, and the adjusted pixel values of the pixels in the to-be-debugged picture are adjusted according to the Determine the target adjustment direction of the pixel to be debugged with reference to the difference between the pixel values of the corresponding pixel in the picture, including: modifying the parameter value of the pixel to be debugged to an initial value; Adjust the parameter value of the pixel to be debugged by a predetermined value in the direction to obtain a first test picture and a second test picture corresponding to the positive and negative adjustment directions respectively; according to the pixel points in the first test picture The difference between the pixel value of the reference picture and the pixel value of the corresponding pixel point in the reference picture, and the difference between the pixel value of the pixel point in the second test picture and the pixel value of the corresponding pixel point in the reference picture value to determine the target adjustment direction of the pixel to be debugged.
  • the parameter value of the pixel to be debugged is adjusted according to the target adjustment direction, until the adjusted pixel value in the to-be-debugged picture is adjusted.
  • the method further includes: calculating the to-be-debugged picture according to the adjusted picture to be debugged and the reference picture. Structural similarity and edge preservation index between the debug picture and the reference picture.
  • the method further includes: calculating according to the adjusted picture to be debugged and the structural similarity, and determining a color image quality measure corresponding to the adjusted picture to be debugged.
  • a device for debugging image quality includes:
  • an acquisition module configured to acquire a picture to be debugged of the device to be debugged and a reference picture of a reference device, the picture to be debugged and the reference picture are generated by the device to be debugged and the reference device playing the same video content at the same time;
  • a pixel point determination module configured to determine a pixel point to be debugged in the picture to be debugged according to the difference between the pixel value of the pixel point in the picture to be debugged and the pixel value of the corresponding pixel point in the reference picture;
  • a direction determination module configured to adjust the parameter values of the pixels to be debugged in the positive and negative adjustment directions, respectively, according to the adjusted pixel values of the pixels in the to-be-debugged picture and the corresponding pixels in the reference picture The difference between the pixel values of the points determines the target adjustment direction of the pixel point to be debugged, and the target adjustment direction includes positive adjustment and negative adjustment;
  • an adjustment module configured to adjust the parameter value of the pixel to be debugged according to the target adjustment direction, until the adjusted pixel value of the pixel in the to-be-debugged picture is the same as the corresponding pixel in the reference picture The difference between the pixel values of the points is less than the first threshold.
  • an image quality debugging system includes:
  • Video signal source which is used to deliver the same video content to the device to be debugged and the reference device through the screen splitter;
  • a picture obtaining device configured to obtain the picture to be debugged of the device to be debugged and the reference picture of the reference device
  • an image quality debugging device configured to debug the device to be debugged according to the picture to be debugged and the reference picture
  • the system can execute the above-mentioned debugging method of image quality.
  • a computer-readable medium on which a computer program is stored, and when the computer program is executed by a processor, implements the image quality debugging method described in the foregoing embodiments.
  • an electronic device including: one or more processors; and a storage device for storing one or more programs, when the one or more programs are stored by the one or more programs When executed by multiple processors, the one or more processors are made to implement the image quality debugging method described in the foregoing embodiment.
  • the to-be-debugged picture and the reference picture are generated by the device to be debugged and the reference device playing the same video content at the same time.
  • Generate according to the difference between the pixel value of the pixel point in the picture to be debugged and the pixel value of the corresponding pixel point in the reference picture, determine the pixel point to be debugged in the picture to be debugged, and set the parameter value of the pixel point to be debugged in the positive , Adjust in the negative adjustment direction, and determine the target adjustment direction of the pixel to be debugged according to the difference between the pixel value of the pixel point in the adjusted image to be debugged and the pixel value of the corresponding pixel in the reference image.
  • the direction includes positive adjustment and negative adjustment, and then according to the target adjustment direction, adjust the parameter value of the pixel to be debugged until the pixel value of the pixel in the adjusted image to be debugged is equal to the pixel value of the corresponding pixel in the reference image.
  • the difference between them is less than the first threshold. Therefore, by pre-determining the target adjustment direction of the pixels to be debugged, and then adjusting the pixels to be debugged, unwarranted adjustment methods can be avoided, thereby improving the debugging efficiency. In order to ensure the debugging effect of image quality.
  • FIG. 1 shows a schematic diagram of an exemplary system architecture to which the technical solutions of the embodiments of the present application can be applied.
  • FIG. 2 shows a schematic flowchart of a method for debugging image quality according to an embodiment of the present application.
  • FIG. 3 shows a schematic flowchart of step S220 in the image quality debugging method of FIG. 2 according to an embodiment of the present application.
  • FIG. 4 shows a schematic flowchart of step S320 in the image quality debugging method of FIG. 3 according to an embodiment of the present application.
  • FIG. 5 shows a schematic flowchart of step S240 in the image quality debugging method of FIG. 2 according to an embodiment of the present application.
  • FIG. 6 shows a schematic flowchart of step S230 in the image quality debugging method of FIG. 2 according to an embodiment of the present application.
  • FIG. 7 shows a block diagram of an apparatus for debugging image quality according to an embodiment of the present application.
  • FIG. 8 shows a schematic diagram of a framework of an image quality debugging system according to an embodiment of the present application.
  • FIG. 9 shows a schematic structural diagram of a computer system suitable for implementing the electronic device according to the embodiment of the present application.
  • Example embodiments will now be described more fully with reference to the accompanying drawings.
  • Example embodiments can be embodied in various forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.
  • FIG. 1 shows a schematic diagram of an exemplary system architecture to which the technical solutions of the embodiments of the present application can be applied.
  • the system architecture may include a reference device 110 , at least one device to be debugged 120 , a screen acquisition apparatus 130 , and a processing terminal 140 .
  • the picture acquisition device 130 may be connected with the processing terminal 140 through a network, and the network may include various connection types, such as a wired communication link, a wireless communication link, and the like.
  • the image acquisition device 130 may be any device with an image acquisition function and a data transmission function, such as a camera, a smart phone, a tablet computer, or a portable computer.
  • the processing terminal 140 may be one or more of a smart phone, a tablet computer, a portable computer, a desktop computer, a server or a cloud server, which is not specifically limited in this application.
  • reference device 110 and the device to be debugged 120 may be devices with an image playback function, such as a display screen or a projector.
  • the reference device 110 and the device to be debugged 120 can play the same content at the same time, and the picture acquisition device 130 can acquire the same frame of playback pictures of the reference device 110 and the device to be debugged 120, that is, the reference picture and the picture to be debugged.
  • the processing terminal 140 may receive the picture to be debugged and the reference picture, and determine the pixel point to be debugged in the picture to be debugged according to the difference between the pixel value of the pixel point in the picture to be debugged and the pixel value of the corresponding pixel point in the reference picture. .
  • the processing terminal 140 After determining the pixels to be debugged, the processing terminal 140 adjusts the parameter values of the pixels to be debugged in the positive and negative adjustment directions, respectively, according to the adjusted pixel values of the pixels in the picture to be debugged and the corresponding pixels in the reference picture Determine the target adjustment direction of the pixel to be debugged, the target adjustment direction includes positive adjustment and negative adjustment, and then adjust the parameter value of the pixel to be debugged according to the target adjustment direction until the adjustment The difference between the pixel value of the pixel point in the picture to be debugged and the corresponding pixel point in the reference picture is smaller than the first threshold, so as to complete the debugging.
  • FIG. 2 shows a schematic flowchart of a method for debugging image quality according to an embodiment of the present application.
  • the image quality debugging method includes at least steps S210 to S240, which are described in detail as follows:
  • step S210 a to-be-debugged picture of the device to be debugged and a reference picture of a reference device are acquired, where the to-be-debugged picture and the reference picture are generated by playing the same content on the to-be-debugged device and the reference device.
  • the device to be debugged may be a screen to be debugged or an electronic device with an image playback function, such as a projector. It should be understood that the newly installed device to be debugged has not been debugged, and the display or image quality cannot achieve the best display effect. Therefore, it is necessary to debug the newly installed device to be debugged to achieve a better display effect.
  • the reference device can be an electronic device with image playback function such as a screen or a projector that has been pre-tuned by professionals. Therefore, the screen of the reference device can be used as the basis for debugging, so as to debug the device to be debugged to optimize the display of the device to be debugged. Effect.
  • the device to be debugged and the reference device are used as an example for description below.
  • Video signal sources such as DVD (Digital Video Disc, high-density digital video disc), VCD (Video Compact Disc, CDs) or projectors to deliver the same content to the device to be debugged and the reference device, so that the device to be debugged and the reference device can play the same content.
  • the image acquisition device can acquire the to-be-debugged picture of the to-be-debugged device and the reference picture of the reference device that are playing the same content. Therefore, the debugging is performed according to the to-be-debugged picture and the reference picture playing the same content, which can ensure the effectiveness of the subsequent debugging.
  • the video signal source can be connected to the device to be debugged and the reference device respectively through a screen splitter, so as to ensure the synchronization of the content played by the device to be debugged and the reference device.
  • screenshots can also be used to obtain the playback pictures of the device to be debugged and the reference device, and then the pictures to be debugged and the reference picture can be obtained.
  • Those skilled in the art can select corresponding pictures according to actual implementation needs. This application does not make any special restrictions on the acquisition method of the screen.
  • step S220 according to the difference between the pixel value of the pixel in the to-be-debugged image and the pixel value of the corresponding pixel in the reference image, the to-be-debugged pixel in the to-be-debugged image is determined.
  • the processing terminal may compare the pixel value of the pixel in the to-be-debugged picture with the pixel value of the corresponding pixel in the reference picture according to the received picture to be debugged and the reference picture. It should be understood that if the difference between the pixel value of the pixel in the picture to be debugged and the pixel value of the corresponding pixel in the reference picture is too large, it means that the display effect of the pixel is very different. If the difference is small, it means that the display effect of this pixel is similar to the display effect of the corresponding pixel in the reference picture, and debugging is not necessary.
  • the processing terminal may compare the difference between the pixel value of the pixel point in the picture to be debugged and the pixel value of the corresponding pixel point in the reference picture with the preset second threshold, if the difference is greater than or equal to the second threshold, It means that the difference of the pixel is too large and needs to be debugged, so it is regarded as the pixel to be debugged, and if the difference is less than the second threshold, it means that the difference is small and no debugging is required.
  • the determined pixel point to be debugged should include coordinate information of the pixel point on the screen, so that the processing terminal can determine the position of the pixel point in the device to be debugged according to the coordinate information, and then perform debugging.
  • step S230 the parameter values of the pixels to be debugged are adjusted in the positive and negative adjustment directions respectively, according to the adjusted pixel values of the pixels in the to-be-debugged picture and the corresponding pixels in the reference picture The difference between the pixel values of , determines the target adjustment direction of the pixel point to be debugged, and the target adjustment direction includes positive adjustment and negative adjustment.
  • the parameter value of the pixel to be debugged may be a parameter value related to the display of the pixel to be debugged. By editing the parameter value, the display effect of the pixel to be debugged can be adjusted.
  • the parameter value may include but not limited to Color, Gamma value, exposure value, brightness or contrast, etc., so that the display effect of the pixels to be debugged can be adjusted by adjusting the above parameter values.
  • the processing terminal may adjust the parameter value corresponding to the pixel point to be debugged in the positive and negative adjustment directions respectively.
  • negative adjustment direction means decreasing the parameter value.
  • the processing terminal can adjust the parameter value of the pixel to be adjusted by a predetermined value in the positive and negative adjustment directions, respectively.
  • the parameter value of a pixel to be adjusted is C 1
  • the predetermined value is 1, then in the positive adjustment direction
  • the parameter value of the pixel to be adjusted is C 1 +1
  • the parameter value of the pixel to be adjusted is C 1 -1, and so on.
  • the above predetermined numerical values are only illustrative examples, and those skilled in the art can select the corresponding predetermined numerical values according to prior experience, which is not specifically limited in this application.
  • the image acquisition device can re-acquire the playback screen of the device to be debugged corresponding to different adjustment directions, as well as the playback screen of the reference device. It should be understood that , the content played by the device to be debugged should be the same as the content played by the reference device.
  • the processing terminal may compare the playback screen of the device to be debugged corresponding to different adjustment directions with the playback screen of the reference device, respectively, to determine the adjustment direction with better debugging effect as the target adjustment direction, and the target adjustment direction includes positive adjustment and negative adjustment. to adjust.
  • the processing terminal may calculate the difference between the pixel value of the pixel in the playback screen of the device to be debugged corresponding to different adjustment directions and the pixel value of the corresponding pixel in the playback screen of the reference device, and compare the difference between the two differences. The size of the absolute value. If the absolute value of the difference corresponding to the positive adjustment direction is less than or equal to the absolute value of the difference corresponding to the negative adjustment direction, the target adjustment direction is determined to be positive adjustment, that is, the parameter value is increased; otherwise, the target adjustment direction is determined to be negative. To adjust is to decrease the parameter value.
  • the processing terminal may use a picture quality debugging tool (PQ Tools) to adjust the pixel points to be debugged of the device to be debugged.
  • the image quality debugging tool can modify the color parameter (ie, the parameter value) corresponding to the pixel to be debugged according to the determined pixel to be debugged, so that the pixel to be debugged can have a better display effect.
  • step S240 according to the target adjustment direction, the parameter value of the pixel to be debugged is adjusted until the adjusted pixel value of the pixel in the to-be-debugged picture is the same as the adjusted pixel value.
  • the difference between the pixel values of the corresponding pixel points in the reference picture is less than the first threshold.
  • the processing terminal may adjust the parameter value of the pixel to be debugged according to the determined target adjustment direction. Specifically, in each debugging process, the processing terminal may adjust the parameter value of the pixel to be debugged by a predetermined value, and calculate the pixel value of the pixel in the picture to be debugged after each adjustment and the pixel value of the corresponding pixel in the reference picture. difference between.
  • the difference is smaller than the first threshold, it means that the display effect of the device to be debugged is similar to that of the reference device, and debugging can be stopped. Otherwise, based on the last debugging result, continue to adjust the parameter value of the pixel to be debugged to a predetermined value until the difference between the pixel value of the pixel in the adjusted picture to be debugged and the pixel value of the corresponding pixel in the reference picture is less than first threshold.
  • the first threshold may be a threshold used to define the upper limit of the difference between the pixel value of the pixel point in the device to be debugged and the pixel value of the corresponding pixel point in the reference device, and those skilled in the art can use prior experience , and set a corresponding first threshold to determine the debugging effect of the device to be debugged according to the first threshold.
  • the pixel points to be debugged in the picture to be debugged are determined according to the difference between the pixel value of the pixel point in the picture to be debugged and the pixel value of the corresponding pixel point in the reference picture. . and adjust the parameter values of the pixels to be debugged in the positive and negative adjustment directions respectively, so that according to the difference between the pixel values of the pixels in the adjusted picture to be debugged and the pixel values of the corresponding pixels in the reference picture, Determine the target adjustment direction of the pixel to be debugged.
  • the parameter value of the pixel to be debugged is adjusted according to the target adjustment direction until the difference between the adjusted pixel value of the pixel in the to-be-debugged picture and the pixel value of the corresponding pixel in the reference picture is less than the first threshold.
  • the target debugging direction of the pixels to be debugged is predetermined, and then the pixels to be debugged are adjusted, so as to avoid unwarranted adjustment methods, thereby improving the debugging efficiency of the screen.
  • debugging based on pixel points can improve the accuracy of debugging, thereby ensuring the debugging effect of the screen.
  • FIG. 3 shows a schematic flowchart of step S220 in the image quality debugging method of FIG. 2 according to an embodiment of the present application.
  • step S220 includes at least steps S310 to S320, and the details are as follows:
  • step S310 if the difference between the pixel value of the pixel in the to-be-debugged picture and the pixel value of the corresponding pixel in the reference picture is greater than or equal to a second threshold, the pixel is identified as to-be-debugged Pick pixels.
  • the second threshold may be preset by a technician, and the difference between the pixel value of the pixel in the to-be-debugged picture and the pixel value of the corresponding pixel in the reference picture is compared with the first threshold.
  • the two thresholds are compared. If the difference is greater than or equal to the second threshold, it means that the difference between the two is large, and the pixel can be identified as the pixel to be selected. If the difference is less than the second threshold, it means The difference between the two is small, and this pixel does not need to be adjusted.
  • step S320 according to a predetermined selection rule, the to-be-selected pixel points are selected from the to-be-selected pixel points as the to-be-debugged pixel points.
  • the processing terminal may select the pixels to be selected from the pixels to be selected as the pixels to be debugged according to a predetermined selection rule.
  • the selection rule may be preset by a technician, and is used to select the pixel point to be debugged from the pixel point to be selected.
  • the processing terminal may randomly select a predetermined number of pixels to be selected from the pixels to be selected as the pixels to be debugged. For example, the processing terminal may randomly select 400 pixels to be selected from the pixels to be selected as the pixels to be debugged. pixels, etc. In another example, the processing terminal may also randomly select a predetermined proportion of the pixels to be selected from the pixels to be selected as the pixels to be debugged according to the number of pixels to be selected, for example, the number of pixels to be selected is 4000, If the predetermined ratio is 20%, the processing terminal may randomly select 800 (4000*20%) pixels to be selected from the pixels to be selected as pixels to be debugged, and so on.
  • determining the pixels to be selected can ensure the accuracy of the determined pixels to be selected and avoid errors in identifying the pixels to be selected.
  • the pixels to be debugged are selected from the pixels to be selected based on a preset selection rule, and the pixels to be selected can be selected based on prior experience to ensure the validity of the pixels to be debugged.
  • FIG. 4 shows a schematic flowchart of step S320 in the image quality debugging method of FIG. 3 according to an embodiment of the present application.
  • step S320 includes at least steps S410 to S420, and the details are as follows:
  • step S410 the to-be-selected pixel points are arranged in the order of the corresponding difference values from small to large to obtain a to-be-selected pixel point set.
  • the processing terminal may arrange the pixels to be selected in ascending order of the corresponding differences to obtain a set of pixels to be selected. It should be understood that in the set of pixels to be selected, the smaller the corresponding difference value is, the higher the arrangement order of the to-be-selected pixel points is, and the larger the corresponding difference value is, the later the arrangement order of the to-be-selected pixel points is.
  • step S420 according to the pre-set common ratio isometric sequence, from the to-be-selected pixel point set, select the to-be-selected pixel point corresponding to the value of the proportional sequence as the to-be-debugged pixel point.
  • the processing terminal may select, from the set of pixels to be selected, the pixel to be selected at a position corresponding to the numerical value of the proportional sequence as the to-be-selected pixel according to the equal-ratio sequence with a preset common ratio.
  • Debug pixels For example, if the preset common ratio is 2, then the ratio sequence is [ 1 , 2, 4, 8, 16, .
  • the pixel to be selected at the position corresponding to the numerical value of the proportional sequence is used as the pixel to be debugged, that is, the first, second, fourth, eighth, ..., 2n-1 pixel to be selected is selected as the pixel to be debugged, and so on.
  • the preset common ratio can be any value, such as 2, 3, or 4, etc.
  • Those skilled in the art can select the corresponding common ratio value according to actual implementation needs, for example, when the number of pixels to be selected is small , a smaller common value such as 2 can be selected, and if the number of pixels to be selected is large, a larger common value such as 3 or 4 can be selected, which is not specially limited in this application.
  • the to-be-selected pixel points are arranged in the order of the corresponding difference values from small to large, and the to-be-selected pixel points with the corresponding smaller difference values may be arranged first. Therefore, when selecting the pixels to be debugged, the pixels to be selected with smaller corresponding differences can be preferentially selected as the pixels to be debugged, and the pixels to be selected with smaller differences are preferentially debugged, so as to make the pixels with smaller differences to be debugged.
  • the parameter value of the selected pixel point can quickly reach the target value.
  • setting a smaller common ratio (such as 2 or 3, etc.) can improve the efficiency of subsequent debugging while ensuring the selection accuracy.
  • a set of pixels to be selected is obtained by arranging the pixels to be selected according to the corresponding difference values from small to large, and according to the pre-set equal ratio sequence of common ratios, from the pixels to be selected Selecting the pixel point to be selected at the position corresponding to the value of the proportional sequence in the selected pixel point set as the pixel point to be debugged, it can also avoid the particularity of the selected pixel point to be debugged. Selecting a certain amount of pixels to be selected as pixels to be debugged ensures the validity of the pixels to be debugged.
  • FIG. 5 shows a schematic flowchart of step S240 in the image quality debugging method of FIG. 2 according to an embodiment of the present application.
  • step S240 includes at least steps S510 to S540, and the details are as follows:
  • step S510 according to the target adjustment direction, the first predetermined step size and the second predetermined step size, the parameter value of the pixel to be debugged is adjusted to obtain a value corresponding to the first predetermined step size.
  • the processing terminal may adjust the parameter values of the pixels to be debugged according to the target adjustment direction and the preset first predetermined step size and the second predetermined step size, respectively, so as to obtain the same value as the first predetermined step size.
  • the first predetermined step size and the second predetermined step size are used to indicate the adjustment range of the parameter value of the pixel to be debugged each time.
  • the parameter value of the pixel point is adjusted by +2 or -2. If the first predetermined step size is 3, according to the target adjustment direction, the parameter value of the pixel point to be debugged is adjusted by +3 or -3 each time, and so on.
  • the first predetermined step size is not equal to the second predetermined step size, and the first predetermined step size is smaller than the second predetermined step size.
  • the first predetermined step size may be 1, and the second predetermined step size may be 5. Etc., the above are only exemplary examples, which are not specifically limited in the present application.
  • step S520 according to the difference between the pixel value of the pixel in the first debugging picture and the pixel value of the corresponding pixel in the reference picture, and the difference between the pixel value of the pixel in the second debugging picture and the pixel value of the pixel in the second debugging picture The difference between the pixel values of the corresponding pixel points in the reference picture is determined, and the debugging picture with the smaller difference is determined as the target debugging picture.
  • the processing terminal may calculate the pixel value of the pixel in the first debugging picture according to the first debugging picture and the second debugging picture corresponding to the first predetermined step size and the second predetermined step size and the difference between the pixel value of the corresponding pixel in the reference picture, and the difference between the pixel value of the pixel in the second debugging picture and the pixel value of the corresponding pixel in the reference picture.
  • the first debugging screen may be determined as the target debugging screen, and otherwise, the second debugging screen may be determined as the target debugging screen.
  • the processing terminal may calculate the difference between the pixel value of each pixel in the first debugging picture and the pixel value of the corresponding pixel in the reference picture, and calculate the difference corresponding to each pixel. Add up to obtain the difference sum corresponding to the first debugging screen, and similarly calculate the difference sum corresponding to the second debugging screen, and compare the two difference sums to determine the difference and the smaller debugging screen Debug the screen for the target.
  • the processing terminal may also compare the maximum value of the difference between the pixel value of the pixel point in the first debugging picture and the pixel value of the corresponding pixel point in the reference picture, and the pixel point in the second debugging picture The maximum value of the difference between the pixel value of , and the pixel value of the corresponding pixel in the reference picture. If the maximum value of the difference corresponding to the first debugging screen is smaller than the maximum value of the difference corresponding to the second debugging screen, the first debugging screen is determined as the target debugging screen; otherwise, the second debugging screen is determined as the target debugging screen.
  • the processing terminal can select the debugging screen with the smaller absolute value of the difference as the target debugging screen.
  • the difference corresponding to the first debugging screen is -7
  • the The difference value corresponding to the second debugging screen is 5. Since
  • step S530 if the difference between the pixel value of the pixel in the target debugging picture and the pixel value of the corresponding pixel in the reference picture is less than the first threshold, the debugging is stopped.
  • the difference between the pixel value of the pixel in the target debugging picture and the pixel value of the corresponding pixel in the reference picture is less than the first threshold, it means that the display effect of the target debugging picture is the same as the reference picture.
  • the display effect of the screen is similar, so you can stop debugging.
  • step S540 if the difference between the pixel value of the pixel in the target debugging picture and the pixel value of the corresponding pixel in the reference picture is greater than or equal to the first threshold, then according to the first predetermined
  • the step size and the second predetermined step size repeat the above adjustment steps for the target debugging object, until the difference between the pixel value of the pixel point in the adjusted target debugging picture and the pixel value of the corresponding pixel point in the reference picture is The value is less than the first threshold.
  • the difference between the pixel value of the pixel in the target debugging picture and the pixel value of the corresponding pixel in the reference picture is greater than or equal to the first threshold, it indicates the display effect of the target debugging picture
  • the display effect of the reference screen is quite different, so it is necessary to continue debugging on the target debugging screen.
  • the processing terminal may continue to adjust the target debugging screen according to the first predetermined step size and the second predetermined step size, and obtain again the first debugging screen and the second debugging screen corresponding to the first predetermined step size and the second predetermined step size, respectively, And compare the two debugging screens after debugging again to determine the difference between the display effects of the two debugging screens and the reference screen.
  • the specific comparison method please refer to the comparison method for determining the target debugging screen above, which will not be repeated here. Repeat.
  • each subsequent adjustment should be adjusted based on the debugging result of the previous adjustment, so that each adjustment can approach the display effect of the reference picture.
  • the parameter value of a pixel to be debugged in the target debugging screen is A
  • the first predetermined step is 2
  • the target adjustment direction is forward adjustment
  • the first predetermined step is The corresponding parameter value of the pixel to be adjusted is A+2
  • the parameter value of the pixel to be adjusted corresponding to the first predetermined step size should be A+4, and so on.
  • the above description takes the debugging screen corresponding to the first predetermined step as the target debugging screen as an example. If the debugging screen corresponding to the second predetermined step is the target debugging screen, correspondingly, it should be adjusted based on the second predetermined step. to adjust the parameter value.
  • the processing terminal calculates the difference between the pixel value of the pixel in the target debugging picture and the pixel value of the corresponding pixel in the reference picture, and compares the difference with the first threshold, If the difference is less than the first threshold, it means that the display effect of the target debugging screen is similar to that of the reference screen, and debugging can be stopped. Then, the parameter value of the pixel point of the target debugging screen determined last time is determined as the parameter value of the corresponding pixel point of the device to be debugged, so that the display effect of the device to be debugged is similar to that of the reference device.
  • the equipment to be debugged is adjusted respectively, and the debugging screen with better adjustment effect is selected as the basis for the next adjustment. This can quickly approach the display effect of the reference picture, thereby improving the debugging efficiency of image quality.
  • the method also includes:
  • the difference between the pixel value of the pixel in the target debugging picture and the pixel value of the corresponding pixel in the to-be-debugged picture, and the pixel value of the pixel in the reference picture corresponding to the to-be-debugged picture determines the ratio between the two;
  • the processing terminal may calculate the difference between the pixel value of the pixel in the target debugging picture and the pixel value of the corresponding pixel in the picture to be debugged, and the difference between the pixel value in the reference picture and the pixel value in the reference picture.
  • the difference between the pixel value and the pixel value of the corresponding pixel in the picture to be debugged can be used to indicate the difference between the target debugging picture after the current debugging and the undebugged to-be-debugged picture.
  • the image quality of the debugging screen shows the difference, and the difference can also be used to indicate the debugging effect after the current debugging.
  • the difference between the pixel value of the pixel point in the reference picture and the pixel value of the corresponding pixel point in the picture to be debugged can be used to represent the total difference between the picture to be debugged and the ideal picture.
  • the processing terminal may divide the difference between the target debugging picture and the to-be-debugged picture by the difference between the reference picture and the to-be-debugged picture, so as to determine the ratio between the two difference values .
  • the ratio value can represent the ratio of the current debugging effect to the total gap. When the ratio value is closer to 1, it means that after the current debugging, the image quality display effect of the target debugging screen and the display effect of the reference screen are better. near.
  • the processing terminal may compare the proportional value with a preset proportional threshold, where the proportional threshold may be threshold information used to define the upper limit of the debugging degree of each debugging.
  • the processor can compare the proportional value with the proportional threshold. If the proportional value is greater than or equal to the proportional threshold, it means that the debugging level of this debugging is greater than the upper limit of the debugging level of each debugging. In the next debugging, it may appear In the case of over-adjustment, that is, the difference in image quality between the target debugging picture and the to-be-debugged picture after the next debugging exceeds the total difference between the reference picture and the to-be-debugged picture. Therefore, the processing terminal can reduce the first predetermined step size and the second predetermined step size, so as to reduce the degree of debugging in the next debugging, so as to avoid the situation of excessive adjustment.
  • the processing terminal can increase the first predetermined step size and the second predetermined step size. Thus, the debugging effect in the next debugging is increased, so as to improve the debugging efficiency.
  • the proportional threshold may be determined according to the number of times of debugging, for example, the proportional threshold may be (1/2) n , where n is the number of times of debugging. After the first tuning, the proportional threshold is 1/2, after the second tuning, the proportional threshold is 1/4 or (1/2) 2 , and so on. In this way, the processing terminal can control the degree of debugging of each debugging within the proportional threshold as much as possible, so that on the basis of improving the debugging efficiency, it can avoid the occurrence of over-adjustment.
  • the proportional threshold can be (1/3) n , (1/4) n etc. , which is not specifically limited in this application.
  • the processing terminal when the processing terminal increases or decreases the first predetermined step size and the second predetermined step size, the processing may be performed according to the predetermined adjustment step size, that is, when increasing or decreasing the first predetermined step size or the second predetermined step size.
  • the adjustment step size can be added or subtracted from the first predetermined step size and the second predetermined step size.
  • the first predetermined step size obtained after adjusting the step size is 7, that is, 5+2. If the first predetermined step size is reduced, the first predetermined step size obtained is 3, that is, 5-2, and so on.
  • the processing terminal increases or decreases the first predetermined step size and the second predetermined step size, and may also use Newton approximation method, steepest descent method, gradient descent method, or least squares method, etc.
  • the step size and the second predetermined step size are processed to obtain the updated first predetermined step size and the second predetermined step size for use in the next debugging, thereby improving the debugging efficiency of the image quality.
  • FIG. 6 shows a schematic flowchart of step S230 in the image quality debugging method of FIG. 2 according to an embodiment of the present application.
  • step S230 includes at least steps S610 to S630, and the details are as follows:
  • step S610 the parameter value of the pixel to be debugged is modified to an initial value.
  • the processing terminal may use an image quality debugging tool to debug the device to be debugged, wherein the image quality debugging tool is provided with a color parameter (ie parameter value) corresponding to each pixel for adjusting each pixel.
  • the color parameter can contain multiple adjustment points that can be adjusted.
  • the processing terminal can use the image quality debugging tool to set each adjustment point in the color parameter of the pixel to be debugged to the default initial value, for example If the initial value is 0, the image quality debugging tool can set the parameters of each adjustment point in the color parameters of the pixel to be debugged to 0, and so on.
  • step S620 the parameter value of the pixel to be debugged is adjusted by a predetermined value in the positive and negative adjustment directions, respectively, to obtain a first test picture and a second test picture corresponding to the positive and negative adjustment directions respectively .
  • the processing terminal can adjust the parameter value of the pixel to be debugged by a predetermined value in the positive and negative adjustment directions.
  • the predetermined value is 2 and the parameter value is 0.
  • Adjust the parameter value in the negative adjustment direction the parameter value corresponding to the positive adjustment direction is +2
  • the parameter value corresponding to the negative adjustment direction is -2, and so on.
  • step S630 according to the difference between the pixel value of the pixel point in the first test picture and the pixel value of the corresponding pixel point in the reference picture, and the difference between the pixel value of the pixel point in the second test picture and the pixel value of the pixel point in the second test picture.
  • the difference between the pixel values of the corresponding pixel points in the reference picture determines the target adjustment direction of the pixel point to be debugged.
  • the processing terminal may calculate the difference between the pixel value of the pixel point in the first test picture and the pixel value of the corresponding pixel point in the reference picture, and the pixel value of the pixel point in the second test picture.
  • the display effect is relatively close to that of the reference picture. Therefore, the positive adjustment corresponding to the first test picture is determined as the target adjustment direction, otherwise, the negative adjustment corresponding to the second test picture is determined as the target adjustment direction.
  • the parameter values corresponding to the pixels to be debugged are modified to the initial values in advance, which can prevent the original parameter values of the pixels to be debugged from affecting the determination of the target adjustment direction, so that the determined target The adjustment is more accurate.
  • the target adjustment direction is determined based on the differences between the first test picture and the second test picture and the reference picture, which ensures the accuracy of the target adjustment direction and improves the adjustment efficiency.
  • the parameter value of the pixel to be debugged is adjusted according to the target adjustment direction until the adjusted value of the pixel to be debugged After the difference between the pixel value of the pixel point in the picture and the pixel value of the corresponding pixel point in the reference picture is less than the first threshold, the method further includes:
  • the structural similarity and the edge retention index between the picture to be debugged and the reference picture are calculated.
  • the structural similarity can be used to measure the similarity between the image to be debugged and the reference image.
  • the range of the structural similarity is [-1, 1].
  • the structural similarity can be calculated according to the following formula (taking image x and image y as examples):
  • ⁇ x is the mean of x
  • ⁇ y is the mean of y
  • ⁇ x 2 is the variance of x
  • ⁇ y 2 is the variance of y
  • ⁇ xy is the covariance of x and y
  • c 1 (k 1 L) 2
  • L refers to the dynamic range of pixel values
  • the edge retention index can be used to describe the retention capability of the image to be debugged on the edge of the reference image. It should be understood that the higher the edge retention index, the higher the retention capability of the image to be debugged on the edge of the reference image, that is, the edge retention capability of the image to be debugged is higher. The display effect is better. Specifically, the edge retention index of the picture to be debugged can be calculated according to the following formula:
  • m is the number of pixel points in the image
  • G R1 and G R2 represent the pixel values of the left and right or upper and lower adjacent pixel points, respectively.
  • the degree of difference between the picture to be debugged and the reference picture can be objectively described, and the debugging of the device to be debugged can be objectively evaluated to achieve Ensure the accuracy of the evaluation of the debugging effect.
  • the structural similarity and edge retention between the to-be-debugged picture and the reference picture are calculated according to the adjusted picture to be debugged and the reference picture After the indexing, the method further includes:
  • Calculation is performed according to the adjusted picture to be debugged and the structural similarity, and a color image quality measure corresponding to the adjusted picture to be debugged is determined.
  • the color image quality measure can be used to describe the image quality of the adjusted picture to be debugged.
  • the screen to be debugged can be divided into edge, texture and flat areas according to the content. Since the gradient amplitude values of the three areas have a law of decreasing in turn, we can use the magnitude of the amplitude value to divide the screen to be debugged into the above three areas. area. After the screen to be debugged is partitioned, the following formula can be used to construct an index map for each area corresponding to the reference screen and the screen to be debugged:
  • the edge area has the greatest impact on perception, the texture is second, and the flat area is the lowest, the similarity of the three areas obtained on the screen is weighted and summed to form a color image quality measure:
  • the value range of S-CBM is [0, 1], and the closer the result is to 1, the better the quality of the picture.
  • the user or technician can objectively know the debugging effect of the adjusted image to be debugged, so as to determine whether the debugging of the screen is successful.
  • FIG. 7 shows a block diagram of an apparatus for debugging image quality according to an embodiment of the present application.
  • an apparatus for debugging image quality includes:
  • the acquiring module 710 is configured to acquire the to-be-debugged picture of the device to be debugged and the reference picture of the reference device, the to-be-debugged picture and the reference picture are generated by the device to be debugged and the reference device playing the same video content at the same time;
  • a pixel point determination module 720 configured to determine a pixel point to be debugged in the picture to be debugged according to the difference between the pixel value of the pixel point in the picture to be debugged and the pixel value of the corresponding pixel point in the reference picture ;
  • a direction determination module 730 configured to adjust the parameter values of the pixels to be debugged in the positive and negative adjustment directions respectively, according to the adjusted pixel values of the pixels in the to-be-debugged picture corresponding to those in the reference picture The difference between the pixel values of the pixel points determines the target adjustment direction of the pixel point to be debugged, and the target adjustment direction includes positive adjustment and negative adjustment;
  • An adjustment module 740 configured to adjust the parameter value of the pixel to be debugged according to the target adjustment direction, until the adjusted pixel value of the pixel in the to-be-debugged picture corresponds to the reference picture The difference between the pixel values of the pixel points is smaller than the first threshold.
  • FIG. 8 shows a schematic diagram of a framework of an image quality debugging system according to an embodiment of the present application.
  • the image quality debugging system includes:
  • the video signal source 810 is used to deliver the same content to the device to be debugged and the reference device through the screen splitter;
  • the picture obtaining device 820 is used for obtaining the picture to be debugged of the device to be debugged and the reference picture of the reference device;
  • an image quality debugging device 830 configured to debug the device to be debugged according to the picture to be debugged and the reference picture;
  • the system can execute the above-mentioned image quality debugging method.
  • the system can execute the above-mentioned image quality debugging method.
  • the video signal source 810 may include an input source, a screen splitter, a device to be debugged, and a reference device.
  • the input source may be a DVD, a VCD, or a projector. Send video signals with the reference device to ensure the synchronization of the playback content of the device to be debugged and the reference device.
  • the picture obtaining device 820 may obtain the playing pictures of the device to be debugged and the reference device, obtain the picture to be debugged and the reference picture, and send the picture to be debugged and the reference picture to the picture quality debugging device 830 .
  • the image quality debugging device can use the above-mentioned image quality debugging method of the present application to debug the device to be debugged, so that the device to be debugged can have a better display effect, improve the debugging efficiency of the screen, and ensure the debugging effect of the screen.
  • FIG. 9 shows a schematic structural diagram of a computer system suitable for implementing the electronic device according to the embodiment of the present application.
  • the computer system includes a central processing unit (Central Processing Unit, CPU) 901, which can be loaded into random access according to a program stored in a read-only memory (Read-Only Memory, ROM) 902 or from a storage part 908
  • the program in the memory (Random Access Memory, RAM) 903 performs various appropriate actions and processes, such as performing the methods described in the above embodiments.
  • RAM 903 Random Access Memory
  • various programs and data required for system operation are also stored.
  • the CPU 901, the ROM 902, and the RAM 903 are connected to each other through a bus 904.
  • An Input/Output (I/O) interface 905 is also connected to the bus 904 .
  • the following components are connected to the I/O interface 905: an input section 906 including a keyboard, a mouse, etc.; an output section 907 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc. ; a storage part 908 including a hard disk, etc.; and a communication part 909 including a network interface card such as a LAN (Local Area Network) card, a modem, and the like.
  • the communication section 909 performs communication processing via a network such as the Internet.
  • a drive 910 is also connected to the I/O interface 905 as needed.
  • a removable medium 911 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is mounted on the drive 910 as needed so that a computer program read therefrom is installed into the storage section 908 as needed.
  • embodiments of the present application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program comprising a computer program for performing the method illustrated in the flowchart.
  • the computer program may be downloaded and installed from the network via the communication portion 909, and/or installed from the removable medium 911.
  • CPU central processing unit
  • the computer-readable medium shown in the embodiments of the present application may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two.
  • the computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above.
  • Computer readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Erasable Programmable Read Only Memory (EPROM), flash memory, optical fiber, portable Compact Disc Read-Only Memory (CD-ROM), optical storage device, magnetic storage device, or any suitable of the above The combination.
  • a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying a computer-readable computer program therein.
  • Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device .
  • a computer program embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
  • each block in the flowchart or block diagram may represent a module, program segment, or part of code, and the above-mentioned module, program segment, or part of code contains one or more executables for realizing the specified logical function instruction.
  • the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
  • the units involved in the embodiments of the present application may be implemented in software or hardware, and the described units may also be provided in a processor. Among them, the names of these units do not constitute a limitation on the unit itself under certain circumstances.
  • the present application also provides a computer-readable medium.
  • the computer-readable medium may be included in the electronic device described in the above embodiments; it may also exist alone without being assembled into the electronic device. middle.
  • the above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by an electronic device, enables the electronic device to implement the methods described in the above-mentioned embodiments.
  • the exemplary embodiments described herein may be implemented by software, or may be implemented by software combined with necessary hardware. Therefore, the technical solutions according to the embodiments of the present application may be embodied in the form of software products, and the software products may be stored in a non-volatile storage medium (which may be CD-ROM, U disk, mobile hard disk, etc.) or on the network , which includes several instructions to cause a computing device (which may be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the embodiments of the present application.
  • a computing device which may be a personal computer, a server, a touch terminal, or a network device, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Quality & Reliability (AREA)
  • Debugging And Monitoring (AREA)

Abstract

本申请的实施例提供了一种图像画质的调试方法、装置、系统及电子设备。该方法包括:获取待调试设备的待调试画面以及参考设备的参考画面;根据所述待调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值,确定所述待调试画面中的待调试像素点;将所述待调试像素点的参数值分别在正、负调节方向上进行调节,根据调节后的所述待调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值,确定所述待调试像素点的目标调节方向;根据所述目标调节方向,对所述待调试像素点的所述参数值进行调节。本申请实施例的技术方案可以提高图像画质的调试效率,并保证图像画质的调试效果。

Description

图像画质的调试方法、装置、系统及电子设备 技术领域
本申请涉及显示设备调试技术领域,具体而言,涉及一种图像画质的调试方法、装置、系统及电子设备。
背景技术
在使用数字电视之前,需要对显示设备呈现的画质进行校调,以保证屏幕的显示效果,提升用户体验。在目前的技术方案中,图像的画质调试主要依靠手动进行调试,调试过程繁琐,且调试效果较差。因此,如何提高图像画质的调试效率,保证图像画质的调试效果成为了亟待解决的技术问题。
发明内容
本申请的实施例提供了一种图像画质的调试方法、装置、系统及电子设备,进而至少在一定程度上可以提高屏幕的调试效率,并保证屏幕的调试效果。
本申请的其他特性和优点将通过下面的详细描述变得显然,或部分地通过本申请的实践而习得。
根据本申请实施例的一个方面,提供了一种图像画质的调试方法,该方法包括:
获取待调试设备的待调试画面以及参考设备的参考画面,所述待调试画面和所述参考画面由所述待调试设备和所述参考设备同时播放相同视频内容而生成;
根据所述待调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值,确定所述待调试画面中的待调试像素点;
将所述待调试像素点的参数值分别在正、负调节方向上进行调节,根据调节后的所述待调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值,确定所述待调试像素点的目标调节方向,所述目 标调节方向包括正向调节和负向调节;
根据所述目标调节方向,对所述待调试像素点的所述参数值进行调节,直至调节后的所述待调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值小于第一阈值。
在本申请一些示例性实施例中,基于前述方案,根据所述待调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值,确定所述待调试画面中的待调试像素点,包括:若所述待调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值大于或等于第二阈值,则将所述像素点识别为待挑选像素点;按照预定的挑选规则,从所述待挑选像素点中选取待挑选像素点以作为待调试像素点。
在本申请一些示例性实施例中,基于前述方案,按照预定的挑选规则,从所述待挑选像素点中选取待挑选像素点以作为待调试像素点,包括:将所述待挑选像素点按照对应的差值从小到大的顺序进行排列,得到待挑选像素点集合;根据预先设定公比的等比数列,从所述待挑选像素点集合中,选取与所述等比数列的数值相对应位置的待挑选像素点作为待调试像素点。
在本申请一些示例性实施例中,基于前述方案,根据所述目标调节方向,对所述待调试像素点的所述参数值进行调节,直至调节后的所述待调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值小于第一阈值,包括:根据所述目标调节方向、第一预定步长以及第二预定步长,对所述待调试像素点的所述参数值进行调节,得到与所述第一预定步长对应的第一调试画面和与所述第二预定步长对应的第二调试画面,所述第一预定步长小于所述第二预定步长;根据所述第一调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值,以及所述第二调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值,确定差值较小的调试画面为目标调试画面;若所述目标调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值小于第一阈值,则停止调试;若所述目标调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值大于或等于所述第一阈值,则根据所述第一预定步长以及所述第二预定步长对所述目标调试画面重复上述调节步骤,直至调节后的目标调试画面中像素点的像素值与所述 参考画面中对应像素点的像素值之间的差值小于所述第一阈值。
在本申请一些示例性实施例中,基于前述方案,所述根据所述第一调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值,以及所述第二调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值,确定差值较小的调试画面为目标调试画面之后,还包括:根据所述目标调试画面中像素点的像素值与所述待调试画面中对应像素点的像素值之间的差值,以及所述参考画面中像素点的像素值与所述待调试画面中对应像素点的像素值之间的差值,确定二者之间的比例值;若所述比例值大于或等于预先设定的比例阈值,减小所述第一预定步长和所述第二预定步长,得到更新后的所述第一预定步长和所述第二预定步长;若所述比例值小于所述比例阈值,增大所述第一预定步长和所述第二预定步长,得到更新后的所述第一预定步长和所述第二预定步长。
在本申请一些示例性实施例中,基于前述方案,将所述待调试像素点的参数值在各调节方向上进行调节,根据调节后的所述待调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值,确定所述待调试像素点的目标调节方向,包括:将所述待调试像素点的参数值修改为初始值;分别在正、负调节方向上对所述待调试像素点的所述参数值调节预定数值,得到与所述正、负调节方向分别对应的第一测试画面和第二测试画面;根据所述第一测试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值,以及所述第二测试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值,确定所述待调试像素点的目标调节方向。
在本申请一些示例性实施例中,基于前述方案,在根据所述目标调节方向,对所述待调试像素点的所述参数值进行调节,直至调节后的所述待调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值小于第一阈值之后,所述方法还包括:根据调节后的所述待调试画面以及所述参考画面,计算所述待调试画面与所述参考画面之间的结构相似度和边缘保持指数。
在本申请一些示例性实施例中,基于前述方案,在根据调节后的所述待调试画面以及所述参考画面,计算所述待调试画面与所述参考画面之间的结构相似度和边缘保持指数之后,所述方法还包括:根据调节后的所述 待调试画面以及所述结构相似度进行计算,确定调节后的所述待调试画面对应的彩色图像质量测度。
根据本申请实施例的一个方面,提供了一种图像画质的调试装置,该装置包括:
获取模块,用于获取待调试设备的待调试画面以及参考设备的参考画面,所述待调试画面和所述参考画面由所述待调试设备和所述参考设备同时播放相同视频内容而生成;
像素点确定模块,用于根据所述待调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值,确定所述待调试画面中的待调试像素点;
方向确定模块,用于将所述待调试像素点的参数值分别在正、负调节方向上进行调节,根据调节后的所述待调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值,确定所述待调试像素点的目标调节方向,所述目标调节方向包括正向调节和负向调节;
调节模块,用于根据所述目标调节方向,对所述待调试像素点的所述参数值进行调节,直至调节后的所述待调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值小于第一阈值。
根据本申请实施例的一个方面,提供了一种图像画质的调试系统,该系统包括:
视频信号源,用于通过分屏器向待调试设备和参考设备投放相同视频内容;
画面获取装置,用于获取所述待调试设备的待调试画面和所述参考设备的参考画面;
画质调试装置,其用于根据所述待调试画面和所述参考画面,对所述待调试设备进行调试;
其中,所述系统能够执行如上所述的图像画质的调试方法。
根据本申请实施例的一个方面,提供了一种计算机可读介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如上述实施例中所述的图像画质的调试方法。
根据本申请实施例的一个方面,提供了一种电子设备,包括:一个或多个处理器;存储装置,用于存储一个或多个程序,当所述一个或多个程 序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如上述实施例中所述的图像画质的调试方法。
在本申请的一些实施例所提供的技术方案中,通过获取待调试设备的待调试画面以及参考设备的参考画面,该待调试画面和参考画面由待调试设备和参考设备同时播放相同视频内容而生成,根据待调试画面中像素点的像素值与参考画面中对应像素点的像素值之间的差值,确定待调试画面中的待调试像素点,将待调试像素点的参数值分别在正、负调节方向上进行调节,根据调节后的待调试画面中像素点的像素值与参考画面中对应像素点的像素值之间的差值,确定待调试像素点的目标调节方向,该目标调节方向包括正向调节和负向调节,再根据目标调节方向,对待调试像素点的参数值进行调节,直至调节后的待调试画面中像素点的像素值与参考画面中对应像素点的像素值之间的差值小于第一阈值。由此,通过预先确定待调试像素点的目标调节方向,再对待调试像素点进行调节,可以避免无根据的调节方式,进而提高调试效率,同时基于像素点进行调试,可以提高调试的精确度,进而保证图像画质的调试效果。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。在附图中:
图1示出了可以应用本申请实施例的技术方案的示例性系统架构的示意图。
图2示出了根据本申请的一个实施例的图像画质的调试方法的流程示意图。
图3示出了根据本申请的一个实施例的图2的图像画质的调试方法中步骤S220的流程示意图。
图4示出了根据本申请的一个实施例的图3的图像画质的调试方法中步骤S320的流程示意图。
图5示出了根据本申请的一个实施例的图2的图像画质的调试方法中步骤S240的流程示意图。
图6示出了根据本申请的一个实施例的图2的图像画质的调试方法中步骤S230的流程示意图。
图7示出了根据本申请的一个实施例的图像画质的调试装置的框图。
图8示出了根据本申请的一个实施例的图像画质的调试系统的框架示意图。
图9示出了适于用来实现本申请实施例的电子设备的计算机系统的结构示意图。
具体实施方式
现在将参考附图更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的范例;相反,提供这些实施方式使得本申请将更加全面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。
此外,所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施例中。在下面的描述中,提供许多具体细节从而给出对本申请的实施例的充分理解。然而,本领域技术人员将意识到,可以实践本申请的技术方案而没有特定细节中的一个或更多,或者可以采用其它的方法、组元、装置、步骤等。在其它情况下,不详细示出或描述公知方法、装置、实现或者操作以避免模糊本申请的各方面。
附图中所示的方框图仅仅是功能实体,不一定必须与物理上独立的实体相对应。即,可以采用软件形式来实现这些功能实体,或在一个或多个硬件模块或集成电路中实现这些功能实体,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。
附图中所示的流程图仅是示例性说明,不是必须包括所有的内容和操作/步骤,也不是必须按所描述的顺序执行。例如,有的操作/步骤还可以分解,而有的操作/步骤可以合并或部分合并,因此实际执行的顺序有可能根 据实际情况改变。
图1示出了可以应用本申请实施例的技术方案的示例性系统架构的示意图。
如图1所示,系统架构可以包括参考设备110、至少一个待调试设备120、画面获取装置130以及处理终端140。
其中,画面获取装置130可以与处理终端140通过网络进行连接,该网络可以包括各种连接类型,例如有线通信链路、无线通信链路等等。该画面获取装置130可以是任意具有图像获取功能和数据传输功能的设备,例如照相机、智能手机、平板电脑或者便携式电脑等。处理终端140可以是智能手机、平板电脑、便携式电脑、台式电脑、服务器或者云服务器中的一种或多种,本申请对此不作任何特殊限定。
需要说明的,参考设备110和待调试设备120可以是显示屏或者投影仪等具有图像播放功能的设备。
在一具体应用场景中,参考设备110和待调试设备120可以同时播放相同内容,画面获取装置130可以获取参考设备110以及待调试设备120的同一帧播放画面,即参考画面和待调试画面。处理终端140可以接收该待调试画面和参考画面,并根据待调试画面中像素点的像素值与参考画面中对应像素点的像素值之间的差值,确定待调试画面中的待调试像素点。
在确定待调试像素点之后,处理终端140将待调试像素点的参数值分别在正、负调节方向上进行调节,根据调节后的待调试画面中像素点的像素值与参考画面中对应像素点的像素值之间的差值,确定待调试像素点的目标调节方向,该目标调节方向包括正向调节和负向调节,再根据目标调节方向,对待调试像素点的参数值进行调节,直至调节后的待调试画面中像素点的像素值与参考画面中对应像素点之间的差值小于第一阈值,以完成调试。
以下对本申请实施例的技术方案的实现细节进行详细阐述:
图2示出了根据本申请的一个实施例的图像画质的调试方法的流程示意图。参照图2所示,该图像画质的调试方法至少包括步骤S210至步骤S240,详细介绍如下:
在步骤S210中,获取待调试设备的待调试画面以及参考设备的参考画面,所述待调试画面和所述参考画面由所述待调试设备和所述参考设备播放相同内容而生成。
其中,待调试设备可以是需要进行调试的屏幕或者投影仪等具有图像播放功能的电子设备。应该理解的,新安装的待调试设备未经过调试,显示或者画质无法达到最佳的显示效果,因此需要对新安装的待调试设备进行调试,以达到更好的显示效果。
参考设备可以是由专业人员预先调试好的屏幕或者投影仪等具有图像播放功能的电子设备,因此可以将参考设备的画面作为调试的依据,从而对待调试设备进行调试,以优化待调试设备的显示效果。
在本申请一示例性实施例中,以下以待调试设备和参考设备为屏幕为例进行说明,可以通过视频信号源例如DVD(Digital Video Disc,高密度数字视频光盘)、VCD(Video Compact Disc,影音光碟)或者投影机等向待调试设备和参考设备投放相同的内容,以使待调试设备和参考设备能够播放相同的内容。图像获取装置可以获取正在播放相同内容的待调试设备的待调试画面以及参考设备的参考画面。由此,根据播放相同内容的待调试画面以及参考画面进行调试,可以保证后续调试的有效性。在一示例中,视频信号源可以通过分屏器分别与待调试设备和参考设备进行连接,从而保证待调试设备和参考设备所播放内容的同步性。
在本申请的其他示例性实施例中,也可以采用截图的方式以获取待调试设备和参考设备的播放画面,进而得到待调试画面和参考画面,本领域技术人员可以根据实际实现需要,选取对应的画面获取方式,本申请对此不作特殊限定。
在步骤S220中,根据所述待调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值,确定所述待调试画面中的待调试像素点。
在本申请一示例性实施例中,处理终端根据接收到的待调试画面和参考画面,可以将待调试画面中像素点的像素值与参考画面中对应像素点的像素值进行比较。应该理解的,若待调试画面中像素点的像素值与参考画 面中对应像素点的像素值之间的差值过大,则表示该像素点的显示效果差别较大,因此,需要对该像素点进行调试;若差值较小,则表示该像素点的显示效果与参考画面中对应像素点的显示效果相近,可以不用进行调试。
具体地,处理终端可以将待调试画面中像素点的像素值与参考画面中对应像素点的像素值的差值与预先设定的第二阈值进行比较,若差值大于或等于第二阈值,则表示该像素点差异过大,需要对其进行调试,因此将其作为待调试像素点,而若差值小于第二阈值,则表示差异较小,无需进行调试。
需要说明的,所确定的待调试像素点应包含该像素点在屏幕中的坐标信息,以便于处理终端根据该坐标信息确定该像素点在待调试设备中的位置,进而进行调试。
在步骤S230中,将所述待调试像素点的参数值分别在正、负调节方向上进行调节,根据调节后的所述待调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值,确定所述待调试像素点的目标调节方向,所述目标调节方向包括正向调节和负向调节。
其中,待调试像素点的参数值可以是与待调试像素点的显示相关的参数值,通过编辑该参数值,即可调节该待调试像素点的显示效果,例如该参数值可以包括但不限于颜色、Gamma值、曝光值、亮度或者对比度等,由此可以通过调节上述参数值从而调节待调试像素点的显示效果。
在本申请一示例性实施例中,处理终端根据所确定的待调试像素点,可以将该待调试像素点对应的参数值分别在正、负调节方向上进行调节,需要说明的,正调节方向即表示增大参数值,负调节方向则表示减小参数值。具体地,处理终端可以将待调试像素点的参数值分别在正、负调节方向上调节预定数值,例如某一待调节像素点的参数值为C 1,预定数值为1,则在正调节方向进行调节后,该待调试像素点的参数值为C 1+1,在负调节方向上进行调节后,该待调试像素点的参数值为C 1-1,等等。以上预定数值仅为示例性举例,本领域技术人员可以根据在先经验,选取对应的预定数值,本申请对此不作特殊限定。
处理终端在正、负调节方向上对待调试像素点的参数值分别进行调节后,图像获取装置可以重新获取对应于不同调节方向的待调试设备的播放画面,以及参考设备的播放画面,应该理解的,待调试设备所播放的内容应与参考设备的播放内容相同。
处理终端可以将对应于不同调节方向的待调试设备的播放画面与参考设备的播放画面分别进行对比,以确定调试效果较好的调节方向作为目标调节方向,该目标调节方向包括正向调节和负向调节。
具体地,处理终端可以分别计算对应于不同调节方向的待调试设备的播放画面中像素点的像素值与参考设备的播放画面中对应像素点的像素值的差值,并比较两个差值的绝对值的大小。若对应于正调节方向的差值的绝对值小于或等于对应负调节方向的差值的绝对值,则确定目标调节方向为正向调节即增大参数值,反之,则确定目标调节方向为负向调节即减小参数值。
在本申请一示例性实施例中,处理终端可以采用画质调试工具(PQ Tools)对待调试设备的待调试像素点进行调节。画质调试工具可以根据所确定的待调试像素点,修改该待调试像素点对应的颜色参数(即参数值),以使待调试像素点能够具有更佳的显示效果。
请继续参考图2,在步骤S240中,根据所述目标调节方向,对所述待调试像素点的所述参数值进行调节,直至调节后的所述待调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值小于第一阈值。
在本申请一示例性实施例中,处理终端可以根据所确定的目标调节方向,对待调试像素点的参数值进行调节。具体地,在每一次调试过程中,处理终端可以对待调试像素点的参数值调节预定数值,并计算每一次调节后的待调试画面中像素点的像素值与参考画面中对应像素点的像素值之间的差值。
若该差值小于第一阈值,则表示待调试设备的显示效果与参考设备的显示效果相近,可以停止调试。否则,基于上一次的调试结果,继续对待调试像素点的参数值调节预定数值,直至调节后的待调试画面中像素点的 像素值与参考画面中对应像素点的像素值之间的差值小于第一阈值。
需要说明的,该第一阈值可以是用于限定待调试设备中像素点的像素值与参考设备中对应像素点的像素值之间的差值上限的阈值,本领域技术人员可以根据在先经验,设定对应的第一阈值,以根据该第一阈值确定待调试设备的调试效果。
由此,在图2所示的实施例中,通过根据待调试画面中像素点的像素值与参考画面中对应像素点的像素值之间的差值,确定待调试画面中的待调试像素点。并将待调试像素点的参数值分别在正、负调节方向上进行调节,以根据调节后的待调试画面中像素点的像素值与参考画面中对应像素点的像素值之间的差值,确定待调试像素点的目标调节方向。进而根据该目标调节方向对待调试像素点的参数值进行调节,直至调节后的待调试画面中像素点的像素值与参考画面中对应像素点的像素值之间的差值小于第一阈值。
由此,预先确定待调试像素点的目标调试方向,再对待调试像素点进行调节,以避免无根据的调节方式,进而提高屏幕的调试效率。同时,基于像素点进行调试,可以提高调试的精确度,进而保证屏幕的调试效果。
基于图2所示的实施例,图3示出了根据本申请的一个实施例的图2的图像画质的调试方法中步骤S220的流程示意图。参照图3所示,步骤S220至少包括步骤S310至步骤S320,详细介绍如下:
在步骤S310中,若所述待调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值大于或等于第二阈值,则将所述像素点识别为待挑选像素点。
在本申请一示例性实施例中,第二阈值可以是由技术人员预先设定的,将待调试画面中像素点的像素值与参考画面中对应像素点的像素值之间的差值与第二阈值进行比较,若该差值大于或等于第二阈值,则表示二者之间的差异较大,可以将该像素点识别为待挑选像素点,若该差值小于第二阈值,则表示二者之间的差异较小,该像素点无需进行调节。
在步骤S320中,按照预定的挑选规则,从所述待挑选像素点中选取待挑选像素点以作为待调试像素点。
在本申请一示例性实施例中,根据所确定的待挑选像素点,处理终端可以根据预定的挑选规则,从待挑选像素点中选取待挑选像素点以作为待调试像素点。其中,挑选规则可以是由技术人员预先设定的,用以从待挑选像素点中挑选待调试像素点的规则。
在一示例中,处理终端可以从待挑选像素点中随机挑选预定数量的待挑选像素点作为待调试像素点,例如处理终端可以从待挑选像素点中随机挑选400个待挑选像素点作为待调试像素点,等等。在另一示例中,处理终端也可以根据待挑选像素点的数量,从待挑选像素点中随机选取预定比例的待挑选像素点作为待调试像素点,例如待挑选像素点的数量为4000个,预定比例为20%,则处理终端可以从待挑选像素点中随机选取800(4000*20%)个待挑选像素点作为待调试像素点,等等。
应该理解的,本领域技术人员也可以设定其他的挑选规则,以从待挑选像素点中挑选出待调试像素点,本申请对此不作特殊限定。
由此,在图3所示的实施例中,通过将待调试画面中像素点的像素值与参考画面中对应像素点的像素值之间的差值与预先设定的第二阈值进行比较,从而确定待挑选像素点,可以保证所确定的待挑选像素点的精确度,避免待挑选像素点识别错误。同时,基于预先设定的挑选规则从待挑选像素点中挑选待调试像素点,则可以基于在先经验对待挑选像素点进行选取,保证待调试像素点的有效性。
基于图2和图3所示的实施例,图4示出了根据本申请的一个实施例的图3的图像画质的调试方法中步骤S320的流程示意图。参照图4所示,步骤S320至少包括步骤S410至步骤S420,详细介绍如下:
在步骤S410中,将所述待挑选像素点按照对应的差值从小到大的顺序进行排列,得到待挑选像素点集合。
在本申请一示例性实施例中,根据待挑选像素点对应的差值,处理终端可以将待挑选像素点按照对应的差值从小到大的顺序进行排列,从而得到待挑选像素点集合。应该理解的,在待挑选像素点集合中,对应差值越小的待挑选像素点排列顺序越靠前,对应差值越大的待挑选像素点排列顺序越靠后。
在步骤S420中,根据预先设定公比的等比数列,从所述待挑选像素点集合中,选取与所述等比数列的数值相对应位置的待挑选像素点作为待调试像素点。
在本申请一示例性实施例中,处理终端可以根据已经预先设定公比的等比数列,从待挑选像素点集合中,选取与等比数列的数值相对应位置的待挑选像素点作为待调试像素点。例如预先设定的公比为2,则该等比数列为[1,2,4,8,16,……,2 n-1],由此,处理终端可以从待挑选像素点集合中选取与等比数列的数值相对应位置的待挑选像素点作为待调试像素点,即挑选第1个、第2个、第4个、第8个、…,第2 n-1个待挑选像素点作为待调试像素点,等等。
需要说明的,预先设定的公比可以是任意数值,例如2、3或者4等,本领域技术人员可以根据实际实现需要,选择对应的公比数值,例如待挑选像素点的数量较少时,可以选择较小的公比如2,若待挑选像素点的数量较多时,可以选择较大的公比如3或4等,本申请对此不作特殊限定。
需要说明的,将待挑选像素点按照对应的差值从小到大的顺序进行排列,可以将对应的差值较小的待挑选像素点排列在前。从而在挑选待调试像素点时,可以优先选择对应差值较小的待挑选像素点作为待调试像素点,优先对差值较小的待挑选像素点进行调试,以使差值较小的待挑选像素点的参数值能够快速达到目标值。同时,设置较小的公比(例如2或3等),可以在保证选取精度的情况下提高后续的调试效率。
在图4所示的实施例中,通过将待挑选像素点按照对应的差值从小到大的顺序进行排列,得到待挑选像素点集合,并根据预先设定公比的等比数列,从待挑选像素点集合中选取与等比数列的数值相对应位置的待挑选像素点作为待调试像素点,还可以避免所选取的待调试像素点的特殊性,从而能够在不同大小的差值中均选取一定量的待挑选像素点作为待调试像素点,保证了待调试像素点的有效性。
基于图2所示的实施例,图5示出了根据本申请的一个实施例的图2的图像画质的调试方法中步骤S240的流程示意图。参照图5所示,步骤S240至少包括步骤S510至步骤S540,详细介绍如下:
在步骤S510中,根据所述目标调节方向、第一预定步长以及第二预定步长,对所述待调试像素点的所述参数值进行调节,得到与所述第一预定步长对应的第一调试画面和与所述第二预定步长对应的第二调试画面,所述第一预定步长小于所述第二预定步长。
在本申请一示例性实施例中,处理终端可以根据目标调节方向以及预先设定的第一预定步长和第二预定步长,分别对待调试像素点的参数值进行调节,从而得到与第一预定步长对应的第一调试画面和与第二预定步长对应的第二调试画面。
需要说明的,第一预定步长和第二预定步长用以表示每次对待调试像素点的参数值的调节幅度,例如第一预定步长为2,则根据目标调节方向,每次对待调试像素点的参数值进行+2或-2的调节,若第一预定步长为3,则根据目标调节方向,每次对待调试像素点的参数值进行+3或-3的调节,等等。
应该理解的,第一预定步长与第二预定步长并不相等,且第一预定步长小于第二预定步长,例如第一预定步长可以为1,第二预定步长为5,等等,以上仅为示例性举例,本申请对此不作特殊限定。
在步骤S520中,根据所述第一调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值,以及所述第二调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值,确定差值较小的调试画面为目标调试画面。
在本申请一示例性实施例中,处理终端可以根据第一预定步长和第二预定步长对应的第一调试画面和第二调试画面,计算所述第一调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值,以及所述第二调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值。
并将二者进行比较,若与第一调试画面所对应的差值小于第二调试画面所对应的差值,则表示第一调试画面更接近于参考画面的显示效果,即第一调试画面的调试效果更优。因此,可以将第一调试画面确定为目标调试画面,反之,则确定第二调试画面为目标调试画面。
在本申请一示例性实施例中,处理终端可以计算第一调试画面中每个像素点的像素值与参考画面中对应像素点的像素值的差值,并将每个像素点对应的差值进行相加,从而得到第一调试画面对应的差值和,同理计算得到第二调试画面对应的差值和,并将两个差值和进行比较,从而确定差值和较小的调试画面为目标调试画面。
在另一示例性实施例中,处理终端也可以比较第一调试画面中像素点的像素值与参考画面中对应像素点的像素值的差值中的最大值,以及第二调试画面中像素点的像素值与参考画面中对应像素点的像素值的差值中的最大值。若第一调试画面对应的差值的最大值小于第二调试画面对应的差值的最大值,则确定第一调试画面为目标调试画面;反之,确定第二调试画面为目标调试画面。
此外,若第一调试画面中像素点的像素值与参考画面中对应像素点的像素值之间的差值与第二调试画面中像素点的像素值与参考画面中对应像素点的像素值之间的差值为异号,即一正一负的情况,则处理终端可以选择差值的绝对值较小的调试画面为目标调试画面,例如第一调试画面对应的差值为-7,第二调试画面对应的差值为5,由于|-7|>5,因此,应选择第二调试画面为目标调试画面,等等。
在步骤S530中,若所述目标调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值小于第一阈值,则停止调试。
在本申请一示例性实施例中,若目标调试画面中像素点的像素值与参考画面中对应像素点的像素值之间的差值小于第一阈值,则表示目标调试画面的显示效果与参考画面的显示效果相近,因此可以停止调试。
在步骤S540中,若所述目标调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值大于或等于所述第一阈值,则根据所述第一预定步长以及所述第二预定步长对所述目标调试对象重复上述调节步骤,直至调节后的目标调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值小于所述第一阈值。
在本申请一示例性实施例中,若目标调试画面中像素点的像素值与参考画面中对应像素点的像素值之间的差值大于或等于第一阈值,则表示目 标调试画面的显示效果与参考画面的显示效果差距较大,因此需要对目标调试画面继续进行调试。
处理终端可以根据第一预定步长和第二预定步长继续对目标调试画面进行调节,再次得到与第一预定步长和第二预定步长分别对应的第一调试画面和第二调试画面,并根据再次调试后的两个调试画面进行比较,以确定两个调试画面中与参考画面的显示效果的差异大小,具体地比较方式可以参照上文确定目标调试画面的比较方式,在此不再赘述。
应该理解的,之后的每一次调节都应基于上一次调节的调试结果进行调节,从而使每次调节都能够趋近于参考画面的显示效果。例如上一次调节后目标调试画面中某一待调试像素点的参数值为A,第一预定步长为2,目标调节方向为正向调节,则在本次调节后,第一预定步长所对应的该待调试像素点的参数值为A+2;在下一次调节后,第一预定步长所对应的该待调节像素点的参数值应为A+4,等等。以上以第一预定步长所对应的调试画面为目标调试画面为例进行说明,若第二预定步长所对应的调试画面为目标调试画面,则相应地,应基于第二预定步长调节后的参数值进行调节。
由此,经过每次调节之后,处理终端都会计算目标调试画面中像素点的像素值与参考画面中对应像素点的像素值之间的差值,并将该差值与第一阈值进行比较,若差值小于第一阈值,则表示目标调试画面的显示效果与参考画面的显示效果相近,可以停止调试。再将最后一次所确定的目标调试画面的像素点的参数值确定为待调试设备的对应像素点的参数值,以使待调试设备的显示效果与参考设备的显示效果相近。
在图5所示的实施例中,通过预先设定第一预定步长和第二预定步长,分别对待调试设备进行调节,从中选取调节效果更好的调试画面作为下一次调节的基础,由此可以快速趋近于参考画面的显示效果,进而提高了图像画质的调试效率。
基于图2和图5所示的实施例,在本申请一示例性实施例中,所述根据所述第一调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值,以及所述第二调试画面中像素点的像素值与所述参考画 面中对应像素点的像素值之间的差值,确定差值较小的调试画面为目标调试画面之后,所述方法还包括:
根据所述目标调试画面中像素点的像素值与所述待调试画面中对应像素点的像素值之间的差值,以及所述参考画面中像素点的像素值与所述待调试画面中对应像素点的像素值之间的差值,确定二者之间的比例值;
若所述比例值大于或等于预先设定的比例阈值,减小所述第一预定步长和所述第二预定步长,得到更新后的所述第一预定步长和所述第二预定步长;
若所述比例值小于所述比例阈值,增大所述第一预定步长和所述第二预定步长,得到更新后的所述第一预定步长和所述第二预定步长。
在该实施例中,在确定目标调试画面之后,处理终端可以计算目标调试画面中像素点的像素值与待调试画面中对应像素点的像素值之间的差值,以及参考画面中像素点的像素值与待调试画面中对应像素点的像素值之间的差值。应该理解的,目标调试画面中像素点的像素值与待调试画面中对应像素点的像素值之间的差值,该差值可以用于表示目标调试画面在当前调试之后与未经调试的待调试画面的画质显示差异,该差值也可以用于表示经过当前调试之后的调试效果。而参考画面中像素点的像素值与待调试画面中对应像素点的像素值之间的差值,则可以用于表示待调试画面与理想画面之间的总差距。
处理终端在计算出两个差值之后,可以将目标调试画面与待调试画面之间的差值除以参考画面与待调试画面之间的差值,从而确定两个差值之间的比例值。应该理解的,该比例值可以表示当前调试效果占总差距的比例,当该比例值越接近于1时,则表示经过当前调试之后,目标调试画面的画质显示效果与参考画面的显示效果越接近。
处理终端可以将该比例值与预先设定的比例阈值进行比较,该比例阈值可以是用于限定每次调试的调试程度上限的阈值信息。处理器可以将该比例值与该比例阈值进行比较,若该比例值大于或等于该比例阈值,则表示本次调试的调试程度大于每次调试的调试程度上限,在下次调试时,可能会出现过度调节的情况,即在下次调试之后的目标调试画面与待调试画 面之间的画质差异超出了参考画面与待调试画面之间的总差异。因此,处理终端可以减小第一预定步长和第二预定步长,从而降低在下次调试时的调试程度,以避免出现过度调节的情况。
若该比例值小于该比例阈值,则表示本次调试的调试程度较小,为了更快的达到参考画面的画质显示效果,处理终端可以增大第一预定步长和第二预定步长,从而增大在下次调试时的调试效果,以提高调试效率。
在一示例中,该比例阈值可以根据调试的次数进行确定,例如,该比例阈值可以为(1/2) n,其中,n为调试的次数。在第一次调试之后,该比例阈值为1/2,在第二次调试之后,该比例阈值为1/4即(1/2) 2,等等。由此,处理终端可以将每次调试的调试程度尽量控制在该比例阈值之内,从而在提高调试效率的基础上,又能够避免出现过度调节的情况发生。
需要说明的,以上数字仅为示例性举例,本领域技术人员可以根据在先经验设定对应的比例阈值,例如该比例阈值可以为,(1/3) n、(1/4) n等等,本申请对此不作特殊限定。
在一示例中,处理终端增大或者减小第一预定步长和第二预定步长,可以是按照预定的调节步长进行处理,即在增大或者减小第一预定步长或者第二预定步长时,将该第一预定步长和第二预定步长增加或者减去该调节步长即可,例如第一预定步长为5,调节步长为2,则在增大第一调节步长后所得到的的第一预定步长为7,即5+2,若减小第一预定步长后所得到的第一预定步长为3,即5-2,等等。
在另一示例中,处理终端增大或者减小第一预定步长和第二预定步长,也可以采用牛顿逼近法、最速下降法、梯度下降法或者最小二乘法等方法,对第一预定步长和第二预定步长进行处理,从而得到更新后的第一预定步长和第二预定步长,以备下次调试使用,进而提高画质的调试效率。
基于图2所示的实施例,图6示出了根据本申请的一个实施例的图2的图像画质的调试方法中步骤S230的流程示意图。参照图6所示,步骤S230至少包括步骤S610至步骤S630,详细介绍如下:
在步骤S610中,将所述待调试像素点的参数值修改为初始值。
在本申请一示例性实施例中,处理终端可以采用画质调试工具对待调试设备进行调试,其中,画质调试工具对应于每一像素点均设有颜色参数(即参数值)以供调节每一像素点的显示效果。该颜色参数中可以包含多个可供调节的调节点,在进行调试之前,处理终端可以通过画质调试工具将待调试像素点的颜色参数中每个调节点均置为默认的初始值,例如初始值为0,则画质调试工具可以将待调试像素点的颜色参数中的每个调节点的参数均置为0,等等。
在步骤S620中,分别在正、负调节方向上对所述待调试像素点的所述参数值调节预定数值,得到与所述正、负调节方向分别对应的第一测试画面和第二测试画面。
在本申请一示例性实施例中,处理终端可以在正、负调节方向上分别对待调试像素点的参数值调节预定数值,例如预定数值为2,参数值为0,则处理终端可以分别在正、负调节方向上对该参数值进行调节,与正调节方向对应的参数值为+2,与负调节方向对应的参数值为-2,等等。由此,根据在两个调节方向上调节后的参数值,可以得到与正、负调节方向分别对应的第一测试画面和第二测试画面。
在步骤S630中,根据所述第一测试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值,以及所述第二测试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值,确定所述待调试像素点的目标调节方向。
在本申请一示例性实施例中,处理终端可以计算第一测试画面中像素点的像素值与参考画面中对应像素点的像素值之间的差值,以及第二测试画面中像素点的像素值与参考画面中对应像素点的像素值之间的差值,并将二者进行比较,若第一测试画面对应的差值小于第二测试画面对应的差值,则表示第一测试画面的显示效果与参考画面的显示效果较为接近,因此,将第一测试画面所对应的正向调节确定为目标调节方向,反之则确定第二测试画面所对应的负向调节为目标调节方向。
由此,在图6所示的实施例中,预先将待调试像素点对应的参数值修改为初始值,可以避免待调试像素点原本的参数值影响目标调节方向的确 定,使得所确定的目标调节更加准确。同时,基于第一测试画面以及第二测试画面与参考画面之间的差异性,确定目标调节方向,保证了目标调节方向的准确性,提高了调节效率。
基于图2所示的实施例,在本申请一示例性实施例中,在根据所述目标调节方向,对所述待调试像素点的所述参数值进行调节,直至调节后的所述待调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值小于第一阈值之后,所述方法还包括:
根据调节后的所述待调试画面以及所述参考画面,计算所述待调试画面与所述参考画面之间的结构相似度和边缘保持指数。
其中,结构相似度可以用于衡量待调试画面与参考画面的相似性的指标,结构相似度的范围为[-1,1],当两张图像一模一样时,也即两张图像的各个对应像素的数值也分别相等时,结构相似度的值等于1。具体的,结构相似度可以根据下列公式进行计算(以图像x和图像y为例):
Figure PCTCN2021143860-appb-000001
其中,μ x是x的平均值,μ y是y的平均值,σ x 2是x的方差,σ y 2是y的方差,σ xy是x和y的协方差,c 1=(k 1L) 2、c 2=(k 2L) 2是用来维持稳定的常数,L指像素值的动态范围,k 1=0.01,k 2=0.03。
边缘保持指数可以用于描述待调试画面对参考画面的边缘的保持能力,应该理解的,边缘保持指数越高,则表示待调试画面对参考画面的边缘的保持能力越高,即待调试画面的显示效果越好。具体地,可以根据以下公式计算待调试画面的边缘保持指数:
Figure PCTCN2021143860-appb-000002
其中,m为图像中像素点的个数,G R1、G R2分别表示左右或者上下相邻像素点的像素值。
由此,在该实施例中,通过计算待调试画面的结构相似度和边缘保持指数,能够客观的描述待调试画面与参考画面之间的差异程度,对待调试设备的调试进行客观的评价,以保证调试效果的评价的准确性。
基于上述实施例,在申请一示例性实施例中,在根据调节后的所述待调试画面以及所述参考画面,计算所述待调试画面与所述参考画面之间的结构相似度和边缘保持指数之后,所述方法还包括:
根据调节后的所述待调试画面以及所述结构相似度进行计算,确定调节后的所述待调试画面对应的彩色图像质量测度。
在该实施例中,彩色图像质量测度可以用于描述调节后的待调试画面的图像质量。
具体地,将待调试画面可按照内容可以划为边缘、纹理和平坦区域,由于三种区域的梯度幅度值具有依次降低的规律,因此我们可以用幅度值的大小来对待调试画面划分为上述三个区域。在对待调试画面进行分区后,可以对参考画面和待调试画面对应的每个区域利用下述公式构造索引图:
Figure PCTCN2021143860-appb-000003
Figure PCTCN2021143860-appb-000004
与SSIM中的结构相似度s(x,y)相比,s’(x,y)中包含的画面的结构信息与s(x,y)是完全一样的,这样做可以使其值域从[-1,1]变成[0,1],便于接下来进行各个区域的信息融合。由于各个区域中每一点的SSIM’均可被看成是此区域内一个表征图像失真程度的信息源,可以采用模糊积分策略来对其进行融合。令M={m i=SSIM'(x i,y i)|i=1,2,…N}为某一区域SSIM'索引图中所有点的集合,则集合M的整体结构相似度为:
Figure PCTCN2021143860-appb-000005
由此就可以分别得到边缘、纹理和平坦区域的相似度:RSIM(E),RSIM(T)和RSIM(F)。
考虑到边缘区域对感知的影响最大,纹理次之,平坦区域最低,对画面得到的三个区域的相似度分别进行加权求和,以形成彩色图像质量测度:
Figure PCTCN2021143860-appb-000006
S-CBM=ω 1·CBM L2·CBM C
其中,S-CBM的值的范围为[0,1],结果越接近1代表画面的质量越好。
由此,通过计算调节后的待调试画面的彩色图像质量测度,用户或者技术人员可以客观地知晓调节后的待调试画面的调试效果,以确定屏幕的调试是否成功。
以下介绍本申请的装置实施例,可以用于执行本申请上述实施例中的图像画质的调试方法。对于本申请装置实施例中未披露的细节,请参照本申请上述的图像画质的调试方法的实施例。
图7示出了根据本申请的一个实施例的图像画质的调试装置的框图。
参照图7所示,根据本申请的一个实施例的图像画质的调试装置,包括:
获取模块710,用于获取待调试设备的待调试画面以及参考设备的参考画面,所述待调试画面和所述参考画面由所述待调试设备和所述参考设备同时播放相同视频内容而生成;
像素点确定模块720,用于根据所述待调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值,确定所述待调试画面中的待调试像素点;
方向确定模块730,用于将所述待调试像素点的参数值分别在正、负调节方向上进行调节,根据调节后的所述待调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值,确定所述待调试像素点的目标调节方向,所述目标调节方向包括正向调节和负向调节;
调节模块740,用于根据所述目标调节方向,对所述待调试像素点的所述参数值进行调节,直至调节后的所述待调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值小于第一阈值。
基于上述实施例,图8示出了根据本申请的一个实施例的图像画质的调试系统的框架示意图。
参照图8所示,该图像画质的调试系统,包括:
视频信号源810,用于通过分屏器向待调试设备和参考设备投放相同内容;
画面获取装置820,用于获取所述待调试设备的待调试画面和所述参 考设备的参考画面;
画质调试装置830,其用于根据所述待调试画面和所述参考画面,对所述待调试设备进行调试;
其中,所述系统能够执行如上所述的图像画质的调试方法,对于本申请系统实施例中未披露的细节,请参照本申请上述的图像画质的调试方法的实施例。
在该实施例中,视频信号源810可以包括输入源、分屏器、待调试设备和参考设备,输入源可以是DVD、VCD或者投影仪等,输入源可以通过分屏器同时向待调试设备和参考设备发送视频信号,从而保证待调试设备和参考设备的播放内容的同步。
画面获取装置820可以获取待调试设备和参考设备的播放画面,得到待调试画面和参考画面,并将待调试画面和参考画面发送至画质调试装置830。画质调试装置则可以使用本申请上述的图像画质的调试方法对待调试设备进行调试,以使待调试设备能够具有更好的显示效果,提高了屏幕的调试效率,并保证屏幕的调试效果。
图9示出了适于用来实现本申请实施例的电子设备的计算机系统的结构示意图。
需要说明的是,图9示出的电子设备的计算机系统仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。
如图9所示,计算机系统包括中央处理单元(Central Processing Unit,CPU)901,其可以根据存储在只读存储器(Read-Only Memory,ROM)902中的程序或者从储存部分908加载到随机访问存储器(Random Access Memory,RAM)903中的程序而执行各种适当的动作和处理,例如执行上述实施例中所述的方法。在RAM 903中,还存储有系统操作所需的各种程序和数据。CPU 901、ROM 902以及RAM 903通过总线904彼此相连。输入/输出(Input/Output,I/O)接口905也连接至总线904。
以下部件连接至I/O接口905:包括键盘、鼠标等的输入部分906;包括诸如阴极射线管(Cathode Ray Tube,CRT)、液晶显示器(Liquid Crystal Display,LCD)等以及扬声器等的输出部分907;包括硬盘等的储 存部分908;以及包括诸如LAN(Local Area Network,局域网)卡、调制解调器等的网络接口卡的通信部分909。通信部分909经由诸如因特网的网络执行通信处理。驱动器910也根据需要连接至I/O接口905。可拆卸介质911,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器910上,以便于从其上读出的计算机程序根据需要被安装入储存部分908。
特别地,根据本申请的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本申请的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的计算机程序。在这样的实施例中,该计算机程序可以通过通信部分909从网络上被下载和安装,和/或从可拆卸介质911被安装。在该计算机程序被中央处理单元(CPU)901执行时,执行本申请的系统中限定的各种功能。
需要说明的是,本申请实施例所示的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、闪存、光纤、便携式紧凑磁盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本申请中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本申请中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的计算机程序。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发 送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的计算机程序可以用任何适当的介质传输,包括但不限于:无线、有线等等,或者上述的任意合适的组合。
附图中的流程图和框图,图示了按照本申请各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。其中,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,上述模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图或流程图中的每个方框、以及框图或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本申请实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现,所描述的单元也可以设置在处理器中。其中,这些单元的名称在某种情况下并不构成对该单元本身的限定。
作为另一方面,本申请还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被一个该电子设备执行时,使得该电子设备实现上述实施例中所述的方法。
应当注意,尽管在上文详细描述中提及了用于动作执行的设备的若干模块或者单元,但是这种划分并非强制性的。实际上,根据本申请的实施方式,上文描述的两个或更多模块或者单元的特征和功能可以在一个模块或者单元中具体化。反之,上文描述的一个模块或者单元的特征和功能可以进一步划分为由多个模块或者单元来具体化。
通过以上的实施方式的描述,本领域的技术人员易于理解,这里描述的示例实施方式可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本申请实施方式的技术方案可以以软件产品的形式 体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、触控终端、或者网络设备等)执行根据本申请实施方式的方法。
本领域技术人员在考虑说明书及实践这里公开的实施方式后,将容易想到本申请的其它实施方案。本申请旨在涵盖本申请的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本申请的一般性原理并包括本申请未公开的本技术领域中的公知常识或惯用技术手段。
应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本申请的范围仅由所附的权利要求来限制。

Claims (11)

  1. 一种图像画质的调试方法,其特征在于,包括:
    获取待调试设备的待调试画面以及参考设备的参考画面,所述待调试画面和所述参考画面由所述待调试设备和所述参考设备同时播放相同视频内容而生成;
    根据所述待调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值,确定所述待调试画面中的待调试像素点;
    将所述待调试像素点的参数值分别在正、负调节方向上进行调节,根据调节后的所述待调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值,确定所述待调试像素点的目标调节方向,所述目标调节方向包括正向调节和负向调节;
    根据所述目标调节方向,对所述待调试像素点的所述参数值进行调节,直至调节后的所述待调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值小于第一阈值。
  2. 根据权利要求1所述的方法,其特征在于,根据所述待调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值,确定所述待调试画面中的待调试像素点,包括:
    若所述待调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值大于或等于第二阈值,则将所述像素点识别为待挑选像素点;
    按照预定的挑选规则,从所述待挑选像素点中选取待挑选像素点以作为待调试像素点。
  3. 根据权利要求2所述的方法,其特征在于,按照预定的挑选规则,从所述待挑选像素点中选取待挑选像素点以作为待调试像素点,包括:
    将所述待挑选像素点按照对应的差值从小到大的顺序进行排列,得到待挑选像素点集合;
    根据预先设定公比的等比数列,从所述待挑选像素点集合中,选取与所述等比数列的数值相对应位置的待挑选像素点作为待调试像素点。
  4. 根据权利要求1所述的方法,其特征在于,根据所述目标调节方向,对所述待调试像素点的所述参数值进行调节,直至调节后的所述待调 试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值小于第一阈值,包括:
    根据所述目标调节方向、第一预定步长以及第二预定步长,对所述待调试像素点的所述参数值进行调节,得到与所述第一预定步长对应的第一调试画面和与所述第二预定步长对应的第二调试画面,所述第一预定步长小于所述第二预定步长;
    根据所述第一调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值,以及所述第二调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值,确定差值较小的调试画面为目标调试画面;
    若所述目标调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值小于第一阈值,则停止调试;
    若所述目标调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值大于或等于所述第一阈值,则根据所述第一预定步长以及所述第二预定步长对所述目标调试画面重复上述调节步骤,直至调节后的目标调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值小于所述第一阈值。
  5. 根据权利要求4所述的方法,其特征在于,所述根据所述第一调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值,以及所述第二调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值,确定差值较小的调试画面为目标调试画面之后,还包括:
    根据所述目标调试画面中像素点的像素值与所述待调试画面中对应像素点的像素值之间的差值,以及所述参考画面中像素点的像素值与所述待调试画面中对应像素点的像素值之间的差值,确定二者之间的比例值;
    若所述比例值大于或等于预先设定的比例阈值,减小所述第一预定步长和所述第二预定步长,得到更新后的所述第一预定步长和所述第二预定步长;
    若所述比例值小于所述比例阈值,增大所述第一预定步长和所述第二预定步长,得到更新后的所述第一预定步长和所述第二预定步长。
  6. 根据权利要求1所述的方法,其特征在于,将所述待调试像素点的 参数值在各调节方向上进行调节,根据调节后的所述待调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值,确定所述待调试像素点的目标调节方向,包括:
    将所述待调试像素点的参数值修改为初始值;
    分别在正、负调节方向上对所述待调试像素点的所述参数值调节预定数值,得到与所述正、负调节方向分别对应的第一测试画面和第二测试画面;
    根据所述第一测试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值,以及所述第二测试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值,确定所述待调试像素点的目标调节方向。
  7. 根据权利要求1所述的方法,其特征在于,在根据所述目标调节方向,对所述待调试像素点的所述参数值进行调节,直至调节后的所述待调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值小于第一阈值之后,所述方法还包括:
    根据调节后的所述待调试画面以及所述参考画面,计算所述待调试画面与所述参考画面之间的结构相似度和边缘保持指数。
  8. 根据权利要求7所述的方法,其特征在于,在根据调节后的所述待调试画面以及所述参考画面,计算所述待调试画面与所述参考画面之间的结构相似度和边缘保持指数之后,所述方法还包括:
    根据调节后的所述待调试画面以及所述结构相似度进行计算,确定调节后的所述待调试画面对应的彩色图像质量测度。
  9. 一种图像画质的调试装置,其特征在于,包括:
    获取模块,用于获取待调试设备的待调试画面以及参考设备的参考画面,所述待调试画面和所述参考画面由所述待调试设备和所述参考设备同时播放相同视频而生成;
    像素点确定模块,用于根据所述待调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值,确定所述待调试画面中的待调试像素点;
    方向确定模块,用于将所述待调试像素点的参数值分别在正、负调节方向上进行调节,根据调节后的所述待调试画面中像素点的像素值与所述 参考画面中对应像素点的像素值之间的差值,确定所述待调试像素点的目标调节方向,所述目标调节方向包括正向调节和负向调节;
    调节模块,用于根据所述目标调节方向,对所述待调试像素点的所述参数值进行调节,直至调节后的所述待调试画面中像素点的像素值与所述参考画面中对应像素点的像素值之间的差值小于第一阈值。
  10. 一种图像画质的调试系统,其特征在于,包括:
    视频信号源,用于通过分屏器向待调试设备和参考设备投放相同内容;
    画面获取装置,用于获取所述待调试设备的待调试画面和所述参考设备的参考画面;
    画质调试装置,其用于根据所述待调试画面和所述参考画面,对所述待调试设备进行调试;
    其中,所述系统能够执行如权利要求1-8中任一项所述的图像画质的调试方法。
  11. 一种电子设备,其特征在于,包括:
    一个或多个处理器;
    存储装置,用于存储一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如权利要求1至8中任一项所述的图像画质的调试方法。
PCT/CN2021/143860 2021-01-18 2021-12-31 图像画质的调试方法、装置、系统及电子设备 WO2022152002A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110064285.5 2021-01-18
CN202110064285.5A CN114862741A (zh) 2021-01-18 2021-01-18 图像画质的调试方法、装置、系统及电子设备

Publications (1)

Publication Number Publication Date
WO2022152002A1 true WO2022152002A1 (zh) 2022-07-21

Family

ID=82446894

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/143860 WO2022152002A1 (zh) 2021-01-18 2021-12-31 图像画质的调试方法、装置、系统及电子设备

Country Status (2)

Country Link
CN (1) CN114862741A (zh)
WO (1) WO2022152002A1 (zh)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030222262A1 (en) * 2002-04-08 2003-12-04 Kazuya Oda Solid-state image pick-up device and digital still camera
CN107610673A (zh) * 2017-09-26 2018-01-19 上海纬而视科技股份有限公司 显示设备的显示调整方法
CN110211548A (zh) * 2018-02-28 2019-09-06 华为技术有限公司 调整显示亮度的方法和电子设备
CN111131905A (zh) * 2019-12-30 2020-05-08 深圳Tcl数字技术有限公司 画质检测方法、装置、设备及存储介质
CN111163349A (zh) * 2020-02-20 2020-05-15 腾讯科技(深圳)有限公司 一种画质参数调校方法、装置、设备及可读存储介质
CN113270054A (zh) * 2021-05-17 2021-08-17 京东方科技集团股份有限公司 显示设备的画质检测、画质检测报告生成方法及装置设备
CN113610934A (zh) * 2021-08-10 2021-11-05 平安科技(深圳)有限公司 图像亮度调整方法、装置、设备及存储介质
CN113766341A (zh) * 2020-06-04 2021-12-07 深圳市万普拉斯科技有限公司 电视画质调整方法、装置和系统及电视机设备

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030222262A1 (en) * 2002-04-08 2003-12-04 Kazuya Oda Solid-state image pick-up device and digital still camera
CN107610673A (zh) * 2017-09-26 2018-01-19 上海纬而视科技股份有限公司 显示设备的显示调整方法
CN110211548A (zh) * 2018-02-28 2019-09-06 华为技术有限公司 调整显示亮度的方法和电子设备
CN111131905A (zh) * 2019-12-30 2020-05-08 深圳Tcl数字技术有限公司 画质检测方法、装置、设备及存储介质
CN111163349A (zh) * 2020-02-20 2020-05-15 腾讯科技(深圳)有限公司 一种画质参数调校方法、装置、设备及可读存储介质
CN113766341A (zh) * 2020-06-04 2021-12-07 深圳市万普拉斯科技有限公司 电视画质调整方法、装置和系统及电视机设备
CN113270054A (zh) * 2021-05-17 2021-08-17 京东方科技集团股份有限公司 显示设备的画质检测、画质检测报告生成方法及装置设备
CN113610934A (zh) * 2021-08-10 2021-11-05 平安科技(深圳)有限公司 图像亮度调整方法、装置、设备及存储介质

Also Published As

Publication number Publication date
CN114862741A (zh) 2022-08-05

Similar Documents

Publication Publication Date Title
US10692197B2 (en) Systems and techniques for automatic image haze removal across multiple video frames
CN110310356B (zh) 一种场景渲染方法和装置
US9727960B2 (en) Image processing method and apparatus
US20180359415A1 (en) Panoramic video processing method and device and non-transitory computer-readable medium
US10586308B2 (en) Digital media environment for removal of obstructions in a digital image scene
US10573017B2 (en) Depth estimation method and depth estimation apparatus of multi-view images
WO2020056903A1 (zh) 用于生成信息的方法和装置
WO2018210318A1 (zh) 图像虚化处理方法、装置、存储介质及电子设备
WO2019041842A1 (zh) 一种图像处理方法及装置、存储介质和计算机设备
CN109710865B (zh) 开放式自动布局方法、装置、电子设备和存储介质
WO2018210308A1 (zh) 图像虚化处理方法、装置、存储介质及电子设备
US20220092803A1 (en) Picture rendering method and apparatus, terminal and corresponding storage medium
WO2020001222A1 (zh) 图像处理方法、装置、计算机可读介质及电子设备
WO2024037556A1 (zh) 图像处理方法、装置、设备及存储介质
CN111031359B (zh) 视频播放方法、装置、电子设备和计算机可读存储介质
US8824778B2 (en) Systems and methods for depth map generation
US20190304072A1 (en) Method and apparatus for converting low dynamic range video to high dynamic range video
US20120070082A1 (en) Color correction for digital images
CN110928509A (zh) 显示控制方法、显示控制装置、存储介质、通信终端
WO2022152002A1 (zh) 图像画质的调试方法、装置、系统及电子设备
CN110213621B (zh) 带宽分配方法及装置
CN110213625B (zh) 带宽分配方法及装置
WO2023103682A1 (zh) 图像处理方法、装置、设备及介质
CN109308690B (zh) 一种图像亮度均衡方法及终端
CN114881889A (zh) 视频图像噪声评估方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21919189

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21919189

Country of ref document: EP

Kind code of ref document: A1