CN104867109B - A kind of display methods and electronic equipment - Google Patents
A kind of display methods and electronic equipment Download PDFInfo
- Publication number
- CN104867109B CN104867109B CN201410061958.1A CN201410061958A CN104867109B CN 104867109 B CN104867109 B CN 104867109B CN 201410061958 A CN201410061958 A CN 201410061958A CN 104867109 B CN104867109 B CN 104867109B
- Authority
- CN
- China
- Prior art keywords
- image
- intermediate images
- edge
- frame
- acquisition
- 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
Links
Abstract
A kind of display methods of present invention offer and electronic equipment, are related to image processing field, for that can make the more smooth invention in the edge of the image when adjusting image.Method includes:By showing the first image on display unit;Vision-control by input unit acquisition for described first image operates, and the vision-control generated for the first image instructs;The second image is determined according to the first image and vision-control instruction;An at least transfer image acquisition in showing from the first image to the adjustment process of the second image, until the second image of display;Wherein, before showing transfer image acquisition, first the first image is handled in the first way to form intermediate images, the image of specific region in intermediate images is identical as the image of the first image, intermediate images are handled in a second manner again to form an at least transfer image acquisition, wherein, the edge smoothness of specific region is better than the edge smoothness that direct second method handles the transfer image acquisition that the first image is formed in transfer image acquisition.
Description
Technical field
The present invention relates to image processing field more particularly to a kind of display image processing methods and electronic equipment.
Background technology
People can watch image in the electronic device, often since it is desired that and adjusting image during viewing.
But when user adjusts a certain image on an electronic device, the original smooth edge of the image will often find that
The no longer smooth or even edge becomes jagged edge.
Invention content
A kind of display methods of present invention offer and electronic equipment, can keep the edge of the image more flat when adjusting image
It is sliding.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that:
The first aspect of the present invention provides a kind of display methods, is applied to an electronic equipment, and the electronic equipment includes aobvious
Show that unit and input unit, this method include:
By showing the first image on the display unit;
Vision-control by input unit acquisition for described first image operates, and generates and is directed to first figure
The vision-control of picture instructs;
The second image is determined according to described first image and vision-control instruction;
An at least transfer image acquisition in showing from described first image to the adjustment process of second image, until aobvious
Show second image;
Wherein, before showing the transfer image acquisition, first in the first way processing described first image to form intermediate images,
The image of specific region in the intermediate images is identical as the image of described first image, then in a second manner processing described in face
When image to form an at least transfer image acquisition, wherein the side of at least specific region described in a transfer image acquisition
Edge smoothness is flat better than the edge of at least one transfer image acquisition directly formed with second method processing described first image
Slippery, wherein the first method and second method difference.
In the first possible realization method of first aspect, when the vision-control instruction of described first image is rotation
When instruction, the described first image of processing in the first way is specially to form intermediate images:Determine described first image
At least increase frame on one side to form intermediate images, wherein the increase frame at least can be described as processing side on one side, is being formed
After the intermediate images, the edge of specific region described in the intermediate images includes the processing side, and the processing side is not
With the imbricate of the intermediate images.
The possible realization method of with reference to first aspect the first, in second of possible realization method of first aspect
In, when the rotation instruction be described first image around described first image any point planar rotate when, institute
State determining described first image at least on one side increase frame be specially to form intermediate images:Determine the institute of described first image
There is side to increase frame to form intermediate images.
The possible realization method of with reference to first aspect the first, in the third possible realization method of first aspect
In, when the rotation instruction be described first image with described first image be axis rotation on one side when, wherein described is axis
When on the basis of;
The determining described first image at least on one side increase frame be specially to form intermediate images:Determine described
Increase frame with the not parallel side of the true edge to form intermediate images in one image.
Second of possible realization method of the possible realization method of with reference to first aspect the first or first aspect or
The third possible realization method of first aspect, in the 4th kind of possible realization method of first aspect, the frame
Width is:It is greater than or equal to predetermined width from outer peripheral width of the inward flange of the frame to the frame, so that
The edge of the intermediate images is after forming the transfer image acquisition, the edge smoothness of specific region described in the transfer image acquisition
It is best.
The possible realization method of with reference to first aspect the first, in the 5th kind of possible realization method of first aspect
In, the method further includes:According to the background colour of the background image blocked by described first image, filled out in the frame region
Fill color so that the color and background color of frame region described in the transfer image acquisition is identical.
The 5th kind of possible realization method with reference to first aspect, in the 6th kind of possible realization method of first aspect
In, the background colour according to the background image blocked by described first image, Fill Color includes in the frame region:
The frame region is divided into multiple frame blocks according to a predetermined value;According to the background image blocked by described first image
Background colour, fill corresponding background color in the frame block respectively.
The second aspect of the present invention provides a kind of display methods, is applied to an electronic equipment, and the electronic equipment includes aobvious
Show that unit and input unit, this method include:
By showing the first image on the display unit;
Vision-control by input unit acquisition for described first image operates, and generates and is directed to first figure
The vision-control of picture instructs;
It is instructed according to the vision-control and shows the second image;
Wherein, before showing second image, processing described first image is to form intermediate images in the first way, institute
The image for stating the specific region in intermediate images is identical as the image of described first image, handles the interim figure in a second manner
As to form the second image, wherein the edge smoothness of the image of specific region described in second image better than directly with
The edge smoothness at least one transfer image acquisition that the second method processing described first image is formed, wherein described first
Mode and second method difference.
The third aspect of the present invention, provides a kind of electronic equipment, and the electronic equipment includes display unit and input unit,
The electronic equipment includes:
The display unit is for showing the first image;
The input unit acquisition is operated for the vision-control of described first image, is generated for described first image
Vision-control instructs;
The processing unit is used for, the first image shown according to the display unit and input unit input it is aobvious
Show that regulating command determines the second image;
The display unit is additionally operable to, display from described first image in the adjustment process of second image at least
One transfer image acquisition, until showing second image;
Wherein, before the display unit shows the transfer image acquisition, the processing unit first handles institute in the first way
The first image is stated to form intermediate images, the image of the specific region in the intermediate images and the image phase of described first image
Together, the processing unit handles the intermediate images to form an at least transfer image acquisition in a second manner again, wherein institute
The edge smoothness of at least specific region described in a transfer image acquisition is stated better than directly handling described the with the second method
The edge smoothness at least one transfer image acquisition that one image is formed, wherein the first method and second method difference.
In the first possible realization method of the third aspect, when the vision-control instruction of described first image is rotation
When instruction, the processing unit is specifically used for:Determine described first image at least on one side increase frame to form intermediate images,
The wherein described increase frame at least can be described as processing side, after forming the intermediate images, institute in the intermediate images on one side
The edge for stating specific region includes the processing side, and the processing side not imbricate with the intermediate images.
In conjunction with the first possible realization method of the third aspect, in second of possible realization method of the third aspect
In, when the rotation instruction be described first image around described first image any point planar rotate when, institute
Processing unit is stated to be specifically used for:Determine that all sides of described first image increase frame to form intermediate images.
In conjunction with the first possible realization method of the third aspect, in the third possible realization method of the third aspect
In, when the rotation instruction be described first image with described first image be axis rotation on one side when, wherein described is axis
When on the basis of;
The processing unit is specifically used for:It determines in described first image and increases frame with the not parallel side of the true edge
To form intermediate images.
In conjunction with the first possible realization method of the third aspect, in the 4th kind of possible realization method of the third aspect
In, the electronic equipment further includes:Fills unit, for the background colour according to the background image blocked by described first image,
The Fill Color in the frame region so that the color and background color of frame region described in the transfer image acquisition is identical.
In conjunction with the 4th kind of possible realization method of the third aspect, in the 5th kind of possible realization method of the third aspect
In, the fills unit is specifically used for:The frame region is divided into multiple frame blocks according to a predetermined value;According to by institute
The background colour for the background image that the first image blocks is stated, fills corresponding background color in the frame block respectively.
The fourth aspect of the present invention, provides a kind of electronic equipment, and the electronic equipment includes display unit and input unit,
The electronic equipment includes:
The display unit is for showing the first image;
The input unit is used to acquire the vision-control operation for described first image, generates and is directed to first figure
The vision-control of picture instructs;
The display unit, which is additionally operable to be instructed according to the vision-control, shows the second image;
Wherein, before showing second image, processing unit handles described first image and is faced with being formed in the first way
When image, the image of the specific region in the intermediate images is identical as the image of described first image, the processing unit with
The second method processing intermediate images are to form the second image, wherein the image of specific region described in second image
Edge smoothness better than directly with the second method processing described first image formed at least one transfer image acquisition side
Edge smoothness, wherein the first method and second method difference.
A kind of display methods provided by the invention and electronic equipment, are applied to electronic equipment, which includes display
Unit and input unit.This method includes:First by showing the first image on display unit;Next, passing through input unit
Acquisition is operated for the vision-control of the first image, and the vision-control generated for the first image instructs;Then according to the first figure
Picture and vision-control instruction determine the second image;At least one in finally showing from the first image to the adjustment process of the second image
Transfer image acquisition is opened, until the second image of display;Wherein, before showing transfer image acquisition, first handle in the first way the first image with
Intermediate images are formed, the image of the specific region in the intermediate images is identical as the image of the first image, then locates in a second manner
Intermediate images are managed to form an at least transfer image acquisition, wherein the edge of specific region is flat in an at least transfer image acquisition
Edge smoothness of the slippery better than at least one transfer image acquisition for directly handling the formation of the first image in a second manner, wherein the
One mode and second method difference.As can be seen from above, which can in image adjustment the edge of the image it is more smooth.
Description of the drawings
Fig. 1 is a kind of flow diagram for the display methods that the embodiment of the present invention one provides;
Fig. 2 (a) is a kind of illustrative diagram for the first image that the embodiment of the present invention one provides;
Fig. 2 (b) is a kind of illustrative diagram of transfer image acquisition in the prior art;
Fig. 3 (a) is by a kind of illustrative diagram after the transfer image acquisition ratio enlargement in Fig. 2 (b);
Fig. 3 (b), which is that one kind of progress first method processing after amplifying the first image scaled in Fig. 2 (a) is exemplary, to be shown
It is intended to;
Fig. 3 (c) is a kind of illustrative diagram that the intermediate images in Fig. 3 (b) are carried out to second method processing;
Fig. 4 is a kind of flow diagram of display methods provided by Embodiment 2 of the present invention;
Fig. 5 is a kind of structural schematic diagram for the electronic equipment that the embodiment of the present invention three provides;
Fig. 6 is another structural schematic diagram for the electronic equipment that the embodiment of the present invention three provides;
Fig. 7 is a kind of structural schematic diagram for the electronic equipment that the embodiment of the present invention four provides.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
The embodiment of the present invention one provides a kind of display methods, is applied to electronic equipment, which includes display unit
And input unit, wherein the display unit can be display screen, and input unit can be mouse, keyboard, touch screen etc..Such as Fig. 1 institutes
Show, this method comprises the following steps:
S110, by showing the first image on display unit.
In this step, the first image refers to that the initial pictures shown on the display unit namely user open image text
The image seen after part.
S111, the vision-control by input unit acquisition for the first image operate, and generate for the aobvious of the first image
Show regulating command.
In embodiments of the present invention, vision-control instruction be for changing the first image i.e. position of initial pictures, size,
The instruction of shape etc., the vision-control instruction can there are many, including, such as move, reduce instruction, amplification instruction, rotation
Turn instruction etc..
Specifically, when user carries out vision-control mouse, keyboard or by way of touching screen to a certain image, electricity
Sub- equipment receives and acquires user and operated for the vision-control of the image, and the display tune of described image is generated according to the operation
Section instruction.
S112, the second image is determined according to the first image and vision-control instruction.
In this step, the second image refers to completing adjusting action according to vision-control instruction and showing on the display unit
Final image.
Specifically, instructed according to the vision-control that user issues, and according to figures such as the position of the first image, size, colors
As information can determine the image information of the second image, and the second image of generation.
S113, display from the first image to the adjustment process of the second image in an at least transfer image acquisition, until display
Second image;
Wherein, before showing transfer image acquisition, the first image is first handled in the first way to form intermediate images, intermediate images
In specific region image it is identical as the image of the first image, then in a second manner processing intermediate images to form at least one
Transfer image acquisition, wherein the edge smoothness of specific region is better than directly in a second manner locating in an at least transfer image acquisition
Manage the edge smoothness of at least one transfer image acquisition of the first image formation, wherein first method and second method difference.
In this step, transfer image acquisition can understand as follows:It is instructed according to vision-control, is realizing the final knot to be adjusted
It before fruit, can change in adjustment process in the first image, electronic equipment can be by the first figure of variation in the change procedure
As automatically generating multiple images, the image of the generation is transfer image acquisition.For example, as shown in Fig. 2 (a) and Fig. 2 (b),
Middle Fig. 2 (a) is the first image, and Fig. 2 (b) is a transfer image acquisition of first image.In the prior art, transfer image acquisition is presented
In front of the user, and due to being restricted by the prior art, the edge of the transfer image acquisition tends not to the edge as the first image
It is smooth like that, or even the edge of transfer image acquisition having will appear the zigzag that human eye can be discovered.
To solve the above-mentioned problems, in embodiments of the present invention, it before showing transfer image acquisition, needs to follow the steps below
1130 and step 1131.
1130, the first image is handled in the first way to form intermediate images.
Wherein, it is preferred that first method is at least to increase frame on one side in the first image.In such cases, interim figure
The image that is formed after at least increasing frame on one side as can be regarded as the first image.It should be understood that intermediate images include first
Image and increased frame, therefore the image in some region in intermediate images is identical as the image of the first image.
Optionally, in one particular embodiment of the present invention, when the instruction of the vision-control of the first image is rotation instruction
When, step 1130 handles the first image and is specially to form intermediate images in the first way:Determine at least one side of the first image
Increase frame to form intermediate images, wherein increase frame at least can be described as processing side on one side, it, should after forming intermediate images
In intermediate images the edge of specific region include processing side, and the processing side not with the imbricate of intermediate images.
Further, in one particular embodiment of the present invention, it is surrounded for described first image when the rotation instructs
Described first image planar any point rotation when, determine described first image at least on one side increase frame with shape
It is specially at intermediate images:Determine that all sides of the first image increase frame to form intermediate images.
Specifically, when rotation instruction be the first image around described first image any point planar rotate
When, that is, when the rotation instruction that user issues requires the first image to be rotated in display plane, all sides of first image
Intermediate images are formed after increasing frame.
Optionally, in one particular embodiment of the present invention, when the rotation instructs as described first image with described
First image be axis rotation on one side when, wherein it is described for axis on the basis of while;At this point, determining at least one side of the first image
Increase frame is specially to form intermediate images:Increase frame with the not parallel side of the true edge in first image to be formed to face
When image.
Specifically, when rotation instruction be the first image with the first image be on one side axis rotation when, that is, when user issues
Rotation instruction when requiring the first Image Reversal, in the first image in addition to for axis while and with this be axis while parallel side
Outside, other each sides of the first image form intermediate images after increasing frame.
1131, then intermediate images are handled in a second manner to form an at least transfer image acquisition.
In this step, second method processing can be the common Image Adjusting algorithm of those skilled in the art.Specifically, still with
Illustrate the process of image adjustment algorithm processing image for image in Fig. 2 (a) and Fig. 2 (b).When as shown in Fig. 2 (a) first
When image is overturn using AB as axis, which is axially divided by Image Adjusting algorithm according to the size of image along AB
Multiple row, each column are reduced according to different shrinkage rates, for example, from the left side of the image to the shrinkage rates on the right be 0.9,0.85,
0.8、0.75、0.7、0.65.To obtain the image as shown in Fig. 2 (b).
After above-mentioned steps 1130 and step 1131, the edge-smoothing of specific region in an at least transfer image acquisition
Degree can be better than directly handling the edge smoothness of at least one transfer image acquisition of the first image formation in a second manner.
Specifically, as it was noted above, the edge of transfer image acquisition will not smooth as the edge of the first image or even mistake
The edge for crossing image will appear the zigzag that human eye can be discovered, and therefore, optionally, the edge smoothness of transfer image acquisition utilizes should
There is the quantity of " sawtooth " and/or the size of " sawtooth " to weigh at the edge of transfer image acquisition specific region.
In a specific embodiment, the smoothness at the edge (i.e. the first image border) of transfer image acquisition specific region can profit
Possessed by the edge of the transfer image acquisition specific region quantity of " sawtooth " is weighed.
Under this measurement mode, the transfer image acquisition given zone that first method is formed using second method processing is first passed through
It is good and bad between the edge smoothness in domain and the edge smoothness for directly handling the transfer image acquisition that the first image is formed in a second manner
Compare by being described in detail so that the vision-control instruction that electronic equipment receives is overturning instruction as an example.
For example, in the case where the vision-control instruction that electronic equipment receives is overturning instruction, as shown in Fig. 2 (a)
The first image become a transfer image acquisition as shown in Fig. 2 (b).For the ease of understand the transfer image acquisition edge occur how
Variation, now amplifies Fig. 2 (b) by a certain percentage, shown in amplified transfer image acquisition such as Fig. 3 (a).It can understand to see at this time,
The top edge AD and lower edge BC of the transfer image acquisition respectively have 6 sawtooth.According to the method for the embodiment of the present invention, is first passed through
One mode is handled, and is handled, is obtained as shown in Fig. 3 (b) for example, by using the previously described mode for increasing one fixed width frame
Intermediate images.It is handled using second method, such as the flexible algorithm of previously described image.In such cases, by second
The lower edges AD and BC of i.e. the first image of the lower edges of the specific region for the transfer image acquisition that mode is formed after handling may have
There are 5 or lesser amount of sawtooth, even without sawtooth.Can be seen that from above, first pass through first method using second method at
Manage side of the edge smoothness better than the transfer image acquisition for directly handling the formation of the first image in a second manner of the transfer image acquisition formed
Edge smoothness.
In another specific embodiment, the edge smoothness of transfer image acquisition specific region is also specific using transfer image acquisition
The size of " sawtooth " possessed by the edge in region is weighed.
In addition, the edge smoothness of transfer image acquisition specific region is also had using the edge of the transfer image acquisition specific region
The quantity of " sawtooth " that has and the size of " sawtooth " are weighed, and specific implementation is the combination of above two mode, herein not
It repeats.
It should be noted that in the present invention, the first image being increased frame and forms intermediate images, then the spy of intermediate images
The edge for determining region is equal to the edge of the first image;Then the intermediate images form transfer image acquisition by second processing mode, then
The edge of the specific region of transfer image acquisition is equal to the edge of the specific region of intermediate images, and, the specific region of transfer image acquisition
Edge be different from transfer image acquisition edge, and the smoothness at the edge of the specific region of transfer image acquisition centainly be better than transfer image acquisition
Edge smoothness.
It should be noted that the above is only for example, how to weigh the edge smoothness of transfer image acquisition, and utilizing should
Measurement mode intuitively obtains the side for first passing through the transfer image acquisition specific region that first method is formed using second method processing
How edge smoothness is better than the edge smoothness for directly handling the transfer image acquisition that the first image is formed in a second manner.When
So, other methods also can be used in the present invention to weigh the edge smoothness of transfer image acquisition, and not straight using this method acquisition
The edge smoothness of the transfer image acquisition specific region formed by second method processing is connect better than directly handling the in a second manner
The edge smoothness for the transfer image acquisition that one image is formed, is not specifically limited this present invention.
In addition, in one particular embodiment of the present invention, the width of increased frame can be:From the inward flange of frame to
The outer peripheral width of frame is greater than or equal to predetermined width, in this way, the edge of intermediate images is after forming transfer image acquisition, the mistake
The edge smoothness for crossing specific region in image is best.
Further, which obtains in the following manner:Receiving display tune of the user for the first image
After section instruction, before forming intermediate images, the dimension information of the image is first obtained, then according to the dimension information of the image, is adjusted
With image algorithm to obtain the width that the image generates the region at unsmooth edge, which is preset width.Such as it should
Width is 0.2mm, the numerical value such as 0.5mm, 1mm.It particularly, can due to having a certain number of pixels in the predetermined width
Preset width is indicated by calculating the quantity of pixel.Such as when the quantity of pixel is 5, corresponding predetermined width is
0.2mm.In embodiments of the present invention, it is easy to the quantity of pixel is obtained according to the size of the image by Image Adjusting algorithm,
So that it is determined that preset width.In addition, can also not have to Image Adjusting algorithm obtains pixel quantity, those skilled in the art can basis
Experience or the quantity for repeatedly measuring directly setting pixel, such as are set as 20 pixels, no matter image size it is much, the pixel
Quantity can meet.How quantity about pixel determines that the present invention is not specifically limited.
Wherein, " edge smoothness of specific region is best in transfer image acquisition " can be regarded as specific region in transfer image acquisition
Edge the same smooth of the edge with the first image.For example, special in transfer image acquisition if the edge of the first image is without sawtooth
The edge in region is determined also without sawtooth.
It should be understood that make the edge smoothness of specific region in transfer image acquisition best, then the increased rim area of institute
The width in domain is at least preset width, in other words, image the width in the region of increased frame to be at least equal to the image
Generate the width in the region at unsmooth edge.Certainly, if image the region of increased frame width more than the image generate
The width in the region at unsmooth edge, then the edge smoothness of specific region must be best in transfer image acquisition.
The embodiment of the present invention one provide display methods, be applied to electronic equipment, the electronic equipment include display unit and
Input unit.This method includes:First by showing the first image on display unit;Next, acquiring needle by input unit
Vision-control operation to the first image, the vision-control generated for the first image instruct;Then according to the first image and aobvious
Show that regulating command determines the second image;An at least transition in finally showing from the first image to the adjustment process of the second image
Image, until the second image of display;Wherein, before showing transfer image acquisition, the first image is first handled in the first way and is faced with being formed
When image, the image of the specific region in the intermediate images is identical as the image of the first image, then processing is interim in a second manner
Image is to form an at least transfer image acquisition, wherein the edge smoothness of specific region is excellent in an at least transfer image acquisition
In the edge smoothness at least one transfer image acquisition for directly handling the formation of the first image in a second manner, wherein first method
It is different with second method.As can be seen from above, which enables to user when adjusting image so that the image is in adjustment process
The edge of at least one image of middle display is more smooth.
In view of the edge of transfer image acquisition in the present invention is not smooth, and transfer image acquisition is presented on user plane
Before, therefore user is easy to realize that the edge of transfer image acquisition is unsmooth, to cause the visual effect of user poor.
In order to promote the visual effect of user, optionally, in one particular embodiment of the present invention, the display methods is also
Including:
According to the background colour of the background image blocked by the first image, the Fill Color in frame region so that transition figure
The color and background color of frame region is identical as in.
It follows that identical with the background colour of background image blocked by the first image by being filled in frame region
The mode of color so that the edge of transfer image acquisition is dissolved with background colour to be integrated.Accordingly even when the edge of transfer image acquisition is practical not
Smoothly, user also can't see, therefore improve the visual effect of user.
Since background color may be to be made of multiple color, in order to further increase the visual effect of user,
It needs to fill different background colours in frame region.
Further, in one particular embodiment of the present invention, according to the back of the body of the background image blocked by the first image
Scenery, Fill Color includes in frame region:
Frame region is divided into multiple frame blocks according to a predetermined value;
According to the background colour of the background image blocked by the first image, corresponding background face is filled in frame block respectively
Color.
Second embodiment of the present invention provides a kind of display methods, are applied to electronic equipment, which includes display unit
And input unit, wherein the display unit can be display screen, and input unit can be mouse, keyboard, touch screen etc..Such as Fig. 4 institutes
Show, this method comprises the following steps:
S210, by showing the first image on display unit.
In this step, the first image refers to that the initial pictures shown on the display unit namely user open image text
The image seen after part.
S211, the vision-control by input unit acquisition for the first image operate, and generate for the aobvious of the first image
Show regulating command.
In this step, vision-control instruction is for changing the first image i.e. position of initial pictures, size, shape etc.
Instruction, the vision-control instruction can there are many, including, such as move, reduce instruction, amplification instruction, rotation instruction etc..
Specifically, when user carries out vision-control mouse, keyboard or by way of touching screen to a certain image, electricity
Sub- equipment receives and acquires user and operated for the vision-control of the image, and the display tune of described image is generated according to the operation
Section instruction.
S212, the second image of display is instructed according to vision-control;
Wherein, before showing the second image, the first image is handled in the first way to form intermediate images, in intermediate images
Specific region image it is identical as the image of the first image, in a second manner handle intermediate images to form the second image,
In, the edge smoothness of the image of specific region is formed extremely better than direct first image that handles in a second manner in the second image
The edge smoothness of a few transfer image acquisition, wherein first method and second method difference.
In this step, the second image can understand as follows:It is instructed according to vision-control, the part or complete in the first image
Portion can change, and changed first image can be automatically generated the second image by electronic equipment.In the prior art, second
Image is presented in front of the user, and is restricted by the prior art, and the edge of second image is tended not to as the first image
Edge is smooth like that, for example, the edge of the second image will appear the zigzag that human eye can be discovered.
In order to solve the problems, such as that it is rough that the edge of the second image occurs, follow the steps below:
2120, before showing the second image, the first image is handled in the first way to form intermediate images, in intermediate images
Specific region image it is identical as the image of the first image.
2121, intermediate images are handled in a second manner to form the second image, wherein the figure of specific region in the second image
Edge-smoothing of the edge smoothness of picture better than at least one transfer image acquisition for directly handling the formation of the first image in a second manner
Degree.
Wherein, first method and second method difference.For example, first method is by the way of increasing frame the
Two modes are by the way of image algorithm.
The present invention implements the specific reality that the specific implementation mode of step 2120 in two implements step 1130 in one with the present invention
It applies that mode is identical, therefore can refer to the specific implementation mode that the present invention implements one, this will not be repeated here.
It is similar to step 1131 in present invention implementation one since the present invention implements the second image in two in step 2121
Transfer image acquisition, therefore the specific implementation mode about step 2121 in present invention implementation two can refer to step during the present invention implements one
1131 specific implementation mode, this will not be repeated here.
Intelligible, embodiment one is different with the application scenarios of embodiment two.The edge of the former image in adjustment process
Occur unsmooth, and the edge of image is still smooth after adjusting;The latter is the edge of image after adjusting
Also occur unsmooth.
Display methods provided by Embodiment 2 of the present invention, be applied to electronic equipment, the electronic equipment include display unit and
Input unit.This method includes:First by showing the first image on display unit;Next, acquiring needle by input unit
Vision-control operation to the first image, the vision-control generated for the first image instruct;Then it is instructed according to vision-control
Show the second image;Wherein, before showing the second image, the first image is handled in the first way to form intermediate images, temporarily
The image of specific region in image is identical as the image of the first image, handles intermediate images in a second manner to form the second figure
Picture, wherein the edge smoothness of the image of specific region is better than directly handling the first image shape in a second manner in the second image
At at least one transfer image acquisition edge smoothness, wherein first method and second method are different.As can be seen from above, the party
Formula enables to user when adjusting image so that the edge for the image that the image is shown after adjustment is more smooth.
Corresponding with embodiment one, the embodiment of the present invention three provides a kind of electronic equipment 30, and wherein the electronic equipment can
The electronic equipment of image can be adjusted for mobile phone, computer, notebook and any type.As shown in figure 5, electronic equipment 30 includes
Display unit 300 and input unit 301, the electronic equipment include:
Display unit 300 is for showing the first image;
The acquisition of input unit 301 is operated for the vision-control of described first image, is generated for described first image
Vision-control instructs;
Processing unit 302 is used for, the display that the first image and input unit 301 shown according to display unit 301 inputs
Regulating command determines the second image;
Display unit 300 is additionally operable to, display from described first image in the adjustment process of second image at least
One transfer image acquisition, until showing second image;
Wherein, before display unit 300 shows the transfer image acquisition, processing unit 302 first handles first in the first way
For image to form intermediate images, the image of the specific region in intermediate images is identical as the image of the first image, processing unit 302
Intermediate images are handled in a second manner again to form an at least transfer image acquisition, wherein given zone in an at least transfer image acquisition
Edge-smoothing of the edge smoothness in domain better than at least one transfer image acquisition for directly handling the formation of the first image in a second manner
Degree, wherein first method and second method difference.
The a kind of electronic equipment 30 that the embodiment of the present invention three provides, display unit 300 is for showing the first image;Input is single
301 acquisition of member is operated for the vision-control of described first image, and the vision-control generated for described first image instructs;Place
Reason unit 302 is used for, the vision-control instruction of the first image shown according to the display unit and input unit input
Determine the second image;Display unit 300 is additionally operable to, during display is from described first image to the adjustment process of second image
An at least transfer image acquisition, until showing second image;Wherein, before display unit 300 shows the transfer image acquisition, place
Reason unit 302 first handles the first image to form intermediate images in the first way, the image of the specific region in intermediate images with
The image of first image is identical, processing unit 302 again in a second manner processing intermediate images to form an at least transfer image acquisition,
Wherein, at least in a transfer image acquisition edge smoothness of specific region better than directly handling the first image in a second manner and formed
At least one transfer image acquisition edge smoothness.As can be seen from above, which can make user when adjusting image, make
The edge for obtaining at least one image that the image is shown in adjustment process is more smooth.
Optionally, in one particular embodiment of the present invention, when the instruction of the vision-control of the first image is rotation instruction
When, processing unit 302 is specifically used for:Determine the first image at least increases frame to form intermediate images, wherein increasing on one side
Frame at least can be described as processing side on one side, and after forming intermediate images, the edge of specific region includes place in the intermediate images
Manage side, and handle side not with the imbricate of intermediate images.
Further, in one particular embodiment of the present invention, when rotation instruction is that the first image surrounds the first image
Planar any point rotation when, processing unit 302 is specifically used for:Determine that all sides of the first image increase frame
To form intermediate images.
Optionally, in one particular embodiment of the present invention, when rotation instructs as the first image with the one of the first image
When side is that axis rotates, wherein it is described for axis on the basis of while;
In such cases, processing unit 302 is specifically used for:Determine in the first image with true edge it is not parallel while increase while
Frame is to form intermediate images.
Optionally, in one particular embodiment of the present invention, the width of frame is:From the inward flange of frame to frame
Outer peripheral width is greater than or equal to predetermined width, so that the edge of intermediate images is after forming transfer image acquisition, transition figure
The edge smoothness of specific region is best as in.
Optionally, in one particular embodiment of the present invention, as shown in fig. 6, electronic equipment 30 further includes:Fills unit
303, for the background colour according to the background image blocked by the first image, the Fill Color in frame region so that the mistake
The color and background color for crossing frame region described in image is identical.
Further, in one particular embodiment of the present invention, fills unit 303 is specifically used for:Frame region is pressed
It is divided into multiple frame blocks according to a predetermined value;According to the background colour of the background image blocked by the first image, respectively in frame
The corresponding background color of filling in block.
Corresponding with embodiment two, the embodiment of the present invention four provides a kind of electronic equipment 40, and wherein the electronic equipment can
The electronic equipment of image can be adjusted for mobile phone, computer, notebook and any type.As shown in fig. 7, electronic equipment 30 includes
Display unit 400 and input unit 401, the electronic equipment include:
Display unit 400 is for showing the first image;
Input unit 401 is used to acquire the vision-control operation for the first image, generates for described first image
Vision-control instructs;
Display unit 400, which is additionally operable to be instructed according to vision-control, shows the second image;
Wherein, before showing the second image, processing unit 402 handles the first image to form interim figure in the first way
The image of picture, the specific region in intermediate images is identical as the image of the first image, and processing unit 402 is handled in a second manner to be faced
When image to form the second image, wherein in the second image the edge smoothness of the image of specific region be better than directly with second
Mode handles the edge smoothness of at least one transfer image acquisition of the first image formation, wherein first method and second method are not
Together.
The electronic equipment 40 that the embodiment of the present invention four provides, which includes display unit 400 and input unit
401.This method includes:Display unit 400 shows the first image first;Next, the acquisition of input unit 401 is directed to the first image
Vision-control operation, generate for the first image vision-control instruct;Then display unit 400 is instructed according to vision-control
Show the second image;Wherein, before showing the second image, processing unit 402 handles the first image and is faced with being formed in the first way
When image, the image of the specific region in intermediate images is identical as the image of the first image, and processing unit 402 is located in a second manner
Manage intermediate images to form the second image, wherein in the second image the edge smoothness of the image of specific region better than directly with
Second method handles the edge smoothness at least one transfer image acquisition that the first image is formed, wherein first method and second party
Formula is different.As can be seen from above, which enables to user when adjusting image so that the image was shown after adjustment
The edge of image is more smooth.
It should be noted that the apparatus embodiments described above are merely exemplary, wherein described be used as separating component
The unit of explanation may or may not be physically separated, and the component shown as unit can be or can also
It is not physical unit, you can be located at a place, or may be distributed over multiple network units.It can be according to actual
It needs that some or all of module therein is selected to achieve the purpose of the solution of this embodiment.In addition, device provided by the invention
In embodiment attached drawing, the connection relation between module indicates there is communication connection between them, specifically can be implemented as one or
A plurality of communication bus or signal wire.Those of ordinary skill in the art are without creative efforts, you can to understand
And implement.
Through the above description of the embodiments, it is apparent to those skilled in the art that the present invention can borrow
Help software that the mode of required common hardware is added to realize, naturally it is also possible to by specialized hardware include application-specific integrated circuit, specially
It is realized with CPU, private memory, special components and parts etc..Under normal circumstances, all functions of being completed by computer program can
It is easily realized with corresponding hardware, moreover, for realizing that the particular hardware structure of same function can also be a variety of more
Sample, such as analog circuit, digital circuit or special circuit etc..But it is more for the purpose of the present invention in the case of software program it is real
It is now more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words makes the prior art
The part of contribution can be expressed in the form of software products, which is stored in the storage medium that can be read
In, such as the floppy disk of computer, USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory
Device (RAM, Random Access Memory), magnetic disc or CD etc., including some instructions are with so that a computer is set
Standby (can be personal computer, server or the network equipment etc.) executes the method described in each embodiment of the present invention.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (15)
1. a kind of display methods is applied to electronic equipment, the electronic equipment includes display unit and input unit, and feature exists
In, the method includes:
By showing the first image on the display unit, the edge of described first image is smooth;
Vision-control by input unit acquisition for described first image operates, and generates for described first image
Vision-control instructs;
The second image is determined according to described first image and vision-control instruction;
An at least transfer image acquisition in showing from described first image to the adjustment process of second image, until display institute
State the second image;
Wherein, before showing the transfer image acquisition, first processing described first image is described to form intermediate images in the first way
The image of specific region in intermediate images is identical as the image of described first image, then handles the interim figure in a second manner
As to form an at least transfer image acquisition, wherein the edge of at least specific region described in a transfer image acquisition is flat
Slippery is better than the edge smoothness of at least one transfer image acquisition directly formed with second method processing described first image,
Wherein, the first method and second method difference.
2. according to the method described in claim 1, it is characterized in that,
When the instruction of the vision-control of described first image instructs for rotation,
It is described in the first way processing described first image be specially to form intermediate images:
Determine described first image at least increases frame to form intermediate images, wherein described increase at least the one of frame on one side
When being known as handling, after forming the intermediate images, the edge of specific region described in the intermediate images includes the place
Manage side, and the processing side not imbricate with the intermediate images.
3. according to the method described in claim 2, it is characterized in that,
When the rotation instruction be described first image around described first image any point planar rotate when,
The determining described first image at least on one side increase frame be specially to form intermediate images:
Determine that all sides of described first image increase frame to form intermediate images.
4. according to the method described in claim 2, it is characterized in that,
When the rotation instruction be described first image with described first image be axis rotation on one side when, wherein described is axis
When on the basis of;
The determining described first image at least on one side increase frame be specially to form intermediate images:
It determines in described first image and increases frame with the not parallel side of the true edge to form intermediate images.
5. according to claim 2-4 any one of them methods, which is characterized in that the width of the frame is:From the frame
Inward flange to the frame outer peripheral width be greater than or equal to predetermined width so that the edge of the intermediate images
After forming the transfer image acquisition, the edge smoothness of specific region described in the transfer image acquisition is best.
6. according to the method described in claim 2, it is characterized in that, the method further includes:
According to the background colour of the background image blocked by described first image, the Fill Color in frame region so that the mistake
The color and background color for crossing frame region described in image is identical.
7. according to the method described in claim 6, it is characterized in that, described according to the background image blocked by described first image
Background colour, Fill Color includes in the frame region:
The frame region is divided into multiple frame blocks according to a predetermined value;
According to the background colour of the background image blocked by described first image, corresponding background is filled in the frame block respectively
Color.
8. a kind of display methods is applied to electronic equipment, the electronic equipment includes display unit and input unit, and feature exists
In, the method includes:
By showing the first image on the display unit, the edge of described first image is smooth;
Vision-control by input unit acquisition for described first image operates, and generates for described first image
Vision-control instructs;
It is instructed according to the vision-control and shows the second image;
Wherein, before showing second image, processing described first image is described to face to form intermediate images in the first way
When image in specific region image it is identical as the image of described first image, handle in a second manner the intermediate images with
Form the second image, wherein the edge smoothness of the image of specific region described in second image is better than directly with described
Second method handles the edge smoothness at least one transfer image acquisition that described first image is formed, wherein the first method
It is different with the second method.
9. a kind of electronic equipment, the electronic equipment includes display unit and input unit, which is characterized in that
For the display unit for showing the first image, the edge of described first image is smooth;
The input unit acquisition is operated for the vision-control of described first image, generates the display for described first image
Regulating command;
The electronic equipment further includes processing unit, the first image that the processing unit is used to be shown according to the display unit
Vision-control instruction with input unit input determines the second image;
The display unit is additionally operable to, at least one in showing from described first image to the adjustment process of second image
Transfer image acquisition, until showing second image;
Wherein, before the display unit shows the transfer image acquisition, the processing unit first handles described the in the first way
For one image to form intermediate images, the image of the specific region in the intermediate images is identical as the image of described first image,
The processing unit handles the intermediate images to form an at least transfer image acquisition in a second manner again, wherein described
At least the edge smoothness of specific region described in a transfer image acquisition is better than directly with second method processing described first
The edge smoothness at least one transfer image acquisition that image is formed, wherein the first method and second method difference.
10. electronic equipment according to claim 9, which is characterized in that
When the instruction of the vision-control of described first image instructs for rotation,
The processing unit is specifically used for:Determine described first image at least on one side increase frame to form intermediate images,
Described in increase frame be at least known as processing side on one side, it is special described in the intermediate images after forming the intermediate images
The edge for determining region includes the processing side, and the processing side not imbricate with the intermediate images.
11. electronic equipment according to claim 10, which is characterized in that
When the rotation instruction be described first image around described first image any point planar rotate when,
The processing unit is specifically used for:Determine that all sides of described first image increase frame to form intermediate images.
12. electronic equipment according to claim 10, which is characterized in that
When the rotation instruction be described first image with described first image be axis rotation on one side when, wherein described is axis
When on the basis of;
The processing unit is specifically used for:It determines in described first image and increases frame with the not parallel side of the true edge with shape
At intermediate images.
13. electronic equipment according to claim 10, which is characterized in that the electronic equipment further includes:
Fills unit is filled out for the background colour according to the background image blocked by described first image in the frame region
Fill color so that the color and background color of frame region is identical in the transfer image acquisition.
14. electronic equipment according to claim 13, which is characterized in that the fills unit is specifically used for:
The frame region is divided into multiple frame blocks according to a predetermined value;
According to the background colour of the background image blocked by described first image, corresponding background is filled in the frame block respectively
Color.
15. a kind of electronic equipment, the electronic equipment includes display unit and input unit, which is characterized in that the electronics is set
It is standby to include:
For the display unit for showing the first image, the edge of described first image is smooth;
The input unit is used to acquire the vision-control operation for described first image, generates for described first image
Vision-control instructs;
The display unit, which is additionally operable to be instructed according to the vision-control, shows the second image;
Wherein, before showing second image, processing unit handles described first image to form interim figure in the first way
The image of picture, the specific region in the intermediate images is identical as the image of described first image, and the processing unit is with second
Mode handles the intermediate images to form the second image, wherein the side of the image of specific region described in second image
Edge smoothness is flat better than the edge of at least one transfer image acquisition directly formed with second method processing described first image
Slippery, wherein the first method and second method difference.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410061958.1A CN104867109B (en) | 2014-02-24 | 2014-02-24 | A kind of display methods and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410061958.1A CN104867109B (en) | 2014-02-24 | 2014-02-24 | A kind of display methods and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104867109A CN104867109A (en) | 2015-08-26 |
CN104867109B true CN104867109B (en) | 2018-08-10 |
Family
ID=53912926
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410061958.1A Active CN104867109B (en) | 2014-02-24 | 2014-02-24 | A kind of display methods and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104867109B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105975204A (en) * | 2016-04-28 | 2016-09-28 | 深圳市金立通信设备有限公司 | Picture processing method and terminal |
CN107123096B (en) * | 2017-04-20 | 2018-11-06 | 腾讯科技(深圳)有限公司 | Method for displaying image and device in VR equipment and VR equipment |
CN113535031A (en) * | 2021-08-03 | 2021-10-22 | 北京字跳网络技术有限公司 | Page display method, device, equipment and medium |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102177705A (en) * | 2008-09-04 | 2011-09-07 | 晶像股份有限公司 | System, method, and apparatus for smoothing of edges in images to remove irregularities |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4006411B2 (en) * | 2004-03-26 | 2007-11-14 | キヤノン株式会社 | Image forming apparatus and method |
-
2014
- 2014-02-24 CN CN201410061958.1A patent/CN104867109B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102177705A (en) * | 2008-09-04 | 2011-09-07 | 晶像股份有限公司 | System, method, and apparatus for smoothing of edges in images to remove irregularities |
Non-Patent Citations (1)
Title |
---|
基于边界定位和对称性的高速图像旋转算法;崔振辉 等;《天津大学学报》;20110930;第44卷(第9期);780-785 * |
Also Published As
Publication number | Publication date |
---|---|
CN104867109A (en) | 2015-08-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200184610A1 (en) | Digital Image Completion Using Deep Learning | |
US10122674B2 (en) | Method of creating a PXLgram | |
Panozzo et al. | Robust image retargeting via axis‐aligned deformation | |
TWI291158B (en) | Method and apparatus for driving liquid crystal display | |
CN106971165B (en) | A kind of implementation method and device of filter | |
CN107480255A (en) | The method that commodity are carried out with the customization of 3D Photographing On-lines and displaying based on internet | |
DE102011108861A1 (en) | Electronic device and method for generating a graphical user interface thereof | |
KR20150038518A (en) | Setting an operating-system color using a photograph | |
US9836203B2 (en) | Grid-based visual design environment | |
CN104867109B (en) | A kind of display methods and electronic equipment | |
CN109791431A (en) | Viewpoint rendering | |
JP6349962B2 (en) | Image processing apparatus and program | |
CN104919490B (en) | For the structured descriptor of image procossing | |
US20130088513A1 (en) | Fun Videos and Fun Photos | |
CN110688506A (en) | Template generation method and device, electronic equipment and storage medium | |
WO2005050561A1 (en) | Image processing apparatus, image processing program, and readable recording medium | |
US9774844B2 (en) | Unpacking method, unpacking device and unpacking system of packed frame | |
CN104184791B (en) | Image effect extracts | |
CN107079198A (en) | Display device, system and its control method | |
US20160284072A1 (en) | System for photo customizable caricature generation for custom products | |
CN113946250A (en) | Folder display method and device and electronic equipment | |
CN106055299A (en) | Method for realizing rotation of images in any angle on multiple display equipment | |
WO2017152848A1 (en) | Method and apparatus for editing person's facial model | |
CN107861788A (en) | Picture layout method, terminal and computer-readable recording medium | |
JP7224931B2 (en) | LEARNING MODEL GENERATOR, PROGRAM, AND METHOD OF MANUFACTURING TERMINAL DEVICE |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |