WO2022121875A1 - Preview image display control method and apparatus, and electronic device and medium - Google Patents
Preview image display control method and apparatus, and electronic device and medium Download PDFInfo
- Publication number
- WO2022121875A1 WO2022121875A1 PCT/CN2021/135982 CN2021135982W WO2022121875A1 WO 2022121875 A1 WO2022121875 A1 WO 2022121875A1 CN 2021135982 W CN2021135982 W CN 2021135982W WO 2022121875 A1 WO2022121875 A1 WO 2022121875A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- preview
- sub
- image
- target
- area
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 91
- 238000005452 bending Methods 0.000 claims abstract description 124
- 230000004044 response Effects 0.000 claims abstract description 35
- 238000005192 partition Methods 0.000 claims description 98
- 230000000694 effects Effects 0.000 claims description 33
- 238000012545 processing Methods 0.000 claims description 11
- 230000008569 process Effects 0.000 description 26
- 238000010586 diagram Methods 0.000 description 12
- 230000001960 triggered effect Effects 0.000 description 10
- 238000004891 communication Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 238000013507 mapping Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 241000699670 Mus sp. Species 0.000 description 1
- 230000004913 activation Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
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/62—Control of parameters via user interfaces
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09F—DISPLAYING; ADVERTISING; SIGNS; LABELS OR NAME-PLATES; SEALS
- G09F9/00—Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements
- G09F9/30—Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements in which the desired character or characters are formed by combining individual elements
- G09F9/301—Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements in which the desired character or characters are formed by combining individual elements flexible foldable or roll-able electronic displays, e.g. thin LCD, OLED
-
- 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
Definitions
- the present application belongs to the field of photography technology, and in particular relates to a preview image display control method, device, electronic device and medium.
- users can take a wide variety of images through electronic devices.
- the user can control the electronic device to capture a preview image of the image the user wants to capture by adjusting the shooting angle of the electronic device, thereby triggering the electronic device to capture the image that the user wants to capture. .
- the electronic device may not be able to capture a preview image that is consistent with the image the user wants to capture, resulting in the electronic device obtaining the preview image.
- the real scene has a high degree of constraint, and the obtained preview image is relatively simple.
- the purpose of the embodiments of the present application is to provide a preview image display control method, device, electronic device and medium, which can solve the problem that the obtained preview image is relatively constrained by the real scene and the obtained preview image is relatively simple.
- an embodiment of the present application provides a preview image display control method.
- the method includes: when a target image preview area of a shooting preview interface is in a preview display mode, receiving a first input, where the first input is a trigger electronic Input for bending the flexible screen of the device; in response to the first input, move the target preview image according to the bending parameters of the flexible screen, so that the first sub-preview image in the target preview image moves out of the first original preview sub-area and into the first original preview sub-area The first target preview sub-area, and the second sub-preview image in the target preview image is moved out of the second original preview sub-area, and moved into the second target preview sub-area; wherein, the target preview image is a frame of preview image collected in real time by the camera , the target image preview area includes a first original preview sub-area and a second original preview sub-area, the first sub-preview image is the preview image in the first original preview sub-area before receiving the first input, and the second sub-preview image is the
- an embodiment of the present application provides a preview image display control device, where the preview image display control device includes a receiving module and a moving module.
- the receiving module is used to receive a first input when the target image preview area of the shooting preview interface is in the preview display mode, where the first input is an input that triggers the bending of the flexible screen of the electronic device;
- the moving module is used to respond to the receiving
- the first input received by the module moves the target preview image according to the bending parameters of the flexible screen, so that the first sub-preview image in the target preview image is moved out of the first original preview sub-area and into the first target preview sub-area, and The second sub-preview image in the target preview image is moved out of the second original preview sub-area, and moved into the second target preview sub-area;
- the target preview image is a frame of preview image collected in real time by the camera, and the target image preview area includes the first The original preview sub-region and the second original preview sub-region, the first sub-preview image is the preview image in the first original
- an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor.
- the program or instruction is executed by the processor, The steps of implementing the preview image display control method as in the above-mentioned first aspect.
- an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the preview image display control as in the above-mentioned first aspect is realized steps of the method.
- an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a program or an instruction to implement the preview image display control in the first aspect above steps of the method.
- a first input is received, and the first input is an input that triggers the bending of the flexible screen of the electronic device; in response to the first input, Move the target preview image according to the bending parameters of the flexible screen, so that the first sub-preview image in the target preview image is moved out of the first original preview sub-area and into the first target preview sub-area, and the first sub-preview image in the target preview image is moved
- the two sub-preview images are moved out of the second original preview sub-area and moved into the second target preview sub-area; wherein, the target preview image is a frame of preview images collected by the camera in real time, and the target image preview area includes the first original preview sub-area and the second target preview sub-area.
- the first sub-preview image is the preview image in the first original preview sub-region before receiving the first input
- the second sub-preview image is the preview image in the second original preview sub-region before receiving the first input
- the target The image preview area includes a first target preview sub-area and a second target preview sub-area.
- the user can bend the flexible screen of the electronic device according to the actual use requirements to update the sub-preview image in the preview image.
- the target preview image displayed in the target image preview area can be easily adjusted, so that after the target preview image is moved, different preview images can be obtained, which can reduce the degree of constraint that the real scene imposes on the electronic device to obtain the preview image. , to improve the diversity of preview images obtained by electronic devices.
- FIG. 1 is a schematic flowchart of a preview image display control method provided by an embodiment of the present application
- FIG. 2 is one of the interface schematic diagrams of the application of the preview image display control method provided by the embodiment of the present application
- FIG. 3 is the second schematic diagram of the interface of the application of the preview image display control method provided by the embodiment of the present application.
- FIG. 4 is the third schematic diagram of the interface of the application of the preview image display control method provided by the embodiment of the present application.
- FIG. 5 is the fourth schematic diagram of the interface of the application of the preview image display control method provided by the embodiment of the present application.
- FIG. 6 is the fifth schematic diagram of the interface of the application of the preview image display control method provided by the embodiment of the present application.
- FIG. 7 is the sixth schematic diagram of the interface of the application of the preview image display control method provided by the embodiment of the present application.
- FIG. 8 is the seventh schematic diagram of the interface of the application of the preview image display control method provided by the embodiment of the present application.
- FIG. 9 is a schematic structural diagram of a preview image display control device provided by an embodiment of the present application.
- FIG. 10 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
- FIG. 11 is a schematic hardware diagram of an electronic device according to an embodiment of the present application.
- first, second and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between “first”, “second”, etc.
- the objects are usually of one type, and the number of objects is not limited.
- the first object may be one or more than one.
- “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the associated objects are in an "or” relationship.
- words such as “exemplary” or “for example” are used to represent examples, illustrations or illustrations. Any embodiments or designs described in the embodiments of the present application as “exemplary” or “such as” should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as “exemplary” or “such as” is intended to present the related concepts in a specific manner.
- an embodiment of the present application provides a preview image display control method, and the method includes the following steps 201 and 202 .
- the execution subject may be a preview image display control device, or a control module in the preview image display control device for executing the preview image display control method, or may also be for electronic equipment.
- the embodiment of the present application will take an electronic device as an example to exemplarily describe the preview image display control method provided by the embodiment of the present application.
- Step 201 when the target image preview area of the shooting preview interface is in the preview display mode, the electronic device receives a first input from the user.
- the above-mentioned first input may be an input that triggers the bending of the flexible screen of the electronic device.
- the user's input may be the user's input to the electronic device through a finger or a stylus.
- Step 202 In response to the first input, the electronic device moves the target preview image according to the bending parameters of the flexible screen, so that the first sub-preview image in the target preview image moves out of the first original preview sub-area and into the first target preview. sub-area, and the second sub-preview image in the target preview image is moved out of the second original preview sub-area and moved into the second target preview sub-area.
- the above-mentioned target preview image may be a frame of preview image collected in real time by a camera of an electronic device, and the above-mentioned target image preview area may include a first original preview sub-area (for example, the preview sub-area 31 in FIG. 2 ) and a second original preview sub-area area (eg, the preview sub-area 32 in FIG. 2 ), the first sub-preview image (eg, the sub-preview image 37 in FIG. 2 ) may be the preview image in the first original preview sub-area before receiving the first input, and the second sub-preview image
- the preview image eg sub-preview image 38 in FIG.
- the target image preview area may include the first target preview sub-area (eg, the preview in FIG. 2 ) sub-area 34) and a second target preview sub-area (eg, the preview sub-area 35 in FIG. 2).
- the electronic device in the process of collecting the preview image by the electronic device, when the target image preview area of the shooting preview interface is in the preview display mode, if the user wants to trigger the electronic device to update the sub-preview image in the target preview image
- the user can trigger the electronic device to move the target preview image by bending the flexible screen of the electronic device (that is, the above-mentioned first input), so that the first sub-preview image in the target preview image is moved out of the first original preview sub-area , and move into the first target preview sub-area, and move the second sub-preview image in the target preview image out of the second original preview sub-area and into the second target preview sub-area.
- the target image preview area when the target image preview area is in the preview display mode, the preview image displayed in the target image preview area (that is, the above-mentioned target preview image) varies with the image collected by the camera of the electronic device. changes in real time. That is to say, the target preview image is a frame of image collected in real time by the camera of the electronic device.
- the above-mentioned electronic device moving target preview image can be understood as: the electronic device moves the pixels in the target preview image, so that the pixels in the first sub-preview image in the target preview image move out of the first original preview sub-image. area, and move into the first target preview sub-area, and make the pixels in the second sub-preview image in the target preview image move out of the second original preview sub-area and move into the second target preview sub-area.
- the bending parameter of the flexible screen may include at least one of a bending angle of the flexible screen and a bending direction of the flexible screen. Specifically, it can be determined according to actual use requirements, which is not limited in the embodiment of the present application.
- the bending angle of the flexible screen may be the difference between 180 degrees and the inner angle of the flexible screen, for example, the difference between 180 degrees and the inner angle of the two sub-screens after bending .
- the flexible screen as a folding screen when the angle between the first screen and the second screen of the folding screen is 180 degrees, it can be determined that the bending angle of the folding screen is 0 degrees; When the included angle between the first screen and the second screen is 135 degrees, it can be determined that the bending angle of the folding screen is 45 degrees.
- the above-mentioned bending parameters of the flexible screen may have a mapping relationship with the moving distances of the pixels in the target preview image, so that after the electronic device determines the bending parameters of the flexible screen, the flexible screen can be used in the target preview image. of pixels to move.
- the greater the bending angle of the flexible screen the greater the moving distance of the pixels in the target preview image, and the more pixels in the first sub-preview image, so that the first The larger the original preview sub-area.
- the smaller the bending angle of the flexible screen the smaller the moving distance of the pixels in the target preview image, and the fewer the pixels in the first sub-preview image, thus making the first original preview sub-area smaller.
- the bending direction of the above-mentioned flexible screen may include opposite bending and backward bending.
- the opposite bending means that the screen of the flexible screen is bent inward;
- the back bending means that the screen of the flexible screen is bent outward.
- the moving distance of the pixels in the target preview image may be the target image preview area
- the side length of the side where the moving direction of the pixel points is located is half
- the first sub-preview image may be a half preview image of the target preview image (eg, the upper half preview image of the target preview image).
- the electronic device can complete a round of movement on the target preview image, so that the first original preview sub-region and the first target preview sub-region are the same region, and the first original preview sub-region and the first target preview sub-region are the same region.
- the two original preview sub-areas and the second target preview sub-area are the same area.
- the display effect of the target preview image after the movement is the same as the display effect of the target preview image before the movement.
- the display effect of the image involved in the embodiments of the present application refers to the display position of the element in the image.
- the bending angle of the folding screen is 45 degrees, and the bending direction is opposite bending.
- the electronic device moves the pixels in the target preview image in the direction 33 from bottom to top point, so that the first sub-preview image 37 in the target preview image (that is, the pixel points of the first sub-preview image) is moved out of the preview sub-area 31 and into the preview sub-area 34 shown in (b) in FIG.
- the electronic device can update the display area of the sub-preview image in the target preview image, that is, the electronic device can update the display positions of the pixels in the target preview image, so that different preview images can be obtained.
- dashed lines eg, dashed lines in FIG. 2
- the interface schematic diagram involved in the examples in the embodiments of this application are used to mark different preview sub-regions.
- the dotted line is not included in the captured image.
- the electronic device can preview the target image in the target image preview area of the shooting preview interface. Stay in preview display mode.
- maintaining the preview display mode can be understood as: the electronic device continuously displays a frame of preview image collected in real time by the camera of the electronic device in the target image preview area.
- An embodiment of the present application provides a preview image display control method, which can be applied to a scene in which a preview image is adjusted in the process of collecting a preview image. Since the preview area of the target image is in the preview display mode, the user can bend the The flexible screen triggers the electronic device to move the target preview image, thereby updating the display area of the sub-preview image in the target preview image. Therefore, during the process of collecting the preview image by the electronic device, the user can bend the flexible screen of the electronic device according to the actual use requirements.
- step 202 may be specifically implemented by the following step 202a.
- Step 202a in response to the first input, the electronic device moves the target preview image along the first direction according to the bending parameters of the flexible screen.
- the preview image area of the image to be removed is determined according to at least one of a bending angle and a bending direction of the flexible screen.
- the electronic device can move the target preview image along the first direction according to the bending angle of the flexible screen in response to the first input.
- the above-mentioned first direction may be a top-to-bottom direction; a bottom-to-top direction; a left-to-right direction; or a right-to-left direction direction.
- it can be determined according to actual use requirements, which is not limited in the embodiment of the present application.
- the electronic device can display the preview image shown in (a) in FIG. , move to the preview image as shown in (b) in Figure 2.
- the electronic device can display the preview image A1 as shown in (a) in FIG. 3 , In the left-to-right direction, the movement is a preview image A2 as shown in (b) of FIG. 3 .
- the preview image display control method provided by the embodiment of the present application can be applied to the scene of the preview image collected by moving. Since the target preview image can be moved along the first direction according to the bending parameters of the flexible screen, it can make the electronic device The preview image captured by the camera in real time can be changed along the first direction, so that the flexibility of obtaining the preview image can be improved, and the interest of obtaining the preview image can be increased.
- the above-mentioned shooting preview interface may further include a preview image update start control (for example, the control 36 in FIG. 2 ).
- a preview image update start control for example, the control 36 in FIG. 2 .
- the electronic device displays the shooting preview interface, if the preview image is received
- the electronic device can move the above-mentioned target preview image according to the bending parameters of the flexible screen.
- the electronic device displays the shooting preview interface, if the input of updating the startup control for the preview image is not received, in the case that the electronic device receives the above-mentioned first input, the electronic device can keep displaying the above-mentioned first preview image. , that is, the electronic device may not execute the above step 202 .
- a specific input for example, the second input in the embodiment of the present application
- triggering the electronic device to move the target preview image in a direction different from the first direction eg, the second direction in this embodiment of the present application
- the preview image display control method provided by the embodiment of the present application may further include the following steps 203 and 204.
- Step 203 The electronic device receives the second input from the user.
- the above-mentioned second input may be an input to the moving direction switching control or a preset gesture input.
- Step 204 In response to the second input, the electronic device moves the target preview image along the second direction according to the bending parameters of the flexible screen, so that the third sub-preview image in the target preview image is moved out of the third original preview sub-area, and Move into the third target preview sub-area, and move the fourth sub-preview image in the target preview image out of the fourth original preview sub-area and move into the fourth target preview sub-area.
- the above-mentioned second direction may be determined according to the control state of the moving direction switching control or the input parameter of the preset gesture input;
- the above-mentioned target image preview area may include a third original preview sub-area and a fourth original preview sub-area, the third sub-preview The image may be a preview image in the third original preview sub-area, and the fourth sub-preview image may be a preview image in the fourth original preview sub-area;
- the target image preview area may include the third target preview sub-area and the fourth target preview. sub area.
- the preview image of the target moved by the electronic device in the second direction may be the preview image of the target after the electronic device is moved in the first direction. Therefore, the electronic device moves the pixels in the third sub-preview image in the target preview image after the electronic device has moved along the first direction out of the third original preview sub-area, and into the third target preview sub-area, and makes the pixels in the target preview image The pixel points in the fourth sub-preview image of , move out of the fourth original preview sub-area, and move into the fourth target preview sub-area.
- the electronic device after the electronic device moves the target preview image along the first direction according to the bending parameters of the flexible screen, the electronic device can be triggered to change the bending parameters according to the flexible screen along the first direction through the second input.
- the pixels in the target preview image are moved, so that the third sub-preview image in the target preview image (that is, the pixels of the third sub-preview image, such as the pixels of the sub-preview image 42 in FIG. 4 ) Move out of the third original preview sub-area (eg, preview sub-area 43 in FIG. 4 ), and move into a third target preview sub-area (eg, preview sub-area 44 in FIG.
- the image ie, the pixels of the third sub-preview image, such as the pixels of the sub-preview image 45 in FIG. 4
- the image is moved out of the fourth original preview sub-area (eg, the preview sub-area 46 in FIG. 4 ), and moved into the fourth target preview sub-area (eg preview sub-area 47 in Figure 4).
- the above-mentioned second input may be any possible input such as a single-click input, a double-click input, a long-press input, or a re-press input to the moving direction switching control (eg, the control 48 in FIG. 4 ).
- the second input can be used to trigger the electronic device to switch the state of the movement direction switch control.
- the different control states of the moving direction switching control may be the same as indicating different moving directions, that is, the control states of the moving direction switching control are different, and the direction of the preview image of the moving target of the electronic device is also different.
- the preset gesture input may be a gesture input of sliding from top to bottom, a gesture input of sliding from bottom to top, and a gesture input of sliding from right to left Input, gesture input by sliding from left to right, etc. Any possible gesture input.
- the above-mentioned second direction may be determined according to the sliding direction of the preset gesture input.
- the second direction and the first direction may be two directions that are perpendicular to each other.
- the above-mentioned first direction may be a top-to-bottom direction
- the second direction may be a left-to-right direction.
- angle relationship between the above-mentioned first direction and the second direction may also be any other possible relationship, which may be specifically determined according to actual usage requirements, which is not limited in the embodiments of the present application.
- the above-mentioned second direction is a direction from left to right
- the above-mentioned second input is the user's click input on the moving direction switching control
- the target preview image after moving in the first direction is as shown in FIG. 4 .
- the preview image shown in (a) then when the user clicks the moving direction switching control, the electronic device can move the pixels in the target preview image in the direction 41 from left to right, so that the third sub-pixel in the target preview image can be moved.
- the preview image 42 (that is, the pixels of the third sub-preview image) is moved out of the preview sub-area 43 (that is, the third original preview sub-area), and moved into the preview sub-area 44 (that is, the third target) shown in (b) in FIG.
- preview sub-area), and the fourth sub-preview image 45 in the target preview image moves out of the preview sub-area 46 (that is, the fourth original preview sub-area), and moves into ( b) The preview sub-area 47 shown (ie, the fourth target preview sub-area).
- the electronic device can move the display positions of the pixels in the target preview image from different directions, so that the obtained preview images can be more diverse.
- the preview image display control method provided by the embodiment of the present application can be applied to a scenario where the preview image is moved from multiple directions, because after moving the target preview image in the first direction, the electronic device can also be triggered to move the target preview from the second direction Therefore, the display positions of the sub-preview images in the target preview image can be updated from multiple directions, so that the electronic device can obtain more preview images according to a real scene, thereby further enriching the preview images obtained by the electronic device.
- the electronic device before the electronic device receives the above-mentioned first input, the electronic device may be triggered to display on different sub-display screens (for example, in the embodiment of the present application), by inputting the preview image adjustment control in the electronic device.
- the first sub-display screen and the second sub-display screen respectively display the above-mentioned target preview images.
- the electronic device may move the target preview image displayed in one sub-display screen (eg, the second sub-display screen in the embodiment of the present application).
- the user to compare the preview image of the target without moving (for example, the preview image of the target displayed in the first sub-display in the embodiment of the present application) and the preview image of the target after moving (for example, the preview image of the second sub-display in the embodiment of the present application). target preview image shown in the display).
- the preview image display control method in the embodiment of the present application may further include the following steps 205 and 206.
- the above step 202 can be specifically implemented by the following step 202b.
- Step 205 The electronic device receives a third input from the user on the preview image adjustment control.
- Step 206 in response to the third input, the electronic device displays the target preview image on the first sub-display screen and the second sub-display screen, respectively.
- the electronic device before the electronic device receives the above-mentioned first input, the electronic device may be triggered to display the above-mentioned target on the above-mentioned first sub-display screen and the second sub-display screen through the third input of the above-mentioned preview image adjustment control. Preview image.
- the above-mentioned third input may be any possible input, such as a single-click input, a double-click input, a long-press input, or a re-press input of the user on the preview image adjustment control, which may be determined according to actual usage requirements.
- the embodiments of the present application are not limited.
- the above-mentioned first sub-display and second sub-display may be two screens in a flexible screen (for example, two sub-screens of a folding screen), or may be different screens on the same screen.
- Partitions for example, two sub-screens obtained by bending
- the target image in the shooting preview interface is The preview area is in the preview display mode, and when the electronic device displays the target preview image 51 as shown in (a) in FIG. ), the target preview images 51 are displayed on the first screen 53 and the second screen 54, respectively.
- Step 202b in response to the first input, the electronic device moves the target preview image displayed in the second sub-display according to the bending parameters of the flexible screen, and maintains the preview display mode in the first sub-display.
- the electronic device after the electronic device displays the first preview image on the first sub-display screen and the second sub-display screen respectively, if the electronic device receives the above-mentioned first input, the electronic device can respond to the first input According to the bending parameters of the flexible screen, the target preview image displayed in the second sub-display is moved, and the above-mentioned preview display mode is maintained in the first sub-display.
- the first sub-display displays a frame captured by the camera of the electronic device in real time. Preview image.
- the user it is convenient for the user to refer to the preview image displayed in the first sub-display screen and trigger the electronic device to adjust the display position of the preview image in the second sub-display screen, thereby making the adjustment of the preview image more intuitive and convenient.
- the electronic device may move the target preview image 51 displayed in the second screen 54 (ie, the second sub-display) as shown in (b) in FIG.
- the resulting target preview image is the preview image 55 displayed on the second screen 54 as shown in FIG. 6 .
- the electronic device keeps displaying the target preview image 51 before moving on the first screen 53 (ie, the first sub-display) (ie, the electronic device keeps the preview display mode in the first sub-display).
- the user can refer to the target preview image displayed on the first screen 53 and bend the flexible screen, thereby triggering the electronic device to move the target preview image displayed on the second screen 54 .
- the preview image display control method provided by the embodiment of the present application can be applied to the scene of adjusting the preview image with reference to the original preview image.
- the preview image displayed in the sub-display so in the process of triggering the electronic device to update the display area of the sub-preview image in the target preview image, the target preview image displayed in the first sub-display can be compared, and the electronic device can be triggered to update the second preview image.
- the display area of the sub-preview image in the target preview image displayed in the sub-display is adjusted, so that it is convenient for the user to compare the difference between the non-moved target preview image and the moved target preview image, so as to adjust the preview image. More intuitive and convenient.
- the preview image display control method provided in this embodiment of the present application may further include the following steps 207 and 208.
- Step 207 The electronic device receives a fourth input from the user on the shooting control.
- Step 208 In response to the fourth input, the electronic device moves the first target image collected by the camera according to the bending parameters of the flexible screen to obtain the first captured image.
- the display effect of the first captured image is the same as the display effect of the preview image displayed in the second sub-display.
- the electronic device after the electronic device moves the target preview image displayed in the second sub-display according to the bending parameters of the flexible screen, and keeps the preview display mode in the first sub-display, if the electronic device receives the above The fourth input, the electronic device can move the first target image captured by the camera according to the bending parameters of the flexible screen of the electronic device, so that the electronic device can obtain the same shooting effect as the preview image displayed in the second sub-display image, that is, the above-mentioned first shot image can be obtained.
- the above-mentioned first target image may be the last frame of image (that is, the frame is captured forward) collected by the camera of the electronic device before the electronic device receives the above-mentioned fourth input, or it may be the image of the last frame collected by the camera of the electronic device before the electronic device receives the above-mentioned fourth input.
- a frame of image is collected by the camera of the electronic device (ie, a frame is captured backwards).
- it can be determined according to actual use requirements, which is not limited in the embodiment of the present application.
- the electronic device can The bending parameter determines the moving distance of the pixel point in the first target image, so that the pixel point in the first target image can be moved.
- an image with the same display effect as the preview image displayed in the second sub-display (the preview image is obtained by moving the target preview image according to the bending angle of the flexible screen) can be obtained, that is, the above-mentioned first image can be obtained. Take an image.
- the above-mentioned fourth input may be any possible input, such as a single-click input, a double-click input, a long-press input, or a re-press input of the user on the above-mentioned shooting control, which may be specifically determined according to actual use requirements.
- the embodiments of the present application are not limited.
- the steps performed by the electronic device may include, but are not limited to, at least one of the following: saving the first captured image, displaying the first captured image, and sending a message to the target.
- the device sends the first captured image.
- the preview image display control method provided by the embodiment of the present application can be applied to the scene of obtaining a captured image. Since the electronic device can move the first target image captured by the camera according to the bending parameters of the flexible screen to obtain the first captured image, therefore It can make the display effect of the captured image obtained by the electronic device not limited to the image actually collected by the camera of the electronic device, so that the electronic device can obtain a variety of captured images according to the same real scene, thereby improving the diversity of the images captured by the electronic device. sex.
- the electronic device may Each preview partition in the preview partitions respectively displays a partial preview image in the target preview image (for example, a sub-preview image of the target preview image in the embodiment of the present application), wherein each preview partition can correspond to an image adjustment controls. Then, the electronic device may be triggered to select the preview partition by inputting an image adjustment control corresponding to a preview partition (for example, the target preview partition in the embodiment of the present application). In this way, after the electronic device receives the above-mentioned first input, the electronic device can move the sub-preview image displayed in the preview section according to the bending parameters of the flexible screen.
- M is an integer greater than 1
- the preview image display control method provided by the embodiment of the present application may further include the following steps 209 to 211.
- the above step 202 can be specifically implemented by the following step 202c.
- Step 209 the electronic device displays a sub-preview image of the target preview image in each of the M preview partitions.
- each preview partition may correspond to an image adjustment control.
- the electronic device may, in each of the M preview partitions, separate Displays a sub-preview image of the target preview image.
- sub-preview images displayed in the above-mentioned M preview partitions may constitute the above-mentioned target preview image.
- one preview partition in the above-mentioned M preview partitions may be a sub-display of the flexible screen, or may be a display area in the display of the flexible screen, which may be specifically based on actual usage requirements. It is confirmed that the embodiments of the present application are not limited.
- Step 210 The electronic device receives a fifth input from the user on the target image adjustment control.
- the target image adjustment control may be an image adjustment control corresponding to the target preview partition in the M preview partitions.
- Step 211 The electronic device selects the target preview partition in response to the fifth input.
- Step 202c in response to the first input, the electronic device moves the sub-preview image displayed in the target preview section according to the bending parameters of the flexible screen.
- the electronic device displays a sub-preview image of the target preview image in each of the above-mentioned M preview partitions
- the electronic device can be triggered to select the target preview partition through the fifth input to the target image adjustment control corresponding to the target preview partition.
- the user can trigger the electronic device to move the sub-preview image displayed in the target preview partition according to the bending parameters of the flexible screen through the above-mentioned first input.
- the fifth input may be any possible input, such as a single-click input, a double-click input, a long-press input, or a re-press input by the user on the target image adjustment control, and the specific input may be based on actual usage requirements. It is confirmed that the embodiments of the present application are not limited.
- an image adjustment control may be displayed in each of the above-mentioned at least two preview partitions, and the image adjustment control displayed in one preview partition is the image corresponding to the preview partition. Adjust the controls.
- Example 1 assuming that the above-mentioned target preview partition is the preview partition S1 shown in (a) in FIG. 7 , and the above-mentioned target image adjustment control is the control 61 shown in (a) in FIG. 7 , when the user clicks the control 61, the electronic The device can select the preview partition S1. In this way, when the user adjusts the angle between the first screen and the second screen of the flexible screen from 180 degrees to 135 degrees, the electronic device can determine that the bending angle of the flexible screen is 45 degrees, so that the electronic device can move the preview partition The sub-preview image 62 displayed in S1, thereby obtaining the moved sub-preview image 63 as shown in (b) in FIG. 7 .
- Example 2 assuming that the above-mentioned target preview partition is the preview partition S2 shown in (a) in FIG. 8, and the above-mentioned target image adjustment control is the control 64 shown in (a) in FIG. 8, when the user clicks the control 64, the electronic The device can select the preview partition S2. In this way, when the user adjusts the angle between the first screen and the second screen of the flexible screen from 135 degrees to 90 degrees, the electronic device can determine that the bending angle of the flexible screen is 45 degrees, so that the electronic device can move the preview partition The sub-preview image 65 displayed in S2, thereby obtaining the moved sub-preview image 66 as shown in (b) in FIG. 8 .
- the preview image display control method provided by the embodiment of the present application can be applied to a scenario of moving a sub-preview image in a preview image. Since the target preview image can be displayed in different preview partitions in the form of a sub-preview During the image process, the display position of the preview image in the partial preview partition can be adjusted, that is, the preview partition can be used as the granularity to adjust the display position of the partial preview image in the target preview image, which can make the adjustment of the granularity of the target preview image more accurate. Smaller (thinner), so you can further get more preview images.
- the preview image display control method provided in the embodiment of the present application may further include the following steps 212 and 213.
- Step 214 The electronic device receives a sixth input from the user on the shooting control.
- Step 215 In response to the sixth input, the electronic device moves the image corresponding to the target preview partition in the second target image collected by the camera according to the bending parameters of the flexible screen to obtain the second captured image.
- the display effect of the second captured image may be the same as the display effect of the preview images displayed in the M preview partitions.
- the user can trigger the electronic device to move the camera to move the image captured by the camera according to the bending parameters of the flexible screen of the electronic device through the sixth input of the shooting control.
- the image corresponding to the target preview partition in the second target image can obtain a captured image with the same display effect as the preview images displayed in the M preview partitions, that is, the above-mentioned second captured image can be obtained.
- the above-mentioned second target image may be the last frame of image collected by the camera of the electronic device before the electronic device receives the above-mentioned sixth input (that is, the frame is captured forward), or it may be the image of the last frame collected by the camera of the electronic device before the electronic device receives the above-mentioned sixth input.
- a frame of image is collected by the camera of the electronic device (ie, a frame is captured backwards).
- it can be determined according to actual use requirements, which is not limited in the embodiment of the present application.
- the electronic device can determine the moving distance of the pixels of the image corresponding to the target preview partition in the second target image according to the bending parameters of the flexible screen, so that the pixels of the image corresponding to the target preview partition in the second target image can be determined. In this way, an image with the same display effect as the preview images displayed in the M preview partitions can be obtained, that is, the above-mentioned second captured image can be obtained.
- the preview images displayed in the above-mentioned M preview partitions refer to: an image obtained by splicing the preview images displayed in each of the M preview partitions.
- the above-mentioned sixth input may be any possible input, such as a single-click input, a double-click input, a long-press input, or a re-press input of the user on the above-mentioned shooting control, which may be specifically determined according to actual use requirements.
- the embodiments of the present application are not limited.
- the steps performed by the electronic device may include, but are not limited to: saving the second captured image, displaying the second captured image, and sending the second captured image to the target device. Take an image.
- the preview image display control method provided by the embodiment of the present application can be applied to a scene where a captured image is obtained, because the electronic device can move the image corresponding to the target preview partition in the second target image collected by the camera according to the bending parameters of the flexible screen , to obtain the second captured image, so that the display effect of the captured image obtained by the electronic device is not limited to the image actually collected by the camera of the electronic device, so that the electronic device can obtain a variety of captured images according to the same real scene, thereby improving the The variety of images captured by electronic devices.
- the preview image display control device provided by the embodiment of the present application will be described below by taking the preview image display control device for executing the preview image display control method in the embodiment of the present application as an example.
- an embodiment of the present application provides a preview image display control device 700 .
- the preview image display control device 700 includes a receiving module 701 and a moving module 702 .
- the receiving module 701 is configured to receive a first input when the target image preview area of the shooting preview interface is in the preview display mode, and the first input is an input that triggers the bending of the flexible screen of the preview image display control device;
- the moving module 702 It is used to move the target preview image according to the bending parameters of the flexible screen in response to the first input received by the receiving module 701, so that the first sub-preview image in the target preview image moves out of the first original preview sub-area and into the first sub-preview sub-region.
- the target preview sub-area, and the second sub-preview image in the target preview image is moved out of the second original preview sub-area and moved into the second target preview sub-area; wherein, the target preview image is a frame of preview image collected in real time by the camera, and the target preview image is The image preview area includes a first original preview sub-area and a second original preview sub-area.
- the first sub-preview image is the preview image in the first original preview sub-area before receiving the first input
- the second sub-preview image is the preview image that receives the first input.
- the previous preview image in the second original preview sub-area; the target image preview area includes the first target preview sub-area and the second target preview sub-area.
- An embodiment of the present application provides a preview image display control device, which can be applied to a scene in which a preview image is adjusted in the process of collecting a preview image. Since the preview area of the target image is in the preview display mode, the user can display the preview image by bending it.
- the flexible screen of the control device triggers the preview image display control device to move the target preview image, thereby updating the display area of the sub-preview image in the target preview image.
- the user can It is required to bend the flexible screen of the preview image display control device to update the display area of the sub-preview image in the preview image, so that the target preview image displayed in the target image preview area can be easily adjusted, so that after the target preview image moves , different preview images can be obtained, thereby reducing the restriction degree of the real scene on the preview image display control device for obtaining the preview image, so as to improve the diversity of the preview images obtained by the preview image display control device.
- the moving module is specifically configured to move the target preview image along the first direction according to the bending parameters of the flexible screen; wherein, the sub-preview image to be moved is based on the bending angle and bending direction of the flexible screen. At least one is ok.
- the embodiment of the present application provides a preview image display control device, which can be applied to the scene of the preview image collected by moving. Since the target preview image can be moved along the first direction according to the bending parameters of the flexible screen, the preview image can be moved in the first direction.
- the preview image captured in real time by the camera of the display control device changes along the first direction, so that the flexibility of acquiring the preview image can be improved, and the interest of acquiring the preview image can be increased.
- the receiving module is further configured to receive a second input from the user after the moving module moves the target preview image along the first direction according to the bending parameters of the flexible screen, where the second input is an input to the moving direction switching control.
- the moving module is further configured to, in response to the second input received by the receiving module, move the target preview image along the second direction according to the bending parameters of the flexible screen, so that the third target preview image in the target preview image is moved.
- the sub-preview image is moved out of the third original preview sub-area and moved into the third target preview sub-area
- the fourth sub-preview image in the target preview image is moved out of the fourth original preview sub-area and moved into the fourth target preview sub-area
- the second direction is determined according to the control state of the moving direction switching control or the input parameters of the preset gesture input
- the target image preview area includes a third original preview sub-area and a fourth original preview sub-area
- the third sub-preview image is the third original preview image.
- the preview image in the preview sub-area, the fourth sub-preview image is the preview image in the fourth original preview sub-area
- the target image preview area includes the third target preview sub-area and the fourth target preview sub-area.
- An embodiment of the present application provides a preview image display control device, which can be applied to a scenario in which a preview image is moved from multiple directions. After the target preview image is moved in a first direction, the preview image display control device can also be triggered to move from a second The target preview image is moved in the direction, so the display positions of the sub-preview images in the target preview image can be updated from multiple directions, so that the preview image display control device can obtain more preview images according to a real scene, so that further The rich preview image display control device acquires the preview image.
- the preview image display control device further includes a display module; the receiving module is further configured to receive a third input from the user on the preview image adjustment control before receiving the first input; the display module is configured to respond to the received by the receiving module.
- the third input is to display the target preview image in the first sub-display and the second sub-display respectively; the moving module is specifically used to move the target preview image displayed in the second sub-display according to the bending parameters of the flexible screen , and keep the preview display mode in the first sub-display.
- the embodiment of the present application provides a preview image display control device, which can be applied to a scene where the preview image is adjusted by referring to the original preview image.
- the display control device can respectively control the preview images displayed in different sub-displays, so in the process of triggering the preview image display control device to update the display area of the sub-preview images in the target preview image, the preview images displayed in the first sub-display can be compared with those displayed in the first sub-display.
- the target preview image triggering the preview image display control device to adjust the display area of the sub-preview image in the target preview image displayed in the second sub-display, so that it is convenient for the user to compare the unmoved target preview image and the moved target preview image
- the difference between the images makes the adjustment of the preview image more intuitive and convenient.
- the preview image display control device further includes a processing module; a receiving module is further configured to move the target preview image displayed in the second sub-display in the moving module according to the bending parameters of the flexible screen, and display it in the first sub-display.
- the processing module is used for, in response to the fourth input received by the receiving module, according to the bending parameters, moving the first target image collected by the camera to obtain the first target image. Taking an image, the display effect of the first captured image is the same as the display effect of the preview image displayed in the second sub-display.
- An embodiment of the present application provides a preview image display control device, which can be applied to a scene in which a captured image is obtained. Since the preview image display control device can move the first target image collected by the camera according to the bending parameters of the flexible screen, obtain the first target image. Therefore, the display effect of the captured image obtained by the preview image display control device is not limited to the image actually collected by the camera of the electronic device, so that the preview image display control device can obtain a variety of captured images according to the same real scene, and then The variety of images captured by the preview image display control device is improved.
- the target image preview area includes M preview partitions, where M is an integer greater than 1;
- the preview image display control device further includes a display module and a selection module;
- Each preview area in the preview partitions respectively displays a sub-preview image of the target preview image, the sub-preview images displayed in each preview partition are different, and each preview partition corresponds to an image adjustment control;
- the receiving module is also used to receive user
- the target image adjustment control is an image adjustment control corresponding to the target preview partition in the M preview partitions;
- the selected module is used to select the target preview partition in response to the fifth input received by the receiving module
- the moving module is specifically used to move the sub-preview image displayed in the target preview partition according to the bending parameters of the flexible screen.
- An embodiment of the present application provides a preview image display control device, which can be applied to a scenario of moving a sub-preview image in a preview image. Since the target preview image can be displayed in different preview partitions in the form of In the process of previewing images, it is possible to adjust the display position of the preview images in some preview partitions, that is, the preview partition can be used as the granularity to adjust the display positions of some preview images in the target preview image, so that the granularity of the target preview image can be adjusted. Smaller (thinner), so that further preview images can be obtained.
- the preview image display control device further includes a processing module; a receiving module is further configured to receive a sixth input from the user to the shooting control after the sub-preview image displayed in the target preview partition is moved by the moving module; the processing module is configured to: In response to the sixth input received by the receiving module, according to the bending parameters, move the image corresponding to the target preview partition in the second target image collected by the camera to obtain the second captured image, and the display effect of the second captured image is the same as the M previews.
- the preview image displayed in the section is displayed in the same way.
- An embodiment of the present application provides a preview image display control device, which can be applied to a scene where a captured image is obtained. Because the preview image display control device can, according to the bending parameters of the flexible screen, match the second target image collected by the mobile camera with the target preview. The image corresponding to the partition is obtained to obtain the second captured image, so that the display effect of the captured image obtained by the preview image display control device is not limited to the image actually collected by the camera of the electronic device, so that the preview image display control device can be based on the same real scene. A variety of captured images can be obtained, thereby improving the diversity of images captured by the preview image display control device.
- the preview image display control device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in an electronic device.
- the apparatus may be a mobile electronic device or a non-mobile electronic device.
- the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant).
- UMPC ultra-mobile personal computer
- netbook or a personal digital assistant
- the non-mobile electronic device may be a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which are not specifically limited in the embodiments of the present application.
- the preview image display control device in the embodiment of the present application may be a device with an operating system.
- the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
- the preview image display control apparatus provided by the embodiment of the present application can implement each process implemented by the foregoing method embodiment, and in order to avoid repetition, details are not repeated here.
- an embodiment of the present application further provides an electronic device 800, including a processor 801, a memory 802, a program or instruction stored in the memory 802 and executable on the processor 801, the program Or when the instruction is executed by the processor 801, each process of the above-mentioned embodiment of the preview image display control method can be implemented, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
- the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
- FIG. 11 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
- the electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110, etc. part.
- the electronic device 100 may also include a power supply 111 (such as a battery) for supplying power to various components, and the power supply may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and Power management and other functions.
- a power supply 111 such as a battery
- the structure of the electronic device shown in FIG. 11 does not constitute a limitation on the electronic device.
- the electronic device may include more or less components than those shown in the figure, or combine some components, or arrange different components, which will not be repeated here. .
- the user input unit 107 is configured to receive a first input when the target image preview area of the shooting preview interface is in the preview display mode, and the first input is an input that triggers the bending of the flexible screen of the electronic device; the processor 110, It is used to move the target preview image according to the bending parameters of the flexible screen in response to the first input received by the user input unit 107, so that the first sub-preview image in the target preview image is moved out of the first original preview sub-area and into the first sub-preview sub-area.
- the target preview image is a frame of preview image collected in real time by the camera
- the target image preview area includes a first original preview sub-area and a second original preview sub-area
- the first sub-preview image is the preview image in the first original preview sub-area before receiving the first input
- the second sub-preview image is the preview image in the first original preview sub-area before receiving the first input.
- the preview image in the previous second original preview sub-area is input
- the target image preview area includes a first target preview sub-area and a second target preview sub-area.
- the embodiment of the present application provides an electronic device, which can be applied to a scene in which a preview image is adjusted in the process of collecting a preview image. Since the preview area of the target image is in a preview display mode, a user can bend the flexible screen of the electronic device to Trigger the electronic device to move the target preview image, so as to update the display area of the sub-preview image in the target preview image. Therefore, during the process of collecting the preview image by the electronic device, the user can bend the flexible screen of the electronic device according to the actual use requirements.
- the display area of the sub-preview image in the preview image so that the target preview image displayed in the target image preview area can be easily adjusted, so that after the target preview image moves, different preview images can be obtained, which can reduce the impact of the real scene.
- the degree of constraint of the electronic device to obtain the preview image so as to improve the diversity of the preview image obtained by the electronic device.
- the processor 110 is specifically configured to move the target preview image along the first direction according to the bending parameters of the flexible screen; wherein, the sub-preview image to be moved is determined according to the bending angle and bending direction of the flexible screen. at least one of them is determined.
- the embodiment of the present application provides an electronic device, which can be applied to a scene of a preview image collected by moving. Since the preview image of the target can be moved along the first direction according to the bending parameters of the flexible screen, the camera of the electronic device can be moved in real time. The collected preview image changes along the first direction, so that the flexibility of obtaining the preview image can be improved, and the interest of obtaining the preview image can be increased.
- the user input unit 107 is further configured to receive a second input from the user after the processor 110 moves the target preview image along the first direction according to the bending parameters of the flexible screen, and the second input is to switch the moving direction.
- the input of the control may be a preset gesture input; the processor 110 is further configured to, in response to the second input received by the user input unit 107, move the target preview image along the second direction according to the bending parameters of the flexible screen, so that the target The third sub-preview image in the preview image is moved out of the third original preview sub-area and into the third target preview sub-area, and the fourth sub-preview image in the target preview image is moved out of the fourth original preview sub-area and into the fourth sub-preview sub-area.
- the target preview sub-area wherein, the second direction is determined according to the control state of the moving direction switching control or the input parameter of the preset gesture input;
- the target image preview area includes a third original preview sub-area and a fourth original preview sub-area, and the third sub-region
- the preview image is the preview image in the third original preview sub-area
- the fourth sub-preview image is the preview image in the fourth original preview sub-area;
- the target image preview area includes the third target preview sub-area and the fourth target preview sub-area.
- the embodiment of the present application provides an electronic device, which can be applied to a scenario in which a preview image is moved from multiple directions. After the target preview image is moved in a first direction, the electronic device can also be triggered to move the target preview image from a second direction. Therefore, the display positions of the sub-preview images in the target preview image can be updated from multiple directions, so that the electronic device can obtain more preview images according to a real scene, thereby further enriching the preview images obtained by the electronic device.
- the user input unit 107 is further configured to receive a third user input on the preview image adjustment control before receiving the first input; the display unit 106 is configured to respond to the third input received by the user input unit 107, in The first sub-display screen and the second sub-display screen respectively display the target preview image; the processor 110 is specifically configured to move the target preview image displayed in the second sub-display screen according to the bending parameters of the flexible screen, and in the first sub-display screen The preview display mode is maintained in a sub-display.
- the embodiment of the present application provides an electronic device, which can be applied to a scenario in which a preview image is adjusted by referring to an original preview image. Since the electronic device can display target preview images in different sub-displays respectively, the electronic device can control different sub-displays respectively.
- the target preview image displayed in the first sub-display can be compared with the target preview image displayed in the first sub-display, and the electronic device can be triggered to display the second sub-display
- the display area of the sub-preview image in the target preview image displayed on the screen can be adjusted, so that it is convenient for the user to compare the difference between the unmoved target preview image and the moved target preview image, so that the way to adjust the preview image is more intuitive. , convenient.
- the user input unit 107 is further configured to, in the processor 110, move the target preview image displayed in the second sub-display screen according to the bending parameters of the flexible screen, and after the preview display mode is maintained in the first sub-display screen , receiving the fourth input from the user to the shooting control; the processor 110 is configured to, in response to the fourth input received by the user input unit 107, move the first target image collected by the camera according to the bending parameters to obtain the first shooting image, and the first The display effect of a captured image is the same as the display effect of the preview image displayed in the second sub-display.
- the embodiment of the present application provides an electronic device, which can be applied to a scene where a captured image is obtained. Since the electronic device can move the first target image captured by the camera according to the bending parameters of the flexible screen to obtain the first captured image, the first captured image can be obtained.
- the captured image obtained by the electronic device is not limited to the image actually collected by the camera of the electronic device, so that the electronic device can obtain a variety of captured images according to the same real scene, thereby improving the diversity of the images captured by the electronic device.
- the target image preview area includes M preview partitions, where M is an integer greater than 1; the display unit 106 is configured to, before the user input unit 107 receives the first input, in each preview area in the M preview partitions, A sub-preview image of the target preview image is displayed respectively, the sub-preview images displayed in each preview sub-area are different, and each preview sub-area corresponds to an image adjustment control; the user input unit 107 is also used for receiving the fifth adjustment control of the target image by the user.
- the target image adjustment control is an image adjustment control corresponding to the target preview partition in the M preview partitions; the processor 110 is used to respond to the fifth input received by the user input unit 107, and select the sub-preview displayed in the target preview partition image; the processor 110 is specifically configured to move the sub-preview image displayed in the target preview partition according to the bending parameters of the flexible screen.
- the embodiment of the present application provides an electronic device, which can be applied to a scenario of moving a sub-preview image in a preview image. Since the target preview image can be displayed in different preview partitions in the form of In the process, the display position adjustment of the preview image in the partial preview partition can be realized, that is, the preview partition can be used as the granularity to adjust the display position of the partial preview image in the target preview image, so that the granularity of the adjustment target preview image can be smaller ( finer), so that you can further get more preview images.
- the user input unit 107 is further configured to, after the processor 110 moves the sub-preview image displayed in the target preview partition, receive a sixth input from the user on the shooting controls; the processor 110 is configured to respond to the user input unit 107 The received sixth input, according to the bending parameters, move the image corresponding to the target preview partition in the second target image collected by the camera to obtain the second captured image, and the display effect of the second captured image is the same as the preview displayed in the M preview partitions. The images are displayed the same.
- the embodiment of the present application provides an electronic device, which can be applied to a scene where a captured image is obtained. Since the electronic device can move the image corresponding to the target preview partition in the second target image collected by the camera according to the bending parameters of the flexible screen, obtain The second captured image, so that the display effect of the captured image obtained by the electronic device is not limited to the image actually collected by the camera of the electronic device, so that the electronic device can obtain a variety of captured images according to the same real scene, thereby improving the electronic device. Variety of captured images.
- the receiving module in the preview image display control device may be implemented by the above-mentioned user input unit 107 ; the moving module, processing module and selection module in the preview image display control device may be implemented by the above-mentioned processor 110
- the display module in the preview image display control device can be implemented by the above-mentioned display unit 106 .
- the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042. Such as camera) to obtain still pictures or video image data for processing.
- the display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
- the user input unit 107 includes a touch panel 1071 and other input devices 1072 .
- the touch panel 1071 is also called a touch screen.
- the touch panel 1071 may include two parts, a touch detection device and a touch controller.
- Other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which are not described herein again.
- Memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems.
- the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, and the like, and the modem processor mainly processes wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 110 .
- Embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the above-mentioned embodiment of the preview image display control method is implemented, and can achieve The same technical effect, in order to avoid repetition, will not be repeated here.
- the above-mentioned processor is the processor in the electronic device in the above-mentioned embodiment.
- the readable storage medium may include a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
- An embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used for running a program or an instruction, implementing each process of the above-mentioned preview image display control method embodiment, and capable of To achieve the same technical effect, in order to avoid repetition, details are not repeated here.
- the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
- the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation.
- the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make an electronic device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods of the various embodiments of the present application.
- a storage medium such as ROM/RAM, magnetic disk, CD-ROM
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Studio Devices (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Disclosed are a preview image display control method and apparatus, and an electronic device and a medium. The method comprises: where a target image preview area of a photographing preview interface is in a preview display mode, receiving a first input; and in response to the first input, moving the target preview image according to a bending parameter of a flexible screen, so that a first preview sub-image is moved out of a first original preview sub-area, and is moved into a first target preview sub-area, and a second preview sub-image is moved out of a second original preview sub-area, and is moved into a second target preview sub-area, wherein the target preview image is a preview image collected in real time by a camera, the first preview sub-image is a preview image in the first original preview sub-area before the first input is received, and the second preview sub-image is a preview image in the second original preview sub-area before the first input is received.
Description
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请主张在2020年12月11日在中国提交的中国专利申请号202011459466.X的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202011459466.X filed in China on Dec. 11, 2020, the entire contents of which are incorporated herein by reference.
本申请属于摄影技术领域,具体涉及一种预览图像显示控制方法、装置、电子设备及介质。The present application belongs to the field of photography technology, and in particular relates to a preview image display control method, device, electronic device and medium.
随着通信技术的高速发展,电子设备的应用越来越广泛,用户对电子设备的性能要求也越来越高。With the rapid development of communication technology, the application of electronic equipment is becoming more and more extensive, and the performance requirements of users on the electronic equipment are also getting higher and higher.
目前,用户可以通过电子设备拍摄各种各样的图像。通常,在用户通过电子设备拍摄图像的过程中,用户可以通过调整电子设备的拍摄角度,控制电子设备采集到用户想要拍摄的图像的预览图像,从而触发电子设备拍摄得到用户想要拍摄的图像。Currently, users can take a wide variety of images through electronic devices. Usually, in the process of capturing an image by the user through the electronic device, the user can control the electronic device to capture a preview image of the image the user wants to capture by adjusting the shooting angle of the electronic device, thereby triggering the electronic device to capture the image that the user wants to capture. .
然而,在上述过程中,由于受现实景象的约束,即使用户调整电子设备的拍摄角度,电子设备也可能无法采集到与用户想要拍摄的图像一致的预览图像,从而导致电子设备获取预览图像受现实景象约束程度较高,获取的预览图像比较单一。However, in the above process, due to the constraints of the real scene, even if the user adjusts the shooting angle of the electronic device, the electronic device may not be able to capture a preview image that is consistent with the image the user wants to capture, resulting in the electronic device obtaining the preview image. The real scene has a high degree of constraint, and the obtained preview image is relatively simple.
发明内容SUMMARY OF THE INVENTION
本申请实施例的目的是提供一种预览图像显示控制方法、装置、电子设备及介质,能够解决获取预览图像受现实景象约束程度较高,获取的预览图像比较单一的问题。The purpose of the embodiments of the present application is to provide a preview image display control method, device, electronic device and medium, which can solve the problem that the obtained preview image is relatively constrained by the real scene and the obtained preview image is relatively simple.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:
第一方面,本申请实施例提供了一种预览图像显示控制方法,该方法包括:在拍摄预览界面的目标图像预览区域处于预览显示模式的情况下,接收第一输入,第一输入为触发电子设备的柔性屏弯折的输入;响应于第一输入,根据柔性屏的弯折参数,移动目标预览图像,以使目标预览图像中的第一子预览图像移出第一原始预览子区域,并移入第一目标预览子区域,且使目标预览图像中的第二子预览图像移出第二原始预览子区域,并移入第二目标预览子区域;其中,目标预览图像为摄像头实时采集的一帧预览图像,目标图像预览区域包括第一原始预览子区域和第二原始预览子区域,第一子预览图像为接收第一输入之前第一原始预览子区域中的预览图像,第二子预览图像为接收第一输入之前第二原始预览子区域中的预览图像;目标图像预览区域包括第一目标预览子区域和第二目标预览子区域。In a first aspect, an embodiment of the present application provides a preview image display control method. The method includes: when a target image preview area of a shooting preview interface is in a preview display mode, receiving a first input, where the first input is a trigger electronic Input for bending the flexible screen of the device; in response to the first input, move the target preview image according to the bending parameters of the flexible screen, so that the first sub-preview image in the target preview image moves out of the first original preview sub-area and into the first original preview sub-area The first target preview sub-area, and the second sub-preview image in the target preview image is moved out of the second original preview sub-area, and moved into the second target preview sub-area; wherein, the target preview image is a frame of preview image collected in real time by the camera , the target image preview area includes a first original preview sub-area and a second original preview sub-area, the first sub-preview image is the preview image in the first original preview sub-area before receiving the first input, and the second sub-preview image is the preview image in the first original preview sub-area before receiving the first input. A preview image in the second original preview sub-area before input; the target image preview area includes a first target preview sub-area and a second target preview sub-area.
第二方面,本申请实施例提供了一种预览图像显示控制装置,该预览图像显示控制装置包括接收模块和移动模块。接收模块,用于在拍摄预览界面的目标图像预览区域处于预览显示模式的情况下,接收第一输入,第一输入为触发电子设备的柔性屏弯折的输入;移动模块,用于响应于接收模块接收的第一输入,根据柔性屏的弯折参数,移动目标预览图像,以使目标预览图像中的第一子预览图像移出第一原始预览子区域,并移入第一目标预览子区域,且使目标预览图像中的第二子预览图像移出第二原始预览子区域,并移入第二目标预览子区域;其中,目标预览图像为摄像头实时采集的一帧预览图像,目标图像预览区域包括第一原始预览子区域和第二原始预览子区域,第一子预览图像为接收第一输入之前第一原始预览子区域中的预览图像,第二子预览图像为接收第一输入之前第二原始预览子区域中的预览图像;目标图像预览区域包括第一目标预览子区域和第二目标预览子区域。In a second aspect, an embodiment of the present application provides a preview image display control device, where the preview image display control device includes a receiving module and a moving module. The receiving module is used to receive a first input when the target image preview area of the shooting preview interface is in the preview display mode, where the first input is an input that triggers the bending of the flexible screen of the electronic device; the moving module is used to respond to the receiving The first input received by the module moves the target preview image according to the bending parameters of the flexible screen, so that the first sub-preview image in the target preview image is moved out of the first original preview sub-area and into the first target preview sub-area, and The second sub-preview image in the target preview image is moved out of the second original preview sub-area, and moved into the second target preview sub-area; wherein, the target preview image is a frame of preview image collected in real time by the camera, and the target image preview area includes the first The original preview sub-region and the second original preview sub-region, the first sub-preview image is the preview image in the first original preview sub-region before receiving the first input, and the second sub-preview image is the second original preview sub-region before receiving the first input. The preview image in the area; the target image preview area includes a first target preview sub-area and a second target preview sub-area.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在存储器上并可在处理器上运行的程序或指令,该程序或指令被处理器执行时,实现如上述第一方面中的预览图像显示控制方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor. When the program or instruction is executed by the processor, The steps of implementing the preview image display control method as in the above-mentioned first aspect.
第四方面,本申请实施例提供了一种可读存储介质,该可读存储介质上存储程序或指令,该程序或指令被处理器执行时,实现如上述第一方面中的预览图像显示控制方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the preview image display control as in the above-mentioned first aspect is realized steps of the method.
第五方面,本申请实施例提供了一种芯片,该芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现如上述第一方面中的预览图像显示控制方法的步骤。In a fifth aspect, an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a program or an instruction to implement the preview image display control in the first aspect above steps of the method.
在本申请实施例中,在拍摄预览界面的目标图像预览区域处于预览显示模式的情况下,接收第一输入,第一输入为触发电子设备的柔性屏弯折的输入;响应于第一输入,根据柔性屏的弯折参数,移动目标预览图像,以使目标预览图像中的第一子预览图像移出第一原始预览子区域,并移入第一目标预览子区域,且使目标预览图像中的第二子预览图像移出第二原始预览子区域,并移入第二目标预览子区域;其中,目标预览图像为摄像头实时采集的一帧预览图像,目标图像预览区域包括第一原始预览子区域和第二原始预览子区域,第一子预览图像为接收第一输入之前第一原始预览子区域中的预览图像,第二子预览图像为接收第一输入之前第二原始预览子区域中的预览图像;目标图像预览区域包括第一目标预览子区域和第二目标预览子区域。该方案可以应用于在采集预览图像的过程中,调整预览图像的场景中,由于在目标图像预览区域处于预览显示模式,用户可以通过弯折电子设备的柔性屏,触发电子设备移动目标预览图像,从而更新目标预览图像中的子预览图像的显示区域,因此在电子设备采集预览图像的过程中,用户可以根据实际使用需求,弯折电子设备的柔性屏,以更新预览图像中的子预览图像的显示区域,如此可以实现目标图像预览区域中显示的目标预览图像便捷的调整,从而在目标预览图像移动之后,可以得到不同的预览图像,进而可以减小现实景象对电子设备获取预览图像的约束程度,以提高电子设备获取的预览图像的多样性。In the embodiment of the present application, when the target image preview area of the shooting preview interface is in the preview display mode, a first input is received, and the first input is an input that triggers the bending of the flexible screen of the electronic device; in response to the first input, Move the target preview image according to the bending parameters of the flexible screen, so that the first sub-preview image in the target preview image is moved out of the first original preview sub-area and into the first target preview sub-area, and the first sub-preview image in the target preview image is moved The two sub-preview images are moved out of the second original preview sub-area and moved into the second target preview sub-area; wherein, the target preview image is a frame of preview images collected by the camera in real time, and the target image preview area includes the first original preview sub-area and the second target preview sub-area. Original preview sub-region, the first sub-preview image is the preview image in the first original preview sub-region before receiving the first input, and the second sub-preview image is the preview image in the second original preview sub-region before receiving the first input; the target The image preview area includes a first target preview sub-area and a second target preview sub-area. This solution can be applied to the scene of adjusting the preview image in the process of collecting the preview image. Since the preview area of the target image is in the preview display mode, the user can trigger the electronic device to move the target preview image by bending the flexible screen of the electronic device. In this way, the display area of the sub-preview image in the target preview image is updated. Therefore, during the process of collecting the preview image by the electronic device, the user can bend the flexible screen of the electronic device according to the actual use requirements to update the sub-preview image in the preview image. In this way, the target preview image displayed in the target image preview area can be easily adjusted, so that after the target preview image is moved, different preview images can be obtained, which can reduce the degree of constraint that the real scene imposes on the electronic device to obtain the preview image. , to improve the diversity of preview images obtained by electronic devices.
图1为本申请实施例提供的预览图像显示控制方法的流程示意图;1 is a schematic flowchart of a preview image display control method provided by an embodiment of the present application;
图2为本申请实施例提供的预览图像显示控制方法应用的界面示意图之一;FIG. 2 is one of the interface schematic diagrams of the application of the preview image display control method provided by the embodiment of the present application;
图3为本申请实施例提供的预览图像显示控制方法应用的界面示意图之二;FIG. 3 is the second schematic diagram of the interface of the application of the preview image display control method provided by the embodiment of the present application;
图4为本申请实施例提供的预览图像显示控制方法应用的界面示意图之三;4 is the third schematic diagram of the interface of the application of the preview image display control method provided by the embodiment of the present application;
图5为本申请实施例提供的预览图像显示控制方法应用的界面示意图之四;FIG. 5 is the fourth schematic diagram of the interface of the application of the preview image display control method provided by the embodiment of the present application;
图6为本申请实施例提供的预览图像显示控制方法应用的界面示意图之五;FIG. 6 is the fifth schematic diagram of the interface of the application of the preview image display control method provided by the embodiment of the present application;
图7为本申请实施例提供的预览图像显示控制方法应用的界面示意图之六;7 is the sixth schematic diagram of the interface of the application of the preview image display control method provided by the embodiment of the present application;
图8为本申请实施例提供的预览图像显示控制方法应用的界面示意图之七;FIG. 8 is the seventh schematic diagram of the interface of the application of the preview image display control method provided by the embodiment of the present application;
图9为本申请实施例提供的预览图像显示控制装置结构示意图;FIG. 9 is a schematic structural diagram of a preview image display control device provided by an embodiment of the present application;
图10为本申请实施例提供的一种电子设备的结构示意图;FIG. 10 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图11为本申请实施例提供的一种电子设备的硬件示意图。FIG. 11 is a schematic hardware diagram of an electronic device according to an embodiment of the present application.
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between "first", "second", etc. The objects are usually of one type, and the number of objects is not limited. For example, the first object may be one or more than one. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the associated objects are in an "or" relationship.
在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present application, words such as "exemplary" or "for example" are used to represent examples, illustrations or illustrations. Any embodiments or designs described in the embodiments of the present application as "exemplary" or "such as" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present the related concepts in a specific manner.
下面结合附图,通过具体的实施例及其应用场景,对本申请实施例提供的预览图像显示控制方法进行详细地说明。The following describes the preview image display control method provided by the embodiments of the present application in detail through specific embodiments and application scenarios with reference to the accompanying drawings.
如图1所示,本申请实施例提供一种预览图像显示控制方法,该方法包括下述的步骤201和步骤202。As shown in FIG. 1 , an embodiment of the present application provides a preview image display control method, and the method includes the following steps 201 and 202 .
需要说明的是,本申请实施例提供的预览图像显示控制方法,执行主体可以为预览图像显示控制装置,或者该预览图像显示控制装置中的用于执行预览图像显示控制方法的控制模块,还可以为电子设备。本申请实施例将以电子设备为例,对本申请实施例提供的预览图像显示控制方法进行示例性的说明。It should be noted that, in the preview image display control method provided by the embodiment of the present application, the execution subject may be a preview image display control device, or a control module in the preview image display control device for executing the preview image display control method, or may also be for electronic equipment. The embodiment of the present application will take an electronic device as an example to exemplarily describe the preview image display control method provided by the embodiment of the present application.
步骤201、电子设备在拍摄预览界面的目标图像预览区域处于预览显示模式的情况下,接收用户的第一输入。 Step 201 , when the target image preview area of the shooting preview interface is in the preview display mode, the electronic device receives a first input from the user.
其中,上述第一输入可以为触发电子设备的柔性屏弯折的输入。The above-mentioned first input may be an input that triggers the bending of the flexible screen of the electronic device.
需要说明的是,本申请实施例中用户的输入均可以为用户通过手指或者触控笔对电子设备的输入。It should be noted that, in the embodiments of the present application, the user's input may be the user's input to the electronic device through a finger or a stylus.
步骤202、电子设备响应于第一输入,根据柔性屏的弯折参数,移动目标预览图像,以使目标预览图像中的第一子预览图像移出第一原始预览子区域,并移入第一目标预览子区域,且使目标预览图像中的第二子预览图像移出第二原始预览子区域,并移入第二目标预览子区域。Step 202: In response to the first input, the electronic device moves the target preview image according to the bending parameters of the flexible screen, so that the first sub-preview image in the target preview image moves out of the first original preview sub-area and into the first target preview. sub-area, and the second sub-preview image in the target preview image is moved out of the second original preview sub-area and moved into the second target preview sub-area.
其中,上述目标预览图像可以为电子设备的摄像头实时采集的一帧预览图像,上述目标图像预览区域可以包括第一原始预览子区域(例如图2中的预览子区域31)和第二原始预览子区域(例如图2中的预览子区域32),第一子预览图像(例如图2中的子预览图像37)可以为接收第一输入之前第一原始预览子区域中的预览图像,第二子预览图像(例如图2中的子预览图像38)可以为接收第一输入之前第二原始预览子区域中的预览图像;目标图像预览区域可以包括第一目标预览子区域(例如图2中的预览子区域34)和第二目标预览子区域(例如图2中的预览子区域35)。The above-mentioned target preview image may be a frame of preview image collected in real time by a camera of an electronic device, and the above-mentioned target image preview area may include a first original preview sub-area (for example, the preview sub-area 31 in FIG. 2 ) and a second original preview sub-area area (eg, the preview sub-area 32 in FIG. 2 ), the first sub-preview image (eg, the sub-preview image 37 in FIG. 2 ) may be the preview image in the first original preview sub-area before receiving the first input, and the second sub-preview image The preview image (eg sub-preview image 38 in FIG. 2 ) may be the preview image in the second original preview sub-area before receiving the first input; the target image preview area may include the first target preview sub-area (eg, the preview in FIG. 2 ) sub-area 34) and a second target preview sub-area (eg, the preview sub-area 35 in FIG. 2).
本申请实施例中,在电子设备采集预览图像的过程中,在拍摄预览界面的目标图像预览区域处于预览显示模式的情况下,如果用户想要触发电子设备更新该目标预览图像中的子预览图像的显示区域,那么用户可以通过弯折电子设备的柔性屏(即上述第一输入),触发电子设备移动目标预览图像,从而使得目标预览图像中的第一子预览图像移出第一原始预览子区域,并移入第一目标预览子区域,且使目标预览图像中的第二子预览图像移出第二原始预览子区域,并移入第二目标预览子区域。In the embodiment of the present application, in the process of collecting the preview image by the electronic device, when the target image preview area of the shooting preview interface is in the preview display mode, if the user wants to trigger the electronic device to update the sub-preview image in the target preview image The user can trigger the electronic device to move the target preview image by bending the flexible screen of the electronic device (that is, the above-mentioned first input), so that the first sub-preview image in the target preview image is moved out of the first original preview sub-area , and move into the first target preview sub-area, and move the second sub-preview image in the target preview image out of the second original preview sub-area and into the second target preview sub-area.
需要说明的是,本申请实施例中,在目标图像预览区域处于预览显示模式的情况下,目标图像预览区域显示的预览图像(即上述目标预览图像),随电子设备的摄像头采集的图像变化而实时变化。也就是说,目标预览图像为电子设备的摄像头实时采集的一帧图像。It should be noted that, in the embodiment of the present application, when the target image preview area is in the preview display mode, the preview image displayed in the target image preview area (that is, the above-mentioned target preview image) varies with the image collected by the camera of the electronic device. changes in real time. That is to say, the target preview image is a frame of image collected in real time by the camera of the electronic device.
本申请实施例中,上述电子设备移动目标预览图像可以理解为:电子设备移动目标预览图像中的像素点,从而使得目标预览图像中的第一子预览图像中的像素点移出第一原始预览子区域,并移入第一目标预览子区域,且使得目标预览图像中的第二子预览图像中的像素点移出第二原始预览子区域,并移入第二目标预览子区域。In the embodiment of the present application, the above-mentioned electronic device moving target preview image can be understood as: the electronic device moves the pixels in the target preview image, so that the pixels in the first sub-preview image in the target preview image move out of the first original preview sub-image. area, and move into the first target preview sub-area, and make the pixels in the second sub-preview image in the target preview image move out of the second original preview sub-area and move into the second target preview sub-area.
可选地,本申请实施例中,柔性屏的弯折参数可以包括柔性屏的弯折角度和柔性屏的弯折方向中的至少一项。具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in the embodiment of the present application, the bending parameter of the flexible screen may include at least one of a bending angle of the flexible screen and a bending direction of the flexible screen. Specifically, it can be determined according to actual use requirements, which is not limited in the embodiment of the present application.
本申请实施例中,上述柔性屏的弯折角度可以为180度与柔性屏的内夹角之间的差值,例如180度与弯折后的两个子屏幕的内夹角之间的差值。In the embodiment of the present application, the bending angle of the flexible screen may be the difference between 180 degrees and the inner angle of the flexible screen, for example, the difference between 180 degrees and the inner angle of the two sub-screens after bending .
示例性地,以柔性屏为折叠屏为例,当折叠屏的第一屏与第二屏之间的夹角为180度时,那么可以确定折叠屏的弯折角度为0度;当折叠屏的第一屏与第二屏之间的夹角为135度时,那么可以确定折叠屏的弯折角度为45度。Exemplarily, taking the flexible screen as a folding screen as an example, when the angle between the first screen and the second screen of the folding screen is 180 degrees, it can be determined that the bending angle of the folding screen is 0 degrees; When the included angle between the first screen and the second screen is 135 degrees, it can be determined that the bending angle of the folding screen is 45 degrees.
本申请实施例中,上述柔性屏的弯折参数可以与目标预览图像中的像素点的移动距离存在映射关系,如此在电子设备确定柔性屏的弯折参数之后,柔性屏可以对目标预览图像中的像素点进行移动。In the embodiment of the present application, the above-mentioned bending parameters of the flexible screen may have a mapping relationship with the moving distances of the pixels in the target preview image, so that after the electronic device determines the bending parameters of the flexible screen, the flexible screen can be used in the target preview image. of pixels to move.
可选地,本申请实施例中,柔性屏的弯折角度越大,目标预览图像中的像素点的移动距离越大,上述第一子预览图像中的像素点越多,从而使得上述第一原始预览子区域越大。相应的,柔性屏的弯折角度越小,目标预览图像中的像素点的移动距离越小,上述第一子预览图像中的像素点越少,从而使得第一原始预览子区域越小。Optionally, in this embodiment of the present application, the greater the bending angle of the flexible screen, the greater the moving distance of the pixels in the target preview image, and the more pixels in the first sub-preview image, so that the first The larger the original preview sub-area. Correspondingly, the smaller the bending angle of the flexible screen, the smaller the moving distance of the pixels in the target preview image, and the fewer the pixels in the first sub-preview image, thus making the first original preview sub-area smaller.
本申请实施例中,上述柔性屏的弯折方向可以包括对向弯折和背向弯折。其中,对向弯折是指柔性屏的屏幕朝内弯折;背向弯折是指柔性屏的屏幕朝外弯折。In the embodiment of the present application, the bending direction of the above-mentioned flexible screen may include opposite bending and backward bending. Among them, the opposite bending means that the screen of the flexible screen is bent inward; the back bending means that the screen of the flexible screen is bent outward.
示例性的,假设上述柔性屏的弯折参数包括柔性屏的弯折角度,当柔性屏的弯折角度为45度时,目标预览图像中的像素点的移动距离可以为目标图像预览区域中,像素点的移动方向所在的边的边长一半,上述第一子预览图像可以为上述目标预览图像中的二分之一预览图像(例如目标预览图像的上半部分预览图像)。Exemplarily, assuming that the above-mentioned bending parameters of the flexible screen include the bending angle of the flexible screen, when the bending angle of the flexible screen is 45 degrees, the moving distance of the pixels in the target preview image may be the target image preview area, The side length of the side where the moving direction of the pixel points is located is half, and the first sub-preview image may be a half preview image of the target preview image (eg, the upper half preview image of the target preview image).
可选地,当柔性屏的弯折角度为90度时,电子设备可以对目标预览图像完成一轮移动,从而使得上述第一原始预览子区域与第一目标预览子区域为同一个区域,第二原始预览子区域与第二目标预览子区域为同一个区域。此时,移动后的目标预览图像的显示效果与移动前的目标预览图像的显示效果相同。Optionally, when the bending angle of the flexible screen is 90 degrees, the electronic device can complete a round of movement on the target preview image, so that the first original preview sub-region and the first target preview sub-region are the same region, and the first original preview sub-region and the first target preview sub-region are the same region. The two original preview sub-areas and the second target preview sub-area are the same area. At this time, the display effect of the target preview image after the movement is the same as the display effect of the target preview image before the movement.
需要说明的是,本申请实施例中涉及的图像的显示效果是指图像中的元素的显示位置。It should be noted that the display effect of the image involved in the embodiments of the present application refers to the display position of the element in the image.
下面再结合图2对上述步骤201和步骤202进行示例性的说明。The above steps 201 and 202 are exemplarily described below with reference to FIG. 2 .
示例性地,以电子设备的柔性屏为折叠屏为例,假设折叠屏的弯折角度为45度,弯折方向为对向弯折。那么如图2中的(a)所示,在拍摄预览界面的目标图像预览区域处于预览显示模式,目标图像预览区域显示目标预览图像的情况下,当用户沿第一屏的方向对向弯折第二屏,使得第二屏与第一屏之间的夹角为135度(即折叠屏的弯折角度为45度),那么电子设备按照从下至上的方向33移动目标预览图像中的像素点,从而使得目标预览图像中的第一子预览图像37(即第一子预览图像的像素点)移出预览子区域31,并移入图2中的(b)所示的预览子区域34(即第一目标预览子区域),且使得目标预览图像中的第二子预览图像38(即第二子预览图像的像素点)移出预览子区域32,并移入图2中的(b)所示的预览子区域35(即第二目标预览子区域)。如此,电子设备可以更新目标预览图像中的子预览图像的显示区域,即电子设备可以更新目标预览图像中的像素点的显示位置,从而可以得到不同的预览图像。Exemplarily, taking the flexible screen of the electronic device as a folding screen as an example, it is assumed that the bending angle of the folding screen is 45 degrees, and the bending direction is opposite bending. Then, as shown in (a) of FIG. 2 , when the target image preview area of the shooting preview interface is in the preview display mode, and the target image preview area displays the target preview image, when the user bends the opposite direction along the direction of the first screen The second screen, so that the angle between the second screen and the first screen is 135 degrees (that is, the bending angle of the folding screen is 45 degrees), then the electronic device moves the pixels in the target preview image in the direction 33 from bottom to top point, so that the first sub-preview image 37 in the target preview image (that is, the pixel points of the first sub-preview image) is moved out of the preview sub-area 31 and into the preview sub-area 34 shown in (b) in FIG. the first target preview sub-area), and make the second sub-preview image 38 in the target preview image (ie, the pixels of the second sub-preview image) move out of the preview sub-area 32, and move into the image shown in (b) in FIG. 2 The preview sub-area 35 (ie, the second target preview sub-area). In this way, the electronic device can update the display area of the sub-preview image in the target preview image, that is, the electronic device can update the display positions of the pixels in the target preview image, so that different preview images can be obtained.
需要说明的是,本申请实施例中的示例涉及的界面示意图中用于分割预览图像的虚线(例如图2中的虚线)是用来标记不同的预览子区域的,在电子设备输出拍摄图像时,该拍摄图像中不包括该虚线。It should be noted that the dashed lines (eg, dashed lines in FIG. 2 ) in the interface schematic diagram involved in the examples in the embodiments of this application are used to mark different preview sub-regions. When the electronic device outputs the captured image , the dotted line is not included in the captured image.
本申请实施例中,当折叠屏的第一屏与第二屏之间的夹角为180度(即折叠屏的弯折角度为0度),电子设备可以在拍摄预览界面的目标图像预览区域保持预览显示模式。In the embodiment of the present application, when the angle between the first screen and the second screen of the folding screen is 180 degrees (that is, the bending angle of the folding screen is 0 degrees), the electronic device can preview the target image in the target image preview area of the shooting preview interface. Stay in preview display mode.
其中,保持预览显示模式可以理解为:电子设备在目标图像预览区域持续显示电子设备的摄像头实时采集的一帧预览图像。Wherein, maintaining the preview display mode can be understood as: the electronic device continuously displays a frame of preview image collected in real time by the camera of the electronic device in the target image preview area.
本申请实施例提供一种预览图像显示控制方法,可以应用于在采集预览图像的过程中,调整预览图像的场景中,由于在目标图像预览区域处于预览显示模式,用户可以通过弯折电子设备的柔性屏,触发电子设备移动目标预览图像,从而更新目标预览图像中的子预览图像的显示区域,因此在电子设备采集预览图像的过程中,用户可以根据实际使用需求,弯折电子设备的柔性屏,以更新预览图像中的子预览图像的显示区域,如此可以实现目标图像预览区域中显示的目标预览图像便捷的调整,从而在目标预览图像移动之后,可以得到不同的预览图像,进而可以减小现实景象对电子设备获取预览图像的约束程度,以提高电子设备获取的预览图像的多样性。An embodiment of the present application provides a preview image display control method, which can be applied to a scene in which a preview image is adjusted in the process of collecting a preview image. Since the preview area of the target image is in the preview display mode, the user can bend the The flexible screen triggers the electronic device to move the target preview image, thereby updating the display area of the sub-preview image in the target preview image. Therefore, during the process of collecting the preview image by the electronic device, the user can bend the flexible screen of the electronic device according to the actual use requirements. , to update the display area of the sub-preview image in the preview image, so that the target preview image displayed in the target image preview area can be easily adjusted, so that after the target preview image is moved, different preview images can be obtained, which can reduce the size of the target preview image. The degree of constraint of the real scene on the preview image obtained by the electronic device, so as to improve the diversity of the preview image obtained by the electronic device.
可选地,本申请实施例中,上述步骤202具体可以通过下述的步骤202a实现。Optionally, in this embodiment of the present application, the foregoing step 202 may be specifically implemented by the following step 202a.
步骤202a、电子设备响应于第一输入,根据柔性屏的弯折参数,沿第一方向,移动目标预览图像。Step 202a, in response to the first input, the electronic device moves the target preview image along the first direction according to the bending parameters of the flexible screen.
其中,待移出图像的预览图像区域,根据柔性屏的弯折角度和弯折方向中的至少一项确定。The preview image area of the image to be removed is determined according to at least one of a bending angle and a bending direction of the flexible screen.
本申请实施例中,在电子设备接收到上述第一输入之后,电子设备响应于上述第一输入,可以根据柔性屏的弯折角度,沿上述第一方向,移动上述目标预览图像。In this embodiment of the present application, after the electronic device receives the first input, the electronic device can move the target preview image along the first direction according to the bending angle of the flexible screen in response to the first input.
可选地,本申请实施例中,上述第一方向可以为从上至下的方向;也可以为从下至上的方向;也可以为从左至右的方向;还可以为从右至左的方向。具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in this embodiment of the present application, the above-mentioned first direction may be a top-to-bottom direction; a bottom-to-top direction; a left-to-right direction; or a right-to-left direction direction. Specifically, it can be determined according to actual use requirements, which is not limited in the embodiment of the present application.
示例性地,假设上述第一方向为从下至上的方向,那么在电子设备接收到上述第一输入之后,电子设备可以将如图2中的(a)所示的预览图像,沿从下至上的方向,移动为如图2中的(b)所示的预览图像。Exemplarily, assuming that the above-mentioned first direction is the direction from bottom to top, after the electronic device receives the above-mentioned first input, the electronic device can display the preview image shown in (a) in FIG. , move to the preview image as shown in (b) in Figure 2.
示例性地,假设上述第一预设方向为从左至右的方向,那么在电子设备接收到上述第一输入之后,电子设备可以将如图3中的(a)所示的预览图像A1,沿从左至右的方向,移动为如图3中的(b)所示的预览图像A2。Exemplarily, assuming that the above-mentioned first preset direction is a direction from left to right, after the electronic device receives the above-mentioned first input, the electronic device can display the preview image A1 as shown in (a) in FIG. 3 , In the left-to-right direction, the movement is a preview image A2 as shown in (b) of FIG. 3 .
本申请实施例提供的预览图像显示控制方法,可以应用于移动采集的预览图像的场景中,由于可以根据柔性屏的弯折参数,沿第一方向,移动目标预览图像,因此可以使得电子设备的摄像头实时采集的预览图像可以沿第一方向变化,从而可以提高获取预览图像的灵活性,并增加获取预览图像的趣味性。The preview image display control method provided by the embodiment of the present application can be applied to the scene of the preview image collected by moving. Since the target preview image can be moved along the first direction according to the bending parameters of the flexible screen, it can make the electronic device The preview image captured by the camera in real time can be changed along the first direction, so that the flexibility of obtaining the preview image can be improved, and the interest of obtaining the preview image can be increased.
可选地,本申请实施例中,上述拍摄预览界面中还可以包括预览图像更新启动控件(例如图2中的控件36),在电子设备显示该拍摄预览界面之后,若接收到对该预览图像更新启动控件的输入,则在电子设备接收到上述第一输入的情况下,电子设备可以根据柔性屏的弯折参数,移动上述目标预览图像。反之,在电子设备显示该拍摄预览界面之后,若未接收到对该预览图像更新启动控件的输入,则在电子设备接收到上述第一输入的情况下,电子设备可以保持显示上述第一预览图像,即电子设备可以不执行上述步骤202。Optionally, in the embodiment of the present application, the above-mentioned shooting preview interface may further include a preview image update start control (for example, the control 36 in FIG. 2 ). After the electronic device displays the shooting preview interface, if the preview image is received When the input of the activation control is updated, when the electronic device receives the above-mentioned first input, the electronic device can move the above-mentioned target preview image according to the bending parameters of the flexible screen. On the contrary, after the electronic device displays the shooting preview interface, if the input of updating the startup control for the preview image is not received, in the case that the electronic device receives the above-mentioned first input, the electronic device can keep displaying the above-mentioned first preview image. , that is, the electronic device may not execute the above step 202 .
可选地,本申请实施例中,在电子设备根据柔性屏的弯折参数,沿第一方向,移动上述目标预览图像之后,可以通过特定的输入(例如本申请实施例中的第二输入),触发电子设备沿与第一方向不同的方 向(例如本申请实施例中的第二方向),移动目标预览图像,从而电子设备可以从多个方向移动目标预览图像。Optionally, in the embodiment of the present application, after the electronic device moves the above-mentioned target preview image along the first direction according to the bending parameters of the flexible screen, a specific input (for example, the second input in the embodiment of the present application) may be used. , triggering the electronic device to move the target preview image in a direction different from the first direction (eg, the second direction in this embodiment of the present application), so that the electronic device can move the target preview image from multiple directions.
本申请实施例中,在上述步骤202a之后,本申请实施例提供的预览图像显示控制方法还可以包括下述的步骤203和步骤204。In the embodiment of the present application, after the above step 202a, the preview image display control method provided by the embodiment of the present application may further include the following steps 203 and 204.
步骤203、电子设备接收用户的第二输入。Step 203: The electronic device receives the second input from the user.
其中,上述第二输入可以为对移动方向切换控件的输入或为预设手势输入。Wherein, the above-mentioned second input may be an input to the moving direction switching control or a preset gesture input.
步骤204、电子设备响应于第二输入,根据柔性屏的弯折参数,沿第二方向,移动目标预览图像,以使目标预览图像中的第三子预览图像移出第三原始预览子区域,并移入第三目标预览子区域,且使目标预览图像中的第四子预览图像移出第四原始预览子区域,并移入第四目标预览子区域。Step 204: In response to the second input, the electronic device moves the target preview image along the second direction according to the bending parameters of the flexible screen, so that the third sub-preview image in the target preview image is moved out of the third original preview sub-area, and Move into the third target preview sub-area, and move the fourth sub-preview image in the target preview image out of the fourth original preview sub-area and move into the fourth target preview sub-area.
其中,上述第二方向可以根据移动方向切换控件的控件状态或预设手势输入的输入参数确定;上述目标图像预览区域可以包括第三原始预览子区域和第四原始预览子区域,第三子预览图像可以为第三原始预览子区域中的预览图像,第四子预览图像可以为第四原始预览子区域中的预览图像;目标图像预览区域可以包括上述第三目标预览子区域和第四目标预览子区域。Wherein, the above-mentioned second direction may be determined according to the control state of the moving direction switching control or the input parameter of the preset gesture input; the above-mentioned target image preview area may include a third original preview sub-area and a fourth original preview sub-area, the third sub-preview The image may be a preview image in the third original preview sub-area, and the fourth sub-preview image may be a preview image in the fourth original preview sub-area; the target image preview area may include the third target preview sub-area and the fourth target preview. sub area.
可以理解,电子设备沿第二方向移动的目标预览图像可以为:电子设备沿第一方向移动后的目标预览图像。从而电子设备将电子设备沿第一方向移动后的目标预览图像中的第三子预览图像中的像素点移出第三原始预览子区域,并移入第三目标预览子区域,且使得目标预览图像中的第四子预览图像中的像素点移出第四原始预览子区域,并移入第四目标预览子区域。It can be understood that the preview image of the target moved by the electronic device in the second direction may be the preview image of the target after the electronic device is moved in the first direction. Therefore, the electronic device moves the pixels in the third sub-preview image in the target preview image after the electronic device has moved along the first direction out of the third original preview sub-area, and into the third target preview sub-area, and makes the pixels in the target preview image The pixel points in the fourth sub-preview image of , move out of the fourth original preview sub-area, and move into the fourth target preview sub-area.
本申请实施例中,在电子设备根据柔性屏的弯折参数,沿第一方向,移动上述目标预览图像之后,可以通过上述第二输入,触发电子设备将上述根据柔性屏的弯折参数,沿上述第二方向,移动目标预览图像中的像素点,从而使得目标预览图像中的第三子预览图像(即第三子预览图像的像素点,例如图4中的子预览图像42的像素点)移出第三原始预览子区域(例如图4中的预览子区域43),并移入第三目标预览子区域(例如图4中的预览子区域44),且使得目标预览图像中的第四子预览图像(即第三子预览图像的像素点,例如图4中的子预览图像45的像素点)移出第四原始预览子区域(例如图4中的预览子区域46),并移入第四目标预览子区域(例如图4中的预览子区域47)。In the embodiment of the present application, after the electronic device moves the target preview image along the first direction according to the bending parameters of the flexible screen, the electronic device can be triggered to change the bending parameters according to the flexible screen along the first direction through the second input. In the above-mentioned second direction, the pixels in the target preview image are moved, so that the third sub-preview image in the target preview image (that is, the pixels of the third sub-preview image, such as the pixels of the sub-preview image 42 in FIG. 4 ) Move out of the third original preview sub-area (eg, preview sub-area 43 in FIG. 4 ), and move into a third target preview sub-area (eg, preview sub-area 44 in FIG. 4 ), and make the fourth sub-preview in the target preview image The image (ie, the pixels of the third sub-preview image, such as the pixels of the sub-preview image 45 in FIG. 4 ) is moved out of the fourth original preview sub-area (eg, the preview sub-area 46 in FIG. 4 ), and moved into the fourth target preview sub-area (eg preview sub-area 47 in Figure 4).
本申请实施例中,上述第二输入可以为对移动方向切换控件(例如图4中的控件48)的单击输入、双击输入、长按输入或重按输入等任意可能的输入。该第二输入可以用于触发电子设备切换移动方向切换控件的状态。其中,移动方向切换控件的不同控件状态,可以同于指示不同的移动方向,即移动方向切换控件的控件状态不同,电子设备移动目标预览图像的方向也不同。In this embodiment of the present application, the above-mentioned second input may be any possible input such as a single-click input, a double-click input, a long-press input, or a re-press input to the moving direction switching control (eg, the control 48 in FIG. 4 ). The second input can be used to trigger the electronic device to switch the state of the movement direction switch control. The different control states of the moving direction switching control may be the same as indicating different moving directions, that is, the control states of the moving direction switching control are different, and the direction of the preview image of the moving target of the electronic device is also different.
本申请实施例中,在上述第二输入为预设手势输入的情况下,预设手势输入可以为从上至下滑动的手势输入,从下至上滑动的手势输入,从右至左滑动的手势输入,从左至右滑动的手势输入等任意可能的手势输入。其中,上述第二方向可以根据预设手势输入的滑动方向确定。In the embodiment of the present application, when the second input is a preset gesture input, the preset gesture input may be a gesture input of sliding from top to bottom, a gesture input of sliding from bottom to top, and a gesture input of sliding from right to left Input, gesture input by sliding from left to right, etc. Any possible gesture input. Wherein, the above-mentioned second direction may be determined according to the sliding direction of the preset gesture input.
可选地,本申请实施例中,上述第二方向和第一方向可以为互相垂直的两个方向。例如,上述第一方向可以为从上至下的方向,第二方向可以为从左至右的方向。Optionally, in this embodiment of the present application, the second direction and the first direction may be two directions that are perpendicular to each other. For example, the above-mentioned first direction may be a top-to-bottom direction, and the second direction may be a left-to-right direction.
当然,实际实现时,上述第一方向和第二方向之间的夹角关系还可以为其它任意可能的关系,具体可以根据实际使用需求确定,本申请实施例不作限定。Of course, in actual implementation, the angle relationship between the above-mentioned first direction and the second direction may also be any other possible relationship, which may be specifically determined according to actual usage requirements, which is not limited in the embodiments of the present application.
下面再结合图4,对上述步骤203和步骤204进行示例性的说明。The above steps 203 and 204 are exemplarily described below with reference to FIG. 4 .
示例性的,假设上述第二方向为从左至右的方向,且上述第二输入为用户对移动方向切换控件的点击输入,以及沿第一方向移动后的目标预览图像为如图4中的(a)所示的预览图像,那么当用户点击移动方向切换控件时,电子设备可以按照从左至右的方向41,移动目标预览图像中的像素点,从而使得目标预览图像中的第三子预览图像42(即第三子预览图像的像素点)移出预览子区域43(即第三原始预览子区域),并移入图4中的(b)所示的预览子区域44(即第三目标预览子区域),且目标预览图像中的第四子预览图像45(即第四子预览图像的像素点)移出预览子区域46(即第四原始预览子区域),并移入图4中的(b)所示的预览子区域47(即第四目标预览子区域)。如此,电子设备可以从不同方向移动目标预览图像中的像素点的显示位置,从而可以使得获得的预览图像更加多样化。Exemplarily, it is assumed that the above-mentioned second direction is a direction from left to right, and the above-mentioned second input is the user's click input on the moving direction switching control, and the target preview image after moving in the first direction is as shown in FIG. 4 . The preview image shown in (a), then when the user clicks the moving direction switching control, the electronic device can move the pixels in the target preview image in the direction 41 from left to right, so that the third sub-pixel in the target preview image can be moved. The preview image 42 (that is, the pixels of the third sub-preview image) is moved out of the preview sub-area 43 (that is, the third original preview sub-area), and moved into the preview sub-area 44 (that is, the third target) shown in (b) in FIG. 4 . preview sub-area), and the fourth sub-preview image 45 in the target preview image (that is, the pixel points of the fourth sub-preview image) moves out of the preview sub-area 46 (that is, the fourth original preview sub-area), and moves into ( b) The preview sub-area 47 shown (ie, the fourth target preview sub-area). In this way, the electronic device can move the display positions of the pixels in the target preview image from different directions, so that the obtained preview images can be more diverse.
本申请实施例提供的预览图像显示控制方法,可以应用于从多个方向移动预览图像的场景中,由于在沿第一方向移动目标预览图像之后,还可以触发电子设备从第二方向移动目标预览图像,因此可以从多个方向更新目标预览图像中的子预览图像的显示位置,如此可以使得电子设备根据一个现实景象,获 得的预览图像的数量更多,从而可以进一步丰富电子设备获取预览图像。The preview image display control method provided by the embodiment of the present application can be applied to a scenario where the preview image is moved from multiple directions, because after moving the target preview image in the first direction, the electronic device can also be triggered to move the target preview from the second direction Therefore, the display positions of the sub-preview images in the target preview image can be updated from multiple directions, so that the electronic device can obtain more preview images according to a real scene, thereby further enriching the preview images obtained by the electronic device.
可选地,本申请实施例中,在电子设备接收上述第一输入之前,可以通过对电子设备中的预览图像调整控件的输入,触发电子设备在不同的子显示屏(例如本申请实施例中的第一子显示屏和第二子显示屏),分别显示上述目标预览图像。并且,在接收到第一输入之后,电子设备可以移动一个子显示屏(例如本申请实施例中的第二子显示屏)中显示的目标预览图像。如此,可以便于用户对比未移动的目标预览图像(例如本申请实施例中的第一子显示屏中显示的目标预览图像)和移动后的目标预览图像(例如本申请实施例中的第二子显示屏中显示的目标预览图像)之间的区别。Optionally, in this embodiment of the present application, before the electronic device receives the above-mentioned first input, the electronic device may be triggered to display on different sub-display screens (for example, in the embodiment of the present application), by inputting the preview image adjustment control in the electronic device. The first sub-display screen and the second sub-display screen) respectively display the above-mentioned target preview images. Moreover, after receiving the first input, the electronic device may move the target preview image displayed in one sub-display screen (eg, the second sub-display screen in the embodiment of the present application). In this way, it is convenient for the user to compare the preview image of the target without moving (for example, the preview image of the target displayed in the first sub-display in the embodiment of the present application) and the preview image of the target after moving (for example, the preview image of the second sub-display in the embodiment of the present application). target preview image shown in the display).
本申请实施例中,在上述步骤201之前,本申请实施例中的预览图像显示控制方法还可以包括下述的步骤205和步骤206。其中,上述步骤202具体可以通过下述的步骤202b实现。In the embodiment of the present application, before the above step 201, the preview image display control method in the embodiment of the present application may further include the following steps 205 and 206. The above step 202 can be specifically implemented by the following step 202b.
步骤205、电子设备接收用户对预览图像调整控件的第三输入。Step 205: The electronic device receives a third input from the user on the preview image adjustment control.
步骤206、电子设备响应于第三输入,在第一子显示屏和第二子显示屏,分别显示目标预览图像。Step 206 , in response to the third input, the electronic device displays the target preview image on the first sub-display screen and the second sub-display screen, respectively.
本申请实施例中,在电子设备接收上述第一输入之前,可以通过对上述预览图像调整控件的第三输入,触发电子设备在上述第一子显示屏和第二子显示屏,分别显示上述目标预览图像。In the embodiment of the present application, before the electronic device receives the above-mentioned first input, the electronic device may be triggered to display the above-mentioned target on the above-mentioned first sub-display screen and the second sub-display screen through the third input of the above-mentioned preview image adjustment control. Preview image.
可选地,本申请实施例中,上述第三输入可以为用户对预览图像调整控件的单击输入、双击输入、长按输入或重按输入等任意可能的输入,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in this embodiment of the present application, the above-mentioned third input may be any possible input, such as a single-click input, a double-click input, a long-press input, or a re-press input of the user on the preview image adjustment control, which may be determined according to actual usage requirements. , the embodiments of the present application are not limited.
可选地,本申请实施例中,上述第一子显示屏和第二子显示屏可以为柔性屏中的两个屏幕(例如折叠屏的两个子屏幕),也可以为同一个屏幕上的不同分区(例如通过弯折得到的两个子屏幕),具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in this embodiment of the present application, the above-mentioned first sub-display and second sub-display may be two screens in a flexible screen (for example, two sub-screens of a folding screen), or may be different screens on the same screen. Partitions (for example, two sub-screens obtained by bending) can be specifically determined according to actual usage requirements, which are not limited in the embodiments of the present application.
示例性地,假设上述柔性屏为折叠屏,第一子显示屏和第二子显示屏为折叠屏的两个子屏幕(分别为第一屏和第二屏),那么在拍摄预览界面的目标图像预览区域处于预览显示模式,电子设备显示如图5中的(a)所示的目标预览图像51的情况下,用户可以通过点击预览图像调整控件52,触发电子设备在如图5中的(b)所示的第一屏53和第二屏54上分别显示目标预览图像51。Exemplarily, assuming that the above-mentioned flexible screen is a folding screen, and the first sub-display and the second sub-display are two sub-screens of the folding screen (the first screen and the second screen respectively), then the target image in the shooting preview interface is The preview area is in the preview display mode, and when the electronic device displays the target preview image 51 as shown in (a) in FIG. ), the target preview images 51 are displayed on the first screen 53 and the second screen 54, respectively.
步骤202b、电子设备响应于第一输入,根据柔性屏的弯折参数,移动第二子显示屏中显示的目标预览图像,且在第一子显示屏中保持预览显示模式。Step 202b, in response to the first input, the electronic device moves the target preview image displayed in the second sub-display according to the bending parameters of the flexible screen, and maintains the preview display mode in the first sub-display.
本申请实施例中,在电子设备在第一子显示屏和第二子显示屏分别显示第一预览图像之后,如果电子设备接收到上述第一输入,那么电子设备响应于该第一输入,可以根据柔性屏的弯折参数,移动第二子显示屏中显示的目标预览图像,且在第一子显示屏中保持上述预览显示模式。In this embodiment of the present application, after the electronic device displays the first preview image on the first sub-display screen and the second sub-display screen respectively, if the electronic device receives the above-mentioned first input, the electronic device can respond to the first input According to the bending parameters of the flexible screen, the target preview image displayed in the second sub-display is moved, and the above-mentioned preview display mode is maintained in the first sub-display.
可以理解,对于上述电子设备在第一子显示屏中保持预览显示模式可以理解为:电子设备在接收到上述第一输入之后,在第一子显示屏中显示电子设备的摄像头实时采集的一帧预览图像。如此,可以便于用户参照第一子显示屏中显示的预览图像,触发电子设备调整第二子显示屏中的预览图像的显示位置,从而使得调整预览图像的方式更加直观、便捷。It can be understood that for the above-mentioned electronic device to maintain the preview display mode in the first sub-display, it can be understood that: after the electronic device receives the above-mentioned first input, the first sub-display displays a frame captured by the camera of the electronic device in real time. Preview image. In this way, it is convenient for the user to refer to the preview image displayed in the first sub-display screen and trigger the electronic device to adjust the display position of the preview image in the second sub-display screen, thereby making the adjustment of the preview image more intuitive and convenient.
需要说明的是,本申请实施例中,对于电子设备移动第二子显示屏中显示的目标预览图像的方式的相关描述,具体可以参见上述实施例中对电子设备移动目标预览图像的方式的详细描述,为避免重复,此处不再赘述。It should be noted that, in the embodiment of the present application, for the description of the manner in which the electronic device moves the target preview image displayed in the second sub-display, for details, please refer to the detailed description of the manner in which the electronic device moves the target preview image in the foregoing embodiment. The description is not repeated here in order to avoid repetition.
示例性地,在电子设备接收到第一输入之后,电子设备可以移动如图5中的(b)所示的第二屏54(即第二子显示屏)中显示的目标预览图像51,移动后的目标预览图像为如图6所示的第二屏54中显示的预览图像55。且如图6所示,电子设备在第一屏53(即第一子显示屏)中保持显示未移动前的目标预览图像51(即电子设备在第一子显示屏中保持预览显示模式)。如此,用户可以参照第一屏53中显示的目标预览图像,弯折柔性屏,从而触发电子设备移动第二屏54中显示的目标预览图像。Exemplarily, after the electronic device receives the first input, the electronic device may move the target preview image 51 displayed in the second screen 54 (ie, the second sub-display) as shown in (b) in FIG. The resulting target preview image is the preview image 55 displayed on the second screen 54 as shown in FIG. 6 . And as shown in FIG. 6 , the electronic device keeps displaying the target preview image 51 before moving on the first screen 53 (ie, the first sub-display) (ie, the electronic device keeps the preview display mode in the first sub-display). In this way, the user can refer to the target preview image displayed on the first screen 53 and bend the flexible screen, thereby triggering the electronic device to move the target preview image displayed on the second screen 54 .
本申请实施例提供的预览图像显示控制方法,可以应用于参照原预览图像,调整预览图像的场景中,由于电子设备可以在不同子显示屏中分别显示目标预览图像,从而电子设备可以分别控制不同子显示屏中显示的预览图像,因此在触发电子设备更新目标预览图像中的子预览图像的显示区域的过程中,可以对比第一子显示屏中显示的目标预览图像,触发电子设备对第二子显示屏中显示的目标预览图像中的子预览图像的显示区域进行调整,如此可以便于用户对比未移动的目标预览图像和移动后的目标预览图像之间的区别,从而使得调整预览图像的方式更加直观、便捷。The preview image display control method provided by the embodiment of the present application can be applied to the scene of adjusting the preview image with reference to the original preview image. The preview image displayed in the sub-display, so in the process of triggering the electronic device to update the display area of the sub-preview image in the target preview image, the target preview image displayed in the first sub-display can be compared, and the electronic device can be triggered to update the second preview image. The display area of the sub-preview image in the target preview image displayed in the sub-display is adjusted, so that it is convenient for the user to compare the difference between the non-moved target preview image and the moved target preview image, so as to adjust the preview image. More intuitive and convenient.
可选地,本申请实施例中,在上述步骤202b之后,本申请实施例提供的预览图像显示控制方法还可以包括下述的步骤207和步骤208。Optionally, in this embodiment of the present application, after the above step 202b, the preview image display control method provided in this embodiment of the present application may further include the following steps 207 and 208.
步骤207、电子设备接收用户对拍摄控件的第四输入。Step 207: The electronic device receives a fourth input from the user on the shooting control.
步骤208、电子设备响应于第四输入,根据柔性屏的弯折参数,移动摄像头采集的第一目标图像,得到第一拍摄图像。Step 208: In response to the fourth input, the electronic device moves the first target image collected by the camera according to the bending parameters of the flexible screen to obtain the first captured image.
其中,上述第一拍摄图像的显示效果与第二子显示屏中显示的预览图像的显示效果相同。The display effect of the first captured image is the same as the display effect of the preview image displayed in the second sub-display.
本申请实施例中,在电子设备根据柔性屏的弯折参数,移动第二子显示屏中显示的目标预览图像,且在第一子显示屏中保持预览显示模式之后,如果电子设备接收到上述第四输入,那么电子设备可以根据电子设备的柔性屏的弯折参数,移动摄像头采集的第一目标图像,从而电子设备可以得到与第二子显示屏中显示的预览图像的显示效果相同的拍摄图像,即可以得到上述第一拍摄图像。In this embodiment of the present application, after the electronic device moves the target preview image displayed in the second sub-display according to the bending parameters of the flexible screen, and keeps the preview display mode in the first sub-display, if the electronic device receives the above The fourth input, the electronic device can move the first target image captured by the camera according to the bending parameters of the flexible screen of the electronic device, so that the electronic device can obtain the same shooting effect as the preview image displayed in the second sub-display image, that is, the above-mentioned first shot image can be obtained.
可选地,本申请实施例中,上述第一目标图像可以为在电子设备接收到上述第四输入之前,电子设备的摄像头采集的最后一帧图像(即向前抓帧),也可以为在电子设备接收到第四输入之后,电子设备的摄像头采集的一帧图像(即向后抓帧)。具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in this embodiment of the present application, the above-mentioned first target image may be the last frame of image (that is, the frame is captured forward) collected by the camera of the electronic device before the electronic device receives the above-mentioned fourth input, or it may be the image of the last frame collected by the camera of the electronic device before the electronic device receives the above-mentioned fourth input. After the electronic device receives the fourth input, a frame of image is collected by the camera of the electronic device (ie, a frame is captured backwards). Specifically, it can be determined according to actual use requirements, which is not limited in the embodiment of the present application.
本申请实施例中,电子设备的柔性屏的弯折参数与上述第一目标图像中的像素点的移动距离存在映射关系,如此在电子设备接收到第四输入之后,电子设备可以根据柔性屏的弯折参数,确定第一目标图像中的像素点的移动距离,从而可以移动第一目标图像中的像素点。如此,可以得到与第二子显示屏中显示的预览图像(该预览图像为根据柔性屏的弯折角度,移动目标预览图像后得到的图像)的显示效果相同的图像,即可以得到上述第一拍摄图像。In the embodiment of the present application, there is a mapping relationship between the bending parameters of the flexible screen of the electronic device and the moving distance of the pixels in the first target image, so that after the electronic device receives the fourth input, the electronic device can The bending parameter determines the moving distance of the pixel point in the first target image, so that the pixel point in the first target image can be moved. In this way, an image with the same display effect as the preview image displayed in the second sub-display (the preview image is obtained by moving the target preview image according to the bending angle of the flexible screen) can be obtained, that is, the above-mentioned first image can be obtained. Take an image.
可选地,本申请实施例中,上述第四输入可以为用户对上述拍摄控件的单击输入、双击输入、长按输入或重按输入等任意可能的输入,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in this embodiment of the present application, the above-mentioned fourth input may be any possible input, such as a single-click input, a double-click input, a long-press input, or a re-press input of the user on the above-mentioned shooting control, which may be specifically determined according to actual use requirements. The embodiments of the present application are not limited.
可选地,本申请实施例中,在电子设备得到上述第一拍摄图像之后,电子设备执行的步骤可以包括但不限于以下至少一项:保存第一拍摄图像,显示第一拍摄图像,向目标设备发送第一拍摄图像。Optionally, in this embodiment of the present application, after the electronic device obtains the first captured image, the steps performed by the electronic device may include, but are not limited to, at least one of the following: saving the first captured image, displaying the first captured image, and sending a message to the target. The device sends the first captured image.
本申请实施例提供的预览图像显示控制方法,可以应用于获得拍摄图像的场景中,由于电子设备可以根据柔性屏的弯折参数,移动摄像头采集的第一目标图像,得到第一拍摄图像,因此可以使得电子设备得到的拍摄图像的显示效果不拘泥于电子设备的摄像头实际采集的图像,从而使得电子设备根据同一现实景物,可以得到多种拍摄图像,进而提高了电子设备拍摄得到的图像的多样性。The preview image display control method provided by the embodiment of the present application can be applied to the scene of obtaining a captured image. Since the electronic device can move the first target image captured by the camera according to the bending parameters of the flexible screen to obtain the first captured image, therefore It can make the display effect of the captured image obtained by the electronic device not limited to the image actually collected by the camera of the electronic device, so that the electronic device can obtain a variety of captured images according to the same real scene, thereby improving the diversity of the images captured by the electronic device. sex.
可选地,本申请实施例中,在上述目标图像预览区域可以包括M(M为大于1的整数)个预览分区的情况下,在电子设备接收上述第一输入之前,电子设备可以在该M个预览分区中的每个预览分区,分别显示上述目标预览图像中的部分预览图像(例如本申请实施例中的目标预览图像的一个子预览图像),其中,每个预览分区可以对应一个图像调整控件。然后,可以通过对与一个预览分区(例如本申请实施例中的目标预览分区)对应的图像调整控件的输入,触发电子设备选中该预览分区。如此,在电子设备接收到上述第一输入之后,电子设备可以根据柔性屏的弯折参数,移动该预览分区中显示的子预览图像。Optionally, in this embodiment of the present application, in the case where the target image preview area may include M (M is an integer greater than 1) preview partitions, before the electronic device receives the first input, the electronic device may Each preview partition in the preview partitions respectively displays a partial preview image in the target preview image (for example, a sub-preview image of the target preview image in the embodiment of the present application), wherein each preview partition can correspond to an image adjustment controls. Then, the electronic device may be triggered to select the preview partition by inputting an image adjustment control corresponding to a preview partition (for example, the target preview partition in the embodiment of the present application). In this way, after the electronic device receives the above-mentioned first input, the electronic device can move the sub-preview image displayed in the preview section according to the bending parameters of the flexible screen.
可选地,本申请实施例中,上述步骤201之前,本申请实施例提供的预览图像显示控制方法还可以包括下述的步骤209-步骤211。其中,上述步骤202具体可以通过下述的步骤202c实现。Optionally, in the embodiment of the present application, before the above step 201, the preview image display control method provided by the embodiment of the present application may further include the following steps 209 to 211. The above step 202 can be specifically implemented by the following step 202c.
步骤209、电子设备在M个预览分区中的每个预览分区,分别显示目标预览图像的一个子预览图像。Step 209 , the electronic device displays a sub-preview image of the target preview image in each of the M preview partitions.
其中,上述M个预览分区中的每个预览分区显示的子预览图像可以不同,每个预览分区可以对应一个图像调整控件。Wherein, the sub-preview images displayed in each of the above-mentioned M preview partitions may be different, and each preview partition may correspond to an image adjustment control.
本申请实施例中,在上述目标图像预览区域包括M个预览分区的情况下,在电子设备采集到上述目标预览图像之后,电子设备可以在该M个预览分区中的每个预览分区中,分别显示目标预览图像的一个子预览图像。In the embodiment of the present application, in the case where the above-mentioned target image preview area includes M preview partitions, after the electronic device collects the above-mentioned target preview image, the electronic device may, in each of the M preview partitions, separate Displays a sub-preview image of the target preview image.
可以理解,上述M个预览分区中显示的子预览图像可以组成上述目标预览图像。It can be understood that the sub-preview images displayed in the above-mentioned M preview partitions may constitute the above-mentioned target preview image.
可选地,本申请实施例中,上述M个预览分区中的一个预览分区可以为柔性屏的一个子显示屏,也可以为柔性屏的显示屏中的一个显示区域,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in the embodiment of the present application, one preview partition in the above-mentioned M preview partitions may be a sub-display of the flexible screen, or may be a display area in the display of the flexible screen, which may be specifically based on actual usage requirements. It is confirmed that the embodiments of the present application are not limited.
步骤210、电子设备接收用户对目标图像调整控件的第五输入。Step 210: The electronic device receives a fifth input from the user on the target image adjustment control.
其中,上述目标图像调整控件可以为与上述M个预览分区中的目标预览分区对应的图像调整控件。Wherein, the target image adjustment control may be an image adjustment control corresponding to the target preview partition in the M preview partitions.
步骤211、电子设备响应于第五输入,选中目标预览分区。Step 211: The electronic device selects the target preview partition in response to the fifth input.
步骤202c、电子设备响应于第一输入,根据柔性屏的弯折参数,移动目标预览分区中显示的子预览图像。Step 202c, in response to the first input, the electronic device moves the sub-preview image displayed in the target preview section according to the bending parameters of the flexible screen.
本申请实施例中,在电子设备在上述M个预览分区中的每个预览分区,分别显示目标预览图像的一 个子预览图像之后,如果用户想要触发电子设备移动某一预览分区(即上述目标预览分区)中显示的子预览图像,那么可以通过对与该目标预览分区对应的目标图像调整控件的第五输入,触发电子设备选中该目标预览分区。然后,用户可以通过上述第一输入,触发电子设备根据柔性屏的弯折参数,移动目标预览分区中显示的子预览图像。In the embodiment of the present application, after the electronic device displays a sub-preview image of the target preview image in each of the above-mentioned M preview partitions, if the user wants to trigger the electronic device to move a certain preview partition (that is, the above-mentioned target preview image) sub-preview image displayed in the preview partition), then the electronic device can be triggered to select the target preview partition through the fifth input to the target image adjustment control corresponding to the target preview partition. Then, the user can trigger the electronic device to move the sub-preview image displayed in the target preview partition according to the bending parameters of the flexible screen through the above-mentioned first input.
可选地,本申请实施例中,上述第五输入可以为用户对上述目标图像调整控件的单击输入、双击输入、长按输入或重按输入等任意可能的输入,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in this embodiment of the present application, the fifth input may be any possible input, such as a single-click input, a double-click input, a long-press input, or a re-press input by the user on the target image adjustment control, and the specific input may be based on actual usage requirements. It is confirmed that the embodiments of the present application are not limited.
可选地,本申请实施例中,上述至少两个预览分区中的每个预览分区中可以显示有一个图像调整控件,显示在一个预览分区中的图像调整控件即为与该预览分区对应的图像调整控件。Optionally, in this embodiment of the present application, an image adjustment control may be displayed in each of the above-mentioned at least two preview partitions, and the image adjustment control displayed in one preview partition is the image corresponding to the preview partition. Adjust the controls.
示例1,假设上述目标预览分区为图7中的(a)所示的预览分区S1,上述目标图像调整控件为图7中的(a)所示的控件61,当用户点击控件61时,电子设备可以选中预览分区S1。如此,当用户将柔性屏的第一屏与第二屏之间的夹角从180度调整至135度时,电子设备可以确定柔性屏的弯折角度为45度,从而电子设备可以移动预览分区S1中显示的子预览图像62,从而得到如图7中的(b)所示的移动后的子预览图像63。Example 1, assuming that the above-mentioned target preview partition is the preview partition S1 shown in (a) in FIG. 7 , and the above-mentioned target image adjustment control is the control 61 shown in (a) in FIG. 7 , when the user clicks the control 61, the electronic The device can select the preview partition S1. In this way, when the user adjusts the angle between the first screen and the second screen of the flexible screen from 180 degrees to 135 degrees, the electronic device can determine that the bending angle of the flexible screen is 45 degrees, so that the electronic device can move the preview partition The sub-preview image 62 displayed in S1, thereby obtaining the moved sub-preview image 63 as shown in (b) in FIG. 7 .
示例2,假设上述目标预览分区为图8中的(a)所示的预览分区S2,上述目标图像调整控件为图8中的(a)所示的控件64,当用户点击控件64时,电子设备可以选中预览分区S2。如此,当用户将柔性屏的第一屏与第二屏之间的夹角从135度调整至90度时,电子设备可以确定柔性屏的弯折角度为45度,从而电子设备可以移动预览分区S2中显示的子预览图像65,从而得到如图8中的(b)所示的移动后的子预览图像66。Example 2, assuming that the above-mentioned target preview partition is the preview partition S2 shown in (a) in FIG. 8, and the above-mentioned target image adjustment control is the control 64 shown in (a) in FIG. 8, when the user clicks the control 64, the electronic The device can select the preview partition S2. In this way, when the user adjusts the angle between the first screen and the second screen of the flexible screen from 135 degrees to 90 degrees, the electronic device can determine that the bending angle of the flexible screen is 45 degrees, so that the electronic device can move the preview partition The sub-preview image 65 displayed in S2, thereby obtaining the moved sub-preview image 66 as shown in (b) in FIG. 8 .
需要说明的是,本申请实施例中,对于电子设备移动目标预览分区中显示的子预览图像的方式的相关描述,具体可以参见上述实施例中对电子设备移动目标预览图像的方式的详细描述,为避免重复,此处不再赘述。It should be noted that, in the embodiment of the present application, for the relevant description of the mode of the sub-preview image displayed in the preview partition of the moving target of the electronic device, please refer to the detailed description of the mode of the preview image of the moving target of the electronic device in the above embodiment. To avoid repetition, details are not repeated here.
本申请实施例提供的预览图像显示控制方法,可以应用于移动预览图像中的子预览图像的场景中,由于目标预览图像可以以子预览图像的形式显示在不同的预览分区中,因此在移动预览图像的过程中,可以实现部分预览分区中的预览图像的显示位置调整,即可以以预览分区为粒度,调整目标预览图像中的部分预览图像的显示位置,如此可以使得调整目标预览图像的粒度更小(更细),从而可以进一步得到更多的预览图像。The preview image display control method provided by the embodiment of the present application can be applied to a scenario of moving a sub-preview image in a preview image. Since the target preview image can be displayed in different preview partitions in the form of a sub-preview During the image process, the display position of the preview image in the partial preview partition can be adjusted, that is, the preview partition can be used as the granularity to adjust the display position of the partial preview image in the target preview image, which can make the adjustment of the granularity of the target preview image more accurate. Smaller (thinner), so you can further get more preview images.
可选地,本申请实施例中,在上述步骤202c之后,本申请实施例提供的预览图像显示控制方法还可以包括下述的步骤212和步骤213。Optionally, in the embodiment of the present application, after the above step 202c, the preview image display control method provided in the embodiment of the present application may further include the following steps 212 and 213.
步骤214、电子设备接收用户对拍摄控件的第六输入。Step 214: The electronic device receives a sixth input from the user on the shooting control.
步骤215、电子设备响应于第六输入,根据柔性屏的弯折参数,移动摄像头采集的第二目标图像中与目标预览分区对应的图像,得到第二拍摄图像。Step 215: In response to the sixth input, the electronic device moves the image corresponding to the target preview partition in the second target image collected by the camera according to the bending parameters of the flexible screen to obtain the second captured image.
其中,上述第二拍摄图像的显示效果可以与上述M个预览分区中显示的预览图像显示效果相同。The display effect of the second captured image may be the same as the display effect of the preview images displayed in the M preview partitions.
本申请实施例中,在电子设备移动目标预览分区中显示的子预览图像之后,用户可以通过对拍摄控件的第六输入,触发电子设备根据电子设备的柔性屏的弯折参数,移动摄像头采集的第二目标图像中与目标预览分区对应的图像,从而可以得到与M个预览分区中显示的预览图像的显示效果相同的拍摄图像,即可以得到上述第二拍摄图像。In this embodiment of the present application, after the electronic device moves the sub-preview image displayed in the target preview partition, the user can trigger the electronic device to move the camera to move the image captured by the camera according to the bending parameters of the flexible screen of the electronic device through the sixth input of the shooting control. The image corresponding to the target preview partition in the second target image can obtain a captured image with the same display effect as the preview images displayed in the M preview partitions, that is, the above-mentioned second captured image can be obtained.
可选地,本申请实施例中,上述第二目标图像可以为在电子设备接收到上述第六输入之前,电子设备的摄像头采集的最后一帧图像(即向前抓帧),也可以为在电子设备接收到第六输入之后,电子设备的摄像头采集的一帧图像(即向后抓帧)。具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in this embodiment of the present application, the above-mentioned second target image may be the last frame of image collected by the camera of the electronic device before the electronic device receives the above-mentioned sixth input (that is, the frame is captured forward), or it may be the image of the last frame collected by the camera of the electronic device before the electronic device receives the above-mentioned sixth input. After the electronic device receives the sixth input, a frame of image is collected by the camera of the electronic device (ie, a frame is captured backwards). Specifically, it can be determined according to actual use requirements, which is not limited in the embodiment of the present application.
本申请实施例中,电子设备的柔性屏的弯折参数与上述第二目标图像中与目标预览分区对应的图像的像素点的移动距离存在映射关系,如此在电子设备接收到第六输入之后,电子设备可以根据柔性屏的弯折参数,确定第二目标图像中与目标预览分区对应的图像的像素点的移动距离,从而可以第二目标图像中与目标预览分区对应的图像的像素点。如此,可以得到与M个预览分区中显示的预览图像的显示效果相同的图像,即可以得到上述第二拍摄图像。In the embodiment of the present application, there is a mapping relationship between the bending parameters of the flexible screen of the electronic device and the moving distance of the pixels of the image corresponding to the target preview partition in the second target image, so that after the electronic device receives the sixth input, The electronic device can determine the moving distance of the pixels of the image corresponding to the target preview partition in the second target image according to the bending parameters of the flexible screen, so that the pixels of the image corresponding to the target preview partition in the second target image can be determined. In this way, an image with the same display effect as the preview images displayed in the M preview partitions can be obtained, that is, the above-mentioned second captured image can be obtained.
需要说明的是,上述M个预览分区中显示的预览图像是指:该M个预览分区中的每个预览分区中显示的预览图像拼接后的图像。It should be noted that the preview images displayed in the above-mentioned M preview partitions refer to: an image obtained by splicing the preview images displayed in each of the M preview partitions.
可选地,本申请实施例中,上述第六输入可以为用户对上述拍摄控件的单击输入、双击输入、长按 输入或重按输入等任意可能的输入,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in this embodiment of the present application, the above-mentioned sixth input may be any possible input, such as a single-click input, a double-click input, a long-press input, or a re-press input of the user on the above-mentioned shooting control, which may be specifically determined according to actual use requirements. The embodiments of the present application are not limited.
可选地,本申请实施例中,在电子设备得到上述第二拍摄图像之后,电子设备执行的步骤可以包括但不限于:保存第二拍摄图像,显示第二拍摄图像,向目标设备发送第二拍摄图像。Optionally, in this embodiment of the present application, after the electronic device obtains the second captured image, the steps performed by the electronic device may include, but are not limited to: saving the second captured image, displaying the second captured image, and sending the second captured image to the target device. Take an image.
本申请实施例提供的预览图像显示控制方法,可以应用于获得拍摄图像的场景中,由于电子设备可以根据柔性屏的弯折参数,移动摄像头采集的第二目标图像中与目标预览分区对应的图像,得到第二拍摄图像,因此可以使得电子设备得到的拍摄图像的显示效果不拘泥于电子设备的摄像头实际采集的图像,从而使得电子设备根据同一现实景物,可以得到多种拍摄图像,进而提高了电子设备拍摄得到的图像的多样性。The preview image display control method provided by the embodiment of the present application can be applied to a scene where a captured image is obtained, because the electronic device can move the image corresponding to the target preview partition in the second target image collected by the camera according to the bending parameters of the flexible screen , to obtain the second captured image, so that the display effect of the captured image obtained by the electronic device is not limited to the image actually collected by the camera of the electronic device, so that the electronic device can obtain a variety of captured images according to the same real scene, thereby improving the The variety of images captured by electronic devices.
下面将以本申请实施例中以预览图像显示控制装置执行预览图像显示控制方法为例,说明本申请实施例提供的预览图像显示控制装置。The preview image display control device provided by the embodiment of the present application will be described below by taking the preview image display control device for executing the preview image display control method in the embodiment of the present application as an example.
如图9所示,本申请实施例提供一种预览图像显示控制装置700,该预览图像显示控制装置700包括:接收模块701和移动模块702。接收模块701,用于在拍摄预览界面的目标图像预览区域处于预览显示模式的情况下,接收第一输入,第一输入为触发预览图像显示控制装置的柔性屏弯折的输入;移动模块702,用于响应于接收模块701接收的第一输入,根据柔性屏的弯折参数,移动目标预览图像,以使目标预览图像中的第一子预览图像移出第一原始预览子区域,并移入第一目标预览子区域,且使目标预览图像中的第二子预览图像移出第二原始预览子区域,并移入第二目标预览子区域;其中,目标预览图像为摄像头实时采集的一帧预览图像,目标图像预览区域包括第一原始预览子区域和第二原始预览子区域,第一子预览图像为接收第一输入之前第一原始预览子区域中的预览图像,第二子预览图像为接收第一输入之前第二原始预览子区域中的预览图像;目标图像预览区域包括第一目标预览子区域和第二目标预览子区域。As shown in FIG. 9 , an embodiment of the present application provides a preview image display control device 700 . The preview image display control device 700 includes a receiving module 701 and a moving module 702 . The receiving module 701 is configured to receive a first input when the target image preview area of the shooting preview interface is in the preview display mode, and the first input is an input that triggers the bending of the flexible screen of the preview image display control device; the moving module 702, It is used to move the target preview image according to the bending parameters of the flexible screen in response to the first input received by the receiving module 701, so that the first sub-preview image in the target preview image moves out of the first original preview sub-area and into the first sub-preview sub-region. The target preview sub-area, and the second sub-preview image in the target preview image is moved out of the second original preview sub-area and moved into the second target preview sub-area; wherein, the target preview image is a frame of preview image collected in real time by the camera, and the target preview image is The image preview area includes a first original preview sub-area and a second original preview sub-area. The first sub-preview image is the preview image in the first original preview sub-area before receiving the first input, and the second sub-preview image is the preview image that receives the first input. The previous preview image in the second original preview sub-area; the target image preview area includes the first target preview sub-area and the second target preview sub-area.
本申请实施例提供一种预览图像显示控制装置,可以应用于在采集预览图像的过程中,调整预览图像的场景中,由于在目标图像预览区域处于预览显示模式,用户可以通过弯折预览图像显示控制装置的柔性屏,触发预览图像显示控制装置移动目标预览图像,从而更新目标预览图像中的子预览图像的显示区域,因此在预览图像显示控制装置采集预览图像的过程中,用户可以根据实际使用需求,弯折预览图像显示控制装置的柔性屏,以更新预览图像中的子预览图像的显示区域,如此可以实现目标图像预览区域中显示的目标预览图像便捷的调整,从而在目标预览图像移动之后,可以得到不同的预览图像,进而可以减小现实景象对预览图像显示控制装置获取预览图像的约束程度,以提高预览图像显示控制装置获取的预览图像的多样性。An embodiment of the present application provides a preview image display control device, which can be applied to a scene in which a preview image is adjusted in the process of collecting a preview image. Since the preview area of the target image is in the preview display mode, the user can display the preview image by bending it. The flexible screen of the control device triggers the preview image display control device to move the target preview image, thereby updating the display area of the sub-preview image in the target preview image. Therefore, in the process of collecting the preview image by the preview image display control device, the user can It is required to bend the flexible screen of the preview image display control device to update the display area of the sub-preview image in the preview image, so that the target preview image displayed in the target image preview area can be easily adjusted, so that after the target preview image moves , different preview images can be obtained, thereby reducing the restriction degree of the real scene on the preview image display control device for obtaining the preview image, so as to improve the diversity of the preview images obtained by the preview image display control device.
可选地,移动模块,具体用于根据柔性屏的弯折参数,沿第一方向,移动目标预览图像;其中,待移动的子预览图像,根据柔性屏的弯折角度和弯折方向中的至少一项确定。Optionally, the moving module is specifically configured to move the target preview image along the first direction according to the bending parameters of the flexible screen; wherein, the sub-preview image to be moved is based on the bending angle and bending direction of the flexible screen. At least one is ok.
本申请实施例提供一种预览图像显示控制装置,可以应用于移动采集的预览图像的场景中,由于可以根据柔性屏的弯折参数,沿第一方向,移动目标预览图像,因此可以使得预览图像显示控制装置的摄像头实时采集的预览图像沿第一方向变化,从而可以提高获取预览图像的灵活性,并增加获取预览图像的趣味性。The embodiment of the present application provides a preview image display control device, which can be applied to the scene of the preview image collected by moving. Since the target preview image can be moved along the first direction according to the bending parameters of the flexible screen, the preview image can be moved in the first direction. The preview image captured in real time by the camera of the display control device changes along the first direction, so that the flexibility of acquiring the preview image can be improved, and the interest of acquiring the preview image can be increased.
可选地,接收模块,还用于在移动模块根据柔性屏的弯折参数,沿第一方向,移动目标预览图像之后,接收用户的第二输入,第二输入为对移动方向切换控件的输入或为预设手势输入;移动模块,还用于响应于接收模块接收的第二输入,根据柔性屏的弯折参数,沿第二方向,移动目标预览图像,以使目标预览图像中的第三子预览图像移出第三原始预览子区域,并移入第三目标预览子区域,且使目标预览图像中的第四子预览图像移出第四原始预览子区域,并移入第四目标预览子区域;其中,第二方向根据移动方向切换控件的控件状态或预设手势输入的输入参数确定;目标图像预览区域包括第三原始预览子区域和第四原始预览子区域,第三子预览图像为第三原始预览子区域中的预览图像,第四子预览图像为第四原始预览子区域中的预览图像;目标图像预览区域包括第三目标预览子区域和第四目标预览子区域。Optionally, the receiving module is further configured to receive a second input from the user after the moving module moves the target preview image along the first direction according to the bending parameters of the flexible screen, where the second input is an input to the moving direction switching control. Or a preset gesture input; the moving module is further configured to, in response to the second input received by the receiving module, move the target preview image along the second direction according to the bending parameters of the flexible screen, so that the third target preview image in the target preview image is moved. The sub-preview image is moved out of the third original preview sub-area and moved into the third target preview sub-area, and the fourth sub-preview image in the target preview image is moved out of the fourth original preview sub-area and moved into the fourth target preview sub-area; wherein , the second direction is determined according to the control state of the moving direction switching control or the input parameters of the preset gesture input; the target image preview area includes a third original preview sub-area and a fourth original preview sub-area, and the third sub-preview image is the third original preview image. The preview image in the preview sub-area, the fourth sub-preview image is the preview image in the fourth original preview sub-area; the target image preview area includes the third target preview sub-area and the fourth target preview sub-area.
本申请实施例提供一种预览图像显示控制装置,可以应用于从多个方向移动预览图像的场景中,由于在沿第一方向移动目标预览图像之后,还可以触发预览图像显示控制装置从第二方向移动目标预览图像,因此可以从多个方向更新目标预览图像中的子预览图像的显示位置,如此可以使得预览图像显示控制装置根据一个现实景象,获得的预览图像的数量更多,从而可以进一步丰富预览图像显示控制装置获取预览图像。An embodiment of the present application provides a preview image display control device, which can be applied to a scenario in which a preview image is moved from multiple directions. After the target preview image is moved in a first direction, the preview image display control device can also be triggered to move from a second The target preview image is moved in the direction, so the display positions of the sub-preview images in the target preview image can be updated from multiple directions, so that the preview image display control device can obtain more preview images according to a real scene, so that further The rich preview image display control device acquires the preview image.
可选地,预览图像显示控制装置还包括显示模块;接收模块,还用于在接收第一输入之前,接收用户对预览图像调整控件的第三输入;显示模块,用于响应于接收模块接收的第三输入,在第一子显示屏和第二子显示屏中,分别显示目标预览图像;移动模块,具体用于根据柔性屏的弯折参数,移动第二子显示屏中显示的目标预览图像,且在第一子显示屏中保持预览显示模式。Optionally, the preview image display control device further includes a display module; the receiving module is further configured to receive a third input from the user on the preview image adjustment control before receiving the first input; the display module is configured to respond to the received by the receiving module. The third input is to display the target preview image in the first sub-display and the second sub-display respectively; the moving module is specifically used to move the target preview image displayed in the second sub-display according to the bending parameters of the flexible screen , and keep the preview display mode in the first sub-display.
本申请实施例提供一种预览图像显示控制装置,可以应用于参照原预览图像,调整预览图像的场景中,由于预览图像显示控制装置可以在不同子显示屏中分别显示目标预览图像,从而预览图像显示控制装置可以分别控制不同子显示屏中显示的预览图像,因此在触发预览图像显示控制装置更新目标预览图像中的子预览图像的显示区域的过程中,可以对比第一子显示屏中显示的目标预览图像,触发预览图像显示控制装置对第二子显示屏中显示的目标预览图像中的子预览图像的显示区域进行调整,如此可以便于用户对比未移动的目标预览图像和移动后的目标预览图像之间的区别,从而使得调整预览图像的方式更加直观、便捷。The embodiment of the present application provides a preview image display control device, which can be applied to a scene where the preview image is adjusted by referring to the original preview image. The display control device can respectively control the preview images displayed in different sub-displays, so in the process of triggering the preview image display control device to update the display area of the sub-preview images in the target preview image, the preview images displayed in the first sub-display can be compared with those displayed in the first sub-display. The target preview image, triggering the preview image display control device to adjust the display area of the sub-preview image in the target preview image displayed in the second sub-display, so that it is convenient for the user to compare the unmoved target preview image and the moved target preview image The difference between the images makes the adjustment of the preview image more intuitive and convenient.
可选地,预览图像显示控制装置还包括处理模块;接收模块,还用于在移动模块根据柔性屏的弯折参数,移动第二子显示屏中显示的目标预览图像,且在第一子显示屏中保持预览显示模式之后,接收用户对拍摄控件的第四输入;处理模块,用于响应于接收模块接收的第四输入,根据弯折参数,移动摄像头采集的第一目标图像,得到第一拍摄图像,第一拍摄图像的显示效果与第二子显示屏中显示的预览图像的显示效果相同。Optionally, the preview image display control device further includes a processing module; a receiving module is further configured to move the target preview image displayed in the second sub-display in the moving module according to the bending parameters of the flexible screen, and display it in the first sub-display. After the preview display mode is maintained in the screen, the fourth input from the user to the shooting control is received; the processing module is used for, in response to the fourth input received by the receiving module, according to the bending parameters, moving the first target image collected by the camera to obtain the first target image. Taking an image, the display effect of the first captured image is the same as the display effect of the preview image displayed in the second sub-display.
本申请实施例提供一种预览图像显示控制装置,可以应用于获得拍摄图像的场景中,由于预览图像显示控制装置可以根据柔性屏的弯折参数,移动摄像头采集的第一目标图像,得到第一拍摄图像,因此可以使得预览图像显示控制装置得到的拍摄图像的显示效果不拘泥于电子设备的摄像头实际采集的图像,从而使得预览图像显示控制装置根据同一现实景物,可以得到多种拍摄图像,进而提高了预览图像显示控制装置拍摄得到的图像的多样性。An embodiment of the present application provides a preview image display control device, which can be applied to a scene in which a captured image is obtained. Since the preview image display control device can move the first target image collected by the camera according to the bending parameters of the flexible screen, obtain the first target image. Therefore, the display effect of the captured image obtained by the preview image display control device is not limited to the image actually collected by the camera of the electronic device, so that the preview image display control device can obtain a variety of captured images according to the same real scene, and then The variety of images captured by the preview image display control device is improved.
可选地,目标图像预览区域包括M个预览分区,M为大于1的整数;预览图像显示控制装置还包括显示模块和选中模块;显示模块,用于在接收模块接收第一输入之前,在M个预览分区中的每个预览区域,分别显示目标预览图像的一个子预览图像,每个预览分区显示的子预览图像不同,每个预览分区对应一个图像调整控件;接收模块,还用于接收用户对目标图像调整控件的第五输入,目标图像调整控件为与M个预览分区中的目标预览分区对应的图像调整控件;选中模块,用于响应于接收模块接收的第五输入,选中目标预览分区中显示的子预览图像;移动模块,具体用于根据柔性屏的弯折参数,移动目标预览分区中显示的子预览图像。Optionally, the target image preview area includes M preview partitions, where M is an integer greater than 1; the preview image display control device further includes a display module and a selection module; Each preview area in the preview partitions respectively displays a sub-preview image of the target preview image, the sub-preview images displayed in each preview partition are different, and each preview partition corresponds to an image adjustment control; the receiving module is also used to receive user To the fifth input of the target image adjustment control, the target image adjustment control is an image adjustment control corresponding to the target preview partition in the M preview partitions; the selected module is used to select the target preview partition in response to the fifth input received by the receiving module The sub-preview image displayed in the sub-preview; the moving module is specifically used to move the sub-preview image displayed in the target preview partition according to the bending parameters of the flexible screen.
本申请实施例提供一种预览图像显示控制装置,可以应用于移动预览图像中的子预览图像的场景中,由于目标预览图像可以以子预览图像的形式显示在不同的预览分区中,因此在移动预览图像的过程中,可以实现部分预览分区中的预览图像的显示位置调整,即可以以预览分区为粒度,调整目标预览图像中的部分预览图像的显示位置,如此可以使得调整目标预览图像的粒度更小(更细),从而可以进一步得到更多的预览图像。An embodiment of the present application provides a preview image display control device, which can be applied to a scenario of moving a sub-preview image in a preview image. Since the target preview image can be displayed in different preview partitions in the form of In the process of previewing images, it is possible to adjust the display position of the preview images in some preview partitions, that is, the preview partition can be used as the granularity to adjust the display positions of some preview images in the target preview image, so that the granularity of the target preview image can be adjusted. Smaller (thinner), so that further preview images can be obtained.
可选地,预览图像显示控制装置还包括处理模块;接收模块,还用于在移动模块移动目标预览分区中显示的子预览图像之后,接收用户对拍摄控件的第六输入;处理模块,用于响应于接收模块接收的第六输入,根据弯折参数,处移动摄像头采集的第二目标图像中与目标预览分区对应的图像,得到第二拍摄图像,第二拍摄图像的显示效果与M个预览分区中显示的预览图像的显示效果相同。Optionally, the preview image display control device further includes a processing module; a receiving module is further configured to receive a sixth input from the user to the shooting control after the sub-preview image displayed in the target preview partition is moved by the moving module; the processing module is configured to: In response to the sixth input received by the receiving module, according to the bending parameters, move the image corresponding to the target preview partition in the second target image collected by the camera to obtain the second captured image, and the display effect of the second captured image is the same as the M previews. The preview image displayed in the section is displayed in the same way.
本申请实施例提供一种预览图像显示控制装置,可以应用于获得拍摄图像的场景中,由于预览图像显示控制装置可以根据柔性屏的弯折参数,移动摄像头采集的第二目标图像中与目标预览分区对应的图像,得到第二拍摄图像,因此可以使得预览图像显示控制装置得到的拍摄图像的显示效果不拘泥于电子设备的摄像头实际采集的图像,从而使得预览图像显示控制装置根据同一现实景物,可以得到多种拍摄图像,进而提高了预览图像显示控制装置拍摄得到的图像的多样性。An embodiment of the present application provides a preview image display control device, which can be applied to a scene where a captured image is obtained. Because the preview image display control device can, according to the bending parameters of the flexible screen, match the second target image collected by the mobile camera with the target preview. The image corresponding to the partition is obtained to obtain the second captured image, so that the display effect of the captured image obtained by the preview image display control device is not limited to the image actually collected by the camera of the electronic device, so that the preview image display control device can be based on the same real scene. A variety of captured images can be obtained, thereby improving the diversity of images captured by the preview image display control device.
本申请实施例中的预览图像显示控制装置可以是装置,也可以是电子设备中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实 施例不作具体限定。The preview image display control device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in an electronic device. The apparatus may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). assistant, PDA), etc., the non-mobile electronic device may be a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which are not specifically limited in the embodiments of the present application.
本申请实施例中的预览图像显示控制装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The preview image display control device in the embodiment of the present application may be a device with an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
本申请实施例提供的预览图像显示控制装置能够实现上述方法实施例实现的各个过程,为避免重复,这里不再赘述。The preview image display control apparatus provided by the embodiment of the present application can implement each process implemented by the foregoing method embodiment, and in order to avoid repetition, details are not repeated here.
可选地,如图10所示,本申请实施例还提供一种电子设备800,包括处理器801,存储器802,存储在存储器802上并可在处理器801上运行的程序或指令,该程序或指令被处理器801执行时实现上述预览图像显示控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 10 , an embodiment of the present application further provides an electronic device 800, including a processor 801, a memory 802, a program or instruction stored in the memory 802 and executable on the processor 801, the program Or when the instruction is executed by the processor 801, each process of the above-mentioned embodiment of the preview image display control method can be implemented, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
需要说明的是,本申请实施例中的电子设备包括上述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
图11为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 11 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、以及处理器110等部件。The electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110, etc. part.
本领域技术人员可以理解,电子设备100还可以包括给各个部件供电的电源111(比如电池),电源可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图11中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 100 may also include a power supply 111 (such as a battery) for supplying power to various components, and the power supply may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and Power management and other functions. The structure of the electronic device shown in FIG. 11 does not constitute a limitation on the electronic device. The electronic device may include more or less components than those shown in the figure, or combine some components, or arrange different components, which will not be repeated here. .
其中,用户输入单元107,用于在拍摄预览界面的目标图像预览区域处于预览显示模式的情况下,接收第一输入,第一输入为触发电子设备的柔性屏弯折的输入;处理器110,用于响应于用户输入单元107接收的第一输入,根据柔性屏的弯折参数,移动目标预览图像,以使目标预览图像中的第一子预览图像移出第一原始预览子区域,并移入第一目标预览子区域,且使目标预览图像中的第二子预览图像移出第二原始预览子区域,并移入第二目标预览子区域;其中,目标预览图像为摄像头实时采集的一帧预览图像,目标图像预览区域包括第一原始预览子区域和第二原始预览子区域,第一子预览图像为接收第一输入之前第一原始预览子区域中的预览图像,第二子预览图像为接收第一输入之前第二原始预览子区域中的预览图像;目标图像预览区域包括第一目标预览子区域和第二目标预览子区域。The user input unit 107 is configured to receive a first input when the target image preview area of the shooting preview interface is in the preview display mode, and the first input is an input that triggers the bending of the flexible screen of the electronic device; the processor 110, It is used to move the target preview image according to the bending parameters of the flexible screen in response to the first input received by the user input unit 107, so that the first sub-preview image in the target preview image is moved out of the first original preview sub-area and into the first sub-preview sub-area. a target preview sub-area, and the second sub-preview image in the target preview image is moved out of the second original preview sub-area and moved into the second target preview sub-area; wherein, the target preview image is a frame of preview image collected in real time by the camera, The target image preview area includes a first original preview sub-area and a second original preview sub-area, the first sub-preview image is the preview image in the first original preview sub-area before receiving the first input, and the second sub-preview image is the preview image in the first original preview sub-area before receiving the first input. The preview image in the previous second original preview sub-area is input; the target image preview area includes a first target preview sub-area and a second target preview sub-area.
本申请实施例提供一种电子设备,可以应用于在采集预览图像的过程中,调整预览图像的场景中,由于在目标图像预览区域处于预览显示模式,用户可以通过弯折电子设备的柔性屏,触发电子设备移动目标预览图像,从而更新目标预览图像中的子预览图像的显示区域,因此在电子设备采集预览图像的过程中,用户可以根据实际使用需求,弯折电子设备的柔性屏,以更新预览图像中的子预览图像的显示区域,如此可以实现目标图像预览区域中显示的目标预览图像便捷的调整,从而在目标预览图像移动之后,可以得到不同的预览图像,进而可以减小现实景象对电子设备获取预览图像的约束程度,以提高电子设备获取的预览图像的多样性。The embodiment of the present application provides an electronic device, which can be applied to a scene in which a preview image is adjusted in the process of collecting a preview image. Since the preview area of the target image is in a preview display mode, a user can bend the flexible screen of the electronic device to Trigger the electronic device to move the target preview image, so as to update the display area of the sub-preview image in the target preview image. Therefore, during the process of collecting the preview image by the electronic device, the user can bend the flexible screen of the electronic device according to the actual use requirements. The display area of the sub-preview image in the preview image, so that the target preview image displayed in the target image preview area can be easily adjusted, so that after the target preview image moves, different preview images can be obtained, which can reduce the impact of the real scene. The degree of constraint of the electronic device to obtain the preview image, so as to improve the diversity of the preview image obtained by the electronic device.
可选地,处理器110,具体用于根据柔性屏的弯折参数,沿第一方向,移动目标预览图像;其中,待移动的子预览图像,根据柔性屏的弯折角度和弯折方向中的至少一项确定。Optionally, the processor 110 is specifically configured to move the target preview image along the first direction according to the bending parameters of the flexible screen; wherein, the sub-preview image to be moved is determined according to the bending angle and bending direction of the flexible screen. at least one of them is determined.
本申请实施例提供一种电子设备,可以应用于移动采集的预览图像的场景中,由于可以根据柔性屏的弯折参数,沿第一方向,移动目标预览图像,因此可以使得电子设备的摄像头实时采集的预览图像沿第一方向变化,从而可以提高获取预览图像的灵活性,并增加获取预览图像的趣味性。The embodiment of the present application provides an electronic device, which can be applied to a scene of a preview image collected by moving. Since the preview image of the target can be moved along the first direction according to the bending parameters of the flexible screen, the camera of the electronic device can be moved in real time. The collected preview image changes along the first direction, so that the flexibility of obtaining the preview image can be improved, and the interest of obtaining the preview image can be increased.
可选地,用户输入单元107,还用于在处理器110根据柔性屏的弯折参数,沿第一方向,移动目标预览图像之后,接收用户的第二输入,第二输入为对移动方向切换控件的输入或为预设手势输入;处理器110,还用于响应于用户输入单元107接收的第二输入,根据柔性屏的弯折参数,沿第二方向,移动目标预览图像,以使目标预览图像中的第三子预览图像移出第三原始预览子区域,并移入第三目标预览子区域,且使目标预览图像中的第四子预览图像移出第四原始预览子区域,并移入第四目标预览子区域;其中,第二方向根据移动方向切换控件的控件状态或预设手势输入的输入参数确定;目标图像预览区域包括第三原始预览子区域和第四原始预览子区域,第三子预览图像为第三原始预览子区域中的预览图像,第四子预览图像为第四原始预览子区域中的预览图像;目标图像预览区域包括第三目标预览子区域和第四目标预览子区域。Optionally, the user input unit 107 is further configured to receive a second input from the user after the processor 110 moves the target preview image along the first direction according to the bending parameters of the flexible screen, and the second input is to switch the moving direction. The input of the control may be a preset gesture input; the processor 110 is further configured to, in response to the second input received by the user input unit 107, move the target preview image along the second direction according to the bending parameters of the flexible screen, so that the target The third sub-preview image in the preview image is moved out of the third original preview sub-area and into the third target preview sub-area, and the fourth sub-preview image in the target preview image is moved out of the fourth original preview sub-area and into the fourth sub-preview sub-area. The target preview sub-area; wherein, the second direction is determined according to the control state of the moving direction switching control or the input parameter of the preset gesture input; the target image preview area includes a third original preview sub-area and a fourth original preview sub-area, and the third sub-region The preview image is the preview image in the third original preview sub-area, and the fourth sub-preview image is the preview image in the fourth original preview sub-area; the target image preview area includes the third target preview sub-area and the fourth target preview sub-area.
本申请实施例提供一种电子设备,可以应用于从多个方向移动预览图像的场景中,由于在沿第一方 向移动目标预览图像之后,还可以触发电子设备从第二方向移动目标预览图像,因此可以从多个方向更新目标预览图像中的子预览图像的显示位置,如此可以使得电子设备根据一个现实景象,获得的预览图像的数量更多,从而可以进一步丰富电子设备获取预览图像。The embodiment of the present application provides an electronic device, which can be applied to a scenario in which a preview image is moved from multiple directions. After the target preview image is moved in a first direction, the electronic device can also be triggered to move the target preview image from a second direction. Therefore, the display positions of the sub-preview images in the target preview image can be updated from multiple directions, so that the electronic device can obtain more preview images according to a real scene, thereby further enriching the preview images obtained by the electronic device.
可选地,用户输入单元107,还用于在接收第一输入之前,接收用户对预览图像调整控件的第三输入;显示单元106,用于响应于用户输入单元107接收的第三输入,在第一子显示屏和第二子显示屏中,分别显示目标预览图像;处理器110,具体用于根据柔性屏的弯折参数,移动第二子显示屏中显示的目标预览图像,且在第一子显示屏中保持预览显示模式。Optionally, the user input unit 107 is further configured to receive a third user input on the preview image adjustment control before receiving the first input; the display unit 106 is configured to respond to the third input received by the user input unit 107, in The first sub-display screen and the second sub-display screen respectively display the target preview image; the processor 110 is specifically configured to move the target preview image displayed in the second sub-display screen according to the bending parameters of the flexible screen, and in the first sub-display screen The preview display mode is maintained in a sub-display.
本申请实施例提供一种电子设备,可以应用于参照原预览图像,调整预览图像的场景中,由于电子设备可以在不同子显示屏中分别显示目标预览图像,从而电子设备可以分别控制不同子显示屏中显示的预览图像,因此在触发电子设备更新目标预览图像中的子预览图像的显示区域的过程中,可以对比第一子显示屏中显示的目标预览图像,触发电子设备对第二子显示屏中显示的目标预览图像中的子预览图像的显示区域进行调整,如此可以便于用户对比未移动的目标预览图像和移动后的目标预览图像之间的区别,从而使得调整预览图像的方式更加直观、便捷。The embodiment of the present application provides an electronic device, which can be applied to a scenario in which a preview image is adjusted by referring to an original preview image. Since the electronic device can display target preview images in different sub-displays respectively, the electronic device can control different sub-displays respectively. Therefore, in the process of triggering the electronic device to update the display area of the sub-preview image in the target preview image, the target preview image displayed in the first sub-display can be compared with the target preview image displayed in the first sub-display, and the electronic device can be triggered to display the second sub-display The display area of the sub-preview image in the target preview image displayed on the screen can be adjusted, so that it is convenient for the user to compare the difference between the unmoved target preview image and the moved target preview image, so that the way to adjust the preview image is more intuitive. , convenient.
可选地,用户输入单元107,还用于在处理器110根据柔性屏的弯折参数,移动第二子显示屏中显示的目标预览图像,且在第一子显示屏中保持预览显示模式之后,接收用户对拍摄控件的第四输入;处理器110,用于响应于用户输入单元107接收的第四输入,根据弯折参数,移动摄像头采集的第一目标图像,得到第一拍摄图像,第一拍摄图像的显示效果与第二子显示屏中显示的预览图像的显示效果相同。Optionally, the user input unit 107 is further configured to, in the processor 110, move the target preview image displayed in the second sub-display screen according to the bending parameters of the flexible screen, and after the preview display mode is maintained in the first sub-display screen , receiving the fourth input from the user to the shooting control; the processor 110 is configured to, in response to the fourth input received by the user input unit 107, move the first target image collected by the camera according to the bending parameters to obtain the first shooting image, and the first The display effect of a captured image is the same as the display effect of the preview image displayed in the second sub-display.
本申请实施例提供一种电子设备,可以应用于获得拍摄图像的场景中,由于电子设备可以根据柔性屏的弯折参数,移动摄像头采集的第一目标图像,得到第一拍摄图像,因此可以使得电子设备得到的拍摄图像的不拘泥于电子设备的摄像头实际采集的图像,从而使得电子设备可以根据同一现实景物,得到多种拍摄图像,进而提高了电子设备拍摄得到的图像的多样性。The embodiment of the present application provides an electronic device, which can be applied to a scene where a captured image is obtained. Since the electronic device can move the first target image captured by the camera according to the bending parameters of the flexible screen to obtain the first captured image, the first captured image can be obtained. The captured image obtained by the electronic device is not limited to the image actually collected by the camera of the electronic device, so that the electronic device can obtain a variety of captured images according to the same real scene, thereby improving the diversity of the images captured by the electronic device.
可选地,目标图像预览区域包括M个预览分区,M为大于1的整数;显示单元106,用于在用户输入单元107接收第一输入之前,在M个预览分区中的每个预览区域,分别显示目标预览图像的一个子预览图像,每个预览分区显示的子预览图像不同,每个预览分区对应一个图像调整控件;用户输入单元107,还用于接收用户对目标图像调整控件的第五输入,目标图像调整控件为与M个预览分区中的目标预览分区对应的图像调整控件;处理器110,用于响应于用户输入单元107接收的第五输入,选中目标预览分区中显示的子预览图像;处理器110,具体用于根据柔性屏的弯折参数,移动目标预览分区中显示的子预览图像。Optionally, the target image preview area includes M preview partitions, where M is an integer greater than 1; the display unit 106 is configured to, before the user input unit 107 receives the first input, in each preview area in the M preview partitions, A sub-preview image of the target preview image is displayed respectively, the sub-preview images displayed in each preview sub-area are different, and each preview sub-area corresponds to an image adjustment control; the user input unit 107 is also used for receiving the fifth adjustment control of the target image by the user. Input, the target image adjustment control is an image adjustment control corresponding to the target preview partition in the M preview partitions; the processor 110 is used to respond to the fifth input received by the user input unit 107, and select the sub-preview displayed in the target preview partition image; the processor 110 is specifically configured to move the sub-preview image displayed in the target preview partition according to the bending parameters of the flexible screen.
本申请实施例提供一种电子设备,可以应用于移动预览图像中的子预览图像的场景中,由于目标预览图像可以以子预览图像的形式显示在不同的预览分区中,因此在移动预览图像的过程中,可以实现部分预览分区中的预览图像的显示位置调整,即可以以预览分区为粒度,调整目标预览图像中的部分预览图像的显示位置,如此可以使得调整目标预览图像的粒度更小(更细),从而可以进一步得到更多的预览图像。The embodiment of the present application provides an electronic device, which can be applied to a scenario of moving a sub-preview image in a preview image. Since the target preview image can be displayed in different preview partitions in the form of In the process, the display position adjustment of the preview image in the partial preview partition can be realized, that is, the preview partition can be used as the granularity to adjust the display position of the partial preview image in the target preview image, so that the granularity of the adjustment target preview image can be smaller ( finer), so that you can further get more preview images.
可选地,用户输入单元107,还用于在处理器110移动目标预览分区中显示的子预览图像之后,接收用户对拍摄控件的第六输入;处理器110,用于响应于用户输入单元107接收的第六输入,根据弯折参数,移动摄像头采集的第二目标图像中与目标预览分区对应的图像,得到第二拍摄图像,第二拍摄图像的显示效果与M个预览分区中显示的预览图像的显示效果相同。Optionally, the user input unit 107 is further configured to, after the processor 110 moves the sub-preview image displayed in the target preview partition, receive a sixth input from the user on the shooting controls; the processor 110 is configured to respond to the user input unit 107 The received sixth input, according to the bending parameters, move the image corresponding to the target preview partition in the second target image collected by the camera to obtain the second captured image, and the display effect of the second captured image is the same as the preview displayed in the M preview partitions. The images are displayed the same.
本申请实施例提供一种电子设备,可以应用于获得拍摄图像的场景中,由于电子设备可以根据柔性屏的弯折参数,移动摄像头采集的第二目标图像中与目标预览分区对应的图像,得到第二拍摄图像,因此可以使得电子设备得到的拍摄图像的显示效果不拘泥于电子设备的摄像头实际采集的图像,从而使得电子设备根据同一现实景物,可以得到多种拍摄图像,进而提高了电子设备拍摄得到的图像的多样性。The embodiment of the present application provides an electronic device, which can be applied to a scene where a captured image is obtained. Since the electronic device can move the image corresponding to the target preview partition in the second target image collected by the camera according to the bending parameters of the flexible screen, obtain The second captured image, so that the display effect of the captured image obtained by the electronic device is not limited to the image actually collected by the camera of the electronic device, so that the electronic device can obtain a variety of captured images according to the same real scene, thereby improving the electronic device. Variety of captured images.
需要说明的是,本申请实施例中,预览图像显示控制装置中的接收模块可以通过上述用户输入单元107实现;预览图像显示控制装置中的移动模块、处理模块和选中模块可以通过上述处理器110实现,预览图像显示控制装置中的显示模块可以通过上述显示单元106实现。It should be noted that, in the embodiment of the present application, the receiving module in the preview image display control device may be implemented by the above-mentioned user input unit 107 ; the moving module, processing module and selection module in the preview image display control device may be implemented by the above-mentioned processor 110 For implementation, the display module in the preview image display control device can be implemented by the above-mentioned display unit 106 .
应理解的是,本申请实施例中,输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元106可包括显示面板1061,可以采用液晶显示器、 有机发光二极管等形式来配置显示面板1061。用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器109可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。It should be understood that, in this embodiment of the present application, the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042. Such as camera) to obtain still pictures or video image data for processing. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and other input devices 1072 . The touch panel 1071 is also called a touch screen. The touch panel 1071 may include two parts, a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which are not described herein again. Memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems. The processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, and the like, and the modem processor mainly processes wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 110 .
本申请实施例还提供一种可读存储介质,该可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述预览图像显示控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the above-mentioned embodiment of the preview image display control method is implemented, and can achieve The same technical effect, in order to avoid repetition, will not be repeated here.
其中,上述处理器为上述实施例中的电子设备中的处理器。可读存储介质可以包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the above-mentioned processor is the processor in the electronic device in the above-mentioned embodiment. The readable storage medium may include a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
本申请实施例另提供了一种芯片,该芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现上述预览图像显示控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used for running a program or an instruction, implementing each process of the above-mentioned preview image display control method embodiment, and capable of To achieve the same technical effect, in order to avoid repetition, details are not repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in the reverse order depending on the functions involved. To perform functions, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to some examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台电子设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make an electronic device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods of the various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.
Claims (16)
- 一种预览图像显示控制方法,所述方法包括:A preview image display control method, the method comprising:在拍摄预览界面的目标图像预览区域处于预览显示模式的情况下,接收用户的第一输入,所述第一输入为触发电子设备的柔性屏弯折的输入;When the target image preview area of the shooting preview interface is in the preview display mode, receiving a first input from the user, where the first input is an input for triggering the bending of the flexible screen of the electronic device;响应于所述第一输入,根据所述柔性屏的弯折参数,移动目标预览图像,以使所述目标预览图像中的第一子预览图像移出第一原始预览子区域,并移入第一目标预览子区域,且使所述目标预览图像中的第二子预览图像移出第二原始预览子区域,并移入第二目标预览子区域;In response to the first input, move the target preview image according to the bending parameters of the flexible screen, so that the first sub-preview image in the target preview image is moved out of the first original preview sub-area and into the first target previewing the sub-area, and moving the second sub-preview image in the target preview image out of the second original preview sub-area and into the second target preview sub-area;其中,所述目标预览图像为摄像头实时采集的一帧预览图像,所述目标图像预览区域包括所述第一原始预览子区域和所述第二原始预览子区域,所述第一子预览图像为接收所述第一输入之前所述第一原始预览子区域中的预览图像,所述第二子预览图像为接收所述第一输入之前所述第二原始预览子区域中的预览图像;所述目标图像预览区域包括所述第一目标预览子区域和所述第二目标预览子区域。The target preview image is a frame of preview image collected in real time by a camera, the target image preview area includes the first original preview sub-area and the second original preview sub-area, and the first sub-preview image is a preview image in the first original preview sub-area before receiving the first input, and the second sub-preview image is a preview image in the second original preview sub-area before receiving the first input; the The target image preview area includes the first target preview sub-area and the second target preview sub-area.
- 根据权利要求1所述的方法,其中,所述根据所述柔性屏的弯折参数,移动所述目标预览图像,包括:The method according to claim 1, wherein the moving the target preview image according to the bending parameters of the flexible screen comprises:根据所述柔性屏的弯折参数,沿第一方向,移动所述目标预览图像;moving the target preview image along a first direction according to the bending parameters of the flexible screen;其中,待移出图像的预览图像区域根据所述柔性屏的弯折参数角度和弯折方向中的至少一项确定。Wherein, the preview image area of the image to be removed is determined according to at least one of a bending parameter angle and a bending direction of the flexible screen.
- 根据权利要求2所述的方法,其中,所述根据所述柔性屏的弯折参数,沿第一方向,移动所述目标预览图像之后,所述方法还包括:The method according to claim 2, wherein after moving the target preview image along a first direction according to a bending parameter of the flexible screen, the method further comprises:接收用户的第二输入,所述第二输入为对移动方向切换控件的输入或为预设手势输入;receiving a second input from the user, where the second input is an input to the moving direction switching control or a preset gesture input;响应于所述第二输入,根据所述柔性屏的弯折参数,沿第二方向,移动所述目标预览图像,以使所述目标预览图像中的第三子预览图像移出第三原始预览子区域,并移入第三目标预览子区域,且使所述目标预览图像中的第四子预览图像移出第四原始预览子区域,并移入第四目标预览子区域;In response to the second input, the target preview image is moved along the second direction according to the bending parameter of the flexible screen, so that the third sub-preview image in the target preview image is moved out of the third original preview sub-image. area, and move into the third target preview sub-area, and make the fourth sub-preview image in the target preview image move out of the fourth original preview sub-area, and move into the fourth target preview sub-area;其中,所述第二方向根据所述移动方向切换控件的控件状态或所述预设手势输入的输入参数确定;所述目标图像预览区域包括所述第三原始预览子区域和所述第四原始预览子区域,所述第三子预览图像为所述第三原始预览子区域中的预览图像,所述第四子预览图像为所述第四原始预览子区域中的预览图像;所述目标图像预览区域包括所述第三目标预览子区域和所述第四目标预览子区域。Wherein, the second direction is determined according to the control state of the moving direction switching control or the input parameter of the preset gesture input; the target image preview area includes the third original preview sub-area and the fourth original preview sub-area a preview sub-area, the third sub-preview image is a preview image in the third original preview sub-area, and the fourth sub-preview image is a preview image in the fourth original preview sub-area; the target image The preview area includes the third target preview sub-area and the fourth target preview sub-area.
- 根据权利要求1所述的方法,其中,所述接收第一输入之前,所述方法还包括:The method of claim 1, wherein before the receiving the first input, the method further comprises:接收用户对预览图像调整控件的第三输入;receiving a third input from the user to the preview image adjustment control;响应于所述第三输入,在第一子显示屏和第二子显示屏中,分别显示所述目标预览图像;in response to the third input, displaying the target preview image in the first sub-display screen and the second sub-display screen, respectively;所述响应于所述第一输入,根据所述柔性屏的弯折参数,移动所述目标预览图像,包括:The moving the target preview image according to the bending parameters of the flexible screen in response to the first input includes:响应于所述第一输入,根据所述柔性屏的弯折参数,移动所述第二子显示屏中显示的所述目标预览图像,且在所述第一子显示屏中保持所述预览显示模式。In response to the first input, the target preview image displayed in the second sub-display is moved according to the bending parameter of the flexible screen, and the preview display is maintained in the first sub-display model.
- 根据权利要求4所述的方法,其中,所述根据所述柔性屏的弯折参数,移动所述第二子显示屏中显示的所述目标预览图像,且在所述第一子显示屏中保持所述预览显示模式之后,所述方法还包括:The method according to claim 4, wherein the target preview image displayed in the second sub-display screen is moved according to a bending parameter of the flexible screen, and the target preview image displayed in the first sub-display screen is moved. After maintaining the preview display mode, the method further includes:接收用户对拍摄控件的第四输入;receiving a fourth input from the user on the shooting control;响应于所述第四输入,根据所述弯折参数,移动所述摄像头采集的第一目标图像,得到第一拍摄图像,所述第一拍摄图像的显示效果与所述第二子显示屏中显示的预览图像的显示效果相同。In response to the fourth input, the first target image captured by the camera is moved according to the bending parameter to obtain a first captured image, and the display effect of the first captured image is the same as that in the second sub-display. The displayed preview image has the same effect.
- 根据权利要求1所述的方法,其中,所述目标图像预览区域包括M个预览分区,M为大于1的整数;The method according to claim 1, wherein the target image preview area includes M preview partitions, and M is an integer greater than 1;所述接收用户的第一输入之前,所述方法还包括:Before the receiving the first input from the user, the method further includes:在所述M个预览分区中的每个预览分区,分别显示所述目标预览图像的一个子预览图像,每个预览分区显示的子预览图像不同,每个预览分区对应一个图像调整控件;In each of the M preview subregions, a sub-preview image of the target preview image is displayed respectively, the sub-preview images displayed in each preview sub-region are different, and each preview sub-region corresponds to an image adjustment control;接收用户对目标图像调整控件的第五输入,所述目标图像调整控件为与所述M个预览分区中的目标预览分区对应的图像调整控件;receiving a fifth input from the user to a target image adjustment control, where the target image adjustment control is an image adjustment control corresponding to the target preview partition in the M preview partitions;响应于所述第五输入,选中所述目标预览分区;in response to the fifth input, selecting the target preview partition;所述根据所述柔性屏的弯折参数,移动所述目标预览图像,包括:The moving the target preview image according to the bending parameters of the flexible screen includes:根据所述柔性屏的弯折参数,移动所述目标预览分区中显示的子预览图像。The sub-preview image displayed in the target preview partition is moved according to the bending parameters of the flexible screen.
- 根据权利要求6所述的方法,其中,所述移动所述目标预览分区中显示的子预览图像之后,所述方法还包括:The method according to claim 6, wherein after the moving the sub-preview image displayed in the target preview partition, the method further comprises:接收用户对拍摄控件的第六输入;receiving a sixth input from the user to the shooting control;响应于所述第六输入,根据所述弯折参数,移动所述摄像头采集的第二目标图像中与所述目标预览分区对应的图像,得到第二拍摄图像,所述第二拍摄图像的显示效果与所述M个预览分区中显示的预览图像的显示效果相同。In response to the sixth input, according to the bending parameter, move the image corresponding to the target preview partition in the second target image captured by the camera to obtain a second captured image, and the display of the second captured image The effect is the same as the display effect of the preview images displayed in the M preview partitions.
- 一种预览图像显示控制装置,所述预览图像显示控制装置包括:接收模块和移动模块;A preview image display control device, the preview image display control device includes: a receiving module and a moving module;所述接收模块,用于在拍摄预览界面的目标图像预览区域处于预览显示模式的情况下,接收第一输入,所述第一输入为触发电子设备的柔性屏弯折的输入;The receiving module is configured to receive a first input when the target image preview area of the shooting preview interface is in the preview display mode, where the first input is an input that triggers the bending of the flexible screen of the electronic device;所述移动模块,用于响应于所述接收模块接收的所述第一输入,根据所述柔性屏的弯折参数,移动目标预览图像,以使所述目标预览图像中的第一子预览图像移出第一原始预览子区域,并移入第一目标预览子区域,且使所述目标预览图像中的第二子预览图像移出第二原始预览子区域,并移入第二目标预览子区域;The moving module is configured to, in response to the first input received by the receiving module, move the target preview image according to the bending parameters of the flexible screen, so as to make the first sub-preview image in the target preview image moving out of the first original preview sub-area, and into the first target preview sub-area, and moving the second sub-preview image in the target preview image out of the second original preview sub-area, and into the second target preview sub-area;其中,所述目标预览图像为摄像头实时采集的一帧预览图像,所述目标图像预览区域包括所述第一原始预览子区域和所述第二原始预览子区域,所述第一子预览图像为接收所述第一输入之前所述第一原始预览子区域中的预览图像,所述第二子预览图像为接收所述第一输入之前所述第二原始预览子区域中的预览图像;所述目标图像预览区域包括所述第一目标预览子区域和所述第二目标预览子区域。The target preview image is a frame of preview image collected in real time by a camera, the target image preview area includes the first original preview sub-area and the second original preview sub-area, and the first sub-preview image is a preview image in the first original preview sub-area before receiving the first input, and the second sub-preview image is a preview image in the second original preview sub-area before receiving the first input; the The target image preview area includes the first target preview sub-area and the second target preview sub-area.
- 根据权利要求8所述的装置,其中,所述移动模块,具体用于根据所述柔性屏的弯折参数,沿第一方向,移动所述目标预览图像;The device according to claim 8, wherein the moving module is specifically configured to move the target preview image along a first direction according to a bending parameter of the flexible screen;其中,待移动的子预览图像,根据所述柔性屏的弯折角度和弯折方向中的至少一项确定。The sub-preview image to be moved is determined according to at least one of a bending angle and a bending direction of the flexible screen.
- 根据权利要求9所述的装置,其中,所述接收模块,还用于在移动模块根据所述柔性屏的弯折参数,沿第一方向,移动所述目标预览图像之后,接收用户的第二输入,所述第二输入为对移动方向切换控件的输入或为预设手势输入;The device according to claim 9, wherein the receiving module is further configured to receive the user's second image after the moving module moves the target preview image along a first direction according to a bending parameter of the flexible screen input, the second input is the input to the moving direction switching control or the preset gesture input;所述移动模块,还用于响应于所述接收模块接收的所述第二输入,根据所述柔性屏的弯折参数,沿第二方向,移动所述目标预览图像,以使所述目标预览图像中的第三子预览图像移出第三原始预览子区域,并移入第三目标预览子区域,且使所述目标预览图像中的第四子预览图像移出第四原始预览子区域,并移入第四目标预览子区域;The moving module is further configured to, in response to the second input received by the receiving module, move the target preview image along a second direction according to the bending parameter of the flexible screen, so that the target preview image is The third sub-preview image in the image is moved out of the third original preview sub-area and into the third target preview sub-area, and the fourth sub-preview image in the target preview image is moved out of the fourth original preview sub-area and into the third target preview sub-area. Four target preview sub-areas;其中,所述第二方向根据所述移动方向切换控件的控件状态或所述预设手势输入的输入参数确定;所述目标图像预览区域包括所述第三原始预览子区域和所述第四原始预览子区域,所述第三子预览图像为所述第三原始预览子区域中的预览图像,所述第四子预览图像为所述第四原始预览子区域中的预览图像;所述目标图像预览区域包括所述第三目标预览子区域和所述第四目标预览子区域。Wherein, the second direction is determined according to the control state of the moving direction switching control or the input parameter of the preset gesture input; the target image preview area includes the third original preview sub-area and the fourth original preview sub-area a preview sub-area, the third sub-preview image is a preview image in the third original preview sub-area, and the fourth sub-preview image is a preview image in the fourth original preview sub-area; the target image The preview area includes the third target preview sub-area and the fourth target preview sub-area.
- 根据权利要求8所述的装置,其中,所述预览图像显示控制装置还包括显示模块;The device according to claim 8, wherein the preview image display control device further comprises a display module;所述接收模块,还用于在接收所述第一输入之前,接收用户对预览图像调整控件的第三输入;The receiving module is further configured to, before receiving the first input, receive a third input from the user on the preview image adjustment control;所述显示模块,用于响应于所述接收模块接收的所述第三输入,在第一子显示屏和第二子显示屏中,分别显示所述目标预览图像;the display module, configured to display the target preview image in the first sub-display screen and the second sub-display screen respectively in response to the third input received by the receiving module;所述移动模块,具体用于根据所述柔性屏的弯折参数,移动所述第二子显示屏中显示的所述目标预览图像,且在所述第一子显示屏中保持所述预览显示模式。The moving module is specifically configured to move the target preview image displayed in the second sub-display screen according to the bending parameters of the flexible screen, and keep the preview display in the first sub-display screen model.
- 根据权利要求11所述的装置,其中,所述预览图像显示控制装置还包括处理模块;The device according to claim 11, wherein the preview image display control device further comprises a processing module;所述接收模块,还用于在所述移动模块根据所述柔性屏的弯折参数,移动所述第二子显示屏中显示的所述目标预览图像,且在所述第一子显示屏中保持所述预览显示模式之后,接收用户对拍摄控件的第四输入;The receiving module is further configured to, in the moving module, move the target preview image displayed in the second sub-display screen according to the bending parameters of the flexible screen, and move the target preview image displayed in the first sub-display screen in the first sub-display screen After maintaining the preview display mode, receiving a fourth input from the user on the shooting controls;所述处理模块,用于响应于所述接收模块接收的所述第四输入,根据所述弯折参数,移动所述摄像 头采集的第一目标图像,得到第一拍摄图像,所述第一拍摄图像的显示效果与所述第二子显示屏中显示的预览图像的显示效果相同。The processing module is configured to, in response to the fourth input received by the receiving module, move the first target image collected by the camera according to the bending parameter to obtain a first captured image, the first captured image The display effect of the image is the same as the display effect of the preview image displayed in the second sub-display.
- 根据权利要求8所述的装置,其中,所述目标图像预览区域包括M个预览分区,M为大于1的整数;所述预览图像显示控制装置还包括显示模块和选中模块;The device according to claim 8, wherein the target image preview area includes M preview partitions, where M is an integer greater than 1; the preview image display control device further includes a display module and a selection module;所述显示模块,用于在所述接收模块接收所述第一输入之前,在所述M个预览分区中的每个预览区域,分别显示所述目标预览图像的一个子预览图像,每个预览分区显示的子预览图像不同,每个预览分区对应一个图像调整控件;The display module is configured to display a sub-preview image of the target preview image in each preview area of the M preview partitions before the receiving module receives the first input, and each preview The sub-preview images displayed in the partitions are different, and each preview partition corresponds to an image adjustment control;所述接收模块,还用于接收用户对目标图像调整控件的第五输入,所述目标图像调整控件为与所述M个预览分区中的目标预览分区对应的图像调整控件;The receiving module is further configured to receive a fifth input from the user to a target image adjustment control, where the target image adjustment control is an image adjustment control corresponding to the target preview partition in the M preview partitions;所述选中模块,用于响应于所述接收模块接收的所述第五输入,选中所述目标预览分区中显示的子预览图像;the selecting module, configured to select the sub-preview image displayed in the target preview partition in response to the fifth input received by the receiving module;所述移动模块,具体用于根据所述柔性屏的弯折参数,移动所述目标预览分区中显示的子预览图像。The moving module is specifically configured to move the sub-preview image displayed in the target preview partition according to the bending parameters of the flexible screen.
- 根据权利要求13所述的装置,其中,所述预览图像显示控制装置还包括处理模块;The device according to claim 13, wherein the preview image display control device further comprises a processing module;所述接收模块,还用于在所述移动模块移动所述目标预览分区中显示的子预览图像之后,接收用户对拍摄控件的第六输入;The receiving module is further configured to receive a sixth input from the user on the shooting control after the moving module moves the sub-preview image displayed in the target preview partition;所述处理模块,用于响应于所述接收模块接收的所述第六输入,根据所述弯折参数,移动所述摄像头采集的第二目标图像中与所述目标预览分区对应的图像,得到第二拍摄图像,所述第二拍摄图像的显示效果与所述M个预览分区中显示的预览图像的显示效果相同。The processing module is configured to, in response to the sixth input received by the receiving module, move the image corresponding to the target preview partition in the second target image collected by the camera according to the bending parameter, to obtain: The second captured image, the display effect of the second captured image is the same as the display effect of the preview images displayed in the M preview partitions.
- 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或所述指令被所述处理器执行时实现如权利要求1-7任一项所述的预览图像显示控制方法的步骤。An electronic device, comprising a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or the instruction being executed by the processor to achieve as claimed in claim 1 -7 The steps of any one of the preview image display control methods.
- 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或所述指令被处理器执行时实现如权利要求1-7任一项所述的预览图像显示控制方法的步骤。A readable storage medium on which a program or an instruction is stored, and when the program or the instruction is executed by a processor, the control method of the preview image display control method according to any one of claims 1-7 is realized. step.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011459466.XA CN112565613B (en) | 2020-12-11 | 2020-12-11 | Preview image display control method, device, electronic equipment and medium |
CN202011459466.X | 2020-12-11 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022121875A1 true WO2022121875A1 (en) | 2022-06-16 |
Family
ID=75062404
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/135982 WO2022121875A1 (en) | 2020-12-11 | 2021-12-07 | Preview image display control method and apparatus, and electronic device and medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112565613B (en) |
WO (1) | WO2022121875A1 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112565613B (en) * | 2020-12-11 | 2023-02-07 | 维沃移动通信(杭州)有限公司 | Preview image display control method, device, electronic equipment and medium |
CN113781971A (en) * | 2021-08-05 | 2021-12-10 | 合肥维信诺科技有限公司 | Display panel driving method and display panel |
CN115942022B (en) * | 2021-08-27 | 2024-06-11 | 中移(苏州)软件技术有限公司 | Information preview method, related equipment and storage medium |
CN115314592A (en) * | 2022-08-12 | 2022-11-08 | 深圳传音控股股份有限公司 | Display control method, intelligent terminal and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103680471A (en) * | 2012-09-21 | 2014-03-26 | 联想(北京)有限公司 | Method and electronic device for displaying images |
US20180052579A1 (en) * | 2015-07-13 | 2018-02-22 | International Business Machines Corporation | Provision of extended content on a flexible display |
CN111669507A (en) * | 2020-07-01 | 2020-09-15 | 维沃移动通信有限公司 | Photographing method and device and electronic equipment |
CN111897468A (en) * | 2020-07-21 | 2020-11-06 | 维沃移动通信有限公司 | Message processing method and device, electronic equipment and readable storage medium |
CN112565613A (en) * | 2020-12-11 | 2021-03-26 | 维沃移动通信(杭州)有限公司 | Preview image display control method, device, electronic equipment and medium |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108174110B (en) * | 2018-03-15 | 2021-05-18 | 维沃移动通信有限公司 | Photographing method and flexible screen terminal |
CN111669506A (en) * | 2020-07-01 | 2020-09-15 | 维沃移动通信有限公司 | Photographing method and device and electronic equipment |
-
2020
- 2020-12-11 CN CN202011459466.XA patent/CN112565613B/en active Active
-
2021
- 2021-12-07 WO PCT/CN2021/135982 patent/WO2022121875A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103680471A (en) * | 2012-09-21 | 2014-03-26 | 联想(北京)有限公司 | Method and electronic device for displaying images |
US20180052579A1 (en) * | 2015-07-13 | 2018-02-22 | International Business Machines Corporation | Provision of extended content on a flexible display |
CN111669507A (en) * | 2020-07-01 | 2020-09-15 | 维沃移动通信有限公司 | Photographing method and device and electronic equipment |
CN111897468A (en) * | 2020-07-21 | 2020-11-06 | 维沃移动通信有限公司 | Message processing method and device, electronic equipment and readable storage medium |
CN112565613A (en) * | 2020-12-11 | 2021-03-26 | 维沃移动通信(杭州)有限公司 | Preview image display control method, device, electronic equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN112565613A (en) | 2021-03-26 |
CN112565613B (en) | 2023-02-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022121875A1 (en) | Preview image display control method and apparatus, and electronic device and medium | |
WO2020156466A1 (en) | Photographing method and terminal device | |
WO2022166944A1 (en) | Photographing method and apparatus, electronic device, and medium | |
CN113093968B (en) | Shooting interface display method and device, electronic equipment and medium | |
US20090146968A1 (en) | Input device, display device, input method, display method, and program | |
CN105959553A (en) | Camera switching method and terminal | |
WO2022012657A1 (en) | Image editing method and apparatus, and electronic device | |
CN111669507A (en) | Photographing method and device and electronic equipment | |
WO2022002052A1 (en) | Image capture method and apparatus, and electronic device | |
CN112637507B (en) | Shooting method, shooting device, electronic equipment and readable storage medium | |
WO2023061280A1 (en) | Application program display method and apparatus, and electronic device | |
CN112954199B (en) | Video recording method and device | |
WO2022161432A1 (en) | Display control method and apparatus, and electronic device and medium | |
WO2022161240A1 (en) | Photographing method and apparatus, electronic device, and medium | |
CN112911147B (en) | Display control method, display control device and electronic equipment | |
CN114125137B (en) | Video display method and device, electronic equipment and readable storage medium | |
CN113014801B (en) | Video recording method, video recording device, electronic equipment and medium | |
WO2022194211A1 (en) | Image processing method and apparatus, electronic device and readable storage medium | |
CN113873151A (en) | Video recording method and device and electronic equipment | |
JP5220157B2 (en) | Information processing apparatus, control method therefor, program, and storage medium | |
WO2023056977A1 (en) | Application program start method and apparatus, and electronic device | |
CN113923350A (en) | Video shooting method and device, electronic equipment and readable storage medium | |
WO2023016462A1 (en) | Video recording method and apparatus, electronic device, and medium | |
WO2022156673A1 (en) | Display control method and apparatus, electronic device, and medium | |
CN113286085B (en) | Display control method and device and electronic equipment |
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: 21902580 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 10/11/2023) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21902580 Country of ref document: EP Kind code of ref document: A1 |