CN107730467B - Display method, device, equipment and storage medium - Google Patents

Display method, device, equipment and storage medium Download PDF

Info

Publication number
CN107730467B
CN107730467B CN201710970326.0A CN201710970326A CN107730467B CN 107730467 B CN107730467 B CN 107730467B CN 201710970326 A CN201710970326 A CN 201710970326A CN 107730467 B CN107730467 B CN 107730467B
Authority
CN
China
Prior art keywords
image
pixel point
weighting coefficient
edge
display
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
CN201710970326.0A
Other languages
Chinese (zh)
Other versions
CN107730467A (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.)
Chip Wealth Technology Ltd
Original Assignee
Chip Wealth Technology 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 Chip Wealth Technology Ltd filed Critical Chip Wealth Technology Ltd
Priority to CN201710970326.0A priority Critical patent/CN107730467B/en
Publication of CN107730467A publication Critical patent/CN107730467A/en
Application granted granted Critical
Publication of CN107730467B publication Critical patent/CN107730467B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/77Retouching; Inpainting; Scratch removal
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/13Edge detection

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention provides a display method, a display device, display equipment and a storage medium, and relates to the technical field of display. The display method is applied to display equipment and comprises the following steps: obtaining a first image for display in the display area; processing the edge of the first image based on a preset image edge processing algorithm to obtain a second image; displaying the second image in the display area. Therefore, the phenomenon that the edge of the image displayed in the display area is jagged can be eliminated, and the display effect and the experience of the user are improved.

Description

