CN107343144A - Dual camera switching processing method, device and equipment thereof - Google Patents

Dual camera switching processing method, device and equipment thereof Download PDF

Info

Publication number
CN107343144A
CN107343144A CN201710557814.9A CN201710557814A CN107343144A CN 107343144 A CN107343144 A CN 107343144A CN 201710557814 A CN201710557814 A CN 201710557814A CN 107343144 A CN107343144 A CN 107343144A
Authority
CN
China
Prior art keywords
depth
preview image
field information
blur
processing
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.)
Pending
Application number
CN201710557814.9A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710557814.9A priority Critical patent/CN107343144A/en
Publication of CN107343144A publication Critical patent/CN107343144A/en
Pending legal-status Critical Current

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/66Remote control of cameras or camera parts, e.g. by remote control devices
    • 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/64Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/90Arrangement of cameras or camera modules, e.g. multiple cameras in TV studios or sports stadiums

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Processing (AREA)

Abstract

The invention discloses a method, a device and equipment for switching and processing double cameras, wherein the method comprises the following steps: receiving a camera switching instruction, performing Gaussian blur processing on the preview image, and covering brightness jump and color jump of the preview image in the switching process; and receiving a camera switching completion instruction, and stopping image processing and displaying the switched preview image. Therefore, when the camera is switched, the brightness jump and the color jump of the preview image in the switching process are covered through Gaussian blur processing, the visual perception of a user is improved, and the experience is improved.

Description

双摄像头切换处理方法、装置及其设备Dual camera switching processing method, device and equipment thereof

技术领域technical field

本发明涉及拍摄技术领域,尤其涉及一种双摄像头切换处理方法、装置及其设备。The present invention relates to the technical field of photographing, in particular to a dual camera switching processing method, device and equipment thereof.

背景技术Background technique

目前,为了满足用户拍摄需求,终端设备配置有双摄像头。通常,双摄像头在瞬间强制切换摄像头时,比如由A摄像头瞬间切换到B摄像头时,由于两个摄像头本身就存在差异,在相同的环境中,AWB(Automatic White Balance,自动白平衡)和AEC(AutomaticExposure Control,自动曝光控制)很难保持一致,导致在强制切换的一瞬间,会发生亮度和色彩的跳变。At present, in order to meet the shooting needs of users, the terminal device is equipped with dual cameras. Usually, when dual cameras are forced to switch cameras instantly, such as when switching from camera A to camera B instantaneously, due to the differences between the two cameras themselves, in the same environment, AWB (Automatic White Balance, automatic white balance) and AEC ( Automatic Exposure Control, automatic exposure control) is difficult to keep consistent, resulting in a jump in brightness and color at the moment of forced switching.

发明内容Contents of the invention

本发明实施例提供一种双摄像头切换处理方法、装置及其设备,以解决现有技术中在相同的环境中,双摄像头强制切换摄像头时,由于两个摄像头本身就存在差异,导致发生亮度和色彩的跳变等问题。Embodiments of the present invention provide a dual-camera switching processing method, device and equipment thereof to solve the problem of brightness and Problems such as color jumps.

本发明实施例提供一种双摄像头切换处理方法,包括以下步骤:接收摄像头切换指令,对预览图像进行高斯模糊处理,覆盖切换过程中预览图像的亮度跳变和色彩跳变;接收摄像头切换完成指令,停止图像处理显示切换后的预览图像。An embodiment of the present invention provides a dual-camera switching processing method, comprising the following steps: receiving a camera switching instruction, performing Gaussian blur processing on the preview image, covering the brightness jump and color jump of the preview image during the switching process; receiving the camera switching completion instruction , stop image processing and display the preview image after switching.

本发明另一实施例提供一种双摄像头切换处理装置,包括接收模块,用于接收摄像头切换指令;处理模块,用于对预览图像进行高斯模糊处理,覆盖切换过程中预览图像的亮度跳变和色彩跳变;停止显示模块,用于接收摄像头切换完成指令,停止图像处理显示切换后的预览图像。Another embodiment of the present invention provides a dual-camera switching processing device, including a receiving module for receiving a camera switching instruction; a processing module for performing Gaussian blur processing on the preview image, covering the brightness jump and the brightness of the preview image during the switching process The color jumps; the stop display module is used to receive a camera switching completion instruction, stop image processing and display a preview image after switching.

本发明再一实施例提供一种终端设备,包括:包括以下一个或多个组件:壳体和位于所述壳体内的处理器、存储器,其中,所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于执行如第一方面所述的双摄像头切换处理方法。Yet another embodiment of the present invention provides a terminal device, including: including one or more of the following components: a housing, a processor located in the housing, and a memory, wherein the processor reads the The executable program code is used to run the program corresponding to the executable program code, so as to execute the dual camera switching processing method as described in the first aspect.

本发明还一实施例提供一种非临时性计算机可读存储介质,其上存储有计算机程序,其特征在于,该计算机程序被处理器执行时实现如执行第一方面所述的双摄像头切换处理方法。Still another embodiment of the present invention provides a non-transitory computer-readable storage medium, on which a computer program is stored, and it is characterized in that, when the computer program is executed by a processor, the dual-camera switching process as described in the first aspect is implemented. method.

本发明实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present invention may include the following beneficial effects:

通过在切换摄像头时,通过高斯模糊处理覆盖切换过程中预览图像的亮度跳变和色彩跳变,提高用户的视觉感受,从而提升体验。When the camera is switched, Gaussian blur processing is used to cover the brightness jump and color jump of the preview image during the switching process, so as to improve the user's visual experience, thereby improving the experience.

