CN109616080B - Special-shaped screen contour compensation method and terminal - Google Patents

Special-shaped screen contour compensation method and terminal Download PDF

Info

Publication number
CN109616080B
CN109616080B CN201811631122.5A CN201811631122A CN109616080B CN 109616080 B CN109616080 B CN 109616080B CN 201811631122 A CN201811631122 A CN 201811631122A CN 109616080 B CN109616080 B CN 109616080B
Authority
CN
China
Prior art keywords
gray
edge
special
compensation
pixel point
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201811631122.5A
Other languages
Chinese (zh)
Other versions
CN109616080A (en
Inventor
不公告发明人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujian Huajiacai Co Ltd
Original Assignee
Fujian Huajiacai Co Ltd
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 Fujian Huajiacai Co Ltd filed Critical Fujian Huajiacai Co Ltd
Priority to CN201811631122.5A priority Critical patent/CN109616080B/en
Priority to CN202010520877.9A priority patent/CN111798810A/en
Publication of CN109616080A publication Critical patent/CN109616080A/en
Application granted granted Critical
Publication of CN109616080B publication Critical patent/CN109616080B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/02Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Image Processing (AREA)

Abstract

The invention provides a profile compensation and terminal for a special-shaped screen, which comprises the following components: after the special-shaped screen is lightened, capturing an image displayed on the special-shaped screen; respectively converting the images into gray scale images corresponding to a plurality of gray scales to obtain a plurality of gray scale images; acquiring a plurality of preset gray scale images of the special-shaped screen, wherein the preset gray scale images correspond to the gray scale images one by one; and obtaining compensation data corresponding to image edge pixel points under different gray scales according to the plurality of gray scale images and the plurality of preset gray scale images, and sending the compensation data to a compensation circuit corresponding to the special-shaped screen so as to realize data compensation of profile display of the special-shaped screen. The invention solves the problems that the compensation mode in the prior art cannot be compatible with the special-shaped screens with different shapes and the compensation effect is poor.

Description

Special-shaped screen contour compensation method and terminal
Technical Field
The invention relates to the technical field of data processing, in particular to a special-shaped screen contour compensation method and a terminal.
Background
At present, various special-shaped screens with various shapes are layered on the market, such as a water drop screen, a beauty tip, an AA hole and the like, as shown in figure 1.
Since the cutting edges have irregular shapes due to different shapes, as shown in fig. 2, if a circle formula or other methods are used, the edge saw teeth which do not conform to the rules cannot be compensated, so the edge saw teeth phenomenon still occurs after the compensation by the method, and the compensation effect is not good. And the same compensation mode cannot be compatible with different special-shaped screens.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the invention provides a contour compensation method and a terminal which are good in compensation effect and can be suitable for different special-shaped screens.
In order to solve the technical problem, the invention provides a profile compensation method for a special-shaped screen, which comprises the following steps:
s1: after the special-shaped screen is lightened, capturing an image displayed on the special-shaped screen;
s2: respectively converting the images into gray scale images corresponding to a plurality of gray scales to obtain a plurality of gray scale images; acquiring a plurality of preset gray scale images of the special-shaped screen, wherein the preset gray scale images correspond to the gray scale images one by one;
s3: and obtaining compensation data corresponding to image edge pixel points under different gray scales according to the plurality of gray scale images and the plurality of preset gray scale images, and sending the compensation data to a compensation circuit corresponding to the special-shaped screen so as to realize data compensation of profile display of the special-shaped screen.
The invention provides a profile compensation terminal for a special-shaped screen, which comprises a memory, a processor and a computer program which is stored on the memory and can be run on the processor, wherein the processor executes the computer program to realize the following steps:
s1: after the special-shaped screen is lightened, capturing an image displayed on the special-shaped screen;
s2: respectively converting the images into gray scale images corresponding to a plurality of gray scales to obtain a plurality of gray scale images; acquiring a plurality of preset gray scale images of the special-shaped screen, wherein the preset gray scale images correspond to the gray scale images one by one;
s3: and obtaining compensation data corresponding to image edge pixel points under different gray scales according to the plurality of gray scale images and the plurality of preset gray scale images, and sending the compensation data to a compensation circuit corresponding to the special-shaped screen so as to realize data compensation of profile display of the special-shaped screen.
The invention has the beneficial effects that:
according to the method and the terminal for compensating the profile of the special-shaped screen, the image displayed on the special-shaped screen is captured after the special-shaped screen is lightened, and the image is converted into a plurality of gray scale images corresponding to a plurality of gray scales; and obtaining compensation data corresponding to image edge pixel points under different gray scales according to the plurality of gray scale images and the plurality of preset gray scale images so as to realize data compensation of profile display of the special-shaped screen. According to the invention, the captured image is converted into the image with different gray scales, and the compensation data corresponding to the image edge pixel points under different gray scales can be obtained by calculation according to the preset gray scale image corresponding to the special-shaped screen, so that the data compensation of the profile display of the special-shaped screen can be realized, the profile compensation of different special-shaped screens can be realized, the compensation data corresponding to the image edge pixel points under different gray scales can be obtained by calculation, the data compensation can be carried out on different images to be displayed, and the compensation effect is good.
Drawings
FIG. 1 is a schematic view of a contoured screen according to the background of the present invention;
FIG. 2 is an enlarged view of the edge of the shaped screen according to the background of the invention;
FIG. 3 is a schematic diagram of the main steps of a contour compensation method for a special-shaped screen according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a profile compensation terminal for a special-shaped screen according to an embodiment of the present invention;
FIG. 5 is a block diagram of a method for compensating the contour of a special-shaped screen according to a third embodiment of the present invention;
description of reference numerals:
1. a memory; 2. a processor.
Detailed Description
In order to explain technical contents, objects and effects of the present invention in detail, the following detailed description is given with reference to the accompanying drawings in conjunction with the embodiments.
The most key concept of the invention is as follows: respectively converting the lighted image of the special-shaped screen into a plurality of gray scale images corresponding to a plurality of gray scales; and obtaining compensation data corresponding to image edge pixel points under different gray scales according to the plurality of gray scale images and the plurality of preset gray scale images so as to realize data compensation of profile display of the special-shaped screen.
Referring to fig. 3, the present invention provides a method for compensating a profile of a special-shaped screen, comprising the following steps:
s1: after the special-shaped screen is lightened, capturing an image displayed on the special-shaped screen;
s2: respectively converting the images into gray scale images corresponding to a plurality of gray scales to obtain a plurality of gray scale images; acquiring a plurality of preset gray scale images of the special-shaped screen, wherein the preset gray scale images correspond to the gray scale images one by one;
s3: and obtaining compensation data corresponding to image edge pixel points under different gray scales according to the plurality of gray scale images and the plurality of preset gray scale images, and sending the compensation data to a compensation circuit corresponding to the special-shaped screen so as to realize data compensation of profile display of the special-shaped screen.
As can be seen from the above description, according to the contour compensation method for the special-shaped screen provided by the present invention, after the special-shaped screen is lightened, the image displayed on the special-shaped screen is captured, and the image is converted into a plurality of gray scale images corresponding to a plurality of gray scales; and obtaining compensation data corresponding to image edge pixel points under different gray scales according to the plurality of gray scale images and the plurality of preset gray scale images so as to realize data compensation of profile display of the special-shaped screen. According to the method, the captured image is converted into the image with different gray scales, and the compensation data corresponding to the edge pixel points of the image under the different gray scales can be calculated according to the preset gray scale image corresponding to the special-shaped screen, so that the data compensation of the profile display of the special-shaped screen is realized.
Further, the S3 specifically includes:
acquiring a gray value of each pixel point at the edge of each gray-scale image according to the plurality of gray-scale images;
acquiring a gray value of each pixel point at the edge of each preset gray-scale image according to the preset gray-scale images;
calculating compensation data corresponding to each pixel point under different gray scales at the edge of the image according to the gray value of each pixel point at the edge of each gray scale image and the gray value of each pixel point at the edge of each preset gray scale image;
and sending the compensation data to a compensation circuit corresponding to the special-shaped screen.
According to the description, the compensation data corresponding to each pixel point under different gray scales at the edge of the image can be rapidly calculated by the method, the data calculation efficiency is improved, and the compensation is performed by the compensation circuit, so that the profile compensation of the special-shaped screen can be effectively ensured to achieve a good effect.
Further, after the sending the compensation data to the compensation circuit corresponding to the irregular screen, the method further includes:
controlling the compensation circuit to acquire input data of a display image;
and controlling the compensation circuit to calculate to obtain output data according to the input data and the received compensation data, and sending the output data to the special-shaped screen for display.
As can be seen from the above description, the above method enables the compensation circuit to effectively compensate the contour of the irregular screen according to the compensation data and the input data.
Further, the S3 specifically includes:
acquiring the gray value of each sub-pixel point at the edge of each gray-scale image according to the plurality of gray-scale images;
acquiring the gray value of each sub-pixel point at the edge of each preset gray-scale image according to the preset gray-scale images;
calculating compensation data corresponding to each sub-pixel point under different gray scales at the edge of the image according to the gray value of each sub-pixel point at the edge of each gray scale image and the gray value of each sub-pixel point at the edge of each preset gray scale image;
and sending the compensation data to a compensation circuit corresponding to the special-shaped screen.
According to the description, the compensation data corresponding to each sub-pixel point under different gray scales at the edge of the image can be rapidly calculated by the method, the data calculation efficiency is improved, the accuracy of contour compensation is ensured, and the contour compensation of the special-shaped screen can be effectively ensured to achieve a better effect by compensating through the compensation circuit.
Further, the method for compensating the contour of the irregular screen further includes, after the step S3:
s4: capturing an image displayed after data compensation is carried out on the special-shaped screen to obtain a first image; converting the first image into a gray scale image corresponding to a plurality of gray scales to obtain a plurality of first gray scale images;
s5: acquiring the gray value of each sub-pixel point at the edge of each first gray-scale image according to the plurality of first gray-scale images; acquiring the gray value of each sub-pixel point at the edge of each preset gray-scale image according to the preset gray-scale images;
s6: calculating the number of gray values of each sub-pixel point at the edge of each first gray-scale image, wherein the difference between the gray values of the sub-pixel points corresponding to each gray scale is larger than a preset threshold value according to the gray value of each sub-pixel point at the edge of each first gray-scale image and the gray value of each sub-pixel point at the edge of each preset gray-scale image;
s7: if the number is larger than the preset number threshold, the steps S1-S6 are repeatedly executed until the calculated number is not larger than the preset number threshold.
From the above description, it can be known that the compensated image can be effectively ensured to achieve the desired effect by the above method.
Referring to fig. 4, the present invention provides a profile compensation terminal for a special-shaped screen, including a memory 1, a processor 2 and a computer program stored in the memory 1 and operable on the processor 2, wherein the processor 2 implements the following steps when executing the computer program:
s1: after the special-shaped screen is lightened, capturing an image displayed on the special-shaped screen;
s2: respectively converting the images into gray scale images corresponding to a plurality of gray scales to obtain a plurality of gray scale images; acquiring a plurality of preset gray scale images of the special-shaped screen, wherein the preset gray scale images correspond to the gray scale images one by one;
s3: and obtaining compensation data corresponding to image edge pixel points under different gray scales according to the plurality of gray scale images and the plurality of preset gray scale images, and sending the compensation data to a compensation circuit corresponding to the special-shaped screen so as to realize data compensation of profile display of the special-shaped screen.
As can be seen from the above description, according to the profile compensation terminal for the special-shaped screen provided by the present invention, after the special-shaped screen is lighted up, an image displayed on the special-shaped screen is captured, and the image is converted into a plurality of grayscale images corresponding to a plurality of grayscales; and obtaining compensation data corresponding to image edge pixel points under different gray scales according to the plurality of gray scale images and the plurality of preset gray scale images so as to realize data compensation of profile display of the special-shaped screen. According to the method, the captured image is converted into the image with different gray scales, and the compensation data corresponding to the edge pixel points of the image under the different gray scales can be calculated according to the preset gray scale image corresponding to the special-shaped screen, so that the data compensation of the profile display of the special-shaped screen is realized.
Further, the S3 specifically includes:
acquiring a gray value of each pixel point at the edge of each gray-scale image according to the plurality of gray-scale images;
acquiring a gray value of each pixel point at the edge of each preset gray-scale image according to the preset gray-scale images;
calculating compensation data corresponding to each pixel point under different gray scales at the edge of the image according to the gray value of each pixel point at the edge of each gray scale image and the gray value of each pixel point at the edge of each preset gray scale image;
and sending the compensation data to a compensation circuit corresponding to the special-shaped screen.
According to the description, the compensation data corresponding to each pixel point under different gray scales at the edge of the image can be rapidly calculated through the terminal, the data calculation efficiency is improved, the compensation is carried out through the compensation circuit, and the profile compensation of the special-shaped screen can be effectively guaranteed to achieve a good effect.
Further, after the sending the compensation data to the compensation circuit corresponding to the irregular screen, the method further includes:
controlling the compensation circuit to acquire input data of a display image;
and controlling the compensation circuit to calculate to obtain output data according to the input data and the received compensation data, and sending the output data to the special-shaped screen for display.
As can be seen from the above description, the above terminal enables the compensation circuit to effectively compensate the contour of the irregular screen according to the compensation data and the input data.
Further, the S3 specifically includes:
acquiring the gray value of each sub-pixel point at the edge of each gray-scale image according to the plurality of gray-scale images;
acquiring the gray value of each sub-pixel point at the edge of each preset gray-scale image according to the preset gray-scale images;
calculating compensation data corresponding to each sub-pixel point under different gray scales at the edge of the image according to the gray value of each sub-pixel point at the edge of each gray scale image and the gray value of each sub-pixel point at the edge of each preset gray scale image;
and sending the compensation data to a compensation circuit corresponding to the special-shaped screen.
According to the description, the compensation data corresponding to each sub-pixel point under different gray scales at the edge of the image can be rapidly calculated through the terminal, the data calculation efficiency is improved, the accuracy of contour compensation is guaranteed, the compensation is carried out through the compensation circuit, and the contour compensation of the special-shaped screen can be effectively guaranteed to achieve a good effect.
Further, the method for compensating the contour of the irregular screen further includes, after the step S3:
s4: capturing an image displayed after data compensation is carried out on the special-shaped screen to obtain a first image; converting the first image into a gray scale image corresponding to a plurality of gray scales to obtain a plurality of first gray scale images;
s5: acquiring the gray value of each sub-pixel point at the edge of each first gray-scale image according to the plurality of first gray-scale images; acquiring the gray value of each sub-pixel point at the edge of each preset gray-scale image according to the preset gray-scale images;
s6: calculating the number of gray values of each sub-pixel point at the edge of each first gray-scale image, wherein the difference between the gray values of the sub-pixel points corresponding to each gray scale is larger than a preset threshold value according to the gray value of each sub-pixel point at the edge of each first gray-scale image and the gray value of each sub-pixel point at the edge of each preset gray-scale image;
s7: if the number is larger than the preset number threshold, the steps S1-S6 are repeatedly executed until the calculated number is not larger than the preset number threshold.
From the above description, it can be known that, through the above terminal, the compensated image can be effectively ensured to achieve the expected effect.
The first embodiment of the invention is as follows:
the invention provides a profile compensation method for a special-shaped screen, which comprises the following steps:
s1: after the special-shaped screen is lightened, capturing an image displayed on the special-shaped screen;
s2: respectively converting the images into gray scale images corresponding to a plurality of gray scales to obtain a plurality of gray scale images; acquiring a plurality of preset gray scale images of the special-shaped screen, wherein the preset gray scale images correspond to the gray scale images one by one;
the preset gray-scale images are pictures with the best gray-scale picture compensation effect, namely the preset gray-scale images, designed according to the shape and the size of the special-shaped screen;
wherein, the plurality of gray scales are all gray scales of the image.
S3: and obtaining compensation data corresponding to image edge pixel points under different gray scales according to the plurality of gray scale images and the plurality of preset gray scale images, and sending the compensation data to a compensation circuit corresponding to the special-shaped screen.
Wherein, the S3 specifically is:
acquiring a gray value of each pixel point at the edge of each gray-scale image according to the plurality of gray-scale images;
acquiring a gray value of each pixel point at the edge of each preset gray-scale image according to the preset gray-scale images;
calculating compensation data corresponding to each pixel point under different gray scales at the edge of the image according to the gray value of each pixel point at the edge of each gray scale image and the gray value of each pixel point at the edge of each preset gray scale image;
and sending the compensation data to a compensation circuit corresponding to the special-shaped screen.
Or, the S3 specifically is:
acquiring the gray value of each sub-pixel point at the edge of each gray-scale image according to the plurality of gray-scale images;
acquiring the gray value of each sub-pixel point at the edge of each preset gray-scale image according to the preset gray-scale images;
calculating compensation data corresponding to each sub-pixel point under different gray scales at the edge of the image according to the gray value of each sub-pixel point at the edge of each gray scale image and the gray value of each sub-pixel point at the edge of each preset gray scale image;
and sending the compensation data to a compensation circuit corresponding to the special-shaped screen.
S4: controlling the compensation circuit to acquire input data of a display image; controlling the compensation circuit to calculate to obtain output data according to the input data and the received compensation data, and sending the output data to the special-shaped screen for display;
the compensation circuit records and stores received compensation data corresponding to each sub-pixel point under different gray scales; the compensation circuit is a demura compensation circuit; the demura compensation circuit can calculate corresponding output data through a demura technology.
S5: capturing an image displayed after data compensation is carried out on the special-shaped screen to obtain a first image; converting the first image into a gray scale image corresponding to a plurality of gray scales to obtain a plurality of first gray scale images;
s6: acquiring the gray value of each sub-pixel point at the edge of each first gray-scale image according to the plurality of first gray-scale images; acquiring the gray value of each sub-pixel point at the edge of each preset gray-scale image according to the preset gray-scale images;
s7: calculating the number of gray values of each sub-pixel point at the edge of each first gray-scale image, wherein the difference between the gray values of the sub-pixel points corresponding to each gray scale is larger than a preset threshold value according to the gray value of each sub-pixel point at the edge of each first gray-scale image and the gray value of each sub-pixel point at the edge of each preset gray-scale image;
the preset threshold is 10, and can be adjusted according to actual needs.
S8: if the number is larger than the preset number threshold, repeating the steps S1-S7 until the calculated number is not larger than the preset number threshold;
the preset number threshold is 10% of all sub-pixel points of the contour edge, and can be adjusted according to actual needs; during the repeated execution of steps S1-S7, the compensation circuit performs the overlay compensation according to all the compensation data that have been received.
The second embodiment of the invention is as follows:
the invention provides a profile compensation terminal for a special-shaped screen, which comprises a memory, a processor and a computer program which is stored on the memory and can be run on the processor, wherein the processor executes the computer program to realize the following steps:
s1: after the special-shaped screen is lightened, capturing an image displayed on the special-shaped screen;
s2: respectively converting the images into gray scale images corresponding to a plurality of gray scales to obtain a plurality of gray scale images; acquiring a plurality of preset gray scale images of the special-shaped screen, wherein the preset gray scale images correspond to the gray scale images one by one;
the preset gray-scale images are pictures with the best gray-scale picture compensation effect, namely the preset gray-scale images, designed according to the shape and the size of the special-shaped screen;
wherein, the plurality of gray scales are all gray scales of the image.
S3: and obtaining compensation data corresponding to image edge pixel points under different gray scales according to the plurality of gray scale images and the plurality of preset gray scale images, and sending the compensation data to a compensation circuit corresponding to the special-shaped screen.
Wherein, the S3 specifically is:
acquiring a gray value of each pixel point at the edge of each gray-scale image according to the plurality of gray-scale images;
acquiring a gray value of each pixel point at the edge of each preset gray-scale image according to the preset gray-scale images;
calculating compensation data corresponding to each pixel point under different gray scales at the edge of the image according to the gray value of each pixel point at the edge of each gray scale image and the gray value of each pixel point at the edge of each preset gray scale image;
and sending the compensation data to a compensation circuit corresponding to the special-shaped screen.
Or, the S3 specifically is:
acquiring the gray value of each sub-pixel point at the edge of each gray-scale image according to the plurality of gray-scale images;
acquiring the gray value of each sub-pixel point at the edge of each preset gray-scale image according to the preset gray-scale images;
calculating compensation data corresponding to each sub-pixel point under different gray scales at the edge of the image according to the gray value of each sub-pixel point at the edge of each gray scale image and the gray value of each sub-pixel point at the edge of each preset gray scale image;
and sending the compensation data to a compensation circuit corresponding to the special-shaped screen.
S4: controlling the compensation circuit to acquire input data of a display image; controlling the compensation circuit to calculate to obtain output data according to the input data and the received compensation data, and sending the output data to the special-shaped screen for display;
the compensation circuit records and stores received compensation data corresponding to each sub-pixel point under different gray scales; the compensation circuit is a demura compensation circuit; the demura compensation circuit can calculate corresponding output data through a demura technology.
S5: capturing an image displayed after data compensation is carried out on the special-shaped screen to obtain a first image; converting the first image into a gray scale image corresponding to a plurality of gray scales to obtain a plurality of first gray scale images;
s6: acquiring the gray value of each sub-pixel point at the edge of each first gray-scale image according to the plurality of first gray-scale images; acquiring the gray value of each sub-pixel point at the edge of each preset gray-scale image according to the preset gray-scale images;
s7: calculating the number of gray values of each sub-pixel point at the edge of each first gray-scale image, wherein the difference between the gray values of the sub-pixel points corresponding to each gray scale is larger than a preset threshold value according to the gray value of each sub-pixel point at the edge of each first gray-scale image and the gray value of each sub-pixel point at the edge of each preset gray-scale image;
the preset threshold is 10, and can be adjusted according to actual needs.
S8: if the number is larger than the preset number threshold, repeating the steps S1-S7 until the calculated number is not larger than the preset number threshold;
the preset number threshold is 10% of all sub-pixel points of the contour edge, and can be adjusted according to actual needs; during the repeated execution of steps S1-S7, the compensation circuit performs the overlay compensation according to all the compensation data that have been received.
Referring to fig. 5, a third embodiment of the present invention is:
the method comprises the following steps: designing pictures with best compensation effects of different gray scale pictures according to the shape and size of the special-shaped screen to obtain sub-pixel gray scale data gray 0;
step two: lightening the special-shaped screen, capturing a corresponding image, and converting and recording gray scale data gray of each sub-pixel at the edge position of the special-shaped screen;
step three, calculating a difference value △ gray-gray0 of each sub-pixel under the condition of different gray scales to obtain each sub-pixel compensation curve;
step four: bringing the compensation value of each sub-pixel compensation curve into a demura compensation circuit, wherein the compensation circuit obtains compensated data (output data, namely output date in fig. 5) according to the input data and the compensation value of each sub-pixel compensation curve;
step five: and lighting the panel to confirm the lighting effect, and if the effect is poor, repeating the steps from two to five.
In summary, according to the method and the terminal for compensating the profile of the special-shaped screen provided by the invention, after the special-shaped screen is lightened, the image displayed on the special-shaped screen is captured, and the image is respectively converted into a plurality of gray scale images corresponding to a plurality of gray scales; and obtaining compensation data corresponding to image edge pixel points under different gray scales according to the plurality of gray scale images and the plurality of preset gray scale images so as to realize data compensation of profile display of the special-shaped screen. According to the method, the captured image is converted into the image with different gray scales, and the compensation data corresponding to the edge pixel points of the image under the different gray scales can be calculated according to the preset gray scale image corresponding to the special-shaped screen, so that the data compensation of the profile display of the special-shaped screen is realized.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all equivalent changes made by using the contents of the present specification and the drawings, or applied directly or indirectly to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. A method for compensating the profile of a special-shaped screen is characterized by comprising the following steps:
s1: after the special-shaped screen is lightened, capturing an image displayed on the special-shaped screen;
s2: respectively converting the images into gray scale images corresponding to a plurality of gray scales to obtain a plurality of gray scale images; acquiring a plurality of preset gray scale images of the special-shaped screen, wherein the preset gray scale images correspond to the gray scale images one by one;
s3: according to the gray-scale images and the preset gray-scale images, compensation data corresponding to image edge pixel points under different gray scales are obtained, and the compensation data are sent to a compensation circuit corresponding to the special-shaped screen, so that data compensation of profile display of the special-shaped screen is achieved;
the S3 further includes:
s4: capturing an image displayed after data compensation is carried out on the special-shaped screen to obtain a first image; converting the first image into a gray scale image corresponding to a plurality of gray scales to obtain a plurality of first gray scale images;
s5: acquiring the gray value of each sub-pixel point at the edge of each first gray-scale image according to the plurality of first gray-scale images; acquiring the gray value of each sub-pixel point at the edge of each preset gray-scale image according to the preset gray-scale images;
s6: calculating the number of gray values of each sub-pixel point at the edge of each first gray-scale image, wherein the difference between the gray values of the sub-pixel points corresponding to each gray scale is larger than a preset threshold value according to the gray value of each sub-pixel point at the edge of each first gray-scale image and the gray value of each sub-pixel point at the edge of each preset gray-scale image;
s7: if the number is larger than the preset number threshold, the steps S1-S6 are repeatedly executed until the calculated number is not larger than the preset number threshold.
2. The method for compensating for the profile of the special-shaped screen according to claim 1, wherein the step S3 specifically comprises the steps of:
acquiring a gray value of each pixel point at the edge of each gray-scale image according to the plurality of gray-scale images;
acquiring a gray value of each pixel point at the edge of each preset gray-scale image according to the preset gray-scale images;
calculating compensation data corresponding to each pixel point under different gray scales at the edge of the image according to the gray value of each pixel point at the edge of each gray scale image and the gray value of each pixel point at the edge of each preset gray scale image;
and sending the compensation data to a compensation circuit corresponding to the special-shaped screen.
3. The method as claimed in claim 2, wherein said step of sending said compensation data to a compensation circuit corresponding to said shaped screen further comprises:
controlling the compensation circuit to acquire input data of a display image;
and controlling the compensation circuit to calculate to obtain output data according to the input data and the received compensation data, and sending the output data to the special-shaped screen for display.
4. The method for compensating for the profile of the special-shaped screen according to claim 1, wherein the step S3 specifically comprises the steps of:
acquiring the gray value of each sub-pixel point at the edge of each gray-scale image according to the plurality of gray-scale images;
acquiring the gray value of each sub-pixel point at the edge of each preset gray-scale image according to the preset gray-scale images;
calculating compensation data corresponding to each sub-pixel point under different gray scales at the edge of the image according to the gray value of each sub-pixel point at the edge of each gray scale image and the gray value of each sub-pixel point at the edge of each preset gray scale image;
and sending the compensation data to a compensation circuit corresponding to the special-shaped screen.
5. A profile compensation terminal for a special-shaped screen, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to perform the following steps:
s1: after the special-shaped screen is lightened, capturing an image displayed on the special-shaped screen;
s2: respectively converting the images into gray scale images corresponding to a plurality of gray scales to obtain a plurality of gray scale images; acquiring a plurality of preset gray scale images of the special-shaped screen, wherein the preset gray scale images correspond to the gray scale images one by one;
s3: according to the gray-scale images and the preset gray-scale images, compensation data corresponding to image edge pixel points under different gray scales are obtained, and the compensation data are sent to a compensation circuit corresponding to the special-shaped screen, so that data compensation of profile display of the special-shaped screen is achieved;
the S3 further includes:
s4: capturing an image displayed after data compensation is carried out on the special-shaped screen to obtain a first image; converting the first image into a gray scale image corresponding to a plurality of gray scales to obtain a plurality of first gray scale images;
s5: acquiring the gray value of each sub-pixel point at the edge of each first gray-scale image according to the plurality of first gray-scale images; acquiring the gray value of each sub-pixel point at the edge of each preset gray-scale image according to the preset gray-scale images;
s6: calculating the number of gray values of each sub-pixel point at the edge of each first gray-scale image, wherein the difference between the gray values of the sub-pixel points corresponding to each gray scale is larger than a preset threshold value according to the gray value of each sub-pixel point at the edge of each first gray-scale image and the gray value of each sub-pixel point at the edge of each preset gray-scale image;
s7: if the number is larger than the preset number threshold, the steps S1-S6 are repeatedly executed until the calculated number is not larger than the preset number threshold.
6. The profile compensation terminal of claim 5, wherein the S3 is specifically:
acquiring a gray value of each pixel point at the edge of each gray-scale image according to the plurality of gray-scale images;
acquiring a gray value of each pixel point at the edge of each preset gray-scale image according to the preset gray-scale images;
calculating compensation data corresponding to each pixel point under different gray scales at the edge of the image according to the gray value of each pixel point at the edge of each gray scale image and the gray value of each pixel point at the edge of each preset gray scale image;
and sending the compensation data to a compensation circuit corresponding to the special-shaped screen.
7. The terminal for compensating for the profile of the irregular screen according to claim 6, wherein after the step of sending the compensation data to the compensation circuit corresponding to the irregular screen, the terminal further comprises:
controlling the compensation circuit to acquire input data of a display image;
and controlling the compensation circuit to calculate to obtain output data according to the input data and the received compensation data, and sending the output data to the special-shaped screen for display.
8. The profile compensation terminal of claim 5, wherein the S3 is specifically:
acquiring the gray value of each sub-pixel point at the edge of each gray-scale image according to the plurality of gray-scale images;
acquiring the gray value of each sub-pixel point at the edge of each preset gray-scale image according to the preset gray-scale images;
calculating compensation data corresponding to each sub-pixel point under different gray scales at the edge of the image according to the gray value of each sub-pixel point at the edge of each gray scale image and the gray value of each sub-pixel point at the edge of each preset gray scale image;
and sending the compensation data to a compensation circuit corresponding to the special-shaped screen.
CN201811631122.5A 2018-12-29 2018-12-29 Special-shaped screen contour compensation method and terminal Active CN109616080B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201811631122.5A CN109616080B (en) 2018-12-29 2018-12-29 Special-shaped screen contour compensation method and terminal
CN202010520877.9A CN111798810A (en) 2018-12-29 2018-12-29 Special-shaped screen contour compensation method with good compensation effect and high efficiency and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811631122.5A CN109616080B (en) 2018-12-29 2018-12-29 Special-shaped screen contour compensation method and terminal

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202010520877.9A Division CN111798810A (en) 2018-12-29 2018-12-29 Special-shaped screen contour compensation method with good compensation effect and high efficiency and terminal

Publications (2)

Publication Number Publication Date
CN109616080A CN109616080A (en) 2019-04-12
CN109616080B true CN109616080B (en) 2020-07-31

Family

ID=66011992

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202010520877.9A Pending CN111798810A (en) 2018-12-29 2018-12-29 Special-shaped screen contour compensation method with good compensation effect and high efficiency and terminal
CN201811631122.5A Active CN109616080B (en) 2018-12-29 2018-12-29 Special-shaped screen contour compensation method and terminal

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202010520877.9A Pending CN111798810A (en) 2018-12-29 2018-12-29 Special-shaped screen contour compensation method with good compensation effect and high efficiency and terminal

Country Status (1)

Country Link
CN (2) CN111798810A (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110556070B (en) * 2019-07-23 2023-04-07 福建华佳彩有限公司 Compensation method for R angle in display area
CN111081149B (en) * 2019-12-26 2021-12-03 Tcl华星光电技术有限公司 Display method and display device
CN114937434A (en) * 2022-06-02 2022-08-23 利亚德光电股份有限公司 Correction data processing method, device and computer readable storage medium
CN116912276B (en) * 2023-09-12 2024-01-09 深圳精智达技术股份有限公司 Arc screen body AA area grabbing method, device electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105405413A (en) * 2015-12-29 2016-03-16 Tcl新技术(惠州)有限公司 Automatic LCD splicing adjustment type white balance realizing method and system
CN205281989U (en) * 2016-01-04 2016-06-01 成都京东方光电科技有限公司 Display panel and display device
CN107644410A (en) * 2017-09-29 2018-01-30 上海天马有机发光显示技术有限公司 Image processing method, image processing apparatus, image processing system and display device
CN109036144A (en) * 2018-08-31 2018-12-18 上海天马有机发光显示技术有限公司 A kind of abnormity display panel and display device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6260973B2 (en) * 2015-08-03 2018-01-17 Tianma Japan株式会社 Display device
CN105741762B (en) * 2016-03-31 2018-01-30 深圳市华星光电技术有限公司 The method for eliminating OLED display panel Mura
US10185064B2 (en) * 2016-10-26 2019-01-22 Microsoft Technology Licensing, Llc Curved edge display with controlled luminance
CN106847157B (en) * 2017-03-24 2020-01-21 上海天马有机发光显示技术有限公司 Brightness compensation method and device of display panel
CN107610143B (en) * 2017-09-29 2020-05-19 上海天马有机发光显示技术有限公司 Image processing method, image processing apparatus, image processing system, and display apparatus
CN108198534A (en) * 2018-01-12 2018-06-22 京东方科技集团股份有限公司 Display methods, display optimization device and display device
CN108828851B (en) * 2018-06-28 2020-10-16 厦门天马微电子有限公司 Display panel and display device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105405413A (en) * 2015-12-29 2016-03-16 Tcl新技术(惠州)有限公司 Automatic LCD splicing adjustment type white balance realizing method and system
CN205281989U (en) * 2016-01-04 2016-06-01 成都京东方光电科技有限公司 Display panel and display device
CN107644410A (en) * 2017-09-29 2018-01-30 上海天马有机发光显示技术有限公司 Image processing method, image processing apparatus, image processing system and display device
CN109036144A (en) * 2018-08-31 2018-12-18 上海天马有机发光显示技术有限公司 A kind of abnormity display panel and display device

Also Published As

Publication number Publication date
CN109616080A (en) 2019-04-12
CN111798810A (en) 2020-10-20

Similar Documents

Publication Publication Date Title
CN109616080B (en) Special-shaped screen contour compensation method and terminal
CN110533609B (en) Image enhancement method, device and storage medium suitable for endoscope
US8576242B2 (en) Image processing using meshes and gradient information
WO2018201535A1 (en) Method of compensating mura defect of display panel, and display panel
CN109817170B (en) Pixel compensation method and device and terminal equipment
TW201610915A (en) Image processing method for transforming 2D image into 3D model
US20060187476A1 (en) Image display device, method of generating correction value of image display device, program for generating correction value of image display device, and recording medium recording program thereon
CN111489322A (en) Method and device for adding sky filter to static picture
JP5826980B1 (en) Image processing apparatus and image processing method
KR102405309B1 (en) Display device and method for displaying the same
KR100364778B1 (en) Apparatus for expressing screen
CN107330905B (en) Image processing method, device and storage medium
TWI482147B (en) Image processing method and image display apparatus
KR100791374B1 (en) Method and apparatus for image adaptive color adjustment of pixel in color gamut
CN111739008B (en) Image processing method, device, equipment and readable storage medium
CN114862706A (en) Tone mapping method for keeping gradient direction of image
CN109410873B (en) Driving method and system and display device
CN109410224B (en) Image segmentation method, system, device and storage medium
KR101803065B1 (en) Method and apparatus for processing image
JP2017016511A (en) Distortion correction image processor and program
Chen et al. Low-light image enhancement and acceleration processing based on ZYNQ
US20150310595A1 (en) Local contrast enhancement method and apparatus
CN109410120B (en) Extremely fast seamless image synthesis method
CN117315159A (en) Image processing method, device, electronic equipment and storage medium
US9129447B2 (en) Method and device for generating graphic images

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant