WO2018153269A1 - 基于移动终端自动确定动态照片焦点的方法及系统、移动终端 - Google Patents

基于移动终端自动确定动态照片焦点的方法及系统、移动终端 Download PDF

Info

Publication number
WO2018153269A1
WO2018153269A1 PCT/CN2018/075768 CN2018075768W WO2018153269A1 WO 2018153269 A1 WO2018153269 A1 WO 2018153269A1 CN 2018075768 W CN2018075768 W CN 2018075768W WO 2018153269 A1 WO2018153269 A1 WO 2018153269A1
Authority
WO
WIPO (PCT)
Prior art keywords
coordinates
axis
focus
pixels
coordinate
Prior art date
Application number
PCT/CN2018/075768
Other languages
English (en)
French (fr)
Inventor
俞斌
杨维琴
Original Assignee
Tcl通讯(宁波)有限公司
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 Tcl通讯(宁波)有限公司 filed Critical Tcl通讯(宁波)有限公司
Publication of WO2018153269A1 publication Critical patent/WO2018153269A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof

Definitions

  • the present invention relates to the field of systems, and in particular, to a method and system for automatically determining a focus of a dynamic photo based on a mobile terminal, and a mobile terminal.
  • mobile terminals are equipped with a camera, and photographing using the camera function of the mobile terminal in daily life is one of the most used functions of the general user; when taking pictures by using the mobile terminal, the process generally includes: turning on the camera; focusing; photographing photo.
  • the focus is often that the user manually selects by touching the touch screen, or selects the image content that is sensed for the static environment, and there is often no good focus selection method for the dynamic image, so the prior art has defects. , to be innovated and developed.
  • Embodiments of the present invention provide a method and system for automatically determining a focus of a dynamic photo based on a mobile terminal, and a mobile terminal .
  • You can use the constantly changing dynamic content in the image to select the focus, so that users can avoid the trouble of manually selecting the focus when taking photos, and at the same time make the automatically selected focus more accurate and in place, so that the quality of the photos taken by the user Improve and provide convenience for users.
  • an embodiment of the present invention provides a mobile terminal, including a processor and a memory, where the memory is used to store instructions and data, and the processor is configured to perform the following steps:
  • Detecting each frame image and acquiring location coordinates of different pixels in the adjacent frame image including: sequentially comparing whether the image data of the corresponding position in the two frames is the same, and if not, recording the pixels with different data in the last two frames of images. coordinate of;
  • the focus coordinates are obtained based on the coordinates of the uppermost, lowermost, leftmost, and rightmost pixels acquired.
  • the method further includes:
  • a storage space capable of storing all of the pixel image data of two frames of images for storing all of the pixel image data of the last two frames of images is set in advance.
  • the step of obtaining the coordinates of the uppermost, lowermost, the leftmost, and the rightmost pixel in the coordinates of the different pixels in the acquired adjacent frame image includes:
  • the following four coordinates are obtained in these coordinates: the coordinates of the x-axis minimum, the coordinates of the x-axis maximum, the coordinates of the y-axis minimum, and the coordinates of the y-axis maximum. .
  • the step of obtaining the focus coordinates according to the coordinates of the obtained uppermost, lowermost, leftmost, and rightmost pixels includes:
  • the focus coordinate is calculated, wherein the x-axis value of the focus is the x-axis minimum value and the x-axis.
  • an embodiment of the present invention provides a method for automatically determining a focus of a dynamic photo based on a mobile terminal, including:
  • the focus coordinates are obtained based on the coordinates of the uppermost, lowermost, leftmost, and rightmost pixels acquired.
  • the method for automatically determining a focus of a dynamic photo based on a mobile terminal wherein the step of detecting each frame image and acquiring location coordinates of different pixels in an adjacent frame image includes:
  • All pixel image data of the last two frames of images are sequentially compared by pixel, and the coordinates of pixels having different data in the last two frames of images are recorded.
  • the method for automatically determining a focus of a dynamic photo based on a mobile terminal wherein the step of obtaining coordinates of an uppermost, lowermost, leftmost, and rightmost pixel from coordinates of different pixels in the acquired adjacent frame image Specifically, including:
  • the coordinates of the pixels of the data obtained in the last two frames are different.
  • the following four coordinates are obtained in these coordinates: the coordinates of the minimum value of the x-axis, the coordinates of the maximum value of the x-axis, the coordinates of the minimum value of the y-axis, and the coordinates of the maximum value of the y-axis.
  • the method for automatically determining a focus of a dynamic photo based on a mobile terminal wherein the step of obtaining focus coordinates according to coordinates of the acquired uppermost, lowermost, leftmost, and rightmost pixels includes:
  • the focus coordinate is calculated, wherein the x-axis value of the focus is the x-axis minimum value and the x-axis.
  • an embodiment of the present invention provides a system for automatically determining a dynamic photo focus based on a mobile terminal, including: one or more processors; a memory; and one or more applications, wherein the one or more An application is stored in the memory and configured to be executed by the processor; the one or more applications include:
  • a detection acquisition module configured to detect each frame image, and obtain position coordinates of different pixels in the adjacent frame image
  • a coordinate acquiring module configured to obtain coordinates of uppermost, lowermost, leftmost, and rightmost pixels from coordinates of different pixels in the acquired adjacent frame image
  • a focus coordinate acquisition module is configured to obtain focus coordinates according to coordinates of the obtained uppermost, lowermost, leftmost, and rightmost pixels.
  • the system for automatically determining a dynamic photo focus based on a mobile terminal wherein the method further includes:
  • An image data obtaining module configured to preset a storage space of all pixel image data capable of storing two frames of images, and store all pixel image data of the last two frames of images;
  • the different pixel coordinate acquisition module is configured to sequentially compare all the pixel image data of the last two frames of images by pixel, and record the coordinates of the pixels with different data in the last two frames of images.
  • the system for automatically determining a dynamic photo focus based on a mobile terminal wherein the method further includes:
  • the coordinates of the pixels in the last two frames obtained in the module are different, and the following four coordinates are obtained in these coordinates: the coordinate of the x-axis minimum, the coordinate of the x-axis maximum, and the minimum of the y-axis. Coordinates, coordinates of the maximum value of the y-axis;
  • the system for automatically determining a dynamic photo focus based on a mobile terminal wherein the method further includes:
  • a focus calculation module for calculating a focus coordinate from a coordinate of the obtained x-axis minimum value, a coordinate of the x-axis maximum value, a coordinate of the y-axis minimum value, and a maximum value of the y-axis maximum, wherein the x-axis value of the focus is x The minimum value of the axis minimum and the maximum value of the x-axis, wherein the y-axis value of the focus is the y-axis minimum value and the y-axis maximum value average value.
  • the coordinates of the uppermost, lowermost, leftmost, and rightmost pixels are obtained in the coordinates of different pixels in the frame image;
  • the focus coordinates are obtained according to the coordinates of the obtained uppermost, lowermost, leftmost, and rightmost pixels.
  • FIG. 1 is a flow chart of a preferred embodiment of a method for automatically determining a focus of a dynamic photo based on a mobile terminal provided by the present invention.
  • FIG. 2 is a schematic diagram of pixel coordinates in each frame according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a preferred embodiment of a system for automatically determining a focus of a dynamic photo based on a mobile terminal provided by the present invention.
  • FIG. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
  • FIG. 1 is a flow chart of a preferred embodiment of a method for automatically determining a focus of a dynamic photo based on a mobile terminal according to the present invention.
  • the method for automatically determining a focus of a dynamic photo based on a mobile terminal according to an embodiment of the present invention includes the following steps:
  • a storage space of all pixel image data capable of storing two frames of images is required to be used for storing all pixel image data of the latest two frames of images; for example, one pixel occupies two bytes.
  • the storage space, and the size of one frame of image is xm*ym, the total storage space is xm*ym*2*2 bytes.
  • P[1, 1] represents image data of a first row and a first column in a frame image
  • P[1, 2] represents a The image data of the first row and the second column in the frame image, ..., sequentially compares whether the image data of the corresponding position in the two frames is the same, if not the same, records; if the data is different, the time of shooting the object in the two frames The change is in progress.
  • S200 Obtain coordinates of uppermost, lowermost, leftmost, and rightmost pixels from coordinates of different pixels in the acquired adjacent frame image.
  • the following four coordinates are obtained in these coordinates: the coordinates of the x-axis minimum value, the coordinates of the x-axis maximum value, the coordinates of the y-axis minimum value, and y.
  • the coordinate of the maximum value of the axis is obtained in these coordinates: the coordinates of the x-axis minimum value, the coordinates of the x-axis maximum value, the coordinates of the y-axis minimum value, and y.
  • S300 obtain focus coordinates according to coordinates of the obtained uppermost, lowermost, leftmost, and rightmost pixels.
  • the focus coordinate is calculated according to the obtained coordinate of the minimum value of the x-axis, the coordinate of the maximum value of the x-axis, the coordinate of the minimum value of the y-axis, and the maximum value of the y-axis, wherein the x-axis value of the focus is the minimum value of the x-axis.
  • the method for automatically determining a dynamic photo focus based on a mobile terminal the method for acquiring coordinates of different pixels in an adjacent frame image by detecting each frame image; The coordinates of the top, bottom, leftmost, and rightmost pixels of the coordinates of different pixels in the adjacent frame image are obtained; the focus coordinates are obtained according to the coordinates of the uppermost, lowermost, leftmost, and rightmost pixels acquired .
  • the present invention further provides a system for automatically determining a dynamic photo focus based on a mobile terminal.
  • the system includes:
  • the detection acquisition module 210 is configured to detect each frame image and acquire location coordinates of different pixels in the adjacent frame image; as described above.
  • the coordinate acquiring module 220 is configured to obtain coordinates of the uppermost, lowermost, leftmost, and rightmost pixels from coordinates of different pixels in the acquired adjacent frame image; as described above.
  • the focus coordinate acquisition module 230 is configured to obtain focus coordinates according to the coordinates of the acquired uppermost, lowermost, leftmost, and rightmost pixels; as described above.
  • the system for automatically determining a dynamic photo focus based on a mobile terminal wherein the method further includes:
  • an image data obtaining module configured to preset a storage space of all pixel image data capable of storing two frames of images for storing all pixel image data of the last two frames of images; as described above.
  • the different pixel coordinate acquiring module is configured to compare all the pixel image data of the latest two frames of images in order by pixel, and record the coordinates of the pixels with different data in the images of the last two frames; as described above.
  • the system for automatically determining a dynamic photo focus based on a mobile terminal wherein the method further includes:
  • the coordinates of the pixels in the last two frames obtained in the module are different, and the following four coordinates are obtained in these coordinates: the coordinate of the x-axis minimum, the coordinate of the x-axis maximum, and the minimum of the y-axis. Coordinates, coordinates of the maximum value of the y-axis; as described above.
  • the system for automatically determining a dynamic photo focus based on a mobile terminal wherein the method further includes:
  • a focus calculation module for calculating a focus coordinate from a coordinate of the obtained x-axis minimum value, a coordinate of the x-axis maximum value, a coordinate of the y-axis minimum value, and a maximum value of the y-axis maximum, wherein the x-axis value of the focus is x The minimum value of the axis minimum and the maximum value of the x-axis, wherein the y-axis value of the focus is the y-axis minimum value and the y-axis maximum value average value; as described above.
  • the present invention provides a method and system for automatically determining a focus of a dynamic photo based on a mobile terminal, the method for acquiring coordinates of different pixels in an adjacent frame image by detecting each frame image; The coordinates of the uppermost, lowermost, leftmost, and rightmost pixels are obtained from the coordinates of different pixels in the adjacent frame image; the focus coordinates are obtained according to the coordinates of the obtained uppermost, lowermost, leftmost, and rightmost pixels.
  • Embodiments of the present invention also provide a storage medium storing a computer program, wherein the computer program causes a computer to perform a method of automatically determining a focus of a dynamic photo based on a mobile terminal as described above.
  • a computer program to instruct related hardware (such as a processor, a controller, etc.), and the program can be stored in one.
  • the program when executed, may include the processes of the various method embodiments as described above.
  • the storage medium described therein may be a memory, a magnetic disk, an optical disk, or the like.
  • FIG. 4 is a block diagram showing a specific structure of a mobile terminal according to an embodiment of the present invention.
  • the mobile terminal may be used to implement a method and system for automatically determining a focus of a dynamic photo based on a mobile terminal provided in the foregoing embodiment.
  • the mobile terminal 1200 can be a smartphone or a tablet.
  • the mobile terminal 1200 may include RF (Radio) Frequency (RF) circuit 110, memory 120 including one or more (only one shown) computer readable storage medium, input unit 130, display unit 140, sensor 150, audio circuit 160, transmission module 170, including There are one or more (only one shown in the figure) processing core processor 180 and power supply 190 and the like. It will be understood by those skilled in the art that the structure of the mobile terminal 1200 shown in FIG. 4 does not constitute a limitation of the mobile terminal 1200, and may include more or less components than those illustrated, or combine some components, or different components. Arrangement. among them:
  • the RF circuit 110 is configured to receive and transmit electromagnetic waves, and realize mutual conversion between electromagnetic waves and electrical signals, thereby communicating with a communication network or other devices.
  • the RF circuit 110 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, a memory, and the like.
  • SIM Subscriber Identity Module
  • the RF circuit 110 can communicate with various networks such as the Internet, an intranet, a wireless network, or communicate with other devices over a wireless network.
  • the wireless network described above may include a cellular telephone network, a wireless local area network, or a metropolitan area network.
  • the above wireless networks may use various communication standards, protocols and technologies, including but not limited to global mobile communication systems (Global System for Mobile Communication, GSM), Enhanced Data GSM Environment (Enhanced Data GSM Environment, EDGE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (Code) Division Access, CDMA), Time Division Multiple Access (Time Division Multiple Access, TDMA), Wireless Fidelity (Wi-Fi) (eg American Institute of Electrical and Electronics Engineers Standard IEEE 802.11a, IEEE) 802.11b, IEEE802.11g and/or IEEE 802.11n), Voice over Internet Protocol (Voice over Internet Protocol, VoIP), Worldwide Interoperability for Microwave Access, Wi-Max, other protocols for mail, instant messaging, and short messages, as well as any other suitable communication protocol, may even include protocols that are not currently being developed.
  • GSM Global System for Mobile Communication
  • EDGE Enhanced Data GSM Environment
  • WCDMA Wideband Code Division Multiple Access
  • Code Division Multiple Access Code Division Multiple Access
  • CDMA Code Division Multiple Access
  • Time Division Multiple Access
  • the memory 120 can be used to store software programs and modules. For example, the method and system corresponding to the mobile terminal automatically determine the dynamic photo focus based on the mobile terminal, and the processor 180 runs the software program and the module stored in the memory 120. Thereby performing various function applications and data processing, that is, realizing the function of automatically determining the focus of the dynamic photos based on the mobile terminal.
  • Memory 120 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • memory 120 can further include memory remotely located relative to processor 180, which can be connected to mobile terminal 1200 via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the input unit 130 can be configured to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • input unit 130 can include touch-sensitive surface 131 as well as other input devices 132.
  • Touch-sensitive surface 131 also referred to as a touch display or trackpad, can collect touch operations on or near the user (such as a user using a finger, stylus, etc., on any suitable object or accessory on touch-sensitive surface 131 or The operation near the touch-sensitive surface 131) and driving the corresponding connecting device according to a preset program.
  • the touch-sensitive surface 131 can include two portions of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 180 is provided and can receive commands from the processor 180 and execute them.
  • the touch-sensitive surface 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 130 can also include other input devices 132.
  • other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the display unit 140 can be used to display information input by the user or information provided to the user and various graphical user interfaces of the mobile terminal 1200, which can be composed of graphics, text, icons, video, and any combination thereof.
  • the display unit 140 may include a display panel 141, and optionally, an LCD (Liquid may be used) Crystal Display, LCD (Organic Light-Emitting)
  • the display panel 141 is configured in the form of a Diode, an organic light emitting diode, or the like.
  • touch-sensitive surface 131 may cover the display panel 141, and when the touch-sensitive surface 131 detects a touch operation thereon or nearby, it is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 according to the touch event The type provides a corresponding visual output on display panel 141.
  • touch-sensitive surface 131 and display panel 141 are implemented as two separate components to implement input and input functions, in some embodiments, touch-sensitive surface 131 can be integrated with display panel 141 for input. And output function.
  • Mobile terminal 1200 may also include at least one type of sensor 150, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may close the display panel 141 when the mobile terminal 1200 moves to the ear. And / or backlight.
  • the gravity acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • Other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like that can be configured in the mobile terminal 1200 are not described herein.
  • the audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the mobile terminal 1200.
  • the audio circuit 160 can transmit the converted electrical data of the received audio data to the speaker 161 for conversion to the sound signal output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal by the audio circuit 160. After receiving, it is converted into audio data, and then processed by the audio data output processor 180, transmitted to the terminal, for example, via the RF circuit 110, or outputted to the memory 120 for further processing.
  • the audio circuit 160 may also include an earbud jack to provide communication of the peripheral earphones with the mobile terminal 1200.
  • the mobile terminal 1200 can help the user to send and receive emails, browse web pages, access streaming media, etc. through the transmission module 170 (eg, Wi-Fi module), which provides wireless broadband Internet access to the user.
  • the transmission module 170 eg, Wi-Fi module
  • FIG. 4 shows the transmission module 170, it can be understood that it does not belong to the essential configuration of the mobile terminal 1200, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the processor 180 is a control center of the mobile terminal 1200 that connects various portions of the entire handset with various interfaces and lines, by running or executing software programs and/or modules stored in the memory 120, and recalling data stored in the memory 120.
  • the various functions and processing data of the mobile terminal 1200 are executed to perform overall monitoring of the mobile phone.
  • the processor 180 may include one or more processing cores; in some embodiments, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and For applications, etc., the modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 180.
  • the mobile terminal 1200 also includes a power source 190 (such as a battery) that powers the various components.
  • the power source can be logically coupled to the processor 180 through a power management system to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • Power supply 190 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
  • the mobile terminal 1200 may further include a camera (such as a front camera, a rear camera), a Bluetooth module, and the like, and details are not described herein.
  • the display unit of the mobile terminal is a touch screen display
  • the mobile terminal further includes a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to be one or one
  • the above processor executes one or more programs that include instructions for performing the following operations:
  • Detecting each frame image and acquiring location coordinates of different pixels in the adjacent frame image including: sequentially comparing whether the image data of the corresponding position in the two frames is the same, and if not, recording the pixels with different data in the last two frames of images. coordinate of;
  • the focus coordinates are obtained based on the coordinates of the uppermost, lowermost, leftmost, and rightmost pixels acquired.
  • the method further includes:
  • a storage space capable of storing all of the pixel image data of two frames of images for storing all of the pixel image data of the last two frames of images is set in advance.
  • the step of obtaining the coordinates of the uppermost, lowermost, the leftmost, and the rightmost pixel in the coordinates of the different pixels in the acquired adjacent frame image includes:
  • the following four coordinates are obtained in these coordinates: the coordinates of the x-axis minimum, the coordinates of the x-axis maximum, the coordinates of the y-axis minimum, and the coordinates of the y-axis maximum. .
  • the step of obtaining the focus coordinates according to the coordinates of the obtained uppermost, lowermost, leftmost, and rightmost pixels includes:
  • the focus coordinate is calculated, wherein the x-axis value of the focus is the x-axis minimum value and the x-axis.

