WO2021004171A1 - 水波纹图像实现方法及装置 - Google Patents

水波纹图像实现方法及装置 Download PDF

Info

Publication number
WO2021004171A1
WO2021004171A1 PCT/CN2020/091822 CN2020091822W WO2021004171A1 WO 2021004171 A1 WO2021004171 A1 WO 2021004171A1 CN 2020091822 W CN2020091822 W CN 2020091822W WO 2021004171 A1 WO2021004171 A1 WO 2021004171A1
Authority
WO
WIPO (PCT)
Prior art keywords
current pixel
pixel
next moment
image
pixel value
Prior art date
Application number
PCT/CN2020/091822
Other languages
English (en)
French (fr)
Inventor
周景锦
Original Assignee
北京字节跳动网络技术有限公司
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 北京字节跳动网络技术有限公司 filed Critical 北京字节跳动网络技术有限公司
Publication of WO2021004171A1 publication Critical patent/WO2021004171A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units

Definitions

  • the present disclosure relates to the technical field of image processing, and in particular, to a method, device and computer-readable storage medium for realizing a water ripple image.
  • the realization of water ripple image is one of the most common operations in image processing, which is to separate a certain part of a picture or image from the original picture or image into a separate layer. Mainly to prepare for the later synthesis.
  • the water ripple image is usually realized through pre-rendering, that is, the image is rendered with the help of software for a long-term fine, and then the previously rendered data is directly used for drawing during playback, so that the rendering speed can be guaranteed. Get very good rendering quality.
  • the method has the following defects: it cannot realize the water ripple effect in real time in a relatively interactive environment.
  • the technical problem solved by the present disclosure is to provide a water ripple image realization method to at least partially solve the technical problem that the water ripple effect cannot be realized in real time in a relatively interactive environment in the prior art.
  • a water ripple image realization device a water ripple image realization hardware device, a computer-readable storage medium and a water ripple image realization terminal are also provided.
  • a water ripple image realization method including:
  • the water ripple image is displayed according to the pixel value of each pixel in the original image at the next moment.
  • a water ripple image realization device including:
  • Image acquisition module for acquiring original images
  • the parameter determination module is used to determine the parameters used to control the water ripple
  • a pixel value determining module configured to determine the pixel value of the current pixel in the original image at the next moment according to the parameter; wherein the current pixel is the pixel in the original image currently traversed;
  • the water ripple image display module is configured to display the water ripple image according to the pixel value of each pixel in the original image at the next time when the time reaches the next time.
  • An electronic device including:
  • Memory for storing non-transitory computer readable instructions
  • the processor is configured to run the computer-readable instructions, so that the water ripple image implementation method described in any one of the above is implemented when the processor is executed.
  • a computer-readable storage medium for storing non-transitory computer-readable instructions.
  • the computer can execute the water ripple image implementation described in any one of the above method.
  • a water ripple image realization terminal includes any of the above water ripple image realization devices.
  • the embodiments of the present disclosure determine the pixel value of the current pixel in the original image at the next moment according to the parameters used to control the water ripple.
  • the time reaches the next moment according to each pixel in the original image
  • the pixel value of the next moment of the point displays the water ripple image, which can realize the water ripple image in real time in a relatively interactive environment.
  • FIG. 1 is a schematic flowchart of a method for realizing a water ripple image according to an embodiment of the present disclosure
  • FIG. 2 is a schematic structural diagram of a water ripple image realization device according to an embodiment of the present disclosure
  • Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
  • the water ripple image realization method mainly includes the following steps S11 to S14.
  • Step S11 Obtain the original image.
  • the original image may be a video image input in real time, for example, a live video in a short video application.
  • the video image can be obtained through the camera of the terminal device.
  • the terminal device may be a mobile terminal, such as a smart phone, a tablet computer, or a fixed terminal, such as a desktop computer.
  • Step S12 Determine parameters for controlling water ripples.
  • the parameter may be at least one of vibration intensity, diffusion speed and period.
  • the vibration intensity is used to characterize the amplitude of the water ripple
  • the diffusion speed is used to characterize the speed of the water ripple spreading around, for example, 1 meter per second, etc.
  • the period is used to characterize the water ripple period, for example, a water ripple is generated every 2 seconds.
  • the above-mentioned parameters can be customized by the user or configured in advance.
  • Step S13 Determine the pixel value of the current pixel in the original image at the next moment according to the parameter; wherein the current pixel is the pixel in the original image currently traversed.
  • each pixel point of the original image is traversed, and the pixel point currently traversed is regarded as the current pixel point.
  • the pixel value of each pixel is re-assigned. For example, a new pixel value can be assigned to each pixel, or a mapping change (for example, a horizontal transformation) can be performed on each pixel of the original image to obtain a new pixel value corresponding to each pixel.
  • Step S14 When the time reaches the next moment, display the water ripple image according to the pixel value of each pixel in the original image at the next moment.
  • the pixel value of the current pixel in the original image at the next moment is determined according to the parameters used to control the water ripple.
  • the time reaches the next moment according to each pixel in the original image
  • the pixel value at the next moment displays the water ripple image, which can realize the water ripple image in real time in a relatively interactive environment.
  • step S13 specifically includes:
  • Step S131 Calculate the distance between the current pixel point in the original image and the center point of the water ripple set on the screen of the terminal device.
  • the center point of the water ripple is set on the screen of the terminal device in advance, and the center point can be anywhere on the screen of the terminal device.
  • the coordinates of the current pixel point is (Cx, Cy)
  • the coordinates of the center point are (x, y).
  • the distance between the current pixel point and the center point can be calculated as
  • Step S132 Determine the pixel value of the current pixel point at the next moment according to the vibration intensity, the diffusion speed, the period parameter and the distance.
  • step S132 specifically includes:
  • Step S1321 Determine the ripple amplitude of the current pixel according to the vibration intensity, the diffusion speed, the period parameter, and the distance.
  • Step S1322 Determine a sampling point corresponding to the current pixel at the next moment according to the ripple amplitude and the original position of the current pixel; wherein, the sampling point is a pixel on the original image.
  • the pixel values of the pixels in the original image are rearranged.
  • the current pixel is (x, y)
  • its corresponding sampling point is (x new , y new )
  • (x new , y new ) is also a pixel on the original image.
  • Step S1323 Determine the pixel value of the current pixel point at the next moment according to the sampling point.
  • step S1323 specifically includes:
  • the pixel value of the sampling point is used as the pixel value of the current pixel point at the next moment.
  • step S1321 specifically includes:
  • step S1322 specifically includes:
  • the device embodiments of the present disclosure can be used to perform the steps implemented by the method embodiments of the present disclosure.
  • an embodiment of the present disclosure provides a water ripple image realization device.
  • the device can execute the steps in the embodiment of the water ripple image realization method described in the first embodiment.
  • the device mainly includes: an image acquisition module 21, a parameter determination module 22, a pixel value determination module 23, and a water ripple image display module 24; among them,
  • the image acquisition module 21 is used to acquire the original image
  • the parameter determination module 22 is used to determine parameters for controlling water ripples
  • the pixel value determination module 23 is configured to determine the pixel value of the current pixel in the original image at the next moment according to the parameter; wherein the current pixel is the pixel in the original image currently traversed;
  • the water ripple image display module 24 is configured to display the water ripple image according to the pixel value of each pixel in the original image at the next time when the time reaches the next time.
  • the parameters are vibration intensity, diffusion speed and period
  • the pixel value determination module 23 includes: a distance calculation unit 231 and a pixel value determination unit 232; wherein,
  • the distance calculation unit 231 is configured to calculate the distance between the current pixel point in the original image and the center point of the water ripple set on the screen of the terminal device;
  • the pixel value determining unit 232 is configured to determine the pixel value of the current pixel point at the next moment according to the vibration intensity, the diffusion speed, the period parameter, and the distance.
  • the pixel value determining unit 232 is specifically configured to: determine the ripple amplitude of the current pixel according to the vibration intensity, the diffusion speed, the period parameter, and the distance; The original position of the current pixel determines the sampling point corresponding to the current pixel at the next moment; wherein, the sampling point is a pixel on the original image; and the next sampling point is determined according to the sampling point. The pixel value at the moment.
  • the sampling points of; where (x,y) is the original position, (dir x ,dir y ) normalize((C x ,C y )-(x,y)), normalize() is the normalization function , (C x , Cy ) are the coordinates of the reference point, (x, y) are the coordinates of the current pixel point, and (x new , y new ) are the coordinates of the sampling point.
  • the pixel value determining unit 232 is specifically configured to: use the pixel value of the sampling point as the pixel value of the current pixel point at the next moment.
  • the terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), vehicle-mounted terminals (e.g. Mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers, etc.
  • the electronic device shown in FIG. 3 is only an example, and should not bring any limitation to the function and scope of use of the embodiments of the present disclosure.
  • the electronic device 300 may include a processing device (such as a central processing unit, a graphics processor, etc.) 301, which may be loaded into a random access device according to a program stored in a read-only memory (ROM) 302 or from a storage device 306.
  • the program in the memory (RAM) 303 executes various appropriate actions and processing.
  • various programs and data required for the operation of the electronic device 300 are also stored.
  • the processing device 301, ROM 302, and RAM 303 are connected to each other through a bus 304.
  • An input/output (I/O) interface 305 is also connected to the bus 304.
  • the following devices can be connected to the I/O interface 305: including input devices 306 such as touch screens, touch pads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; including, for example, liquid crystal displays (LCD), speakers, vibration An output device 307 such as a device; a storage device 306 such as a magnetic tape and a hard disk; and a communication device 309.
  • the communication device 309 may allow the electronic device 300 to perform wireless or wired communication with other devices to exchange data.
  • FIG. 3 shows an electronic device 300 having various devices, it should be understood that it is not required to implement or have all the illustrated devices. It may alternatively be implemented or provided with more or fewer devices.
  • an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer readable medium, and the computer program contains program code for executing the method shown in the flowchart.
  • the computer program may be downloaded and installed from the network through the communication device 309, or installed from the storage device 306, or installed from the ROM 302.
  • the processing device 301 When the computer program is executed by the processing device 301, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
  • the above-mentioned computer-readable medium in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the two.
  • the computer-readable storage medium may be, for example, but not limited to, an electric, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in a baseband or as a part of a carrier wave, and a computer-readable program code is carried therein. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium.
  • the computer-readable signal medium may send, propagate, or transmit the program for use by or in combination with the instruction execution system, apparatus, or device .
  • the program code contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to: wire, optical cable, RF (Radio Frequency), etc., or any suitable combination of the above.
  • the client and server can communicate with any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol), and can communicate with digital data in any form or medium.
  • Communication e.g., communication network
  • Examples of communication networks include local area networks (“LAN”), wide area networks (“WAN”), the Internet (e.g., the Internet), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any currently known or future research and development network of.
  • LAN local area networks
  • WAN wide area networks
  • the Internet e.g., the Internet
  • end-to-end networks e.g., ad hoc end-to-end networks
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or it may exist alone without being assembled into the electronic device.
  • the above-mentioned computer-readable medium carries one or more programs.
  • the electronic device acquires the original image; determines the parameters for controlling the water ripple; determines according to the parameters The pixel value of the current pixel in the original image at the next moment; wherein the current pixel is the pixel in the original image currently traversed; when the time reaches the next moment, according to the original The pixel value of each pixel in the image at the next moment shows a water ripple image.
  • the computer program code used to perform the operations of the present disclosure can be written in one or more programming languages or a combination thereof.
  • the above-mentioned programming languages include but are not limited to object-oriented programming languages such as Java, Smalltalk, C++, and Including conventional procedural programming languages-such as "C" language or similar programming languages.
  • the program code can be executed entirely on the user's computer, partly on the user's computer, executed as an independent software package, partly on the user's computer and partly executed on a remote computer, or entirely executed on the remote computer or server.
  • the remote computer can be connected to the user’s computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, using an Internet service provider to pass Internet connection).
  • LAN local area network
  • WAN wide area network
  • each block in the flowchart or block diagram can represent a module, program segment, or part of code, and the module, program segment, or part of code contains one or more for realizing the specified logical function Executable instructions.
  • the functions marked in the block may also occur in a different order from the order marked in the drawings. For example, two blocks shown in succession can actually be executed substantially in parallel, or they can sometimes be executed in the reverse order, depending on the functions involved.
  • each block in the block diagram and/or flowchart, and the combination of the blocks in the block diagram and/or flowchart can be implemented by a dedicated hardware-based system that performs the specified functions or operations Or it can be realized by a combination of dedicated hardware and computer instructions.
  • the units involved in the embodiments described in the present disclosure may be implemented in a software manner, or may be implemented in a hardware manner.
  • the name of the unit does not constitute a limitation on the unit itself under certain circumstances.
  • the first obtaining unit can also be described as "a unit for obtaining at least two Internet Protocol addresses.”
  • exemplary types of hardware logic components include: Field Programmable Gate Array (FPGA), Application Specific Integrated Circuit (ASIC), Application Specific Standard Product (ASSP), System on Chip (SOC), Complex Programmable Logical device (CPLD) and so on.
  • FPGA Field Programmable Gate Array
  • ASIC Application Specific Integrated Circuit
  • ASSP Application Specific Standard Product
  • SOC System on Chip
  • CPLD Complex Programmable Logical device
  • a machine-readable medium may be a tangible medium, which may contain or store a program for use by or in combination with the instruction execution system, apparatus, or device.
  • the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • the machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing.
  • machine-readable storage media would include electrical connections based on one or more wires, portable computer disks, hard drives, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • RAM random access memory
  • ROM read-only memory
  • EPROM or flash memory erasable programmable read-only memory
  • CD-ROM portable compact disk read only memory
  • magnetic storage device or any suitable combination of the above.
  • a water ripple image realization method including:
  • the water ripple image is displayed according to the pixel value of each pixel in the original image at the next moment.
  • the parameters are vibration intensity, diffusion speed and period
  • the determining the pixel value of the current pixel in the original image at the next moment according to the parameter includes:
  • the pixel value of the current pixel point at the next moment is determined according to the vibration intensity, the diffusion speed, the period parameter, and the distance.
  • the determining the pixel value of the current pixel point at the next moment according to the vibration intensity, the diffusion speed, the period parameter, and the distance includes:
  • the pixel value of the current pixel point at the next moment is determined according to the sampling point.
  • the determining the ripple amplitude of the current pixel point according to the vibration intensity, the diffusion speed, the period parameter, and the distance includes:
  • the determining the sampling point corresponding to the current pixel point at the next moment according to the ripple amplitude and the original position of the current pixel point includes:
  • the determining the pixel value of the current pixel point at the next moment according to the sampling point includes:
  • the pixel value of the sampling point is used as the pixel value of the current pixel point at the next moment.
  • a water ripple image realization device including:
  • Image acquisition module for acquiring original images
  • the parameter determination module is used to determine the parameters used to control the water ripple
  • a pixel value determining module configured to determine the pixel value of the current pixel in the original image at the next moment according to the parameter; wherein the current pixel is the pixel in the original image currently traversed;
  • the water ripple image display module is configured to display the water ripple image according to the pixel value of each pixel in the original image at the next time when the time reaches the next time.
  • the parameters are vibration intensity, diffusion speed and period
  • the pixel value determination module includes:
  • the distance calculation unit is used to calculate the distance between the current pixel in the original image and the center point of the water ripple set on the screen of the terminal device;
  • the pixel value determining unit is configured to determine the pixel value of the current pixel point at the next moment according to the vibration intensity, the diffusion speed, the period parameter, and the distance.
  • the pixel value determining unit is specifically configured to: determine the ripple amplitude of the current pixel according to the vibration intensity, the diffusion speed, the period parameter, and the distance; according to the ripple amplitude and the The original position of the current pixel determines the sampling point corresponding to the next moment of the current pixel; wherein the sampling point is a pixel on the original image; the next moment of the current pixel is determined according to the sampling point The pixel value.
  • the pixel value determining unit is specifically configured to: use the pixel value of the sampling point as the pixel value of the current pixel point at the next moment.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Image Processing (AREA)

