Image generation method, device and equipment
By displaying the positioning points in the first application and sliding the touch object to generate a synthetic image, the problem of cumbersome and inefficient image synthesis operations in the prior art is solved, and a simpler and more efficient image synthesis process is realized.
Patent Information
- Application Number
- CN202411548417.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-31
- Publication Date
- 2025-02-07
- Estimated Expiration
- 2044-10-31
AI Technical Summary
The prior art When combining images of multiple field angles into one image, the operation is complicated and the image synthesis efficiency is low, and the application needs to be switched to realize synthesis.
By displaying the anchor points during the user's use of the first application, and when the touch object slides to these anchor points, a synthetic image is generated based on the images of the multiple field-angle interfaces, there is no need to switch the application.
The operation process is simplified, the image synthesis efficiency is improved, and the user can easily synthesize images of multiple field angles while using the first application.
Smart Images

Figure CN119396323A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of electronic equipment, and specifically relates to an image generation method, device, equipment and medium. Background Art
[0002] Screenshot is the abbreviation for capturing the content displayed on the screen of an electronic device. Through screenshots, users can save the content they are interested in or share it with other users.
[0003] With the development of electronic devices and image technology, there is a demand for users to capture images of multiple viewing angles in an application (such as a game application) and then combine the images of the multiple viewing angles into one image.
[0004] In the related art, when synthesizing images of multiple viewing angles captured from a certain application into one image, it is necessary to switch from the source application of the screenshot to the album application. However, synthesizing images by switching applications is cumbersome and the image synthesis efficiency is low. Summary of the invention
[0005] The purpose of the embodiments of the present application is to provide an image generation method, device and equipment that can improve the efficiency of image synthesis.
[0006] In a first aspect, an embodiment of the present application provides a multi-viewing angle screenshot method, comprising:
[0007] When a first viewing angle interface of a first application is displayed and a first input is received, acquiring a first image, wherein the first image includes the first viewing angle interface;
[0008] Displaying at least one positioning point, wherein the at least one positioning point includes a first positioning point;
[0009] When the touch object slides to the first positioning point, a third image is generated according to the second image and the first image, wherein the second image includes a second viewing angle interface.
[0010] In a second aspect, an embodiment of the present application provides an image generating device, including:
[0011] an acquisition module, configured to acquire a first image when a first viewing angle interface of a first application is displayed and a first input is received, wherein the first image includes the first viewing angle interface;
[0012] A display module, configured to display at least one positioning point, wherein the at least one positioning point includes a first positioning point;
[0013] The generating module is used to generate a third image according to the second image and the first image when the touch object slides to the first positioning point, wherein the second image includes a second viewing angle interface.
[0014] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the image generation method provided in the embodiment of the present application are implemented.
[0015] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the image generation method provided in the embodiment of the present application are implemented.
[0016] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the steps of the image generation method provided in the embodiment of the present application.
[0017] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the steps of the image generation method provided in the embodiment of the present application.
[0018] In an embodiment of the present application, when the first field of view interface of the first application is displayed and the first input is received, a first image is acquired, wherein the first image includes the first field of view interface; at least one positioning point is displayed, wherein the at least one positioning point includes the first positioning point; when the touch object slides to the first positioning point, a third image is generated based on the second image and the first image, wherein the second image includes the second field of view interface. In this way, there is no need to switch the first application to the album application. In the process of the user using the first application, the images obtained by intercepting multiple field of view interfaces from the first application can be synthesized into one image, which is simple to operate and can improve the efficiency of image synthesis. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 It is a flowchart of the image generation method provided in the embodiment of the present application;
[0020] Figure 2 is a schematic diagram of a screenshot guidance path and positioning points provided in an embodiment of the present application;
[0021] Figure 3 is a schematic diagram of the structure of an image generating device provided in an embodiment of the present application;
[0022] Figure 4 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0023] Figure 5It is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application. DETAILED DESCRIPTION
[0024] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0025] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0026] The image generation method, device and apparatus provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.
[0027] Figure 1 : is a flow chart of an image generation method provided in an embodiment of the present application. The image generation method may include:
[0028] Step 101: When a first viewing angle interface of a first application is displayed and a first input is received, a first image is acquired, wherein the first image includes the first viewing angle interface;
[0029] Step 102: displaying at least one positioning point, wherein the at least one positioning point includes a first positioning point;
[0030] Step 103: when the touch object slides to the first positioning point, a third image is generated according to the second image and the first image, wherein the second image includes a second viewing angle interface.
[0031] The specific implementation of the above steps will be described in detail below.
[0032] In an embodiment of the present application, when the first field of view interface of the first application is displayed and the first input is received, a first image is acquired, wherein the first image includes the first field of view interface; at least one positioning point is displayed, wherein the at least one positioning point includes the first positioning point; when the touch object slides to the first positioning point, a third image is generated based on the second image and the first image, wherein the second image includes the second field of view interface. In this way, there is no need to switch the first application to the album application. In the process of the user using the first application, the images obtained by intercepting multiple field of view interfaces from the first application can be synthesized into one image, which is simple to operate and can improve the efficiency of image synthesis.
[0033] In some possible implementations of the embodiments of the present application, the first input in the embodiments of the present application is used to trigger the acquisition of the first image. The first input in the embodiments of the present application includes but is not limited to: a user's touch input of a control for triggering the acquisition of the first image through a touch object (for example, a touch device such as a finger or a stylus), a voice command input, a specific gesture input, etc.; wherein the touch input includes but is not limited to a click input, a sliding input, etc., the click input can be a single-click input, a double-click input, or any number of click inputs, and can also be a long press input or a short press input; the specific gesture input can be any one of a single-click gesture, a sliding gesture, a drag gesture, a long press gesture, an area change gesture, a double-press gesture, and a double-click gesture. The first input in the embodiments of the present application can be set and adaptively modified according to actual needs.
[0034] In some possible implementations of the embodiments of the present application, in step 101, when acquiring the first image, the first field of view angle interface may be intercepted to obtain the first image.
[0035] In some possible implementations of the embodiments of the present application, the first field of view angle interface in the embodiments of the present application and the second field of view angle interface described below are interfaces at different field of view angles.
[0036] In some possible implementations of the embodiments of the present application, in step 101, a screenshot guide path may be displayed, and a first image may be acquired when the touch object slides along the screenshot guide path and the sliding speed of the touch object satisfies a first condition.
[0037] In some possible implementations of the embodiments of the present application, when the first input is a sliding input, the sliding speed of the touch object on the screen can be detected, and when the sliding speed is greater than a preset speed threshold, a screenshot guide path is displayed.
[0038] In some possible implementations of the embodiments of the present application, the screenshot guide path in the embodiments of the present application is used to guide the user to slide the screen according to the screenshot guide path. The embodiments of the present application do not limit the specific form of the screenshot guide path, and any available form can be applied to the embodiments of the present application, for example, a screenshot guide path in the shape of the letter "Z", a semicircular screenshot guide path, etc. The screenshot guide path in the embodiments of the present application can be set and adaptively modified according to actual needs.
[0039] It can be understood that the first condition in the embodiment of the present application is an interface capture condition, and the first condition in the embodiment of the present application may include that the average speed of the touch object sliding along the screenshot guide path is greater than the first preset speed, and the instantaneous speed of the touch object sliding along the screenshot guide path to the end point of the screenshot guide path is greater than the second preset speed. The first condition in the embodiment of the present application can be set and adaptively modified according to actual needs.
[0040] In some possible implementations of the embodiments of the present application, the first positioning point is a positioning point for triggering the generation of a screenshot image. When the touch object slides to the first positioning point, a third image is generated according to the second image and the first image.
[0041] In some implementations of the embodiments of the present application, the second image may include multiple field of view angle interfaces. When generating the third image based on the second image and the first image, the multiple field of view angle interfaces and the first field of view angle interface may be arranged and laid out according to the preset image layout, and then the third image is generated. The embodiments of the present application do not limit the specific form of the preset image layout, and any available form may be applied to the embodiments of the present application, for example, a nine-square grid, a field grid, etc. The preset image layout in the embodiments of the present application can be set and adaptively modified according to actual needs.
[0042] In some possible implementations of the embodiments of the present application, in step 103, when the touch object slides from the end point of the screenshot guide path to the first positioning point and the touch object leaves the screen, a third image may be generated based on the second image and the first image. The embodiments of the present application do not limit the method used to detect that the touch object leaves the screen, and any available method may be applied to the embodiments of the present application.
[0043] In some possible implementations of the embodiments of the present application, in order to avoid the display of the screenshot guide path and the first positioning point affecting the user's use of the first application, when the touch object slides from the end point of the screenshot guide path to the first positioning point and the touch object leaves the screen, the display of the screenshot guide path and the first positioning point can be turned off.
[0044] In some possible implementations of the embodiments of the present application, at least one positioning point also includes a second positioning point; the image generation method provided by the embodiments of the present application also includes: caching the first image when the touch object slides to the second positioning point.
[0045] In some possible implementations of the embodiments of the present application, the second positioning point is a positioning point for continuing the screenshot. When the touch object slides to the second positioning point, the first image is cached and the third image is not generated.
[0046] In the embodiment of the present application, the image capture can be continued through the second positioning point, and then the images captured multiple times can be synthesized into one image at one time, which can improve the image synthesis efficiency.
[0047] In some possible implementations of the embodiments of the present application, in order to avoid the display of the screenshot guide path, the first positioning point, and the second positioning point affecting the user's use of the first application, when the touch object slides to the second positioning point and the touch object leaves the screen, the display of the screenshot guide path, the first positioning point, and the second positioning point can be turned off.
[0048] In some possible implementations of the embodiments of the present application, at least one positioning point also includes a third positioning point; the image generation method provided by the embodiments of the present application also includes: when the touch object slides to the third positioning point and receives a second input, capturing the image in the area selected by the second input in the first field of view angle interface to obtain a third image.
[0049] In some possible implementations of the embodiments of the present application, the third positioning point is a positioning point for partially intercepting the field of view interface. The second input in the embodiments of the present application is used to frame a partial area in the field of view interface. When the touch object slides to the third positioning point and receives the second input, the image in the area framed by the second input in the first field of view interface is intercepted.
[0050] Exemplarily, assuming that the size of the field of view angle interface is 200*100, the user selects a 50*50 area in the upper left corner of the field of view angle interface through the second input box, and the 50*50 area is captured to obtain a third image.
[0051] In some possible implementations of the embodiments of the present application, in order to avoid the display of the screenshot guide path, the first positioning point and the third positioning point affecting the user's use of the first application, when the touch object slides to the third positioning point and captures the image in the area selected by the second input in the first field of view angle interface, the display of the screenshot guide path, the first positioning point and the third positioning point can be turned off.
[0052] In the embodiment of the present application, part of the field of view angle interface can be captured through the third positioning point, and then image synthesis is performed based on the captured image, so that the synthesized image does not contain parts that the user does not need, which can meet user needs and improve user experience.
[0053] In some possible implementations of the embodiments of the present application, at least one positioning point also includes a fourth positioning point; the image generation method provided by the embodiments of the present application also includes: when the touch object slides to the fourth positioning point and receives a third input, identifying the first object in the area selected by the third input; when displaying the third field of view angle interface including the first object, acquiring a fourth image, wherein the fourth image includes the third field of view angle interface.
[0054] In some possible implementations of the embodiments of the present application, the fourth positioning point is a positioning point for object recognition of the area selected by the third input. The third input in the embodiments of the present application is used to select a partial area in the field of view interface. The embodiments of the present application do not elaborate on the process of identifying objects in the area, and the specific process can be referred to the description in the related art.
[0055] For example, assuming that the size of the field of view angle interface is 200*100, the user selects the 50*50 area in the upper left corner of the field of view angle interface through the third input box, and through object recognition, it is recognized that the area includes object x. Then, when the user subsequently uses the first application, the field of view angle interface including object x is captured.
[0056] In some possible implementations of the embodiments of the present application, the number of times the field of view angle interface including the first object is intercepted can be set. When the number of times the field of view angle interface including the first object is intercepted reaches the set number, when the field of view angle interface including the first object is displayed again, no further interception will be performed.
[0057] In some possible implementations of the embodiments of the present application, a time interval between two adjacent interceptions of the field of view angle interface including the first object can be set. After a field of view angle interface including the first object is intercepted, the field of view angle interface including the first object appears again. If the time length from the time when the field of view angle interface of the first object appears again to the time when the last field of view angle interface including the first object is intercepted is less than the set time interval, the field of view angle interface including the first object that appears again is not intercepted; if the time length from the time when the field of view angle interface of the first object appears again to the time when the last field of view angle interface including the first object is intercepted is greater than or equal to the set time interval, the field of view angle interface including the first object that appears again is intercepted.
[0058] In some possible implementations of the embodiments of the present application, in order to avoid the display of the screenshot guide path, the first positioning point and the fourth positioning point affecting the user's use of the first application, when the touch object slides to the fourth positioning point and passes through the third input selection area, the display of the screenshot guide path, the first positioning point and the fourth positioning point can be turned off.
[0059] In the embodiment of the present application, the object can be automatically tracked and captured through the fourth positioning point, without the need for the user to manually capture the interface of the object every time it appears, which can improve the image capture efficiency and further improve the image synthesis efficiency.
[0060] In some possible implementations of the embodiments of the present application, at least one positioning point also includes a fifth positioning point; the image generation method provided by the embodiments of the present application also includes: when the touch object slides to the fifth positioning point, acquiring the interface in the first application according to a preset frequency.
[0061] In some possible implementations of the present application, the fifth positioning point is a positioning point for triggering interface capture according to a preset frequency. The preset frequency in the present application can be set and adaptively modified according to actual needs, for example, the preset frequency is 1 Hz.
[0062] After the touch object slides to the fifth positioning point, the interface in the first application is intercepted at a preset frequency.
[0063] In some possible implementations of the embodiments of the present application, in order to avoid the display of the screenshot guide path, the first positioning point and the fifth positioning point affecting the user's use of the first application, when the touch object slides to the fifth positioning point, the display of the screenshot guide path, the first positioning point and the fifth positioning point can be turned off.
[0064] In the embodiment of the present application, the fifth positioning point can automatically perform image capture at a preset frequency, which can improve the image capture efficiency and further improve the image synthesis efficiency.
[0065] In some possible implementations of the embodiments of the present application, at least one positioning point also includes a sixth positioning point; before step 104, the image generation method provided by the embodiments of the present application also includes: when the touch object slides to the sixth positioning point, displaying multiple historical images; and selecting an image from the multiple historical images as the second image.
[0066] In some possible implementations of the embodiments of the present application, the sixth positioning point is a positioning point used to trigger the display of historically captured images.
[0067] In some possible implementations of the embodiments of the present application, not all of the images captured in the past may be used to generate the captured images, and the user may use a portion of the images to generate the captured images. Therefore, when the touch object slides to the sixth positioning point, the images captured in the past may be displayed, and the user may select a desired image from the images captured in the past, and use the selected image as the second image, and then generate the third image based on the second image and the first image.
[0068] In an embodiment of the present application, through the sixth positioning point, the user can select an image that meets his needs from multiple captured images, and then perform image synthesis based on the image selected by the user, so that the synthesized image can meet the user's needs and improve the user experience.
[0069] Figure 2 Schematic diagram of the screenshot guidance path and positioning points provided in the embodiment of the present application. Figure 2 , point S is the starting point of the screenshot guide path 201, and point T is the end point of the screenshot guide path 201. The screenshot guide path 201 is a path similar to the shape of the letter Z. Positioning point A is the first positioning point, positioning point B is the second positioning point, positioning point C is the third positioning point, positioning point D is the fourth positioning point, positioning point E is the fifth positioning point, and positioning point F is the sixth positioning point. Positioning point A is located within the positioning circle O and has the same center as the center of the positioning circle O. Positioning points B, C, D, E, and F are evenly distributed on the circumference of the positioning circle.
[0070] When a certain viewing angle interface of the first application is displayed, when the touch object slides along the screenshot guide path 201 and the sliding object of the touch object meets the interface capture condition, the viewing angle interface is captured to obtain the first image.
[0071] When the touch object slides from point T to the positioning point B and the touch object leaves the screen, the first image is cached, and the screenshot guide path, the positioning circle and the positioning point are closed.
[0072] After the touch object slides from point T to positioning point C, the user selects a part of the field of view angle interface, and drags the "hot zone" (such as a draggable floating ball) corresponding to the selected area to the annular area between positioning point A and positioning circle O (hereinafter referred to as the positioning ring), captures the selected area to obtain the fourth image, and closes the screenshot guide path, positioning circle and positioning point.
[0073] After the touch object slides from point T to positioning point D, the user selects a part of the field of view angle interface, performs object recognition on the selected area, and turns off the display of the screenshot guide path, positioning circle and positioning point, and recognizes that the area includes object x. Then, when the user subsequently uses the first application, the field of view angle interface including object x is captured.
[0074] When the touch object slides from point T to the positioning point E, the display of the screenshot guide path, the positioning circle and the positioning point are turned off, and the field of view angle interface is subsequently captured at a preset frequency.
[0075] When the touch object slides from point T to the positioning point F, the historically captured images are displayed, and the user selects a second image from the displayed images.
[0076] When the touch object slides from point T to the positioning point A and leaves the screen, the display of the screenshot guide path, the positioning circle and the positioning point is turned off, and a third image is generated according to the second image and the first image.
[0077] It should be noted that when the touch object slides from point T to other positioning points except positioning point A, it can slide to other positioning points except positioning point A via positioning point A. For example, the touch object slides from point T to positioning point A, and the touch object does not leave the screen and continues to slide to positioning point B.
[0078] In some possible implementations of the embodiments of the present application, point S, point T and positioning point A may be located on the same horizontal line.
[0079] The following is combined with the above Figure 2 The image generation method provided in the embodiment of the present application is described with specific examples.
[0080] When a certain viewing angle interface of the first application is displayed, after receiving the first input, the screenshot guide path 201 is displayed; when the touch object slides along the screenshot guide path 201 and the sliding object of the touch object meets the interface capture condition, the viewing angle interface is captured to obtain image P1.
[0081] When the touch object slides from point T to the positioning point B and the touch object leaves the screen, the image P1 is cached, and the display of the screenshot guide path, the positioning circle and the positioning point is turned off.
[0082] During the process of the user using the first application, when another field of view angle interface of the first application is displayed, after receiving the first input, the screenshot guide path 201 is displayed; when the touch object slides along the screenshot guide path 201 and the sliding object of the touch object meets the interface capture condition, the field of view angle interface is captured to obtain image P2.
[0083] After the touch object slides from point T to positioning point C, the user selects a part of the field of view interface, drags the "hot zone" corresponding to the selected area to the positioning ring, captures the selected area to obtain image P3, and closes the screenshot guide path, positioning circle and positioning point.
[0084] During the process of the user using the first application, when another field of view angle interface of the first application is displayed, after receiving the first input, the screenshot guide path 201 is displayed; when the touch object slides along the screenshot guide path 201 and the sliding object of the touch object meets the interface capture condition, the field of view angle interface is captured to obtain image P4.
[0085] After the touch object slides from point T to positioning point D, the user selects a part of the field of view angle interface, performs object recognition on the selected area, and closes the display of the screenshot guide path, positioning circle and positioning point, and recognizes that the area includes object x. Assuming that the preset number of times to capture the field of view angle interface including the first object is 2 times, during the user's subsequent use of the first application, the field of view angle interface including object x is captured twice, and image P5 and image P6 are obtained.
[0086] During the process of the user using the first application, when another field of view angle interface of the first application is displayed, after receiving the first input, the screenshot guide path 201 is displayed; when the touch object slides along the screenshot guide path 201 and the sliding object of the touch object meets the interface capture condition, the field of view angle interface is captured to obtain image P7.
[0087] When the touch object slides from point T to the positioning point E, the display of the screenshot guide path, the positioning circle and the positioning point are turned off, and the field of view angle interface is subsequently captured at a preset frequency.
[0088] During the process of the user using the first application, when another viewing angle interface of the first application is displayed, after receiving the first input, the screenshot guide path 201 is displayed, and the viewing angle interface is stopped from being captured at the preset frequency. Assuming that the viewing angle interface is captured at the preset frequency, images P8 and P9 are obtained. When the touch object slides along the screenshot guide path 201 and the sliding object of the touch object meets the interface capture condition, the viewing angle interface is captured to obtain image P10.
[0089] When the touch object slides from point T to the positioning point F, images P1 to P10 are displayed, and the user selects an image from images P1 to P10 . It is assumed that the selected images are image P3 , image P5 , and image P7 .
[0090] When the touch object slides from the positioning point F to the positioning point A and leaves the screen, the screenshot guide path, the positioning circle and the positioning point are closed, and the final image is generated using the image P3, the image P5 and the image P7.
[0091] It can be understood that, in this embodiment, image P1, image P2, image P4, image P7 and image P10 are images obtained by intercepting the field angle interface; image P3 is an image obtained by intercepting a partial area in the field angle interface corresponding to image P2; image P5 and image P6 are images obtained by performing object recognition on a partial area in the field angle interface corresponding to image P4, and tracking the recognized objects; image P8 and image P9 are images obtained by intercepting the field angle interface at a preset frequency.
[0092] The image generation method provided in the embodiment of the present application can be executed by an image generation device. In the embodiment of the present application, the image generation device provided in the embodiment of the present application is described by taking the image generation method executed by the image generation device as an example.
[0093] Figure 3 300 is a schematic diagram of the structure of an image generating device provided in an embodiment of the present application. The image generating device 300 may include:
[0094] An acquisition module 301 is configured to acquire a first image when a first viewing angle interface of a first application is displayed and a first input is received, wherein the first image includes the first viewing angle interface;
[0095] A display module 302 is used to display at least one positioning point, wherein the at least one positioning point includes a first positioning point;
[0096] The generating module 303 is used to generate a third image according to the second image and the first image when the touch object slides to the first positioning point, wherein the second image includes a second viewing angle interface.
[0097] In an embodiment of the present application, when the first field of view interface of the first application is displayed and the first input is received, a first image is acquired, wherein the first image includes the first field of view interface; at least one positioning point is displayed, wherein the at least one positioning point includes the first positioning point; when the touch object slides to the first positioning point, a third image is generated based on the second image and the first image, wherein the second image includes the second field of view interface. In this way, there is no need to switch the first application to the album application. In the process of the user using the first application, the images obtained by intercepting multiple field of view interfaces from the first application can be synthesized into one image, which is simple to operate and can improve the efficiency of image synthesis.
[0098] In some possible implementations of the embodiment of the present application, the at least one positioning point further includes a second positioning point; the image generating device 300 provided in the embodiment of the present application further includes:
[0099] The cache module is used to cache the first image when the touch object slides to the second positioning point.
[0100] In the embodiment of the present application, the image capture can be continued through the second positioning point, and then the images captured multiple times can be synthesized into one image at one time, which can improve the image synthesis efficiency.
[0101] In some possible implementations of the embodiment of the present application, the at least one positioning point further includes a third positioning point; and the acquisition module 301 is further configured to:
[0102] When the touch object slides to the third positioning point and receives the second input, an image in the area framed by the second input in the first viewing angle interface is acquired to obtain a fourth image.
[0103] In the embodiment of the present application, part of the field of view angle interface can be captured through the third positioning point, and then image synthesis is performed based on the captured image, so that the synthesized image does not contain parts that the user does not need, which can meet user needs and improve user experience.
[0104] In some possible implementations of the embodiment of the present application, the at least one positioning point further includes a fourth positioning point; the image generating device 300 provided in the embodiment of the present application further includes:
[0105] an identification module, configured to identify a first object in an area selected by the third input when the touch object slides to the fourth positioning point and receives the third input;
[0106] Correspondingly, the acquisition module 301 is further used to: when displaying the third field of view interface including the first object, acquire a fifth image, where the fifth image includes the third field of view interface.
[0107] In the embodiment of the present application, the object can be automatically tracked and captured through the fourth positioning point, without the need for the user to manually capture the interface of the object every time it appears, which can improve the image capture efficiency and further improve the image synthesis efficiency.
[0108] In some possible implementations of the embodiment of the present application, the at least one positioning point further includes a fifth positioning point; and the acquisition module 301 is further configured to:
[0109] When the touch object slides to the fifth positioning point, the interface in the first application is obtained according to a preset frequency.
[0110] In the embodiment of the present application, the fifth positioning point can automatically perform image capture at a preset frequency, which can improve the image capture efficiency and further improve the image synthesis efficiency.
[0111] In some possible implementations of the embodiment of the present application, the at least one positioning point further includes a sixth positioning point; and the display module 302 is further configured to:
[0112] When the touch object slides to the sixth positioning point, a plurality of historical images are displayed;
[0113] The image generation device 300 provided in the embodiment of the present application further includes:
[0114] A determination module is used to select an image selected from a plurality of historical images as a second image.
[0115] In an embodiment of the present application, through the sixth positioning point, the user can select an image that meets his needs from multiple captured images, and then perform image synthesis based on the image selected by the user, so that the synthesized image can meet the user's needs and improve the user experience.
[0116] The image generating device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0117] The image generation device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0118] The image generation device provided in the embodiment of the present application can achieve Figure 1 to Figure 2 To avoid repetition, the various processes implemented in the image generation method embodiment will not be described here.
[0119] Alternatively, if Figure 4As shown, an embodiment of the present application further provides an electronic device 400, including a processor 401 and a memory 402, wherein the memory 402 stores programs or instructions that can be executed on the processor 401, and when the program or instructions are executed by the processor 401, the various steps of the image generation method embodiment provided in the embodiment of the present application are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.
[0120] Figure 5 It is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
[0121] The electronic device 500 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, and a processor 510.
[0122] Those skilled in the art will appreciate that the electronic device 500 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 510 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 5 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0123] The processor 510 is configured to: when displaying a first viewing angle interface of a first application and receiving a first input, acquire a first image, wherein the first image includes the first viewing angle interface;
[0124] The display unit 506 is used to: display at least one positioning point, wherein the at least one positioning point includes a first positioning point;
[0125] The processor 510 is further configured to: when the touch object slides to the first positioning point, generate a third image according to the second image and the first image, wherein the second image includes a second field of view angle interface.
[0126] In an embodiment of the present application, when the first field of view interface of the first application is displayed and the first input is received, a first image is acquired, wherein the first image includes the first field of view interface; at least one positioning point is displayed, wherein the at least one positioning point includes the first positioning point; when the touch object slides to the first positioning point, a third image is generated based on the second image and the first image, wherein the second image includes the second field of view interface. In this way, there is no need to switch the first application to the album application. In the process of the user using the first application, the images obtained by intercepting multiple field of view interfaces from the first application can be synthesized into one image, which is simple to operate and can improve the efficiency of image synthesis.
[0127] In some possible implementations of the embodiments of the present application, the at least one positioning point further includes a second positioning point;
[0128] The memory 509 is used to cache the first image when the touch object slides to the second positioning point.
[0129] In the embodiment of the present application, the image capture can be continued through the second positioning point, and then the images captured multiple times can be synthesized into one image at one time, which can improve the image synthesis efficiency.
[0130] In some possible implementations of the embodiment of the present application, the at least one positioning point further includes a third positioning point; and the processor 510 is further configured to:
[0131] When the touch object slides to the third positioning point and receives the second input, an image in the area framed by the second input in the first viewing angle interface is acquired to obtain a fourth image.
[0132] In the embodiment of the present application, part of the field of view angle interface can be captured through the third positioning point, and then image synthesis is performed based on the captured image, so that the synthesized image does not contain parts that the user does not need, which can meet user needs and improve user experience.
[0133] In some possible implementations of the embodiment of the present application, the at least one positioning point further includes a fourth positioning point; and the processor 510 is further configured to:
[0134] When the touch object slides to the fourth positioning point and receives the third input, the first object in the area selected by the third input is identified; when the third field of view angle interface including the first object is displayed, a fifth image is acquired, and the fifth image includes the third field of view angle interface.
[0135] In the embodiment of the present application, the object can be automatically tracked and captured through the fourth positioning point, without the need for the user to manually capture the interface of the object every time it appears, which can improve the image capture efficiency and further improve the image synthesis efficiency.
[0136] In some possible implementations of the embodiment of the present application, the at least one positioning point further includes a fifth positioning point; and the processor 510 is further configured to:
[0137] When the touch object slides to the fifth positioning point, the interface in the first application is obtained according to a preset frequency.
[0138] In the embodiment of the present application, the fifth positioning point can automatically perform image capture at a preset frequency, which can improve the image capture efficiency and further improve the image synthesis efficiency.
[0139] In some possible implementations of the embodiment of the present application, the at least one positioning point further includes a sixth positioning point; and the display unit 506 is further configured to:
[0140] When the touch object slides to the sixth positioning point, a plurality of historical images are displayed;
[0141] Accordingly, the processor 510 is further configured to:
[0142] An image selected from a plurality of historical images is used as a second image.
[0143] In an embodiment of the present application, through the sixth positioning point, the user can select an image that meets his needs from multiple captured images, and then perform image synthesis based on the image selected by the user, so that the synthesized image can meet the user's needs and improve the user experience.
[0144] It should be understood that in the embodiment of the present application, the input unit 504 may include a graphics processor (GPU) 5041 and a microphone 5042, and the graphics processor 5041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 507 includes a touch panel 5071 and at least one of other input devices 5072. The touch panel 5071 is also called a touch screen. The touch panel 5071 may include two parts: a touch detection device and a touch controller. Other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0145] The memory 509 can be used to store software programs and various data. The memory 509 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 509 may include a volatile memory or a non-volatile memory, or the memory 509 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 509 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0146] The processor 510 may include one or more processing units; optionally, the processor 510 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 510.
[0147] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the image generation method embodiment provided in the embodiment of the present application are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0148] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer-readable storage medium, and examples of computer-readable storage media include non-transitory computer-readable media, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0149] An embodiment of the present application also provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the image generation method embodiment provided in the embodiment of the present application, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0150] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0151] The embodiment of the present application also provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the image generation method embodiment provided in the embodiment of the present application, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0152] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0153] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0154] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. An image generation method, characterized in that: The method comprises: When a first viewing angle interface of a first application is displayed and a first input is received, acquiring a first image, wherein the first image includes the first viewing angle interface; Displaying at least one positioning point, wherein the at least one positioning point includes a first positioning point; When the touch object slides to the first positioning point, a third image is generated according to the second image and the first image, wherein the second image includes a second viewing angle interface.
2. The method according to claim 1, characterized in that The at least one positioning point further includes a second positioning point; and the method further includes: When the touch object slides to the second positioning point, the first image is cached.
3. The method according to claim 1, characterized in that The at least one positioning point further includes a third positioning point; and the method further includes: When the touch object slides to the third positioning point and receives a second input, an image in the area framed by the second input in the first viewing angle interface is acquired to obtain a fourth image.
4. The method according to claim 1, characterized in that The at least one positioning point further includes a fourth positioning point; and the method further includes: When the touch object slides to the fourth positioning point and receives a third input, identifying a first object in the area framed by the third input; In a case where a third field-of-view angle interface including the first object is displayed, a fifth image is acquired, where the fifth image includes the third field-of-view angle interface.
5. The method according to claim 1, characterized in that The at least one positioning point further includes a fifth positioning point; and the method further includes: When the touch object slides to the fifth positioning point, an interface in the first application is acquired at a preset frequency.
6. The method according to claim 1, characterized in that The at least one positioning point further includes a sixth positioning point; Before generating the third image according to the second image and the first image, the method further includes: When the touch object slides to the sixth positioning point, displaying a plurality of historical images; An image selected from the plurality of historical images is used as the second image.
7. A multi-viewing angle screenshot device, characterized in that: The device comprises: an acquisition module, configured to acquire a first image when a first viewing angle interface of a first application is displayed and a first input is received, wherein the first image includes the first viewing angle interface; A display module, configured to display at least one positioning point, wherein the at least one positioning point includes a first positioning point; A generating module is used to generate a third image according to a second image and the first image when the touch object slides to the first positioning point, wherein the second image includes a second field of view angle interface.
8. The device according to claim 7, characterized in that The at least one positioning point further includes a second positioning point; and the device further includes: A cache module is used to cache the first image when the touch object slides to the second positioning point.
9. The device according to claim 7, characterized in that The at least one positioning point further includes a third positioning point; and the acquisition module is further used for: When the touch object slides to the third positioning point and receives a second input, an image in the area framed by the second input in the first viewing angle interface is acquired to obtain a fourth image.
10. The device according to claim 7, characterized in that The at least one positioning point further includes a fourth positioning point; and the device further includes: an identification module, configured to identify a first object in an area selected by the third input when the touch object slides to the fourth positioning point and receives a third input; The acquisition module is further used to: acquire a fifth image when displaying a third field of view interface including the first object, wherein the fifth image includes the third field of view interface.
11. The device according to claim 7, characterized in that The at least one positioning point further includes a fifth positioning point; and the acquisition module is further used for: When the touch object slides to the fifth positioning point, an interface in the first application is acquired at a preset frequency.
12. The device according to claim 7, characterized in that The at least one positioning point further includes a sixth positioning point; and the display module is further used for: When the touch object slides to the sixth positioning point, displaying a plurality of historical images; The device also includes: A determination module is used to select an image selected from the multiple historical images as the second image.
13. An electronic device, characterized in that: The electronic device includes a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the image generation method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Virtual reality equipment and VR scene screen capture method
CN113064684A
Image acquisition method and device, equipment and storage medium
CN113852756A
Image generation method and device and electronic equipment
CN114827737A
Image display method and apparatus, and electronic device
WO2023284632A1
Photographing method and related apparatus
WO2024041394A1