WO2021098070A1 - 终端镜面拍照方法、终端及计算机可读存储介质 - Google Patents

终端镜面拍照方法、终端及计算机可读存储介质 Download PDF

Info

Publication number
WO2021098070A1
WO2021098070A1 PCT/CN2020/076331 CN2020076331W WO2021098070A1 WO 2021098070 A1 WO2021098070 A1 WO 2021098070A1 CN 2020076331 W CN2020076331 W CN 2020076331W WO 2021098070 A1 WO2021098070 A1 WO 2021098070A1
Authority
WO
WIPO (PCT)
Prior art keywords
mirror
user
original image
terminal
image
Prior art date
Application number
PCT/CN2020/076331
Other languages
English (en)
French (fr)
Inventor
肖明
李凌志
王海滨
柳汉龙
Original Assignee
深圳传音控股股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳传音控股股份有限公司 filed Critical 深圳传音控股股份有限公司
Publication of WO2021098070A1 publication Critical patent/WO2021098070A1/zh

Links

Images

Classifications

    • 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
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0264Details of the structure or mounting of specific components for a camera module assembly

Definitions

  • This application relates to the field of mobile terminals, and in particular to a terminal mirror camera method, a terminal, and a computer-readable storage medium.
  • the main purpose of this application is to propose a terminal mirror camera method, a terminal and a computer-readable storage medium, aiming to solve the problem of user perception caused by the full-screen display effect in the prior art or the increase in mechanical structure. Fouling affects the use of the problem.
  • the present application provides a method for taking pictures on a mirror surface of a terminal.
  • the terminal is provided with a camera module and a mirror surface.
  • the method includes the steps:
  • the original image is processed into a photo similar to the mirror image that the user sees.
  • the step of processing the original image into a photo similar to the mirror imaged picture seen by the user includes:
  • the original image is processed into a photo consistent with the mirror imaged picture seen by the user.
  • the method before the step of processing the original image into a photo consistent with the mirror imaged picture seen by the user, the method further includes:
  • the step of processing the original image into a photo consistent with the mirror imaged picture seen by the user includes:
  • the original image is processed through the user state information and/or the environment information, and preset mirror parameters to obtain a photo consistent with the mirror imaged picture seen by the user.
  • the user state information includes the distance between the user and the terminal at the time the original image was taken;
  • the step of processing the original image according to the user status information and/or the environment information, and preset mirror parameters to obtain a photo consistent with the mirror imaging picture seen by the user includes:
  • the original image is processed to obtain a photo consistent with the mirror imaged picture seen by the user.
  • the step of obtaining the user state information at the time when the original image was taken includes:
  • the obtained distance between the user and the terminal at the time when the original image was taken is saved as the user state information at the time when the original image was taken.
  • the step of processing the original image according to the relative positional relationship, the environmental information and preset mirror parameters to obtain a photo consistent with the mirror imaging picture seen by the user includes:
  • the brightness and hue parameters of the zoomed original image are adjusted according to the environmental information, and the adjusted image is cropped according to the relative position relationship and preset mirror parameters to obtain the mirror surface seen by the user Images with consistent images.
  • the environmental information includes environmental brightness and environmental hue
  • the step of adjusting the brightness and hue parameters of the scaled original image according to the environmental information includes:
  • the brightness and hue of the scaled original image are correspondingly adjusted to be consistent with the environment brightness and the environment hue in the environment information.
  • the step of cropping the adjusted image according to the relative position relationship and preset mirror parameters includes:
  • the cropping reference point in the adjusted image is determined through the relative position relationship, and the cropping reference point is used as the reference point, and the adjusted image is cropped according to the preset mirror parameters.
  • the preset mirror parameters include the size, shape, and ratio of the mirror; the step of using a cropping reference point as a reference point to crop the adjusted image according to the preset mirror parameters includes:
  • the original image after adjusting the brightness and hue parameters is cropped into an image that is consistent with the size, shape, and ratio of the preset mirror.
  • the step of processing the original image into a photo similar to the mirror imaged picture seen by the user includes:
  • the preview image is used as the photo.
  • the method further includes:
  • the step of obtaining the original image taken by the camera module includes:
  • the mirror surface and the rear cover of the terminal are integrally formed.
  • the mirror surface is a variable mirror surface; before the step of acquiring the original image taken by the camera module, the method further includes:
  • a trigger instruction is issued to control the variable mirror to be adjusted from a non-mirror state to a mirror display state.
  • the present application also provides a mirror camera method for a terminal.
  • the terminal is only provided with a camera module on the side facing away from the display screen, and a mirror is also provided on the same side of the camera module.
  • the method includes the steps:
  • the original image is processed into a photo consistent with the mirror imaged picture seen by the user.
  • the present application also provides a terminal, the terminal including a memory, a processor, and a computer program stored on the memory and running on the processor, and the computer program is executed by the processor.
  • the steps of the above-mentioned terminal mirror photographing method are realized.
  • the present application also provides a computer-readable storage medium having a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above-mentioned terminal mirror photographing method are implemented. .
  • This application proposes a terminal mirror photographing method, a terminal and a computer-readable storage medium.
  • the mirror photographing process after the original image taken by the camera module is acquired, the original image is processed into a mirror image similar to the mirror image seen by the user Photos, so that users can achieve the purpose of self-portrait through a single rear camera module. Therefore, the front camera module can be omitted on the terminal, so that the terminal display screen is completely without holes, avoiding the influence of the special-shaped screen on the look and feel of use. The problem of fouling caused by the installation of mechanical structures is avoided, and the cost can be reduced at the same time.
  • FIG. 1 is a schematic flowchart of a first embodiment of a mirror photographing method for a terminal according to this application;
  • Figure 2 is an optional schematic diagram of the mirror inlaid on the terminal housing in this application;
  • Figure 3 is a schematic diagram of the mirror surface and the terminal back cover integrally formed in this application;
  • FIG. 4 is a schematic diagram of the display and operation when the user uses the terminal to take a mirror photo in this application;
  • FIG. 5 is a schematic flowchart of a second embodiment of a mirror photographing method for a terminal according to this application.
  • FIG. 6 is a detailed flowchart of step S21 of the third embodiment of the mirror photographing method for a terminal according to this application;
  • FIG. 7 is a schematic diagram of the module structure of the terminal of this application.
  • the terminal can be a tablet computer, a mobile phone or a wearable device, or a computer device, and so on.
  • Fig. 1 is a schematic flow chart of a first embodiment of a mirror camera method for a terminal according to this application.
  • the method includes the steps:
  • Step S10 acquiring the original image taken by the camera module
  • the terminal includes a camera module and a mirror surface.
  • the camera module is used for shooting images
  • the mirror surface is used for imaging, and may be a physical mirror surface including a flat mirror, a concave lens or a convex lens.
  • the mirror surface can also be a variable mirror surface that can be adjusted when the power is on, that is, under normal circumstances, it presents a non-mirror state and cannot achieve mirror imaging. For example, when a trigger command issued by a processor is received, the non-mirror state is changed to a mirror surface Display status, mirror imaging can be realized at this time.
  • the mirror surface can be inlaid on the terminal housing (such as the terminal back cover), or referring to FIG. 3, the mirror surface can also be directly integrally formed with the terminal back cover, which is simple and beautiful.
  • the position of the mirror surface can be set according to actual needs, for example, located on the side or back of the terminal housing, and can also be located on the same surface of the terminal as the camera module.
  • the camera module can also be arranged only on the side facing away from the terminal display screen, and no camera module is arranged in the plane where the display screen is located.
  • the user can observe the imaging screen of the mirror in real time when using the camera module to take pictures, and then trigger the button on the terminal, software interface buttons, or voice commands to make the camera module perform the camera action to obtain the camera module shooting The original image.
  • step S20 the original image is processed into a photo similar to the mirror imaged picture seen by the user.
  • the original image taken by the camera module is generally different from the mirror imaged picture seen by the user. Therefore, the original image can be processed, and the original image can be processed into the mirror imaged picture seen by the user in terms of angle, size, and image ratio. , Color, brightness and hue are all similar photos.
  • the similarity here means that the similarity between the photo and the actual imaging screen meets the corresponding threshold in the similarity of each index.
  • the threshold may be set to 100%, that is, the step S20 may include:
  • step S201 the original image is processed into a photo consistent with the mirror imaged image seen by the user.
  • the mobile phone taking a mobile phone with a mirror on the same side of the mobile phone’s rear camera module as an example, the user can directly view the mirror imaging screen, and then take photos through the rear camera. The image is processed into a photo that is similar or even consistent with the mirror imaging screen, which makes this way of taking a self-portrait effect. Therefore, the mobile phone does not need to be equipped with a front camera module, allowing the mobile phone to form a complete and full-screen appearance, which brings more to users. The good look and feel also avoids the problem of dust accumulation caused by the installation of the mechanical structure. At the same time, it can also save costs if the front camera module is not installed.
  • the original image is processed into a photo similar to the mirror imaged picture seen by the user, so that the user can achieve self-portrait through a single rear camera module. Therefore, the front camera module can be omitted on the terminal, so that the terminal display screen is complete without digging holes, avoiding the influence of the special-shaped screen on the look and feel of use, and avoiding the problem of dust accumulation caused by the mechanical structure, and at the same time reducing the cost .
  • a camera module only on the side of the terminal facing away from the display screen, and the camera module is also provided with a mirror on the same side, and combined with the terminal mirror camera method provided in this embodiment to bring a better selfie experience to the user .
  • the method includes:
  • Step S30 obtaining user status information and/or environment information of the user at the time the original image was taken;
  • step S201 further includes:
  • step S21 the original image is processed through the user status information and/or the environment information and the preset mirror parameters to obtain a photo consistent with the mirror imaged picture seen by the user.
  • the basis for processing the original image may be user state information and/or environment information of the user at the time the original image was taken, as well as preset mirror parameters.
  • the user state information refers to the time when the original image was taken and the user’s environment information.
  • User-related state parameters may include the distance between the user and the terminal at the time the original image was taken, the position of the user's eyes, the relative positional relationship between the eyes and the camera module, etc.
  • the user state information is mainly used as the size of the original image.
  • the user’s environment information refers to the parameters related to the user’s environment at the moment of shooting, such as environment brightness and environment tone, etc.
  • the user’s environment information is mainly used as a reference to the original environment.
  • the basis for adjusting the color and brightness of the image; the preset mirror parameters include the size, shape, ratio of the mirror, and the position of the mirror at the terminal, etc.
  • the preset mirror parameters are mainly used as the picture size and shape of the original image. And the basis for the adjustment of the ratio.
  • the optimal imaging position of the mirror can be adjusted through experiments, and detection prompt programs such as voice and light can be set in the camera program.
  • mobile prompts can be issued according to the position of the user and the terminal to make the
  • the original image taken by the camera module has the effect of the relevant requirements corresponding to the user status information during mirror imaging, so the original image can be obtained without user status information, and the environment information and preset mirror parameters can be used alone Processing.
  • the camera module can also be programmed before leaving the factory to ensure that the real environment state is consistent with the environment state captured by the camera module.
  • the user state information includes the distance between the user and the terminal at the time the original image was taken; referring to FIG. 6, in the third embodiment of the terminal mirror photographing method of the present application based on the second embodiment of the present application, the Step S21 includes:
  • Step S22 locate the user's eye position in the original image
  • Step S23 Analyze the relative positional relationship between the human eye and the camera module according to the location of the user's eyes and the distance between the user and the terminal at the time the original image was taken in the user status information;
  • Step S24 processing the original image according to the relative position relationship, the environmental information and the preset mirror parameters to obtain a photo consistent with the mirror imaging picture seen by the user.
  • the positioning of the user's eye position in the original image can be to collect a large number of human eye contour image samples in advance, and compare the collected human eye contour image samples with the original image to find the user's eye position in the original image.
  • the position of the human eye can be located by recording the range of the human eye coordinate position in the original image.
  • the distance between the user and the terminal at the time the original image was taken can be obtained by a distance sensor arranged on the same surface as the mirror, for example, by at least one of an infrared ranging method and a laser ranging method Obtain the distance between the user and the terminal at the time the original image was taken, or it can be obtained by combining different algorithms according to the number of cameras in the camera module, such as a single-camera algorithm ranging method and/or a dual-camera ranging method Obtain. Among them, the camera algorithm distance measurement can be performed with reference to the prior art, which will not be repeated here. After the distance between the user and the terminal is obtained, the distance can be saved as one of the user state information at the time when the original image was taken.
  • the distance between the user and the terminal and the position of the human eye in the original image can be spatially calculated to determine the angle at which the user looks at the mirror, that is, the relative positional relationship between the human eye and the camera module, so as to compare the original image.
  • the image is adjusted to make the original image consistent with the mirror imaged picture seen by the user in the viewing angle, and then the original image is processed according to the environmental information and preset mirror parameters to obtain the mirror imaged picture consistent with the user’s view Photo.
  • This solution provides a detailed image processing solution for the user's status information, which helps to better restore the mirrored image that the user sees and achieve the "Selfie" effect.
  • step S24 may include:
  • the distance between the user and the terminal at the time the original image was taken is used to determine the zoom ratio required when the original image is zoomed to be consistent with the mirror image, and the original image is zoomed according to the zoom ratio;
  • the zoomed original image is adjusted for brightness and hue parameters, and the adjusted image is cropped according to the relative position relationship and preset mirror parameters to obtain a photo consistent with the mirror imaged picture seen by the user.
  • the ratio between the original image taken and the actual image can be obtained. It is understandable that the proportional relationship between camera modules of different models and different manufacturers can be different. You can refer to the parameters of these cameras to pre-set the proportional relationship and the corresponding relationship between the distances, and then obtain the corresponding relationship according to the obtained distance between the user and the terminal. The proportional relationship corresponding to the distance is scaled according to the obtained corresponding proportional relationship, so as to restore the actual screen ratio. Scaling refers to changing the overall size of the original image according to the zoom factor. When the zoom factor is greater than 1, the original image is zoomed in; when the zoom factor is less than 1, the original image is zoomed out; when the zoom factor is equal to 1, the original image is not changed. The overall size of the image.
  • the above environmental information is parameter information used to adjust brightness and hue, and may include environmental brightness and environmental hue;
  • the environmental brightness refers to the light brightness of the environment where the user is located, and the environmental brightness is mainly used to adjust the brightness of the original image Basis:
  • the environmental hue refers to the overall tendency of the user's environment color, and the environmental hue is mainly used as a basis for adjusting the hue of the original image. It should be noted that the original image taken by some camera modules may have color deviation compared with the human eye. Therefore, the original image needs to be toned to obtain the environmental brightness and environmental hue. After using the environmental information, the zoomed original image is processed.
  • the process of adjusting the brightness and hue parameters may be correspondingly adjusting the brightness and hue of the original image after scaling to be consistent with the environment brightness and hue in the environment information.
  • Color and brightness adjustment through environmental information can make the processed image consistent in color and brightness with what the user sees from the mirror imaging angle.
  • the mirror image that the human eye sees may be limited by the size of the mirror, and the size of the original image is determined by the maximum range of the camera module and the user’s preset settings.
  • the image size is not necessarily the same, so the original image needs to be cropped to fit the scope of the mirror imaging picture seen by the human eye.
  • the above-mentioned preset mirror parameters include the size, shape and ratio of the mirror; the process of using these mirror parameters in combination with the relative position relationship to perform image cropping may be to determine the cropping reference point in the adjusted image through the relative position relationship, for example, it may be a person.
  • the eye position reference point or the boundary point of the edge line, and the cropping reference point is used as the reference point to crop the original image after adjusting the brightness and hue parameters into an image consistent with the size, shape and ratio of the preset mirror.
  • the relative position relationship and various preset mirror parameters can make the cropped image consistent with what the user sees in terms of size and position ratio.
  • the step S20 may further include the step of processing the original image into a preview image similar to the mirror imaged picture seen by the user, and displaying the preview image;
  • the preview image is used as the photo. That is, in this embodiment, after processing the original image, the picture can also be previewed, that is, an image similar to the mirror imaging screen is displayed on the display module of the terminal for the user to browse the processed image effect.
  • the user can also perform the confirmation operation of the preview image and the editing process of the preview image.
  • the confirmation operation may be that the user submits the preview image confirmation information, and after the terminal receives the preview image confirmation information fed back by the user, the preview image at the time of confirmation is used as the final photographed photo.
  • a confirmation button may be displayed through the display module while displaying the preview picture.
  • a cancel button can also be set to facilitate canceling the preview image and returning to take another shot.
  • Editing processing operations can be image beautification, cropping, style switching, and watermarking. That is, after displaying the preview image, you can receive processing instructions from the user, and then edit the displayed preview image according to the processing instructions. When the processing is completed, the terminal can receive the confirmation information at this time, and further use the newly processed preview image as the completed photo.
  • This embodiment provides users with multiple functions for adding self-optimized images by performing preview processing and editing operations on the processed images similar to mirror imaging, which helps improve the function of mirror imaging.
  • the terminal may be a mobile phone, a wearable device, a tablet computer, etc., please refer to FIG. 7, which is a schematic diagram of the module structure of the terminal provided in this application.
  • the terminal may include components such as a communication module 10, a memory 20, and a processor 30.
  • the processor 30 is respectively connected to the memory 20 and the communication module 10, and a computer program is stored on the memory 20, and the computer program is executed by the processor 30 at the same time. When executed, the steps of the above method embodiment are realized.
  • the communication module 10 can be connected to external communication equipment via a network.
  • the communication module 10 can receive requests from external communication devices, and can also send requests, instructions, and information to the external communication devices.
  • the external communication devices can be other terminals, servers, or IoT devices, such as televisions.
  • the memory 20 can be used to store software programs and various data.
  • the memory 20 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (for example, obtaining the original image taken by a camera module), etc.;
  • the data storage area may include a database,
  • the data storage area can store data or information created according to the use of the system.
  • the memory 20 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 30 is the control center of the terminal. It uses various interfaces and lines to connect the various parts of the entire terminal. By running or executing software programs and/or modules stored in the memory 20, and calling data stored in the memory 20, Perform various functions of the terminal and process data to monitor the terminal as a whole.
  • the processor 30 may include one or more processing units; optionally, the processor 30 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem
  • the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 30.
  • the above-mentioned terminal may further include a circuit control module, which is used to connect to a power source to ensure the normal operation of other components.
  • a circuit control module which is used to connect to a power source to ensure the normal operation of other components.
  • This application also proposes a computer-readable storage medium, wherein the computer-readable storage medium is a non-volatile computer-readable storage medium on which a computer program is stored.
  • the computer-readable storage medium may be the memory 20 in the terminal of FIG. 7, or may be, for example, ROM (Read-Only Memory)/RAM (Random Access Memory), magnetic disk, and optical disk.
  • the computer-readable storage medium includes a number of instructions to make a terminal device (which may be a mobile phone, a computer, a server, a terminal, or a network device, etc.) with a processor execute the operations described in the various embodiments of the present application. The method described.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Studio Devices (AREA)