本发明附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.

附图说明Description of drawings

图1是根据本发明一个实施例的双摄像头切换处理方法的流程示意图;FIG. 1 is a schematic flow diagram of a dual camera switching processing method according to an embodiment of the present invention;

图2是根据本发明另一个实施例的双摄像头切换处理方法的流程示意图;FIG. 2 is a schematic flowchart of a method for switching between dual cameras according to another embodiment of the present invention;

图3是根据本发明一个实施例的双摄像头切换处理装置的结构示意图;3 is a schematic structural diagram of a dual-camera switching processing device according to an embodiment of the present invention;

图4是根据本发明一个实施例的处理模块的结构示意图;Fig. 4 is a schematic structural diagram of a processing module according to an embodiment of the present invention;

图5是根据本发明一个实施例的终端设备的结构示意图。Fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.

具体实施方式detailed description

下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本发明,而不能理解为对本发明的限制。Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present invention and should not be construed as limiting the present invention.

下面参考附图描述本发明实施例的双摄像头切换处理方法、装置及其设备。The following describes the dual camera switching processing method, device and equipment according to the embodiments of the present invention with reference to the accompanying drawings.

目前,由于双摄像头的两个摄像头本身存在差异,在相同的环境中,强制切换摄像头时,自动白平衡和自动曝光控制很难保持一致,会导致在强制切换瞬间图像发生亮度和色彩的跳变。At present, due to the differences between the two cameras of the dual camera, in the same environment, when the camera is forced to switch, it is difficult to keep the automatic white balance and automatic exposure control consistent, which will cause the brightness and color of the image to jump at the moment of forced switching .

为了解决上述技术问题,本发明提出了一种双摄像头切换处理方法,通过在切换摄像头时,通过高斯模糊处理覆盖切换过程中预览图像的亮度跳变和色彩跳变,提高用户的视觉感受,从而提升体验。具体如下:In order to solve the above-mentioned technical problems, the present invention proposes a dual-camera switching processing method, which improves the user's visual experience by covering the brightness jump and color jump of the preview image during the switching process through Gaussian blur processing when switching cameras, thereby Enhance the experience. details as follows:

图1是根据本发明一个实施例的双摄像头切换处理方法的流程示意图。FIG. 1 is a schematic flowchart of a method for processing dual camera switching according to an embodiment of the present invention.

如图1所示,该双摄像头切换处理方法包括:As shown in Figure 1, the dual camera switching processing method includes:

步骤101,接收摄像头切换指令,对预览图像进行高斯模糊处理,覆盖切换过程中预览图像的亮度跳变和色彩跳变。Step 101, receiving a camera switching instruction, performing Gaussian blur processing on the preview image, covering the brightness jump and color jump of the preview image during the switching process.

步骤102,接收摄像头切换完成指令,停止图像处理显示切换后的预览图像。Step 102, receiving a camera switching completion instruction, stopping image processing and displaying a preview image after switching.

具体地,在实际应用当中,设备配置有双摄像头,可以采用很多种方式触发摄像头切换指令,作为一种示例,焦距设置到预设焦距自动触发摄像头切换指令;作为另一种示例,用户手动按压相关按键等方式自动触发摄像头切换指令等等。可以根据实际应用需要进行选择设置。Specifically, in practical applications, the device is equipped with dual cameras, and the camera switching command can be triggered in many ways. As an example, the camera switching command is automatically triggered when the focal length is set to the preset focal length; as another example, the user manually presses the Relevant keys and other methods automatically trigger camera switching instructions and so on. It can be selected and set according to actual application needs.

进一步地,接收到摄像头切换指令,对预览图像进行高斯模糊处理覆盖切换过程中预览图像的亮度跳变和色彩跳变。可以理解的是,预览图像可以是根据两个摄像头获取的预览图像数据至少之一生成的,其中,预览图像数据可为拍摄对象经过摄像头成像后的数据。Further, upon receiving the camera switching instruction, Gaussian blur processing is performed on the preview image to cover the brightness jump and color jump of the preview image during the switching process. It can be understood that the preview image may be generated according to at least one of the preview image data acquired by the two cameras, wherein the preview image data may be the data of the subject being imaged by the camera.

作为一种可能实现形式,根据双摄像头分别获取当前预览图像数据,确定当前预览图像中前景区域的第一景深信息和背景区域的第二景深信息,根据第一景深信息和第二景深信息获取虚化程度的基础数值,根据虚化程度的基础数值对预览图像进行高斯模糊处理。As a possible implementation form, the current preview image data is respectively obtained according to the dual cameras, the first depth of field information of the foreground area and the second depth of field information of the background area in the current preview image are determined, and the virtual image is obtained according to the first depth of field information and the second depth of field information. According to the basic value of blur degree, the preview image will be Gaussian blurred.

进一步地,在接收摄像头切换完成指令后,不再进行高斯模糊处理,显示切换后的预览图像。Further, after receiving the camera switching completion instruction, no Gaussian blur processing is performed, and the switched preview image is displayed.

综上所述,本发明实施例的双摄像头切换处理方法,通过在切换摄像头时,通过高斯模糊处理覆盖切换过程中预览图像的亮度跳变和色彩跳变,提高用户的视觉感受,从而提升体验。To sum up, the dual-camera switching processing method of the embodiment of the present invention improves the user's visual experience by covering the brightness jump and color jump of the preview image during the switching process through Gaussian blur processing when switching cameras, thereby improving the user experience. .

