CN107818548A - A kind of image processing method, device, equipment and computer-readable medium - Google Patents
A kind of image processing method, device, equipment and computer-readable medium Download PDFInfo
- Publication number
- CN107818548A CN107818548A CN201711020589.1A CN201711020589A CN107818548A CN 107818548 A CN107818548 A CN 107818548A CN 201711020589 A CN201711020589 A CN 201711020589A CN 107818548 A CN107818548 A CN 107818548A
- Authority
- CN
- China
- Prior art keywords
- pixel
- color value
- image
- target image
- area
- 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.)
- Withdrawn
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 26
- 230000000694 effects Effects 0.000 claims abstract description 62
- 230000035807 sensation Effects 0.000 claims abstract description 49
- 238000000034 method Methods 0.000 claims description 9
- 230000000007 visual effect Effects 0.000 claims description 6
- 230000005055 memory storage Effects 0.000 claims description 2
- 230000012447 hatching Effects 0.000 abstract description 9
- PEDCQBHIVMGVHV-UHFFFAOYSA-N Glycerine Chemical compound OCC(O)CO PEDCQBHIVMGVHV-UHFFFAOYSA-N 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000000750 progressive effect Effects 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/90—Dynamic range modification of images or parts thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/14—Transformations for image registration, e.g. adjusting or mapping for alignment of images
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/50—Image enhancement or restoration using two or more images, e.g. averaging or subtraction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20212—Image combination
- G06T2207/20221—Image fusion; Image merging
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Image Processing (AREA)
Abstract
The invention provides a kind of image processing method, device, equipment and computer-readable medium, according to the target image of shade to be added, visible sensation effect image corresponding to the target image is obtained, wherein, the target image overlaps with the first area of the visible sensation effect image.For same icon, it is only necessary to previously prepared a set of image, the i.e. original image of the icon, there is the image of hatching effect without the previously prepared icon.Reduce the workload of engineer, while also improve the processing speed of terminal, reduce cost.
Description
Technical field
This specification is related to field of medical technology, more particularly to a kind of image processing method, device, equipment and computer
Computer-readable recording medium.
Background technology
In the application process of the intelligent terminals such as mobile phone, the image of display often needs hatching effect.In a reality
Apply in example, typically engineer is as needed, for same icon, two sets of images well prepared in advance, a set of original image, one
Image of the set with hatching effect.When the icon is normally shown, just read and show the original image of the icon, when needing
During the image of hatching effect, then read and show that the icon has the image of hatching effect.
Based on prior art, it is necessary to a kind of image processing method without the previously prepared image with hatching effect.
The content of the invention
The embodiment of the present invention provides a kind of image processing method, device, equipment and computer-readable medium, to solve to cure
The problem of shield personnel need previously prepared two sets of images to same icon.
In order to solve the above technical problems, what the embodiment of the present invention was realized in:
The invention provides a kind of image processing method, including:
Obtain target image;
The target image is handled, obtains visible sensation effect image corresponding to the target image.
Preferably, in above-mentioned image processing method, the target image is replaced with the visible sensation effect image.
Preferably, in above-mentioned image processing method, the visible sensation effect image includes:First area and the secondth area
Domain, the target image overlap with the first area of the visible sensation effect image, and the second area is according to the target figure
What the border of picture obtained.
Preferably, in above-mentioned image processing method, the second area is obtained according to the border of the target image
Including:
The border of the target image is obtained, for pixel different on the border, performs following operate respectively:
Obtain offset and the offset direction of the pixel;
Obtain the color value of the pixel, and according to the color value of the pixel, obtain the color of the shade of the pixel
Value;
Along the offset direction, it is determined that at least one less than or equal to the offset with the distance between the pixel
Pixel;
The color value of at least one pixel is arranged to the color value of the shade of the pixel.
Preferably, in above-mentioned image processing method, according to the color value of the pixel, the shade of the pixel is obtained
Color value, including:
The color value of the shade of the pixel is determined according to the color value of the pixel and pre-set color value;With
The color value of the shade of the pixel is determined according to the preset multiple of the color value of the pixel;
In it is at least one or a variety of.
Preferably, in above-mentioned image processing method, the first area is transparent.
Preferably, in above-mentioned image processing method, the target image is located at the upper strata of the first area, or
Person, the target image are located at the lower floor of the first area.
Present invention also offers a kind of computer-readable medium, is stored thereon with computer-readable instruction, the computer
Readable instruction can be executed by processor the process described above.
The present invention also provides a kind of image processing apparatus, including:
Acquisition module, obtain target image;
Processing module, the target image is handled, obtain visible sensation effect image corresponding to the target image.
Preferably, in above-mentioned image processing apparatus, the processing module is described in visible sensation effect image replacement
Target image.
Preferably, in above-mentioned image processing apparatus, the visible sensation effect image includes:First area and the secondth area
Domain, the target image overlap with the first area of the visible sensation effect image, and the second area is according to the target figure
What the border of picture obtained.
Preferably, in above-mentioned image processing apparatus, the processing module obtains according to the border of the target image
The second area, including:
The border of the target image is obtained, for pixel different on the border, the processing module is held respectively
Row is following to be operated:
Obtain offset and the offset direction of the pixel;
Obtain the color value of the pixel, and according to the color value of the pixel, obtain the color of the shade of the pixel
Value;
Along the offset direction, it is determined that at least one less than or equal to the offset with the distance between the pixel
Pixel;
The color value of at least one pixel is arranged to the color value of the shade of the pixel.
Preferably, in above-mentioned image processing apparatus, for the processing module according to the color value of the pixel, obtaining should
The color value of the shade of pixel, including:
The color value of the shade of the pixel is determined according to the color value of the pixel and pre-set color value;With
The color value of the shade of the pixel is determined according to the preset multiple of the color value of the pixel;
In it is at least one or a variety of.
Preferably, in above-mentioned image processing apparatus, the first area is transparent.
Preferably, in above-mentioned image processing apparatus, the target image is located at the upper strata of the first area, or
Person, the target image are located at the lower floor of the first area.
The present invention more provides a kind of image processing equipment, including:At least one processor and memory, the memory
Have program stored therein, and be configured to by least one computing device following steps:
Obtain target image;
The target image is handled, obtains visible sensation effect image corresponding to the target image.
In image processing method provided by the invention, device, equipment and computer-readable medium, according to shade to be added
Target image, obtain visible sensation effect image corresponding to the target image, wherein, the target image and the visual effect
The first area of image overlaps.For same icon, it is only necessary to which previously prepared a set of image, the i.e. original image of the icon are
Can, there is the image of hatching effect without the previously prepared icon.Reduce the workload of engineer, while also improve end
The processing speed at end, reduces cost.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments described in specification, for those of ordinary skill in the art, before creative labor is not paid
Put, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of image processing method in one embodiment of the invention;
Fig. 2 is the flow chart for obtaining the second area in one embodiment of the invention according to the border of the target image;
Fig. 3 is the border schematic diagram of target image in one embodiment of the invention;
Fig. 4 is the structural representation of image processing apparatus during the present invention one is implemented.
Embodiment
To make the purpose, technical scheme and advantage of the application clearer, below in conjunction with the application specific embodiment and
Technical scheme is clearly and completely described corresponding accompanying drawing.Obviously, described embodiment is only the application one
Section Example, rather than whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doing
Go out under the premise of creative work the every other embodiment obtained, belong to the scope of the application protection.
Below in conjunction with accompanying drawing, the technical scheme that various embodiments of the present invention provide is described in detail.
The embodiments of the invention provide a kind of image processing method, as shown in figure 1, Fig. 1 is to scheme in one embodiment of the invention
As the flow chart of processing method.Described image processing method includes:The target image of shade to be added is obtained first, in Fig. 1
Step S101 shown in;Then, the target image is handled, obtains visual effect figure corresponding to the target image
Picture, such as the step S103 in Fig. 1.
Step S101, obtain first image.
The target image is the image of shade to be added.Currently, it is special when needing the visible sensation effect image of target image
It is other, it is when needing the visible sensation effect image of the icon, it is necessary to pre- for a variety of icons in various intelligent terminals
First prepare the visible sensation effect image of the icon, that is to say, that for same icon, it is necessary to previously prepared two sets of images, Yi Taoshi
The original image of the icon, other set are the images of the visible sensation effect image of the icon.
The visual effect figure includes the image for making the various different visual effects of the target image, implements in the present invention
In example, by taking the hatching effect figure of the target image as an example, that is to say, that visible sensation effect image corresponding to the target image is
Shadow image corresponding to the target image.
Step S103, the target image is handled, obtain visible sensation effect image corresponding to the target image.
In an embodiment of the present invention, after the visible sensation effect image is obtained, replaced with the visible sensation effect image
The target image, for example, when pressing the target image, it is possible to replace institute with the visible sensation effect image for pressing effect
State target image.
In another embodiment of the present invention, visible sensation effect image corresponding to the target image includes first area and the
Two regions, the first area are overlapped with the target image, and the second area is obtained according to the border of the target image
.
Firstly, for the first area, preferably, in an embodiment of the present invention, the first area is transparent.
That is, the transparence value of each pixel is 0 in the first area.The target image and transparent first area weight
Close, that is to say, that the target image overlaps with the transparent region in the visible sensation effect image.It is preferably, real in the present invention one
Apply in example, the size of the first area is identical with the size of the target image, and the two is completely superposed.
Because the first area is transparent, therefore, the target image can be located at the upper strata of the first area,
Or the lower floor positioned at the first area.That is, described target image can be located at the upper strata of the visible sensation effect image, with institute
The first area for stating visible sensation effect image overlaps, and can also be located at the lower floor of the visible sensation effect image, with the visual effect
The first area of image overlaps.
More preferably, in an embodiment of the present invention, the target image is located at the upper strata of the visible sensation effect image, and with
The first area of the visible sensation effect image overlaps.Particularly, when the target image is the icon of intelligent terminal, in order to
The processing of follow-up various operations to the icon, and the later use to the target image.
Secondly, for second area, in technical solution of the present invention, the second area is according to the target image
What border obtained, specifically, including:The border of the target image is obtained, then, for pixel different on the border
Point, following operate is performed respectively:The border of the target image is obtained, for pixel different on the border, is held respectively
Row is following to be operated:Obtain offset and the offset direction of the pixel;The color value of the pixel is obtained, and according to the pixel
Color value, obtain the color value of the shade of the pixel;The distance between along the offset direction, it is determined that with the pixel
Less than or equal at least one pixel of the offset;The color value of at least one pixel is arranged to the pixel
Shade color value
Specifically, illustrated with specific embodiment, as shown in Fig. 2 Fig. 2 in one embodiment of the invention according to institute
State the flow chart of the second area of the border acquisition shadow image of target image.
First, the border of the target image is obtained, such as the step S202 in Fig. 2, in the present embodiment, the target figure
The border of picture includes M pixel, wherein, M is the natural number more than 1.
Then, it is for the ith pixel point in each pixels of border M of the target image, the ith pixel point
Any one pixel in the target image, wherein, i is natural number, and, 0≤i≤(M-1), obtain ith pixel point
Offset and offset direction, as shown in the step S204 in Fig. 2.
It should be noted that when ith pixel point is located at the diverse location on the border of the target image, its offset direction
It is different, same offset is also not quite similar.Specifically, as shown in figure 3, Fig. 3 is target figure in one embodiment of the invention
The border schematic diagram of picture.The border of the target image includes the first border 301, the second boundary 303, the 3rd border 305 and
4th border 307, the offset direction of the pixel on the first border 301 is first direction, and offset is the first offset, described
The offset direction of pixel on the second boundary 303 is second direction, and offset is the second offset, the 3rd border 305
On the offset direction of pixel be third direction, offset is the 3rd offset, the pixel on the 4th border 307
Offset direction is fourth direction, and offset is the 4th offset.In general, the first direction, second direction, third direction with
And fourth direction differs, first offset, the second offset can be between the 3rd offset and the 4th offset
Part is identical, can also differ.
Further, the value of first offset, the second offset, the 3rd offset and the 4th offset be more than
Integer equal to 0, also just say, the offset on above-mentioned each offset direction can be 0, can also be more than 0.For any of the above-described
The offset of offset direction, when the value of the offset of the offset direction is 0, show not offset on the offset direction, i.e.,
There is no shade on the offset direction.
Specifically, in an embodiment of the present invention, the first direction is to the left, second direction is upward, third direction
For to the right, fourth direction is downward, and in the present embodiment, the visible sensation effect image is the target image with effect to the right
Fruit, the 3rd offset are more than first offset, the second offset and the 3rd offset, and the value of each offset
It is all higher than 0.
Next, the color value of ith pixel point is obtained, and according to the color value of the ith pixel point, described in acquisition
The color value of the shade of ith pixel point.As shown in the step S206 in Fig. 2.
Specifically, the color value of each pixel, the color value include multiple characteristic values, the characteristic value includes:It is red
Colour, green value, blue valve and transparence value.
In an embodiment of the present invention, can be true according to the color value of the ith pixel point and a pre-set color value
Determine the color value of the shade of ith pixel point, specifically, can according to any one characteristic value of the ith pixel point with
Corresponding characteristic value in the pre-set color value determines the corresponding characteristic value of the shade of the ith pixel point, for example,
The ith pixel point can be determined with the red value in the pre-set color value according to the red value of ith pixel point
The red value of shade, on this basis, can other characteristic values according to the ith pixel point and the default face simultaneously
Corresponding characteristic value determines other characteristic values of the shade of the ith pixel point in colour, certainly, in the another reality of the present invention
Apply in example, other characteristic values of the ith pixel point can also be maintained constant.Then further according to the moon of the ith pixel
The special characteristic value of shadow, determine the color value of the shade of the ith pixel point.
In an embodiment of the present invention, using the color value of the ith pixel point and the pre-set color value and as
The color value of the shade of the ith pixel point.For example, the color value of the ith pixel point includes:Red value r, green value
G, blue valve b and transparence value a, the pre-set color value include:Default red value r1, presets green value g1, presets blueness
Value b1, and default transparence value a1.
Specifically, in one embodiment, it is pre- in the red value and the pre-set color value of the ith pixel point
If red value r1 determines the red value r ' of the shade of the ith pixel point, further, in a specific embodiment
In, r '=r+r1, the ith pixel point green value, blue valve and transparence value do not change, i.e., described i-th
Green value, blue valve and the transparence value of pixel are respectively the green value of the shade of the ith pixel point, blue valve and thoroughly
Brightness value, then, according to the red value r ', green value g, blue valve b and transparence value a of the shade of the ith pixel point
Determine the color value of the shade of the ith pixel point.
, can also be further according to the green value g of the ith pixel point and described default in another embodiment of the present invention
The default green value g1 of color value determines the green value g ' of the shade of the ith pixel point, further, g '=g+g1,
The blue valve and transparence value of the ith pixel point are the blue valve and transparence value of the shade of the ith pixel point, so
Afterwards, according to the red value r ', green value g ', blue valve b and transparence value a of the shade of the ith pixel point to determine
State the color value of the shade of ith pixel point.
In yet another embodiment of the present invention, can also be according to the preset multiple of the color value of the ith pixel point
To determine the color value of the pixel.Preferably, the preset multiple is less than 1 and more than or equal to 0, for example, described default times
Number can be 0.3,0.5,0.6,0.7,0.83 or 0.92.
Specifically, connect example, in one embodiment, according to the red value r of the ith pixel point and described default times
Number 0.8 determines that the red value of the shade of the ith pixel is 0.8r, meanwhile, by the green value g of the ith pixel point,
Green values of the blue valve b and transparence value a as the shade of the ith pixel point, blue valve and transparence value, then
Further according to described in red value 0.8r, green value g, blue valve b and transparence value a determination of the shade of the ith pixel point
The color value of the shade of ith pixel point.
In still another embodiment of the process, according to the transparence value a of the ith pixel point and the preset multiple
0.7 determines the transparence value of the shade of the ith pixel point, is 0.7a, meanwhile, according to the red of the ith pixel point
The red value of colour r, green value g, blue valve b as its shade, green value and blue valve, then, further according to described i-th
The red value r of pixel, green value g, blue valve b and transparence value 0.7a determine the face of the shade of the ith pixel point
Colour.
In other embodiments of the invention, can also simultaneously according to the color value of the ith pixel point with it is described pre-
If color value, and the preset multiple of the color value of ith pixel point come together to determine the shade of the ith pixel point
Color value.Wherein, including according to the color value of the ith pixel point i-th of picture is determined with the pre-set color value
First color value of vegetarian refreshments, then determine i-th of picture further according to the preset multiple of the color value of the ith pixel point
Second color value of vegetarian refreshments, finally, further according to first color value and the second color value, determine the ith pixel point
The color value of shade.Wherein it is determined that the process of first color value and second color value is same as described above, herein no longer
Repeat.
Step S208, along the offset direction, it is determined that being less than or equal to the offset with the distance between ith pixel
At least one pixel.
Step S210, the color value of at least one pixel is arranged to the face of the shade of the ith pixel point
Colour.
It should be noted that for first direction, second direction, third direction and fourth direction in above-described embodiment and
Say, the intersection region between any two direction, filled out with the color value of the shade of the intersection pixel between the two directions
The pixel in the region filled between the two directions so that the shape of the visible sensation effect image and the shape of the target image
Unanimously.That is, for the region between the first direction and second direction, between first direction and second direction
The color value for intersecting the shade of pixel is filled;For the region between second direction and third direction, with second direction and
The color value of the shade of intersection pixel between third direction is filled, for the area between third direction and fourth direction
Domain, filled with the color value of the shade of the intersection pixel between the third direction and fourth direction, for fourth direction
The region between first direction, filled out with the color value of the shade of the intersection pixel between the fourth direction and first direction
Fill.
Then, judge the ith pixel point whether be the border last pixel, such as the step in Fig. 2
S212。
If it is not, next pixel ((i+1) individual pixel) of the ith pixel point is repeated the above steps,
Such as the step S214 in Fig. 2, if not last pixel in the border, end operation, such as the step in Fig. 2
S216。
The embodiment of the present invention additionally provides computer-readable medium, is stored thereon with computer-readable instruction, the calculating
Machine readable instruction can be executed by processor the process described above.
Present invention also offers a kind of image processing apparatus, as shown in figure 4, Fig. 4 is image procossing in the implementation of the present invention one
The structural representation of device.Described image processing unit includes:Acquisition module 402 and processing module 404, the acquisition module
402 obtain the target image of shade to be added, and the processing module 404 is handled the target image, obtains the mesh
Visible sensation effect image corresponding to logo image.
In an embodiment of the present invention, after the visible sensation effect image is obtained, replaced with the visible sensation effect image
The target image, for example, when pressing the target image, it is possible to replace institute with the visible sensation effect image for pressing effect
State target image.
In another embodiment of the present invention, visible sensation effect image corresponding to the target image includes first area and the
Two regions, the first area are overlapped with the target image, and the second area is obtained according to the border of the target image
, and the first area is transparent, i.e., the transparence value of the pixel in described first area is 0.
Because the first area is transparent, i.e., the transparence value of the pixel of described first area is 0, therefore, institute
The lower floor that target image can be the visible sensation effect image is stated, the upper strata of the visible sensation effect image can also be located at.Preferably
, the target image is located at the upper strata of the visible sensation effect image, in order to the various operations to the target image.
Further, the visible sensation effect image includes second area and the first area, wherein, the first area
It is transparent, and is overlapped with the target image, the second area is obtained according to the border of the target image.
The processing module 404 obtains the second area according to the border of the target image, including:First, it is described
Processing module 404 obtains the border of the target image, for pixel different on the border, with described borderline
Exemplified by i pixel, wherein, 0≤i≤(M-1), M are the numbers of pixel on the border.The processing module 404 is distinguished
Perform following operate:First, offset and the offset direction of ith pixel point are obtained;Then the ith pixel point is obtained
Color value, and according to the color value of the ith pixel point, obtain the color value of the shade of the ith pixel point;Connect down
Come, along the offset direction, it is determined that being less than or equal at least the one of the offset with the distance between the ith pixel point
Individual pixel;Then the color value of at least one pixel is arranged to the color value of the shade of the ith pixel point.
Specifically, color value of the processing module 404 according to ith pixel point, the moon of the ith pixel point is obtained
The color value of shadow, including:The shade of the ith pixel point is determined according to the color value of ith pixel point and pre-set color value
Color value, the moon of the ith pixel point can also be determined according to the preset multiple of the color value of the ith pixel point
The color value of shadow, certainly, in other embodiments of the invention, described the can also be obtained by above two method simultaneously
The color value of the shade of i pixel.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of image processing equipment, including:It is at least one
Processor and memory, the memory storage have program, and are configured to by below at least one computing device
Step:
Obtain target image;
The target image is handled, obtains visible sensation effect image corresponding to the target image.
In image processing method provided in an embodiment of the present invention, device, equipment and computer-readable medium, according to waiting to add
Add the target image of shade, obtain visible sensation effect image corresponding to the target image, wherein, the target image regards with described
Feel that the first area of effect image overlaps.For same icon, it is only necessary to which previously prepared a set of image, i.e., the icon is original
Image, there is the image of hatching effect without the previously prepared icon.Reduce the workload of engineer, while also carry
The high processing speed of terminal, reduces cost.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment
Divide mutually referring to what each embodiment stressed is the difference with other embodiment.It is real especially for system
For applying example, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method
Part explanation.
Embodiments herein is the foregoing is only, is not limited to the application.For those skilled in the art
For, the application can have various modifications and variations.All any modifications made within spirit herein and principle, it is equal
Replace, improve etc., it should be included within the scope of claims hereof.
Claims (16)
- A kind of 1. image processing method, it is characterised in that including:Obtain target image;The target image is handled, obtains visible sensation effect image corresponding to the target image.
- 2. image processing method according to claim 1, it is characterised in that replace the mesh with the visible sensation effect image Logo image.
- 3. image processing method according to claim 1, it is characterised in that the visible sensation effect image includes:Firstth area Domain and second area, the target image overlap with the first area of the visible sensation effect image, and the second area is basis What the border of the target image obtained.
- 4. image processing method according to claim 3, it is characterised in that institute is obtained according to the border of the target image Stating second area includes:The border of the target image is obtained, for pixel different on the border, performs following operate respectively:Obtain offset and the offset direction of the pixel;Obtain the color value of the pixel, and according to the color value of the pixel, obtain the color value of the shade of the pixel;Along the offset direction, it is determined that being less than or equal at least one pixel of the offset with the distance between the pixel Point;The color value of at least one pixel is arranged to the color value of the shade of the pixel.
- 5. image processing method according to claim 4, it is characterised in that according to the color value of the pixel, obtaining should The color value of the shade of pixel, including:The color value of the shade of the pixel is determined according to the color value of the pixel and pre-set color value;WithThe color value of the shade of the pixel is determined according to the preset multiple of the color value of the pixel;In it is at least one or a variety of.
- 6. image processing method according to claim 1, it is characterised in that the first area is transparent.
- 7. image processing method according to claim 6, it is characterised in that the target image is located at the first area Upper strata, or, the target image is located at the lower floor of the first area.
- 8. a kind of computer-readable medium, is stored thereon with computer-readable instruction, the computer-readable instruction can be processed Device is performed to realize the method any one of claim 1 to 7.
- A kind of 9. image processing apparatus, it is characterised in that including:Acquisition module, obtain target image;Processing module, the target image is handled, obtain visible sensation effect image corresponding to the target image.
- 10. image processing apparatus according to claim 9, it is characterised in that the processing module visual effect Image replaces the target image.
- 11. image processing apparatus according to claim 9, it is characterised in that the visible sensation effect image includes:Firstth area Domain and second area, the target image overlap with the first area of the visible sensation effect image, and the second area is basis What the border of the target image obtained.
- 12. image processing apparatus according to claim 11, it is characterised in that the processing module is according to the target figure The border of picture obtains the second area, including:Obtain the border of the target image, for pixel different on the border, the processing module perform respectively with Lower operation:Obtain offset and the offset direction of the pixel;Obtain the color value of the pixel, and according to the color value of the pixel, obtain the color value of the shade of the pixel;Along the offset direction, it is determined that being less than or equal at least one pixel of the offset with the distance between the pixel Point;The color value of at least one pixel is arranged to the color value of the shade of the pixel.
- 13. image processing apparatus according to claim 12, it is characterised in that the processing module is according to the pixel Color value, the color value of the shade of the pixel is obtained, including:The color value of the shade of the pixel is determined according to the color value of the pixel and pre-set color value;WithThe color value of the shade of the pixel is determined according to the preset multiple of the color value of the pixel;In it is at least one or a variety of.
- 14. image processing apparatus according to claim 9, it is characterised in that the first area is transparent.
- 15. image processing apparatus according to claim 14, it is characterised in that the target image is located at firstth area The upper strata in domain, or, the target image is located at the lower floor of the first area.
- 16. a kind of image processing equipment, including:At least one processor and memory, the memory storage have program, and It is configured to by least one computing device following steps:Obtain target image;The target image is handled, obtains visible sensation effect image corresponding to the target image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711020589.1A CN107818548A (en) | 2017-10-27 | 2017-10-27 | A kind of image processing method, device, equipment and computer-readable medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711020589.1A CN107818548A (en) | 2017-10-27 | 2017-10-27 | A kind of image processing method, device, equipment and computer-readable medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107818548A true CN107818548A (en) | 2018-03-20 |
Family
ID=61604046
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711020589.1A Withdrawn CN107818548A (en) | 2017-10-27 | 2017-10-27 | A kind of image processing method, device, equipment and computer-readable medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107818548A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112714357A (en) * | 2020-12-21 | 2021-04-27 | 北京百度网讯科技有限公司 | Video playing method, video playing device, electronic equipment and storage medium |
CN113284174A (en) * | 2020-02-20 | 2021-08-20 | 北京沃东天骏信息技术有限公司 | Method and device for processing pictures |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103106028A (en) * | 2012-11-15 | 2013-05-15 | 苏州佳世达电通有限公司 | Electronic device system and controlling method thereof |
CN104123743A (en) * | 2014-06-23 | 2014-10-29 | 联想(北京)有限公司 | Image shadow adding method and device |
CN104851122A (en) * | 2015-05-08 | 2015-08-19 | 北京金山安全软件有限公司 | Method and device for generating shadow special effect graph |
CN106408647A (en) * | 2016-09-20 | 2017-02-15 | 广州视睿电子科技有限公司 | Image shadow adding method and device |
US20170277229A1 (en) * | 2010-11-26 | 2017-09-28 | Sony Corporation | Information processing device, information processing method, and computer program product |
-
2017
- 2017-10-27 CN CN201711020589.1A patent/CN107818548A/en not_active Withdrawn
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170277229A1 (en) * | 2010-11-26 | 2017-09-28 | Sony Corporation | Information processing device, information processing method, and computer program product |
CN103106028A (en) * | 2012-11-15 | 2013-05-15 | 苏州佳世达电通有限公司 | Electronic device system and controlling method thereof |
CN104123743A (en) * | 2014-06-23 | 2014-10-29 | 联想(北京)有限公司 | Image shadow adding method and device |
CN104851122A (en) * | 2015-05-08 | 2015-08-19 | 北京金山安全软件有限公司 | Method and device for generating shadow special effect graph |
CN106408647A (en) * | 2016-09-20 | 2017-02-15 | 广州视睿电子科技有限公司 | Image shadow adding method and device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113284174A (en) * | 2020-02-20 | 2021-08-20 | 北京沃东天骏信息技术有限公司 | Method and device for processing pictures |
CN112714357A (en) * | 2020-12-21 | 2021-04-27 | 北京百度网讯科技有限公司 | Video playing method, video playing device, electronic equipment and storage medium |
CN112714357B (en) * | 2020-12-21 | 2023-10-13 | 北京百度网讯科技有限公司 | Video playing method, video playing device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102411880B (en) | System and method for configuring load of LED display screen | |
CN104038807B (en) | A kind of figure layer mixed method and device based on OpenGL | |
US10325539B2 (en) | Display method, display panel and display device | |
CN107424179A (en) | A kind of image equalization method and device | |
US20170221245A1 (en) | Image Synthesis Method, Image Chip, and Image Device | |
JP2009525535A5 (en) | ||
CN104464633B (en) | The bearing calibration of LED display unit and means for correcting | |
CN104461441B (en) | Rendering intent, rendering device and display device | |
CN105227873B (en) | A kind of test method and device of on-screen display data | |
CN107315275B (en) | Display method and device and computer equipment | |
CN107038968B (en) | Display screen joining method and device | |
WO2020140794A1 (en) | Display panel and device, image processing method and device, and virtual reality system | |
EP2947644A1 (en) | Display method and display panel | |
CN109448088B (en) | Method and device for rendering three-dimensional graphic wire frame, computer equipment and storage medium | |
CN107818548A (en) | A kind of image processing method, device, equipment and computer-readable medium | |
CN104915971A (en) | Method and terminal for obtaining color values | |
CN105955754A (en) | Method and device for displaying characters of user interface | |
CN109389558A (en) | A kind of method and device for eliminating image border sawtooth | |
CN110502205A (en) | Picture showing edge processing method, device, electronic equipment and readable storage medium storing program for executing | |
CN106934764A (en) | A kind of image processing method, device | |
CN109062525B (en) | Data processing method and device of tiled display system and computer equipment | |
CN104881201A (en) | Data display method and electronic equipment | |
CN104318509B (en) | A kind of high-volume targeted cache drawing method based on GPU | |
CN105528769A (en) | Image repair method and system | |
CN106528161A (en) | Terminal equipment, page display processing device and 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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20180320 |
|
WW01 | Invention patent application withdrawn after publication |