CN110825337B - Display control method, display control device, electronic equipment and storage medium - Google Patents

Display control method, display control device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110825337B
CN110825337B CN201911180593.3A CN201911180593A CN110825337B CN 110825337 B CN110825337 B CN 110825337B CN 201911180593 A CN201911180593 A CN 201911180593A CN 110825337 B CN110825337 B CN 110825337B
Authority
CN
China
Prior art keywords
frame
picture data
brightness value
level
display control
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
CN201911180593.3A
Other languages
Chinese (zh)
Other versions
CN110825337A (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.)
BOE Technology Group Co Ltd
Original Assignee
BOE Technology Group 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 BOE Technology Group Co Ltd filed Critical BOE Technology Group Co Ltd
Priority to CN201911180593.3A priority Critical patent/CN110825337B/en
Publication of CN110825337A publication Critical patent/CN110825337A/en
Application granted granted Critical
Publication of CN110825337B publication Critical patent/CN110825337B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • 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/10Intensity circuits

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The application provides a display control method, a device, electronic equipment and a storage medium, wherein the method comprises the following steps: by acquiring input picture data; edge detection is carried out on the picture data to extract frames in the picture data, and brightness values of the frames are obtained; judging the importance level of the frame according to the brightness value of the frame; and if the importance level of the frame is determined to be the first level, the frame is kept in the picture data. According to the method, after the importance level of the frame is determined to be the first level according to the brightness value of the frame, the brightness value of the frame is kept unchanged in the picture data, and the situation that the picture quality is reduced due to the fact that the frame is moved out of a display screen in the pixel moving process is avoided.

Description

