WO2024041394A1 - 拍摄方法及相关装置 - Google Patents
拍摄方法及相关装置 Download PDFInfo
- Publication number
- WO2024041394A1 WO2024041394A1 PCT/CN2023/112243 CN2023112243W WO2024041394A1 WO 2024041394 A1 WO2024041394 A1 WO 2024041394A1 CN 2023112243 W CN2023112243 W CN 2023112243W WO 2024041394 A1 WO2024041394 A1 WO 2024041394A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- picture
- electronic device
- camera
- image
- area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
- H04N23/631—Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
- H04N23/631—Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
- H04N23/632—Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
- H04N23/633—Control of cameras or camera modules by using electronic viewfinders for displaying additional information relating to control or operation of the camera
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/695—Control of camera direction for changing a field of view, e.g. pan, tilt or based on tracking of objects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/95—Computational photography systems, e.g. light-field imaging systems
- H04N23/951—Computational photography systems, e.g. light-field imaging systems by using two or more images to influence resolution, frame rate or aspect ratio
Definitions
- the present application relates to the field of terminal technology, and in particular to photographing methods and related devices.
- Methods for taking group photos include the following:
- the selfie stick increases the user's load when traveling, makes it impossible to control the shooting distance, and the shooting clarity of the front camera is low.
- the tripod also increases the load and cannot be previewed in real time. There is also a risk of damage to the shooting equipment. Placing the shooting equipment on the ground will not allow real-time preview or control of the shooting distance.
- This application provides a shooting method and related devices, which can achieve high-quality group photos of multiple objects without the help of other equipment or other personnel.
- embodiments of the present application provide a photographing method, which is applied to electronic devices.
- the method may include: the electronic device starts a gallery application and displays a first user interface, a first picture is displayed in the first user interface, and the first picture contains a first object; the electronic device receives a first operation for the first picture; The electronic device starts the camera application and displays the second user interface. A preview box is displayed in the second user interface. The image collected by the camera of the electronic device and the instruction information of the first image are displayed in the preview box; the electronic device receives the user interface.
- the electronic device stores a second picture, the second picture is obtained by fitting the image collected by the camera and the first picture, the image collected by the camera contains the second object, and the second picture contains the first object and the second object.
- the electronic device can call the camera application through the gallery application, and can complete the photo of the first object and the second object without the help of other devices or other people, and during the photo taking process, Preview and adjust the relative position between the first object and the second object in real time. You can also flexibly adjust the shooting distance and the camera used to achieve a high-quality photo effect. Moreover, this method is easy to operate, short in time, convenient and fast, and can support continuous and large number of group photos.
- the first object or the second object is any one of the following: characters, animals, landmarks, buildings, and dolls.
- the number of the first object or the second object may be multiple.
- the indication information of the first picture displayed by the electronic device in the preview box may be the first picture with transparency or blur.
- the user can not only see the first picture through the preview box, but also see the image collected by the camera displayed on the electronic device through the blurred or transparent first picture, thereby achieving a real-time preview of the first picture.
- the electronic device after receiving the second operation, can obtain the second picture by fitting in any of the following ways:
- Method 1 Fit the area of the second object in the image collected by the camera to the first picture, thereby obtaining the second picture.
- the electronic device identifies the second object in the image collected by the camera; determines the main area containing the second object in the image collected by the camera, and the main area is the area determined based on the second object; in the first picture Determine the co-located area, the part outside the co-located area in the first picture, and the correlation of the part outside the main area in the image collected by the camera is greater than the second value; fit the main area to the co-located area in the first picture, and get Second picture.
- Method 2 Fit the area of the first object in the first picture to the image collected by the camera to obtain the second picture.
- the electronic device identifies the first object in the first picture; determines a main area containing the first object in the first picture, and the main area is an area determined based on the first object; determines the co-located area in the image collected by the camera, and the camera The portion of the acquired image outside the apposition area, and, The correlation of the parts other than the main area in the first picture is greater than the second value; fit the main area to the same area in the image collected by the camera to obtain the second picture.
- the main area can be an area obtained by extending outward by a distance of the first value based on the corresponding object (such as the first object or the second object), or an area obtained by extending to the surroundings and the corresponding object. Areas of similar or identical colors or pixels.
- the first value may be preset by the electronic device. The first value may be related to the electronic device configuration camera model.
- Determining the main area based on the corresponding object can not only ensure the integrity of the objects in the main area, but also avoid excessive expansion of the range, thereby ensuring the effect of subsequent fitting.
- the position of the co-located area in the first picture and the position of the main area in the image collected by the camera are the same. In this way, the effect that the user adjusts in real time based on the content in the preview box can directly act on the final fitting effect, achieving the purpose of the user adjusting the photo effect in real time.
- the size and shape of the co-located area in the first picture and the size and shape of the main area in the image collected by the camera are the same or different.
- the second picture is the highest quality frame of the composite image obtained by fitting the multi-frame images collected by the camera to the first picture respectively;
- the multi-frame images collected by the camera include: At the moment when the electronic device receives the second operation and the images collected by the camera at the previous moment, the number of multi-frame images is preset by the electronic device. This ensures high-quality photo effects.
- the second picture is a composite image obtained by fitting the image collected by the camera at the moment when the second operation is received and the first picture.
- the first control is displayed in the first user interface, and before the electronic device receives the first operation for the first picture, the method further includes: the electronic device receives the operation that acts on the first control. User operation; the electronic device displays the second control in the first user interface; the first operation includes a user operation acting on the second control.
- the electronic device may receive a third operation for viewing the second picture and display the second picture. Equivalently, after completing the group photo of the first object and the second object, the user can also view the group photo on the electronic device.
- embodiments of the present application provide a photographing method, which is applied to electronic devices.
- the method may include: the electronic device starts a gallery application and displays a first user interface, a first picture is displayed in the first user interface, and the first picture contains a first object; the electronic device receives a first operation for the first picture; The electronic device starts the camera application and displays the second user interface.
- a preview box is displayed in the second user interface, and a composite image is displayed in the preview box.
- the composite image is obtained by fitting the image collected by the camera of the electronic device and the first picture.
- the camera The collected image contains the second object; the electronic device receives the second operation for taking pictures; the electronic device stores the second picture, the second picture is the composite image displayed in the preview box when the second operation is received, and the second picture contains first object and second object.
- the electronic device can call the camera application through the gallery application, and can display the effect of the group photo to the user in real time in the preview box, allowing the user to feel the effect of the group photo more intuitively, and can do so without the help of other devices or Complete the group photo of the first object and the second object without the presence of other persons.
- this method is easy to operate, short in time, convenient and fast, and can support continuous and large number of group photos.
- the first object or the second object is any one of the following: characters, animals, landmarks, buildings, and dolls.
- the number of the first object or the second object may be multiple.
- the electronic device can fit the composite image displayed in the preview box in any of the following ways:
- Method 1 Fit the area of the second object in the image collected by the camera to the first picture, thereby obtaining the second picture.
- Method 2 Fit the area of the first object in the first picture to the image collected by the camera to obtain the second picture.
- the first control is displayed in the first user interface, and before the electronic device receives the first operation for the first picture, it can also receive a user operation acting on the first control, and
- the second control is displayed in the first user interface; the first operation includes a user operation acting on the second control.
- the electronic device may receive a third operation for viewing the second picture and display the second picture. Equivalently, after completing the group photo of the first object and the second object, the user can also view the group photo on the electronic device.
- embodiments of the present application provide a photographing method, which is applied to electronic devices.
- the method may include: electronic device display A second user interface is displayed, a preview box and a third control are displayed in the second user interface, and an image collected by the camera of the electronic device is displayed in the preview box; the electronic device detects the fourth operation acting on the third control; the electronic device One or more pictures are displayed; the electronic device detects a fifth operation acting on a first picture of the one or more pictures, the first picture containing the first object; the electronic device is in the preview box of the second user interface , display the image collected by the camera of the electronic device, and the indication information of the first picture; the electronic device receives the second operation for taking pictures; the electronic device stores the second picture, the second picture is the image collected by the camera and the first picture It is obtained from fitting that the image collected by the camera contains the second object, and the second picture contains the first object and the second object.
- the electronic device can start the co-photography function through the preview interface, and can complete the photo of the first object and the second object without the help of other devices or other people, and can also take a real-time photo during the photo-taking process.
- this method is easy to operate, short in time, convenient and fast, and can support continuous and large number of group photos.
- the second user interface may be provided by the camera application, or may be an interface provided by other applications calling the camera interface.
- Other applications may be, for example, social networking applications, shopping applications, etc.
- the co-shooting function can be activated through the camera application or other applications.
- the method and technical effects of fitting the electronic device to obtain the second picture may refer to the relevant descriptions in the first aspect.
- the second picture is the highest quality frame of the composite image obtained by fitting the multiple frame images collected by the camera to the first picture respectively;
- the multiple frame images collected by the camera include: At the moment when the electronic device receives the second operation and the images collected by the camera at the previous moment, the number of multi-frame images is preset by the electronic device. This ensures high-quality photo effects.
- the second picture is a composite image obtained by fitting the image collected by the camera at the moment when the second operation is received and the first picture.
- the electronic device may receive a third operation for viewing the second picture and display the second picture. Equivalently, after completing the group photo of the first object and the second object, the user can also view the group photo on the electronic device.
- embodiments of the present application provide a photographing method, which is applied to electronic devices.
- the method may include: the electronic device displays a second user interface, a preview box and a third control are displayed in the second user interface, and an image collected by a camera of the electronic device is displayed in the preview box; the electronic device detects an action on the third control The fourth operation; the electronic device displays one or more pictures; the electronic device detects the fifth operation acting on a first picture of the one or more pictures, and the first picture contains the first object; the electronic device A composite image is displayed in the preview box of the second user interface. The composite image is obtained by fitting the image collected by the camera of the electronic device and the first picture.
- the image collected by the camera contains the second object; the electronic device receives the second operation for taking pictures; The electronic device stores a second picture, the second picture is a composite image displayed in the preview box when the second operation is received, and the second picture contains the first object and the second object.
- the electronic device can activate the co-photography function through the preview interface, and can display the photo effect to the user in real time in the preview box, allowing the user to feel the photo effect more intuitively, and can do so without the help of other devices or other devices.
- the electronic device can activate the co-photography function through the preview interface, and can display the photo effect to the user in real time in the preview box, allowing the user to feel the photo effect more intuitively, and can do so without the help of other devices or other devices.
- this method is easy to operate, short in time, convenient and fast, and can support continuous and large number of group photos.
- the second user interface may be provided by a camera application, or may be an interface provided by other applications calling the camera interface.
- Other applications may be, for example, social networking applications, shopping applications, etc. Equivalently, the co-shooting function can be activated through the camera application or other applications.
- the first object or the second object is any one of the following: characters, animals, landmarks, buildings, and dolls.
- the number of the first object or the second object may be multiple.
- the electronic device can fit the composite image displayed in the preview box in any of the following ways:
- Method 1 Fit the area of the second object in the image collected by the camera to the first picture, thereby obtaining the second picture.
- Method 2 Fit the area of the first object in the first picture to the image collected by the camera to obtain the second picture.
- the electronic device may receive a third operation for viewing the second picture and display the second picture. Equivalently, after completing the group photo of the first object and the second object, the user can also Please check out this photo.
- embodiments of the present application provide an electronic device, including: a memory and one or more processors; the memory is coupled to the one or more processors, and the memory is used to store computer program code, and the computer program code includes computer instructions.
- one or more processors invoke computer instructions to cause the electronic device to execute the method of any implementation implemented by the electronic device in the first aspect, the second aspect, the third aspect, or the fourth aspect.
- embodiments of the present application provide a computer-readable storage medium, including instructions.
- the electronic device When the instructions are run on an electronic device, the electronic device causes the electronic device to execute the first aspect, the second aspect, the third aspect, or the fourth aspect. The method of any embodiment executed by the electronic device.
- embodiments of the present application provide a computer program product.
- the computer program product When the computer program product is run on a computer, it causes the computer to execute as executed by the electronic device in the first aspect, the second aspect, the third aspect, or the fourth aspect. Any method of implementation.
- inventions of the present application provide a chip system.
- the chip system includes at least one processor for implementing the steps performed by the electronic device in the first aspect, the second aspect, the third aspect, or the fourth aspect. Any method of implementation.
- the electronic device can complete the group photo of the first object and the second object without the help of other equipment or other personnel, and can also preview and adjust the first object and the second object in real time during the group photo process.
- the relative position between objects can also be flexibly adjusted to the shooting distance and the camera used to achieve high-quality group photos.
- this method is easy to operate, short in time, convenient and fast, and can support continuous and large number of group photos.
- FIG. 1A is a schematic diagram of the hardware structure of the electronic device 100 provided by an embodiment of the present application.
- FIG. 1B is a schematic diagram of the software structure of the electronic device 100 provided by the embodiment of the present application.
- FIG. 1C is a schematic diagram of another software structure of the electronic device 100 provided by the embodiment of the present application.
- Figures 2A-2H are a set of user interfaces for taking a group photo provided by the electronic device 100 in the embodiment of the present application;
- Figures 3A to 3F are another set of user interfaces for taking a group photo provided by the electronic device 100 in the embodiment of the present application;
- Figures 4A and 4B show the user interface provided by the gallery application after the electronic device 100 saves the fitted pictures in the embodiment of the present application;
- Figure 5 is a flow chart of the shooting method provided by the embodiment of the present application.
- Figures 6A-6B are examples of several image processing processes provided by embodiments of the present application.
- first and second are used for descriptive purposes only and shall not be understood as implying or implying relative importance or implicitly specifying the quantity of indicated technical features. Therefore, the features defined as “first” and “second” may explicitly or implicitly include one or more of the features. In the description of the embodiments of this application, unless otherwise specified, “plurality” The meaning is two or more.
- GUI graphical user interface
- the electronic device can activate the "co-photography" function for a selected picture containing object A, then start the camera application, and display the picture with transparency or blur in the preview interface provided by the camera application, And simultaneously display the image collected by the camera of the electronic device.
- the electronic device can receive a photographing instruction input by the user, and can then fit the image with the image collected by the camera to generate a composite image containing both object A and object B. .
- the above-mentioned object A or object B may include but is not limited to: characters, animals, landmarks, buildings, dolls, etc.
- the number of object A or object B can be multiple.
- the above shooting method can achieve a group photo of object A and object B.
- This method can complete the group photo without the help of other equipment or other people, and can also preview and adjust the relative positions of object B and object A in real time during the group photo, and can also flexibly adjust the shooting distance and the camera used for shooting. , to achieve high-quality photo effects.
- this method is easy to operate, short in time, convenient and fast, and can support continuous and large number of group photos.
- the above shooting method can be applied to scenes that require group photos, including but not limited to: multiple group photos of the same person at the same place; group photos of new people and people in old photos to achieve group photos of multiple people at the same place at different times.
- the electronic device can extract the area where object B is located in the image captured by the camera, and fit the area to a picture containing object A, while the rest of the picture remains unchanged to generate a generated image that also contains object A.
- Composite image of object B Through image fitting, object B can be smoothly and naturally integrated into the corresponding area of the picture containing object A, resulting in a natural, high-quality photo effect.
- the electronic device can also extract the area where object A is located in the picture, and fit the area to the image collected by the camera. For the specific method of generating a composite image, please refer to the detailed description of subsequent method embodiments.
- the electronic device can select N frames of images captured by the camera at that moment and before, starting from the moment when the photographing instruction is received, and perform fitting processing on each of the N frames of images and the picture containing object A, to obtain N frame-by-frame composite image, and then select the frame with the best quality from these N frames of composite images and store it as a group photo result.
- the optimal frame can be selected from multiple frames of composite images as the photo result to achieve a high-quality photo effect.
- this method also takes into account the time delay between the user seeing the photo effect on the preview interface and inputting the photo command, thereby avoiding using the composite image corresponding to the moment when the photo command is received as the final photo effect.
- the electronic device after the electronic device starts the camera application, it can also directly fit the image captured by the camera with the selected image containing object A, and directly display the composite image in the preview interface provided by the camera application.
- the "co-photography” function is provided by the electronic device.
- This function supports the electronic device to display a transparent or blurred picture containing object A in the preview interface provided by the camera application, and simultaneously displays the image of the electronic device.
- the electronic device receives the photographing instruction input by the user, fits the image to the image collected by the camera, and generates a composite image containing both object A and object B.
- the "co-shooting" function supports the electronic device to directly fit the image captured by the camera with the image containing object A, and directly display the composite image in the preview interface provided by the camera application.
- the "co-production” function is just a noun used in the embodiment of this application, and its meaning has been recorded in this embodiment. Its name does not constitute any limitation on this embodiment.
- the "co-photography” function can also be called other nouns, such as the "group photo” function, multi-person photo, multi-person co-photo, etc.
- Electronic devices provided by embodiments of the present application are equipped with cameras, which may include but are not limited to smartphones, tablets, specialized cameras (such as SLR cameras, card cameras), etc., augmented reality (AR) devices, virtual reality ( virtual reality (VR) equipment, artificial intelligence (AI) equipment, wearable devices (such as smart watches, smart glasses), personal digital assistant (PDA), etc.
- augmented reality (AR) devices virtual reality ( virtual reality (VR) equipment, artificial intelligence (AI) equipment, wearable devices (such as smart watches, smart glasses), personal digital assistant (PDA), etc.
- Exemplary embodiments of electronic devices include, but are not limited to, equipped with Portable electronic devices with Linux or other operating systems.
- the above-mentioned electronic device can also be other portable electronic devices, such as a laptop computer (Laptop).
- FIG. 1A shows a schematic structural diagram of an electronic device 100 provided by an embodiment of the present application.
- the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2 , mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone interface 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, and Subscriber identification module (SIM) card interface 195, etc.
- a processor 110 an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2 , mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone interface 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display
- the sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light. Sensor 180L, bone conduction sensor 180M, etc.
- the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100 .
- the electronic device 100 may include more or fewer components than shown in the figures, or some components may be combined, some components may be separated, or some components may be arranged differently.
- the components illustrated may be implemented in hardware, software, or a combination of software and hardware.
- the processor 110 may include one or more processing units.
- the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor (ISP), controller, video codec, digital signal processor (DSP), baseband processor, and/or neural network Network processor (neural-network processing unit, NPU), etc.
- application processor application processor
- GPU graphics processing unit
- ISP image signal processor
- DSP digital signal processor
- NPU neural network processing unit
- different processing units can be independent devices or integrated in one or more processors.
- the controller can generate operation control signals based on the instruction operation code and timing signals to complete the control of fetching and executing instructions.
- the processor 110 may also be provided with a memory for storing instructions and data.
- the memory in processor 110 is cache memory. This memory may hold instructions or data that have been recently used or recycled by processor 110 . If the processor 110 needs to use the instructions or data again, it can be called directly from the memory. Repeated access is avoided and the waiting time of the processor 110 is reduced, thus improving the efficiency of the system.
- the processor 110 such as the controller or GPU can be used to perform transparency processing or blur processing on the picture containing object A, and superimpose it with the image collected by the camera 193 to synthesize the image displayed in the viewfinder. Preview image.
- the controller or processor 110 such as a GPU can be used to fit the image captured by the camera with the image containing object A to generate a preview image displayed in the viewfinder, so that the group photo effect can be achieved presented to the user.
- the fitting operation performed by the processor 110 please refer to the detailed introduction of subsequent method embodiments.
- the processor 110 such as the controller or GPU can also be used to perform anti-shake processing on the images collected by the camera in the co-photography scene, and then combine the anti-shake processed images corresponding to the camera and the objects contained therein.
- the picture of A is superimposed or fitted to provide a preview image for display on the display screen 194 .
- the wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
- Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
- Each antenna in electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example: Antenna 1 can be reused as a diversity antenna for a wireless LAN. In other embodiments, antennas may be used in conjunction with tuning switches.
- the mobile communication module 150 can provide solutions for wireless communication including 2G/3G/4G/5G applied on the electronic device 100 .
- the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc.
- the mobile communication module 150 can receive electromagnetic waves through the antenna 1, perform filtering, amplification and other processing on the received electromagnetic waves, and transmit them to the modem processor for demodulation.
- the mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves through the antenna 1 for radiation.
- at least part of the functional modules of the mobile communication module 150 may be disposed in the processor 110 .
- at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
- a modem processor may include a modulator and a demodulator.
- the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal.
- the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal.
- the demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
- the application processor outputs sound signals through audio devices (not limited to speaker 170A, receiver 170B, etc.), or displays images or videos through display screen 194.
- the modem processor may be a stand-alone device.
- the modem processor may be independent of the processor 110 and may be provided in the same device as the mobile communication module 150 or other functional modules.
- the wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), Bluetooth (bluetooth, BT), and global navigation satellites.
- WLAN wireless local area networks
- System global navigation satellite system, GNSS
- frequency modulation frequency modulation, FM
- near field communication technology near field communication, NFC
- infrared technology infrared, IR
- the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
- the wireless communication module 160 receives electromagnetic waves via the antenna 2 , demodulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
- the wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.
- the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology.
- the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
- the GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS).
- GPS global positioning system
- GLONASS global navigation satellite system
- BDS Beidou navigation satellite system
- QZSS quasi-zenith satellite system
- SBAS satellite based augmentation systems
- the electronic device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like.
- the GPU is an image processing microprocessor and is connected to the display screen 194 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.
- Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
- the display screen 194 is used to display images, videos, etc.
- Display 194 includes a display panel.
- the display panel can use a liquid crystal display (LCD).
- the display panel can also use organic light-emitting diode (OLED), active matrix organic light-emitting diode or active matrix organic light-emitting diode (active-matrix organic light emitting diode, AMOLED), flexible light-emitting diode ( Manufacturing of flex light-emitting diodes (FLED), miniled, microled, micro-oled, quantum dot light emitting diodes (QLED), etc.
- the electronic device may include 1 or N display screens 194, where N is a positive integer greater than 1.
- the display screen 194 can display a preview interface provided by the camera application, display a transparent or blurred picture containing object A in the preview interface, and simultaneously display the camera 193 of the electronic device. Collected images.
- the display screen 194 can display a composite image obtained by fitting the image captured by the camera and the picture containing object A by the processor 110, so that the group photo effect can be presented to the user.
- the electronic device 100 can implement the shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
- the ISP is used to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, the light is transmitted to the camera sensor through the lens, the optical signal is converted into an electrical signal, and the camera sensor passes the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on image noise and brightness. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP may be provided in the camera 193.
- Camera 193 is used to capture still images or video.
- the object passes through the lens to produce an optical image that is projected onto the photosensitive element.
- the photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
- CMOS complementary metal-oxide-semiconductor
- the photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to convert it into a digital image signal.
- ISP outputs digital image signals to DSP for processing.
- DSP converts digital image signals into standard RGB, YUV and other format image signals.
- the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
- the electronic device 100 may have multiple cameras 193, such as a front camera and a rear camera.
- the number of front cameras and rear cameras can be multiple.
- the types of cameras 193 may include but are not limited to wide-angle cameras, ultra-wide-angle cameras, telephoto cameras, etc.
- the hardware configuration and physical location of the camera 193 may be different. Therefore, the size, range, content or clarity of images collected by different cameras may be different.
- the image output sizes of the cameras 193 can be different or the same.
- the output size of a camera refers to the length and width of the image captured by the camera. Both the length and width of the image can be measured in pixels.
- the camera's output size may also be called image size, image size, pixel size or image resolution.
- Common camera image ratios include: 4:3, 16:9 or 3:2, etc.
- the image ratio refers to the approximate ratio of the number of pixels in the length and width of the image captured by the camera.
- the cameras 193 can correspond to the same focal length or different focal lengths.
- the field of view refers to the angular range that the optical system can image.
- the cameras 193 can be disposed on both sides of the electronic device.
- the camera located on the same plane as the display screen 194 of the electronic device may be called a front camera, and the camera located on the plane of the back cover of the electronic device may be called a rear camera.
- the front-facing camera can be used to capture the image of the photographer facing the display screen 194, and the rear-facing camera can be used to capture images of the shooting objects (such as people, scenery, etc.) that the photographer is facing.
- camera 193 may be used to collect depth data.
- the camera 193 may have a time of flight (TOF) 3D sensing module or a structured light (structured light) 3D sensing module for acquiring depth information.
- the camera used to collect depth data can be a front-facing camera or a rear-facing camera.
- Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
- Video codecs are used to compress or decompress digital video.
- Electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record videos in multiple encoding formats, such as moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
- MPEG moving picture experts group
- MPEG2 MPEG2, MPEG3, MPEG4, etc.
- NPU is a neural-network (NN) computing processor. It draws on the structure of biological neural networks, such as human brain nerves. Transmission mode between elements, fast processing of input information, and continuous self-learning. Intelligent cognitive applications of the electronic device 100 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, etc.
- NN neural-network
- the processor 110 in a co-photographed scene, can fit the image captured by the camera and the picture containing object A, and store the fitting result in the memory.
- the fitting operation performed by the processor 110 please refer to the detailed introduction of subsequent method embodiments.
- the synthetic image obtained by fitting contains both object A and object B captured by the camera, realizing a group photo of multiple objects.
- the processor 110 (such as a controller or GPU) can perform fitting processing on the moment when the electronic device 100 receives the photographing instruction and the previous N frames of images captured by the camera 193, respectively, and the image containing the object A, to obtain N frames of synthesized images are then selected and the frame with the best quality is selected from these N frames of synthesized frames and stored in the memory as a group photo result.
- the processor 110 in a co-photography scene, can fit multiple frames of images captured by the camera to a picture containing object A, and store the fitting results in the memory.
- the multi-frame images captured by the camera and the picture containing object A are fitted into multiple images, and the video encoder in the processor 110 can encode the multiple composite images to generate a video file.
- each frame of the video file can contain object A and the object newly captured by the camera in the image.
- the internal memory 121 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM).
- RAM random access memories
- NVM non-volatile memories
- the internal memory 121 is used to store the fitting results of the processor 110 .
- Random access memory can include static random-access memory (SRAM), dynamic random-access memory (DRAM), synchronous dynamic random-access memory (SDRAM), double data rate synchronous Dynamic random access memory (double data rate synchronous dynamic random access memory, DDR SDRAM, for example, the fifth generation DDR SDRAM is generally called DDR5SDRAM), etc.; non-volatile memory can include disk storage devices and flash memory (flash memory).
- SRAM static random-access memory
- DRAM dynamic random-access memory
- SDRAM synchronous dynamic random-access memory
- DDR SDRAM double data rate synchronous Dynamic random access memory
- non-volatile memory can include disk storage devices and flash memory (flash memory).
- Flash memory can be divided according to the operating principle to include NOR FLASH, NAND FLASH, 3D NAND FLASH, etc.
- the storage unit potential level it can include single-level storage cells (single-level cell, SLC), multi-level storage cells (multi-level cell, MLC), third-level storage unit (triple-level cell, TLC), fourth-level storage unit (quad-level cell, QLC), etc., which can include universal flash storage (English: universal flash storage, UFS) according to storage specifications. , embedded multi media card (embedded multi media Card, eMMC), etc.
- the random access memory can be directly read and written by the processor 110, can be used to store executable programs (such as machine instructions) of the operating system or other running programs, and can also be used to store user and application data, etc.
- the non-volatile memory can also store executable programs and user and application program data, etc., and can be loaded into the random access memory in advance for direct reading and writing by the processor 110.
- the external memory interface 120 can be used to connect an external non-volatile memory to expand the storage capacity of the electronic device 100 .
- the external non-volatile memory communicates with the processor 110 through the external memory interface 120 to implement the data storage function. For example, save music, video and other files in external non-volatile memory.
- the electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playback, recording, etc.
- Touch sensor 180K also known as "touch device”.
- the touch sensor 180K can be disposed on the display screen 194.
- the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen”.
- the touch sensor 180K is used to detect a touch operation on or near the touch sensor 180K.
- the touch sensor can pass the detected touch operation to the application processor to determine the touch event type.
- Visual output related to the touch operation may be provided through display screen 194 .
- the touch sensor 180K may also be disposed on the surface of the electronic device 100 at a location different from that of the display screen 194 .
- the software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture.
- This embodiment of the present application takes a mobile operating system with a layered architecture as an example to illustrate the software structure of the electronic device 100 .
- FIG. 1B is a software structure block diagram of the electronic device 100 according to the embodiment of the present application.
- the layered architecture divides the software into several layers, and each layer has clear roles and division of labor.
- the layers communicate through software interfaces.
- the mobile operating system is divided into four layers, from top to bottom: application layer, program framework layer/core service layer, underlying library and runtime, and kernel layer.
- the application layer can include a series of application packages.
- the application package can include camera, gallery, calendar, calling, map, navigation, WLAN, Bluetooth, music, video, short message and other applications.
- the program framework layer provides application programming interfaces (application programming interface, API) and programming frameworks for applications in the application layer.
- the program framework layer includes some predefined functions.
- the program framework layer can include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc.
- a window manager is used to manage window programs.
- the window manager can obtain the display size, determine whether there is a status bar, lock the screen, capture the screen, etc.
- Content providers are used to store and retrieve data and make this data accessible to applications.
- Said data can include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
- the view system includes visual controls, such as controls that display text, controls that display pictures, etc.
- a view system can be used to build applications.
- the display interface can be composed of one or more views.
- a display interface including a text message notification icon may include a view for displaying text and a view for displaying pictures.
- Telephone managers are used to provide communication functions of electronic devices. For example, call status management (including connected, hung up, etc.).
- the resource manager provides various resources to applications, such as localized strings, icons, pictures, layout files, video files, etc.
- the notification manager allows applications to display notification information in the status bar, which can be used to convey notification-type messages and can automatically disappear after a short stay without user interaction.
- the notification manager is used to notify download completion, message reminders, etc.
- the notification manager can also be notifications that appear in the status bar at the top of the system in the form of charts or scroll bar text, such as notifications for applications running in the background, or notifications that appear on the screen in the form of conversation windows. For example, text information is prompted in the status bar, a beep sounds, the electronic device vibrates, the indicator light flashes, etc.
- Runtime can refer to all code libraries, frameworks, etc. required when the program is running.
- the runtime includes a series of function libraries required to run C programs.
- the runtime in addition to the core library, the runtime also includes the virtual machine required to run the Java program.
- the above-mentioned core library may include functional functions that need to be called by the Java language.
- the underlying library can include multiple functional modules. For example: surface manager (surface manager), media libraries (Media Libraries), 3D graphics processing libraries (for example: OpenGL ES), 2D graphics engines (for example: SGL), etc.
- surface manager surface manager
- media libraries Media Libraries
- 3D graphics processing libraries for example: OpenGL ES
- 2D graphics engines for example: SGL
- the surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications.
- the media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc.
- the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
- the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, composition, and layer processing.
- 2D Graphics Engine is a drawing engine for 2D drawing.
- the kernel layer is the layer between hardware and software.
- the kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
- the workflow of the electronic device software and hardware is exemplified below by combining the capture of the photographing scene.
- the corresponding hardware interrupt is sent to the kernel layer.
- the kernel layer processes touch operations into raw input events (including touch coordinates, timestamps of touch operations, and other information). Raw input events are stored at the kernel level.
- the application framework layer obtains the original input event from the kernel layer and identifies the control corresponding to the input event. Taking the touch operation as a touch click operation and the control corresponding to the click operation as a camera application icon control as an example, the camera application calls the interface of the application framework layer to start the camera application, and then starts the camera driver by calling the kernel layer. Camera 193 captures still images or video.
- FIG. 1C is another software structure block diagram of the electronic device 100 provided by the embodiment of the present application.
- the electronic device 100 includes: a gallery module, a camera module, a display module, a recognition module, and a synthesis module. in:
- the gallery module is used to store multiple pictures, including a picture containing object A.
- the gallery module can also provide an entrance to enable the "co-shooting" function, and can be used to store the fitting results of the electronic device 100 .
- the camera module is responsible for taking images.
- the display module is used to display the image with transparency or blur, and at the same time display the image captured by the camera module.
- the display module is used to display a composite image fitted by the image captured by the camera module and the image containing object A.
- the identification module is used to identify the area where object B is located in the image captured by the camera module, and the background area other than object B.
- the recognition module is used to identify the area where object A is located in the picture containing object A, and the background area other than the area where object A is located.
- the synthesis module is used to fit the area where object B is located in the image captured by the camera module to the picture containing object A.
- the synthesis module is used to fit the area where object A is located in the picture containing object A to the image captured by the camera module.
- 2A-2H exemplarily illustrate a set of user interfaces for taking a group photo provided by the electronic device 100 in the embodiment of the present application.
- FIG. 2A illustrates an exemplary user interface 21 on the electronic device 100 for displaying installed applications.
- the user interface 21 displays: a status bar 201, a calendar and time indicators 202, a weather indicator 203, a page indicator 204, a tray 205 with commonly used application icons, and other application icons. in:
- the status bar 201 may include: one or more signal strength indicators for mobile communication signals (also known as cellular signals), a Bluetooth indicator, one or more signal strength indicators for Wi-Fi signals, a battery status indicator, Time indicators and more.
- Calendar and time indicators 202 are used to indicate calendar and current time.
- Weather indicator 203 is used to indicate weather.
- the page indicator 204 may be used to indicate the application icon in which page the user is currently browsing.
- application icons can be distributed on multiple pages, and the user can slide left and right to browse application icons in different pages.
- the tray 205 with commonly used application icons can display: phone icon, text message icon, camera icon 205a, address book icon, etc.
- Other application icons may include, for example, a video application icon, an online meeting application icon, a calendar icon, a game application icon, a map application icon, a settings application icon, a gallery application icon 206a, and so on.
- the camera is an APP on the electronic device 100 that is used to call the camera to capture images. This embodiment does not limit the name of the application.
- the camera APP in the embodiment of the present application also provides a "co-photography" function.
- the camera APP may be a system application provided by the electronic device 100 or a third-party application.
- Gallery is a picture management APP on electronic devices 100 such as smartphones and tablets. It can also be called a "photo album". This embodiment does not limit the name of the application.
- the APP can support users to perform various operations on pictures stored on the electronic device 100, such as browsing, editing, deleting, selecting and other operations. That is, the objects managed by "Gallery” are pictures. In other cases, the APP can also support users to perform the above operations on pictures stored on the cloud server. It can be understood that in this embodiment, the picture may be captured by the electronic device 100 using the camera 193, or may be obtained from other applications or downloaded from a web page.
- the gallery in the embodiment of this application also provides access to the "co-photography" function.
- the gallery may be a system application provided by the electronic device 100 or a third-party application.
- more applications can be installed in the electronic device 100, and icons of these applications can be displayed on the display screen.
- the electronic device 100 may also be installed with shopping applications, ticket booking applications, and so on.
- Shopping apps can be used to purchase items online.
- Ticket booking applications can be used to order various types of tickets, such as air tickets, train tickets, boat tickets, etc.
- the user interface 21 shown in FIG. 2A may also include a navigation bar, a sidebar, and the like.
- the user interface 21 illustrated in FIG. 2A may be called a home screen.
- FIG. 2B exemplarily shows the user interface 22 provided by the gallery APP of the electronic device 100.
- FIG. 2B may be a user interface displayed in response to the user operation after the electronic device 100 detects a user operation (such as a click operation, a touch operation) on the icon 206a of the gallery application in FIG. 2A.
- a user operation such as a click operation, a touch operation
- the user interface 22 may include: a status bar, an application title bar, and a picture area 207 . in:
- the application title bar can include: a return key, and a current page indicator.
- the return key is an APP-level return key, which can be used to return to the previous level of the menu.
- the current page indicator can be used to indicate the current page, such as text information "Gallery”. It is not limited to text information.
- the current page indicator can also be an icon.
- One or more pictures may be displayed in the picture area 207, such as picture 207a.
- the electronic device may update the pictures displayed in the picture area 207 to facilitate the user to browse the pictures. That is to say, the user can slide up or down in the picture area 207 to browse more pictures. Not limited to the upward or downward sliding operation, the user can also slide left or right in the picture area 207 to browse more pictures.
- the pictures displayed in the picture area 207 may be thumbnails.
- the original image corresponding to the image displayed in the image area 207 can be stored on the electronic device or on the cloud server.
- the pictures referred to in the following embodiments may be stored in electronic devices or on a cloud server.
- the electronic device 100 can detect a user operation (such as a click operation, a touch operation, etc.) on the picture 207a in the user interface 22 . In response to this operation, the electronic device 100 may display the user interface 23 as shown in FIG. 2C.
- a user operation such as a click operation, a touch operation, etc.
- the electronic device 100 can display the original image corresponding to the picture 207a in a larger area in the user interface 23.
- the user interface Picture 208 is displayed on page 23, and picture 208 may be the original picture of picture 207a.
- the picture 208 may be taken by the electronic device 100 at a certain location (for example, location 1), or may be obtained by the electronic device 100 from the network.
- the picture 208 contains a human object and a background area.
- the human object may be called object A
- the picture 208 may be called a picture containing object A.
- the background area shows the location of the object A.
- the background area of the picture 208 shown in FIG. 2C shows coconut trees, seagulls, hillsides, and the sun.
- the user interface 23 may also display: sharing controls, collection controls, editing controls, deleting controls, more controls 209, etc.
- the sharing control, collection control, editing control, and deletion control are used to monitor user operations.
- the electronic device 100 can perform operations such as sharing, collection, editing, and deletion on the picture 208.
- More controls 209 can be used to monitor user operations (such as click operations, touch operations, etc.), and the electronic device 100 can display a function list 210 as shown in FIG. 2D in response to the user operations.
- the function list 210 displays multiple function controls, such as controls for copying the picture 208 to the album, moving it to the album, casting, printing, etc.
- the multiple function controls displayed in the function list 210 include a control 210a for turning on the "co-photography" function for the picture 208.
- the control 210a is used to monitor user operations (such as click operations, touch operations, etc.), and the electronic device 100 can respond to This user operation activates the "co-photography" function for picture 208.
- the user can click on the picture to view the picture, and then activate the "co-photography" function for the picture through the entrance provided by the user interface that displays the picture.
- the electronic device 100 can also initiate a "co-photography" function for the picture in response to other user operations.
- the electronic device 100 can also receive a long press operation on the picture 207a shown in Figure 2B and then activate the "co-photography" function of the picture, or the electronic device 100 can also receive a circle drawing on the picture 207a shown in Figure 2B
- the "co-photography” function of the picture is activated, or the electronic device 100 can also activate the "co-photography” function of the picture after receiving a long press operation on the picture 208 shown in Figure 2C, or the electronic device 100 can also It can be a voice control command.
- This application does not limit the specific implementation of the operation of triggering the electronic device 100 to activate the "co-photography" function for pictures.
- the scenarios in which the user triggers the "co-shoot” function for pictures can also include triggering the "co-shoot” function for the picture when the user views pictures on the Internet, and the user triggering the "co-shoot” function for the picture in applications such as file browsers.
- 2E-2H exemplarily illustrate a set of user interfaces provided by the camera application after the electronic device 100 turns on the "co-photography" function for the picture 208.
- the electronic device 100 After the electronic device 100 activates the "co-photography" function for the picture 208, it can automatically start the camera application.
- FIG. 2E shows the user interface 24 displayed after the electronic device 100 starts the camera application.
- the user interface 24 exemplarily shown in FIG. 2E may be displayed after the electronic device 100 detects a user operation (such as a click operation, a touch operation, etc.) acting on the control 210a as shown in FIG. 2D.
- the user interface 24 may be a user interface of the default photo mode of the camera application, which may be used by the user to take photos through the default rear camera.
- the user interface 24 may include: an area 211 , a shooting mode list 212 , a control 213 , a control 214 and a control 215 . in:
- the area 211 may be called a preview frame 211 or a viewfinder frame 211.
- the preview frame 211 can be used to display a picture 208 with a certain degree of transparency or blur.
- the preview box 211 may also display the images collected by the camera 193 in real time.
- the electronic device 100 can refresh the display content thereof in real time to facilitate the user to preview the image currently collected by the camera 193 .
- the electronic device 100 can superimpose and display the picture 208 with a certain degree of transparency or blur on the image collected by the camera 193 in real time. Since the picture 208 has a certain degree of transparency and/or blur, the user can not only see it in the preview box 211 In picture 208, you can also see the real-time images collected by the camera 193 under the picture 208.
- the electronic device 100 after the electronic device 100 activates the "co-photography" function and launches the camera application, it can first display only the picture 208 with a certain transparency or blur in the preview box 211, as shown in Figure 2E, and then start the camera 193 And the image collected in real time is also displayed in the preview box 211, as shown in Figure 2F.
- the electronic device 100 can directly start the camera 193 to collect images. At this time, the electronic device 100 can directly display a certain transparency or blur in the preview box 211 at the same time. The picture 208 and the image collected by the camera 193 in real time. That is to say, after receiving the user operation on the control 210a in FIG. 2E, the electronic device 100 can directly display the user interface shown in FIG. 2F without displaying the user interface shown in FIG. 2E.
- One or more shooting mode options may be displayed in the shooting mode list 212 .
- the one or more camera options may include: photo mode option 212A, video mode option 212B, portrait mode option 212C, panorama mode option 212D, and more options 212E.
- This one or more camera options can be represented as text information on the interface, such as "photograph”, “video”, “portrait”, “panorama” and “more”. not limited to
- the one or more camera options may also be represented as icons or other forms of interactive elements (IE) on the interface.
- IE interactive elements
- the control 213 can be used to monitor user operations that trigger shooting (photography or video recording).
- the electronic device can detect the user operation on the control 213 (such as a click operation on the control 213).
- the electronic device 100 can save the image collected by the camera 193 and perform a fitting operation with the picture 208, thereby Generate pictures from the gallery.
- the control 213 can be changed to the corresponding video recording control.
- the electronic device can detect the user operation on the video recording control.
- the electronic device 100 can save the multi-frame images collected by the camera 193 and Perform fitting operations on it and picture 208 respectively to generate the video in the gallery.
- the electronic device 100 can also display a thumbnail of the saved image in the control 214.
- the image can be generated by the electronic device 100 after the "co-photography" function is turned on, or it can be generated without the "co-photography” function being turned on. of. That is to say, the user can click the control 213 or the video recording control to trigger shooting.
- the control 213 or the video recording control may be a button or other form of control.
- the control 213 can be called a camera control. Photographing controls and video recording controls can be collectively referred to as shooting controls.
- Control 215 may be used to listen for user operations that trigger flipping the camera.
- the electronic device 100 can detect a user operation on the control 215 (such as a click operation on the control 215), and in response to the operation, the electronic device 100 can flip the camera, for example, switch the rear camera to a front camera.
- the electronic device 100 can detect a user operation acting on the shooting mode option, and the user operation can be used to select the shooting mode. In response to the operation, the electronic device 100 can turn on the shooting mode selected by the user. In particular, when the user operation is applied to more shooting mode options 212E, the electronic device 100 can further display more other shooting mode options, such as slow-motion shooting mode options, etc., and can display richer camera functions to the user. Not limited to what is shown in FIG. 2E , more shooting mode options 212E may not be displayed in the shooting mode list 212 , and the user can browse other shooting mode options by sliding left/right in the shooting mode list 212 .
- a lighter color image and a darker color image are simultaneously displayed in the preview box 211, where the lighter color image is a picture 208 with a certain degree of transparency or blurred, and the darker color image is Images collected by camera 193 in real time.
- the position of the picture 208 with a certain degree of transparency or blur remains unchanged.
- the user can change the view of the currently used camera in the preview frame by moving the electronic device. That is to say, the user can change the view of the camera 193 by moving the electronic device, thereby changing the image captured by the camera 193 in real time displayed in the preview box 211 .
- the user can move the electronic device to the left or right, forward or backward, and can also walk around holding the electronic device.
- the user can also adjust the focus of the currently used camera (such as electronic focus), or change the currently used camera (such as changing the rear camera to the front camera), etc., thereby changing the preview frame
- the image collected by the camera is displayed in real time in 211.
- the human objects, animal objects, etc. captured by the camera 193 can also be instructed to change their positions, thereby adjusting the framing in the preview frame 211 .
- the preview box 211 can show the user the relative position of each object in the picture 208 and the image collected by the camera 193 in real time. According to the content presented in the preview box 211, the user can adjust the image captured by the camera displayed in real time in the preview box 211, so that the image captured by the camera contains object B and the object B is in a position that is satisfactory to the user and is consistent with object A in the picture 208. a relative position.
- object B The object that needs to take a photo with object A.
- the picture 208 includes object A and a background area.
- the background area shows the location of the object A.
- the background area of the picture 208 displayed in the preview box 211 in Figure 2F shows that there is a coconut in the location of the object A. Trees, seagulls, hillsides, sun.
- the control 213 when the position indicated by the background area of the real-time image collected by the camera displayed in the preview box 211, and the position indicated by the picture 208 (such as but not limited to the position indicated by the background area of the picture 208), Only when there is a certain correlation, the control 213 can be activated. In other cases, even if the control 213 receives a user operation, the electronic device 100 will not perform subsequent responses.
- the user can click the control 213 when the image collected by the camera contains object B and the object B is in a satisfactory relative position to the object A in the picture 208, thereby triggering the electronic device 100 to save the image collected by the camera 193. And perform fitting operation with picture 208. That is, only when the position indicated by the picture 208 and the position indicated by the image collected in real time by the camera 193 of the current electronic device 100 have a certain correlation, the user can trigger the electronic device 100 to capture the image and perform subsequent fitting operations. .
- control 213 can be activated all the time, as long as the user allows the image captured by the camera to include object B and the object B is in a relative position to the object A in the picture 208 that satisfies the user. Click the control 213 to trigger the electronic device 100 to save the image collected by the camera 193 and perform a fitting operation with the picture 208 .
- the image captured by the camera 193 includes a human object, and the human object may be object B. Since the user is not satisfied with the relative positions of object B and object A in Figure 2F, the user adjusts the framing of the camera 193 in the preview frame 211, thereby adjusting the object B and object A in the preview frame 211 as shown in Figure 2G at a satisfactory relative position.
- the electronic device 100 can detect a user operation (such as a click operation, a touch operation, etc.) on the control 213 , and in response to the operation, the electronic device 100 can save the image collected by the camera 193 and combine it with the picture 208 Perform fitting operations to generate Pictures in the gallery.
- a user operation such as a click operation, a touch operation, etc.
- the electronic device 100 can save the image collected by the camera 193 and combine it with the picture 208 Perform fitting operations to generate Pictures in the gallery.
- this fitting operation please refer to the detailed introduction in subsequent method embodiments.
- the electronic device 100 can also display the thumbnail of the image generated after the fitting operation in the control 214 for the user to click and view.
- the fitting may fail and the corresponding composite image cannot be generated.
- the electronic device 100 when the electronic device 100 fits the image collected by the camera 193 with the picture 208, the fitting may fail and the corresponding composite image cannot be generated. For example, when the correlation between the background area of the image collected by the camera 193 and the picture 208 is low, the electronic device 100 will not be able to successfully perform the fitting operation.
- the electronic device 100 can continue to turn on the "co-photography" function, so that the user can take photos multiple times to achieve the purpose of multiple group photos.
- the electronic device can also turn off the "co-photography” function and enter a normal photo-taking mode.
- the user is not limited to the photographing mode shown in FIGS. 2E to 2G .
- the user can also select the video recording mode or other modes.
- the electronic device 100 can also shoot in the video recording mode or other modes to achieve the purpose of taking a group photo in the video or other modes.
- 3A to 3F exemplarily illustrate another set of user interfaces for taking a group photo provided by the electronic device 100 in the embodiment of the present application.
- the user interface 31 shown in Figure 3A is the same as the user interface 21 shown in Figure 2A. Please refer to the previous Figure 2A and related descriptions.
- FIG. 3B schematically illustrates the user interface 32 provided by the camera application of the electronic device 100 .
- FIG. 3B may be a user interface in which the electronic device 100 detects a user operation (such as a click operation or a touch operation) on the icon 205a of the camera application in FIG. 3A and then launches and displays the camera application in response to the user operation.
- the user interface 32 may be a user interface of a default photography mode of the camera application, which may be used by the user to take photos through the default rear camera.
- the user interface 32 may include: an area 301, a shooting mode list 302, a control 303, a control 304 and a control 305, and a control 306 for activating the "co-shooting" function. in:
- the area 301 may be called a preview frame 301 or a viewfinder frame 301.
- the preview frame 301 may be used to display images captured by the camera 193 of the electronic device 100 in real time.
- the electronic device 100 can refresh the display content thereof in real time to facilitate the user to preview the image currently collected by the camera 193 .
- One or more shooting mode options may be displayed in the shooting mode list 302 .
- the one or more camera options may include: photo mode option 302A, video mode option 302B, portrait mode option 302C, panorama mode option 302D, and more options 302E.
- the control 303 can be used to monitor user operations that trigger shooting (photography or video recording).
- the electronic device may detect a user operation on the control 303 (such as a click operation on the control 303), and in response to the operation, the electronic device 100 may save the image displayed in the preview box 211.
- the control 303 can be changed to the corresponding video recording control.
- the electronic device can detect the user operation on the video recording control.
- the electronic device 100 can save the image displayed in the preview box 211.
- the electronic device 100 may also display the thumbnail of the saved image in the control 304 . That is to say, the user can click the control 303 or the video recording control to trigger shooting.
- the control 303 or the video recording control may be a button or other form of control.
- the control 303 can be called a camera control. Photographing controls and video recording controls can be collectively referred to as shooting controls.
- Control 305 may be used to monitor user operations that trigger flipping the camera.
- the electronic device 100 can detect a user operation on the control 305 (such as a click operation on the control 305), and in response to the operation, the electronic device 100 can flip the camera, for example, switch the rear camera to a front camera.
- the electronic device 100 can detect a user operation acting on the shooting mode option, and the user operation can be used to select the shooting mode. In response to the operation, the electronic device 100 can turn on the shooting mode selected by the user.
- the control 306 can be used to monitor user operations (such as click operations, touch operations, etc.), and the electronic device 100 can display the picture area 307 as shown in FIG. 3C in the user interface 33 in response to the user operations.
- One or more pictures may be displayed in the picture area 307, such as picture 307a.
- the electronic device may update the pictures displayed in the picture area 307 to facilitate the user to browse the pictures. That is to say, the user can slide up or down in the picture area 307 to browse more pictures. Not limited to the upward or downward sliding operation, the user can also slide left or right in the picture area 307 to browse more pictures.
- the pictures displayed in the picture area 307 may be thumbnails. At this time, the original image corresponding to the image displayed in the image area 307 can be stored on the electronic device or on the cloud server.
- Prompt information 307b may also be displayed in the picture area 307.
- the prompt information 307b is used to prompt the user to select a picture from the pictures displayed in the picture area 307 as a joint photo.
- the electronic device 100 can detect a user operation (such as a click operation, a touch operation, etc.) on the picture 307a, and in response to the operation, activate the "co-photography" function of the original picture corresponding to the picture 307a, and display the image shown in Figure 3D.
- a user operation such as a click operation, a touch operation, etc.
- the user interface shown is 34.
- the electronic device 100 can change the display form of the control 306 (for example, it can change its display color, change its display shape, or change the hollow circle to a solid circle as shown in Figure 3D etc.) to prompt the user of the current electronic device 100The "co-production" function has been turned on.
- the preview box 301 displays the picture 208 with a certain degree of transparency or blur, and the image collected by the camera 193 in real time.
- the picture 208 may be the original picture corresponding to the picture 307a shown in FIG. 3C.
- the electronic device 100 can refresh the display content thereof in real time to facilitate the user to preview the image currently collected by the camera 193 .
- the electronic device 100 can superimpose and display the picture 208 with a certain degree of transparency or blur on the image collected by the camera 193 in real time. Since the picture 208 has a certain degree of transparency and/or blur, the user can not only see it in the preview box 211 In picture 208, you can also see the real-time images collected by the camera 193 under the picture 208.
- the image captured by the camera 193 includes a human object, and the human object may be object B. Since the user is not satisfied with the relative positions of object B and object A in Figure 3D, the user adjusts the framing of the camera 193 in the preview frame 301, thereby adjusting the object B and object A in the preview frame 301 as shown in Figure 3E at a satisfactory relative position.
- the electronic device 100 can detect a user operation (such as a click operation, a touch operation, etc.) on the control 303. In response to the operation, the electronic device 100 can save the image collected by the camera 193 and combine it with the picture 307a. The corresponding original image is fitted to generate the image in the gallery. For the specific implementation of this fitting operation, please refer to the detailed introduction in subsequent method embodiments.
- the electronic device 100 can also display the thumbnail of the image generated after the fitting operation in the control 304 for the user to click and view.
- the fitting may fail and the corresponding composite image cannot be generated.
- the electronic device 100 when the electronic device 100 fits the image collected by the camera 193 with the original image corresponding to the picture 307a, the fitting may fail and the corresponding composite image cannot be generated.
- the electronic device 100 when the correlation between the background area of the image collected by the camera 193 and the original image corresponding to the picture 307a is low, the electronic device 100 will not be able to successfully perform the fitting operation.
- 4A-4B exemplarily illustrate the user interface provided by the gallery application after the electronic device 100 saves the fitted picture in the embodiment of the present application.
- FIG. 4A may be a user interface displayed in response to the user operation after the electronic device 100 detects a user operation (such as a click operation, a touch operation) on the icon 206a of the gallery application in FIG. 2A or FIG. 3A .
- the user interface shown in FIG. 4A is similar to the user interface 22 shown in FIG. 2B, and relevant descriptions may be referred to.
- a new picture 207 b is added to the picture area 207 shown in the user interface 41 .
- the picture 207 b may be a thumbnail or an original picture of the fitted picture saved by the electronic device 100 .
- the electronic device 100 can respond to the operation and display it in a larger area in the user interface shown in Figure 4B.
- the original image corresponding to picture 207b for example, picture 401.
- the user interface 43 shown in FIG. 4B may also be displayed by the electronic device 100 in response to a user operation on the control 214 shown in FIG. 2H or the control 304 shown in FIG. 3F.
- the picture 207b shown in FIG. 4A or the picture 401 shown in FIG. 4B may also be displayed with a "co-photographed" logo to indicate that the picture is the electronic device 100 turning on the "co-photographed” function. Taken later.
- the embodiment of the present application does not limit the implementation form of the "co-production" logo, for example, it may be text, icon, etc.
- the shooting method provided by the embodiment of the present application is introduced below.
- FIG. 5 exemplarily shows the flow of the shooting method.
- the shooting method shown in Figure 5 is explained by taking the shooting scene as an example.
- the shooting method may include the following steps:
- the electronic device 100 detects a first operation for turning on the "co-photography" function for the first picture.
- the electronic device 100 in response to the first operation, turns on the "co-photography" function for the first picture, and the first picture includes object A.
- the first picture may be a picture taken by the camera 193 saved by the electronic device 100, or may be a picture downloaded by the electronic device 100 from the network, or may be a received picture shared by other devices.
- the first picture may be a picture taken a long time ago, or may be a picture just taken by the electronic device 100 .
- the first picture contains an object with which the user wants to take a photo, which may be called object A.
- the number of object A can be one or more.
- Object A may include, for example, but is not limited to: characters, animals, landmarks, buildings, dolls, etc.
- the first picture can also be an old photo taken by a relative many years ago, etc.
- the first picture may be the original picture corresponding to the picture 207a shown in FIG. 2C, the picture 208 shown in FIG. 2C, the original picture corresponding to the picture 307a shown in FIG. 3C, or the picture shown in FIG. 3D. 301.
- Object A can be the human object in the above picture.
- the "co-photography” function is provided by the electronic device 100.
- This function supports the electronic device 100 to display the content in the preview interface provided by the camera application.
- the first picture is transparent or blurred, and at the same time displays the image collected by the camera 193 of the electronic device 100.
- the electronic device 100 receives the photography instruction input by the user, and fits the first picture with the image collected by the camera. Generate composite images. After turning on the "co-shooting" function, the electronic device will perform subsequent operations.
- the first operation for enabling the "co-photography" function for the first picture may be, for example, on the user interface 23 displaying the picture 208 shown in FIG. 2C
- the user operation acts on the control 210a in the function list 210 displayed on the electronic device 100.
- the control 209 may also be called a first control
- the control 210a may also be called a second control.
- the first operation for turning on the "co-photography" function for the first picture may be, for example, a long press operation received by the electronic device 100 on the picture 207a shown in FIG. 2B, or the electronic device 100 may The circle gesture received on the picture 207a shown in FIG. 2B, or the long press operation received by the electronic device 100 on the picture 208 shown in FIG. 2C.
- the user interface provided by the gallery application for displaying the first picture may be called the first user interface.
- FIG. 2C and FIG. 2D may be called the first user interface.
- the first operation for turning on the "co-photography" function for the first picture may be, for example, that the electronic device 100 receives an action on the control 306 in FIG. 3B After the user operation, the user operation is performed on the picture 307a in the picture area 307 displayed by the electronic device 100.
- the control 306 may also be called a third control
- the user operation performed on the control 306 may also be called a fourth operation
- the user operation performed on the picture 307a may also be called a fifth operation.
- the user interface shown in FIG. 3B can not only be provided by the camera application, but also can be a user interface provided by other applications in the electronic device (such as social applications, shopping applications, etc.) calling the camera interface. Equivalently, other applications in the electronic device can call the camera interface to enable the "co-photography" function.
- the user interface provided by the camera application or provided by other applications calling the camera interface for enabling the "co-photography" function can be called the second user interface.
- the first operation for turning on the "co-photography" function for the first picture can also be implemented as a voice control instruction, an air gesture instruction, a pressing operation on a physical button, etc. This application does not limit the specific implementation of the first operation.
- the electronic device 100 starts the camera application and displays the second user interface.
- the second user interface displays a preview box.
- the preview box displays the first image with transparency and/or blur, and the image collected by the camera 193. .
- the electronic device 100 After the electronic device 100 turns on the "co-photography" function for the first picture, it can automatically start the camera application.
- the camera application may be a system application installed in the electronic device 100 or a third-party application.
- the electronic device 100 can display the second user interface provided by the camera application.
- the second user interface displays a preview box, and the first picture with transparency and/or blur is displayed in the preview box. And, the images collected by the camera 193 in real time.
- the second user interface may also be called a preview interface.
- the electronic device 100 can superimpose and display the first image with transparency and/or blur on the image collected by the camera 193 in real time.
- the user can not only see the first picture, but also see other content covered by the first picture displayed by the electronic device 100 through the transparency.
- the transparency of the first image can be preset, or can be adjusted by the user according to actual needs. It can also be adjusted according to the light of the current environment where the electronic device 100 is located, or according to the brightness of the image collected by the current camera 193 Make adjustments, etc.
- the electronic device 100 may first identify the outline or content of the first picture, draw the outline or content with a dotted line, or blur the content to obtain the blurred first picture. In this case, the user can not only see the first picture, but also see other contents covered by the blurred first picture displayed by the electronic device 100 .
- the images collected by the camera 193 in real time displayed in the preview box in the second user interface are refreshed in real time.
- the images collected by the camera 193 will change in real time.
- Preview The image changes in real time in the box.
- the image captured by the camera 193 in real time displayed in the preview box may also be obtained by processing the original image captured by the camera 193 .
- the electronic device 100 can perform anti-shake processing on the original image collected by the camera 193 and then send it to the display screen to be displayed in the preview box.
- the electronic device 100 will crop the original image collected by the camera 193, and send the cropped result to the display screen to be displayed in the preview box.
- the user can select the current shooting mode. In different modes, the electronic device 100 can perform different processing on the original image collected by the camera 193, such as blurring the background area in portrait mode, and then crop the image. The results are sent to the display for display in the preview box.
- the second user interface may be, for example, the user interface 22 shown in FIGS. 2F to 2G
- the preview box may be, for example, the preview box 211 in FIGS. 2F to 2G
- the lighter colored picture 208 shown in Figures 2F-2G may be the specific image shown in the preview box.
- the first image with transparency and the darker color image are images collected by the camera 193 in real time.
- the second user interface may be, for example, the user interface 34 shown in FIGS. 3D to 3E
- the preview box may be, for example, the preview box 301 in FIGS. 3D to 3E.
- the lighter color picture 208 shown in FIG. 3D to FIG. 3E may be the first picture with transparency displayed in the preview box, and the darker color image is the image collected by the camera 193 in real time.
- the preview box in the second user interface can show the relative position of each object in the first picture and the image collected by the camera 193 in real time to the user.
- the user can adjust the image captured by the camera displayed in real time in the preview box based on the content presented in the preview box, so that the relative position of the object contained in the image captured by the camera and object A in the first picture meets the user's actual needs.
- the way in which the user adjusts the image collected by the camera displayed in real time in the preview box may include but is not limited to: the user moves the electronic device 100 or changes the posture of the electronic device 100, the user changes the camera used by the electronic device 100, or the user indicates the current
- the objects captured by the camera 193 such as people or animals change their location, etc. For example, referring to FIGS. 2F to 2G or 3D to 3E, the user can adjust the relative position between the human object contained in the image captured by the camera 193 and the object A in the first picture (ie, the human object in the picture). Location.
- the electronic device 100 in addition to displaying the first picture with transparency or blur in the second user interface provided by the camera application to indicate the first picture, the electronic device 100 can also display lines of objects contained in the first picture. , the location of the object in the first picture, the faded first picture, etc., to display the first picture in the preview box, so that the user can know the relative relationship between the object in the first picture and the object in the image collected by the camera 193 in real time. Location.
- the above-mentioned information used to prompt the user about the relative positions of the objects in the first picture and the objects in the image collected by the camera 193 in real time may be called indication information of the first picture.
- the indication information of the first picture may include the first picture with transparency or blur displayed in the preview box, the lines of the objects contained in the first picture, the location of the objects in the first picture, the faded first picture, etc. etc., the embodiments of this application do not limit this.
- the electronic device 100 fits the first picture and the image collected by the camera 193 to generate a composite image.
- the second operation may be a user operation for triggering the electronic device 100 to take photos or videos.
- the user operation used to trigger the electronic device 100 to take a photo may also be called a photo instruction.
- the user operation used to trigger the recording of the electronic device 100 may also be called a recording instruction.
- the second operation may be a user operation that acts on the camera control 213 , or it may be a user operation that acts on the video recording control after the user selects the video recording mode.
- the second operation can also be a user operation that acts on the camera control 303, or a user operation that acts on the video recording control after the user selects the video recording mode.
- the electronic device 100 only when the correlation between the position indicated by the image collected by the camera 193 displayed in the preview box of the second user interface and the position indicated by the first picture is greater than the first value, the electronic device 100 will respond to the second operation.
- the correlation between pictures refers to the degree of similarity and matching degree of each picture in its relative position. If the correlation between two pictures is large, it means that the two pictures contain similar content, and the two pictures may have been taken from the same place and from a similar perspective.
- the first value can be set in advance and is not limited here. For example, referring to the relevant descriptions of FIGS.
- control 213 when the position indicated by the background area of the real-time image collected by the camera displayed in the preview box 211, and the position indicated by the picture 208 (such as but not limited to the background of the picture 208
- the control 213 can be activated only when there is a certain correlation (the position indicated by the area). In other cases, even if the control 213 receives a user operation, the electronic device 100 will not perform subsequent responses.
- the electronic device 100 after the electronic device 100 displays the second user interface, if the second operation is received, the electronic device 100 will immediately respond to the second operation.
- the control 213 can be activated all the time, as long as the user allows the object contained in the image collected by the camera to be in a position relative to the object A in the picture 208 that satisfies the user.
- the control 213 can be clicked, thereby triggering the electronic device 100 to perform subsequent steps in response to the operation.
- This process may specifically include the following steps:
- Step 1 Identify the object in the image collected by the camera. This object can be called object B.
- the electronic device 100 can identify relatively iconic objects such as people, animals, landmarks, buildings, dolls, etc. in the images collected by the camera, and use them as objects B.
- the electronic device 100 may also identify the object closest to the camera as object B based on the distance between each object in the image collected by the camera and the camera.
- the user can also select an object as the object B in the image collected by the camera displayed in the preview box. For example, the user can click on the location of the desired object in the preview box, and then the electronic device 100 can automatically For the human body or scenery at that position in the circle, the user can select object B without manually drawing the outline of the person or object.
- the electronic device 100 can identify the object B contained in the image collected by the camera through an image recognition algorithm.
- the image recognition algorithm may be, for example, an artificial intelligence (AI) algorithm.
- AI artificial intelligence
- the number of objects B recognized by the electronic device 100 may be one or multiple, and is not limited here.
- each (a) in FIGS. 6A and 6B shows a frame of image collected by the camera of the electronic device 100 .
- the object B in the image recognized by the electronic device 100 is a male character in the figure.
- the focal length used by the electronic device to capture (a) in Figure 6B is greater than the focal length used to capture (a) in Figure 6A .
- Step 2 In the image collected by the camera, determine the main area containing object B based on object B.
- the main area may be an area containing object B obtained by taking object B as a reference and extending a distance M to the surroundings in the image collected by the camera.
- M can be an empirical value obtained through testing.
- the M value of the same electronic device may be the same, the M values of different electronic devices may be different, or the M values corresponding to different cameras on the same electronic device may be different. This ensures that a main area containing object B can be obtained from images captured by different electronic devices or different cameras.
- M may be a value or a set of values.
- each value in the set of values may be different. That is to say, based on object B, the electronic device 100 may expand to different distances at different positions to obtain a main area containing object B.
- the area enclosed by the dotted line is a possible main area containing object B.
- the content contained in the images collected by the cameras in Figures 6A and 6B may be different in size and location.
- the main area may be an area in the image collected by the camera that is extended to the surroundings based on object B and has a color or pixel that is similar or the same as object B.
- Step 3 Perform a correlation search for the main area in the first image and find the apposition area with a correlation greater than the second value.
- performing a correlation search for the main area in the first picture means first finding the background area other than the main area in the image collected by the camera, and then identifying the correlation between the first picture and the background area that is greater than the first area.
- the binary area and/or the area with the highest correlation, the rest of the first picture excluding this area is the homogeneous area. This is equivalent to the correlation between the rest of the first picture except the co-located area and the rest of the image collected by the camera except the main area, which is greater than the second value.
- the second value may be set in advance, which is not limited in the embodiments of this application.
- This application does not limit the size, shape, and position of the apposition area in the first picture.
- the position of the co-located area in the first picture is the same as the position of the main area containing object B in the image collected by the camera.
- the electronic device 100 presents the object to the user in the preview box.
- the relative position of A and object B is the same as the relative position of object A and object B in the composite image after fitting. This allows the user to adjust the photo effect in real time based on the content in the preview box.
- the size and shape of the co-located area in the first picture and the size and shape of the main area containing object B in the image collected by the camera may be the same or different.
- the size, shape, and position of the co-located area in the first picture and the main area in the image collected by the camera are all the same.
- the co-located area in the first picture and the main area in the image collected by the camera have the same shape and position, and the size of the co-located area in the first picture is larger than that of the camera The size of the main area in the captured image.
- step 3 if the electronic device 100 can find the co-located area corresponding to the main area in the first picture, it means that the geographical location where the first picture was taken is the same as or similar to the geographical location where the current electronic device 100 takes the image.
- This enables group photos to be taken at the same location or in similar locations.
- the light and background in the first picture are similar to the light and background of the image captured by the camera, which can greatly improve the fitting effect in the subsequent step 4, thereby achieving a better result.
- Good photo effect This makes the shooting method provided by the embodiment of the present application different from simply cutting out pictures for a group photo, and this method can bring a more natural group photo effect.
- step 3 may be executed due to the uncertainty of the image collected by the current camera. Failure, that is, the electronic device 100 cannot find the corresponding homogeneous area in the first picture. In this case, the electronic device 100 may output prompt information to prompt the user that the current synthesis fails.
- Step 4 Fit the main area to the homogeneous area of the first picture, keep the remaining areas of the first picture unchanged, and generate a composite image.
- the electronic device can enlarge or reduce the main area containing object B captured by the camera, then merge the main area into the co-located area of the first picture, and perform transitional smoothing on the fused boundary. Equivalently, the electronic device uses an enlarged or reduced main area or the original main area to replace the co-located area in the first picture, and also performs transitional smoothing processing on the interface between the main area and the first picture, so that the final composite image Looks natural.
- the electronic device 100 uses the main area to replace the parity area in (c). bit area, and performs transitional smoothing on the boundary to generate a composite image as shown in (d).
- the electronic device 100 enlarges the main area, uses the enlarged main area to replace the co-located area in (c), and performs transitional smoothing on the boundary to generate the image as shown in (d). composite image.
- object B can be smoothly and naturally integrated into the first picture containing object A, and a composite object containing both object A and object B can be generated, thereby obtaining a natural and high-quality photo effect.
- the image collected at the moment when the photographing instruction is received and the first picture can be fitted to generate a composite image.
- the electronic device 100 can save the moment when the photographing instruction is received and the N frames of images previously collected by the camera 193 in real time, fit each of the N frames of images to the first picture, and generate N frames of composite images. .
- the multiple frame images collected by the camera 193 between the time when the recording instruction is received and the time when the stop recording instruction is received can be compared with the first image respectively. Fitting to generate multi-frame composite images.
- the user is shown the relative positions of object A and object B when taking a group photo through superimposed display in the preview interface.
- the fitting operation of the first picture and the image collected by the camera begins. This method can save the power consumption and processing power of electronic equipment.
- S106 The electronic device 100 saves the composite image.
- the electronic device 100 can generate the generated frame The composite image is saved to memory in picture format. If the electronic device 100 fits the time when the photographing instruction is received and the N frames of images previously collected by the camera 193 with the first picture to generate N frames of composite images, then the electronic device 100 can obtain the N frames of composite images from the N frames of images collected by the camera 193 . Select the frame with the best quality and save it to memory in picture format. Here, the electronic device 100 can select an image with the best quality from N frames of synthesized images through artificial intelligence learning.
- the quality of the synthesized image can be evaluated by, but not limited to, any one or more of the following parameters: peak-signal to noise ratio (PSNR) and mean square error (MSE), average absolute Error (mean sbsolute error, MAE) and signal to noise ratio (signal to noise ratio, SNR).
- PSNR peak-signal to noise ratio
- MSE mean square error
- MAE average absolute Error
- SNR signal to noise ratio
- the electronic device 100 if the electronic device 100 performs S104-S105 in the camera mode, the electronic device will fit the time of receiving the camera instruction and the N frames of images previously collected by the camera 193 with the first picture, respectively. After N frames of composite images are generated, the user can select a satisfactory composite image among the N frames of composite images and store it in the memory, and delete the remaining composite images.
- the composite image (that is, the composite picture) retained while the electronic device 100 performs S104-S106 in the camera mode may also be called the second picture.
- the multi-frame images collected by the video recording device camera 193 and the multi-frame composite images generated after fitting the first image can be stored in the memory in a video format. , that is, the multi-frame composite image is saved as a video file.
- the composite image can be viewed, and the composite image can also be edited, moved, and shared.
- the operation for viewing the composite image may also be called a third operation.
- the electronic device 100 generates a composite image in the camera mode, and the thumbnail 207 b of the composite image is displayed in the picture area 207 provided by the gallery application shown in FIG. 4B .
- the electronic device 100 can display the original image of the thumbnail 207b as shown in FIG. 4B, that is, the composite image generated by the electronic device 100.
- the electronic device 100 can also use the composite object as the first picture, and then perform the shooting method described in S101-S106 one or more times, so that multiple group photos can be achieved.
- the same user can first use his or her own photo as the first picture, and then take multiple photos with himself or herself in the first photo to achieve multiple photos of the same person at the same place.
- the user can realize cross-time and space photos at different times with his or her relative at the same place. group photo.
- the electronic device 100 specifically fits the area where the object B is located in the image collected by the camera 193 to the first picture, thereby obtaining a composite image. It is not limited to this. In some other embodiments of the present application, the electronic device 100 can also fit the area where the object A is located in the first image to the image collected by the camera 193 to obtain a composite image. Specifically, this implementation may include the following steps:
- Step 1 Identify the object in the first picture, which can be called object A;
- Step 2 In the first picture, determine the main area containing object A based on object A;
- Step 3 Perform a correlation search for the main area in the image collected by the camera, and find the same area with a correlation greater than the second value;
- Step 4 Fit the main area to the co-located area of the image collected by the camera, keep the remaining areas of the image collected by the camera unchanged, and generate a composite image.
- the area where the object A in the first image is located is fitted to the image collected by the camera 193 to obtain a composite image. If the first image is an old photo, the object in the old photo can be extracted. Integrate into newly captured images to renovate old photos.
- the object A in the first picture may also be called the first object
- the object B in the image captured by the camera may also be called the second object
- the electronic device 100 now overlays and displays the first picture and the image collected by the camera in the preview interface, and then generates a composite image after receiving the first operation. It is not limited to this. In some other embodiments of the present application, the electronic device 100 can also directly perform the operation of fitting and generating a composite image directly after starting the camera application, and directly display the composite image in the preview interface. Specifically, after executing S101-S103 of the above method, the electronic device 100 starts the camera application and collects images in real time through the camera 193. The electronic device 100 fits each frame image collected in real time by the camera 193 with the first picture respectively to obtain multiple frames.
- the images are synthesized, and the multiple frames of synthesized images are displayed in the preview box of the preview interface (ie, the second user interface mentioned above) in chronological order. If a photo-taking instruction is received later, the composite image displayed in the preview box will be saved as a picture. If a video recording instruction is received, the multi-frame composite image displayed in the preview box during recording will be saved as a video.
- This method of real-time synthesis and real-time display of the synthesized image requires the electronic device 100 to have strong processing capabilities. This method can display the effect of the group photo to the user in real time in the preview box, allowing the user to feel the effect of the group photo more intuitively.
- each step in the above method embodiment can be completed by an integrated logic circuit of hardware in the processor or instructions in the form of software.
- the method steps disclosed in conjunction with the embodiments of this application can be directly implemented by a hardware processor, or executed by a combination of hardware and software modules in the processor.
- This application also provides an electronic device, which may include a memory and a processor.
- the memory can be used to store a computer program; the processor can be used to call the computer program in the memory, so that the electronic device executes the method of the electronic device 100 in any of the above embodiments.
- This application also provides a chip system, which includes at least one processor and is used to implement the functions involved in the electronic device 100 side in any of the above embodiments.
- the chip system further includes a memory, the memory is used to store program instructions and data, and the memory is located within the processor or outside the processor.
- the chip system can be composed of chips or include chips and other discrete devices.
- processors in the chip system there may be one or more processors in the chip system.
- the processor can be implemented in hardware or software.
- the processor may be a logic circuit, an integrated circuit, or the like.
- the processor may be a general-purpose processor implemented by reading software code stored in memory.
- the memory may be integrated with the processor or may be provided separately from the processor, which is not limited by the embodiments of the present application.
- the memory may be a non-transient processor, such as a read-only memory ROM, which may be integrated with the processor on the same chip, or may be separately provided on different chips.
- the embodiments of this application vary on the type of memory, and The arrangement of the memory and processor is not specifically limited.
- the chip system can be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), or a system on chip (SoC). It can also be a central processor (central processor unit, CPU), a network processor (network processor, NP), a digital signal processing circuit (digital signal processor, DSP), or a microcontroller (micro controller unit (MCU), or a programmable logic device (PLD) or other integrated chip.
- FPGA field programmable gate array
- ASIC application specific integrated circuit
- SoC system on chip
- CPU central processor unit
- NP network processor
- DSP digital signal processing circuit
- MCU microcontroller
- PLD programmable logic device
- the computer program product includes: a computer program (which can also be called a code, or an instruction).
- a computer program which can also be called a code, or an instruction.
- the computer program When the computer program is run, it causes the computer to execute the electronic device in any of the above embodiments. The method performed on the 100th side.
- This application also provides a computer-readable storage medium that stores a computer program (which may also be called a code, or an instruction).
- a computer program which may also be called a code, or an instruction.
- the computer program product includes one or more computer instructions.
- the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device.
- the computer instructions may be stored in or transmitted from one computer-readable storage medium to another, e.g., the computer instructions may be transferred from a website, computer, server, or data center Transmission to another website, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.) means.
- the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains one or more available media integrated.
- the available media may be magnetic media (eg, floppy disk, hard disk, magnetic tape), optical media (eg, DVD), or semiconductor media (eg, solid state disk (SSD)), etc.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Computing Systems (AREA)
- Theoretical Computer Science (AREA)
- Studio Devices (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
Claims (27)
- 一种拍摄方法,其特征在于,所述方法包括:电子设备启动图库应用,并显示第一用户界面,所述第一用户界面中显示有第一图片,所述第一图片包含第一对象;所述电子设备接收到针对所述第一图片的第一操作;所述电子设备启动相机应用,并显示第二用户界面,所述第二用户界面中显示有预览框,所述预览框中显示有所述电子设备的摄像头采集的图像,以及,第一图片的指示信息;所述电子设备接收到用于拍照的第二操作;所述电子设备存储第二图片,所述第二图片由所述摄像头采集的图像和所述第一图片拟合得到,所述摄像头采集的图像包含第二对象,并且所述第二图片包含所述第一对象和所述第二对象。
- 根据权利要求1所述的方法,其特征在于,所述电子设备接收到所述第二操作后,存储所述第二图片之前,所述方法还包括:所述电子设备识别所述摄像头采集的图像中的所述第二对象;在所述摄像头采集的图像中确定包含所述第二对象的主区域,所述主区域为以所述第二对象为基准确定的区域;在所述第一图片中确定同位区,所述第一图片中的所述同位区以外的部分,和,所述摄像头采集的图像中所述主区域以外的部分的相关性大于第二值;将所述主区域拟合到所述第一图片中的所述同位区,得到所述第二图片。
- 根据权利要求1所述的方法,其特征在于,所述电子设备接收到所述第二操作后,存储所述第二图片之前,所述方法还包括:所述电子设备识别所述第一图片中的所述第一对象;在所述第一图片中确定包含所述第一对象的主区域,所述主区域为以所述第一对象为基准确定的区域;在所述摄像头采集的图像中确定同位区,所述摄像头采集的图像中的所述同位区以外的部分,和,所述第一图片中所述主区域以外的部分的相关性大于第二值;将所述主区域拟合到所述摄像头采集的图像中的所述同位区,得到所述第二图片。
- 根据权利要求2或3所述的方法,其特征在于,所述同位区在所述第一图片中的位置,和,所述主区域在所述摄像头采集的图像中的位置,相同。
- 根据权利要求1所述的方法,其特征在于,所述第二图片为,所述摄像头采集的多帧图像分别和所述第一图片拟合得到的合成图像中,质量最高的一帧图像;所述摄像头采集的多帧图像包括:在所述电子设备接收到所述第二操作的时刻以及之前时刻由所述摄像头采集的图像,所述多帧图像的数量由所述电子设备预先设置。
- 根据权利要求1-5任一项所述的方法,其特征在于,所述第一用户界面中显示有第一控件,所述电子设备接收到针对所述第一图片的第一操作之前,所述方法还包括:所述电子设备接收到作用于所述第一控件的用户操作;所述电子设备在所述第一用户界面中显示第二控件;所述第一操作包括作用于所述第二控件上的用户操作。
- 根据权利要求1-6任一项所述的方法,其特征在于,所述电子设备存储第二图片之后,所述方法还包括:所述电子设备接收到用于查看所述第二图片的第三操作;所述电子设备显示所述第二图片。
- 一种拍摄方法,其特征在于,所述方法包括:电子设备启动图库应用,并显示第一用户界面,所述第一用户界面中显示有第一图片,所述第一图片包含第一对象;所述电子设备接收到针对所述第一图片的第一操作;所述电子设备启动相机应用,并显示第二用户界面,所述第二用户界面中显示有预览框,所述预览框中显示有合成图像,所述合成图像由所述电子设备的摄像头采集的图像和所述第一图片拟合得到,所述摄像头采集的图像包含第二对象;所述电子设备接收到用于拍照的第二操作;所述电子设备存储第二图片,所述第二图片为接收到所述第二操作时所述预览框中显示的合成图像,并且所述第二图片包含所述第一对象和所述第二对象。
- 根据权利要求8所述的方法,其特征在于,所述电子设备在所述预览框中显示合成图像之前,所述方法还包括:所述电子设备识别所述摄像头采集的图像中的所述第二对象;在所述摄像头采集的图像中确定包含所述第二对象的主区域,所述主区域为以所述第二对象为基准确定的区域;在所述第一图片中确定同位区,所述第一图片中的所述同位区以外的部分,和,所述摄像头采集的图像中所述主区域以外的部分的相关性大于第二值;将所述主区域拟合到所述第一图片中的所述同位区,得到所述合成图像。
- 根据权利要求8所述的方法,其特征在于,所述电子设备在所述预览框中显示合成图像之前,所述方法还包括:所述电子设备识别所述第一图片中的所述第一对象;在所述第一图片中确定包含所述第一对象的主区域,所述主区域为以所述第一对象为基准确定的区域;在所述摄像头采集的图像中确定同位区,所述摄像头采集的图像中的所述同位区以外的部分,和,所述第一图片中所述主区域以外的部分的相关性大于第二值;将所述主区域拟合到所述摄像头采集的图像中的所述同位区,得到所述合成图像。
- 根据权利要求9或10所述的方法,其特征在于,所述同位区在所述第一图片中的位置,和,所述主区域在所述摄像头采集的图像中的位置,相同。
- 根据权利要求8-11任一项所述的方法,其特征在于,所述第一用户界面中显示有第一控件,所述电子设备接收到针对所述第一图片的第一操作之前,所述方法还包括:所述电子设备接收到作用于所述第一控件的用户操作;所述电子设备在所述第一用户界面中显示第二控件;所述第一操作包括作用于所述第二控件上的用户操作。
- 根据权利要求8-12任一项所述的方法,其特征在于,所述电子设备存储第二图片之后,所述方法还包括:所述电子设备接收到用于查看所述第二图片的第三操作;所述电子设备显示所述第二图片。
- 一种拍摄方法,其特征在于,所述方法包括:电子设备显示第二用户界面,所述第二用户界面中显示有预览框和第三控件,所述预览框中显示有所述电子设备的摄像头采集的图像;所述电子设备检测到作用于所述第三控件上的第四操作;所述电子设备显示一张或多张图片;所述电子设备检测到作用于所述一张或多张图片中的第一图片上的第五操作,所述第一图片包含第一对象;所述电子设备在所述第二用户界面的所述预览框中,显示所述电子设备的摄像头采集的图像,以及,所述第一图片的指示信息;所述电子设备接收到用于拍照的第二操作;所述电子设备存储第二图片,所述第二图片由所述摄像头采集的图像和所述第一图片拟合得到,所述摄像头采集的图像包含第二对象,并且所述第二图片包含所述第一对象和所述第二对象。
- 根据权利要求14所述的方法,其特征在于,所述电子设备接收到所述第二操作后,存储所述第二图片之前,所述方法还包括:所述电子设备识别所述摄像头采集的图像中的所述第二对象;在所述摄像头采集的图像中确定包含所述第二对象的主区域,所述主区域为以所述第二对象为基准确定的区域;在所述第一图片中确定同位区,所述第一图片中的所述同位区以外的部分,和,所述摄像头采集的图像中所述主区域以外的部分的相关性大于第二值;将所述主区域拟合到所述第一图片中的所述同位区,得到所述第二图片。
- 根据权利要求14所述的方法,其特征在于,所述电子设备接收到所述第二操作后,存储所述第二图片之前,所述方法还包括:所述电子设备识别所述第一图片中的所述第一对象;在所述第一图片中确定包含所述第一对象的主区域,所述主区域为以所述第一对象为基准确定的区域;在所述摄像头采集的图像中确定同位区,所述摄像头采集的图像中的所述同位区以外的部分,和,所述第一图片中所述主区域以外的部分的相关性大于第二值;将所述主区域拟合到所述摄像头采集的图像中的所述同位区,得到所述第二图片。
- 根据权利要求15或16所述的方法,其特征在于,所述同位区在所述第一图片中的位置,和,所述主区域在所述摄像头采集的图像中的位置,相同。
- 根据权利要求14所述的方法,其特征在于,所述第二图片为,所述摄像头采集的多帧图像分别和所述第一图片拟合得到的合成图像中,质量最高的一帧图像;所述摄像头采集的多帧图像包括:在所述电子设备接收到所述第二操作的时刻以及之前时刻由所述摄像头采集的图像,所述多帧图像的数量由所述电子设备预先设置。
- 根据权利要求15-18任一项所述的方法,其特征在于,所述电子设备存储第二图片之后,所述方法还包括:所述电子设备接收到用于查看所述第二图片的第三操作;所述电子设备显示所述第二图片。
- 一种拍摄方法,其特征在于,所述方法包括:电子设备显示第二用户界面,所述第二用户界面中显示有预览框和第三控件,所述预览框中显示有所述电子设备的摄像头采集的图像;所述电子设备检测到作用于所述第三控件上的第四操作;所述电子设备显示一张或多张图片;所述电子设备检测到作用于所述一张或多张图片中的第一图片上的第五操作,所述第一图片包含第一对象;所述电子设备在所述第二用户界面的所述预览框中显示合成图像,所述合成图像由所述电子设备的摄像头采集的图像和所述第一图片拟合得到,所述摄像头采集的图像包含第二对象;所述电子设备接收到用于拍照的第二操作;所述电子设备存储第二图片,所述第二图片为接收到所述第二操作时所述预览框中显示的合成图像,并且所述第二图片包含所述第一对象和所述第二对象。
- 根据权利要求20所述的方法,其特征在于,所述电子设备在所述预览框中显示合成图像之前,所述方法还包括:所述电子设备识别所述摄像头采集的图像中的所述第二对象;在所述摄像头采集的图像中确定包含所述第二对象的主区域,所述主区域为以所述第二对象为基准确定的区域;在所述第一图片中确定同位区,所述第一图片中的所述同位区以外的部分,和,所述摄像头采集的图像中所述主区域以外的部分的相关性大于第二值;将所述主区域拟合到所述第一图片中的所述同位区,得到所述合成图像。
- 根据权利要求20所述的方法,其特征在于,所述电子设备在所述预览框中显示合成图像之前,所述方法还包括:所述电子设备识别所述第一图片中的所述第一对象;在所述第一图片中确定包含所述第一对象的主区域,所述主区域为以所述第一对象为基准确定的区域;在所述摄像头采集的图像中确定同位区,所述摄像头采集的图像中的所述同位区以外的部分,和,所述第一图片中所述主区域以外的部分的相关性大于第二值;将所述主区域拟合到所述摄像头采集的图像中的所述同位区,得到所述合成图像。
- 根据权利要求21或22所述的方法,其特征在于,所述同位区在所述第一图片中的位置,和,所述主区域在所述摄像头采集的图像中的位置,相同。
- 根据权利要求20-23任一项所述的方法,其特征在于,所述电子设备存储第二图片之后,所述方法还包括:所述电子设备接收到用于查看所述第二图片的第三操作;所述电子设备显示所述第二图片。
- 一种电子设备,其特征在于,所述电子设备包括:存储器、一个或多个处理器;所述存储器与所述一个或多个处理器耦合,所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令,所述一个或多个处理器调用所述计算机指令以使得所述电子设备执行如权利要求1-7、或权利要求8-13、或权利要求14-19、或权利要求20-24中任一项所述的方法。
- 一种计算机可读存储介质,包括指令,其特征在于,当所述指令在电子设备上运行,使得所述电子设备执行如权利要求1-7、或权利要求8-13、或权利要求14-19、或权利要求20-24中任一项所述的方法。
- 一种计算机程序产品,其特征在于,所述计算机程序产品包含计算机指令,当所述计算机指令在电子设备上运行,使得所述电子设备执行如权利要求1-7、或权利要求8-13、或权利要求14-19、或权利要求20-24中任一项所述的方法。
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP23856484.3A EP4589980A4 (en) | 2022-08-26 | 2023-08-10 | PHOTOGRAPHIC METHOD AND ASSOCIATED DEVICE |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211037891.9 | 2022-08-26 | ||
| CN202211037891.9A CN115529413B (zh) | 2022-08-26 | 2022-08-26 | 拍摄方法及相关装置 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2024041394A1 true WO2024041394A1 (zh) | 2024-02-29 |
Family
ID=84696886
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2023/112243 Ceased WO2024041394A1 (zh) | 2022-08-26 | 2023-08-10 | 拍摄方法及相关装置 |
Country Status (3)
| Country | Link |
|---|---|
| EP (1) | EP4589980A4 (zh) |
| CN (3) | CN120786178A (zh) |
| WO (1) | WO2024041394A1 (zh) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119396323A (zh) * | 2024-10-31 | 2025-02-07 | 维沃移动通信有限公司 | 图像生成方法、装置及设备 |
| WO2026030120A1 (en) * | 2024-07-29 | 2026-02-05 | Google Llc | Generating a group photo that includes a photographer |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN120786178A (zh) * | 2022-08-26 | 2025-10-14 | 华为技术有限公司 | 拍摄方法及相关装置 |
| CN118450268B (zh) * | 2023-10-12 | 2025-02-21 | 荣耀终端有限公司 | 拍摄方法、电子设备及可读存储介质 |
| CN117221712B (zh) * | 2023-11-07 | 2024-11-08 | 荣耀终端有限公司 | 一种合拍方法、电子设备及存储介质 |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102055834A (zh) * | 2009-10-30 | 2011-05-11 | Tcl集团股份有限公司 | 一种移动终端的双摄像头拍照方法 |
| CN105744170A (zh) * | 2016-03-30 | 2016-07-06 | 努比亚技术有限公司 | 一种照片拍摄装置和方法 |
| CN111586318A (zh) * | 2019-02-19 | 2020-08-25 | 三星电子株式会社 | 用于提供基于虚拟角色的拍摄模式的电子装置及操作方法 |
| CN112532887A (zh) * | 2020-12-18 | 2021-03-19 | 惠州Tcl移动通信有限公司 | 一种拍摄方法、装置、终端及存储介质 |
| CN114143461A (zh) * | 2021-11-30 | 2022-03-04 | 维沃移动通信有限公司 | 拍摄方法、装置及电子设备 |
| CN114205512A (zh) * | 2020-09-17 | 2022-03-18 | 华为技术有限公司 | 拍摄方法和装置 |
| EP4020967A1 (en) * | 2020-01-14 | 2022-06-29 | Honor Device Co., Ltd. | Photographic method in long focal length scenario, and mobile terminal |
| CN115529413A (zh) * | 2022-08-26 | 2022-12-27 | 华为技术有限公司 | 拍摄方法及相关装置 |
Family Cites Families (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5262856A (en) * | 1992-06-04 | 1993-11-16 | Massachusetts Institute Of Technology | Video image compositing techniques |
| JP2005079776A (ja) * | 2003-08-29 | 2005-03-24 | Fuji Photo Film Co Ltd | 画像生成装置、画像生成方法、及びプログラム |
| US7782384B2 (en) * | 2004-11-05 | 2010-08-24 | Kelly Douglas J | Digital camera having system for digital image composition and related method |
| US8332429B2 (en) * | 2010-06-22 | 2012-12-11 | Xerox Corporation | Photography assistant and method for assisting a user in photographing landmarks and scenes |
| WO2015100723A1 (zh) * | 2014-01-03 | 2015-07-09 | 华为终端有限公司 | 实现自助合影的方法和照相设备 |
| KR20150091798A (ko) * | 2014-02-04 | 2015-08-12 | 엘지전자 주식회사 | 단말기 및 상기 단말기에서의 이미지 합성 방법 |
| US9774779B2 (en) * | 2014-05-21 | 2017-09-26 | Google Technology Holdings LLC | Enhanced image capture |
| CN105657239B (zh) * | 2015-04-27 | 2018-05-15 | 宇龙计算机通信科技(深圳)有限公司 | 一种图像处理方法和装置 |
| CN106792147A (zh) * | 2016-12-08 | 2017-05-31 | 天脉聚源(北京)传媒科技有限公司 | 一种图像替换方法及装置 |
| CN106657791A (zh) * | 2017-01-03 | 2017-05-10 | 广东欧珀移动通信有限公司 | 一种合成图像的生成方法及装置 |
| US10574881B2 (en) * | 2018-02-15 | 2020-02-25 | Adobe Inc. | Smart guide to capture digital images that align with a target image model |
| KR20200037929A (ko) * | 2018-10-02 | 2020-04-10 | 문현수 | 사진 합성 촬상 방법과 그 어플리케이션이 설치된 개인휴대통신기 및 그 온라인 비즈니스 방법과 서버 |
| CN110365907B (zh) * | 2019-07-26 | 2021-09-21 | 维沃移动通信有限公司 | 一种拍照方法、装置及电子设备 |
| CN113012082A (zh) * | 2021-02-09 | 2021-06-22 | 北京字跳网络技术有限公司 | 图像显示方法、装置、设备及介质 |
-
2022
- 2022-08-26 CN CN202510798794.9A patent/CN120786178A/zh active Pending
- 2022-08-26 CN CN202510797611.1A patent/CN120786177B/zh active Active
- 2022-08-26 CN CN202211037891.9A patent/CN115529413B/zh active Active
-
2023
- 2023-08-10 EP EP23856484.3A patent/EP4589980A4/en active Pending
- 2023-08-10 WO PCT/CN2023/112243 patent/WO2024041394A1/zh not_active Ceased
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102055834A (zh) * | 2009-10-30 | 2011-05-11 | Tcl集团股份有限公司 | 一种移动终端的双摄像头拍照方法 |
| CN105744170A (zh) * | 2016-03-30 | 2016-07-06 | 努比亚技术有限公司 | 一种照片拍摄装置和方法 |
| CN111586318A (zh) * | 2019-02-19 | 2020-08-25 | 三星电子株式会社 | 用于提供基于虚拟角色的拍摄模式的电子装置及操作方法 |
| EP4020967A1 (en) * | 2020-01-14 | 2022-06-29 | Honor Device Co., Ltd. | Photographic method in long focal length scenario, and mobile terminal |
| CN114205512A (zh) * | 2020-09-17 | 2022-03-18 | 华为技术有限公司 | 拍摄方法和装置 |
| CN112532887A (zh) * | 2020-12-18 | 2021-03-19 | 惠州Tcl移动通信有限公司 | 一种拍摄方法、装置、终端及存储介质 |
| CN114143461A (zh) * | 2021-11-30 | 2022-03-04 | 维沃移动通信有限公司 | 拍摄方法、装置及电子设备 |
| CN115529413A (zh) * | 2022-08-26 | 2022-12-27 | 华为技术有限公司 | 拍摄方法及相关装置 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP4589980A4 |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2026030120A1 (en) * | 2024-07-29 | 2026-02-05 | Google Llc | Generating a group photo that includes a photographer |
| CN119396323A (zh) * | 2024-10-31 | 2025-02-07 | 维沃移动通信有限公司 | 图像生成方法、装置及设备 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN115529413A (zh) | 2022-12-27 |
| CN120786178A (zh) | 2025-10-14 |
| EP4589980A1 (en) | 2025-07-23 |
| EP4589980A4 (en) | 2026-02-25 |
| CN115529413B (zh) | 2025-06-27 |
| CN120786177A (zh) | 2025-10-14 |
| CN120786177B (zh) | 2026-04-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP4171014B1 (en) | Photographing method, graphical interface and related apparatus | |
| US20250004799A1 (en) | Theme wallpaper generation method and electronic device | |
| CN110401766B (zh) | 一种拍摄方法及终端 | |
| CN115529413B (zh) | 拍摄方法及相关装置 | |
| WO2021244455A1 (zh) | 一种图像内容的去除方法及相关装置 | |
| CN113497890B (zh) | 一种拍摄方法及设备 | |
| EP4060603B1 (en) | Image processing method and related apparatus | |
| CN110377204B (zh) | 一种生成用户头像的方法及电子设备 | |
| WO2021129198A1 (zh) | 一种长焦场景下的拍摄方法及终端 | |
| WO2020113534A1 (zh) | 一种拍摄长曝光图像的方法和电子设备 | |
| CN116055867B (zh) | 一种拍摄方法和电子设备 | |
| WO2022228010A1 (zh) | 一种生成封面的方法及电子设备 | |
| WO2021204103A1 (zh) | 照片预览方法、电子设备和存储介质 | |
| WO2024179100A1 (zh) | 一种拍摄方法 | |
| WO2023142731A1 (zh) | 一种分享多媒体文件的方法、发送端设备和接收端设备 | |
| WO2022127609A1 (zh) | 图像处理方法及电子设备 | |
| WO2023160230A9 (zh) | 一种拍摄方法及相关设备 | |
| WO2023160224A9 (zh) | 一种拍摄方法及相关设备 | |
| CN115914823B (zh) | 拍摄方法及电子设备 | |
| WO2023231696A1 (zh) | 一种拍摄方法及相关设备 | |
| CN118552452A (zh) | 去除摩尔纹的方法及相关装置 | |
| CN115442509A (zh) | 拍摄方法、用户界面及电子设备 | |
| CN113452895A (zh) | 一种拍摄方法及设备 | |
| CN121284393A (zh) | 一种拍照处理的方法及相关装置 | |
| CN121147234A (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: 23856484 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2023856484 Country of ref document: EP |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| ENP | Entry into the national phase |
Ref document number: 2023856484 Country of ref document: EP Effective date: 20250326 |
|
| WWP | Wipo information: published in national office |
Ref document number: 2023856484 Country of ref document: EP |