Abstract

本发明公开了一种基于移动终端自动确定动态照片焦点的方法及系统、移动终端,所述方法通过检测每一帧图像,获取相邻帧图像中的不同像素所在的坐标;由所获取的相邻帧图像中的不同像素所在的坐标中得到最上、最下、最左、最右的像素的坐标;根据所获取的最上、最下、最左、最右的像素的坐标得到焦点坐标。

Description

基于移动终端自动确定动态照片焦点的方法及系统、移动终端
本申请要求于2017年2月23日提交中国专利局、申请号为201710100408.X、发明名称为“一种基于移动终端自动确定动态照片焦点的方法及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及系统领域,尤其涉及的是一种基于移动终端自动确定动态照片焦点的方法及系统、移动终端。
背景技术
目前移动终端均配置有照相机,在日常生活中使用移动终端的照相功能进行拍照是一般用户使用最多的功能之一;当利用移动终端进行拍照时,其过程一般包括:打开相机;对焦;拍下照片。
其中,在对焦时相当于选定了照片中的焦点,焦点及其附近的区域是照片中最为清楚的地方,照片中其余地方的清楚程度往往不如焦点及其附近区域。对于一般使用,甚至对于拍照片来说,这是需要的,用来突出照片中的主体,同时淡化非主体。在现有技术中对于焦点往往均是用户通过触摸触摸屏进行手动选取,或对于静态环境由感应到的图像内容进行选取,而对于动态图片往往没有较好的焦点选取方法,因此现有技术存在缺陷,有待创新与发展。
技术问题
本发明实施例 提供一种 基于移动终端自动确定动态照片焦点的方法及系统、移动终端 。可以利用图像中不断变动的动态内容来选取焦点,从而使用户在拍照片时既可以免去手动选取焦点的麻烦,也同时能够使自动选取的焦点更加精确、到位,使用户拍摄的照片的质量提高,为用户提供方便。
技术解决方案
第一方面,本发明实施例提供一种移动终端,其中,包括处理器和存储器,所述存储器用于存储指令和数据,所述处理器用于执行以下步骤:
检测每一帧图像,获取相邻帧图像中的不同像素所在的位置坐标,包括:依次比较两帧中对应的位置的图像数据是否相同,若不相同则记录最近两帧图像中数据不同的像素的坐标;
由所获取的相邻帧图像中的不同像素所在的坐标中得到最上、最下、最左、最右的像素的坐标;
根据所获取的最上、最下、最左、最右的像素的坐标得到焦点坐标。
其中,在所述检测每一帧图像,获取相邻帧图像中的不同像素所在的位置坐标的步骤之前,还包括:
预先设置能够存储两帧图像的所有像素图像数据的存储空间,用于存储最近的两帧图像的所有像素图像数据。
其中,所述由所获取的相邻帧图像中的不同像素所在的坐标中得到最上、最下、最左、最右的像素的坐标的步骤,具体包括:
根据最近两帧图像中数据不同的像素的坐标,在这些坐标中得到以下四个坐标:x轴最小值的坐标、x轴最大值的坐标、y轴最小值的坐标、y轴最大值的坐标。
其中,所述根据所获取的最上、最下、最左、最右的像素的坐标得到焦点坐标的步骤,具体包括:
根据所述x轴最小值的坐标、x轴最大值的坐标、y轴最小值的坐标、y轴最大值的坐标,计算得到焦点坐标,其中焦点的x轴值为x轴最小值与x轴最大值平均值,其中焦点的y轴值为y轴最小值与y轴最大值平均值。
第二方面,本发明实施例提供一种基于移动终端自动确定动态照片焦点的方法,其中,包括:
检测每一帧图像,获取相邻帧图像中的不同像素所在的位置坐标;
由所获取的相邻帧图像中的不同像素所在的坐标中得到最上、最下、最左、最右的像素的坐标;
根据所获取的最上、最下、最左、最右的像素的坐标得到焦点坐标。
所述基于移动终端自动确定动态照片焦点的方法,其中,所述检测每一帧图像,获取相邻帧图像中的不同像素所在的位置坐标的步骤,具体包括:
预先设置能够存储两帧图像的所有像素图像数据的存储空间,用于存储最近的两帧图像的所有像素图像数据;
按像素依次比较最近的两帧图像的所有像素图像数据,并记下最近两帧图像中数据不同的像素的坐标。
所述基于移动终端自动确定动态照片焦点的方法,其中,所述由所获取的相邻帧图像中的不同像素所在的坐标中得到最上、最下、最左、最右的像素的坐标的步骤,具体包括:
根据所述按像素依次比较最近的两帧图像的所有像素图像数据,并记下最近两帧图像中数据不同的像素的坐标的步骤中,得到的最近两帧图像中数据不同的像素的坐标,在这些坐标中得到以下四个坐标:x轴最小值的坐标、x轴最大值的坐标、y轴最小值的坐标、y轴最大值的坐标。
所述基于移动终端自动确定动态照片焦点的方法,其中,所述根据所获取的最上、最下、最左、最右的像素的坐标得到焦点坐标的步骤,具体包括:
根据所述x轴最小值的坐标、x轴最大值的坐标、y轴最小值的坐标、y轴最大值的坐标,计算得到焦点坐标,其中焦点的x轴值为x轴最小值与x轴最大值平均值,其中焦点的y轴值为y轴最小值与y轴最大值平均值。
第三方面,本发明实施例提供一种基于移动终端自动确定动态照片焦点的系统,其中,包括:一个或多个处理器;存储器;以及一个或多个应用程序,其中所述一个或多个应用程序被存储于所述存储器中,并配置为由所述处理器执行;所述一个或多个应用程序包括:
检测获取模块,用于检测每一帧图像,获取相邻帧图像中的不同像素所在的位置坐标;
坐标获取模块,用于由所获取的相邻帧图像中的不同像素所在的坐标中得到最上、最下、最左、最右的像素的坐标;
焦点坐标获取模块,用于根据所获取的最上、最下、最左、最右的像素的坐标得到焦点坐标。
所述基于移动终端自动确定动态照片焦点的系统,其中,其还包括:
图像数据获取模块,用于预先设置能够存储两帧图像的所有像素图像数据的存储空间,用于存储最近的两帧图像的所有像素图像数据;
不同像素坐标获取模块,用于按像素依次比较最近的两帧图像的所有像素图像数据,并记下最近两帧图像中数据不同的像素的坐标。
所述基于移动终端自动确定动态照片焦点的系统,其中,其还包括:
根据不同像素坐标获取模块中得到的最近两帧图像中数据不同的像素的坐标,在这些坐标中得到以下四个坐标:x轴最小值的坐标、x轴最大值的坐标、y轴最小值的坐标、y轴最大值的坐标;
所述基于移动终端自动确定动态照片焦点的系统,其中,其还包括:
焦点计算模块,用于由得到的x轴最小值的坐标、x轴最大值的坐标、y轴最小值的坐标、y轴最大值的坐标,计算得到焦点坐标,其中焦点的x轴值为x轴最小值与x轴最大值平均值,其中焦点的y轴值为y轴最小值与y轴最大值平均值。
有益效果
本发明所提供的基于移动终端自动确定动态照片焦点的方法及系统、移动终端,所述方法通过检测每一帧图像,获取相邻帧图像中的不同像素所在的坐标;由所获取的相邻帧图像中的不同像素所在的坐标中得到最上、最下、最左、最右的像素的坐标;根据所获取的最上、最下、最左、最右的像素的坐标得到焦点坐标。通过利用图像中不断变动的动态内容来选取焦点,从而使用户在拍照片时既可以免去手动选取焦点的麻烦,也同时能够使自动选取的焦点更加精确、到位,使用户拍摄的照片的质量提高,为用户提供方便。
附图说明
图1是本发明提供的基于移动终端自动确定动态照片焦点的方法的较佳实施例的流程图。
图2是本发明实施例提供的每帧中像素坐标的示意图。
图3是本发明提供的基于移动终端自动确定动态照片焦点的系统的较佳实施例的结构示意图。
图4是本发明实施例提供的移动终端的结构示意图。
本发明的最佳实施方式
为使本发明的目的、技术方案及优点更加清楚、明确,以下参照附图并举实施例对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
请参见图1,图1是本发明基于移动终端自动确定动态照片焦点的方法的较佳实施例的流程图。本发明实施例所述基于移动终端自动确定动态照片焦点的方法,包括以下步骤:
S100,检测每一帧图像,获取相邻帧图像中的不同像素所在的坐标。
本发明实施例中,在具体实施时,需要预先设置能够存储两帧图像的所有像素图像数据的存储空间,用于存储最近的两帧图像的所有像素图像数据;比如一个像素占用两个字节的存储空间,而一帧图像的大小为xm*ym,则一共需要存储空间为xm*ym*2*2字节。
按像素依次比较最近的两帧图像的所有像素图像数据,并记下最近两帧图像中数据不同的像素的坐标。如图2是本发明方法实施例中每帧中像素坐标的示意图,图2中P[1,1]表示一帧图像中第一行第一列的图像数据,P[1,2]表示一帧图像中第一行第二列的图像数据,……,依次比较两帧中对应的位置的图像数据是否相同,若不相同则记录;如果数据不相同则说明拍摄物体在这两帧的时间中在变化。
S200,由所获取的相邻帧图像中的不同像素所在的坐标中得到最上、最下、最左、最右的像素的坐标。
具体地,根据得到的最近两帧图像中数据不同的像素的坐标,在这些坐标中得到以下四个坐标:x轴最小值的坐标、x轴最大值的坐标、y轴最小值的坐标、y轴最大值的坐标。
S300,根据所获取的最上、最下、最左、最右的像素的坐标得到焦点坐标。
具体地,根据得到的x轴最小值的坐标、x轴最大值的坐标、y轴最小值的坐标、y轴最大值的坐标,计算得到焦点坐标,其中焦点的x轴值为x轴最小值与x轴最大值平均值,其中焦点的y轴值为y轴最小值与y轴最大值平均值。
由上可见,本发明实施例提供的所述基于移动终端的自动确定动态照片焦点的方法,所述方法通过检测每一帧图像,获取相邻帧图像中的不同像素所在的坐标;由所获取的相邻帧图像中的不同像素所在的坐标中得到最上、最下、最左、最右的像素的坐标;根据所获取的最上、最下、最左、最右的像素的坐标得到焦点坐标。通过利用图像中不断变动的动态内容来选取焦点,从而使用户在拍照片时既可以免去手动选取焦点的麻烦,也同时能够使自动选取的焦点更加精确、到位,使用户拍摄的照片的质量提高,提升用户体验,为用户提供方便。
基于上述方法实施例,本发明还提供了一种基于移动终端自动确定动态照片焦点的系统,如图3所示,所述系统包括:
检测获取模块210,用于检测每一帧图像,获取相邻帧图像中的不同像素所在的位置坐标;具体如上所述。
坐标获取模块220,用于由所获取的相邻帧图像中的不同像素所在的坐标中得到最上、最下、最左、最右的像素的坐标;具体如上所述。
焦点坐标获取模块230,用于根据所获取的最上、最下、最左、最右的像素的坐标得到焦点坐标;具体如上所述。
进一步地,所述基于移动终端自动确定动态照片焦点的系统,其中,其还包括:
图像数据获取模块,用于预先设置能够存储两帧图像的所有像素图像数据的存储空间,用于存储最近的两帧图像的所有像素图像数据;具体如上所述。
不同像素坐标获取模块,用于按像素依次比较最近的两帧图像的所有像素图像数据,并记下最近两帧图像中数据不同的像素的坐标;具体如上所述。
进一步地,所述基于移动终端自动确定动态照片焦点的系统,其中,其还包括:
根据不同像素坐标获取模块中得到的最近两帧图像中数据不同的像素的坐标,在这些坐标中得到以下四个坐标:x轴最小值的坐标、x轴最大值的坐标、y轴最小值的坐标、y轴最大值的坐标;具体如上所述。
进一步地,所述基于移动终端自动确定动态照片焦点的系统,其中,其还包括:
焦点计算模块,用于由得到的x轴最小值的坐标、x轴最大值的坐标、y轴最小值的坐标、y轴最大值的坐标,计算得到焦点坐标,其中焦点的x轴值为x轴最小值与x轴最大值平均值,其中焦点的y轴值为y轴最小值与y轴最大值平均值;具体如上所述。
综上所述,本发明所提供的基于移动终端自动确定动态照片焦点的方法及系统,所述方法通过检测每一帧图像,获取相邻帧图像中的不同像素所在的坐标;由所获取的相邻帧图像中的不同像素所在的坐标中得到最上、最下、最左、最右的像素的坐标;根据所获取的最上、最下、最左、最右的像素的坐标得到焦点坐标。通过利用图像中不断变动的动态内容来选取焦点,从而使用户在拍照片时既可以免去手动选取焦点的麻烦,也同时能够使自动选取的焦点更加精确、到位,使用户拍摄的照片的质量提高,为用户提供方便。
本发明实施例还提供了一种存储介质,其存储有计算机程序,其中,所述计算机程序使得计算机执行如上面所述的基于移动终端自动确定动态照片焦点的方法。
当然,本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关硬件(如处理器,控制器等)来完成,所述的程序可存储于一计算机可读取的存储介质中,该程序在执行时可包括如上述各方法实施例的流程。其中所述的存储介质可为存储器、磁碟、光盘等。
图4示出了本发明实施例提供的移动终端的具体结构框图,该移动终端可以用于实施上述实施例中提供的基于移动终端自动确定动态照片焦点的方法及系统。该移动终端1200可以为智能手机或平板电脑。
如图4所示,移动终端1200可以包括RF(Radio Frequency,射频)电路110、包括有一个或一个以上(图中仅示出一个)计算机可读存储介质的存储器120、输入单元130、显示单元140、传感器150、音频电路160、传输模块170、包括有一个或者一个以上(图中仅示出一个)处理核心的处理器180以及电源190等部件。本领域技术人员可以理解,图4中示出的移动终端1200结构并不构成对移动终端1200的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:
RF电路110用于接收以及发送电磁波,实现电磁波与电信号的相互转换,从而与通讯网络或者其他设备进行通讯。RF电路110可包括各种现有的用于执行这些功能的电路元件,例如,天线、射频收发器、数字信号处理器、加密/解密芯片、用户身份模块(SIM)卡、存储器等等。RF电路110可与各种网络如互联网、企业内部网、无线网络进行通讯或者通过无线网络与其他设备进行通讯。上述的无线网络可包括蜂窝式电话网、无线局域网或者城域网。上述的无线网络可以使用各种通信标准、协议及技术,包括但并不限于全球移动通信系统(Global System for Mobile Communication, GSM)、增强型移动通信技术(Enhanced Data GSM Environment, EDGE),宽带码分多址技术(Wideband Code Division Multiple Access, WCDMA),码分多址技术(Code Division Access, CDMA)、时分多址技术(Time Division Multiple Access, TDMA),无线保真技术(Wireless Fidelity, Wi-Fi)(如美国电气和电子工程师协会标准 IEEE 802.11a, IEEE 802.11b, IEEE802.11g 和/或 IEEE 802.11n)、网络电话(Voice over Internet Protocol, VoIP)、全球微波互联接入(Worldwide Interoperability for Microwave Access, Wi-Max)、其他用于邮件、即时通讯及短消息的协议,以及任何其他合适的通讯协议,甚至可包括那些当前仍未被开发出来的协议。
存储器120可用于存储软件程序以及模块,如上述实施例中基于移动终端自动确定动态照片焦点的方法及系统对应的程序指令/模块,处理器180通过运行存储在存储器120内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现基于移动终端自动确定动态照片焦点的功能。存储器120可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器120可进一步包括相对于处理器180远程设置的存储器,这些远程存储器可以通过网络连接至移动终端1200。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
输入单元130可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,输入单元130可包括触敏表面131以及其他输入设备132。触敏表面131,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面131上或在触敏表面131附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面131可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器180,并能接收处理器180发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面131。除了触敏表面131,输入单元130还可以包括其他输入设备132。具体地,其他输入设备132可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
显示单元140可用于显示由用户输入的信息或提供给用户的信息以及移动终端1200的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元140可包括显示面板141,可选的,可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板141。进一步的,触敏表面131可覆盖显示面板141,当触敏表面131检测到在其上或附近的触摸操作后,传送给处理器180以确定触摸事件的类型,随后处理器180根据触摸事件的类型在显示面板141上提供相应的视觉输出。虽然在图4中,触敏表面131与显示面板141是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面131与显示面板141集成而实现输入和输出功能。
移动终端1200还可包括至少一种传感器150,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板141的亮度,接近传感器可在移动终端1200移动到耳边时,关闭显示面板141和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等; 至于移动终端1200还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路160、扬声器161,传声器162可提供用户与移动终端1200之间的音频接口。音频电路160可将接收到的音频数据转换后的电信号,传输到扬声器161,由扬声器161转换为声音信号输出;另一方面,传声器162将收集的声音信号转换为电信号,由音频电路160接收后转换为音频数据,再将音频数据输出处理器180处理后,经RF电路110以发送给比如另一终端,或者将音频数据输出至存储器120以便进一步处理。音频电路160还可能包括耳塞插孔,以提供外设耳机与移动终端1200的通信。
移动终端1200通过传输模块170(例如Wi-Fi模块)可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图4示出了传输模块170,但是可以理解的是,其并不属于移动终端1200的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。
处理器180是移动终端1200的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器120内的软件程序和/或模块,以及调用存储在存储器120内的数据,执行移动终端1200的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器180可包括一个或多个处理核心;在一些实施例中,处理器180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器180中。
移动终端1200还包括给各个部件供电的电源190(比如电池),在一些实施例中,电源可以通过电源管理系统与处理器180逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源190还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。
尽管未示出,移动终端1200还可以包括摄像头(如前置摄像头、后置摄像头)、蓝牙模块等,在此不再赘述。具体在本实施例中,移动终端的显示单元是触摸屏显示器,移动终端还包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行述一个或者一个以上程序包含用于进行以下操作的指令:
检测每一帧图像,获取相邻帧图像中的不同像素所在的位置坐标,包括:依次比较两帧中对应的位置的图像数据是否相同,若不相同则记录最近两帧图像中数据不同的像素的坐标;
由所获取的相邻帧图像中的不同像素所在的坐标中得到最上、最下、最左、最右的像素的坐标;
根据所获取的最上、最下、最左、最右的像素的坐标得到焦点坐标。
其中,在所述检测每一帧图像,获取相邻帧图像中的不同像素所在的位置坐标的步骤之前,还包括:
预先设置能够存储两帧图像的所有像素图像数据的存储空间,用于存储最近的两帧图像的所有像素图像数据。
其中,所述由所获取的相邻帧图像中的不同像素所在的坐标中得到最上、最下、最左、最右的像素的坐标的步骤,具体包括:
根据最近两帧图像中数据不同的像素的坐标,在这些坐标中得到以下四个坐标:x轴最小值的坐标、x轴最大值的坐标、y轴最小值的坐标、y轴最大值的坐标。
其中,所述根据所获取的最上、最下、最左、最右的像素的坐标得到焦点坐标的步骤,具体包括:
根据所述x轴最小值的坐标、x轴最大值的坐标、y轴最小值的坐标、y轴最大值的坐标,计算得到焦点坐标,其中焦点的x轴值为x轴最小值与x轴最大值平均值,其中焦点的y轴值为y轴最小值与y轴最大值平均值。
应当理解的是,本发明的应用不限于上述的举例,对本领域普通技术人员来说,可以根据上述说明加以改进或变换,所有这些改进和变换都应属于本发明所附权利要求的保护范围。