Abstract

本申请提出了一种终端镜面拍照方法、终端及计算机可读存储介质,所述方法包括步骤:获取摄像模块拍摄的原始图像;将原始图像处理成与用户所见的镜面成像画面类似的照片。其中在获取摄像模块拍摄的原始图像之后,将原始图像处理成与用户所见的镜面成像画面类似的照片,使用户通过单一的后置摄像模块即可达到自拍的目的,因此可以在终端上省去前置摄像模块,使终端显示屏完整无挖孔,避免了异形屏对使用观感的影响,也避免了设置机械结构产生积灰的问题,同时还能降低成本。

Description

终端镜面拍照方法、终端及计算机可读存储介质
本申请要求于2019年11月18日提交中国专利局、申请号为201911130016.3、发明名称为“终端镜面拍照方法、终端及计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在申请中。
技术领域
本申请涉及移动终端领域,尤其涉及一种终端镜面拍照方法、终端及计算机可读存储介质。
背景技术
现在越来越多的移动终端开始追求全面屏体验,不过由于前置摄像模块的存在,还不能做到完全的全面屏体验,以手机为例,为了追求手机的全面屏体验,现有技术采用刘海屏、挖孔屏等异形屏或是升降摄像模块的方式来达到这一效果,不过,在实际使用中,刘海屏与挖孔屏等异形屏会影响使用观感,而升降摄像模块由于采用机械结构,会存在有积灰的现象,长期会对机器造成影响。发明概述
技术问题
问题的解决方案
技术解决方案
本申请的主要目的在于提出一种终端镜面拍照方法、终端及计算机可读存储介质,旨在解决现有技术中为达到全面屏的完全显示效果而造成的用户观感问题或是增加机械结构导致产生积灰影响使用的问题。
为实现上述目的,本申请提供一种终端镜面拍照方法,所述终端设置有摄像模块,还设置有镜面,所述方法包括步骤:
获取摄像模块拍摄的原始图像;
将原始图像处理成与用户所见的镜面成像画面类似的照片。
可选地,所述将原始图像处理成与用户所见的镜面成像画面类似的照片的步骤包括:
将原始图像处理成与用户所见的镜面成像画面一致的照片。
可选地,所述将原始图像处理成与用户所见的镜面成像画面一致的照片的步骤之前还包括:
获取原始图像拍摄时刻的用户状态信息和/或用户所处的环境信息;
所述将原始图像处理成与用户所见的镜面成像画面一致的照片的步骤包括:
通过所述用户状态信息和/或所述环境信息,以及预设的镜面参数对所述原始图像进行处理,得到与用户所见的镜面成像画面一致的照片。
可选地,所述用户状态信息包括原始图像拍摄时刻的用户与终端之间的距离;
所述通过所述用户状态信息和/或所述环境信息,以及预设的镜面参数对所述原始图像进行处理,得到与用户所见的镜面成像画面一致的照片的步骤包括:
在所述原始图像中定位用户的人眼位置;
根据定位的用户的人眼位置以及用户状态信息中原始图像拍摄时刻的用户与终端之间的距离,分析人眼与摄像模块的相对位置关系;
根据所述相对位置关系,所述环境信息以及预设的镜面参数对所述原始图像进行处理,得到与用户所见的镜面成像画面一致的照片。
可选地,所述获取原始图像拍摄时刻的用户状态信息的步骤包括:
通过单摄像头算法测距方法、双摄像头测距方法、红外测距方法和激光测距方法中的至少一种获得原始图像拍摄时刻的用户与终端之间的距离;
将获得的原始图像拍摄时刻的用户与终端之间的距离保存为原始图像拍摄时刻的用户状态信息。
可选地,所述根据所述相对位置关系,所述环境信息以及预设的镜面参数对所述原始图像进行处理,得到与用户所见的镜面成像画面一致的照片的步骤包括:
通过原始图像拍摄时刻的用户与终端之间的距离确定原始图像缩放至与镜面成像画面一致时所需的缩放比例,并按照所述缩放比例对所述原始图像进行缩放;
根据所述环境信息对缩放后的原始图像进行亮度与色调参数调节,并根据所述相对位置关系以及预设的镜面参数对调节后的图像进行裁剪处理,以得到与所 述用户所见的镜面成像画面一致的照片。
可选地,所述环境信息包括环境亮度和环境色调;
所述根据所述环境信息对缩放后的原始图像进行亮度与色调参数调节的步骤包括:
将缩放后的原始图像的亮度和色调对应调节至与所述环境信息中环境亮度和环境色调一致。
可选地,所述根据所述相对位置关系以及预设的镜面参数对调节后的图像进行裁剪处理的步骤包括:
通过相对位置关系确定调节后的图像中的裁剪参考点,并以裁剪参考点为基准点,根据所述预设的镜面参数对调节后的图像进行裁剪。
可选地,所述预设的镜面参数包括镜面的尺寸、形状及比例;所述以裁剪参考点为基准点,根据所述预设的镜面参数对调节后的图像进行裁剪的步骤包括:
以裁剪参考点为基准点,将进行亮度与色调参数调节之后的原始图像裁剪为与预设镜面的尺寸、形状及比例一致的图像。
可选地,所述将原始图像处理成与用户所见的镜面成像画面类似的照片的步骤包括:
将原始图像处理成与用户所见的镜面成像画面类似的预览图像,并显示所述预览图像;
在接收到所述用户反馈的预览图像确认信息时,将所述预览图像作为所述照片。
可选地,所述显示所述预览图像的步骤之后,还包括:
在接收到所述用户对所述预览图像的处理指令时,根据所述处理指令对所述预览图像进行处理,并将处理完成的预览图像作为所述照片。
可选地,所述获取摄像模块拍摄的原始图像的步骤包括:
获取摄像模块在接收到用户的拍照指令时执行拍照操作所拍摄的原始图像。
可选地,所述镜面与终端后盖一体成型。
可选地,所述镜面为可变镜面;所述获取摄像模块拍摄的原始图像的步骤之前,还包括:
当监测到拍照应用启动时,发出触发指令控制可变镜面由非镜面状态调整为镜面显示状态。
为实现上述目的,本申请还提供一种终端镜面拍照方法,所述终端仅在背离显示屏的一面设置有摄像模块,所述摄像模块的同一面上还设置有镜面,所述方法包括步骤:
获取摄像模块拍摄的原始图像;
将原始图像处理成与用户所见的镜面成像画面一致的照片。
为实现上述目的,本申请还提供一种终端,所述终端包括存储器、处理器和存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如上所述的终端镜面拍照方法的步骤。
为实现上述目的,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如上所述的终端镜面拍照方法的步骤。
本申请提出的一种终端镜面拍照方法、终端及计算机可读存储介质,其中镜面拍照的过程中在获取摄像模块拍摄的原始图像之后,将原始图像处理成与用户所见的镜面成像画面类似的照片,使用户通过单一的后置摄像模块即可达到自拍的目的,因此可以在终端上省去前置摄像模块,使终端显示屏完整无挖孔,避免了异形屏对使用观感的影响,也避免了设置机械结构产生积灰的问题,同时还能降低成本。
发明的有益效果
对附图的简要说明
附图说明
图1为本申请终端镜面拍照方法第一实施例的流程示意图;
图2为本申请中镜面镶嵌在终端壳体上的可选示意图;
图3为本申请中镜面与终端后盖一体成型的示意图;
图4为本申请中用户使用终端进行镜面拍照时的显示与操作示意图;
图5为本申请终端镜面拍照方法第二实施例的流程示意图;
图6为本申请终端镜面拍照方法第三实施例步骤S21的细化流程图;
图7为本申请终端的模块结构示意图。
发明实施例
本发明的实施方式
应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。
本申请提供一种终端镜面拍照方法,所述终端可以是平板电脑、手机或可穿戴设备,还可以是计算机设备等等。
参照图1,图1为本申请终端镜面拍照方法第一实施例的流程示意图,在本实施例中,所述方法包括步骤:
步骤S10,获取摄像模块拍摄的原始图像;
所述终端包括摄像模块和镜面,所述摄像模块用于拍摄图像,镜面用于成像,可以是包括平面镜、凹透镜或凸透镜的物理镜面。所述镜面还可以是在通电情况下可调整的可变镜面,即普通情况下呈现非镜面状态,无法实现镜面成像,在收到例如处理器发出的触发指令时,由非镜面状态转为镜面显示状态,此时可以实现镜面成像,可选地应用在本方案中可以是在监测到摄像模块启动或拍照应用启动时,由非镜面状态调整为镜面显示状态,从而不影响用户日常对于终端的使用。可选地,参看图2,所述镜面可以镶嵌在终端壳体(例如终端后盖)上,或者参看图3,镜面也可以直接与终端后盖一体成型,简洁美观。所述镜面的位置可以根据实际需要进行设置,例如位于终端壳体的侧面或者背面,还可以与摄像模块位于所述终端同一面。可选地,摄像模块还可以仅设置在背离终端显示屏的一面,在显示屏所在平面内并无摄像模块设置。用户在使用摄像模块进行拍照时可实时观察所述镜面的成像画面,然后通过触发终端上的按键、软件界面按钮或是语音指令等拍照指令,使摄像模块执行拍照动作,以获取到摄像模块拍摄的原始图像。
步骤S20,将原始图像处理成与用户所见的镜面成像画面类似的照片。
摄像模块拍摄的原始图像与用户所见的镜面成像画面一般存在差异,因此可以对所述原始图像进行处理,将所述原始图像处理成与用户所见的镜面成像画面在角度、大小、图像比例、色彩、亮度以及色调等方面都类似的照片。需要说 明的是,此处的类似是指照片与实际成像画面在各个指标的相似度上符合对应的阈值,可选地,可以将阈值设定为100%,即所述步骤S20可以包括:
步骤S201,将原始图像处理成与用户所见的镜面成像画面一致的照片。
通过将原始画面处理成与镜面成像画面一致,从而提高用户在自拍时的使用体验,实现照片的精确处理。
参看图4,以手机,且在手机的后置摄像模块同一面设置有镜面为例,用户可以直接查看镜面成像画面,然后通过后置摄像头进行照片拍摄,在后置摄像头拍摄形成图像时由于终端将图像处理成了与镜面成像画面类似甚至一致的照片,使此种拍照方式起到了自拍的效果,因此手机可以不设置前置摄像模块,让手机形成完整的全面屏外观,给用户带来更好的观感,也避免了设置机械结构产生积灰的问题,同时不设置前置摄像模块也可以起到节省成本的作用。
本实施例中镜面拍照的过程中在获取摄像模块拍摄的原始图像之后,将原始图像处理成与用户所见的镜面成像画面类似的照片,使用户通过单一的后置摄像模块即可达到自拍的目的,因此可以在终端上省去前置摄像模块,使终端显示屏完整无挖孔,避免了异形屏对使用观感的影响,也避免了设置机械结构产生积灰的问题,同时还能降低成本。进一步地,还可以仅在终端背离显示屏的一面设置摄像模块,所述摄像模块的同一面上还设置有镜面,再结合本实施例提供的终端镜面拍照方法为用户带来更好的自拍体验。
进一步地,参照图5,在基于本申请的第一实施例所提出的本申请终端镜面拍照方法第二实施例中,在所述步骤S201之前包括:
步骤S30,获取原始图像拍摄时刻的用户状态信息和/或用户所处的环境信息;
在本实施例执行时,所述步骤S201还包括:
步骤S21,通过所述用户状态信息和/或所述环境信息,预设的镜面参数对所述原始图像进行处理,得到与用户所见的镜面成像画面一致的照片。
在本实施例中,对原始图像进行处理的依据可以是原始图像拍摄时刻的用户状态信息和/或用户所处的环境信息,以及预设的镜面参数,所述用户状态信息是指拍摄时刻与用户相关的状态参数,例如可以包括原始图像拍摄时刻的用户与终端之间的距离、用户人眼位置,人眼与摄像模块的相对位置关系等,所述用 户状态信息主要作为对原始图像的大小和视角进行调整的依据;所述用户所处的环境信息是指拍摄时刻与用户所处环境相关的参数,例如可以包括环境亮度和环境色调等,所述用户所处的环境信息主要作为对原始图像的颜色和亮度进行调整的依据;所述预设的镜面参数包括镜面的尺寸、形状、比例以及镜面位于终端的位置等,所述预设的镜面参数主要作为对原始图像的画面尺寸、形状及比例进行调整的依据。
需要说明的是,在终端出厂前,可以通过实验调节好镜面的最佳成像位置同时在拍照程序中设置语音、灯光等检测提示程序,例如可以根据用户与终端的位置发出挪动提示,使在进行原始图像处理之前保证摄像模块拍摄出来的原始图像即具有镜面成像时的用户状态信息所对应相关要求的效果,因此可以无需用户状态信息,单独利用环境信息和预设的镜面参数即可进行原始图像的处理。此外,当单独利用用户状态信息结合预设的镜面参数时,也可以通过出厂前对摄像模块的程序设置,保证真实环境状态与摄像模块拍摄出来的环境状态一致。
本实施例通过设置至少两种图像处理的调整参数,帮助能够从多方面将图像处理成与镜面成像画面一致的照片。
进一步地,所述用户状态信息包括原始图像拍摄时刻的用户与终端之间的距离;参照图6,在基于本申请第二实施例提出的本申请终端镜面拍照方法第三实施例中,所述步骤S21包括:
步骤S22,在所述原始图像中定位用户的人眼位置;
步骤S23,根据定位的用户的人眼位置以及用户状态信息中原始图像拍摄时刻的用户与终端之间的距离,分析人眼与摄像模块的相对位置关系;
步骤S24,根据所述相对位置关系,所述环境信息以及预设的镜面参数对所述原始图像进行处理,得到与用户所见的镜面成像画面一致的照片。
其中定位原始图像中用户的人眼位置可以是预先收集大量的人眼轮廓图像样本,将收集的人眼轮廓图像样本与原始图像进行参照比对,从而找到原始图像中用户的人眼位置,进一步可以通过记录原始图像中的人眼坐标位置范围以定位人眼位置。
还需要说明的是,原始图像拍摄时刻的用户与终端之间的距离可以通过与镜面设置在同一面上的距离传感器获取,例如可以是通过红外测距方法和激光测距方法中的至少一种获得原始图像拍摄时刻的用户与终端之间的距离,或者还可以根据摄像模块中摄像头的个数结合不同的算法进行获取,例如可以是通过单摄像头算法测距方法和/或双摄像头测距方法获取。其中摄像头算法测距可以参照现有技术执行,在此不过多赘述。在获得了用户与终端之间的距离之后即可将该距离保存作为原始图像拍摄时刻的用户状态信息之一。
在本实施例中,通过用户与终端的距离以及定位的原始图像的人眼位置可以进行空间计算,确定用户看向镜面的角度,即人眼与摄像模块的相对位置关系,以此来对原始图像进行调整,使得原始图像在视角上与用户所见的镜面成像画面一致,然后根据所述环境信息以及预设的镜面参数对所述原始图像进行处理,得到与用户所见的镜面成像画面一致的照片。本方案给出了用户状态信息的细化图像处理方案,帮助更好还原用户看到的镜面成像画面,实现“自拍”效果。
进一步地,在其他实施例中,所述步骤S24可以包括:
通过原始图像拍摄时刻的用户与终端之间的距离确定原始图像缩放至与镜面成像画面一致时所需的缩放比例,并按照所述缩放比例对所述原始图像进行缩放;根据所述环境信息对缩放后的原始图像进行亮度与色调参数调节,并根据所述相对位置关系以及预设的镜面参数对调节后的图像进行裁剪处理,以得到与所述用户所见的镜面成像画面一致的照片。
其中可以根据摄像模块的成像原理,参照用户与终端之间的距离得到拍摄成像的原始图像与实际画面的比例关系。可以理解的是,对于不同型号不同厂商的摄像模块比例关系可以不同,可以参照这些摄像头的参数进行比例关系和距离间对应关系的预先设置,然后根据获得的用户与终端之间的距离,获得该距离对应的比例关系,从而根据获得的对应的比例关系进行缩放,从而还原实际画面比例大小。缩放是指根据缩放系数对原始图像的整体大小进行改变,缩放系数大于1时,对原始图像进行放大操作;缩放系数小于1时,对原始图像进行缩小操作;缩放系数等于1时,不改变原始图像整体大小。
上述环境信息是用于进行亮度和色调调节的参数信息,可以包括环境亮度和环 境色调;所述环境亮度指用户所处环境的光亮度,所述环境亮度主要作为对原始图像的亮度进行调整的依据;所述环境色调指用户所处环境色彩的整体倾向,所述环境色调主要作为对原始图像的色调进行调整的依据。需要说明的是,部分摄像模块拍摄的原始图像对比人眼会出现色彩偏差的问题,因此需要对原始图像进行调色处理,获取环境亮度及环境色调,在使用环境信息对缩放后的原始图像进行亮度与色调参数调节的过程可以是将缩放后的原始图像的亮度和色调对应调节至与所述环境信息中环境亮度和环境色调一致。通过环境信息进行色彩亮度调节,能够使处理后的图像在色彩和亮度上与用户从镜面成像角度看到的一致。
需要说明的是,人眼看到的镜面成像画面可能受镜面大小的限制,而原始图像拍摄的大小是根据摄像模块的可拍摄最大范围以及用户预先设定所共同决定的,两者在所见的图像尺寸上不一定一致,因此需要对原始图像进行裁剪以符合人眼看到的镜面成像画面范围。其中上述预设的镜面参数包括镜面的尺寸、形状及比例;使用这些镜面参数结合相对位置关系进行图像裁剪的过程可以是通过相对位置关系确定调节后的图像中的裁剪参考点,例如可以是人眼位置参考点或者边缘线的交界点,并以裁剪参考点为基准点,将进行亮度与色调参数调节之后的原始图像裁剪为与预设镜面的尺寸、形状及比例一致的图像。通过相对位置关系和各种预设镜面参数能够使裁剪后的图像从大小尺寸和位置比例上与用户所见的一致。
进一步地,在其它实施例中,所述步骤S20还可以包括步骤:将原始图像处理成与用户所见的镜面成像画面类似的预览图像,并显示所述预览图像;
在接收到所述用户反馈的预览图像确认信息时,将所述预览图像作为所述照片。即在本实施例中,在处理原始图像完成之后,还可以进行图片的预览,即将与镜面成像画面类似的图像显示在终端的显示模块上,供用户浏览处理的图像效果。此外,在显示预览图像之后,还可以供用户进行预览图像的确认操作以及预览图像的编辑处理。确认操作可以是用户提交预览图像确认信息,由终端接收到用户反馈的预览图像确认信息后,将确认时的预览图像作为最终拍摄完成的照片。例如,可以在显示预览图片的同时通过显示模块显示一确认按钮, 当用户点击该确认按钮时,即认为接收到用户反馈的预览确认信息。相应的,还可以设置撤销按钮,从而方便取消该预览图像,返回重新进行拍摄。编辑处理操作则可以是对图像进行美化、裁剪、风格切换以及水印添加等处理,即在显示预览图像之后,可以接收用户的处理指令,然后根据处理指令对显示的预览图像进行编辑处理,当用户处理完成时,此时终端可以接收到确认信息,进一步将最新处理完成的预览图像作为拍摄完成的照片。本实施例通过对处理后的与镜面成像类似的画面进行预览处理以及编辑操作,给出了用户多种增加自我优化图像的功能,帮助提升了镜面拍照的功能。
本申请还提供一种终端,所述终端可以是手机、可穿戴设备以及平板电脑等等,请参看图7,图7为本申请所提供的终端的模块结构示意图。
在硬件结构上所述终端可以包括通信模块10、存储器20以及处理器30等部件。在所述终端中,所述处理器30分别与所述存储器20以及所述通信模块10连接,所述存储器20上存储有计算机程序,所述计算机程序同时被处理器30执行,所述计算机程序执行时实现上述方法实施例的步骤。
通信模块10,可通过网络与外部通讯设备连接。通信模块10可以接收外部通讯设备发出的请求,还可以发送请求、指令及信息至所述外部通讯设备,所述外部通讯设备可以是其它终端、服务器或者物联网设备,例如电视等等。
存储器20,可用于存储软件程序以及各种数据。存储器20可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如获取摄像模块拍摄的原始图像)等;存储数据区可包括数据库,存储数据区可存储根据系统的使用所创建的数据或信息等。此外,存储器20可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器30,是终端的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器20内的软件程序和/或模块,以及调用存储在存储器20内的数据,执行终端的各种功能和处理数据,从而对终端进行整体监控。处理器30可包括一个或多个处理单元;可选地,处理器30可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程 序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器30中。
尽管图7未示出,但上述终端还可以包括电路控制模块,所述电路控制模块用于与电源连接,保证其他部件的正常工作。本领域技术人员可以理解,图7中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
本申请还提出一种计算机可读存储介质,其中,该计算机可读存储介质为非易失性计算机可读存储介质,其上存储有计算机程序。所述计算机可读存储介质可以是图7的终端中的存储器20,也可以是如ROM(Read-Only Memory,只读存储器)/RAM(Random Access Memory,随机存取存储器)、磁碟、光盘中的至少一种,所述计算机可读存储介质包括若干指令用以使得一台具有处理器的终端设备(可以是手机,计算机,服务器,终端,或者网络设备等)执行本申请各个实施例所述的方法。
在本申请中,术语“第一”“第二”“第三”“第四”“第五”仅用于描述的目的,而不能理解为指示或暗示相对重要性,对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本申请中的具体含义。
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。
尽管上面已经示出和描述了本申请的可选实施例,本申请保护的范围并不局限于此,可以理解的是,上述实施例是示例性的,不能理解为对本申请的限制,本领域的普通技术人员在本申请的范围内可以对上述实施例进行变化、修改和替换,这些变化、修改和替换都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。

