WO2017008352A1 - 图像处理方法、图像处理装置和终端 - Google Patents

图像处理方法、图像处理装置和终端 Download PDF

Info

Publication number
WO2017008352A1
WO2017008352A1 PCT/CN2015/085883 CN2015085883W WO2017008352A1 WO 2017008352 A1 WO2017008352 A1 WO 2017008352A1 CN 2015085883 W CN2015085883 W CN 2015085883W WO 2017008352 A1 WO2017008352 A1 WO 2017008352A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
terminal
captured
cameras
data
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
Application number
PCT/CN2015/085883
Other languages
English (en)
French (fr)
Inventor
王保磊
孔令超
王强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Publication of WO2017008352A1 publication Critical patent/WO2017008352A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/95Computational photography systems, e.g. light-field imaging systems
    • H04N23/951Computational photography systems, e.g. light-field imaging systems by using two or more images to influence resolution, frame rate or aspect ratio

Definitions

  • the present invention relates to the field of terminal technologies, and in particular, to an image processing method, an image processing apparatus, and a terminal.
  • the user manually turns on the scene mode to automatically detect whether the terminal is in a low-light environment. If the terminal is in a low-light environment, the low-light mode is activated. Alternatively, the user manually switches to the weak mode in the special mode. Take a photo in light mode.
  • the invention is based on the above problems, and proposes a new technical solution.
  • photographing a captured image in a low light environment not only can the noise of the captured image be effectively reduced, but also when previewing the image to be captured is avoided. Smear appears to enhance the user experience.
  • the first aspect of the present invention provides an image processing method for a terminal, wherein the terminal is provided with a plurality of cameras, and the image processing method includes: controlling any one of the plurality of cameras Previewing the image to be captured; when it is determined that the terminal is in a low light environment, Generating the data of the image to be captured at a first frame rate in a first data channel of the other camera; determining the image to be captured according to the first target data of the image to be captured in the first data channel, wherein The first frame rate is less than a first threshold, and the other cameras are cameras other than the any one of the plurality of cameras.
  • any one of the plurality of cameras of the control terminal previews the image to be captured, and since any of the cameras is in the normal photographing mode, the preview of the image to be taken is avoided. There is a smear.
  • the data of the image to be captured is generated at the first frame rate in the first data channel of the other camera, because the first frame rate is a low frame rate, for example, the first frame rate is 24 frames per Second, so that the data of the image to be captured in the first data channel is data that has been exposed for a sufficient time, such that the first target data of the image to be captured in the first data channel (ie, the image to be captured in the first data channel)
  • the data of a certain frame of the image is decoded and the quality of the image to be captured is higher, which not only avoids the occurrence of large noise in the image to be captured, but also reduces the time of photographing, thereby improving the user.
  • the first frame rate is a low frame rate, for example, the first frame rate is 24 frames per Second
  • data of the image to be captured is generated at a second frame rate in a second data channel of any one of the cameras, wherein The second frame rate is greater than a second threshold; the second target data of the image to be captured in the second data channel is encoded and decoded to obtain the image to be captured.
  • the terminal if the terminal is not in a low light environment, that is, the light in the environment where the terminal is located is relatively strong, even if any camera is in the normal photographing mode, the data in the second data channel of any camera is sufficient. Exposing data, and generating data of the image to be captured at a second frame rate in the second data channel of any of the cameras, since the second frame rate is a high frame rate, for example, the second frame rate is 48 frames per second, thereby The quality of the image to be captured obtained by the second target data of the image to be captured acquired in the second data channel is also relatively high.
  • the method includes: acquiring an ambient brightness of a current environment in which the terminal is located; When the preset brightness is less than or equal to the preset brightness, it is determined that the terminal is in the low light environment, and if the ambient brightness is greater than the preset brightness, determining that the terminal is in the non-weak light environment.
  • the ambient brightness of the current environment in which the terminal is located, it is possible to relatively accurately determine whether the terminal is in a low-light environment, thereby obtaining different data from data channels of different cameras according to whether the terminal is in a low-light environment, In addition, large noise is avoided in the image to be captured obtained in a low light environment, which improves the user experience.
  • the ambient brightness of the current environment can be obtained by the photosensitive sensor, and of course, the ambient brightness of the current environment can also be obtained by other devices.
  • the method before the step of generating the data of the image to be captured at a first frame rate in the first data channel of the other camera, includes: controlling the other camera to operate in a low light mode under.
  • the other cameras are controlled to operate in the low light mode, that is, in the low frame rate mode, and therefore, the data in the first data channel of the other cameras is the first frame.
  • the data generated by the rate because the first frame rate is a low frame rate, so that the data in the first data channel is exposed for a sufficient time, so that the data acquired from the first data channel of other cameras in a low light environment is obtained.
  • the quality of the image to be captured is relatively high.
  • the method before the step of controlling the other cameras to operate in a low light mode, includes: displaying a prompt that the terminal is in a low light environment, and displaying a switch to the low light mode a switching button; when the switching button is triggered, performing the step of controlling the other cameras to operate in a low light mode.
  • the user can select whether to directly switch to the low light mode, thereby avoiding the user manually switching to the special effect mode.
  • the low light mode makes the terminal more intelligent, which improves the user experience.
  • a second aspect of the present invention provides an image processing apparatus for a terminal, wherein the terminal is provided with a plurality of cameras, and the image processing apparatus includes: a first control unit, configured to control the plurality of cameras Any one of the cameras to preview the image to be captured; the data generating unit is configured to: when determining that the terminal is in a low light environment, generate data of the image to be captured at a first frame rate in the first data channel of the other camera; a unit, configured to determine the image to be captured according to the first target data of the image to be captured in the first data channel, where the first frame rate is less than a first threshold, and the other cameras are Except for any of the multiple cameras A camera other than the head.
  • any one of the plurality of cameras of the control terminal previews the image to be captured, and since any of the cameras is in the normal photographing mode, the preview of the image to be taken is avoided. There is a smear.
  • the data of the image to be captured is generated at the first frame rate in the first data channel of the other camera, because the first frame rate is a low frame rate, for example, the first frame rate is 24 frames per Second, so that the data of the image to be captured in the first data channel is data that has been exposed for a sufficient time, such that the first target data of the image to be captured in the first data channel (ie, the image to be captured in the first data channel)
  • the data of a certain frame of the image is decoded and the quality of the image to be captured is higher, which not only avoids the occurrence of large noise in the image to be captured, but also reduces the time of photographing, thereby improving the user.
  • the first frame rate is a low frame rate, for example, the first frame rate is 24 frames per Second
  • the data generating unit is further configured to: when determining that the terminal is in a non-weak environment, generate a second frame rate in a second data channel of any one of the cameras The data of the captured image, wherein the second frame rate is greater than a second threshold; the processing unit is further configured to encode the second target data of the image to be captured in the second data channel and Decoding to obtain the image to be captured.
  • the terminal if the terminal is not in a low light environment, that is, the light in the environment where the terminal is located is relatively strong, even if any camera is in the normal photographing mode, the data in the second data channel of any camera is sufficient. Exposing data, and generating data of the image to be captured at a second frame rate in the second data channel of any of the cameras, since the second frame rate is a high frame rate, for example, the second frame rate is 48 frames per second, thereby The quality of the image to be captured obtained by the second target data of the image to be captured acquired in the second data channel is also relatively high.
  • the method further includes: an obtaining unit, configured to acquire an ambient brightness of a current environment in which the terminal is located; and a determining unit, configured to determine, when the ambient brightness is less than or equal to a preset brightness, The terminal is in the low light environment, and if the ambient brightness is greater than the preset brightness, determining that the terminal is in the non-weak light environment.
  • the ambient brightness of the current environment in which the terminal is located, it is possible to relatively accurately determine whether the terminal is in a low-light environment, thereby obtaining different data from data channels of different cameras according to whether the terminal is in a low-light environment, To avoid getting in low light conditions A large amount of noise appears in the image to be taken, which improves the user experience.
  • the ambient brightness of the current environment can be obtained by the photosensitive sensor, and of course, the ambient brightness of the current environment can also be obtained by other devices.
  • the data generating unit includes: a second control unit, configured to control the other cameras to operate in a low light mode.
  • the other cameras are controlled to operate in the low light mode, that is, in the low frame rate mode, and therefore, the data in the first data channel of the other cameras is the first frame.
  • the data generated by the rate because the first frame rate is a low frame rate, so that the data in the first data channel is exposed for a sufficient time, so that the data acquired from the first data channel of other cameras in a low light environment is obtained.
  • the quality of the image to be captured is relatively high.
  • the data generating unit further includes: a display unit, configured to display a prompt that the terminal is in a low light environment, and display a switching button that switches to the low light mode;
  • the processing unit is specifically configured to perform the step of controlling the other cameras to operate in a low light mode when the switching button is triggered.
  • the user can select whether to directly switch to the low light mode, thereby avoiding the user manually switching to the special effect mode.
  • the low light mode makes the terminal more intelligent, which improves the user experience.
  • a third aspect of the present invention provides a terminal comprising a communication bus, a transceiver, a memory, and a processor, wherein:
  • the communication bus is configured to implement connection communication between the transceiver device, the memory, and the processor;
  • the memory stores a set of program codes, and the processor calls the program code stored in the memory to perform the following operations:
  • the processor is configured to control any one of the plurality of cameras to preview an image to be captured
  • the processor is further configured to: when determining that the terminal is in a low light environment, generate data of the image to be captured at a first frame rate in a first data channel of another camera;
  • the processor is further configured to: according to the image to be captured in the first data channel A target data determines the image to be captured, wherein the first frame rate is less than a first threshold, and the other cameras are cameras other than the any one of the plurality of cameras.
  • the processor is further configured to: when the terminal is determined to be in a non-weak environment, generate the second frame rate in the second data channel of any one of the cameras Data of the image to be captured, wherein the second frame rate is greater than a second threshold;
  • the processor is further configured to encode and decode the second target data of the image to be captured in the second data channel to obtain the image to be captured.
  • the transceiver device is configured to acquire an ambient brightness of a current environment in which the terminal is located;
  • the processor is further configured to: if the ambient brightness is less than or equal to a preset brightness, determine that the terminal is in the low light environment, and if the ambient brightness is greater than a preset brightness, determine that the terminal is in the In the non-weak light environment.
  • the processor is further configured to perform the following steps:
  • the other cameras are controlled to operate in low light mode.
  • the processor is further configured to perform the following steps:
  • the switching button When the switching button is triggered, the step of controlling the other cameras to operate in a low light mode is performed.
  • FIG. 1 is a flow chart showing an image processing method according to an embodiment of the present invention
  • FIG. 2 is a flow chart showing an image processing method according to another embodiment of the present invention.
  • FIG. 3 is a block diagram showing the structure of an image processing apparatus according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • FIG. 5 is a block diagram showing the structure of a terminal according to another embodiment of the present invention.
  • FIG. 1 shows a flow chart of an image processing method according to an embodiment of the present invention.
  • an image processing method is used for a terminal, and the terminal is provided with a plurality of cameras, and the image processing method includes:
  • Step 102 controlling any one of the plurality of cameras to preview an image to be captured
  • Step 104 When it is determined that the terminal is in a low light environment, generate data of the image to be captured at a first frame rate in a first data channel of another camera;
  • Step 106 Determine the image to be captured according to the first target data of the image to be captured in the first data channel, where the first frame rate is less than a first threshold, and the other cameras are A camera other than any of the cameras in the camera.
  • any one of the plurality of cameras of the control terminal previews the image to be captured, and since any of the cameras is in the normal photographing mode, the preview of the image to be taken is avoided. There is a smear.
  • the data of the image to be captured is generated at the first frame rate in the first data channel of the other camera, because the first frame rate is a low frame rate, for example, the first frame rate is 24 frames per Second, so that the data of the image to be captured in the first data channel is data that has been exposed for a sufficient time, such that the first target data of the image to be captured in the first data channel (ie, the image to be captured in the first data channel)
  • the data of a certain frame of the image is decoded and the quality of the image to be captured is higher, which not only avoids the occurrence of large noise in the image to be captured, but also reduces the time of photographing, thereby improving the user.
  • the first frame rate is a low frame rate, for example, the first frame rate is 24 frames per Second
  • the terminal if the terminal is not in a low light environment, that is, the light in the environment where the terminal is located is relatively strong, even if any camera is in the normal photographing mode, the data in the second data channel of any camera is sufficient. Exposing data, and generating data of the image to be captured at a second frame rate in the second data channel of any of the cameras, since the second frame rate is a high frame rate, for example, the second frame rate is 48 frames per second, thereby The quality of the image to be captured obtained by the second target data of the image to be captured acquired in the second data channel is also relatively high.
  • the method includes: acquiring an ambient brightness of a current environment in which the terminal is located; and determining, if the ambient brightness is less than or equal to a preset brightness, determining that the terminal is in the low light In an environment, if the ambient brightness is greater than a preset brightness, determining that the terminal is in the non-weak light environment.
  • the ambient brightness of the current environment in which the terminal is located, it is possible to relatively accurately determine whether the terminal is in a low-light environment, thereby obtaining different data from data channels of different cameras according to whether the terminal is in a low-light environment, In addition, large noise is avoided in the image to be captured obtained in a low light environment, which improves the user experience.
  • the ambient brightness of the current environment can be obtained by the photosensitive sensor, and of course, the ambient brightness of the current environment can also be obtained by other devices.
  • the method before the step of generating the data of the image to be captured at a first frame rate in the first data channel of the other camera, includes: controlling the other camera to operate in a low light mode under.
  • the other cameras are controlled to operate in the low light mode, that is, in the low frame rate mode, and therefore, the data in the first data channel of the other cameras is the first frame.
  • the data generated by the rate because the first frame rate is a low frame rate, so that the data in the first data channel is exposed for a sufficient time, so that the data acquired from the first data channel of other cameras in a low light environment is obtained.
  • the quality of the image to be captured is relatively high.
  • the method before the step of controlling the other cameras to operate in a low light mode, includes: displaying a prompt that the terminal is in a low light environment, and displaying Switching to the low light mode switching button; when the switching button is triggered, performing the step of controlling the other cameras to operate in a low light mode.
  • the user can select whether to directly switch to the low light mode, thereby avoiding the user manually switching to the special effect mode.
  • the low light mode makes the terminal more intelligent, which improves the user experience.
  • FIG. 2 is a flow chart showing an image processing method according to another embodiment of the present invention.
  • an image processing method (in this embodiment, the terminal is a mobile phone, and two cameras, that is, a main camera and a sub-camera are disposed on the mobile phone), include:
  • Step 202 Trigger a camera icon in the mobile phone to activate the camera application in the mobile phone.
  • Step 204 Control the main camera (ie, any camera) running in the normal mode to preview the image to be captured.
  • Step 206 Acquire an ambient brightness of the current environment.
  • Step 208 Determine whether the mobile phone is in a low-light environment according to the ambient brightness.
  • determining that the mobile phone is in a low-light environment generate data of the image to be captured at a first frame rate in a first data channel of the sub-camera (ie, other cameras). And acquiring data (first target data) of a certain frame of the image to be captured from the first data channel of the sub camera to decode and encode the image to be captured.
  • FIG. 3 is a block diagram showing the structure of an image processing apparatus according to an embodiment of the present invention.
  • an image processing apparatus 300 is used for a terminal, and the terminal is provided with a plurality of cameras.
  • the image processing apparatus 300 includes: a first control unit 302 for controlling Any one of the plurality of cameras previews an image to be captured; the data generating unit 304 is configured to generate the first frame rate in the first data channel of the other camera when the terminal is determined to be in a low light environment Determining the data of the captured image; the processing unit 306, configured to determine the image to be captured according to the first target data of the image to be captured in the first data channel, wherein the first frame rate is smaller than the first a threshold, the other camera being a camera other than any of the plurality of cameras.
  • the data of the image to be captured is generated at the first frame rate in the first data channel of the other camera, because the first frame rate is a low frame rate, for example, the first frame rate is 24 frames per Second, so that the data of the image to be captured in the first data channel is data that has been exposed for a sufficient time, such that the first target data of the image to be captured in the first data channel (ie, the image to be captured in the first data channel)
  • the data of a certain frame of the image is decoded and the quality of the image to be captured is higher, which not only avoids the occurrence of large noise in the image to be captured, but also reduces the time of photographing, thereby improving the user.
  • the first frame rate is a low frame rate, for example, the first frame rate is 24 frames per Second
  • the data generating unit 304 is further configured to generate, at a second frame rate, in the second data channel of any one of the cameras when determining that the terminal is in a non-weak environment.
  • the processing unit 306 is further configured to perform second target data of the image to be captured in the second data channel Encoding and decoding to obtain the image to be captured.
  • the terminal if the terminal is not in a low light environment, that is, the light in the environment where the terminal is located is relatively strong, even if any camera is in the normal photographing mode, the data in the second data channel of any camera is sufficient. Exposing data, and generating data of the image to be captured at a second frame rate in the second data channel of any of the cameras, since the second frame rate is a high frame rate, for example, the second frame rate is 48 frames per second, thereby The quality of the image to be captured obtained by the second target data of the image to be captured acquired in the second data channel is also relatively high.
  • the method further includes: an obtaining unit 308, configured to acquire an ambient brightness of a current environment where the terminal is located; and a determining unit 310, configured to determine, when the ambient brightness is less than or equal to a preset brightness, The terminal is in the low light environment, and if the ambient brightness is greater than the preset brightness, determining that the terminal is in the non-weak environment.
  • the ambient brightness of the current environment in which the terminal is located, it is possible to relatively accurately determine whether the terminal is in a low-light environment, thereby obtaining different data from data channels of different cameras according to whether the terminal is in a low-light environment, In addition, large noise is avoided in the image to be captured obtained in a low light environment, which improves the user experience.
  • the ambient brightness of the current environment can be obtained by the photosensitive sensor, and of course, it can also be obtained by other devices. The ambient brightness of the pre-environment.
  • the data generating unit 304 includes: a second control unit 3042, configured to control the other cameras to operate in a low light mode.
  • the other cameras are controlled to operate in the low light mode, that is, in the low frame rate mode, and therefore, the data in the first data channel of the other cameras is the first frame.
  • the data generated by the rate because the first frame rate is a low frame rate, so that the data in the first data channel is exposed for a sufficient time, so that the data acquired from the first data channel of other cameras in a low light environment is obtained.
  • the quality of the image to be captured is relatively high.
  • the data generating unit 304 further includes: a display unit 3044, configured to display a prompt that the terminal is in a low light environment, and display a switching button that is switched to the low light mode;
  • the processing unit 306 is specifically configured to perform the step of controlling the other cameras to operate in a low light mode when the switching button is triggered.
  • the user can select whether to directly switch to the low light mode, thereby avoiding the user manually switching to the special effect mode.
  • the low light mode makes the terminal more intelligent, which improves the user experience.
  • FIG. 4 shows a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • the terminal 400 includes the image processing apparatus 300 according to any one of the above aspects, and therefore, the terminal 400 has the method described in any one of the above aspects.
  • the same technical effects of the image processing apparatus 300 will not be described herein.
  • FIG. 5 is a block diagram showing the structure of a terminal according to another embodiment of the present invention.
  • the terminal includes a communication bus 500, a transceiver 501, a memory 502, and a processor 503 (the number of processors 503 of the terminal may be one or more, and one processor in FIG. 5 is taken as an example), wherein:
  • the communication bus 500 is configured to implement connection communication between the transceiver device 501, the memory 502, and the processor 503.
  • the memory 502 stores a set of program codes, and the processor 503 calls the program code stored in the memory 502 for performing the following operations:
  • the processor 503 is configured to control any one of the plurality of cameras to preview an image to be captured
  • the processor 503 is further configured to: when determining that the terminal is in a low light environment, generate data of the image to be captured at a first frame rate in a first data channel of another camera;
  • the processor 503 is further configured to determine the image to be captured according to the first target data of the image to be captured in the first data channel, where the first frame rate is less than a first threshold,
  • the other cameras are cameras other than any of the plurality of cameras.
  • the processor 503 is further configured to: when determining that the terminal is in a non-weak environment, generate a second frame rate in a second data channel of any one of the cameras Determining data of the captured image, wherein the second frame rate is greater than a second threshold;
  • the processor 503 is further configured to encode and decode the second target data of the image to be captured in the second data channel to obtain the image to be captured.
  • the transceiver device 501 is configured to acquire an ambient brightness of a current environment where the terminal is located;
  • the processor 503 is further configured to: if the ambient brightness is less than or equal to a preset brightness, determine that the terminal is in the low light environment, and if the ambient brightness is greater than a preset brightness, determine that the terminal is in the In the non-weak light environment.
  • the processor 503 is further configured to perform the following steps:
  • the other cameras are controlled to operate in low light mode.
  • the processor 503 is further configured to perform the following steps:
  • the switching button When the switching button is triggered, the step of controlling the other cameras to operate in a low light mode is performed.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Image Processing (AREA)