基于上述实施例,可以了解在双摄像头切换时进行高斯模糊处理,可以覆盖切换过程中预览图像的亮度跳变和色彩跳变,为了本领域人员更加清楚如何对预览图像进行高斯模糊处理,覆盖切换过程中预览图像的亮度跳变和色彩跳变,下面结合图2进行具体说明:Based on the above embodiments, it can be understood that Gaussian blur processing is performed when the dual camera is switched, and the brightness jump and color jump of the preview image during the switching process can be covered. In order to make it clearer for those skilled in the art how to perform Gaussian blur processing on the preview image, cover switching The brightness jump and color jump of the preview image during the process are described in detail in conjunction with Figure 2 below:

图2是根据本发明另一个实施例的双摄像头切换处理方法的流程示意图。Fig. 2 is a schematic flowchart of a method for processing switching between dual cameras according to another embodiment of the present invention.

如图2所示,该双摄像头切换处理方法包括:As shown in Figure 2, the dual camera switching processing method includes:

步骤201,根据双摄像头分别获取当前预览图像数据,确定当前预览图像中前景区域的第一景深信息和背景区域的第二景深信息。Step 201: Acquiring the current preview image data respectively according to the dual cameras, and determining the first field depth information of the foreground area and the second field depth information of the background area in the current preview image.

具体地,双摄像头装置具有两个摄像头,预览图像数据可为拍摄对象经过摄像头成像后的数据。当前预览图像是根据两个摄像头获取的预览图像数据至少之一生成的。景深信息是指使被摄物体产生较为清晰影像的最近点至最远点的距离,即被摄物体能清晰成像的空间深度。对于预览图像中每个图像点对应的景深信息,可以根据该图像点在两个摄像头获取的预览图像数据中的相位差进行查询得到。Specifically, the dual-camera device has two cameras, and the preview image data may be the data of the subject being imaged by the cameras. The current preview image is generated according to at least one of the preview image data acquired by the two cameras. Depth of field information refers to the distance from the closest point to the farthest point that makes the subject produce a clearer image, that is, the spatial depth at which the subject can be clearly imaged. The depth of field information corresponding to each image point in the preview image can be obtained by querying the phase difference of the image point in the preview image data acquired by the two cameras.

具体地,由于两个摄像头的位置并不相同,因此,两个摄像头相对于拍摄对象来说存在一定的角度差和距离差,因此,对应的预览图像数据也存在一定的相位差。Specifically, since the positions of the two cameras are not the same, there is a certain angle difference and distance difference between the two cameras relative to the shooting object, and therefore there is also a certain phase difference in the corresponding preview image data.

举例而言,对于拍摄目标上的A点,在摄像头1的预览图像数据中,A点对应的像素点坐标为(35,60),而在摄像头2的预览图像数据中,A点对应的像素点坐标为(35,55),A点在两个预览图像数据中对应的像素点的相位差为60-55=5。For example, for point A on the shooting target, in the preview image data of camera 1, the pixel coordinates corresponding to point A are (35, 60), and in the preview image data of camera 2, the pixel corresponding to point A is The coordinates of the point are (35, 55), and the phase difference between the pixels corresponding to the point A in the two preview image data is 60-55=5.

可以理解的是,可以预先根据实验数据或者摄像头参数建立景深信息与相位差的关系,进而,可根据预览图像中各图像点在两个摄像头获取的预览图像数据中的相位差查找对应的景深信息。举例来说,对于上述A点对应的相位差5,如果根据预设的对应关系查询到对应的景深为3米,则预览图像中A点对应的景深信息为3米。由此,可得到当前预览图像中每个像素点的景深信息。It can be understood that the relationship between the depth of field information and the phase difference can be established in advance according to the experimental data or camera parameters, and then the corresponding depth of field information can be found according to the phase difference of each image point in the preview image in the preview image data acquired by the two cameras . For example, for the above-mentioned phase difference corresponding to point A of 5, if the corresponding depth of field is found to be 3 meters according to the preset correspondence, then the depth of field information corresponding to point A in the preview image is 3 meters. Thus, the depth information of each pixel in the current preview image can be obtained.

进一步地,在得到当前预览图像中每个图像点的景深信息后,可进一步确定当前预览图像中前景区域的第一景深信息,将前景区域的第一景深信息之外的区域景深信息为背景区域的第二景深信息。Further, after obtaining the depth of field information of each image point in the current preview image, the first depth of field information of the foreground area in the current preview image can be further determined, and the depth of field information of the area other than the first depth of field information of the foreground area is the background area The second depth of field information.

步骤202,根据第一景深信息和第二景深信息获取虚化程度的基础数值。Step 202: Acquire a basic value of the degree of blurring according to the first depth of field information and the second depth of field information.

可以理解的是,虚化程度的基础数值为虚化程度的一个基准值,可通过在虚化程度的基础数值的基础上进行运算得到虚化系数,并根据虚化系数对背景区域进行虚化。It can be understood that the basic value of the degree of blurring is a benchmark value of the degree of blurring, and the blurring coefficient can be obtained by performing calculations on the basis of the basic value of the degree of blurring, and the background area can be blurred according to the blurring coefficient .