Display control method, display control device, electronic equipment and storage medium
Technical Field
The present application relates to the field of electronic devices, and in particular, to a display control method, a display control device, an electronic device, and a storage medium.
Background
With the widespread use of electronic devices, there is an increasing demand for display screens of display devices in electronic devices. However, in an Organic Light-Emitting Diode (OLED) or a liquid crystal display (Liquid Crystal Display LCD), a phenomenon of low picture quality is likely to occur in displaying an image.
At present, a pixel shifting method is generally adopted to solve the problem of lower display picture quality of a display, but in the process of shifting pixels in an image, a phenomenon that picture quality is reduced due to the fact that some key pictures in the image are lost may occur.
Disclosure of Invention
The present application aims to solve at least one of the technical problems in the related art to some extent.
Therefore, the application provides a display control method, which is characterized in that after the importance level of the frame is determined to be the first level according to the brightness value of the frame, the frame is kept unchanged in the picture data, and the phenomenon that the picture quality is reduced due to the fact that the frame is moved out of a display screen in the pixel moving process is avoided.
An embodiment of a first aspect of the present application provides a display control method, including:
acquiring input picture data;
performing edge detection on the picture data to extract a frame in the picture data and obtaining a brightness value of the frame;
judging the importance level of the frame according to the brightness value of the frame;
and if the importance level of the frame is determined to be the first level, the frame is kept in the picture data.
As a first possible implementation manner of the embodiment of the present application, after the determining the importance level of the frame according to the brightness value of the frame, the method further includes:
determining the importance level of the frame as a second level, and judging whether the picture data moves along a preset direction or not;
and if the frame data is determined to move along the preset direction, compensating the frame of the frame data.
As a second possible implementation manner of the embodiment of the present application, determining the importance level of the frame according to the brightness value of the frame includes:
acquiring brightness values of all pixel points in the picture data;
screening a plurality of reference pixel points with brightness values larger than a first preset threshold value from the pixel points;
generating a reference brightness value according to the brightness values of the plurality of reference pixel points;
acquiring the ratio between the brightness value of the frame and the reference brightness value;
determining that the ratio is larger than a second preset threshold, and determining that the importance level of the frame is a first level;
and if the ratio is smaller than or equal to the second preset threshold value, determining the importance level of the frame as a second level.
As a third possible implementation manner of the embodiment of the present application, the maintaining the frame in the frame data includes:
acquiring the position of the frame;
and in the process of moving the picture data, the position of the frame is kept unchanged.
As a fourth possible implementation manner of the embodiment of the present application, the display includes first to nth columns of pixels along the preset direction, N is a positive integer, and the compensating the frame of the picture data includes:
acquiring brightness values of the pixels from the N-1 column to the N-i column, and generating compensation brightness values according to the brightness values of the pixels from the N-1 column to the N-i column, wherein i is a positive integer smaller than N; and
and compensating the frame according to the compensation brightness value.
According to the display control method, input picture data are obtained; edge detection is carried out on the picture data to extract frames in the picture data, and brightness values of the frames are obtained; judging the importance level of the frame according to the brightness value of the frame; and if the importance level of the frame is the first level, the frame is kept in the picture data, and the picture data is moved along the preset direction.
An embodiment of a second aspect of the present application provides a display control apparatus, including:
the acquisition module is used for acquiring input picture data;
the extraction module is used for carrying out edge detection on the picture data so as to extract frames in the picture data; obtaining the brightness value of the frame;
the judging module is used for judging the importance level of the frame according to the brightness value of the frame;
and the moving module is used for determining that the importance level of the frame is a first level, and then, the frame is kept in the picture data.
The display control device of the embodiment of the application obtains the input picture data; edge detection is carried out on the picture data to extract frames in the picture data, and brightness values of the frames are obtained; judging the importance level of the frame according to the brightness value of the frame; and if the importance level of the frame is determined to be the first level, the frame is kept in the picture data. According to the method, after the importance level of the frame is determined to be the first level according to the brightness value of the frame, the brightness value of the frame is kept unchanged in the picture data, and the phenomenon of picture quality degradation in the pixel moving process is avoided.
An embodiment of a third aspect of the present application proposes an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the display control method as described in the above embodiment when executing the program.
An embodiment of a fourth aspect of the present application proposes a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the display control method as described in the above embodiment.
Additional aspects and advantages of the application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the application.
Drawings
The foregoing and/or additional aspects and advantages of the application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, in which:
fig. 1 is a schematic flow chart of a display control method according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a frame moving method according to an embodiment of the present application;
fig. 3 is an exemplary diagram of a display control method according to an embodiment of the present application;
FIG. 4 is a diagram illustrating brightness of a frame of image data according to an embodiment of the present application;
FIG. 5 is a schematic diagram of brightness after moving picture data according to an embodiment of the present application;
FIG. 6 is a diagram illustrating brightness of another frame data according to an embodiment of the present application;
FIG. 7 is a flowchart illustrating another display control method according to an embodiment of the present application;
FIG. 8 is a flowchart illustrating another display control method according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a display control device according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a display control device according to an embodiment of the present application.
Detailed Description
Embodiments of the present application are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative and intended to explain the present application and should not be construed as limiting the application.
In the related art, when the display of the electronic device is an OLED or an LCD, the quality of the display screen may be reduced when the pixels are moved, thereby causing some key pictures in the image to be lost.
In view of the above problems, an embodiment of the present application provides a display control method, by acquiring input picture data; edge detection is carried out on the picture data to extract frames in the picture data, and brightness values of the frames are obtained; judging the importance level of the frame according to the brightness value of the frame; and if the importance level of the frame is determined to be the first level, the frame is kept in the picture data.
The following describes a display control method, apparatus, electronic device, and storage medium of an embodiment of the present application with reference to the accompanying drawings.
Fig. 1 is a flow chart of a display control method according to an embodiment of the present application.
The embodiment of the application is exemplified by the display control method being configured in a display control device, and the display control device can be applied to any electronic equipment so that the electronic equipment can execute a display function.
The electronic device may be a personal computer (Personal Computer, abbreviated as PC), a cloud device, a mobile device, an intelligent speaker, etc., and the mobile device may be a hardware device with various operating systems and display screens, such as a mobile phone, a tablet computer, a personal digital assistant, a wearable device, a vehicle-mounted device, etc.
As shown in fig. 1, the display control method includes the steps of:
step 101, acquiring input picture data.
In the embodiment of the application, the picture data comprises pixel values, brightness values and the like of the image.
As a possible implementation manner, the camera of the electronic device may be controlled to collect an image through an input shooting instruction, so that the electronic device obtains input picture data.
Specifically, an image may be acquired by inputting a shooting instruction to acquire image data, for example, a shooting client may be installed on an electronic device by pressing a virtual button or a physical button, by voice control, by gesture recognition, or the like, taking a case of using more in the prior art as an example, after a user enters the client, the user may click on the virtual button on the client to input the shooting instruction, and accordingly, the electronic device may detect whether the shooting instruction is input in real time after the shooting client is started.
As another possible implementation, the electronic device may obtain the screen data from the server to process the screen data and display the processed screen data.
The size of the screen data is determined by the size of a visual screen of a display screen of the electronic device, and the visual screen is an area in which the image data is actually stored. In general, the size of a visual image is the resolution of a display screen. For example, a display screen with a resolution of 1920×1200 corresponds to a visual screen size of 1920×1200.
Step 102, edge detection is performed on the frame data to extract a frame in the frame data, and a brightness value of the frame is obtained.
Among them, edge detection is a fundamental problem in image processing and computer vision, and the purpose of edge detection is to identify points in a digital image where brightness changes are significant. The flow of edge detection includes filtering, enhancement and detection. In particular, the algorithm for edge detection is mainly based on the first and second derivatives of the image intensity, but the derivatives are often very sensitive to noise, and therefore filters have to be employed to smooth the noise. A common filter is a gaussian filter, i.e. a set of normalized gaussian kernels is generated using a discretized gaussian function, and then a convolution operation is performed on the gray matrix of the image based on the gaussian kernel function. The basis of the enhanced edge is to determine the change value of the intensity of each point area of the image. The enhancement algorithm can highlight points of the image gray point where there is a significant change in the threshold intensity value. In a specific programming process, it can be determined by calculating the gradient magnitude. The enhanced image tends to have a large gradient value for many points in the neighborhood, and in certain applications, these points are not intended edge points, so some method should be used to trade off these points. In practical engineering, a common method is to detect by a thresholding method.
In the embodiment of the present application, when edge detection is performed on the picture data to extract the frame in the picture data, several commonly used edge detection methods may be used, for example, a maximum value of a detection gradient, a canny edge detection method, a wavelet multi-scale edge detection method, and the like.
Taking a canny edge detection method to carry out edge detection on the picture data, taking the frame in the extracted picture data as an example, firstly smoothing the picture data by using Gaussian filtering to remove noise; secondly, calculating the amplitude and direction of the gradient by adopting the finite difference of first-order partial derivatives; then using a non-maximum suppression algorithm to eliminate interference points in the picture data; finally, the hysteresis threshold is used to pick the edge, thereby extracting the frame in the picture data.
In the embodiment of the application, the frame of the picture data refers to the part with the most obvious local brightness change in the image, namely the region with the abrupt change in the gray level.
In the embodiment of the application, the brightness value of the frame refers to the brightness of the frame. As a possible implementation manner, the average value of the R, G, B three channels of each pixel point of the frame may be calculated, and then the three calculated average values are weighted and summed to obtain the brightness value of the frame.
And step 103, judging the importance level of the frame according to the brightness value of the frame.
In the embodiment of the application, after the brightness value of the frame is determined, the importance level of the frame can be judged according to the brightness value of the frame, so that whether the frame is compensated or not is determined according to the importance level of the frame, and the situation that the image edge is distorted when the electronic equipment displays the image is avoided.
As a possible case, the frame is determined to be bright according to the brightness value of the frame, which indicates that the importance level of the frame is high, and step 104 is performed in this case.
As another possible case, the frame is determined to be not very bright according to the brightness value of the frame, which indicates that the importance level of the frame is low.
Step 104, if the importance level of the frame is the first level, the frame is maintained in the frame data.
As a possible case of the embodiment of the present application, when the frame is determined to be bright according to the brightness value of the frame, the importance level of the frame is determined to be the first level, and in this case, it is very important to describe the frame. In order to avoid the problem that the frame is moved out of the display screen, the frame may be held in the picture data and the picture data may be moved in a preset direction. Therefore, the phenomenon that the frame is moved out of the screen, so that the brightness of an image is reduced in the moving process is avoided.
As an example, referring to fig. 2, assuming that picture data is moved in a rightward direction, there is a phenomenon in which an edge red frame disappears without maintaining the presence of the frame in the picture data during the movement of the picture data in the related art. In the embodiment of the present application, referring to fig. 3, in the process of controlling the movement of the frame data to the right, the frame is maintained in the frame data, and in the process of moving the pixels in the frame, the brightness of the frame is maintained to be fixed. Therefore, the phenomenon of image quality degradation in the pixel moving process is avoided by keeping the brightness value of the frame unchanged in the image data.
As another possible case of the embodiment of the application, the frame is determined to be not very bright according to the brightness value of the frame, and the importance level of the frame is determined to be the second level. Thus, the frame is compensated to prevent distortion of the image edge.
The preset direction may be a left-right direction, an upper left direction, a lower left direction, an upper right direction, a lower right direction, or the like. As an example, when the importance level of the frame is determined to be the second level, it may be further determined whether the moving direction of the frame data is a left-right movement, and after the moving direction is determined to be a left-right movement, in order to avoid the frame from being distorted, compensation is required for the frame of the frame data.
Specifically, the preset direction of the pixel movement corresponding to the frame includes first to nth columns of pixels, where N is a positive integer. When the frame of the picture data is compensated, the brightness values of the pixels from the N-1 column to the N-i column can be obtained, and the compensation brightness value is generated according to the brightness values of the pixels from the N-1 column to the N-i column, wherein i is a positive integer smaller than N, and the frame is further compensated according to the compensation brightness value. Therefore, the picture frame is compensated, and the phenomenon of frame distortion of the picture is avoided.
In the related art, for example, when the control frame data is moved to the right to perform the movement of the sub-pixel level, a black matrix and a white frame are taken as an example to describe, and when the control sub-pixel is moved to the right, the initial frame is shown in fig. 4, and when the control sub-pixel is moved to the right, a new pixel may be formed by using GB of the first pixel and R of the second pixel to perform the display, a new pixel may be formed by using GB of the second pixel and R of the third pixel to perform the display, and so on pixel by pixel. As shown in fig. 5, the picture after the sub-pixel is shifted may have a phenomenon that the pixel GB emits light independently and the pixel R is shifted out of the screen, thereby causing a picture edge distortion phenomenon.
In the embodiment of the present application, in order to avoid the phenomenon that the image edge is distorted due to the pixel movement in the related art, the pixels corresponding to the frame may be compensated in the process of the pixel movement. As shown in fig. 6, taking the movement direction of the pixel corresponding to the frame as a rightward movement as an example, in the last two columns of pixels of the movement display, for the first sub-pixel movement, the brightness of the R of the last column of pixels may be taken as a compensation brightness value, so as to compensate the brightness of the R of the last two columns of pixels according to the compensation brightness value. For the second sub-pixel shift, the brightness of the RG of the last column of pixels may be taken as a compensation brightness value to compensate the brightness of the RG of the last two columns of pixels, respectively, according to the compensation brightness value. Therefore, the condition that the picture is lost in the picture moving process is avoided.
As another possible implementation manner, taking a movement direction of the pixels corresponding to the frame as a left movement as an example, when the first two columns of pixels are displayed are moved, for the first sub-pixel movement, the brightness of the R of the first column of pixels may be taken as a compensation brightness value, so as to compensate the brightness of the R of the first two columns of pixels according to the compensation brightness value. For the second sub-pixel shift, the luminance of the first column pixel RG may be taken as a compensation luminance value to compensate the luminance of the RG of the first two columns pixels according to the compensation luminance value. According to the display control method, input picture data are obtained; edge detection is carried out on the picture data to extract frames in the picture data, and brightness values of the frames are obtained; judging the importance level of the frame according to the brightness value of the frame; and if the importance level of the frame is the first level, the frame is kept in the picture data, and the picture data is moved along the preset direction. According to the method, after the importance level of the frame is determined to be the first level according to the brightness value of the frame, the brightness value of the frame is kept unchanged in the picture data, and the phenomenon of picture quality degradation in the pixel moving process is avoided.
As a possible implementation manner, when judging the importance level of the frame according to the brightness value of the frame, the pixel point with the brightness value greater than the first preset threshold value can be selected from the pixel points in the number of pictures to serve as a reference pixel point, the reference brightness value is further generated according to the brightness values of the plurality of reference pixel points, and the ratio between the brightness value of the frame and the reference brightness value is calculated to determine the importance level of the frame according to the ratio. The above process is described in detail below with reference to fig. 7, and fig. 7 is a schematic flow chart of another display control method according to an embodiment of the present application.
As shown in fig. 7, the step 103 may further include the following steps:
step 201, obtaining brightness values of each pixel point in the picture data.
Wherein, the brightness value of the pixel is between 0 and 255, the brightness of the pixel close to 255 is higher, the brightness close to 0 is lower, and the rest part belongs to the middle tone. This distinction in luminance is an absolute distinction, i.e., pixels near 255 are high light, pixels near 0 are dark, and the intermediate tone is around 128.
As a possible implementation manner, the average value of the R, G, B three channels of each pixel point in the picture data may be calculated, and then the three calculated average values are weighted and summed to obtain the brightness value of each pixel point.
Step 202, a plurality of reference pixel points with brightness values greater than a first preset threshold value are screened out from the pixel points.
The first preset threshold is a brightness threshold of the set pixel point, for example, the first preset threshold may be set to 0, so as to screen black pixels in the pixel point.
In the embodiment of the application, after the brightness value of each pixel point in the picture data is obtained, the brightness value of each pixel point is compared with a first preset threshold value, so that a plurality of pixel points with the brightness value larger than the first preset threshold value are screened out from the pixel points and used as reference pixel points.
In step 203, a reference luminance value is generated according to the luminance values of the plurality of reference pixel points.
In the embodiment of the application, after a plurality of reference pixel points with the brightness value larger than a first preset threshold value are screened out from all pixel points in the picture data, the brightness sums of R, G, B three channels of the plurality of reference pixel points are respectively calculated and can be respectively marked as S1_ R, S _ G, S1-B so as to obtain the reference brightness value.
Step 204, obtaining the ratio between the brightness value of the frame and the reference brightness value.
In the embodiment of the application, after the brightness value of each pixel point of the frame is obtained, the brightness sums of R, G, B channels of each pixel point of the frame are respectively calculated, and can be respectively recorded as S2_ R, S2_ G, S2-B.
Further, the ratio between the brightness value of the frame and the reference brightness value is calculated and is denoted as r1_ R, R1_ G, R1 _1_b. Wherein r1_r=s2_r/s1_r, r1_g=s2_g/s1_g, r1_b=s2_b/s1_b.
Step 205, determining whether the ratio between the luminance value of the frame and the reference luminance value is greater than a second preset threshold.
In the embodiment of the application, after the ratio between the brightness value of the frame and the reference brightness value is calculated, the ratio between the brightness value of the frame and the reference brightness value is compared with the set second preset threshold value to determine the importance level of the frame.
And 206, determining that the importance level of the frame is a first level if the ratio is greater than the second preset threshold.
As a possible case, the ratio between the luminance value of the frame and the reference luminance value is greater than the second preset threshold, and the importance level of the frame may be determined to be the first level. In the embodiment of the present application, if any value in r1_ R, R1_ G, R1 _1_b is greater than a second preset threshold, it may be determined that the importance level of the frame is a first level.
Step 207, determining that the importance level of the frame is the second level if the ratio is less than or equal to the second preset threshold.
As a possible case, the ratio between the luminance value of the frame and the reference luminance value is less than or equal to the second preset threshold, and the importance level of the frame may be determined to be the second level. In the embodiment of the present application, when all values in r1_ R, R1_ G, R1 _1_b are smaller than or equal to a second preset threshold, it may be determined that the importance level of the frame is a second level.
According to the display control method, through obtaining the brightness value of each pixel point in the picture data, a plurality of reference pixel points with the brightness value larger than a first preset threshold value are screened out from the pixel points; and generating reference brightness values according to the brightness values of the plurality of reference pixel points, acquiring the ratio between the brightness values of the frame and the reference brightness values, determining that the ratio is larger than a second preset threshold, determining that the importance level of the frame is a first level, determining that the ratio is smaller than or equal to the second preset threshold, and determining that the importance level of the frame is a second level. Therefore, the importance level degree of the frame is determined through the brightness value of the frame, so that the brightness of the frame in the picture is detected, whether the frame is compensated or not is determined according to the importance level degree of the frame, the phenomenon that the picture quality is reduced due to the fact that pixels are moved is avoided, and the display quality of the picture is improved.
After determining that the importance level of the frame is the first level in step 104, the frame is maintained in the frame data, and as a possible implementation manner, the position of the frame may be obtained, and the position of the frame is maintained unchanged during the process of moving the frame data. Therefore, the phenomenon that the frame is moved out of the display in the process of moving the picture data is avoided. The above process will be described in detail with reference to fig. 8, and fig. 8 is a schematic flow chart of another display control method according to an embodiment of the present application.
As shown in fig. 8, the display control method may include the steps of:
step 301, obtaining the position of the frame.
In the embodiment of the application, after determining that the importance level of the frame is the first level according to the brightness value of the frame, the position of the frame is further obtained.
As a possible implementation manner, after edge detection is performed on the frame data to extract a frame in the frame data, a position where the frame is located may be determined at the same time.
Step 302, during the process of moving the frame data, the position of the frame is kept unchanged.
In the embodiment of the application, only the picture data except the frame are moved in the process of moving the picture data, and the position of the frame is kept unchanged, so that the phenomenon that important pictures are lost due to the fact that the frame is moved out of the display screen of the display is avoided, and the display quality of the pictures is improved.
In the embodiment of the application, after the importance level of the frame is determined to be the first level, the position of the frame is obtained, and the position of the frame is kept unchanged in the process of moving picture data. Therefore, the phenomenon that the frame is moved out of the display in the process of moving the picture data is avoided, and key data in the picture data are left.
In order to achieve the above embodiment, the present application also proposes a display control device.
Fig. 9 is a schematic structural diagram of a display control device according to an embodiment of the present application.
As shown in fig. 9, the display control apparatus 400 may include: the device comprises an acquisition module 410, an extraction module 420, a judgment module 430 and a movement module 440.
The acquiring module 410 is configured to acquire input frame data.
The extracting module 420 is configured to perform edge detection on the frame data to extract a frame in the frame data, and obtain a luminance value of the frame.
The judging module 430 is configured to judge the importance level of the frame according to the brightness value of the frame.
The moving module 440 is configured to determine that the importance level of the frame is the first level, and then hold the frame in the frame data and move the frame data along the preset direction.
As a possible implementation manner, referring to fig. 10, the display control apparatus 400 may further include:
the compensation module 450 is configured to determine that the importance level of the frame is a second level, and determine whether the frame data moves along a preset direction;
and if the frame data is determined to move along the preset direction, compensating the frame of the frame data.
As another possible implementation manner, the determining module 430 is further configured to:
acquiring brightness values of all pixel points in the picture data;
screening a plurality of reference pixel points with brightness values larger than a first preset threshold value from the pixel points;
generating a reference brightness value according to the brightness values of the plurality of reference pixel points;
acquiring the ratio between the brightness value of the frame and the reference brightness value;
if the determined ratio is larger than a second preset threshold, determining the importance level of the frame as a first level;
and if the determined ratio is smaller than or equal to a second preset threshold value, determining the importance level of the frame as a second level.
As another possible implementation, the mobile module 440 is further configured to:
acquiring the position of a frame;
the position of the frame is kept unchanged during the process of moving the picture data.
As another possible implementation, the display includes first to nth columns of pixels along a preset direction, where N is a positive integer, and the compensation module 440 is further configured to:
acquiring brightness values of pixels from the N-1 column to the N-i column, and generating compensation brightness values according to the brightness values of the pixels from the N-1 column to the N-i column, wherein i is a positive integer smaller than N; and
and compensating the frame according to the compensation brightness value.
It should be noted that the foregoing explanation of the embodiment of the display control method is also applicable to the display control device of this embodiment, and will not be repeated here.
The display control device of the embodiment of the application obtains the input picture data; edge detection is carried out on the picture data to extract frames in the picture data, and brightness values of the frames are obtained; judging the importance level of the frame according to the brightness value of the frame; and if the importance level of the frame is determined to be the first level, the frame is kept in the picture data. According to the method, after the importance level of the frame is determined to be the first level according to the brightness value of the frame, the brightness value of the frame is kept unchanged in the picture data, and the phenomenon of picture quality degradation in the pixel moving process is avoided.
In order to achieve the above embodiments, the present application further proposes an electronic device including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the display control method as described in the above embodiments when executing the program.
In order to achieve the above-described embodiments, the present application also proposes a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the display control method as described in the above-described embodiments.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present application, the meaning of "plurality" means at least two, for example, two, three, etc., unless specifically defined otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and additional implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order from that shown or discussed, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present application.
Logic and/or steps represented in the flowcharts or otherwise described herein, e.g., a ordered listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). In addition, the computer readable medium may even be paper or other suitable medium on which the program is printed, as the program may be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
It is to be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. As with the other embodiments, if implemented in hardware, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
Those of ordinary skill in the art will appreciate that all or a portion of the steps carried out in the method of the above-described embodiments may be implemented by a program to instruct related hardware, where the program may be stored in a computer readable storage medium, and where the program, when executed, includes one or a combination of the steps of the method embodiments.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing module, or each unit may exist alone physically, or two or more units may be integrated in one module. The integrated modules may be implemented in hardware or in software functional modules. The integrated modules may also be stored in a computer readable storage medium if implemented in the form of software functional modules and sold or used as a stand-alone product.
The above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, or the like. While embodiments of the present application have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the application, and that variations, modifications, alternatives and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the application.