Abstract

提出了一种图像处理方法、图像处理装置和终端,其中,所述图像处理方法包括:控制所述多个摄像头中的任一摄像头预览待拍摄图像;当判定所述终端处于弱光环境下时,在其他摄像头的第一数据通道中以第一帧率生成所述待拍摄图像的数据;根据所述第一数据通道中的所述待拍摄图像的第一目标数据确定所述待拍摄图像,其中,所述第一帧率小于第一阈值,所述其他摄像头为所述多个摄像头中的除所述任一摄像头之外的摄像头。通过该技术方案,当在弱光环境下对待拍摄图像进行拍照时,不仅可以有效地减少拍摄得到的图片的噪点,还避免了在预览待拍摄图像时出现拖影,从而提升用户体验。

Description

图像处理方法、图像处理装置和终端
本申请要求于2015年7月15日提交中国专利局、申请号为201510417390.7,发明名称为“图像处理方法、图像处理装置和终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及终端技术领域,具体而言,涉及一种图像处理方法、一种图像处理装置和一种终端。
背景技术
目前,终端在进行拍照时,若是在弱光环境下则拍照出的照片的噪点比较大,导致在弱光环境下拍摄得到的照片的质量较差。在相关技术中,通常用户手动开启场景模式来自动检测终端是否为处于弱光环境,若终端处于弱光环境,则启动弱光模式,另一种方案是,用户手动切换至特效模式下的弱光模式进行拍照。
但是,开启弱光模式均需要用户手动来开启,并且由于在弱光模式下需要长时间的曝光和处理,导致拍照时需要花费很长时间,而且在弱光环境下拍照得到的照片的噪点比较大,以及在预览待拍摄图像时也会导致图像拖影严重,导致用户不好的使用体验。
因此,如何在弱光环境下时减少拍摄得到的图片的噪点,同时避免在预览待拍摄图像时出现拖影成为亟待解决的问题。
发明内容
本发明正是基于上述问题,提出了一种新的技术方案,在弱光环境下对待拍摄图像进行拍照时,不仅可以有效地减少拍摄得到的图片的噪点,还避免了在预览待拍摄图像时出现拖影,从而提升用户体验。
有鉴于此,本发明的第一方面提出了一种图像处理方法,用于终端,所述终端上设置有多个摄像头,所述图像处理方法包括:控制所述多个摄像头中的任一摄像头预览待拍摄图像;当判定所述终端处于弱光环境下时, 在其他摄像头的第一数据通道中以第一帧率生成所述待拍摄图像的数据;根据所述第一数据通道中的所述待拍摄图像的第一目标数据确定所述待拍摄图像,其中,所述第一帧率小于第一阈值,所述其他摄像头为所述多个摄像头中的除所述任一摄像头之外的摄像头。
在该技术方案中,当终端处于弱光环境下拍照时,控制终端的多个摄像头中的任一摄像头预览待拍摄图像,由于任一摄像头处于正常的拍照模式下,避免了在预览待拍摄图像时出现拖影。而且在对待拍摄图像进行拍照时,在其他摄像头的第一数据通道中以第一帧率生成待拍摄图像的数据,由于第一帧率为低帧率,例如,第一帧率为24帧每秒,使得在第一数据通道中的待拍摄图像的数据为经过足够的时间曝光的数据,这样对第一数据通道中的待拍摄图像的第一目标数据(即第一数据通道中的待拍摄图像的某一帧的数据)解码以及编码得到的待拍摄图像的质量就比较高,不仅避免了在拍照得到的待拍摄图像中出现较大的噪点,还减少了拍照的时间,从而提升了用户体验。
在上述技术方案中,优选地,当判定所述终端处于非弱光环境下时,在所述任一摄像头的第二数据通道中以第二帧率生成所述待拍摄图像的数据,其中,所述第二帧率大于第二阈值;对所述第二数据通道中的所述待拍摄图像的第二目标数据进行编码以及解码以得到所述待拍摄图像。
在该技术方案中,若终端不是在弱光环境下,即终端所在的环境的光线比较强,即使任一摄像头处于正常的拍照模式下,在任一摄像头的第二数据通道中的数据为经过充分曝光的数据,且在任一摄像头的第二数据通道中以第二帧率生成待拍摄图像的数据,由于第二帧率为高帧率,例如,第二帧率为48帧每秒,从而在第二数据通道中获取到的待拍摄图像的第二目标数据得到的待拍摄图像的质量也比较高。
在上述技术方案中,优选地,在所述控制所述多个摄像头中的任一摄像头预览待拍摄图像的步骤之后,包括:获取所述终端所在的当前环境的环境亮度;若所述环境亮度小于或等于预设亮度时,判定所述终端处于所述弱光环境下,若所述环境亮度大于预设亮度时,判定所述终端处于所述非弱光环境下。
在该技术方案中,通过获取终端所在的当前环境的环境亮度可以比较准确地确定终端是否处于弱光环境,从而根据终端是否处于弱光环境来从不同的摄像头的数据通道中获取不同的数据,进而避免在弱光环境下得到的待拍摄图像中出现较大的噪点,提升了用户体验。优选地,可以通过感光传感器来获取当前环境的环境亮度,当然也可以通过其他装置来获取当前环境的环境亮度。
在上述技术方案中,优选地,在所述在其他摄像头的第一数据通道中以第一帧率生成所述待拍摄图像的数据的步骤之前,包括:控制所述其他摄像头运行在弱光模式下。
在该技术方案中,若终端处于弱光环境下,则控制其他摄像头运行在弱光模式下,即低帧率模式下,因此,在其他摄像头的第一数据通道中的数据为以第一帧率生成的数据,由于第一帧率为低帧率,这样使第一数据通道中的数据经过足够的时间曝光,从而在弱光环境下从其他摄像头的第一数据通道中获取到的数据得到的待拍摄图像的质量比较高。
在上述技术方案中,优选地,在所述控制所述其他摄像头运行在弱光模式下的步骤之前,包括:显示所述终端处于弱光环境下的提示,以及显示切换至所述弱光模式的切换按钮;当触发所述切换按钮时,执行所述控制所述其他摄像头运行在弱光模式下的步骤。
在该技术方案中,通过显示终端处于弱光环境下的提示以及显示弱光模式的切换按钮,以供用户来选择是否直接切换至弱光模式下,从而避免了用户手动切换至特效模式中的弱光模式,使终端更加智能化,进而提升了用户体验。
本发明的第二方面提出了一种图像处理装置,用于终端,所述终端上设置有多个摄像头,所述图像处理装置包括:第一控制单元,用于控制所述多个摄像头中的任一摄像头预览待拍摄图像;数据生成单元,用于当判定所述终端处于弱光环境下时,在其他摄像头的第一数据通道中以第一帧率生成所述待拍摄图像的数据;处理单元,用于根据所述第一数据通道中的所述待拍摄图像的第一目标数据确定所述待拍摄图像,其中,所述第一帧率小于第一阈值,所述其他摄像头为所述多个摄像头中的除所述任一摄 像头之外的摄像头。
在该技术方案中,当终端处于弱光环境下拍照时,控制终端的多个摄像头中的任一摄像头预览待拍摄图像,由于任一摄像头处于正常的拍照模式下,避免了在预览待拍摄图像时出现拖影。而且在对待拍摄图像进行拍照时,在其他摄像头的第一数据通道中以第一帧率生成待拍摄图像的数据,由于第一帧率为低帧率,例如,第一帧率为24帧每秒,使得在第一数据通道中的待拍摄图像的数据为经过足够的时间曝光的数据,这样对第一数据通道中的待拍摄图像的第一目标数据(即第一数据通道中的待拍摄图像的某一帧的数据)解码以及编码得到的待拍摄图像的质量就比较高,不仅避免了在拍照得到的待拍摄图像中出现较大的噪点,还减少了拍照的时间,从而提升了用户体验。
在上述技术方案中,优选地,所述数据生成单元,还用于当判定所述终端处于非弱光环境下时,在所述任一摄像头的第二数据通道中以第二帧率生成所述待拍摄图像的数据,其中,所述第二帧率大于第二阈值;所述处理单元,还用于对所述第二数据通道中的所述待拍摄图像的第二目标数据进行编码以及解码以得到所述待拍摄图像。
在该技术方案中,若终端不是在弱光环境下,即终端所在的环境的光线比较强,即使任一摄像头处于正常的拍照模式下,在任一摄像头的第二数据通道中的数据为经过充分曝光的数据,且在任一摄像头的第二数据通道中以第二帧率生成待拍摄图像的数据,由于第二帧率为高帧率,例如,第二帧率为48帧每秒,从而在第二数据通道中获取到的待拍摄图像的第二目标数据得到的待拍摄图像的质量也比较高。
在上述技术方案中,优选地,还包括:获取单元,用于获取所述终端所在的当前环境的环境亮度;判定单元,用于若所述环境亮度小于或等于预设亮度时,判定所述终端处于所述弱光环境下,若所述环境亮度大于预设亮度时,判定所述终端处于所述非弱光环境下。
在该技术方案中,通过获取终端所在的当前环境的环境亮度可以比较准确地确定终端是否处于弱光环境,从而根据终端是否处于弱光环境来从不同的摄像头的数据通道中获取不同的数据,进而避免在弱光环境下得到 的待拍摄图像中出现较大的噪点,提升了用户体验。优选地,可以通过感光传感器来获取当前环境的环境亮度,当然也可以通过其他装置来获取当前环境的环境亮度。
在上述技术方案中,优选地,所述数据生成单元包括:第二控制单元,用于控制所述其他摄像头运行在弱光模式下。
在该技术方案中,若终端处于弱光环境下,则控制其他摄像头运行在弱光模式下,即低帧率模式下,因此,在其他摄像头的第一数据通道中的数据为以第一帧率生成的数据,由于第一帧率为低帧率,这样使第一数据通道中的数据经过足够的时间曝光,从而在弱光环境下从其他摄像头的第一数据通道中获取到的数据得到的待拍摄图像的质量比较高。
在上述技术方案中,优选地,所述数据生成单元,还包括:显示单元,用于显示所述终端处于弱光环境下的提示,以及显示切换至所述弱光模式的切换按钮;所述处理单元具体用于,当触发所述切换按钮时,执行所述控制所述其他摄像头运行在弱光模式下的步骤。
在该技术方案中,通过显示终端处于弱光环境下的提示以及显示弱光模式的切换按钮,以供用户来选择是否直接切换至弱光模式下,从而避免了用户手动切换至特效模式中的弱光模式,使终端更加智能化,进而提升了用户体验。
本发明的第三方面提出了一种终端,包括通信总线、收发装置、存储器以及处理器,其中:
所述通信总线,用于实现所述收发装置、所述存储器以及所述处理器之间的连接通信;
所述存储器中存储一组程序代码,且处理器调用存储器中存储的程序代码,用于执行以下操作:
所述处理器,用于控制所述多个摄像头中的任一摄像头预览待拍摄图像;
所述处理器,还用于当判定所述终端处于弱光环境下时,在其他摄像头的第一数据通道中以第一帧率生成所述待拍摄图像的数据;
所述处理器,还用于根据所述第一数据通道中的所述待拍摄图像的第 一目标数据确定所述待拍摄图像,其中,所述第一帧率小于第一阈值,所述其他摄像头为所述多个摄像头中的除所述任一摄像头之外的摄像头。
在上述技术方案中,优选地,所述处理器,还用于当判定所述终端处于非弱光环境下时,在所述任一摄像头的第二数据通道中以第二帧率生成所述待拍摄图像的数据,其中,所述第二帧率大于第二阈值;
所述处理器,还用于对所述第二数据通道中的所述待拍摄图像的第二目标数据进行编码以及解码以得到所述待拍摄图像。
在上述技术方案中,优选地,所述收发装置,用于获取所述终端所在的当前环境的环境亮度;
所述处理器,还用于若所述环境亮度小于或等于预设亮度时,判定所述终端处于所述弱光环境下,若所述环境亮度大于预设亮度时,判定所述终端处于所述非弱光环境下。
在上述技术方案中,优选地,所述处理器,还用于执行如下步骤:
控制所述其他摄像头运行在弱光模式下。
在上述技术方案中,优选地,所述处理器,还用于执行如下步骤:
显示所述终端处于弱光环境下的提示,以及显示切换至所述弱光模式的切换按钮;
当触发所述切换按钮时,执行所述控制所述其他摄像头运行在弱光模式下的步骤。
通过本发明的技术方案,当在弱光环境下对待拍摄图像进行拍照时,不仅可以有效地减少拍摄得到的图片的噪点,还避免了在预览待拍摄图像时出现拖影,从而提升用户体验。
附图说明
图1示出了根据本发明的一个实施例的图像处理方法的流程示意图;
图2示出了根据本发明的另一个实施例的图像处理方法的流程示意图;
图3示出了根据本发明的一个实施例的图像处理装置的结构示意图;
图4示出了根据本发明的一个实施例的终端的结构示意图;
图5示出了根据本发明的另一个实施例的终端的结构示意图。
具体实施方式
为了可以更清楚地理解本发明的上述目的、特征和优点,下面结合附图和具体实施方式对本发明进行进一步的详细描述。需要说明的是,在不冲突的情况下,本申请的实施例及实施例中的特征可以相互组合。
在下面的描述中阐述了很多具体细节以便于充分理解本发明,但是,本发明还可以采用其他不同于在此描述的其他方式来实施,因此,本发明的保护范围并不受下面公开的具体实施例的限制。
图1示出了根据本发明的一个实施例的图像处理方法的流程示意图。
如图1所示,根据本发明的一个实施例的图像处理方法,用于终端,所述终端上设置有多个摄像头,所述图像处理方法包括:
步骤102,控制所述多个摄像头中的任一摄像头预览待拍摄图像;
步骤104,当判定所述终端处于弱光环境下时,在其他摄像头的第一数据通道中以第一帧率生成所述待拍摄图像的数据;
步骤106,根据所述第一数据通道中的所述待拍摄图像的第一目标数据确定所述待拍摄图像,其中,所述第一帧率小于第一阈值,所述其他摄像头为所述多个摄像头中的除所述任一摄像头之外的摄像头。
在该技术方案中,当终端处于弱光环境下拍照时,控制终端的多个摄像头中的任一摄像头预览待拍摄图像,由于任一摄像头处于正常的拍照模式下,避免了在预览待拍摄图像时出现拖影。而且在对待拍摄图像进行拍照时,在其他摄像头的第一数据通道中以第一帧率生成待拍摄图像的数据,由于第一帧率为低帧率,例如,第一帧率为24帧每秒,使得在第一数据通道中的待拍摄图像的数据为经过足够的时间曝光的数据,这样对第一数据通道中的待拍摄图像的第一目标数据(即第一数据通道中的待拍摄图像的某一帧的数据)解码以及编码得到的待拍摄图像的质量就比较高,不仅避免了在拍照得到的待拍摄图像中出现较大的噪点,还减少了拍照的时间,从而提升了用户体验。
在上述技术方案中,优选地,当判定所述终端处于非弱光环境下时, 在所述任一摄像头的第二数据通道中以第二帧率生成所述待拍摄图像的数据,其中,所述第二帧率大于第二阈值;对所述第二数据通道中的所述待拍摄图像的第二目标数据进行编码以及解码以得到所述待拍摄图像。
在该技术方案中,若终端不是在弱光环境下,即终端所在的环境的光线比较强,即使任一摄像头处于正常的拍照模式下,在任一摄像头的第二数据通道中的数据为经过充分曝光的数据,且在任一摄像头的第二数据通道中以第二帧率生成待拍摄图像的数据,由于第二帧率为高帧率,例如,第二帧率为48帧每秒,从而在第二数据通道中获取到的待拍摄图像的第二目标数据得到的待拍摄图像的质量也比较高。
在上述技术方案中,优选地,在步骤102之后,包括:获取所述终端所在的当前环境的环境亮度;若所述环境亮度小于或等于预设亮度时,判定所述终端处于所述弱光环境下,若所述环境亮度大于预设亮度时,判定所述终端处于所述非弱光环境下。
在该技术方案中,通过获取终端所在的当前环境的环境亮度可以比较准确地确定终端是否处于弱光环境,从而根据终端是否处于弱光环境来从不同的摄像头的数据通道中获取不同的数据,进而避免在弱光环境下得到的待拍摄图像中出现较大的噪点,提升了用户体验。优选地,可以通过感光传感器来获取当前环境的环境亮度,当然也可以通过其他装置来获取当前环境的环境亮度。
在上述技术方案中,优选地,在所述在其他摄像头的第一数据通道中以第一帧率生成所述待拍摄图像的数据的步骤之前,包括:控制所述其他摄像头运行在弱光模式下。
在该技术方案中,若终端处于弱光环境下,则控制其他摄像头运行在弱光模式下,即低帧率模式下,因此,在其他摄像头的第一数据通道中的数据为以第一帧率生成的数据,由于第一帧率为低帧率,这样使第一数据通道中的数据经过足够的时间曝光,从而在弱光环境下从其他摄像头的第一数据通道中获取到的数据得到的待拍摄图像的质量比较高。
在上述技术方案中,优选地,在所述控制所述其他摄像头运行在弱光模式下的步骤之前,包括:显示所述终端处于弱光环境下的提示,以及显 示切换至所述弱光模式的切换按钮;当触发所述切换按钮时,执行所述控制所述其他摄像头运行在弱光模式下的步骤。
在该技术方案中,通过显示终端处于弱光环境下的提示以及显示弱光模式的切换按钮,以供用户来选择是否直接切换至弱光模式下,从而避免了用户手动切换至特效模式中的弱光模式,使终端更加智能化,进而提升了用户体验。
图2示出了根据本发明的另一个实施例的图像处理方法的流程示意图。
如图2所示,根据本发明的另一个实施例的图像处理方法(在该实施例中,终端为手机,且在手机上设置有两个摄像头,即主摄像头和副摄像头),包括:
步骤202,触发手机中的相机图标,以启动手机中的相机应用。
步骤204,控制运行在正常模式下的主摄像头(即任一摄像头)预览待拍摄图像。
步骤206,获取当前环境的环境亮度。
步骤208,根据环境亮度判断手机是否处于弱光环境,当判定手机处于弱光环境下时,在副摄像头(即其他摄像头)的第一数据通道中以第一帧率生成待拍摄图像的数据,并从副摄像头的第一数据通道中获取待拍摄图像的某一帧的数据(第一目标数据)以解码和编码得到该待拍摄图像。
图3示出了根据本发明的一个实施例的图像处理装置的结构示意图。
如图3所示,根据本发明的一个实施例的图像处理装置300,用于终端,所述终端上设置有多个摄像头,所述图像处理装置300包括:第一控制单元302,用于控制所述多个摄像头中的任一摄像头预览待拍摄图像;数据生成单元304,用于当判定所述终端处于弱光环境下时,在其他摄像头的第一数据通道中以第一帧率生成所述待拍摄图像的数据;处理单元306,用于根据所述第一数据通道中的所述待拍摄图像的第一目标数据确定所述待拍摄图像,其中,所述第一帧率小于第一阈值,所述其他摄像头为所述多个摄像头中的除所述任一摄像头之外的摄像头。
在该技术方案中,当终端处于弱光环境下拍照时,控制终端的多个摄 像头中的任一摄像头预览待拍摄图像,由于任一摄像头处于正常的拍照模式下,避免了在预览待拍摄图像时出现拖影。而且在对待拍摄图像进行拍照时,在其他摄像头的第一数据通道中以第一帧率生成待拍摄图像的数据,由于第一帧率为低帧率,例如,第一帧率为24帧每秒,使得在第一数据通道中的待拍摄图像的数据为经过足够的时间曝光的数据,这样对第一数据通道中的待拍摄图像的第一目标数据(即第一数据通道中的待拍摄图像的某一帧的数据)解码以及编码得到的待拍摄图像的质量就比较高,不仅避免了在拍照得到的待拍摄图像中出现较大的噪点,还减少了拍照的时间,从而提升了用户体验。
在上述技术方案中,优选地,所述数据生成单元304,还用于当判定所述终端处于非弱光环境下时,在所述任一摄像头的第二数据通道中以第二帧率生成所述待拍摄图像的数据,其中,所述第二帧率大于第二阈值;所述处理单元306,还用于对所述第二数据通道中的所述待拍摄图像的第二目标数据进行编码以及解码以得到所述待拍摄图像。
在该技术方案中,若终端不是在弱光环境下,即终端所在的环境的光线比较强,即使任一摄像头处于正常的拍照模式下,在任一摄像头的第二数据通道中的数据为经过充分曝光的数据,且在任一摄像头的第二数据通道中以第二帧率生成待拍摄图像的数据,由于第二帧率为高帧率,例如,第二帧率为48帧每秒,从而在第二数据通道中获取到的待拍摄图像的第二目标数据得到的待拍摄图像的质量也比较高。
在上述技术方案中,优选地,还包括:获取单元308,用于获取所述终端所在的当前环境的环境亮度;判定单元310,用于若所述环境亮度小于或等于预设亮度时,判定所述终端处于所述弱光环境下,若所述环境亮度大于预设亮度时,判定所述终端处于所述非弱光环境下。
在该技术方案中,通过获取终端所在的当前环境的环境亮度可以比较准确地确定终端是否处于弱光环境,从而根据终端是否处于弱光环境来从不同的摄像头的数据通道中获取不同的数据,进而避免在弱光环境下得到的待拍摄图像中出现较大的噪点,提升了用户体验。优选地,可以通过感光传感器来获取当前环境的环境亮度,当然也可以通过其他装置来获取当 前环境的环境亮度。
在上述技术方案中,优选地,所述数据生成单元304包括:第二控制单元3042,用于控制所述其他摄像头运行在弱光模式下。
在该技术方案中,若终端处于弱光环境下,则控制其他摄像头运行在弱光模式下,即低帧率模式下,因此,在其他摄像头的第一数据通道中的数据为以第一帧率生成的数据,由于第一帧率为低帧率,这样使第一数据通道中的数据经过足够的时间曝光,从而在弱光环境下从其他摄像头的第一数据通道中获取到的数据得到的待拍摄图像的质量比较高。
在上述技术方案中,优选地,所述数据生成单元304,还包括:显示单元3044,用于显示所述终端处于弱光环境下的提示,以及显示切换至所述弱光模式的切换按钮;所述处理单元306具体用于,当触发所述切换按钮时,执行所述控制所述其他摄像头运行在弱光模式下的步骤。
在该技术方案中,通过显示终端处于弱光环境下的提示以及显示弱光模式的切换按钮,以供用户来选择是否直接切换至弱光模式下,从而避免了用户手动切换至特效模式中的弱光模式,使终端更加智能化,进而提升了用户体验。
图4示出了根据本发明的一个实施例的终端的结构示意图。
如图4所示,根据本发明的一个实施例的终端400,包括上述技术方案中任一项所述的图像处理装置300,因此,该终端400具有和上述技术方案中任一项所述的图像处理装置300相同的技术效果,在此不再赘述。
图5示出了根据本发明的另一个实施例的终端的结构示意图。如图5所示,终端包括通信总线500、收发装置501、存储器502以及处理器503(终端的处理器503的数量可以为一个或多个,图5中以一个处理器为例),其中:
所述通信总线500,用于实现所述收发装置501、所述存储器502以及所述处理器503之间的连接通信;
所述存储器502中存储一组程序代码,且处理器503调用存储器502中存储的程序代码,用于执行以下操作:
所述处理器503,用于控制所述多个摄像头中的任一摄像头预览待拍摄图像;
所述处理器503,还用于当判定所述终端处于弱光环境下时,在其他摄像头的第一数据通道中以第一帧率生成所述待拍摄图像的数据;
所述处理器503,还用于根据所述第一数据通道中的所述待拍摄图像的第一目标数据确定所述待拍摄图像,其中,所述第一帧率小于第一阈值,所述其他摄像头为所述多个摄像头中的除所述任一摄像头之外的摄像头。
在上述技术方案中,优选地,所述处理器503,还用于当判定所述终端处于非弱光环境下时,在所述任一摄像头的第二数据通道中以第二帧率生成所述待拍摄图像的数据,其中,所述第二帧率大于第二阈值;
所述处理器503,还用于对所述第二数据通道中的所述待拍摄图像的第二目标数据进行编码以及解码以得到所述待拍摄图像。
在上述技术方案中,优选地,所述收发装置501,用于获取所述终端所在的当前环境的环境亮度;
所述处理器503,还用于若所述环境亮度小于或等于预设亮度时,判定所述终端处于所述弱光环境下,若所述环境亮度大于预设亮度时,判定所述终端处于所述非弱光环境下。
在上述技术方案中,优选地,所述处理器503,还用于执行如下步骤:
控制所述其他摄像头运行在弱光模式下。
在上述技术方案中,优选地,所述处理器503,还用于执行如下步骤:
显示所述终端处于弱光环境下的提示,以及显示切换至所述弱光模式的切换按钮;
当触发所述切换按钮时,执行所述控制所述其他摄像头运行在弱光模式下的步骤。
以上结合附图详细说明了本发明的技术方案,当在弱光环境下对待拍摄图像进行拍照时,不仅可以有效地减少拍摄得到的图片的噪点,还避免了在预览待拍摄图像时出现拖影,从而提升用户体验。
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (15)

  1. 一种图像处理方法,用于终端,其特征在于,所述终端上设置有多个摄像头,所述图像处理方法包括:
    控制所述多个摄像头中的任一摄像头预览待拍摄图像;
    当判定所述终端处于弱光环境下时,在其他摄像头的第一数据通道中以第一帧率生成所述待拍摄图像的数据;
    根据所述第一数据通道中的所述待拍摄图像的第一目标数据确定所述待拍摄图像,其中,所述第一帧率小于第一阈值,所述其他摄像头为所述多个摄像头中的除所述任一摄像头之外的摄像头。
  2. 根据权利要求1所述的图像处理方法,其特征在于,
    当判定所述终端处于非弱光环境下时,在所述任一摄像头的第二数据通道中以第二帧率生成所述待拍摄图像的数据,其中,所述第二帧率大于第二阈值;
    对所述第二数据通道中的所述待拍摄图像的第二目标数据进行编码以及解码以得到所述待拍摄图像。
  3. 根据权利要求2所述的图像处理方法,其特征在于,在所述控制所述多个摄像头中的任一摄像头预览待拍摄图像的步骤之后,包括:
    获取所述终端所在的当前环境的环境亮度;
    若所述环境亮度小于或等于预设亮度时,判定所述终端处于所述弱光环境下,若所述环境亮度大于预设亮度时,判定所述终端处于所述非弱光环境下。
  4. 根据权利要求1至3中任一项所述的图像处理方法,其特征在于,在所述在其他摄像头的第一数据通道中以第一帧率生成所述待拍摄图像的数据的步骤之前,包括:
    控制所述其他摄像头运行在弱光模式下。
  5. 根据权利要求4所述的图像处理方法,其特征在于,在所述控制所述其他摄像头运行在弱光模式下的步骤之前,包括:
    显示所述终端处于弱光环境下的提示,以及显示切换至所述弱光模式 的切换按钮;
    当触发所述切换按钮时,执行所述控制所述其他摄像头运行在弱光模式下的步骤。
  6. 一种图像处理装置,用于终端,其特征在于,所述终端上设置有多个摄像头,所述图像处理装置包括:
    第一控制单元,用于控制所述多个摄像头中的任一摄像头预览待拍摄图像;
    数据生成单元,用于当判定所述终端处于弱光环境下时,在其他摄像头的第一数据通道中以第一帧率生成所述待拍摄图像的数据;
    处理单元,用于根据所述第一数据通道中的所述待拍摄图像的第一目标数据确定所述待拍摄图像,其中,所述第一帧率小于第一阈值,所述其他摄像头为所述多个摄像头中的除所述任一摄像头之外的摄像头。
  7. 根据权利要求6所述的图像处理装置,其特征在于,
    所述数据生成单元,还用于当判定所述终端处于非弱光环境下时,在所述任一摄像头的第二数据通道中以第二帧率生成所述待拍摄图像的数据,其中,所述第二帧率大于第二阈值;
    所述处理单元,还用于对所述第二数据通道中的所述待拍摄图像的第二目标数据进行编码以及解码以得到所述待拍摄图像。
  8. 根据权利要求7所述的图像处理装置,其特征在于,还包括:
    获取单元,用于获取所述终端所在的当前环境的环境亮度;
    判定单元,用于若所述环境亮度小于或等于预设亮度时,判定所述终端处于所述弱光环境下,若所述环境亮度大于预设亮度时,判定所述终端处于所述非弱光环境下。
  9. 根据权利要求6至8中任一项所述的图像处理装置,其特征在于,所述数据生成单元包括:
    第二控制单元,用于控制所述其他摄像头运行在弱光模式下。
  10. 根据权利要求9所述的图像处理装置,其特征在于,所述数据生成单元,还包括:
    显示单元,用于显示所述终端处于弱光环境下的提示,以及显示切换 至所述弱光模式的切换按钮;
    所述处理单元具体用于,当触发所述切换按钮时,执行所述控制所述其他摄像头运行在弱光模式下的步骤。
  11. 一种终端,其特征在于,包括通信总线、收发装置、存储器以及处理器,其中:
    所述通信总线,用于实现所述收发装置、所述存储器以及所述处理器之间的连接通信;
    所述存储器中存储一组程序代码,且处理器调用存储器中存储的程序代码,用于执行以下操作:
    所述处理器,用于控制所述多个摄像头中的任一摄像头预览待拍摄图像;
    所述处理器,还用于当判定所述终端处于弱光环境下时,在其他摄像头的第一数据通道中以第一帧率生成所述待拍摄图像的数据;
    所述处理器,还用于根据所述第一数据通道中的所述待拍摄图像的第一目标数据确定所述待拍摄图像,其中,所述第一帧率小于第一阈值,所述其他摄像头为所述多个摄像头中的除所述任一摄像头之外的摄像头。
  12. 根据权利要求11所述的终端,其特征在于,
    所述处理器,还用于当判定所述终端处于非弱光环境下时,在所述任一摄像头的第二数据通道中以第二帧率生成所述待拍摄图像的数据,其中,所述第二帧率大于第二阈值;
    所述处理器,还用于对所述第二数据通道中的所述待拍摄图像的第二目标数据进行编码以及解码以得到所述待拍摄图像。
  13. 根据权利要求12所述的终端,其特征在于,
    所述收发装置,用于获取所述终端所在的当前环境的环境亮度;
    所述处理器,还用于若所述环境亮度小于或等于预设亮度时,判定所述终端处于所述弱光环境下,若所述环境亮度大于预设亮度时,判定所述终端处于所述非弱光环境下。
  14. 根据权利要求11至13中任一项所述的终端,其特征在于,所述处理器,还用于执行如下步骤:
    控制所述其他摄像头运行在弱光模式下。
  15. 根据权利要求14所述的终端,其特征在于,所述处理器,还用于执行如下步骤:
    显示所述终端处于弱光环境下的提示,以及显示切换至所述弱光模式的切换按钮;
    当触发所述切换按钮时,执行所述控制所述其他摄像头运行在弱光模式下的步骤。