具体地,可以采用很多种方式根据第一景深信息和第二景深信息获取虚化程度的基础数值,比如,可以分别确定第一景深信息的代表值和第二景深信息的代表值,然后根据第景深信息的代表值和第二景深信息的代表值进行运算得到虚化程度的基础数值。其中,代表值可以包括但不限于平均值,采样值等。得到虚化程度的基础数值所采用的运算方法可包括但不限于计算比值、差值或者基于比值或者差值的进一步乘以或者加上预设值等方式。Specifically, many ways can be used to obtain the basic value of the blur degree according to the first depth of field information and the second depth of field information. For example, the representative value of the first depth of field information and the representative value of the second depth of field information can be determined respectively, and then according to The representative value of the depth of field information and the representative value of the second depth of field information are calculated to obtain the basic value of the blurring degree. Wherein, the representative value may include but not limited to the average value, sampling value and the like. The calculation method used to obtain the basic value of the degree of blurring may include but not limited to calculating a ratio, a difference, or further multiplying or adding a preset value based on the ratio or difference.

作为一种示例,获取第一景深信息的第一平均值以及第二景深信息的第二平均值,计算第一平均值与第二平均值的比值获取虚化程度的基础数值。As an example, a first average value of the first depth of field information and a second average value of the second depth of field information are obtained, and a ratio of the first average value to the second average value is calculated to obtain a basic value of the blurring degree.

步骤203,根据虚化程度的基础数值对预览图像进行高斯模糊处理。Step 203, performing Gaussian blur processing on the preview image according to the basic value of the degree of blurring.

具体地,可以采用很多种方式根据虚化程度的基础数值对预览图像进行高斯模糊处理,作为一种示例,根据虚化程度的基础数值和前景区域的第一景深信息,确定前景区域中每个像素的虚化系数,根据前景区域中每个像素的虚化系数对前景区域进行高斯模糊处理,根据虚化程度的基础数值和背景区域的第二景深信息,确定背景区域中每个像素的虚化系数,根据背景区域中每个像素的虚化系数对背景区域进行高斯模糊处理。Specifically, Gaussian blur processing can be performed on the preview image according to the basic value of the degree of blur in many ways. As an example, according to the basic value of the degree of blur and the first depth information of the foreground area, each The blur coefficient of the pixel. According to the blur coefficient of each pixel in the foreground area, Gaussian blur processing is performed on the foreground area. Gaussian blur processing is performed on the background area according to the blur coefficient of each pixel in the background area.

其中,虚化系数表示背景区域的虚化程度,虚化系数越大,背景区域的虚化程度越高。Wherein, the blurring coefficient represents the blurring degree of the background area, and the larger the blurring coefficient is, the higher the blurring degree of the background area is.

具体地,可以采用很多种方式根据虚化程度的基础数值和前景区域的第一景深信息,确定前景区域中每个像素的虚化系数,作为一种示例,计算虚化程度的基础数值与前景区域中每个像素的第一景深信息的乘积,获取前景区域中每个像素的虚化系数。Specifically, many ways can be used to determine the blur coefficient of each pixel in the foreground area according to the basic value of the blur level and the first depth information of the foreground area. As an example, the basic value of the blur level and the foreground The product of the first field depth information of each pixel in the area obtains the blur coefficient of each pixel in the foreground area.

具体地,可以采用很多种方式根据虚化程度的基础数值和背景区域的第二景深信息,确定背景区域中每个像素的虚化系数,作为一种示例,计算虚化程度的基础数值与背景区域中每个像素的第二景深信息的乘积,获取背景区域中每个像素的虚化系数。Specifically, many ways can be used to determine the blur coefficient of each pixel in the background area according to the basic value of the blur level and the second depth information of the background area. As an example, the calculation of the basic value of the blur level and the background The product of the second field depth information of each pixel in the area obtains the blur coefficient of each pixel in the background area.

综上所述,本发明实施例的双摄像头切换处理方法,通过根据双摄像头分别获取当前预览图像数据,确定当前预览图像中前景区域的第一景深信息和背景区域的第二景深信息,接着根据第一景深信息和第二景深信息获取虚化程度的基础数值,最后根据虚化程度的基础数值对预览图像进行高斯模糊处理,从而覆盖切换过程中预览图像的亮度跳变和色彩跳变,提高用户的视觉感受,从而提升体验。In summary, the dual-camera switching processing method in the embodiment of the present invention determines the first depth of field information of the foreground area and the second depth of field information of the background area in the current preview image by respectively obtaining the current preview image data according to the dual cameras, and then according to The first depth of field information and the second depth of field information obtain the basic value of the degree of blur, and finally perform Gaussian blur processing on the preview image according to the basic value of the degree of blur, so as to cover the brightness jump and color jump of the preview image during the switching process and improve The user's visual perception, thereby enhancing the experience.

为实现上述目的,本发明还提出一种双摄像头切换处理装置。In order to achieve the above object, the present invention also proposes a dual-camera switching processing device.

图3是根据本发明一个实施例的双摄像头切换处理装置的结构示意图。如图3所示,该双摄像头切换处理装置包括:接收模块11、处理模块12和停止显示模块13Fig. 3 is a schematic structural diagram of a dual camera switching processing device according to an embodiment of the present invention. As shown in Figure 3, the dual-camera switching processing device includes: a receiving module 11, a processing module 12 and a stop display module 13

其中,接收模块11,用于接收摄像头切换指令。Wherein, the receiving module 11 is configured to receive a camera switching instruction.

处理模块12,用于对预览图像进行高斯模糊处理,覆盖切换过程中预览图像的亮度跳变和色彩跳变。The processing module 12 is configured to perform Gaussian blur processing on the preview image, covering the brightness jump and color jump of the preview image during the switching process.

停止显示模块13,用于接收摄像头切换完成指令,停止图像处理显示切换后的预览图像。The stop display module 13 is configured to receive a camera switching completion instruction, stop image processing and display the switched preview image.