Display method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of display, in particular to a display method, a display device, display equipment and a storage medium.
Background
An existing display device having a display screen has a pixel area cut by an edge line of the display area if the edge line of the display area of the display screen does not coincide with an edge line of a pixel row or a pixel column, for example, a circular screen or the like. When the display device displays the image, the edge of the displayed image may have a jagged phenomenon, which affects the display effect of the display device and causes poor user experience.
Disclosure of Invention
Embodiments of the present invention provide a display method, an apparatus, a device and a storage medium to solve the above problems.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
a display method is applied to a display device, and comprises the following steps: acquiring a first image for displaying in a display area of the display device; processing the edge of the first image based on a preset image edge processing algorithm to obtain a second image; displaying the second image in the display area.
As an optional scheme, the processing the edge of the first image based on a preset image edge processing algorithm includes: acquiring a preset weighting coefficient value corresponding to a pixel point of the edge of the first image; multiplying the gray value of the pixel point by a preset weighting coefficient value corresponding to the pixel point to obtain the current gray value of the pixel point; repeating the step of obtaining the preset weighting coefficient value corresponding to a pixel point of the edge of the first image until the step of obtaining the current gray value of the pixel point by multiplying the preset weighting coefficient value corresponding to the pixel point by the gray value of the pixel point until the current gray values of all the pixel points of the edge of the first image are obtained so as to obtain a second image.
As an optional scheme, the obtaining a preset weighting coefficient value corresponding to a pixel point of an edge of the first image includes: acquiring a first area which is formed by the pixel point and is corresponding to a single pixel area in the display area and the edge of the display area; and acquiring the ratio of the first area to the second area of the single pixel region as a preset weighting coefficient value corresponding to the pixel point.
As an optional scheme, the obtaining a preset weighting coefficient value corresponding to a pixel point of an edge of the first image includes: acquiring a first pixel coordinate of the pixel point corresponding to the display area; and searching a preset weighting coefficient value corresponding to the first pixel coordinate based on a preset weighting coefficient table to serve as the preset weighting coefficient value corresponding to the pixel point.
A display device is applied to a display device and comprises: the device comprises an image acquisition module, an image processing module and an image output module, wherein the image acquisition module is used for acquiring a first image displayed in a display area of the display equipment; the image processing module is used for processing the edge of the first image based on a preset image edge processing algorithm to obtain a second image; the image output module is used for displaying the second image in the display area.
As an alternative, the image processing module includes: the image processing device comprises a weighting coefficient acquisition unit and a first processing unit, wherein the weighting coefficient acquisition unit is used for acquiring a preset weighting coefficient value corresponding to a pixel point of an edge of the first image; the first processing unit is used for multiplying the gray value of the pixel point by a preset weighting coefficient value corresponding to the pixel point to obtain the current gray value of the pixel point.
As an optional scheme, the weighting coefficient obtaining unit includes a first area calculating subunit and a coefficient calculating subunit, where the weighting coefficient calculating subunit is configured to obtain a first area, which is enclosed by a single pixel region corresponding to the pixel point in the display region and an edge of the display region; and the coefficient calculation subunit is used for acquiring a ratio of the first area to a second area of the single pixel region, and the ratio is used as a preset weighting coefficient value corresponding to the pixel point.
As an optional scheme, the weighting coefficient obtaining unit includes a pixel coordinate obtaining subunit and a coefficient searching subunit, where the pixel coordinate obtaining subunit is configured to obtain a first pixel coordinate of the pixel point corresponding to the display area; the coefficient searching subunit is configured to search, based on a preset weighting coefficient table, a preset weighting coefficient value corresponding to the first pixel coordinate, as the preset weighting coefficient value corresponding to the pixel point.
A display device comprising a display unit, a memory and a processor, the display unit and the memory being connected to the processor, the memory storing instructions which, when executed by the processor, cause the processor to carry out the display method described above.
A storage medium having stored therein computer instructions, wherein the computer instructions, when executed, perform the above-described display method.
According to the display method, the display device, the display equipment and the storage medium provided by the embodiment of the invention, the first image used for being displayed in the display area is obtained, then the edge of the first image is processed based on the preset image edge processing algorithm to obtain the second image, and finally the second image is displayed in the display area. Therefore, the smooth processing of the edge of the image displayed in the display area can be achieved, the phenomenon that the edge of the displayed image is jagged is eliminated, the display effect and the experience of a user are improved, and the problem that the display effect of display equipment is influenced and the experience of the user is poor due to the fact that the phenomenon that the edge of the displayed image is jagged in the prior art is solved.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a block diagram schematically illustrating a display device according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating a display method provided by an embodiment of the invention;
fig. 3 is a flowchart illustrating step S120 of the display method according to the embodiment of the present invention;
FIG. 4 illustrates a schematic diagram of a concept provided by an embodiment of the present invention;
fig. 5 is a block diagram illustrating a display apparatus provided in an embodiment of the present invention;
fig. 6 is a block diagram illustrating an image processing module of a display device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Fig. 1 shows a block diagram of a display device applicable to an embodiment of the present invention. As shown in fig. 1, the display device 100 includes a memory 102, a memory controller 104, one or more processors 106 (only one shown), a peripheral interface 108, a radio frequency module 110, an audio module 112, a display unit 114, and the like. These components communicate with each other via one or more communication buses/signal lines 116.
The memory 102 may be used to store software programs and modules, such as program instructions/modules corresponding to the image processing method and apparatus in the embodiments of the present invention, and the processor 106 executes various functional applications and data processing by running the software programs and modules stored in the memory 102, such as the image processing apparatus provided in the embodiments of the present invention.
The memory 102 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. Access to the memory 102 by the processor 106, and possibly other components, may be under the control of the memory controller 104.
The peripheral interface 108 couples various input/output devices to the processor 106 as well as to the memory 102. In some embodiments, the peripheral interface 108, the processor 106, and the memory controller 104 may be implemented in a single chip. In other examples, they may be implemented separately from the individual chips.
The rf module 110 is used for receiving and transmitting electromagnetic waves, and implementing interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices.
Audio module 112 provides an audio interface to a user that may include one or more microphones, one or more speakers, and audio circuitry.
The display unit 114 provides a display interface between the display apparatus 100 and a user. In particular, display unit 114 displays video output to the user, the content of which may include text, graphics, video, and any combination thereof.
It will be appreciated that the configuration shown in fig. 1 is merely illustrative and that the display device 100 may also include more or fewer components than shown in fig. 1 or have a different configuration than shown in fig. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
First embodiment
Fig. 2 is a flowchart illustrating a display method according to an embodiment of the present invention. The display method is applied to the display device.
The display device may be a display device that can display an image. The edge line of the display area of the display unit of the display device is not overlapped with the edge line of a certain pixel row or pixel column, that is, the edge line of the display area cuts some single sub-pixel areas, and some areas of the edge of the display area are not a complete sub-pixel area.
For example, the display device may be a smart watch having a circular display screen with a display area that is also circular. Due to the fact that the intelligent watch is a circular display area, and the pixels are arranged in rows and columns, the edge of the display area of the intelligent watch does not coincide with the edge line of one pixel row or one pixel column of the pixel array, and therefore some areas of the edge of the display area of the intelligent watch are not a complete sub-pixel area. The edge of the display area may also be a diagonal line, a straight line, etc.
Of course, the specific type of the display device and the specific shape of the display area are not limited in the embodiment of the present invention.
Referring to fig. 2, the display method includes:
step S110: a first image for display in a display area of the display device is acquired.
When the display device provided by the embodiment of the invention needs to display the image, the input first image used for displaying in the display area of the display device can be acquired for displaying after subsequent processing.
In the embodiment of the present invention, the first image used in the display area of the display device may be an image that needs to be displayed in the display area and is transmitted to the display device by an external terminal connected to the display device, or may be an image that needs to be displayed in the display area and is stored in advance in a memory of the display device. Of course, the first image acquired by the display device for displaying in the display area is not limited in the embodiment of the present invention.
Step S120: and processing the edge of the first image based on a preset image edge processing algorithm to obtain a second image.
After the first image for displaying in the display area is acquired, the processor of the display device processes the edge of the first image based on a preset image edge processing algorithm pre-stored in the memory of the display device, so as to eliminate the jaggy phenomenon that the image may appear on the edge after being displayed on the display device.
In the embodiment of the present invention, a memory of the display device stores a preset image edge processing algorithm for processing an edge of an image in advance. The processor of the display device may read a preset image edge processing algorithm in the memory to process the edge of the first image. The following describes in detail the processing of the edge of the first image by the processor of the display device based on a preset image edge processing algorithm.
Specifically, referring to fig. 3, step S120 may include:
step S121: and acquiring a preset weighting coefficient value corresponding to a pixel point of the edge of the first image.
First, a predetermined weighting coefficient value corresponding to a pixel point of an edge of the first image may be obtained. It should be noted that the edge of the first image is understood that the first image corresponds to a region formed by all the pixels in the outermost periphery of the display region.
As a first implementation manner, the acquiring a preset weighting coefficient value corresponding to a pixel point of an edge of the first image includes: acquiring a first area which is formed by the pixel point and is corresponding to a single pixel area in the display area and the edge of the display area; and acquiring the ratio of the first area to the second area of the single pixel region as a preset weighting coefficient value corresponding to the pixel point.
When the preset weighting coefficient value corresponding to a pixel point at the edge of the first image is obtained, the pixel point may be a pixel point at the edge of any first image, that is, the first image corresponds to any one of all pixel points at the outermost periphery in the display region.
In the embodiment of the present invention, determining that the pixel point corresponds to a single pixel region in the display region may be determining that the pixel point of the first image is in a single sub-pixel region in the display region. Thus, the area surrounded by the single pixel area corresponding to the pixel point of the first image and the edge of the display area can be determined, and the area of the area surrounded by the single pixel area corresponding to the pixel point and the edge of the display area can be obtained.
It can be understood that the single sub-pixel region of the pixel point of the first image in the display region is square, the edge of the display region may cut the square single sub-pixel region into a first portion and a second portion, the first portion is a portion outside the display region, the second portion is a portion located in the display region, and the second portion is used as a region surrounded by the single pixel region corresponding to the pixel point and the edge of the display region. Referring to fig. 4, an arc line in the drawing is an edge line of the display area, a portion 30 inside the arc is a portion inside the display area, a portion 40 outside the arc is a portion outside the display area, a shadow portion 10 is a region surrounded by a single pixel region corresponding to a pixel point of the first image and the edge of the display area, and a square region 20 where the shadow portion 10 is located is a corresponding single pixel region of the pixel.
Therefore, the ratio obtained by dividing the first area of the pixel point, which is enclosed by the single pixel area in the display area and the edge of the display area, by the second area of the pixel point, which is corresponding to the single pixel area in the display area, can be used as the preset weighting coefficient value corresponding to the pixel point.
As a second implementation manner, the acquiring a preset weighting coefficient value corresponding to a pixel point of an edge of the first image includes: acquiring a first pixel coordinate of the pixel point corresponding to the display area; and searching a preset weighting coefficient value corresponding to the first pixel coordinate based on a preset weighting coefficient table to serve as the preset weighting coefficient value corresponding to the pixel point.
In the embodiment of the present invention, the preset weighting coefficient value corresponding to a pixel point at the edge of the first image is obtained, and the preset weighting coefficient value corresponding to the pixel point can also be directly searched based on the preset weighting coefficient table stored in the memory of the display device.
The preset weighting coefficient table stored in the memory of the display device includes the coordinates of each pixel point in the display area and the preset weighting coefficient corresponding to each pixel point coordinate.
The method for establishing the preset weighting coefficient table stored in the memory of the display device may be based on the method of the first embodiment, that is, the ratio of the area of each sub-pixel in the display area, which is cut by the edge line of the display area in the display area, to the area of each sub-pixel area is obtained, so that the preset weighting coefficients corresponding to the pixel points at the edges of all the display areas can be obtained.
In the embodiment of the invention, the range of the preset weighting coefficient value corresponding to each pixel point of the edge of the first image can be 0-1.
Step S122: and multiplying the preset weighting coefficient value corresponding to the pixel point by the gray value of the pixel point to obtain the current gray value of the pixel point.
After the preset weighting coefficient value corresponding to the pixel point is obtained, the gray value of the pixel point may be multiplied by the preset weighting coefficient value, and the obtained value is used as the current gray value of the pixel point.
Step S123: repeating the step of obtaining the preset weighting coefficient value corresponding to a pixel point of the edge of the first image until the step of obtaining the current gray value of the pixel point by multiplying the preset weighting coefficient value corresponding to the pixel point by the gray value of the pixel point until the current gray values of all the pixel points of the edge of the first image are obtained so as to obtain a second image.
According to the steps S121 to S122, the current gray values of all the pixel points of the edge of the first image can be obtained, so that a new image, i.e. the second image, can be obtained.
Step S130: displaying the second image in the display area.
After the input first image which needs to be displayed in the display area is processed to obtain a second image, the second image is displayed in the display area so as to achieve the purpose of displaying.
The display method provided by the first embodiment of the present invention is applied to a display device in which an edge line of a display area of a display unit is not overlapped with an edge line of a certain pixel row or a certain pixel column, and after performing edge processing on an input image to be displayed in the display area, data values of an edge of the image are adjusted to make the edge display of the image smoother, weaken jaggy feeling, improve a phenomenon that jaggy feeling occurs at the edge when the image is displayed by such a display device in the prior art, and also improve a problem that a display effect of a display method of such a display device is not easy to control.
Second embodiment
A second embodiment of the present invention provides a display device applied to a display apparatus. Referring to fig. 5, the display device 200 includes an image obtaining module 210, an image processing module 220, and an image output module 230. The image acquiring module 210 is configured to acquire a first image for displaying in a display area of the display device; the image processing module 220 is configured to process an edge of the first image based on a preset image edge processing algorithm to obtain a second image; the image output module 230 is configured to display the second image in the display area.
In the embodiment of the present invention, referring to fig. 6, the image processing module 220 includes: a weighting coefficient acquisition unit 221 and a first processing unit 222. The weighting coefficient obtaining unit 221 is configured to obtain a preset weighting coefficient value corresponding to a pixel point of an edge of the first image; the first processing unit 222 is configured to multiply the gray value of the pixel point by a preset weighting coefficient value corresponding to the pixel point, so as to obtain the current gray value of the pixel point.
In this embodiment of the present invention, the weighting coefficient obtaining unit 221 includes a first area calculating subunit and a coefficient calculating subunit, where the weighting coefficient calculating subunit is configured to obtain a first area surrounded by a single pixel area of the pixel point corresponding to the display area and an edge of the display area; and the coefficient calculation subunit is used for acquiring a ratio of the first area to a second area of the single pixel region, and the ratio is used as a preset weighting coefficient value corresponding to the pixel point.
In the embodiment of the present invention, the weighting coefficient obtaining unit includes a pixel coordinate obtaining subunit and a coefficient searching subunit, where the pixel coordinate obtaining subunit is configured to obtain a first pixel coordinate of the pixel point corresponding to the display area; the coefficient searching subunit is configured to search, based on a preset weighting coefficient table, a preset weighting coefficient value corresponding to the first pixel coordinate, as the preset weighting coefficient value corresponding to the pixel point.
Third embodiment
A third embodiment of the present invention provides a display device 100, and referring to fig. 1, the display device 100 includes a display unit 114, a memory 102, and a processor 106. The display unit 114 and the memory 102 are connected to the processor 106, and the memory 102 stores instructions that, when executed by the processor 106, cause the processor 106 to execute the display method according to the first embodiment of the present invention.
Fourth embodiment
A fourth embodiment of the present invention provides a storage medium, in which computer instructions are stored, wherein the computer instructions, when executed, perform the display method provided by the first embodiment of the present invention.
In summary, the display method, the display apparatus, the display device and the storage medium according to the embodiments of the present invention obtain the first image for displaying in the display area, then process the edge of the first image based on the preset image edge processing algorithm to obtain the second image, and finally display the second image in the display area. Therefore, smooth processing of the edge of the image displayed in the display area can be achieved, the phenomenon that the edge of the displayed image is jagged is eliminated, the display effect and the experience of a user are improved, and the problem that the display effect of a display device is affected and the experience of the user is poor due to the fact that the phenomenon that the edge of the displayed image is jagged in the prior art is solved.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes. It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (6)