Abstract

一种水波纹图像实现方法、装置、电子设备和计算机可读存储介质。其中方法包括:获取原始图像(S11);确定用于控制水波纹的参数(S12);根据所述参数确定所述原始图像中当前像素点下一时刻的像素值;其中,所述当前像素点为当前遍历到的所述原始图像中的像素点(S13);当时间到达所述下一时刻时,根据所述原始图像中各像素点的所述下一时刻的像素值显示水波纹效果图像(S14)。上述方法在原始图像的基础上,通过根据用于控制水波纹的参数确定原始图像中当前像素点下一时刻的像素值,当时间到达所述下一时刻时,根据原始图像中各像素点的所述下一时刻的像素值显示水波纹图像,可以在交互性比较强的环境中实时实现水波纹图像。

Description

水波纹图像实现方法及装置
相关申请的交叉引用
本申请要求于2019年07月11日提交的,申请号为201910626485.8、发明名称为“水波纹图像实现方法及装置”的中国专利申请的优先权,该申请的全文通过引用结合在本申请中。
技术领域
本公开涉及图像处理技术领域,特别是涉及一种水波纹图像实现方法、装置和计算机可读存储介质。
背景技术
水波纹图像实现是图像处理中最常做的操作之一,是把图片或影像的某一部分从原始图片或影像中分离出来成为单独的图层。主要是为了后期的合成做准备。
在现有技术中,通常通过预渲染实现水波纹图像,即以借助软件对图像进行精细的长期的渲染,然后在播放的时候直接利用这些以前渲染的数据来绘制,从而可以在保证渲染的速度的时候获得很好的渲染质量。
该方法存在以下缺陷:在交互性比较强的环境中无法实时实现水波纹效果。
发明内容
提供该发明内容部分以便以简要的形式介绍构思,这些构思将在后面的具体实施方式部分被详细描述。该发明内容部分并不旨在标识要求保护的技术方案的关键特征或必要特征,也不旨在用于限制所要求的保护的技术方案的范围。
本公开解决的技术问题是提供一种水波纹图像实现方法,以至少部分地解决现有技术中在交互性比较强的环境中无法实时实现水波纹效果的技术问题。此外,还提供一种水波纹图像实现装置、水波纹图像实现硬件装置、计算机可读存储介质和水波纹图像实现终端。
为了实现上述目的,根据本公开的一个方面,提供以下技术方案:
一种水波纹图像实现方法,包括:
获取原始图像;
确定用于控制水波纹的参数;
根据所述参数确定所述原始图像中当前像素点下一时刻的像素值;其中,所述当前像素点为当前遍历到的所述原始图像中的像素点;
当时间到达所述下一时刻时,根据所述原始图像中各像素点的所述下一时刻的像素值显示水波纹图像。
为了实现上述目的,根据本公开的一个方面,提供以下技术方案:
一种水波纹图像实现装置,包括:
图像获取模块,用于获取原始图像;
参数确定模块,用于确定用于控制水波纹的参数;
像素值确定模块,用于根据所述参数确定所述原始图像中当前像素点下一时刻的像素值;其中,所述当前像素点为当前遍历到的所述原始图像中的像素点;
水波纹图像显示模块,用于当时间到达所述下一时刻时,根据所述原始图像中各像素点的所述下一时刻的像素值显示水波纹图像。
为了实现上述目的,根据本公开的一个方面,提供以下技术方案:
一种电子设备,包括:
存储器,用于存储非暂时性计算机可读指令;以及
处理器,用于运行所述计算机可读指令,使得所述处理器执行时实现上述任一项所述的水波纹图像实现方法。
为了实现上述目的,根据本公开的一个方面,提供以下技术方案:
一种计算机可读存储介质,用于存储非暂时性计算机可读指令,当所述非暂时性计算机可读指令由计算机执行时,使得所述计算机执行上述任一项所述的水波纹图像实现方法。
为了实现上述目的,根据本公开的又一个方面,还提供以下技术方案:
一种水波纹图像实现终端,包括上述任一水波纹图像实现装置。
本公开实施例在原始图像的基础上,通过根据用于控制水波纹的参数确定原始图像中当前像素点下一时刻的像素值,当时间到达所述下一时刻时,根据原始图像中各像素点的所述下一时刻的像素值显示水波纹图像,可以在交互性比较强的环境中实时实现水波纹图像。
上述说明仅是本公开技术方案的概述,为了能更清楚了解本公开的技术手段,而可依照说明书的内容予以实施,并且为让本公开的上述和其他目的、特征和优点能够更明显易懂,以下特举较佳实施例,并配合附图,详细说明如下。
附图说明
结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。
图1为根据本公开一个实施例的水波纹图像实现方法的流程示意图;
图2为根据本公开一个实施例的水波纹图像实现装置的结构示意图;
图3为根据本公开一个实施例的电子设备的结构示意图。
具体实施方式
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。
应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。
实施例一
为了解决现有技术中在交互性比较强的环境中无法实时实现水波纹效果的技术问题,本公开实施例提供一种水波纹图像实现方法。如图1a所示,该水波纹图像实现方法主要包括如下步骤S11至步骤S14。
步骤S11:获取原始图像。
其中,原始图像可以为实时输入的视频图像,例如,短视频应用中的直播视频。
具体的,可以通过终端设备的摄像头获取视频图像。其中,终端设备可以为移动终端,例如智能手机、平板电脑,也可以为固定终端,例如台式电脑。
步骤S12:确定用于控制水波纹的参数。
其中,所述参数可以为震动强度、扩散速度和周期中的至少一种。
其中,震动强度用于表征水波纹幅度;扩散速度用于表征水波纹向四周扩散的速度,例如,每秒1米等;周期用于表征水波纹周期,例如每2秒产生一个水波纹。
具体的,上述参数可以由用户自定义设置,也可以预先配置。
步骤S13:根据所述参数确定所述原始图像中当前像素点下一时刻的像素值;其中,所述当前像素点为当前遍历到的所述原始图像中的像素点。
具体的,遍历原始图像的每个像素点,将当前遍历到的像素点作为当前像素点。根据预设规则,给遍历到的每个像素点的像素值进行重新赋值。例如,可以给每个像素点赋予新的像素值,或者,对原始图像的每个像素点做一个映射变化(例如,水平变换),得到各像素点对应的新的像素值。
步骤S14:当时间到达所述下一时刻时,根据所述原始图像中各像素点的所述下一时刻的像素值显示水波纹图像。
本实施例在原始图像的基础上,通过根据用于控制水波纹的参数确定原始图像中当前像素点下一时刻的像素值,当时间到达所述下一时刻时,根据原始图像中各像素点的所述下一时刻的像素值显示水波纹图像,可以在交互性比较强的环境中实时实现水波纹图像。
在一个可选的实施例中,所述参数为震动强度、扩散速度和周期;相应的,步骤S13具体包括:
步骤S131:计算所述原始图像中的当前像素点与设置在终端设备屏幕上的水波纹的中心点的距离。
具体的,预先在终端设备屏幕上设置水波纹的中心点,该中心点可以在终端设备屏幕的任意位置。首先确定当前像素点与中心点的坐标,例如当前像素点的坐标为(Cx,Cy),中心点的坐标为(x,y),可以计算出当前像素点与中心点的距离为
Figure PCTCN2020091822-appb-000001
步骤S132:根据所述震动强度、所述扩散速度、所述周期参数和所述距离确定所述当前像素点下一时刻的像素值。
在一个可选的实施例中,步骤S132具体包括:
步骤S1321:根据所述震动强度、所述扩散速度、所述周期参数和所述距离确定所述当前像素点的波纹幅度。
步骤S1322:根据所述波纹幅度和所述当前像素点的原始位置确定所述当前像素点下一时刻对应的采样点;其中,所述采样点为所述原始图像上的像素点。
具体的,对原始图像中的像素点的像素值进行重新排布。例如,当前像素点为(x,y),其对应的采样点为(x new,y new),并且(x new,y new)也为原始图像上的像素点。
步骤S1323:根据所述采样点确定所述当前像素点下一时刻的像素值。
在一个可选的实施例中,步骤S1323具体包括:
将所述采样点的像素值作为所述当前像素点下一时刻的像素值。
在一个可选的实施例中,步骤S1321具体包括:
采用公式intensity=strenth*sinc(speed*(smoothstep(0,1,age)-distance))计算得到所述当前像素点的波纹幅度;其中,strenth为所述震动强度,speed为所述扩散速度,age为所述周期,distance为所述距离,sinc()为采样函数,smoothstep()为平滑函数,intensity为所述波纹幅度。
在一个可选的实施例中,步骤S1322具体包括:
采用公式(x new,y new)=(x,y)+intensity*(dir x,dir y)计算得到所述当前像素点下一时刻对应的采样点;其中,(x,y)为所述原始位置,(dir x,dir y)=normalize((C x,C y)-(x,y)),normalize()为归一化函数,(C x,C y)为所述参照点的坐标,(x,y)为所述当前像素点的坐标,(x new,y new)为所述采样点的坐标。
本领域技术人员应能理解,在上述各个实施例的基础上,还可以进行明显 变型(例如,对所列举的模式进行组合)或等同替换。
在上文中,虽然按照上述的顺序描述了水波纹图像实现方法实施例中的各个步骤,本领域技术人员应清楚,本公开实施例中的步骤并不必然按照上述顺序执行,其也可以倒序、并行、交叉等其他顺序执行,而且,在上述步骤的基础上,本领域技术人员也可以再加入其他步骤,这些明显变型或等同替换的方式也应包含在本公开的保护范围之内,在此不再赘述。
下面为本公开装置实施例,本公开装置实施例可用于执行本公开方法实施例实现的步骤,为了便于说明,仅示出了与本公开实施例相关的部分,具体技术细节未揭示的,请参照本公开方法实施例。
实施例二
为了解决现有技术中在交互性比较强的环境中无法实时实现水波纹效果的技术问题,本公开实施例提供一种水波纹图像实现装置。该装置可以执行上述实施例一所述的水波纹图像实现方法实施例中的步骤。如图2所示,该装置主要包括:图像获取模块21、参数确定模块22、像素值确定模块23和水波纹图像显示模块24;其中,
图像获取模块21用于获取原始图像;
参数确定模块22用于确定用于控制水波纹的参数;
像素值确定模块23用于根据所述参数确定所述原始图像中当前像素点下一时刻的像素值;其中,所述当前像素点为当前遍历到的所述原始图像中的像素点;
水波纹图像显示模块24用于当时间到达所述下一时刻时,根据所述原始图像中各像素点的所述下一时刻的像素值显示水波纹图像。
进一步的,所述参数为震动强度、扩散速度和周期;
相应的,所述像素值确定模块23包括:距离计算单元231和像素值确定单元232;其中,
距离计算单元231用于计算所述原始图像中的当前像素点与设置在终端设备屏幕上的水波纹的中心点的距离;
像素值确定单元232用于根据所述震动强度、所述扩散速度、所述周期参数和所述距离确定所述当前像素点下一时刻的像素值。
进一步的,所述像素值确定单元232具体用于:根据所述震动强度、所述扩散速度、所述周期参数和所述距离确定所述当前像素点的波纹幅度;根据所述波纹幅度和所述当前像素点的原始位置确定所述当前像素点下一时刻对应的采样点;其中,所述采样点为所述原始图像上的像素点;根据所述采样点确定所述当前像素点下一时刻的像素值。
进一步的,所述像素值确定单元232具体用于:采用公式intensity=strenth*sinc(speed*(smoothstep(0,1,age)-distance))计算得到所述当前像素点的波纹幅度;其中,strenth为所述震动强度,speed为所述扩散速度,age为所述周期,distance为所述距离,sinc()为采样函数,smoothstep()为平滑函数,intensity为所述波纹幅度。
进一步的,所述像素值确定单元232具体用于:采用公式(x new,y new)=(x,y)+intensity*(dir x,dir y)计算得到所述当前像素点下一时刻对应的采样点;其中,(x,y)为所述原始位置,(dir x,dir y)=normalize((C x,C y)-(x,y)),normalize()为归一化函数,(C x,C y)为所述参照点的坐标,(x,y)为所述当前像素点的坐标,(x new,y new)为所述采样点的坐标。
进一步的,所述像素值确定单元232具体用于:将所述采样点的像素值作为所述当前像素点下一时刻的像素值。
有关水波纹图像实现装置实施例的工作原理、实现的技术效果等详细说明可以参考前述水波纹图像实现方法实施例中的相关说明,在此不再赘述。
实施例三
下面参考图3,其示出了适于用来实现本公开实施例的电子设备300的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图3示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图3所示,电子设备300可以包括处理装置(例如中央处理器、图形处理器等)301,其可以根据存储在只读存储器(ROM)302中的程序或者从存储装置306加载到随机访问存储器(RAM)303中的程序而执行各种适当的动作和处理。在RAM 303中,还存储有电子设备300操作所需的各种程序和数据。处理装置301、ROM 302以及RAM 303通过总线304彼此相连。输入/输出(I/O)接口305也连接至总线304。
通常,以下装置可以连接至I/O接口305:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置306;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置307;包括例如磁带、硬盘等的存储装置306;以及通信装置309。通信装置309可以允许电子设备300与其他设备进行无线或有线通信以交换数据。虽然图3示出了具有各种装置的电子设备300,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置309从网络上被下载和安装,或者从存储装置306被安装,或者从ROM 302 被安装。在该计算机程序被处理装置301执行时,执行本公开实施例的方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在, 而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:获取原始图像;确定用于控制水波纹的参数;根据所述参数确定所述原始图像中当前像素点下一时刻的像素值;其中,所述当前像素点为当前遍历到的所述原始图像中的像素点;当时间到达所述下一时刻时,根据所述原始图像中各像素点的所述下一时刻的像素值显示水波纹图像。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定,例如,第一获取单元还可以被描述为“获取至少两个网际协议地址的单元”。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
根据本公开的一个或多个实施例,提供了一种水波纹图像实现方法,包括:
获取原始图像;
确定用于控制水波纹的参数;
根据所述参数确定所述原始图像中当前像素点下一时刻的像素值;其中,所述当前像素点为当前遍历到的所述原始图像中的像素点;
当时间到达所述下一时刻时,根据所述原始图像中各像素点的所述下一时刻的像素值显示水波纹图像。
进一步的,所述参数为震动强度、扩散速度和周期;
相应的,所述根据所述参数确定所述原始图像中当前像素点下一时刻的像素值,包括:
计算所述原始图像中的当前像素点与设置在终端设备屏幕上的水波纹的中心点的距离;
根据所述震动强度、所述扩散速度、所述周期参数和所述距离确定所述当前像素点下一时刻的像素值。
进一步的,所述根据所述震动强度、所述扩散速度、所述周期参数和所述距离确定所述当前像素点下一时刻的像素值,包括:
根据所述震动强度、所述扩散速度、所述周期参数和所述距离确定所述当前像素点的波纹幅度;
根据所述波纹幅度和所述当前像素点的原始位置确定所述当前像素点下一时刻对应的采样点;其中,所述采样点为所述原始图像上的像素点;
根据所述采样点确定所述当前像素点下一时刻的像素值。
进一步的,所述根据所述震动强度、所述扩散速度、所述周期参数和所述距离确定所述当前像素点的波纹幅度,包括:
采用公式intensity=strenth*sinc(speed*(smoothstep(0,1,age)-distance))计算得到所述当前像素点的波纹幅度;其中,strenth为所述震动强度,speed为所述扩散速度,age为所述周期,distance为所述距离,sinc()为采样函数,smoothstep()为平滑函数,intensity为所述波纹幅度。
进一步的,所述根据所述波纹幅度和所述当前像素点的原始位置确定所述当前像素点下一时刻对应的采样点,包括:
采用公式(x new,y new)=(x,y)+intensity*(dir x,dir y)计算得到所述当前像素点下一时刻对应的采样点;其中,(x,y)为所述原始位置,(dir x,dir y)= normalize((C x,C y)-(x,y)),normalize()为归一化函数,(C x,C y)为所述参照点的坐标,(x,y)为所述当前像素点的坐标,(x new,y new)为所述采样点的坐标。
进一步的,所述根据所述采样点确定所述当前像素点下一时刻的像素值,包括:
将所述采样点的像素值作为所述当前像素点下一时刻的像素值。
根据本公开的一个或多个实施例,提供了水波纹图像实现装置,包括:
图像获取模块,用于获取原始图像;
参数确定模块,用于确定用于控制水波纹的参数;
像素值确定模块,用于根据所述参数确定所述原始图像中当前像素点下一时刻的像素值;其中,所述当前像素点为当前遍历到的所述原始图像中的像素点;
水波纹图像显示模块,用于当时间到达所述下一时刻时,根据所述原始图像中各像素点的所述下一时刻的像素值显示水波纹图像。
进一步的,所述参数为震动强度、扩散速度和周期;
相应的,所述像素值确定模块包括:
距离计算单元,用于计算所述原始图像中的当前像素点与设置在终端设备屏幕上的水波纹的中心点的距离;
像素值确定单元,用于根据所述震动强度、所述扩散速度、所述周期参数和所述距离确定所述当前像素点下一时刻的像素值。
进一步的,所述像素值确定单元具体用于:根据所述震动强度、所述扩散速度、所述周期参数和所述距离确定所述当前像素点的波纹幅度;根据所述波纹幅度和所述当前像素点的原始位置确定所述当前像素点下一时刻对应的采样点;其中,所述采样点为所述原始图像上的像素点;根据所述采样点确定所述当前像素点下一时刻的像素值。
进一步的,所述像素值确定单元具体用于:采用公式intensity=strenth*sinc(speed*(smoothstep(0,1,age)-distance))计算得到所述当前像素点的波纹幅度;其中,strenth为所述震动强度,speed为所述扩散速度,age为所述周期,distance为所述距离,sinc()为采样函数,smoothstep()为平滑函数,intensity为所述波纹幅度。
进一步的,所述像素值确定单元具体用于:采用公式(x new,y new)=(x,y)+intensity*(dir x,dir y)计算得到所述当前像素点下一时刻对应的采样点;其中,(x,y)为所述原始位置,(dir x,dir y)=normalize((C x,C y)-(x,y)),normalize()为归一化函数,(C x,C y)为所述参照点的坐标,(x,y)为所述当前像素点的坐标,(x new,y new)为所述采样点的坐标。
进一步的,所述像素值确定单元具体用于:将所述采样点的像素值作为所述当前像素点下一时刻的像素值。
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。