进一步地,在本发明的一种可能实现形式中,如图4所示,该处理模块12包括:确定单元121、获取单元122和处理单元123。Further, in a possible implementation form of the present invention, as shown in FIG. 4 , the processing module 12 includes: a determination unit 121 , an acquisition unit 122 and a processing unit 123 .

其中,确定单元121,用于根据双摄像头分别获取当前预览图像数据,确定当前预览图像中前景区域的第一景深信息和背景区域的第二景深信息。Wherein, the determining unit 121 is configured to determine the first field depth information of the foreground area and the second field depth information of the background area in the current preview image according to the current preview image data respectively obtained by the dual cameras.

获取单元122,用于根据第一景深信息和第二景深信息获取虚化程度的基础数值。The obtaining unit 122 is configured to obtain a basic value of the degree of blurring according to the first depth of field information and the second depth of field information.

处理单元123,用于根据虚化程度的基础数值对预览图像进行高斯模糊处理。The processing unit 123 is configured to perform Gaussian blur processing on the preview image according to the basic value of the blur degree.

进一步地,获取单元122,具体用于获取第一景深信息的第一平均值以及第二景深信息的第二平均值,计算第一平均值与第二平均值的比值获取虚化程度的基础数值。Further, the acquisition unit 122 is specifically configured to acquire the first average value of the first depth of field information and the second average value of the second depth of field information, and calculate the ratio of the first average value to the second average value to obtain the basic value of the degree of blur .

进一步地,处理单元123,具体用于根据虚化程度的基础数值和前景区域的第一景深信息,确定前景区域中每个像素的虚化系数,根据前景区域中每个像素的虚化系数对前景区域进行高斯模糊处理,根据虚化程度的基础数值和背景区域的第二景深信息,确定背景区域中每个像素的虚化系数,根据背景区域中每个像素的虚化系数对背景区域进行高斯模糊处理。Further, the processing unit 123 is specifically configured to determine the blur coefficient of each pixel in the foreground area according to the basic value of the blur degree and the first field depth information of the foreground area, and to determine the blur coefficient of each pixel in the foreground area according to the Gaussian blur processing is performed on the foreground area, and the blur coefficient of each pixel in the background area is determined according to the basic value of the blur degree and the second depth of field information in the background area, and the background area is blurred according to the blur coefficient of each pixel in the background area. Gaussian blurring.

其中,根据虚化程度的基础数值和前景区域的第一景深信息,确定前景区域中每个像素的虚化系数,包括:计算虚化程度的基础数值与前景区域中每个像素的第一景深信息的乘积,获取前景区域中每个像素的虚化系数。Among them, according to the basic value of the degree of blur and the first depth of field information of the foreground area, determine the blur coefficient of each pixel in the foreground area, including: calculating the basic value of the degree of blur and the first depth of field of each pixel in the foreground area The product of information to obtain the blur coefficient of each pixel in the foreground area.

其中,根据虚化程度的基础数值和背景区域的第二景深信息,确定背景区域中每个像素的虚化系数,包括:计算虚化程度的基础数值与背景区域中每个像素的第二景深信息的乘积,获取背景区域中每个像素的虚化系数。Wherein, according to the basic value of the degree of blur and the second depth of field information of the background area, the blur coefficient of each pixel in the background area is determined, including: calculating the basic value of the degree of blur and the second depth of field of each pixel in the background area The product of the information to get the blur coefficient for each pixel in the background area.

需要说明的是,前述对双摄像头切换处理方法的解释说明,也适用于本发明实施例的双摄像头切换处理装置,其实现原理类似,在此不再赘述。It should be noted that the aforementioned explanations on the dual-camera switching processing method are also applicable to the dual-camera switching processing device in the embodiment of the present invention, and the implementation principles thereof are similar, so details are not repeated here.

综上所述,本发明实施例的双摄像头切换处理方法,通过在切换摄像头时,通过高斯模糊处理覆盖切换过程中预览图像的亮度跳变和色彩跳变,提高用户的视觉感受,从而提升体验。To sum up, the dual-camera switching processing method of the embodiment of the present invention improves the user's visual experience by covering the brightness jump and color jump of the preview image during the switching process through Gaussian blur processing when switching cameras, thereby improving the user experience. .

为了实现上述实施例,本发明还提出了一种终端设备,图5是根据本发明一个实施例的终端设备的结构示意图。如图5所示,该终端设备1000包括:壳体1100和位于壳体1100内的处理器1110、存储器1120,其中,处理器1110通过读取存储器1120中存储的可执行程序代码来运行与可执行程序代码对应的程序,以用于执行上述实施例描述的双摄像头切换处理方法。In order to implement the above embodiments, the present invention also proposes a terminal device, and FIG. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present invention. As shown in FIG. 5 , the terminal device 1000 includes: a housing 1100 , a processor 1110 and a memory 1120 located in the housing 1100 , wherein the processor 1110 runs and can read the executable program code stored in the memory 1120 Executing the program corresponding to the program code is used to execute the dual camera switching processing method described in the above embodiment.

为了实现上述实施例,本发明还提出一种非临时性计算机可读存储介质,其上存储有计算机程序,当该计算机程序被处理器执行时能够实现如前述实施例所述的双摄像头切换处理方法。In order to realize the above-mentioned embodiments, the present invention also proposes a non-transitory computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the dual-camera switching process as described in the above-mentioned embodiments can be realized method.