1. A display method is applied to a display device, and the method comprises the following steps:
acquiring a first image for displaying in a display area of the display device;
processing the edge of the first image based on a preset image edge processing algorithm to obtain a second image;
displaying the second image in the display area;
wherein the processing the edge of the first image based on a preset image edge processing algorithm comprises: acquiring a preset weighting coefficient value corresponding to a pixel point of the edge of the first image; multiplying the gray value of the pixel point by a preset weighting coefficient value corresponding to the pixel point to obtain the current gray value of the pixel point; repeating the step of obtaining the preset weighting coefficient value corresponding to a pixel point at the edge of the first image until the step of obtaining the current gray value of the pixel point by multiplying the preset weighting coefficient value corresponding to the pixel point by the gray value of the pixel point is obtained until the current gray values of all the pixel points at the edge of the first image are obtained to obtain a second image;
the obtaining of the preset weighting coefficient value corresponding to a pixel point of the edge of the first image includes: acquiring a first area which is formed by the pixel point and is corresponding to a single pixel area in the display area and the edge of the display area; and acquiring the ratio of the first area to the second area of the single pixel region as a preset weighting coefficient value corresponding to the pixel point.
2. The method according to claim 1, wherein said obtaining the preset weighting coefficient value corresponding to a pixel point of the edge of the first image comprises:
acquiring a first pixel coordinate of the pixel point corresponding to the display area;
and searching a preset weighting coefficient value corresponding to the first pixel coordinate based on a preset weighting coefficient table to serve as the preset weighting coefficient value corresponding to the pixel point.
3. A display device, applied to a display apparatus, the device comprising: an image acquisition module, an image processing module and an image output module, wherein,
the image acquisition module is used for acquiring a first image displayed in a display area of the display equipment;
the image processing module is used for processing the edge of the first image based on a preset image edge processing algorithm to obtain a second image;
the image output module is used for displaying the second image in the display area;
wherein the image processing module comprises: the image processing device comprises a weighting coefficient acquisition unit and a first processing unit, wherein the weighting coefficient acquisition unit is used for acquiring a preset weighting coefficient value corresponding to a pixel point of the edge of the first image; the first processing unit is used for multiplying the gray value of the pixel point by a preset weighting coefficient value corresponding to the pixel point to obtain the current gray value of the pixel point;
the weighting coefficient obtaining unit comprises a first area calculating subunit and a coefficient calculating subunit, and the first area calculating subunit is used for obtaining a first area which is formed by the pixel point corresponding to a single pixel area in the display area and the edge of the display area; and the coefficient calculation subunit is used for acquiring a ratio of the first area to a second area of the single pixel region, and the ratio is used as a preset weighting coefficient value corresponding to the pixel point.
4. The apparatus of claim 3, wherein the weighting coefficient obtaining unit comprises a pixel coordinate obtaining sub-unit and a coefficient finding sub-unit, wherein,
the pixel coordinate obtaining subunit is configured to obtain a first pixel coordinate of the pixel point corresponding to the display area;
the coefficient searching subunit is configured to search, based on a preset weighting coefficient table, a preset weighting coefficient value corresponding to the first pixel coordinate, as the preset weighting coefficient value corresponding to the pixel point.
5. A display device, comprising a display unit, a memory, and a processor, the display unit and the memory being connected to the processor, the memory storing instructions that, when executed by the processor, cause the processor to perform the method of any one of claims 1-2.
6. A storage medium having stored therein computer instructions, wherein the computer instructions, when executed, perform the method of any of claims 1-2.
CN201710970326.0A 2017-10-16 2017-10-16 Display method, device, equipment and storage medium Active CN107730467B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710970326.0A CN107730467B (en) 2017-10-16 2017-10-16 Display method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710970326.0A CN107730467B (en) 2017-10-16 2017-10-16 Display method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN107730467A CN107730467A (en) 2018-02-23
CN107730467B true CN107730467B (en) 2020-04-10