Claims (12)

  1. 一种移动终端,其中,包括处理器和存储器,所述存储器用于存储指令和数据,所述处理器用于执行以下步骤:
    检测每一帧图像,获取相邻帧图像中的不同像素所在的位置坐标,包括:依次比较两帧中对应的位置的图像数据是否相同,若不相同则记录最近两帧图像中数据不同的像素的坐标;
    由所获取的相邻帧图像中的不同像素所在的坐标中得到最上、最下、最左、最右的像素的坐标;
    根据所获取的最上、最下、最左、最右的像素的坐标得到焦点坐标。
  2. 根据权利要求1所述的移动终端,其中,在所述检测每一帧图像,获取相邻帧图像中的不同像素所在的位置坐标的步骤之前,还包括:
    预先设置能够存储两帧图像的所有像素图像数据的存储空间,用于存储最近的两帧图像的所有像素图像数据。
  3. 根据权利要求2所述的移动终端,其中,所述由所获取的相邻帧图像中的不同像素所在的坐标中得到最上、最下、最左、最右的像素的坐标的步骤,具体包括:
    根据最近两帧图像中数据不同的像素的坐标,在这些坐标中得到以下四个坐标:x轴最小值的坐标、x轴最大值的坐标、y轴最小值的坐标、y轴最大值的坐标。
  4. 根据权利要求3所述的移动终端,其中,所述根据所获取的最上、最下、最左、最右的像素的坐标得到焦点坐标的步骤,具体包括:
    根据所述x轴最小值的坐标、x轴最大值的坐标、y轴最小值的坐标、y轴最大值的坐标,计算得到焦点坐标,其中焦点的x轴值为x轴最小值与x轴最大值平均值,其中焦点的y轴值为y轴最小值与y轴最大值平均值。
  5. 一种基于移动终端自动确定动态照片焦点的方法,其中,包括:
    检测每一帧图像,获取相邻帧图像中的不同像素所在的位置坐标;
    由所获取的相邻帧图像中的不同像素所在的坐标中得到最上、最下、最左、最右的像素的坐标;
    根据所获取的最上、最下、最左、最右的像素的坐标得到焦点坐标。
  6. 根据权利要求5所述基于移动终端自动确定动态照片焦点的方法,其中,所述检测每一帧图像,获取相邻帧图像中的不同像素所在的位置坐标的步骤,具体包括:
    预先设置能够存储两帧图像的所有像素图像数据的存储空间,用于存储最近的两帧图像的所有像素图像数据;
    按像素依次比较最近的两帧图像的所有像素图像数据,并记下最近两帧图像中数据不同的像素的坐标。
  7. 根据权利要求6所述基于移动终端自动确定动态照片焦点的方法,其中,所述由所获取的相邻帧图像中的不同像素所在的坐标中得到最上、最下、最左、最右的像素的坐标的步骤,具体包括:
    根据所述按像素依次比较最近的两帧图像的所有像素图像数据,并记下最近两帧图像中数据不同的像素的坐标的步骤中,得到的最近两帧图像中数据不同的像素的坐标,在这些坐标中得到以下四个坐标:x轴最小值的坐标、x轴最大值的坐标、y轴最小值的坐标、y轴最大值的坐标。
  8. 根据权利要求7所述基于移动终端自动确定动态照片焦点的方法,其中,所述根据所获取的最上、最下、最左、最右的像素的坐标得到焦点坐标的步骤,具体包括:
    根据所述x轴最小值的坐标、x轴最大值的坐标、y轴最小值的坐标、y轴最大值的坐标,计算得到焦点坐标,其中焦点的x轴值为x轴最小值与x轴最大值平均值,其中焦点的y轴值为y轴最小值与y轴最大值平均值。
  9. 一种基于移动终端自动确定动态照片焦点的系统,其中,包括:一个或多个处理器;存储器;以及一个或多个应用程序,其中所述一个或多个应用程序被存储于所述存储器中,并配置为由所述处理器执行;所述一个或多个应用程序包括:
    检测获取模块,用于检测每一帧图像,获取相邻帧图像中的不同像素所在的位置坐标;
    坐标获取模块,用于由所获取的相邻帧图像中的不同像素所在的坐标中得到最上、最下、最左、最右的像素的坐标;
    焦点坐标获取模块,用于根据所获取的最上、最下、最左、最右的像素的坐标得到焦点坐标。
  10. 根据权利要求9所述基于移动终端自动确定动态照片焦点的系统,其中,其还包括:
    图像数据获取模块,用于预先设置能够存储两帧图像的所有像素图像数据的存储空间,用于存储最近的两帧图像的所有像素图像数据;
    不同像素坐标获取模块,用于按像素依次比较最近的两帧图像的所有像素图像数据,并记下最近两帧图像中数据不同的像素的坐标。
  11. 根据权利要求10所述基于移动终端自动确定动态照片焦点的系统,其中,其还包括:
    根据不同像素坐标获取模块中得到的最近两帧图像中数据不同的像素的坐标,在这些坐标中得到以下四个坐标:x轴最小值的坐标、x轴最大值的坐标、y轴最小值的坐标、y轴最大值的坐标。
  12. 根据权利要求11所述基于移动终端自动确定动态照片焦点的系统,其中,其还包括:
    焦点计算模块,用于由得到的x轴最小值的坐标、x轴最大值的坐标、y轴最小值的坐标、y轴最大值的坐标,计算得到焦点坐标,其中焦点的x轴值为x轴最小值与x轴最大值平均值,其中焦点的y轴值为y轴最小值与y轴最大值平均值。