Claims (9)

  1. 一种水波纹图像实现方法,其特征在于,包括:
    获取原始图像;
    确定用于控制水波纹的参数;
    根据所述参数确定所述原始图像中当前像素点下一时刻的像素值;其中,所述当前像素点为当前遍历到的所述原始图像中的像素点;
    当时间到达所述下一时刻时,根据所述原始图像中各像素点的所述下一时刻的像素值显示水波纹图像。
  2. 根据权利要求1所述的方法,其特征在于,所述参数为震动强度、扩散速度和周期;
    相应的,所述根据所述参数确定所述原始图像中当前像素点下一时刻的像素值,包括:
    计算所述原始图像中的当前像素点与设置在终端设备屏幕上的水波纹的中心点的距离;
    根据所述震动强度、所述扩散速度、所述周期参数和所述距离确定所述当前像素点下一时刻的像素值。
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述震动强度、所述扩散速度、所述周期参数和所述距离确定所述当前像素点下一时刻的像素值,包括:
    根据所述震动强度、所述扩散速度、所述周期参数和所述距离确定所述当前像素点的波纹幅度;
    根据所述波纹幅度和所述当前像素点的原始位置确定所述当前像素点下一时刻对应的采样点;其中,所述采样点为所述原始图像上的像素点;
    根据所述采样点确定所述当前像素点下一时刻的像素值。
  4. 根据权利要求3所述的方法,其特征在于,所述根据所述震动强度、所述扩散速度、所述周期参数和所述距离确定所述当前像素点的波纹幅度,包括:
    采用公式intensity=strenth*sinc(speed*(smoothstep(0,1,age)-distance))计算得到所述当前像素点的波纹幅度;其中,strenth为所述震动强度,speed为所述扩散速度,age为所述周期,distance为所述距离,sinc()为采样函数,smoothstep()为平滑函数,intensity为所述波纹幅度。
  5. 根据权利要求3所述的方法,其特征在于,所述根据所述波纹幅度和所述当前像素点的原始位置确定所述当前像素点下一时刻对应的采样点,包括:
    采用公式(x new,y new)=(x,y)+intensity*(dir x,dir y)计算得到所述当前像素点下一时刻对应的采样点;其中,(x,y)为所述原始位置,(dir x,dir y)=normalize((C x,C y)-(x,y)),normalize()为归一化函数,(C x,C y)为所述参照点的坐标,(x,y)为所述当前像素点的坐标,(x new,y new)为所述采样点的坐标。
  6. 根据权利要求3所述的方法,其特征在于,所述根据所述采样点确定所述当前像素点下一时刻的像素值,包括:
    将所述采样点的像素值作为所述当前像素点下一时刻的像素值。
  7. 一种水波纹图像实现装置,其特征在于,包括:
    图像获取模块,用于获取原始图像;
    参数确定模块,用于确定用于控制水波纹的参数;
    像素值确定模块,用于根据所述参数确定所述原始图像中当前像素点下一时刻的像素值;其中,所述当前像素点为当前遍历到的所述原始图像中的像素点;
    水波纹图像显示模块,用于当时间到达所述下一时刻时,根据所述原始图像中各像素点的所述下一时刻的像素值显示水波纹图像。
  8. 一种电子设备,包括:
    存储器,用于存储非暂时性计算机可读指令;以及
    处理器,用于运行所述计算机可读指令,使得所述处理器执行时实现根据权利要求1-6任一项所述的水波纹图像实现方法。
  9. 一种计算机可读存储介质,用于存储非暂时性计算机可读指令,当所述非暂时性计算机可读指令由计算机执行时,使得所述计算机执行权利要求1-6任一项所述的水波纹图像实现方法。