在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, descriptions referring to the terms "one embodiment", "some embodiments", "example", "specific examples", or "some examples" mean that specific features described in connection with the embodiment or example , structure, material or characteristic is included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the described specific features, structures, materials or characteristics may be combined in any suitable manner in any one or more embodiments or examples. In addition, those skilled in the art can combine and combine different embodiments or examples and features of different embodiments or examples described in this specification without conflicting with each other.

此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本发明的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms "first" and "second" are used for descriptive purposes only, and cannot be interpreted as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include at least one of these features. In the description of the present invention, "plurality" means at least two, such as two, three, etc., unless otherwise specifically defined.

流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现定制逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本发明的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本发明的实施例所属技术领域的技术人员所理解。Any process or method descriptions in flowcharts or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing custom logical functions or steps of a process , and the scope of preferred embodiments of the invention includes alternative implementations in which functions may be performed out of the order shown or discussed, including substantially concurrently or in reverse order depending on the functions involved, which shall It is understood by those skilled in the art to which the embodiments of the present invention pertain.

在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。The logic and/or steps represented in the flowcharts or otherwise described herein, for example, can be considered as a sequenced listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium, For use with instruction execution systems, devices, or devices (such as computer-based systems, systems including processors, or other systems that can fetch instructions from instruction execution systems, devices, or devices and execute instructions), or in conjunction with these instruction execution systems, devices or equipment used. For the purposes of this specification, a "computer-readable medium" may be any device that can contain, store, communicate, propagate or transmit a program for use in or in conjunction with an instruction execution system, device or device. More specific examples (non-exhaustive list) of computer-readable media include the following: electrical connection with one or more wires (electronic device), portable computer disk case (magnetic device), random access memory (RAM), Read Only Memory (ROM), Erasable and Editable Read Only Memory (EPROM or Flash Memory), Fiber Optic Devices, and Portable Compact Disc Read Only Memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program can be printed, since the program can be read, for example, by optically scanning the paper or other medium, followed by editing, interpretation or other suitable processing if necessary. The program is processed electronically and stored in computer memory.

应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。如,如果用硬件来实现和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that various parts of the present invention can be realized by hardware, software, firmware or their combination. In the embodiments described above, various steps or methods may be implemented by software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware as in another embodiment, it can be implemented by any one or a combination of the following techniques known in the art: a discrete Logic circuits, ASICs with suitable combinational logic gates, Programmable Gate Arrays (PGA), Field Programmable Gate Arrays (FPGA), etc.

本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。Those of ordinary skill in the art can understand that all or part of the steps carried by the methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. During execution, one or a combination of the steps of the method embodiments is included.

此外,在本发明各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing module, each unit may exist separately physically, or two or more units may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. If the integrated modules are realized in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium.

上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, and the like. Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and those skilled in the art can make the above-mentioned The embodiments are subject to changes, modifications, substitutions and variations.

Claims (10)