Claims (9)

1. A display control method, characterized in that the method comprises:
acquiring input picture data;
performing edge detection on the picture data to extract a frame in the picture data and obtaining a brightness value of the frame;
judging the importance level of the frame according to the brightness value of the frame;
determining that the importance level of the frame is a first level, and then keeping the frame in the picture data;
the holding the frame in the picture data includes:
acquiring the position of the frame;
and in the process of moving the picture data, the position of the frame is kept unchanged.
2. The display control method according to claim 1, wherein after judging the importance level of the frame based on the brightness value of the frame, the method further comprises:
determining the importance level of the frame as a second level, and judging whether the picture data moves along a preset direction or not;
and if the frame data is determined to move along the preset direction, compensating the frame of the frame data.
3. The display control method according to claim 2, wherein the determining the importance level of the frame according to the brightness value of the frame includes:
acquiring brightness values of all pixel points in the picture data;
screening a plurality of reference pixel points with brightness values larger than a first preset threshold value from the pixel points;
generating a reference brightness value according to the brightness values of the plurality of reference pixel points;
acquiring the ratio between the brightness value of the frame and the reference brightness value;
determining that the ratio is larger than a second preset threshold, and determining that the importance level of the frame is a first level;
and if the ratio is smaller than or equal to the second preset threshold value, determining the importance level of the frame as a second level.
4. The display control method according to claim 2, wherein the preset direction includes first to nth columns of pixels, N is a positive integer, the compensating the frame of the picture data includes:
acquiring brightness values of the pixels from the N-1 column to the N-i column, and generating compensation brightness values according to the brightness values of the pixels from the N-1 column to the N-i column, wherein i is a positive integer smaller than N; and
and compensating the frame according to the compensation brightness value.
5. A display control apparatus, characterized in that the apparatus comprises:
the acquisition module is used for acquiring input picture data;
the extraction module is used for carrying out edge detection on the picture data to extract a frame in the picture data and obtaining a brightness value of the frame;
the judging module is used for judging the importance level of the frame according to the brightness value of the frame;
and the moving module is used for determining that the importance level of the frame is a first level, and then keeping the frame in the picture data, wherein the position of the frame is acquired, and the frame is kept in the process of moving the picture data.
6. The display control apparatus according to claim 5, characterized in that the apparatus further comprises:
the compensation module is used for determining that the importance level of the frame is a second level and judging whether the picture data moves along a preset direction or not;
and if the frame data is determined to move along the preset direction, compensating the frame of the frame data.
7. The display control device according to claim 6, wherein the judging module is further configured to:
acquiring brightness values of all pixel points in the picture data;
screening a plurality of reference pixel points with brightness values larger than a first preset threshold value from the pixel points;
generating a reference brightness value according to the brightness values of the plurality of reference pixel points;
acquiring the ratio between the brightness value of the frame and the reference brightness value;
determining that the ratio is larger than a second preset threshold, and determining that the importance level of the frame is a first level;
and if the ratio is smaller than or equal to the second preset threshold value, determining the importance level of the frame as a second level.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the display control method according to any one of claims 1-4 when executing the program.
9. A non-transitory computer-readable storage medium having stored thereon a computer program, which when executed by a processor implements the display control method according to any one of claims 1 to 4.
CN201911180593.3A 2019-11-27 2019-11-27 Display control method, display control device, electronic equipment and storage medium Active CN110825337B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911180593.3A CN110825337B (en) 2019-11-27 2019-11-27 Display control method, display control device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911180593.3A CN110825337B (en) 2019-11-27 2019-11-27 Display control method, display control device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110825337A CN110825337A (en) 2020-02-21
CN110825337B true CN110825337B (en) 2023-11-28