PCT/CN2020/091822 2019-07-11 2020-05-22 水波纹图像实现方法及装置 WO2021004171A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910626485.8A CN112214187B (zh) 2019-07-11 2019-07-11 水波纹图像实现方法及装置
CN201910626485.8 2019-07-11

Publications (1)

Publication Number Publication Date
WO2021004171A1 true WO2021004171A1 (zh) 2021-01-14

Family

ID=74047725

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/091822 WO2021004171A1 (zh) 2019-07-11 2020-05-22 水波纹图像实现方法及装置

Country Status (2)

Country Link
CN (1) CN112214187B (zh)
WO (1) WO2021004171A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101814006A (zh) * 2010-04-28 2010-08-25 中兴通讯股份有限公司 一种实现水波纹特效的方法和装置
CN102592296A (zh) * 2011-12-29 2012-07-18 深圳市万兴软件有限公司 一种实现水波纹荡漾特效的方法和装置
US20150229693A1 (en) * 2014-02-11 2015-08-13 International Business Machines Corporation Implementing reduced video stream bandwidth requirements when remotely rendering complex computer graphics scene
CN105046726A (zh) * 2015-06-12 2015-11-11 广东小天才科技有限公司 实现终端中水波纹模拟的方法和装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1750047A (zh) * 2005-10-20 2006-03-22 浙江大学 一种卡通流水动画自动生成方法
CN102592297B (zh) * 2011-12-27 2015-01-07 Tcl集团股份有限公司 一种基于3d网格的实时水波纹理处理方法
CN109598777B (zh) * 2018-12-07 2022-12-23 腾讯科技(深圳)有限公司 图像渲染方法、装置、设备及存储介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101814006A (zh) * 2010-04-28 2010-08-25 中兴通讯股份有限公司 一种实现水波纹特效的方法和装置
CN102592296A (zh) * 2011-12-29 2012-07-18 深圳市万兴软件有限公司 一种实现水波纹荡漾特效的方法和装置
US20150229693A1 (en) * 2014-02-11 2015-08-13 International Business Machines Corporation Implementing reduced video stream bandwidth requirements when remotely rendering complex computer graphics scene
CN105046726A (zh) * 2015-06-12 2015-11-11 广东小天才科技有限公司 实现终端中水波纹模拟的方法和装置