1.一种双摄像头切换处理方法,其特征在于,包括:1. A dual-camera switching processing method, characterized in that, comprising: 接收摄像头切换指令,对预览图像进行高斯模糊处理,覆盖切换过程中预览图像的亮度跳变和色彩跳变;Receive the camera switching command, perform Gaussian blur processing on the preview image, and cover the brightness jump and color jump of the preview image during the switching process; 接收摄像头切换完成指令,停止图像处理显示切换后的预览图像。Receive a camera switching completion instruction, stop image processing and display a preview image after switching. 2.如权利要求1所述的方法,其特征在于,所述对预览图像进行高斯模糊处理,覆盖切换过程中预览图像的亮度跳变和色彩跳变,包括:2. The method according to claim 1, wherein said performing Gaussian blur processing on the preview image to cover the brightness jump and color jump of the preview image during the switching process, comprising: 根据双摄像头分别获取当前预览图像数据,确定当前预览图像中前景区域的第一景深信息和背景区域的第二景深信息;Obtain the current preview image data respectively according to the dual cameras, and determine the first depth of field information of the foreground area and the second depth of field information of the background area in the current preview image; 根据所述第一景深信息和所述第二景深信息获取虚化程度的基础数值;Acquiring a basic value of a blurring degree according to the first depth of field information and the second depth of field information; 根据所述虚化程度的基础数值对预览图像进行高斯模糊处理。Perform Gaussian blur processing on the preview image according to the basic value of the blurring degree. 3.如权利要求2所述的方法,其特征在于,所述根据所述第一景深信息和所述第二景深信息获取虚化程度的基础数值,包括:3. The method according to claim 2, wherein said obtaining the basic value of the degree of blurring according to the first depth of field information and the second depth of field information comprises: 获取所述第一景深信息的第一平均值以及所述第二景深信息的第二平均值;Acquiring a first average value of the first depth of field information and a second average value of the second depth of field information; 计算所述第一平均值与所述第二平均值的比值获取虚化程度的基础数值。calculating a ratio of the first average value to the second average value to obtain a basic value of the degree of blurring. 4.如权利要求2所述的方法,其特征在于,所述根据所述虚化程度的基础数值对预览图像进行高斯模糊处理,包括:4. The method according to claim 2, wherein said performing Gaussian blur processing on the preview image according to the basic value of the degree of blurring comprises: 根据所述虚化程度的基础数值和所述前景区域的第一景深信息,确定所述前景区域中每个像素的虚化系数;Determining a blur coefficient for each pixel in the foreground area according to the basic value of the blur level and the first field depth information of the foreground area; 根据所述前景区域中每个像素的虚化系数对所述前景区域进行高斯模糊处理;performing Gaussian blur processing on the foreground area according to the blur coefficient of each pixel in the foreground area; 根据所述虚化程度的基础数值和所述背景区域的第二景深信息,确定所述背景区域中每个像素的虚化系数;determining a blur coefficient for each pixel in the background area according to the basic value of the blur level and the second depth of field information in the background area; 根据所述背景区域中每个像素的虚化系数对所述背景区域进行高斯模糊处理。Gaussian blur processing is performed on the background area according to the blur coefficient of each pixel in the background area. 5.如权利要求4所述的方法,其特征在于,根据所述虚化程度的基础数值和所述前景区域的第一景深信息,确定所述前景区域中每个像素的虚化系数,包括:5. The method according to claim 4, wherein, according to the basic value of the degree of blur and the first depth of field information of the foreground area, determining the blur coefficient of each pixel in the foreground area includes : 计算所述虚化程度的基础数值与所述前景区域中每个像素的第一景深信息的乘积,获取所述前景区域中每个像素的虚化系数;calculating the product of the basic value of the degree of blurring and the first field depth information of each pixel in the foreground area, and obtaining the blurring coefficient of each pixel in the foreground area; 所述根据所述虚化程度的基础数值和所述背景区域的第二景深信息,确定所述背景区域中每个像素的虚化系数,包括:The determining the blur coefficient of each pixel in the background area according to the basic value of the blur degree and the second depth of field information of the background area includes: 计算所述虚化程度的基础数值与所述背景区域中每个像素的第二景深信息的乘积,获取所述背景区域中每个像素的虚化系数。Calculate the product of the basic value of the blurring degree and the second field depth information of each pixel in the background area to obtain a blurring coefficient of each pixel in the background area. 6.一种双摄像头切换处理装置,其特征在于,包括:6. A dual-camera switching processing device, characterized in that, comprising: 接收模块,用于接收摄像头切换指令;A receiving module, configured to receive a camera switching instruction; 处理模块,用于对预览图像进行高斯模糊处理,覆盖切换过程中预览图像的亮度跳变和色彩跳变;The processing module is used to perform Gaussian blur processing on the preview image, covering the brightness jump and color jump of the preview image during the switching process; 停止显示模块,用于接收摄像头切换完成指令,停止图像处理显示切换后的预览图像。The stop display module is used to receive a camera switching completion instruction, stop image processing and display a preview image after switching. 7.如权利要求6所述的装置,其特征在于,所述处理模块,包括:7. The device according to claim 6, wherein the processing module comprises: 确定单元,用于根据双摄像头分别获取当前预览图像数据,确定当前预览图像中前景区域的第一景深信息和背景区域的第二景深信息;A determining unit, configured to obtain the current preview image data respectively according to the dual cameras, and determine the first depth of field information of the foreground area and the second depth of field information of the background area in the current preview image; 获取单元,用于根据所述第一景深信息和所述第二景深信息获取虚化程度的基础数值;An acquisition unit, configured to acquire a basic value of the degree of blurring according to the first depth of field information and the second depth of field information; 处理单元,用于根据所述虚化程度的基础数值对预览图像进行高斯模糊处理。A processing unit, configured to perform Gaussian blur processing on the preview image according to the basic value of the blur degree. 8.如权利要求7所述的装置,其特征在于,所述获取单元具体用于:8. The device according to claim 7, wherein the acquiring unit is specifically configured to: 获取所述第一景深信息的第一平均值以及所述第二景深信息的第二平均值;Acquiring a first average value of the first depth of field information and a second average value of the second depth of field information; 计算所述第一平均值与所述第二平均值的比值获取虚化程度的基础数值。calculating a ratio of the first average value to the second average value to obtain a basic value of the degree of blurring. 9.一种终端设备,其特征在于,包括以下一个或多个组件:壳体和位于所述壳体内的处理器、存储器,其中,所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于执行如权利要求1-5任一所述的双摄像头切换处理方法。9. A terminal device, characterized in that it includes one or more of the following components: a housing, a processor located in the housing, and a memory, wherein the processor reads the executable stored in the memory The program code is used to run a program corresponding to the executable program code, so as to execute the dual camera switching processing method according to any one of claims 1-5. 10.一种非临时性计算机可读存储介质,其上存储有计算机程序,其特征在于,该计算机程序被处理器执行时实现如权利要求1-5中任一项所述的双摄像头切换处理方法。10. A non-transitory computer-readable storage medium, on which a computer program is stored, characterized in that, when the computer program is executed by a processor, it realizes the dual-camera switching process according to any one of claims 1-5 method.
CN201710557814.9A 2017-07-10 2017-07-10 Dual camera switching processing method, device and equipment thereof Pending CN107343144A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710557814.9A CN107343144A (en) 2017-07-10 2017-07-10 Dual camera switching processing method, device and equipment thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710557814.9A CN107343144A (en) 2017-07-10 2017-07-10 Dual camera switching processing method, device and equipment thereof

Publications (1)

Publication Number Publication Date
CN107343144A true CN107343144A (en) 2017-11-10

Family

ID=60219140

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710557814.9A Pending CN107343144A (en) 2017-07-10 2017-07-10 Dual camera switching processing method, device and equipment thereof

Country Status (1)