Claims (20)

  1. 一种终端镜面拍照方法,其中,所述终端设置有摄像模块,还设置有镜面,所述方法包括步骤:
    获取摄像模块拍摄的原始图像;
    将原始图像处理成与用户所见的镜面成像画面类似的照片。
  2. 根据权利要求1所述的终端镜面拍照方法,其中,所述将原始图像处理成与用户所见的镜面成像画面类似的照片的步骤包括:
    将原始图像处理成与用户所见的镜面成像画面一致的照片。
  3. 根据权利要求2所述的终端镜面拍照方法,其中,所述将原始图像处理成与用户所见的镜面成像画面一致的照片的步骤之前还包括:
    获取原始图像拍摄时刻的用户状态信息和/或用户所处的环境信息;
    所述将原始图像处理成与用户所见的镜面成像画面一致的照片的步骤包括:
    通过所述用户状态信息和/或所述环境信息,以及预设的镜面参数对所述原始图像进行处理,得到与用户所见的镜面成像画面一致的照片。
  4. 根据权利要求3所述的终端镜面拍照方法,其中,所述用户状态信息包括原始图像拍摄时刻的用户与终端之间的距离;
    所述通过所述用户状态信息和/或所述环境信息,以及预设的镜面参数对所述原始图像进行处理,得到与用户所见的镜面成像画面一致的照片的步骤包括:
    在所述原始图像中定位用户的人眼位置;
    根据定位的用户的人眼位置以及用户状态信息中原始图像拍摄时刻的用户与终端之间的距离,分析人眼与摄像模块的相对位置关系;
    根据所述相对位置关系,所述环境信息以及预设的镜面参数对所 述原始图像进行处理,得到与用户所见的镜面成像画面一致的照片。
  5. 根据权利要求4所述的终端镜面拍照方法,其中,所述获取原始图像拍摄时刻的用户状态信息的步骤包括:
    通过单摄像头算法测距方法、双摄像头测距方法、红外测距方法和激光测距方法中的至少一种获得原始图像拍摄时刻的用户与终端之间的距离;
    将获得的原始图像拍摄时刻的用户与终端之间的距离保存为原始图像拍摄时刻的用户状态信息。
  6. 根据权利要求4或5所述的终端镜面拍照方法,其中,所述根据所述相对位置关系,所述环境信息以及预设的镜面参数对所述原始图像进行处理,得到与用户所见的镜面成像画面一致的照片的步骤包括:
    通过原始图像拍摄时刻的用户与终端之间的距离确定原始图像缩放至与镜面成像画面一致时所需的缩放比例,并按照所述缩放比例对所述原始图像进行缩放;
    根据所述环境信息对缩放后的原始图像进行亮度与色调参数调节,并根据所述相对位置关系以及预设的镜面参数对调节后的图像进行裁剪处理,以得到与所述用户所见的镜面成像画面一致的照片。
  7. 根据权利要求6所述的终端镜面拍照方法,其中,所述环境信息包括环境亮度和环境色调;
    所述根据所述环境信息对缩放后的原始图像进行亮度与色调参数调节的步骤包括:
    将缩放后的原始图像的亮度和色调对应调节至与所述环境信息中环境亮度和环境色调一致。
  8. 根据权利要求6所述的终端镜面拍照方法,其中,所述根据所述相对位置关系以及预设的镜面参数对调节后的图像进行裁剪处理的 步骤包括:
    通过相对位置关系确定调节后的图像中的裁剪参考点,并以裁剪参考点为基准点,根据所述预设的镜面参数对调节后的图像进行裁剪。
  9. 根据权利要求8所述的终端镜面拍照方法,其中,所述预设的镜面参数包括镜面的尺寸、形状及比例;所述以裁剪参考点为基准点,根据所述预设的镜面参数对调节后的图像进行裁剪的步骤包括:
    以裁剪参考点为基准点,将进行亮度与色调参数调节之后的原始图像裁剪为与预设镜面的尺寸、形状及比例一致的图像。
  10. 根据权利要求1所述的终端镜面拍照方法,其中,所述将原始图像处理成与用户所见的镜面成像画面类似的照片的步骤包括:
    将原始图像处理成与用户所见的镜面成像画面类似的预览图像,并显示所述预览图像;
    在接收到所述用户反馈的预览图像确认信息时,将所述预览图像作为所述照片。
  11. 根据权利要求10所述的终端镜面拍照方法,其中,所述显示所述预览图像的步骤之后,还包括:
    在接收到所述用户对所述预览图像的处理指令时,根据所述处理指令对所述预览图像进行处理,并将处理完成的预览图像作为所述照片。
  12. 根据权利要求1所述的终端镜面拍照方法,其中,所述获取摄像模块拍摄的原始图像的步骤包括:
    获取摄像模块在接收到用户的拍照指令时执行拍照操作所拍摄的原始图像。
  13. 根据权利要求1所述的终端镜面拍照方法,其中,所述镜面与终端后盖一体成型。
  14. 根据权利要求1所述的终端镜面拍照方法,其中,所述镜面为可变 镜面;所述获取摄像模块拍摄的原始图像的步骤之前,还包括:当监测到拍照应用启动时,发出触发指令控制可变镜面由非镜面状态调整为镜面显示状态。
  15. 一种终端镜面拍照方法,其中,所述终端仅在背离显示屏的一面设置有摄像模块,所述摄像模块的同一面上还设置有镜面,所述方法包括步骤:
    获取摄像模块拍摄的原始图像;
    将原始图像处理成与用户所见的镜面成像画面一致的照片。
  16. 一种终端,其中,所述终端包括存储器、处理器和存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时,执行如下步骤:
    获取摄像模块拍摄的原始图像;
    将原始图像处理成与用户所见的镜面成像画面类似的照片。
  17. 根据权利要求16所述的终端,其中,所述计算机程序被所述处理器执行时,还执行如下步骤:
    将原始图像处理成与用户所见的镜面成像画面一致的照片。
  18. 根据权利要求17所述的终端,其中,所述计算机程序被所述处理器执行时,还执行如下步骤:
    获取原始图像拍摄时刻的用户状态信息和/或用户所处的环境信息;
    所述将原始图像处理成与用户所见的镜面成像画面一致的照片的步骤包括:
    通过所述用户状态信息和/或所述环境信息,以及预设的镜面参数对所述原始图像进行处理,得到与用户所见的镜面成像画面一致的照片。
  19. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时,执行如下步骤:
    获取摄像模块拍摄的原始图像;
    将原始图像处理成与用户所见的镜面成像画面类似的照片。
  20. 根据权利要求19所述的计算机可读存储介质,其中,所述计算机程序被所述处理器执行时,还执行如下步骤:
    将原始图像处理成与用户所见的镜面成像画面一致的照片。