PCT/CN2015/085883 2015-07-15 2015-07-31 图像处理方法、图像处理装置和终端 Ceased WO2017008352A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510417390.7A CN105611139B (zh) 2015-07-15 2015-07-15 图像处理方法、图像处理装置和终端
CN201510417390.7 2015-07-15

Publications (1)

Publication Number Publication Date
WO2017008352A1 true WO2017008352A1 (zh) 2017-01-19

Family

ID=55990654

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/085883 Ceased WO2017008352A1 (zh) 2015-07-15 2015-07-31 图像处理方法、图像处理装置和终端

Country Status (2)

Country Link
CN (1) CN105611139B (zh)
WO (1) WO2017008352A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108460395A (zh) * 2017-02-17 2018-08-28 北京三星通信技术研究有限公司 目标检测方法和装置以及模糊处理方法和装置
KR20220002743A (ko) * 2017-03-14 2022-01-06 나이키 이노베이트 씨.브이. 속도를 이용하는 발 존재 신호 처리
US12501971B2 (en) 2016-03-15 2025-12-23 Nike, Inc. Sensing device for footwear

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107592453B (zh) * 2017-09-08 2019-11-05 维沃移动通信有限公司 一种拍摄方法及移动终端
KR102488410B1 (ko) * 2017-11-07 2023-01-16 삼성전자주식회사 복수의 카메라들을 이용하여 영상을 촬영하는 전자 장치와 이의 동작 방법
CN111385484B (zh) * 2018-12-28 2021-06-25 北京字节跳动网络技术有限公司 信息处理方法和装置
CN116347224B (zh) * 2022-10-31 2023-11-21 荣耀终端有限公司 拍摄帧率控制方法、电子设备、芯片系统及可读存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130120615A1 (en) * 2011-11-11 2013-05-16 Shinichiro Hirooka Imaging device
CN104333704A (zh) * 2014-11-28 2015-02-04 广东欧珀移动通信有限公司 一种拍照场景的预览方法、装置及终端
CN104363375A (zh) * 2014-11-28 2015-02-18 广东欧珀移动通信有限公司 一种照片降噪的方法、装置及终端
US20150116544A1 (en) * 2013-10-31 2015-04-30 Sony Corporation Method and apparatus of working mode control, and electronic device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101472077B (zh) * 2007-12-28 2011-07-27 华晶科技股份有限公司 具有亮度补偿的数字摄影装置及其补偿方法
CN102790862A (zh) * 2012-07-30 2012-11-21 成都西可科技有限公司 一种动态提升手机前摄像头效果的方法
CN103402102B (zh) * 2013-07-17 2015-12-09 广东欧珀移动通信有限公司 双摄像头摄像系统及其白平衡调节的方法与装置
CN107995430B (zh) * 2014-03-17 2020-09-01 广东明创软件科技有限公司 基于移动终端的提高摄像头对焦速度的方法及其移动终端
CN104079842B (zh) * 2014-06-27 2017-07-07 广东欧珀移动通信有限公司 相机噪点和帧率的控制方法与装置
CN104618645B (zh) * 2015-01-20 2018-01-23 广东欧珀移动通信有限公司 一种使用双摄像头拍摄的方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130120615A1 (en) * 2011-11-11 2013-05-16 Shinichiro Hirooka Imaging device
US20150116544A1 (en) * 2013-10-31 2015-04-30 Sony Corporation Method and apparatus of working mode control, and electronic device
CN104333704A (zh) * 2014-11-28 2015-02-04 广东欧珀移动通信有限公司 一种拍照场景的预览方法、装置及终端
CN104363375A (zh) * 2014-11-28 2015-02-18 广东欧珀移动通信有限公司 一种照片降噪的方法、装置及终端

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US12501971B2 (en) 2016-03-15 2025-12-23 Nike, Inc. Sensing device for footwear
CN108460395B (zh) * 2017-02-17 2023-04-07 北京三星通信技术研究有限公司 目标检测方法和装置以及模糊处理方法和装置
CN108460395A (zh) * 2017-02-17 2018-08-28 北京三星通信技术研究有限公司 目标检测方法和装置以及模糊处理方法和装置
KR102541224B1 (ko) 2017-03-14 2023-06-08 나이키 이노베이트 씨.브이. 속도를 이용하는 발 존재 신호 처리
KR20220136500A (ko) * 2017-03-14 2022-10-07 나이키 이노베이트 씨.브이. 속도를 이용하는 발 존재 신호 처리
KR20230082692A (ko) * 2017-03-14 2023-06-08 나이키 이노베이트 씨.브이. 속도를 이용하는 발 존재 신호 처리
KR102451345B1 (ko) 2017-03-14 2022-10-06 나이키 이노베이트 씨.브이. 속도를 이용하는 발 존재 신호 처리
KR102646496B1 (ko) 2017-03-14 2024-03-11 나이키 이노베이트 씨.브이. 속도를 이용하는 발 존재 신호 처리
KR20240036117A (ko) * 2017-03-14 2024-03-19 나이키 이노베이트 씨.브이. 속도를 이용하는 발 존재 신호 처리
KR102674166B1 (ko) 2017-03-14 2024-06-10 나이키 이노베이트 씨.브이. 속도를 이용하는 발 존재 신호 처리
KR20240096739A (ko) * 2017-03-14 2024-06-26 나이키 이노베이트 씨.브이. 속도를 이용하는 발 존재 신호 처리
KR102805177B1 (ko) 2017-03-14 2025-05-08 나이키 이노베이트 씨.브이. 신발류 물품 및 조임 디바이스의 설치 방법
KR20220002743A (ko) * 2017-03-14 2022-01-06 나이키 이노베이트 씨.브이. 속도를 이용하는 발 존재 신호 처리

