WO2014023249A1 - 一种图像处理方法及装置 - Google Patents
一种图像处理方法及装置 Download PDFInfo
- Publication number
- WO2014023249A1 WO2014023249A1 PCT/CN2013/081092 CN2013081092W WO2014023249A1 WO 2014023249 A1 WO2014023249 A1 WO 2014023249A1 CN 2013081092 W CN2013081092 W CN 2013081092W WO 2014023249 A1 WO2014023249 A1 WO 2014023249A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- special effect
- effect type
- click
- output
- image
- 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.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—Two-dimensional [2D] image generation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04883—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
Definitions
- the present invention relates to the field of computer and image processing technologies, and in particular, to an image processing method and apparatus. Background technique
- mouse animation effect refers to changing the original graphics mode of the mouse, replacing it with a new picture or animation to achieve a new dynamic visual aesthetic.
- the mouse pointer changes, the animation or picture moves and deforms according to the position of the mouse, the animation follows the mouse movement, and the like.
- both of these methods are complicated to implement and cannot be applied to mobile terminals.
- Embodiments of the present invention provide an image processing method and apparatus for improving display performance on a touch screen.
- An image processing method includes the following steps: obtaining a trigger event of a gesture instruction; determining a position of the gesture instruction on the screen according to the obtained trigger event; and determining, according to the preset effect type, by image processing of the background image The effect corresponding to the effect type is output at the position.
- the embodiment realizes the corresponding special effect for the gesture instruction on the touch screen, thereby improving the display effect on the touch screen.
- the step of outputting the special effect corresponding to the special effect type at the determined position comprises: obtaining a special effect picture corresponding to the special effect type; and superimposing the obtained special effect picture on the determined position with the background image, And output.
- various special effect pictures can be superimposed on the background image by means of image superposition, and various special effects can be realized, especially special effects of spark patterns.
- the step of outputting the special effect corresponding to the effect type at the determined position comprises: calling an algorithm corresponding to the effect type; performing image processing on the displayed background image by using the called algorithm, and outputting Processed image.
- various special effects can be realized by processing the background image, especially the special effects on the background image itself, such as water ripple effects.
- the effect type includes a special effect mode
- different gesture instructions correspond to different special effect modes. This can not only achieve multiple types of special effects, but also can be different for different gestures under one type of special effects. Special effects, make the effects more abundant, and further improve the display effect.
- the gesture instruction comprises a single point short time single click, a single point short time multiple click, a single point long time single click, a single point slide, a multi point short time single click, a multi point short time multiple click, Multiple long-time single clicks and multiple clicks.
- the embodiment provides a plurality of gesture instructions such that the effect output can be implemented for various gesture instructions.
- the gesture command is a single-point long-time single click, a single-point slide, a multi-point long-time single click, or a multi-point slide
- the image processing of the background image is performed at the determined position.
- the step of outputting the special effect corresponding to the effect type includes: according to the preset effect type, performing frame-by-frame image processing on the background image, and outputting the special effect corresponding to the effect type at the determined position.
- the effect output can be implemented along with the entire gesture instruction process.
- An apparatus for image processing comprising:
- a triggering module configured to obtain a trigger event of a gesture instruction
- a parsing module configured to determine, according to the obtained trigger event, a position of the gesture instruction on the screen
- the output processing module is configured to output an effect corresponding to the effect type at the determined position by image processing of the background image according to the preset effect type.
- the output processing module obtains the special effect picture corresponding to the effect type; superimposes the obtained special effect picture on the determined position with the background picture, and outputs the image.
- the output processing module calls an algorithm corresponding to the effect type; performs image processing on the displayed background image by the invoked algorithm, and outputs the processed image.
- Special effects types include special effects modes, and different gesture commands correspond to different special effects modes.
- Gesture commands include single-point short-time single-click, single-point short-time multiple-click, single-point long-time single-click, single-point slide, multi-point short-time single-click, multi-point short-time multiple-click, multi-point long Time single click, multi-point sliding.
- the output processing module When the gesture command is a single-point long-time single-click, single-slide, multi-point long-time single-click or multi-slide, the output processing module performs frame-by-frame image processing on the background image according to the preset effect type. The effect corresponding to the effect type is output at the determined position.
- FIG. 1 is a flowchart of a main method of image processing in an embodiment of the present invention.
- FIG. 2 is a flowchart of a method for performing image processing by a picture superposition method according to an embodiment of the present invention
- FIG. 3 is a flowchart of a method for performing image processing by modifying a displayed background image according to an embodiment of the present invention
- FIG. 4 is a structural diagram of an apparatus according to an embodiment of the present invention.
- FIG. 5 is a structural diagram of a mobile phone according to an embodiment of the present invention. detailed description
- the embodiment realizes outputting a corresponding special effect for the gesture instruction on the touch screen, thereby improving the display effect on the touch screen.
- the main method of image processing in this embodiment is as follows:
- Step 101 Obtain a trigger event of the gesture instruction.
- Step 102 Determine the position of the gesture instruction on the screen according to the obtained trigger event.
- Step 103 Output an effect corresponding to the effect type at the determined position by image processing of the background image according to the preset effect type.
- the background picture in this embodiment refers to a picture output on the screen before the gesture instruction is obtained.
- step 103 There are multiple specific implementations in step 103, such as mode one: obtaining a special effect picture corresponding to the effect type; superimposing the obtained special effect picture on the determined position with the background picture, and outputting.
- method 2 calling an algorithm corresponding to the effect type; performing image processing on the displayed background image by using the called algorithm, and outputting the processed image.
- the second method is to modify the displayed pixels when the background image is displayed, without modifying the stored background image.
- the special effect type includes a special effect mode
- different gesture instructions correspond to different special effect modes. That is to say, not only can there be a variety of special effects types, such as spark type effects, water pattern type effects, different effect modes for different gesture commands, water color type effects as an example, click gesture instructions correspond to ⁇ Special effects, swipe gestures correspond to wave effects.
- the gesture command includes a single point short time single click, a single point short time multiple click, a single point long time single click, a single point slide, a multi-point short time single click, a multi-point short time multiple click , multiple long clicks or Multi-slide, etc.
- the gesture command is a single-point long-time single-click, single-slide, multi-point long-time single-click or multi-slide, according to the preset effect type, through the image processing of the background image, the output is determined at the determined position.
- the step of the special effect corresponding to the effect type includes: according to the preset effect type, performing frame-by-frame image processing on the background image, and outputting the special effect corresponding to the effect type at the determined position.
- the method for performing image processing by image overlay in this embodiment is as follows:
- Step 201 Obtain a trigger event of the gesture instruction through the touch screen.
- Step 202 Determine the position of the gesture instruction on the screen according to the obtained trigger event.
- Step 203 Determine a corresponding effect type and an effect mode under the effect type according to the gesture instruction.
- This step and step 202 are two independent operations, and the execution order may be interchanged or may be performed simultaneously.
- Step 204 Determine a corresponding special effect picture according to the determined effect type and the special effect mode.
- Step 205 Superimpose the obtained special effect picture on the determined position with the background picture, and output.
- Step 301 Obtain a trigger event of a gesture instruction through the touch screen.
- Step 302 Determine the position of the gesture instruction on the screen according to the obtained trigger event.
- Step 303 Determine a corresponding effect type and an effect mode under the effect type according to the gesture instruction.
- This step and step 302 are two independent operations, and the execution order may be interchanged or may be performed simultaneously.
- Step 304 Call the corresponding algorithm according to the determined effect type and special effect mode.
- Step 305 Perform image processing on the displayed background image by using the called algorithm, and output the processed image.
- the method flow of image processing to achieve special effects is understood by the above description, and the process can be implemented by a device. The internal structure and function of the device will be described below.
- the apparatus for image processing in this embodiment includes: a trigger module 401, a parsing module 402, and an output processing module 403.
- the trigger module 401 is configured to obtain a trigger event of the gesture instruction.
- the parsing module 402 is configured to determine the position of the gesture instruction on the screen according to the obtained trigger event.
- the output processing module 403 is configured to output an effect corresponding to the effect type at the determined position by image processing of the background image according to the preset effect type. Specifically, the output processing module 403 obtains the special effect picture corresponding to the special effect type; and superimposes the obtained special effect picture on the determined position with the background picture, and outputs the image. Alternatively, the output processing module 403 calls an algorithm corresponding to the effect type; performs image processing on the displayed background image by using the invoked algorithm, and Output the processed image.
- the effect type includes a special effect mode
- different gesture instructions correspond to different special effect modes.
- the gesture command includes a single point short time single click, a single point short time multiple click, a single point long time single click, a single point slide, a multi-point short time single click, a multi-point short time multiple times Click, multi-point long-time single click or multi-slide.
- the output processing module 403 performs frame-by-frame on the background image according to the preset effect type. The image processing outputs an effect corresponding to the effect type at the determined position.
- the device is a mobile phone
- the mobile phone comprises a touch screen, a processor and a memory, as shown in FIG. 5.
- the touch screen is used for receiving gesture commands, and transmitting information such as gesture commands to the processor, and outputting a background image with special effects processed by the processor.
- the processor is configured to obtain a trigger event of the gesture instruction through the touch screen, determine a position of the gesture instruction on the screen according to the obtained trigger event, and obtain, by the image processing of the background image, the determined position according to the preset special effect type A background image of the effect corresponding to the effect type, and indicating the background image after the touch screen output processing.
- the memory is used to store background images, and can also store special effects images and special effects algorithms.
- This embodiment by processing the background image, corresponding effects are output for the gesture command on the touch screen, thereby improving the display effect on the touch screen.
- This embodiment also provides various image processing methods, such as image overlay and display processing, which can implement various special effects processing, and is applicable to different scenes, which helps to realize personalized selection of users and further improve display effects.
- This embodiment can be applied to a device with a touch screen such as a mobile phone or a tablet computer.
- embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can be embodied in the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) in which computer usable program code is embodied.
- the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
- the apparatus implements the functions specified in one or more flows of the flowchart or a block or blocks of the I or block diagram.
- These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
- the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
- Processing Or Creating Images (AREA)
- Telephone Function (AREA)
Description
一种图像处理方法及装置 技术领域
本发明涉及计算机及图像处理技术领域, 尤其涉及一种图像处理方法及装置。 背景技术
随着通信技术的发展, 移动终端已成为主要的通信方式之一。 尤其是近几年, 智能终 端、 无键盘终端已得到广泛的应用。 在其基础上的增值业务也越来越丰富。 鼠标特效属于 增值业务的一种。
所谓鼠标动画特效是指改变鼠标原有的图形模式, 以一种新的图片或者动画来代替, 以达到一种新的动态的视觉美感。 比如鼠标指针变换, 动画或图片根据鼠标的位置移动变 形, 动画跟随鼠标移动等等。 但是这两种方式都实现复杂, 且无法应用在移动终端上。
特别是针对带触摸屏的移动终端, 目前尚无伴随手势操作的特效。 发明内容
本发明实施例提供一种图像处理方法及装置, 用于提高在触摸屏上的显示效果。 一种图像处理方法,包括以下步骤:获得手势指令的触发事件;根据获得的触发事件, 确定手势指令在屏幕上的位置; 根据预设的特效类型, 通过对背景图片的图像处理, 在确 定的位置上输出与特效类型对应的特效。本实施例实现了针对触摸屏上的手势指令输出相 应的特效, 从而提高了在触摸屏上的显示效果。
优选的, 根据预设的特效类型, 在确定的位置上输出与特效类型对应的特效的步骤包 括:获得与特效类型对应的特效图片;将获得的特效图片在确定的位置上与背景图片叠加, 并输出。本实施例通过图片叠加方式可在背景图片上叠加各种特效图片,可实现多种特效, 尤其是火花样式的特效等。
或者优选的, 根据预设的特效类型, 在确定的位置上输出与特效类型对应的特效的步 骤包括: 调用与特效类型对应的算法; 通过调用的算法对显示的背景图片进行图像处理, 并输出处理后的图片。 本实施例通过对背景图片的处理, 也可实现各种特效, 尤其是在背 景图片本身上的特效, 如水波纹特效等。
优选的, 特效类型包括特效模式, 不同的手势指令对应不同的特效模式。 这样不仅可 以实现多种类型的特效, 而且在一种类型的特效下, 针对不同的手势指令也可以有不同的
特效, 使得特效效果更丰富, 进一步提高显示效果。
优选的, 手势指令包括单点短时间单次点击、 单点短时间多次点击、 单点长时间单次 点击、 单点滑动、 多点短时间单次点击、 多点短时间多次点击、 多点长时间单次点击、 多 点滑动。 本实施例提供多种手势指令, 使得针对各种手势指令都可实现特效输出。
优选的, 手势指令为单点长时间单次点击、 单点滑动、 多点长时间单次点击或多点滑 动时, 根据预设的特效类型, 通过对背景图片的图像处理, 在确定的位置上输出与特效类 型对应的特效的步骤包括: 根据预设的特效类型, 通过对背景图片进行逐帧的图像处理, 在确定的位置上输出与特效类型对应的特效。本实施例针对长时间的手势指令, 可以伴随 整个手势指令过程实现特效输出。
一种用于图像处理的装置, 包括:
触发模块, 用于获得手势指令的触发事件;
解析模块, 用于根据获得的触发事件, 确定手势指令在屏幕上的位置;
输出处理模块, 用于根据预设的特效类型, 通过对背景图片的图像处理, 在确定的位 置上输出与特效类型对应的特效。
输出处理模块获得与特效类型对应的特效图片;将获得的特效图片在确定的位置上与 背景图片叠加, 并输出。
输出处理模块调用与特效类型对应的算法;通过调用的算法对显示的背景图片进行图 像处理, 并输出处理后的图片。
特效类型包括特效模式, 不同的手势指令对应不同的特效模式。
手势指令包括单点短时间单次点击、 单点短时间多次点击、 单点长时间单次点击、 单 点滑动、 多点短时间单次点击、 多点短时间多次点击、 多点长时间单次点击、 多点滑动。
手势指令为单点长时间单次点击、 单点滑动、 多点长时间单次点击或多点滑动时, 输 出处理模块根据预设的特效类型, 通过对背景图片进行逐帧的图像处理, 在确定的位置上 输出与特效类型对应的特效。
本发明的其它特征和优点将在随后的说明书中阐述, 并且, 部分地从说明书中变得显 而易见, 或者通过实施本发明而了解。 本发明的目的和其他优点可通过在所写的说明书、 权利要求书、 以及附图中所特别指出的结构来实现和获得。
下面通过附图和实施例, 对本发明的技术方案做进一步的详细描述。 附图说明
附图用来提供对本发明的进一步理解, 并且构成说明书的一部分, 与本发明的实施例 一起用于解释本发明, 并不构成对本发明的限制。 在附图中:
图 1为本发明实施例中图像处理的主要方法流程图;
图 2为本发明实施例中通过图片叠加方式进行图像处理的方法流程图;
图 3为本发明实施例中通过修改显示的背景图片的方式进行图像处理的方法流程图; 图 4为本发明实施例中装置的结构图;
图 5为本发明实施例中手机的结构图。 具体实施方式
以下结合附图对本发明的优选实施例进行说明, 应当理解, 此处所描述的优选实施例 仅用于说明和解释本发明, 并不用于限定本发明。
本实施例实现了针对触摸屏上的手势指令输出相应的特效,从而提高了在触摸屏上的 显示效果。
参见图 1, 本实施例中图像处理的主要方法流程如下:
步骤 101 : 获得手势指令的触发事件。
步骤 102: 根据获得的触发事件, 确定手势指令在屏幕上的位置。
步骤 103 : 根据预设的特效类型, 通过对背景图片的图像处理, 在确定的位置上输出 与特效类型对应的特效。
本实施例中的背景图片是指获得手势指令前屏幕上输出的图片。
在步骤 103中有多种具体实现方式, 如方式一: 获得与特效类型对应的特效图片; 将 获得的特效图片在确定的位置上与背景图片叠加, 并输出。 如方式二: 调用与特效类型对 应的算法;通过调用的算法对显示的背景图片进行图像处理,并输出处理后的图片。其中, 方式二是在背景图片显示时修改其显示的像素, 而不修改存储的背景图片。还可以有其它 处理背景图片以实现特效的方法, 均适用于本实施例, 此处不一一列举。
本实施例中特效类型包括特效模式, 不同的手势指令对应不同的特效模式。 也就是说 不仅可以有多种特效类型, 如火花类型的特效、 水纹类型的特效, 针对不同的手势指令还 可以有不同的特效模式, 以水纹类型特效为例, 点击的手势指令对应涟漪式的特效, 滑动 手势指令对应波浪式的特效。
本实施例中手势指令包括单点短时间单次点击、 单点短时间多次点击、 单点长时间单 次点击、 单点滑动、 多点短时间单次点击、 多点短时间多次点击、 多点长时间单次点击或
多点滑动等。 手势指令为单点长时间单次点击、 单点滑动、 多点长时间单次点击或多点滑 动时, 根据预设的特效类型, 通过对背景图片的图像处理, 在确定的位置上输出与特效类 型对应的特效的步骤包括: 根据预设的特效类型, 通过对背景图片进行逐帧的图像处理, 在确定的位置上输出与特效类型对应的特效。
下面通过两个典型实施例来详细介绍实现过程。
参见图 2, 本实施例中通过图片叠加方式进行图像处理的方法流程如下:
步骤 201 : 通过触摸屏获得手势指令的触发事件。
步骤 202: 根据获得的触发事件, 确定手势指令在屏幕上的位置。
步骤 203 : 依据手势指令确定相应的特效类型和该特效类型下的特效模式。 此步骤与 步骤 202是两个独立操作, 执行顺序可以互换, 也可以同步进行。
步骤 204: 依据确定的特效类型和特效模式确定相应的特效图片。
步骤 205 : 将获得的特效图片在确定的位置上与背景图片叠加, 并输出。
随着手势指令的持续或移动, 逐帧处理背景图片并输出, 以获得连续的特效输出。 参见图 3,本实施例中通过修改显示的背景图片的方式进行图像处理的方法流程如下: 步骤 301 : 通过触摸屏获得手势指令的触发事件。
步骤 302: 根据获得的触发事件, 确定手势指令在屏幕上的位置。
步骤 303 : 依据手势指令确定相应的特效类型和该特效类型下的特效模式。 此步骤与 步骤 302是两个独立操作, 执行顺序可以互换, 也可以同步进行。
步骤 304: 依据确定的特效类型和特效模式调用相应的算法。
步骤 305 : 通过调用的算法对显示的背景图片进行图像处理, 并输出处理后的图片。 通过以上描述了解了图像处理以实现特效的方法流程, 该过程可由装置实现, 下面对 该装置的内部结构和功能进行介绍。
参见图 4, 本实施例中用于图像处理的装置包括: 触发模块 401、 解析模块 402和输 出处理模块 403。
触发模块 401用于获得手势指令的触发事件。
解析模块 402用于根据获得的触发事件, 确定手势指令在屏幕上的位置。
输出处理模块 403用于根据预设的特效类型, 通过对背景图片的图像处理, 在确定的 位置上输出与特效类型对应的特效。具体的, 输出处理模块 403获得与特效类型对应的特 效图片; 将获得的特效图片在确定的位置上与背景图片叠加, 并输出。 或者, 输出处理模 块 403调用与特效类型对应的算法; 通过调用的算法对显示的背景图片进行图像处理, 并
输出处理后的图片。
优选的, 特效类型包括特效模式, 不同的手势指令对应不同的特效模式。
本实施例中, 手势指令包括单点短时间单次点击、 单点短时间多次点击、 单点长时间 单次点击、 单点滑动、 多点短时间单次点击、 多点短时间多次点击、 多点长时间单次点击 或多点滑动等。 较佳的, 手势指令为单点长时间单次点击、 单点滑动、 多点长时间单次点 击或多点滑动时, 输出处理模块 403根据预设的特效类型, 通过对背景图片进行逐帧的图 像处理, 在确定的位置上输出与特效类型对应的特效。
优选的, 所述装置为手机, 该手机包括触摸屏、 处理器和存储器, 参见图 5所示。 触摸屏用于接收手势指令, 并将手势指令等信息传输给处理器, 以及输出处理器处理 后的带有特效的背景图片。
处理器用于通过触摸屏获得手势指令的触发事件, 根据获得的触发事件, 确定手势指 令在屏幕上的位置, 根据预设的特效类型, 通过对背景图片的图像处理, 获得在确定的位 置上带有与特效类型对应的特效的背景图片, 并指示触摸屏输出处理后的背景图片。
存储器用于存储背景图片, 还可以存储特效图片和特效算法等。
本实施例通过对背景图片的处理, 实现了针对触摸屏上的手势指令输出相应的特效, 从而提高了在触摸屏上的显示效果。本实施例还提供了多种图像处理方式, 如图片叠加和 显示处理, 可实现多种特效处理, 适用于不同的场景, 有助于实现用户个性化选择, 进一 步提高显示效果。 本实施例可应用在手机、 平板电脑等带有触摸屏的设备。
本领域内的技术人员应明白, 本发明的实施例可提供为方法、 系统、 或计算机程序产 品。 因此, 本发明可采用完全硬件实施例、 完全软件实施例、 或结合软件和硬件方面的实 施例的形式。而且, 本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机 可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形 式。
本发明是参照根据本发明实施例的方法、 设备 (系统) 、 和计算机程序产品的流程图 和 I或方框图来描述的。应理解可由计算机程序指令实现流程图和 I或方框图中的每一流 程和 /或方框、 以及流程图和 /或方框图中的流程和 /或方框的结合。 可提供这些计算机 程序指令到通用计算机、 专用计算机、 嵌入式处理机或其他可编程数据处理设备的处理器 以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用 于实现在流程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功能的 装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方 式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装 置的制造品,该指令装置实现在流程图一个流程或多个流程和 I或方框图一个方框或多个 方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机 或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他 可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和 /或方框图一个 方框或多个方框中指定的功能的步骤。
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和 范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在内。
Claims
1、 一种图像处理方法, 其特征在于, 包括以下步骤:
获得手势指令的触发事件;
根据获得的触发事件, 确定手势指令在屏幕上的位置;
根据预设的特效类型,通过对背景图片的图像处理,在确定的位置上输出与特效类型 对应的特效。
2、 如权利要求 1所述的方法, 其特征在于, 根据预设的特效类型, 在确定的位置上 输出与特效类型对应的特效的步骤包括:
获得与特效类型对应的特效图片;
将获得的特效图片在确定的位置上与背景图片叠加, 并输出。
3、 如权利要求 1所述的方法, 其特征在于, 根据预设的特效类型, 在确定的位置上 输出与特效类型对应的特效的步骤包括:
调用与特效类型对应的算法;
通过调用的算法对显示的背景图片进行图像处理, 并输出处理后的图片。
4、 如权利要求 1所述的方法, 其特征在于, 特效类型包括特效模式, 不同的手势指 令对应不同的特效模式。
5、 如权利要求 1所述的方法, 其特征在于, 手势指令包括单点短时间单次点击、 单 点短时间多次点击、 单点长时间单次点击、 单点滑动、 多点短时间单次点击、 多点短时间 多次点击、 多点长时间单次点击、 多点滑动。
6、 如权利要求 5所述的方法, 其特征在于, 手势指令为单点长时间单次点击、 单点 滑动、多点长时间单次点击或多点滑动时, 根据预设的特效类型, 通过对背景图片的图像 处理, 在确定的位置上输出与特效类型对应的特效的步骤包括:
根据预设的特效类型,通过对背景图片进行逐帧的图像处理,在确定的位置上输出与 特效类型对应的特效。
7、 一种用于图像处理的装置, 其特征在于, 包括:
触发模块, 用于获得手势指令的触发事件;
解析模块, 用于根据获得的触发事件, 确定手势指令在屏幕上的位置;
输出处理模块, 用于根据预设的特效类型, 通过对背景图片的图像处理, 在确定的位 置上输出与特效类型对应的特效。
8、 如权利要求 7所述的装置, 其特征在于, 输出处理模块获得与特效类型对应的特
效图片; 将获得的特效图片在确定的位置上与背景图片叠加, 并输出。
9、 如权利要求 7所述的装置, 其特征在于, 输出处理模块调用与特效类型对应的算 法; 通过调用的算法对显示的背景图片进行图像处理, 并输出处理后的图片。
10、 如权利要求 7所述的装置, 其特征在于, 特效类型包括特效模式, 不同的手势指 令对应不同的特效模式。
11、 如权利要求 7所述的装置, 其特征在于, 手势指令包括单点短时间单次点击、 单 点短时间多次点击、 单点长时间单次点击、 单点滑动、 多点短时间单次点击、 多点短时间 多次点击、 多点长时间单次点击、 多点滑动。
12、 如权利要求 11所述的装置, 其特征在于, 手势指令为单点长时间单次点击、 单 点滑动、多点长时间单次点击或多点滑动时, 输出处理模块根据预设的特效类型, 通过对 背景图片进行逐帧的图像处理, 在确定的位置上输出与特效类型对应的特效。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210282470.2A CN102855648B (zh) | 2012-08-09 | 2012-08-09 | 一种图像处理方法及装置 |
| CN201210282470.2 | 2012-08-09 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2014023249A1 true WO2014023249A1 (zh) | 2014-02-13 |
Family
ID=47402209
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2013/081092 Ceased WO2014023249A1 (zh) | 2012-08-09 | 2013-08-08 | 一种图像处理方法及装置 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN102855648B (zh) |
| WO (1) | WO2014023249A1 (zh) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20150141868A (ko) * | 2014-05-15 | 2015-12-21 | 시아오미 아이엔씨. | 배경 표시 방법, 장치, 전자 기기, 프로그램 및 기록매체 |
| JP2016525739A (ja) * | 2014-05-15 | 2016-08-25 | シャオミ・インコーポレイテッド | 背景表示方法、装置、電子機器、プログラム、及び記録媒体 |
Families Citing this family (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102855648B (zh) * | 2012-08-09 | 2016-06-08 | 小米科技有限责任公司 | 一种图像处理方法及装置 |
| WO2016107356A1 (zh) * | 2014-12-31 | 2016-07-07 | 北京奇虎科技有限公司 | 一种基于静态图片的动态交互方法和装置 |
| CN105578056A (zh) * | 2016-01-27 | 2016-05-11 | 努比亚技术有限公司 | 拍摄的终端及方法 |
| CN105843512A (zh) * | 2016-04-14 | 2016-08-10 | 深圳天珑无线科技有限公司 | 一种手机壁纸模糊度的处理方法及系统 |
| CN105979035B (zh) * | 2016-06-28 | 2019-08-27 | Oppo广东移动通信有限公司 | 一种增强现实ar图像处理方法、装置及智能终端 |
| CN106804007A (zh) * | 2017-03-20 | 2017-06-06 | 合网络技术(北京)有限公司 | 一种网络直播中自动匹配特效的方法、系统及设备 |
| CN109509162B (zh) * | 2017-09-14 | 2023-05-30 | 阿里巴巴集团控股有限公司 | 图像采集方法、终端、存储介质及处理器 |
| CN111327919A (zh) * | 2020-03-23 | 2020-06-23 | 广州华多网络科技有限公司 | 虚拟礼物反馈处理的方法、装置、系统、设备及存储介质 |
| CN114416260B (zh) * | 2022-01-20 | 2024-06-04 | 北京字跳网络技术有限公司 | 图像处理方法、装置、电子设备及存储介质 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101494713A (zh) * | 2008-01-25 | 2009-07-29 | 夏普株式会社 | 显示输入装置 |
| US20090315842A1 (en) * | 2008-06-19 | 2009-12-24 | Hsin-Yuan Peng | Method and Related Interface for Controlling an Electronic Device with a Touch Panel |
| CN101866639A (zh) * | 2009-04-20 | 2010-10-20 | 龙旗科技(上海)有限公司 | 用于手持终端设备的多层人机界面系统 |
| CN102855648A (zh) * | 2012-08-09 | 2013-01-02 | 北京小米科技有限责任公司 | 一种图像处理方法及装置 |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101655989A (zh) * | 2008-08-20 | 2010-02-24 | 深圳市金立通信设备有限公司 | 一种手机3d特效图形用户界面系统及方法 |
| CN101814006A (zh) * | 2010-04-28 | 2010-08-25 | 中兴通讯股份有限公司 | 一种实现水波纹特效的方法和装置 |
| CN102147926A (zh) * | 2011-01-17 | 2011-08-10 | 中兴通讯股份有限公司 | 3d图标的处理方法、装置及移动终端 |
-
2012
- 2012-08-09 CN CN201210282470.2A patent/CN102855648B/zh active Active
-
2013
- 2013-08-08 WO PCT/CN2013/081092 patent/WO2014023249A1/zh not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101494713A (zh) * | 2008-01-25 | 2009-07-29 | 夏普株式会社 | 显示输入装置 |
| US20090315842A1 (en) * | 2008-06-19 | 2009-12-24 | Hsin-Yuan Peng | Method and Related Interface for Controlling an Electronic Device with a Touch Panel |
| CN101866639A (zh) * | 2009-04-20 | 2010-10-20 | 龙旗科技(上海)有限公司 | 用于手持终端设备的多层人机界面系统 |
| CN102855648A (zh) * | 2012-08-09 | 2013-01-02 | 北京小米科技有限责任公司 | 一种图像处理方法及装置 |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20150141868A (ko) * | 2014-05-15 | 2015-12-21 | 시아오미 아이엔씨. | 배경 표시 방법, 장치, 전자 기기, 프로그램 및 기록매체 |
| JP2016525739A (ja) * | 2014-05-15 | 2016-08-25 | シャオミ・インコーポレイテッド | 背景表示方法、装置、電子機器、プログラム、及び記録媒体 |
| KR101696808B1 (ko) * | 2014-05-15 | 2017-01-16 | 시아오미 아이엔씨. | 배경 표시 방법, 장치, 전자 기기, 프로그램 및 기록매체 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN102855648B (zh) | 2016-06-08 |
| CN102855648A (zh) | 2013-01-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2014023249A1 (zh) | 一种图像处理方法及装置 | |
| US9240070B2 (en) | Methods and systems for viewing dynamic high-resolution 3D imagery over a network | |
| US11847552B2 (en) | Pipeline with processor including neural network for rendering artificial reality | |
| EP4057120A1 (en) | Application icon display method and electronic device | |
| US20140047392A1 (en) | Method and apparatus for controlling a display | |
| CN102800045A (zh) | 一种图像处理的方法及装置 | |
| CN103064691B (zh) | 制作电子设备桌面图标的方法和装置 | |
| CN106354455B (zh) | 人机界面显示处理装置及其方法 | |
| US20150135124A1 (en) | Multi-zone interface switching method and device | |
| CN112965773B (zh) | 用于信息显示的方法、装置、设备和存储介质 | |
| CN109656639B (zh) | 一种界面滚动方法、装置、设备及介质 | |
| JP2024529263A (ja) | エクステンデッドリアリティインターフェースのためのリモートランドマークレンダリング | |
| WO2018002881A1 (en) | Method and apparatus for automated placement of a seam in a panoramic image derived from multiple cameras | |
| CN116051387A (zh) | 动态图像模糊方法、终端设备及计算机可读存储介质 | |
| CN112965780A (zh) | 图像显示方法、装置、设备及介质 | |
| US10242479B2 (en) | Information processing device and information processing method | |
| JP2023537721A (ja) | 顔画像表示方法、装置、電子機器及び記憶媒体 | |
| WO2023125316A1 (zh) | 视频处理方法、装置、电子设备及介质 | |
| CN116095249A (zh) | 视频处理方法及电子设备 | |
| CN106131628B (zh) | 一种视频图像处理方法及装置 | |
| CN118444816B (zh) | 页面处理方法、电子设备、存储介质及程序产品 | |
| CN104133553A (zh) | 网页内容展示方法及装置 | |
| CN103914223A (zh) | 终端应用界面的生成方法及装置 | |
| CN119364202A (zh) | 拍摄方法及电子设备 | |
| CN112445318A (zh) | 一种对象显示方法、装置、电子设备及存储介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 13828009 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 13828009 Country of ref document: EP Kind code of ref document: A1 |