PCT/CN2020/076331 2019-11-18 2020-02-24 终端镜面拍照方法、终端及计算机可读存储介质 WO2021098070A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911130016.3 2019-11-18
CN201911130016.3A CN110868540B (zh) 2019-11-18 2019-11-18 终端镜面拍照方法、终端及计算机可读存储介质

Publications (1)

Publication Number Publication Date
WO2021098070A1 true WO2021098070A1 (zh) 2021-05-27

Family

ID=69655410

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/076331 WO2021098070A1 (zh) 2019-11-18 2020-02-24 终端镜面拍照方法、终端及计算机可读存储介质

Country Status (2)

Country Link
CN (1) CN110868540B (zh)
WO (1) WO2021098070A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115514874A (zh) * 2021-06-07 2022-12-23 荣耀终端有限公司 一种视频拍摄方法及电子设备

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111866384B (zh) * 2020-07-16 2022-02-01 深圳传音控股股份有限公司 拍摄控制方法、移动终端及计算机存储介质
CN111915683B (zh) * 2020-07-27 2024-06-25 湖南大学 图像位置标定方法、智能设备及存储介质
CN112860360B (zh) * 2020-12-31 2023-02-24 上海米哈游天命科技有限公司 一种画面拍摄方法、装置、存储介质及电子设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102960987A (zh) * 2012-12-04 2013-03-13 北京邮电大学 基于半透半反和人眼识别的自拍镜子
WO2014156146A1 (ja) * 2013-03-29 2014-10-02 パナソニック株式会社 電子ミラー装置
CN105306797A (zh) * 2015-10-27 2016-02-03 广东欧珀移动通信有限公司 一种用户终端及图像拍摄方法
CN105959544A (zh) * 2016-05-23 2016-09-21 维沃移动通信有限公司 一种移动终端的图像处理方法及移动终端
CN106791412A (zh) * 2016-12-29 2017-05-31 深圳市金立通信设备有限公司 一种拍摄控制方法及终端
CN108632413A (zh) * 2018-05-15 2018-10-09 维沃移动通信有限公司 一种拍照方法及移动终端

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204494040U (zh) * 2014-12-31 2015-07-22 东莞市联臣电子科技有限公司 自拍装置
CN104898835B (zh) * 2015-05-19 2019-09-24 联想(北京)有限公司 一种信息处理方法及电子设备
CN207977987U (zh) * 2017-11-07 2018-10-16 李晓菊 一种全屏幕手机

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102960987A (zh) * 2012-12-04 2013-03-13 北京邮电大学 基于半透半反和人眼识别的自拍镜子
WO2014156146A1 (ja) * 2013-03-29 2014-10-02 パナソニック株式会社 電子ミラー装置
CN105306797A (zh) * 2015-10-27 2016-02-03 广东欧珀移动通信有限公司 一种用户终端及图像拍摄方法
CN105959544A (zh) * 2016-05-23 2016-09-21 维沃移动通信有限公司 一种移动终端的图像处理方法及移动终端
CN106791412A (zh) * 2016-12-29 2017-05-31 深圳市金立通信设备有限公司 一种拍摄控制方法及终端
CN108632413A (zh) * 2018-05-15 2018-10-09 维沃移动通信有限公司 一种拍照方法及移动终端

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115514874A (zh) * 2021-06-07 2022-12-23 荣耀终端有限公司 一种视频拍摄方法及电子设备
CN115514874B (zh) * 2021-06-07 2024-04-05 荣耀终端有限公司 一种视频拍摄方法及电子设备