Also Published As

Publication number Publication date
CN105611139A (zh) 2016-05-25
CN105611139B (zh) 2018-04-10

Similar Documents

Publication Publication Date Title
WO2017008352A1 (zh) 图像处理方法、图像处理装置和终端
US10674088B2 (en) Method and device for acquiring image, terminal and computer-readable storage medium
CN109167931B (zh) 图像处理方法、装置、存储介质及移动终端
CN112532880B (zh) 视频处理方法、装置、终端设备及存储介质
CN108419016B (zh) 拍摄方法、装置及终端
US20210058595A1 (en) Method, Device, and Storage Medium for Converting Image
JP6321796B2 (ja) モバイル端末、モバイル端末上で撮影を開始するための方法及び当該方法を実行させるためのプログラム
JP2020527000A (ja) 撮影モバイル端末
WO2017096857A1 (zh) 相机拍摄参数调整方法及装置
CN104539864B (zh) 记录图像的方法和装置
US10769416B2 (en) Image processing method, electronic device and storage medium
CN106210584A (zh) 一种视频录制方法和装置
CN104125404B (zh) 物体运动轨迹拍摄方法和系统
EP3661183B1 (en) Method and apparatus for accelerating aec convergence, and terminal device
CN104754212A (zh) 电子装置以及通过使用该电子装置捕获移动对象的方法
WO2014144794A1 (en) Avoiding flash-exposed frames during video recording
WO2021057412A1 (zh) 一种视频录制方法、装置、终端以及计算机可读存储介质
CN111200708A (zh) 长曝光拍摄控制方法、系统、设备及计算机存储介质
CN114342350B (zh) 成像控制装置、成像控制方法、程序以及成像设备
US20150288885A1 (en) Method and Apparatus for Controlling Camera Devices
KR20130104437A (ko) 휴대단말기의 이미지촬영 장치 및 방법
CN111835977B (zh) 图像传感器、图像生成方法及装置、电子设备、存储介质
CN105530439A (zh) 用于抓拍照片的方法、装置及终端
CN105450922A (zh) 拍摄处理方法及装置
KR101567668B1 (ko) 다중 초점 방식으로 영상을 생성하는 스마트폰 카메라 장치 및 방법

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

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

Country of ref document: EP

Kind code of ref document: A1