Country Link
CN (1) CN107343144A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107945105A (en) * 2017-11-30 2018-04-20 广东欧珀移动通信有限公司 Background blurring processing method, device and equipment
CN108924435A (en) * 2018-07-12 2018-11-30 Oppo广东移动通信有限公司 Image processing method and device and electronic equipment
CN110113526A (en) * 2019-04-22 2019-08-09 联想(北京)有限公司 Processing method, processing unit and electronic equipment
CN110647702A (en) * 2019-09-12 2020-01-03 北京无限光场科技有限公司 Picture preloading method and device, electronic equipment and readable medium
CN112584237A (en) * 2020-12-30 2021-03-30 米哈游科技(上海)有限公司 Image erasing method and device, electronic equipment and storage medium
CN114827391A (en) * 2021-01-28 2022-07-29 北京小米移动软件有限公司 Camera switching method, camera switching device and storage medium
CN115514871A (en) * 2022-09-30 2022-12-23 读书郎教育科技有限公司 Overturning camera preview optimization system and method based on intelligent terminal
CN116546319A (en) * 2023-05-15 2023-08-04 展讯通信(天津)有限公司 Shooting switching method and device and electronic equipment
CN119520974A (en) * 2024-02-02 2025-02-25 华为技术有限公司 Filming method, electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104902179A (en) * 2015-05-27 2015-09-09 广东欧珀移动通信有限公司 Method and device for previewing camera image
CN104980644A (en) * 2014-04-14 2015-10-14 华为技术有限公司 Shooting method and device
CN105100615A (en) * 2015-07-24 2015-11-25 青岛海信移动通信技术股份有限公司 Image preview method, device and terminal
CN106060423A (en) * 2016-06-02 2016-10-26 广东欧珀移动通信有限公司 Method, device and mobile terminal for generating blurred photos
CN106791378A (en) * 2016-11-29 2017-05-31 广东欧珀移动通信有限公司 Control method, control device and electronic device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104980644A (en) * 2014-04-14 2015-10-14 华为技术有限公司 Shooting method and device
CN104902179A (en) * 2015-05-27 2015-09-09 广东欧珀移动通信有限公司 Method and device for previewing camera image
CN105100615A (en) * 2015-07-24 2015-11-25 青岛海信移动通信技术股份有限公司 Image preview method, device and terminal
CN106060423A (en) * 2016-06-02 2016-10-26 广东欧珀移动通信有限公司 Method, device and mobile terminal for generating blurred photos
CN106791378A (en) * 2016-11-29 2017-05-31 广东欧珀移动通信有限公司 Control method, control device and electronic device

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107945105A (en) * 2017-11-30 2018-04-20 广东欧珀移动通信有限公司 Background blurring processing method, device and equipment
CN108924435A (en) * 2018-07-12 2018-11-30 Oppo广东移动通信有限公司 Image processing method and device and electronic equipment
CN110113526A (en) * 2019-04-22 2019-08-09 联想(北京)有限公司 Processing method, processing unit and electronic equipment
CN110647702A (en) * 2019-09-12 2020-01-03 北京无限光场科技有限公司 Picture preloading method and device, electronic equipment and readable medium
CN112584237A (en) * 2020-12-30 2021-03-30 米哈游科技(上海)有限公司 Image erasing method and device, electronic equipment and storage medium
CN112584237B (en) * 2020-12-30 2022-06-17 米哈游科技(上海)有限公司 Image erasing method and device, electronic equipment and storage medium
CN114827391A (en) * 2021-01-28 2022-07-29 北京小米移动软件有限公司 Camera switching method, camera switching device and storage medium
CN115514871A (en) * 2022-09-30 2022-12-23 读书郎教育科技有限公司 Overturning camera preview optimization system and method based on intelligent terminal
CN116546319A (en) * 2023-05-15 2023-08-04 展讯通信(天津)有限公司 Shooting switching method and device and electronic equipment
CN119520974A (en) * 2024-02-02 2025-02-25 华为技术有限公司 Filming method, electronic equipment
CN119520974B (en) * 2024-02-02 2025-08-12 华为技术有限公司 Shooting method and electronic equipment

Similar Documents

Publication Publication Date Title
CN107343144A (en) Dual camera switching processing method, device and equipment thereof
KR102340934B1 (en) Method and device to display background image
CN107613199B (en) Blurred photo generation method and device and mobile terminal
EP3579546B1 (en) Exposure control method, exposure control device and electronic device
CN107977940B (en) Background blurring processing method, device and equipment
CN108076286B (en) Image blurring method and device, mobile terminal and storage medium
US20190164257A1 (en) Image processing method, apparatus and device
KR102103252B1 (en) Image fusion method and apparatus, and terminal device
CN110677621B (en) Camera calling method and device, storage medium and electronic equipment
CN107172353B (en) Automatic exposure method and device and computer equipment
CN105979165A (en) Blurred photos generation method, blurred photos generation device and mobile terminal
US11283987B2 (en) Focus region display method and apparatus, and storage medium
JP2020528622A (en) Image processing methods, equipment and devices
WO2016047072A1 (en) Image processing apparatus and control method thereof
CN106993112A (en) Background virtualization method and device based on depth of field and electronic device
KR102304784B1 (en) Double camera-based imaging method and apparatus
CN105827980B (en) Focusing control method and device, imaging control method and device and electronic device
CN108024057A (en) Background blurring processing method, device and equipment
US11184536B2 (en) Method for controlling a dual camera unit and device
CN107945105A (en) Background blurring processing method, device and equipment
CN106357980A (en) Image blurring processing method, device and mobile terminal
JP2017504826A (en) Image device, method for automatic focusing in an image device, and corresponding computer program
CN107454315A (en) Face area processing method and device in backlit scene
JP2016178608A5 (en)
CN110166680B (en) Device imaging method, device, storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20171110

RJ01 Rejection of invention patent application after publication