CN107730467A - Display method, device, equipment and storage medium - Google Patents
Display method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN107730467A CN107730467A CN201710970326.0A CN201710970326A CN107730467A CN 107730467 A CN107730467 A CN 107730467A CN 201710970326 A CN201710970326 A CN 201710970326A CN 107730467 A CN107730467 A CN 107730467A
- Authority
- CN
- China
- Prior art keywords
- pixel
- image
- edge
- viewing area
- display device
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 238000003860 storage Methods 0.000 title claims abstract description 21
- 238000012545 processing Methods 0.000 claims abstract description 26
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 14
- 230000015654 memory Effects 0.000 claims description 26
- 238000004364 calculation method Methods 0.000 claims description 4
- 230000000694 effects Effects 0.000 abstract description 7
- 230000006870 function Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 230000008859 change Effects 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000009499 grossing Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000005520 cutting process Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/77—Retouching; Inpainting; Scratch removal
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/13—Edge detection
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Controls And Circuits For Display Device (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (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
Technical field
The present invention relates to display technology field, in particular to a kind of display methods, device, equipment and storage medium.
Background technology
The existing display device with display screen, if the edge line and pixel column of the viewing area of its display screen
Or the edge line of pixel column is misaligned, i.e. the edge line of viewing area is cut to pixel region, for example, circular screen
Deng.Then for display device when carrying out the display of image, jagged phenomenon occurs in the edge of the image of display, have impact on display
The display effect of equipment, cause the Experience Degree of user poor.
The content of the invention
In view of this, the embodiments of the invention provide a kind of display methods, device, equipment and storage medium, with solution
State problem.
To achieve these goals, the technical solution adopted by the present invention is as follows:
A kind of display methods, applied to display device, methods described includes:Obtain for being shown in the display device
First image of viewing area;The edge of described first image is handled based on pre-set image edge treated algorithm, obtained
Second image;Second image is shown in the viewing area.
It is described that the edge of described first image is entered based on pre-set image edge treated algorithm as a kind of optional scheme
Row processing, including:Obtain and weighting coefficient values are preset corresponding to a pixel at the edge of described first image;Utilize the pixel
Weighting coefficient values are preset corresponding to point to be multiplied with the gray value of the pixel, obtain the current grayvalue of the pixel;Weight
The step of presetting weighting coefficient values corresponding to one pixel at the multiple edge for obtaining described first image, institute is utilized to described
State default weighting coefficient values corresponding to pixel to be multiplied with the gray value of the pixel, obtain the current gray level of the pixel
The step of value, until the current grayvalue of all pixels point at the edge of described first image is obtained, to obtain the second image.
As a kind of optional scheme, weighting is preset corresponding to a pixel at the edge for obtaining described first image
Coefficient value, including:The pixel is obtained corresponding to the single pixel region in the viewing area and the viewing area
The first area that edge surrounds;The ratio of first area and the second area of the single pixel region is obtained, as institute
State and weighting coefficient values are preset corresponding to pixel.
As a kind of optional scheme, weighting is preset corresponding to a pixel at the edge for obtaining described first image
Coefficient value, including:The pixel is obtained corresponding to the first pixel coordinate in the viewing area;Based on default weight coefficient
Weighting coefficient values are preset corresponding to first pixel coordinate described in table search, as default weight coefficient corresponding to the pixel
Value.
A kind of display device, applied to display device, applied to display device, described device includes:Image collection module,
Image processing module and image output module, wherein, described image acquisition module, which is used to obtain, to be used to be shown in the display
First image of the viewing area of equipment;Described image processing module is used for based on pre-set image edge treated algorithm to described the
The edge of one image is handled, and obtains the second image;Described image output module is used to second image being shown in institute
State viewing area.
As a kind of optional scheme, described image processing module includes:Weight coefficient acquiring unit and the first processing
Unit, wherein, the weight coefficient acquiring unit is used to preset corresponding to a pixel at the edge for obtaining described first image
Weighting coefficient values;The first processing units are used to utilize default weighting coefficient values corresponding to the pixel and the pixel
Gray value be multiplied, obtain the current grayvalue of the pixel.
As a kind of optional scheme, the weight coefficient acquiring unit includes the first areal calculation subelement and coefficient
Computation subunit, wherein, the weight coefficient computation subunit is used to obtain the pixel corresponding in the viewing area
Single pixel region and the viewing area the first area for surrounding of edge;The coefficient computation subunit is used to obtain institute
The ratio of the first area and the second area of the single pixel region is stated, as default weight coefficient corresponding to the pixel
Value.
As a kind of optional scheme, the weight coefficient acquiring unit includes pixel coordinate and obtains subelement and coefficient
Subelement is searched, wherein, the pixel coordinate obtains subelement and is used to obtain the pixel corresponding in the viewing area
The first pixel coordinate;The coefficient is searched subelement and is used for based on the first pixel coordinate pair described in default weight coefficient table search
The default weighting coefficient values answered, as default weighting coefficient values corresponding to the pixel.
A kind of display device, the display device include display unit, memory and processor, the display unit and
The memory is connected to the processor, the memory store instruction, makes when executed by the processor
The above-mentioned display methods of the computing device.
A kind of storage medium, computer instruction is stored with the storage medium, wherein, the computer instruction is being transported
Above-mentioned display methods is performed during row.
Display methods, device, display device and storage medium provided in an embodiment of the present invention, it is used to be shown in by obtaining
First image of viewing area, it is then based on pre-set image edge treated algorithm and the edge of the first image is handled, obtains
Second image, the second image is finally shown in viewing area.It is thus possible to realize to the image for being shown in viewing area
Edge smoothing processing, to eliminate the phenomenon of the jagged edges of the image of display, lift display effect and user
Experience Degree, the edge of image for solving to show in the prior art occurs jagged phenomenon, have impact on the aobvious of display device
Show effect, the problem of causing the Experience Degree difference of user.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate
Appended accompanying drawing, is described in detail below.
Brief description of the drawings
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Fig. 1 shows the block diagram of display device provided in an embodiment of the present invention;
Fig. 2 shows the flow chart of display methods provided in an embodiment of the present invention;
Fig. 3 shows the step S120 of display methods provided in an embodiment of the present invention flow chart;
Fig. 4 shows a kind of principle schematic provided in an embodiment of the present invention;
Fig. 5 shows the module map of display device provided in an embodiment of the present invention;
Fig. 6 shows the module map of the image processing module of display device provided in an embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Ground describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.Generally exist
The component of the embodiment of the present invention described and illustrated in accompanying drawing can be configured to arrange and design with a variety of herein.Cause
This, the detailed description of the embodiments of the invention to providing in the accompanying drawings is not intended to limit claimed invention below
Scope, but it is merely representative of the selected embodiment of the present invention.Based on embodiments of the invention, those skilled in the art are not doing
The every other embodiment obtained on the premise of going out creative work, belongs to the scope of protection of the invention.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi
It is defined, then it further need not be defined and explained in subsequent accompanying drawing in individual accompanying drawing.Meanwhile the present invention's
In description, term " first ", " second " etc. are only used for distinguishing description, and it is not intended that instruction or hint relative importance.
Fig. 1 shows a kind of structured flowchart for the display device that can be applied in the embodiment of the present invention.It is as shown in figure 1, aobvious
Show that equipment 100 includes memory 102, storage control 104, one or more (one is only shown in figure) processors 106, peripheral hardware
Interface 108, radio-frequency module 110, audio-frequency module 112, display unit 114 etc..These components by one or more communication bus/
Signal wire 116 mutually communicates.
Memory 102 can be used for storage software program and module, such as the image processing method in the embodiment of the present invention and
Programmed instruction/module corresponding to device, processor 106 are stored in software program and module in memory 102 by operation,
So as to perform various function application and data processing, such as image processing apparatus provided in an embodiment of the present invention.
Memory 102 may include high speed random access memory, may also include nonvolatile memory, such as one or more magnetic
Property storage device, flash memory or other non-volatile solid state memories.Processor 106 and other possible components are to storage
The access of device 102 can be carried out under the control of storage control 104.
Various input/output devices are coupled to processor 106 and memory 102 by Peripheral Interface 108.In some implementations
In example, Peripheral Interface 108, processor 106 and storage control 104 can be realized in one single chip.In some other reality
In example, they can be realized by independent chip respectively.
Radio-frequency module 110 is used to receiving and sending electromagnetic wave, realizes the mutual conversion of electromagnetic wave and electric signal, so that with
Communication network or other equipment are communicated.
Audio-frequency module 112 provides a user COBBAIF, and it may include one or more microphones, one or more raises
Sound device and voicefrequency circuit.
Display unit 114 provides a display interface between display device 100 and user.Specifically, display unit 114
Video frequency output is shown to user, the content of these video frequency outputs may include word, figure, video and its any combination.
It is appreciated that structure shown in Fig. 1 is only to illustrate, display device 100 may also include it is more more than shown in Fig. 1 or
Less component, or there is the configuration different from shown in Fig. 1.Each component shown in Fig. 1 can use hardware, software or its
Combination is realized.
First embodiment
The flow chart of display methods provided in an embodiment of the present invention as shown in Figure 2.The display methods is set applied to display
It is standby.
Display device can be the display device that can be shown to image.Wherein, the display unit of display device is aobvious
Show the edge line in region, misaligned with the edge line of a certain pixel column or pixel column, i.e., the edge line of viewing area can be to one
A little single subpixel areas are cut, and some regions at the edge of viewing area are not a complete subpixel areas.
For example, display device can be intelligent watch, it has circular display screen, and the viewing area of display screen is also
It is circular.Due to the circular display area of intelligent watch, also, pixel is arranged according to ranks, then the display of intelligent watch
Edge line of the edge in region not with the pixel column of pel array one or a pixel column overlaps, and makes the viewing area of intelligent watch
The some regions at edge be not a complete subpixel area.The edge of viewing area can also be oblique line, straight line etc..
Certainly, the particular type of display device and the concrete shape of viewing area are not intended as in embodiments of the present invention
Limit.
Fig. 2 is referred to, the display methods includes:
Step S110:Obtain the first image of the viewing area for being shown in the display device.
Display device provided in an embodiment of the present invention when needing to show image, can obtain input be used for show
The first image of the viewing area of the display device is shown in, for being shown after subsequent treatment.
In embodiments of the present invention, the first image for the viewing area of the display device can be set with the display
The exterior terminal of standby connection, which is transmitted to the needs of display device, to carry out being shown in the image of viewing area or prestores
In the memory of the display device be used for need to be shown in the image of viewing area.Certainly, what display device obtained is used for
The first image for being shown in viewing area is not intended as limiting in embodiments of the present invention.
Step S120:The edge of described first image is handled based on pre-set image edge treated algorithm, obtains the
Two images.
After the first image for being shown in viewing area is got, the processor of display device is based on prestoring again
Pre-set image edge treated algorithm in the memory of display device is handled the edge of the first image, to eliminate image
It is shown in the jagged phenomenon being likely to occur after display device in edge.
In embodiments of the present invention, it is previously stored with the memory of display device for handling the edge of image
Pre-set image edge treated algorithm.The processor of display device can read the pre-set image edge adjustment in memory
Method, handled with the edge to the first image.Pre-set image edge treated algorithm is based on to the processor of display device below
Processing to the edge of the first image is described in detail.
Specifically, referring to Fig. 3, step S120 can include:
Step S121:Obtain and weighting coefficient values are preset corresponding to a pixel at the edge of described first image.
Weighting coefficient values are preset corresponding to a pixel at the edge of the first image it is possible, firstly, to obtain.Need what is illustrated
It is that the edge of the first image is it is to be understood that all pixels point for the outermost that the first image corresponds in viewing area is formed
Region.
As the first embodiment, weighting is preset corresponding to a pixel at the edge for obtaining described first image
Coefficient value, including:The pixel is obtained corresponding to the single pixel region in the viewing area and the viewing area
The first area that edge surrounds;The ratio of first area and the second area of the single pixel region is obtained, as institute
State and weighting coefficient values are preset corresponding to pixel.
When obtaining default weighting coefficient values corresponding to a pixel at edge for the first image, the pixel can be appointed
Anticipate the first image edge pixel, i.e. the first image correspond to viewing area in outermost all pixels point in appoint
One pixel.
In embodiments of the present invention, the single pixel region that pixel corresponds in viewing area is determined, can be to determine
Single subpixel area of the pixel of first image in viewing area.It is thus possible to determine the picture of the first image
The region that single pixel region corresponding to vegetarian refreshments and the edge of viewing area surround, and obtain single picture corresponding to the pixel
The area in the region that the edge in plain region and viewing area surrounds.
It is understood that single subpixel area of the pixel of the first image in viewing area is square, show
Part I and Part II can be cut into by the square single subpixel area by showing the edge in region, and Part I is
Part beyond viewing area, Part II is the part in viewing area, corresponding using Part II as the pixel
Single pixel region and viewing area the region that surrounds of edge.Refer to Fig. 4, the camber line in figure is the edge of viewing area
Line, the part 30 on the inside of circular arc are the part within viewing area, and the part 40 on the outside of circular arc is the part beyond viewing area,
The region that dash area 10 surrounds for single pixel region and the edge of viewing area corresponding to a pixel of the first image, it is cloudy
Minimum square region 20 where shadow part 10 is the corresponding single pixel region of the pixel.
It is thus possible to the single pixel region and the edge of viewing area that the pixel corresponds in viewing area are surrounded
The first area, divided by the pixel correspond to viewing area in single pixel region second area, the ratio of acquisition, make
To preset weighting coefficient values corresponding to the pixel.
As second of embodiment, weighting is preset corresponding to a pixel at the edge for obtaining described first image
Coefficient value, including:The pixel is obtained corresponding to the first pixel coordinate in the viewing area;Based on default weight coefficient
Weighting coefficient values are preset corresponding to first pixel coordinate described in table search, as default weight coefficient corresponding to the pixel
Value.
In embodiments of the present invention, weighting coefficient values are preset corresponding to the pixel for obtaining the edge of the first image, also
The default weighting coefficient table that can be directly based upon in the memory for being stored in display device is directly searched pre- corresponding to the pixel
If weighting coefficient values.
In the default weighting coefficient table stored in the memory of display device, including each pixel point coordinates in viewing area
And weight coefficient is preset corresponding to each pixel coordinate.
The method for building up of the default weighting coefficient table stored in the memory of display device, can be real based on above-mentioned first
The method for applying mode, that is, each sub-pixel for the edge wire cutting that region is shown in viewing area is obtained in viewing area
Area, the other ratio of Line Integral with the region of each sub-pixel, so as to get the picture at the edge of all viewing areas
Weight coefficient is preset corresponding to vegetarian refreshments.
In embodiments of the present invention, the scope of weighting coefficient values is preset corresponding to each pixel at the edge of the first image
Can be 0~1.
Step S122:It is multiplied using weighting coefficient values are preset corresponding to the pixel with the gray value of the pixel,
Obtain the current grayvalue of the pixel.
After default weighting coefficient values corresponding to the pixel are obtained, the gray value of the pixel can be preset with this
Weighting coefficient values are multiplied, the current grayvalue of the value of acquisition as pixel.
Step S123:Weighting coefficient values are preset corresponding to the pixel for repeating the edge for obtaining described first image
The step of, it is multiplied, is obtained with the gray value of the pixel using default weighting coefficient values corresponding to the pixel to described
The step of current grayvalue of the pixel, until obtaining the current gray level of all pixels point at the edge of described first image
Value, to obtain the second image.
Performed according to step S121- steps S122, the current ash of all pixels point at the edge of the first image can be obtained
Angle value, it is hereby achieved that a new image, i.e. the second image.
Step S130:Second image is shown in the viewing area.
Carried out in the first image that the needs of input are carried out be shown in viewing area after processing obtains the second image, then will
Second image is shown in viewing area, to reach the purpose of display.
The display methods that first embodiment of the invention provides, applied to the edge line of the viewing area of display unit, with certain
The misaligned display device of the edge line of one pixel column or pixel column, the needs of input be shown in the figure of viewing area
After carrying out edge treated, make the data value adjustment at the edge of image, so that image border shows smoother, reduction sawtooth
Sense, improve edge when such display device of the prior art is shown to image and the phenomenon of sawtooth sense occur, can also change
The problem of display effect of the display methods of kind such display device is whard to control.
Second embodiment
Second embodiment of the invention provides a kind of display device, and the display device applications are in display device.Refer to figure
5, the display device 200 includes image collection module 210, image processing module 220 and image output module 230.Wherein, institute
State image collection module 210 be used for obtain for be shown in the display device viewing area the first image;Described image
Processing module 220 is used to handle the edge of described first image based on pre-set image edge treated algorithm, obtains second
Image;Described image output module 230 is used to second image being shown in the viewing area.
In embodiments of the present invention, Fig. 6 is referred to, described image processing mould 220 includes:Weight coefficient acquiring unit 221
And first processing units 222.Wherein, the weight coefficient acquiring unit 221 is used for the edge for obtaining described first image
Weighting coefficient values are preset corresponding to one pixel;The first processing units 222 are used to preset using corresponding to the pixel
Weighting coefficient values are multiplied with the gray value of the pixel, obtain the current grayvalue of the pixel.
In embodiments of the present invention, the weight coefficient acquiring unit 221 includes the first areal calculation subelement and is
Number computation subunit, wherein, the weight coefficient computation subunit corresponds to the viewing area for obtaining the pixel
In single pixel region and the viewing area the first area for surrounding of edge;The coefficient computation subunit is used to obtain
The ratio of first area and the second area of the single pixel region, it is as weighting is preset corresponding to the pixel
Numerical value.
In embodiments of the present invention, the weight coefficient acquiring unit includes pixel coordinate acquisition subelement and coefficient is looked into
Subelement is looked for, wherein, the pixel coordinate obtains subelement and is used to obtain the pixel corresponding in the viewing area
First pixel coordinate;The coefficient is searched subelement and is used to be corresponded to based on the first pixel coordinate described in default weight coefficient table search
Default weighting coefficient values, as corresponding to the pixel preset weighting coefficient values.
3rd embodiment
Third embodiment of the invention provides a kind of display device 100, refers to Fig. 1, it is single that display device 100 includes display
Member 114, memory 102 and processor 106.Wherein, the display unit 114 and the memory 102 are connected to the place
Device 106 is managed, the store instruction of memory 102, makes the processor 106 when the instruction is performed by the processor 106
Perform the display methods that first embodiment of the invention provides.
Fourth embodiment
Fourth embodiment of the invention provides a kind of storage medium, and computer instruction is stored with the storage medium, its
In, the computer instruction performs the display methods of first embodiment of the invention offer when being run.
In summary, display methods provided in an embodiment of the present invention, device, display device and storage medium, acquisition is passed through
For being shown in the first image of viewing area, it is then based on pre-set image edge treated algorithm and the edge of the first image is carried out
Processing, the second image is obtained, the second image is finally shown in viewing area.It is thus possible to realize display is shown in possessing
The smoothing processing at the edge of the image in region, to eliminate the phenomenon of the jagged edges of the image of display, lifting display effect
Fruit and the Experience Degree of user, the edge for the image for solving to show in the prior art occur jagged phenomenon, have impact on aobvious
Show the display effect of equipment, the problem of causing the Experience Degree difference of user.
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment weight
Point explanation is all difference with other embodiment, between each embodiment identical similar part mutually referring to.
For device class embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is joined
See the part explanation of embodiment of the method.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it can also be passed through
Its mode is realized.Device embodiment described above is only schematical, for example, the flow chart and block diagram in accompanying drawing show
Device, architectural framework in the cards, the work(of method and computer program product of multiple embodiments according to the present invention are shown
Can and it operate.At this point, each square frame in flow chart or block diagram can represent one of a module, program segment or code
Point, a part for the module, program segment or code includes one or more and is used to realize the executable of defined logic function
Instruction.It should also be noted that at some as in the implementation replaced, the function of being marked in square frame can also be with different from attached
The order marked in figure occurs.For example, two continuous square frames can essentially perform substantially in parallel, they also may be used sometimes
To perform in the opposite order, this is depending on involved function.It is it is also noted that each in block diagram and/or flow chart
The combination of square frame and the square frame in block diagram and/or flow chart, can use function or action as defined in performing it is special based on
The system of hardware is realized, or can be realized with the combination of specialized hardware and computer instruction.
In addition, each functional module in each embodiment of the present invention can integrate to form an independent portion
Point or modules individualism, can also two or more modules be integrated to form an independent part.
If the function is realized in the form of software function module and is used as independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words
The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be
People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the present invention.
And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.Need
Illustrate, herein, such as first and second or the like relational terms be used merely to by an entity or operation with
Another entity or operation make a distinction, and not necessarily require or imply between these entities or operation any this reality be present
The relation or order on border.Moreover, term " comprising ", "comprising" or its any other variant are intended to the bag of nonexcludability
Contain, so that process, method, article or equipment including a series of elements not only include those key elements, but also including
The other element being not expressly set out, or also include for this process, method, article or the intrinsic key element of equipment.
In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including the key element
Process, method, other identical element also be present in article or equipment.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies
Change, equivalent substitution, improvement etc., should be included in the scope of the protection.It should be noted that:Similar label and letter exists
Similar terms is represented in following accompanying drawing, therefore, once being defined in a certain Xiang Yi accompanying drawing, is then not required in subsequent accompanying drawing
It is further defined and explained.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.
Claims (10)
1. a kind of display methods, it is characterised in that applied to display device, methods described includes:
Obtain the first image of the viewing area for being shown in the display device;
The edge of described first image is handled based on pre-set image edge treated algorithm, obtains the second image;
Second image is shown in the viewing area.
2. according to the method for claim 1, it is characterised in that it is described based on pre-set image edge treated algorithm to described the
The edge of one image is handled, including:
Obtain and weighting coefficient values are preset corresponding to a pixel at the edge of described first image;
It is multiplied using weighting coefficient values are preset corresponding to the pixel with the gray value of the pixel, obtains the pixel
Current grayvalue;
The step of weighting coefficient values being preset corresponding to the pixel for repeating the edge for obtaining described first image, described in
It is multiplied using weighting coefficient values are preset corresponding to the pixel with the gray value of the pixel, obtains working as the pixel
The step of preceding gray value, until the current grayvalue of all pixels point at the edge of described first image is obtained, to obtain second
Image.
3. according to the method for claim 2, it is characterised in that a pixel at the edge for obtaining described first image
Corresponding default weighting coefficient values, including:
The pixel is obtained to surround corresponding to the single pixel region in the viewing area and the edge of the viewing area
The first area;
The ratio of first area and the second area of the single pixel region is obtained, as pre- corresponding to the pixel
If weighting coefficient values.
4. according to the method for claim 2, it is characterised in that a pixel at the edge for obtaining described first image
Corresponding default weighting coefficient values, including:
The pixel is obtained corresponding to the first pixel coordinate in the viewing area;
Based on weighting coefficient values are preset corresponding to the first pixel coordinate described in default weight coefficient table search, as the pixel
Corresponding default weighting coefficient values.
5. a kind of display device, it is characterised in that applied to display device, described device includes:At image collection module, image
Module and image output module are managed, wherein,
Described image acquisition module is used for the first image for obtaining the viewing area for being used to be shown in the display device;
Described image processing module is used to handle the edge of described first image based on pre-set image edge treated algorithm,
Obtain the second image;
Described image output module is used to second image being shown in the viewing area.
6. device according to claim 5, it is characterised in that described image processing module includes:Weight coefficient obtains single
Member and first processing units, wherein,
The weight coefficient acquiring unit is used to preset weighting system corresponding to a pixel at the edge for obtaining described first image
Numerical value;
The first processing units are used to utilize default weighting coefficient values corresponding to the pixel and the gray scale of the pixel
Value is multiplied, and obtains the current grayvalue of the pixel.
7. device according to claim 6, it is characterised in that the weight coefficient acquiring unit includes the first areal calculation
Subelement and coefficient computation subunit, wherein,
The weight coefficient computation subunit is used to obtain the pixel corresponding to the single pixel region in the viewing area
The first area that the edge of domain and the viewing area surrounds;
The coefficient computation subunit is used for the ratio for obtaining first area and the second area of the single pixel region,
As default weighting coefficient values corresponding to the pixel.
8. device according to claim 6, it is characterised in that the weight coefficient acquiring unit obtains including pixel coordinate
Subelement and coefficient search subelement, wherein,
The pixel coordinate obtains subelement and is used to obtain the pixel corresponding to the first pixel seat in the viewing area
Mark;
The coefficient lookup subelement is used to add based on default corresponding to the first pixel coordinate described in default weight coefficient table search
Weight coefficient value, as default weighting coefficient values corresponding to the pixel.
9. a kind of display device, it is characterised in that the display device includes display unit, memory and processor, described aobvious
Show that unit and the memory are connected to the processor, the memory store instruction, when the instruction is by the processing
Device makes method of the computing device as described in any claim in claim 1-4 when performing.
A kind of 10. storage medium, it is characterised in that computer instruction is stored with the storage medium, wherein, the computer
Instruct the method performed when being run as described in any claim in claim 1-4.
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 true CN107730467A (en) | 2018-02-23 |
CN107730467B 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) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110176207A (en) * | 2019-05-31 | 2019-08-27 | 芯颖科技有限公司 | Image data determination method and device and electronic equipment |
CN112261242A (en) * | 2020-10-21 | 2021-01-22 | 合肥芯颖科技有限公司 | Image data processing method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09331439A (en) * | 1996-06-13 | 1997-12-22 | Matsushita Electric Ind Co Ltd | Image forming device |
CN1426574A (en) * | 2000-04-14 | 2003-06-25 | 皮克塞(研究)有限公司 | Shape processor |
CN102067173A (en) * | 2008-05-28 | 2011-05-18 | 苹果公司 | Defining a border for an image |
CN102549623A (en) * | 2009-06-10 | 2012-07-04 | 皇家飞利浦电子股份有限公司 | Visualization apparatus for visualizing an image data set |
CN103155003A (en) * | 2010-10-08 | 2013-06-12 | 松下电器产业株式会社 | Posture estimation device and posture estimation method |
-
2017
- 2017-10-16 CN CN201710970326.0A patent/CN107730467B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09331439A (en) * | 1996-06-13 | 1997-12-22 | Matsushita Electric Ind Co Ltd | Image forming device |
CN1426574A (en) * | 2000-04-14 | 2003-06-25 | 皮克塞(研究)有限公司 | Shape processor |
CN102067173A (en) * | 2008-05-28 | 2011-05-18 | 苹果公司 | Defining a border for an image |
CN102549623A (en) * | 2009-06-10 | 2012-07-04 | 皇家飞利浦电子股份有限公司 | Visualization apparatus for visualizing an image data set |
CN103155003A (en) * | 2010-10-08 | 2013-06-12 | 松下电器产业株式会社 | Posture estimation device and posture estimation method |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110176207A (en) * | 2019-05-31 | 2019-08-27 | 芯颖科技有限公司 | Image data determination method and device and electronic equipment |
CN112261242A (en) * | 2020-10-21 | 2021-01-22 | 合肥芯颖科技有限公司 | Image data processing method and device |
CN112261242B (en) * | 2020-10-21 | 2022-09-27 | 合肥芯颖科技有限公司 | Image data processing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN107730467B (en) | 2020-04-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108921806B (en) | Image processing method, image processing device and terminal equipment | |
CN102495712B (en) | Map splicing display method based on plurality of display terminals | |
CN102186067B (en) | Image frame transmission method, device, display method and system | |
CN101447091A (en) | Method and apparatus for processing graphics | |
US10991068B2 (en) | Projection image construction method and device | |
CN102955794A (en) | Method and device for displaying click condition of web page | |
CN107517320A (en) | Electronic business card generation method and device | |
CN112288665A (en) | Image fusion method and device, storage medium and electronic equipment | |
CN108898549A (en) | Image processing method, picture processing unit and terminal device | |
CN105469361A (en) | Local image processing method and apparatus | |
TWI567635B (en) | Techniques for multiple pass rendering | |
CN106951267A (en) | Screen size adaptive approach and device | |
CN112541786A (en) | Site selection method and device for network points, electronic equipment and storage medium | |
CN107481309A (en) | Three-dimensional reflection rendering intent and device | |
CN107730467A (en) | Display method, device, equipment and storage medium | |
CN107908998A (en) | Quick Response Code coding/decoding method, device, terminal device and computer-readable recording medium | |
CN114792355B (en) | Virtual image generation method and device, electronic equipment and storage medium | |
CN113961961A (en) | Privacy set intersection method and device based on scalable-ot | |
CN104603844A (en) | Reduced bitcount polygon rasterization | |
CN109298817B (en) | Item display method, item display device, terminal and storage medium | |
CN108074496B (en) | Method and device for displaying diameter sampling rotating RGB lamp band and computer readable storage medium | |
EP2792147A1 (en) | Techniques for improving stereo block matching with the pyramid method | |
CN109544587A (en) | A kind of FIG pull handle method, apparatus and terminal device | |
CN107967708A (en) | Water wave simulation method and device | |
CN107329654A (en) | Draw method, device and the computer-readable recording medium of element floating layer |
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 |