PCT/CN2018/075768 2017-02-23 2018-02-08 基于移动终端自动确定动态照片焦点的方法及系统、移动终端 WO2018153269A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710100408.XA CN106878616B (zh) 2017-02-23 2017-02-23 一种基于移动终端自动确定动态照片焦点的方法及系统
CN201710100408.X 2017-02-23

Publications (1)

Publication Number Publication Date
WO2018153269A1 true WO2018153269A1 (zh) 2018-08-30

Family

ID=59168370

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/075768 WO2018153269A1 (zh) 2017-02-23 2018-02-08 基于移动终端自动确定动态照片焦点的方法及系统、移动终端

Country Status (2)

Country Link
CN (1) CN106878616B (zh)
WO (1) WO2018153269A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106878616B (zh) * 2017-02-23 2020-06-09 惠州Tcl移动通信有限公司 一种基于移动终端自动确定动态照片焦点的方法及系统
CN111309420A (zh) * 2020-02-06 2020-06-19 Tcl移动通信科技(宁波)有限公司 开机画面显示方法及其系统、存储介质及终端设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101840578A (zh) * 2009-03-17 2010-09-22 鸿富锦精密工业(深圳)有限公司 摄像装置及其动态侦测方法
CN102469247A (zh) * 2010-11-09 2012-05-23 鸿富锦精密工业(深圳)有限公司 摄像装置及其动态对焦方法
JP2014085503A (ja) * 2012-10-23 2014-05-12 Ricoh Co Ltd 撮像装置および撮像方法
US20150138429A1 (en) * 2013-11-19 2015-05-21 Panasonic Intellectual Property Management Co., Ltd. Image-capturing apparatus
CN106878616A (zh) * 2017-02-23 2017-06-20 惠州Tcl移动通信有限公司 一种基于移动终端自动确定动态照片焦点的方法及系统

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003125172A (ja) * 2001-10-10 2003-04-25 Pfu Ltd 画像読取装置の制御方法
CN103369227A (zh) * 2012-03-26 2013-10-23 联想(北京)有限公司 一种运动对象的拍照方法及电子设备
CN106324945A (zh) * 2015-06-30 2017-01-11 中兴通讯股份有限公司 非接触式自动对焦方法和装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101840578A (zh) * 2009-03-17 2010-09-22 鸿富锦精密工业(深圳)有限公司 摄像装置及其动态侦测方法
CN102469247A (zh) * 2010-11-09 2012-05-23 鸿富锦精密工业(深圳)有限公司 摄像装置及其动态对焦方法
JP2014085503A (ja) * 2012-10-23 2014-05-12 Ricoh Co Ltd 撮像装置および撮像方法
US20150138429A1 (en) * 2013-11-19 2015-05-21 Panasonic Intellectual Property Management Co., Ltd. Image-capturing apparatus
CN106878616A (zh) * 2017-02-23 2017-06-20 惠州Tcl移动通信有限公司 一种基于移动终端自动确定动态照片焦点的方法及系统

