CN102496353B - Method for removing frame jitter and image display control - Google Patents

Method for removing frame jitter and image display control Download PDF

Info

Publication number
CN102496353B
CN102496353B CN201110390441.3A CN201110390441A CN102496353B CN 102496353 B CN102496353 B CN 102496353B CN 201110390441 A CN201110390441 A CN 201110390441A CN 102496353 B CN102496353 B CN 102496353B
Authority
CN
China
Prior art keywords
image display
display area
image
control
shows
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110390441.3A
Other languages
Chinese (zh)
Other versions
CN102496353A (en
Inventor
薛顺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wanxing Polytron Technologies Inc
Original Assignee
SHENZHEN WONDERSHARE INFORMATION TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN WONDERSHARE INFORMATION TECHNOLOGY Co Ltd filed Critical SHENZHEN WONDERSHARE INFORMATION TECHNOLOGY Co Ltd
Priority to CN201110390441.3A priority Critical patent/CN102496353B/en
Publication of CN102496353A publication Critical patent/CN102496353A/en
Application granted granted Critical
Publication of CN102496353B publication Critical patent/CN102496353B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for removing frame jitter and an image display control. The method comprises the following steps: acquiring display scope information of the image display control, wherein the image display control uses an integer coordinate to control movement of the image; generating a first image display area according to the display scope information of the image display control and displaying the image which needs to be displayed by electronic equipment in the first image display area, wherein the first image display area uses a floating point coordinate to control the movement of the image. According to the invention, when the image display control is moved at a variable speed, the movement of the first image display area can be more fluent from a visual aspect. In the prior art, the image display control generates the frame jitter during the variable speed movement. By using the method and the control of the invention, the above problem can be solved.

Description

A kind of method and image of removing float shows control
Technical field
The present invention relates to image processing, relate in particular to a kind of method and image of removing float and show control.
Background technology
In the process of using without handle control, for improving development efficiency, all interface elements are all by inheriting without handle control; So when control be integer coordinate time, interface element all based on integer coordinate, develop, therefore exploitation speed change animation will produce the phenomenon of shake; Speed change animation comprises that current smart machine drags scroll bar or with hand during to certain direction slip screen, mobile effect (from fast to slow, finally to stop) is accelerated in the change of picture, etc.;
For example: when current picture moving is about to stop first the speed with 0.25 pixel/S slide 1 second, then 0.15 pixel/S slides 1 second, last 0.1 pixel/S was slided 1 second time, because interface element is developed based on integer coordinate, based on the principle that rounds up, when mobile number of pixels is more than or equal to 0.5, picture just moves, therefore, 0.25*1+0.15*1+0.1*1=0.5 pixel, through 3 seconds, picture 1 pixel that just moves right suddenly, can make user feel that picture produces jitter phenomenon.
Summary of the invention
The technical problem to be solved in the present invention is to use integer coordinate easily to cause that picture produces the defect of shake for control in prior art, provides a kind of and removes picture produces jitter phenomenon method and image because speed change moves and show control.
The technical solution adopted for the present invention to solve the technical problems is:
A kind of method of removing float is provided, comprises the following steps:
Obtain the indication range information that image shows control, described image shows that control adopts the movement of integer coordinate control image;
Indication range Information generation the first image display area that shows control according to described image, the image that electronic equipment need to be shown shows in described the first image display area; Described the first image display area adopts the movement of floating-point coordinate control image.
In the method for removal float of the present invention, described image shows that the indication range information of control is to there being the second image display area, and described the first image display area is positioned at described the second image display area; In described the second image display area, the viewing area beyond described the first image display area is set to transparent.
In the method for removal float of the present invention, the back gauge of described the first image display area and described the second image display area is more than or equal to 0.5 pixel.
In the method for removal float of the present invention, also comprise the pixel value that the second image display area moves described in cumulative record.
The present invention solves another technical scheme that its technical matters adopts:
Provide a kind of image of removing float to show control, this control comprises:
Information acquisition unit, for obtaining the indication range information of image demonstration control, described image shows that control adopts the movement of integer coordinate control image;
The first image display area, it shows control indication range Information generation according to described image, shows therein for the image that electronic equipment need to be shown; Described the first image display area adopts the movement of floating-point coordinate control image.
In image demonstration control of the present invention, described image shows that control also comprises second image display area corresponding with the indication range information of described image demonstration control, and described the first image display area is positioned at described the second image display area; In described the second image display area, the viewing area beyond described the first image display area is set to transparent.
Image of the present invention shows that in control, the back gauge of described the first image display area and described the second image display area is more than or equal to 0.5 pixel.
In image demonstration control of the present invention, described image shows that control also comprises bulk registration module, for the pixel value that described in cumulative record, the second image display area moves.
The beneficial effect that the present invention produces is: the present invention shows that by image control adopts integer coordinate to move, and the first image display area that shows the indication range Information generation of control according to image adopts the movement of floating-point coordinate control image, thereby when speed change moves image demonstration control, can visually make the movement of the first image display area more smooth, solve image in prior art and shown that control moves middle meeting in speed change and produces the problem of float.
Accompanying drawing explanation
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 is the process flow diagram that the embodiment of the present invention is removed the method for float;
Fig. 2 is the structural representation that the embodiment of the present invention is removed the image demonstration control of float;
Fig. 3 A is that the image of the embodiment of the present invention shows the position relationship of control between mobile front the second image display area and the first image display area;
Fig. 3 B is that the image of the embodiment of the present invention shows the position relationship of control between mobile rear the second image display area and the first image display area.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
As shown in Figure 1, the embodiment of the present invention is removed the method for float, comprises the following steps:
S1, obtain image and show the indication range information of control, image shows that control adopts the movement of integer coordinate control image; Indication range information defines the indication range of control, is the boundary coordinate of original control.
S2, according to image, show indication range Information generation first image display area of control, the image that electronic equipment need to be shown shows in the first image display area; The first image display area adopts the movement of floating-point coordinate control image.
In the embodiment of the present invention, image shows that the indication range information of control is to there being the second image display area, and the first image display area is positioned at the second image display area; In the second image display area, the viewing area beyond the first image display area is set to transparent.
Such setting is carried out being moved apart of the first image display area and the second image display area, when making image show that control moves, the second image display area moves with integer coordinate, and the first image display area moves with floating point type, gives visually a kind of sensation of smoothness of people.
Before starting movement, relation between the first image display area and the second image display area as shown in Figure 3A, after whole control moves 1.3 pixels, due to the second image display area use is integer coordinate, so the second image display area reality has only moved i.e. 1 pixel (rounding up) of an integer that approaches 1.3 most, and the first image display area adopts floating point type, therefore out and outly 1.3 pixels have been moved, so the control effect after mobile as shown in Figure 3 B.
Because all demonstrations are in the first image display area, and in the second image display area, viewing area beyond the first image display area is transparent, so give people feel truly moved 1.3 pixels, thereby solved the image that is set to all over integer coordinate, show the jitter problem that brings because speed change moves of control.
Further, in the embodiment of the present invention, when the second image display area moves, the pixel value that also this second image display area of cumulative record moves.The buffer memory border that cumulative record control the second image display area moves can be set, record the pixel value that the second image display area moves, such as above, the second image display area has moved 1.3 pixels, although it has moved 1 pixel, but record the second image display area moves 1.3 pixels, when time control the second image display area continues mobile 0.4 pixel instantly, with regard to cumulative record the second image display area, move 1.3+0.4=1.7 pixel so, therefore the second image display area will move 1 pixel forward on the basis of originally having moved 1 pixel again, 2 pixels have been moved altogether, but it should be noted that, the first image display area has moved 1.7 pixels in fact altogether.By cumulative record the second image display area movement value, control the position that the second image display area moves, can avoid the actual mobile gap of the second image display area of causing because of the difference between integer coordinate and floating-point coordinate and the first image display area excessive.
As shown in Figure 2, the image that the embodiment of the present invention can be removed float shows that control comprises information acquisition unit 10 and the first image display area 20, information acquisition unit 10, for obtaining the indication range information of image demonstration control, image shows that control adopts the movement of integer coordinate control image; The first image display area 20, it shows control indication range Information generation according to image, shows therein for the image that electronic equipment need to be shown; The first image display area 20 adopts the movement of floating-point coordinate control image.
Image shows that control also comprises that second image display area 30, the first image display area 20 corresponding with the indication range information of image demonstration control are positioned at the second image display area 30; In the second image display area 30, the viewing area beyond the first image display area 20 is set to transparent.
The first above-mentioned image display area 20 and the movement of the second image display area 30 are separately carried out, and the second image display area 30 moves with integer coordinate, and the first image display area 20 moves with floating-point coordinate, give visually a kind of sensation of smoothness of people.
In the embodiment of the present invention, the back gauge of the first image display area 20 and the second image display area 30 is more than or equal to 0.5 pixel, and the upper limit is not particularly limited, as long as viewing area does not shorten a bit into.
Further, in the embodiment of the present invention, this control also comprises bulk registration module 40, for when the second image display area 30 moves, and the pixel value that this second image display area 30 of cumulative record moves.Its concrete cumulative record process, and how the second image display area 30 to move above and to have a detailed description according to cumulative record, do not repeat them here.Bulk registration module 40 can reduce the gap of the actual movement that the second image display area 30 causes because coordinate precision is different from the first image display area 20.
Should be understood that, for those of ordinary skills, can be improved according to the above description or convert, and all these improvement and conversion all should belong to the protection domain of claims of the present invention.

Claims (2)

1. a method of removing float, is characterized in that, comprises the following steps:
Obtain the indication range information that image shows control, described image shows that control adopts the movement of integer coordinate control image;
Indication range Information generation the first image display area that shows control according to described image, the image that electronic equipment need to be shown shows in described the first image display area; Described the first image display area adopts the movement of floating-point coordinate control image;
Described image shows that the indication range information of control is to there being the second image display area, and described the first image display area is positioned at described the second image display area; In described the second image display area, the viewing area beyond described the first image display area is set to transparent;
The back gauge of described the first image display area and described the second image display area is more than or equal to 0.5 pixel;
Described method also comprises the pixel value that the second image display area moves described in cumulative record.
2. the image of removing float shows a control, it is characterized in that, this control comprises:
Information acquisition unit, for obtaining the indication range information of image demonstration control, described image shows that control adopts the movement of integer coordinate control image;
The first image display area, it shows control indication range Information generation according to described image, shows therein for the image that electronic equipment need to be shown; Described the first image display area adopts the movement of floating-point coordinate control image;
Described image shows that control also comprises second image display area corresponding with the indication range information of described image demonstration control, and described the first image display area is positioned at described the second image display area; In described the second image display area, the viewing area beyond described the first image display area is set to transparent;
The back gauge of described the first image display area and described the second image display area is more than or equal to 0.5 pixel;
Described image shows that control also comprises bulk registration module, for the pixel value that described in cumulative record, the second image display area moves.
CN201110390441.3A 2011-11-30 2011-11-30 Method for removing frame jitter and image display control Active CN102496353B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110390441.3A CN102496353B (en) 2011-11-30 2011-11-30 Method for removing frame jitter and image display control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110390441.3A CN102496353B (en) 2011-11-30 2011-11-30 Method for removing frame jitter and image display control

Publications (2)

Publication Number Publication Date
CN102496353A CN102496353A (en) 2012-06-13
CN102496353B true CN102496353B (en) 2014-04-30

Family

ID=46188170

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110390441.3A Active CN102496353B (en) 2011-11-30 2011-11-30 Method for removing frame jitter and image display control

Country Status (1)

Country Link
CN (1) CN102496353B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420606A (en) * 2007-10-23 2009-04-29 青岛海信电器股份有限公司 Image processing method and apparatus
CN101426091A (en) * 2007-11-02 2009-05-06 韩国科亚电子股份有限公司 Apparatus for digital image stabilization using object tracking and method thereof
CN201853471U (en) * 2010-07-12 2011-06-01 北京景山创新通信技术有限公司 Dynamic LCD (Liquid Crystal Display) refreshing frequency switching device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006140971A (en) * 2004-11-15 2006-06-01 Canon Inc Image processing apparatus and image processing method
JP2009296561A (en) * 2008-05-02 2009-12-17 Olympus Imaging Corp Imaging apparatus and imaging method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420606A (en) * 2007-10-23 2009-04-29 青岛海信电器股份有限公司 Image processing method and apparatus
CN101426091A (en) * 2007-11-02 2009-05-06 韩国科亚电子股份有限公司 Apparatus for digital image stabilization using object tracking and method thereof
CN201853471U (en) * 2010-07-12 2011-06-01 北京景山创新通信技术有限公司 Dynamic LCD (Liquid Crystal Display) refreshing frequency switching device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JP特开2009-296561A 2009.12.17

Also Published As

Publication number Publication date
CN102496353A (en) 2012-06-13

Similar Documents

Publication Publication Date Title
CN100481132C (en) Compose rate reduction for displays
JP5175065B2 (en) 3D graphics rendering method and apparatus for efficiently providing motion blur effect
CN103021007B (en) A kind of method that animation is play and device
CN108133454B (en) Space geometric model image switching method, device and system and interaction equipment
CN107728986B (en) Display method and display device of double display screens
US20140149943A1 (en) Method and apparatus for generating dynamic wallpaper
US20180144446A1 (en) Image processing apparatus and method
CN106373537B (en) A kind of method and device weakening display picture smear
CN103731759A (en) Watermark adding method and device
CN104142807A (en) Android-control-based method and system for drawing image through OpenGL
CN105867755A (en) Method for improving fluency of picture and terminal device
CN102307308B (en) Method and equipment for generating three-dimensional image on touch screen
CN113196138A (en) Image size triggered clarification for preserving image sharpness
JP3819873B2 (en) 3D image display apparatus and program
CN102496353B (en) Method for removing frame jitter and image display control
TWI698834B (en) Methods and devices for graphics processing
CN107644451A (en) Animated show method and apparatus
CN109426332B (en) Information processing method and device and virtual reality equipment
CN102186097A (en) Three-dimensional (3D) image display method, device and equipment
CN103685864A (en) Image signal acquiring method and image signal acquiring device
CN114138141A (en) Display method and device and electronic equipment
CN110662099B (en) Method and device for displaying bullet screen
RU2523980C2 (en) Method and system for displaying set of multimedia objects on 3d display
US9972115B2 (en) Timeline tool for producing computer-generated animations
KR101846279B1 (en) Display Apparatus For Displaying Three Dimensional Picture And Driving Method For The Same

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 518057 Guangdong city of Shenzhen province Nanshan District Gao Xin Road, room 9 building on the north side of block A901 No. 006 TCL Industry Research Institute building A A Building 8 floor

Applicant after: Shenzhen Wondershare Information Technology Co., Ltd.

Address before: 518057 Guangdong city of Shenzhen province Nanshan District Gao Xin Road Building A block 8 Building TCL

Applicant before: Shenzhen Wondershare Software Co., Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: SHENZHEN WONDERSHARE SOFTWARE CO., LTD. TO: SHENZHEN WONDERSHARE INFORMATION TECHNOLOGY CO., LTD.

C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 850000 Tibet autonomous region, Lhasa City, New District, west of the East Ring Road, 1-4 road to the north, south of 1-3 Road, Liu Dong building, east of the 8 unit 6, floor 2, No.

Patentee after: Wanxing Polytron Technologies Inc

Address before: 518057 Guangdong city of Shenzhen province Nanshan District Gao Xin Road, room 9 building on the north side of block A901 No. 006 TCL Industry Research Institute building A A Building 8 floor

Patentee before: Shenzhen Wondershare Information Technology Co., Ltd.