Family

ID=69559823

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911180593.3A Active CN110825337B (en) 2019-11-27 2019-11-27 Display control method, display control device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110825337B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030095672A (en) * 2002-06-14 2003-12-24 삼성에스디아이 주식회사 Method and apparatus to cancel ghost for plasma display panel and a plasma display panel device having that apparatus
CN102138322A (en) * 2008-09-08 2011-07-27 松下电器产业株式会社 Image processing device, image processing method, image processing program, and imaging device
CN103079028A (en) * 2011-10-25 2013-05-01 联咏科技股份有限公司 Black edge detection method for image picture and image processing device
CN105139792A (en) * 2015-08-18 2015-12-09 京东方科技集团股份有限公司 Display method and display device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030095672A (en) * 2002-06-14 2003-12-24 삼성에스디아이 주식회사 Method and apparatus to cancel ghost for plasma display panel and a plasma display panel device having that apparatus
CN102138322A (en) * 2008-09-08 2011-07-27 松下电器产业株式会社 Image processing device, image processing method, image processing program, and imaging device
CN103079028A (en) * 2011-10-25 2013-05-01 联咏科技股份有限公司 Black edge detection method for image picture and image processing device
CN105139792A (en) * 2015-08-18 2015-12-09 京东方科技集团股份有限公司 Display method and display device

Also Published As

Publication number Publication date
CN110825337A (en) 2020-02-21

Similar Documents

Publication Publication Date Title
US8131103B2 (en) Image detail enhancement
RU2413384C2 (en) Device of image processing and method of image processing
US20060165311A1 (en) Spatial standard observer
CN101202928B (en) Apparatus and method to improve clarity of image
KR101773887B1 (en) Infrared resolution and contrast enhancement with fusion
KR20090090333A (en) Focus assist system and method
CN110572636B (en) Camera contamination detection method and device, storage medium and electronic equipment
CN112950499A (en) Image processing method, image processing device, electronic equipment and storage medium
CN100438570C (en) Sharpness enhancement
CN111986116A (en) Video noise reduction method and device, electronic equipment and computer readable storage medium
KR102462265B1 (en) Directional scaling systems and methods
JP2006504312A5 (en)
CN110855917A (en) Station caption adjusting method, OLED television and storage medium
WO2007039947A1 (en) Image correction device and image correction method
CN110825337B (en) Display control method, display control device, electronic equipment and storage medium
KR20220025552A (en) Image processing device and image enhancing method
US10311550B2 (en) Image processing device for eliminating graininess of image
JP2012039440A (en) Dark area noise correction device
CN111476740B (en) Image processing method, device, storage medium and electronic equipment
JP4635651B2 (en) Pattern recognition apparatus and pattern recognition method
JP7346077B2 (en) Image processing device, image processing method and program
CN101364303B (en) Edge pixel extracting and processing method
Hu et al. Non-stationary content-adaptive projector resolution enhancement
JP5099438B2 (en) Image processing apparatus and method, and program
JP4795314B2 (en) Flicker correction apparatus and flicker correction method

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