Family

ID=61211837

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710970326.0A Active CN107730467B (en) 2017-10-16 2017-10-16 Display method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN107730467B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110176207B (en) * 2019-05-31 2022-05-24 芯颖科技有限公司 Image data determination method and device and electronic equipment
CN112261242B (en) * 2020-10-21 2022-09-27 合肥芯颖科技有限公司 Image data processing method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3605944B2 (en) * 1996-06-13 2004-12-22 松下電器産業株式会社 Image forming device
US6781600B2 (en) * 2000-04-14 2004-08-24 Picsel Technologies Limited Shape processor
CN105069782B (en) * 2008-05-28 2018-10-23 苹果公司 A kind of method and apparatus for limiting the boundary of image
EP2441052B1 (en) * 2009-06-10 2013-01-23 Koninklijke Philips Electronics N.V. Visualization apparatus for visualizing an image data set
JP5820366B2 (en) * 2010-10-08 2015-11-24 パナソニック株式会社 Posture estimation apparatus and posture estimation method

Also Published As

Publication number Publication date
CN107730467A (en) 2018-02-23

Similar Documents

Publication Publication Date Title
CN108961170B (en) Image processing method, device and system
US8788978B2 (en) Pinch zoom velocity detent
CN109492607B (en) Information pushing method, information pushing device and terminal equipment
CN107730467B (en) Display method, device, equipment and storage medium
CN107909368B (en) Payment control method and device, terminal and readable storage medium
CN105512187B (en) Information display method and information display device based on display picture
CN109118456B (en) Image processing method and device
US20180164954A1 (en) Method, apparatus and user terminal for displaying and controlling input box
CN107818323B (en) Method and apparatus for processing image
CN109426415B (en) Method and device for generating cascade selector
CN110188782B (en) Image similarity determining method and device, electronic equipment and readable storage medium
CN111461968A (en) Picture processing method and device, electronic equipment and computer readable medium
CN113269280B (en) Text detection method and device, electronic equipment and computer readable storage medium
CN109947973B (en) Background configuration method, device and equipment for display area and readable medium
US20170171524A1 (en) Techniques for improving stereo block matching with the pyramid method
CN107239212B (en) Method and device for presenting segmentation selection view and user terminal
CN113487478A (en) Image processing method, image processing device, storage medium and electronic equipment
CN110825993B (en) Picture display method and device and electronic equipment
CN110321190B (en) Method and device for optimizing icons in desktop
US20220394326A1 (en) Method and apparatus for determining object adding mode, electronic device and medium
CN109933749B (en) Method and device for generating information
CN107743155B (en) IP labeling method, device, electronic equipment and storage medium
CN110012171B (en) Time display method and device, storage medium and electronic equipment
CN115134677A (en) Video cover selection method and device, electronic equipment and computer storage medium
CN106055229B (en) Display interface adjusting method and display interface adjusting module based on screen reading

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