Also Published As

Publication number Publication date
CN110868540B (zh) 2022-09-09
CN110868540A (zh) 2020-03-06

Similar Documents

Publication Publication Date Title
WO2021098070A1 (zh) 终端镜面拍照方法、终端及计算机可读存储介质
EP3346329B1 (en) Image processing method and apparatus
JP6522708B2 (ja) プレビュー画像表示方法及び装置、並びに端末
JP6101397B2 (ja) 写真出力方法および装置
CN106250839B (zh) 一种虹膜图像透视校正方法、装置和移动终端
CN105554411A (zh) 一种基于屏幕补光的拍照方法、装置及移动终端
EP3544286B1 (en) Focusing method, device and storage medium
WO2015192547A1 (zh) 一种基于移动终端的三维照片拍摄方法及移动终端
WO2019214574A1 (zh) 图像拍摄方法、装置及电子终端
CN107493407A (zh) 拍照装置及拍照方法
CN111818304A (zh) 图像融合方法及装置
CN113329172B (zh) 拍摄方法、装置及电子设备
CN110933297B (zh) 智能摄影系统的摄影控制方法、装置、存储介质及系统
CN110519520A (zh) 一种后摄自拍的方法及系统
WO2018166170A1 (zh) 一种图像处理的方法、装置及智能会议终端
WO2018196854A1 (zh) 一种拍照方法、拍照装置及移动终端
CN105791671B (zh) 一种前摄像头拍摄修正方法、装置及终端
CN113840083A (zh) 一种相机控制方法、装置以及存储介质
CN113747011B (zh) 一种辅助拍摄方法、装置、电子设备及介质
CN104427226B (zh) 图像采集方法和电子设备
TW201926251A (zh) 全景攝像機、圖像處理系統及圖像處理方法
WO2019061051A1 (zh) 一种拍照方法和拍照装置
WO2021078302A1 (zh) 终端及拍摄方法、存储介质、电子装置
WO2023225910A1 (zh) 视频显示方法及装置、终端设备及计算机存储介质
CN104349131B (zh) 一种信息处理方法及电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20889250

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

Country of ref document: EP

Kind code of ref document: A1