Also Published As

Publication number Publication date
CN112214187A (zh) 2021-01-12
CN112214187B (zh) 2022-04-05

Similar Documents

Publication Publication Date Title
WO2021139408A1 (zh) 显示特效的方法、装置、存储介质及电子设备
WO2021135626A1 (zh) 菜单项选择方法、装置、可读介质及电子设备
WO2021027631A1 (zh) 图像特效处理方法、装置、电子设备和计算机可读存储介质
JP7199527B2 (ja) 画像処理方法、装置、ハードウェア装置
US11849211B2 (en) Video processing method, terminal device and storage medium
WO2021139382A1 (zh) 人脸图像的处理方法、装置、可读介质和电子设备
WO2021139372A1 (zh) 图像的处理方法、装置、可读介质和电子设备
WO2022105779A1 (zh) 图像处理方法、模型训练方法、装置、介质及设备
WO2022022689A1 (zh) 交互方法、装置和电子设备
CN111459364B (zh) 图标更新方法、装置和电子设备
WO2021197024A1 (zh) 视频特效配置文件生成方法、视频渲染方法及装置
US20220159197A1 (en) Image special effect processing method and apparatus, and electronic device and computer readable storage medium
WO2021135864A1 (zh) 图像处理方法及装置
WO2021031847A1 (zh) 图像处理方法、装置、电子设备和计算机可读存储介质
JP2023515607A (ja) 画像特殊効果の処理方法及び装置
WO2022247630A1 (zh) 图像处理方法、装置、电子设备及存储介质
WO2020233143A1 (zh) 播放进度显示方法、装置、电子设备和存储介质
CN111352560B (zh) 分屏方法、装置、电子设备和计算机可读存储介质
WO2021227953A1 (zh) 图像特效配置方法、图像识别方法、装置及电子设备
US20220272283A1 (en) Image special effect processing method, apparatus, and electronic device, and computer-readable storage medium
WO2023197860A1 (zh) 高光渲染方法、装置、介质及电子设备
WO2023193613A1 (zh) 高光渲染方法、装置、介质及电子设备
WO2021004171A1 (zh) 水波纹图像实现方法及装置
US11805219B2 (en) Image special effect processing method and apparatus, electronic device and computer-readable storage medium
WO2021068964A1 (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: 20837258

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 10.05.2022)

122 Ep: pct application non-entry in european phase

Ref document number: 20837258

Country of ref document: EP

Kind code of ref document: A1