Also Published As

Publication number Publication date
CN106878616A (zh) 2017-06-20
CN106878616B (zh) 2020-06-09

Similar Documents

Publication Publication Date Title
JP7181987B2 (ja) ページング指示方法、装置及びシステム
WO2021027513A1 (zh) 确定天线端口映射方法和终端
US20200257433A1 (en) Display method and mobile terminal
JP7301956B2 (ja) 情報処理方法および端末
WO2014019147A1 (zh) 一种屏幕界面显示方法及终端
JP7462657B2 (ja) 指示信号の伝送方法、端末及びネットワーク機器
WO2018024003A1 (zh) 射频控制电路及移动终端
WO2015122616A1 (en) Photographing method of an electronic device and the electronic device thereof
WO2019129020A1 (zh) 一种摄像头自动调焦方法、存储设备及移动终端
WO2021088720A1 (zh) 信息发送方法及电子设备
WO2018171534A1 (zh) 基于移动终端的双摄像头供电控制方法、系统及移动终端
WO2017107557A1 (zh) 一种基于移动终端的快捷菜单弹出方法及系统
WO2019129092A1 (zh) 一种降帧率拍照方法、移动终端及存储介质
CN109995862B (zh) 一种资源调度方法及终端
WO2021129732A1 (zh) 显示处理方法及电子设备
WO2020199986A1 (zh) 视频通话方法及终端设备
WO2019011335A1 (zh) 一种移动终端及其控制方法和可读存储介质
WO2019047862A1 (zh) 一种指纹采集方法及终端设备、存储介质
WO2018145597A1 (zh) 基于移动终端的屏幕补光拍照方法及系统、移动终端
JP2021525495A (ja) セル管理方法、端末及びネットワーク側装置
WO2020228537A1 (zh) 资源确定方法、资源指示方法、终端及网络侧设备
WO2020173281A1 (zh) 界面显示方法及终端设备
CN109462732B (zh) 一种图像处理方法、设备及计算机可读存储介质
WO2019242633A1 (zh) 测量间隔的处理方法、终端及网络节点
WO2018153269A1 (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: 18756729

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: 18756729

Country of ref document: EP

Kind code of ref document: A1