CN107390990B - Image adjusting method and mobile terminal - Google Patents

Image adjusting method and mobile terminal Download PDF

Info

Publication number
CN107390990B
CN107390990B CN201710590313.0A CN201710590313A CN107390990B CN 107390990 B CN107390990 B CN 107390990B CN 201710590313 A CN201710590313 A CN 201710590313A CN 107390990 B CN107390990 B CN 107390990B
Authority
CN
China
Prior art keywords
sub
image
adjusted
screens
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710590313.0A
Other languages
Chinese (zh)
Other versions
CN107390990A (en
Inventor
陈凌云
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710590313.0A priority Critical patent/CN107390990B/en
Publication of CN107390990A publication Critical patent/CN107390990A/en
Application granted granted Critical
Publication of CN107390990B publication Critical patent/CN107390990B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides an image adjusting method and a mobile terminal, wherein images are displayed on two sub-screens respectively; detecting the turning angle between the two sub-screens based on the relative positions of the two sub-screens; determining a target adjustment coefficient corresponding to an image to be adjusted on a target sub-screen in the display screen based on a corresponding relation between a preset turning angle and an adjustment coefficient of the image; and adjusting the image to be adjusted by using the target adjustment coefficient. Therefore, images can be displayed on the two sub-screens of the mobile terminal, the images to be adjusted on the target sub-screen are adjusted, the adjusted images can be compared with the original images when the images are adjusted by a user, the adjustment coefficient can be changed by rotating one of the display screens in real time by the user, the purpose of accurate adjustment is achieved, operation is simple, and user experience is improved.

Description

Image adjusting method and mobile terminal
Technical Field
The present invention relates to the field of image processing technologies, and in particular, to an image adjustment method and a mobile terminal.
Background
With the development and progress of science and technology, the communication technology has been developed rapidly and greatly, and with the improvement of the communication technology, the popularization of intelligent electronic products has been improved to an unprecedented level, and more intelligent terminals or mobile terminals become an indispensable part of the life of people, such as smart phones, smart televisions, computers and the like.
While the mobile terminal is popularized, the requirements of users on the types and performances of the functions of the mobile terminal are higher and higher, and for example, an internet access function, an audio function, a shooting function, a quick charging function and the like become necessary functions of an intelligent terminal or the mobile terminal.
At present, it is a trend that a mobile terminal is used for taking pictures or shooting pictures, and along with the improvement of the user on the interactive experience demand, the user can directly adjust parameters on a display screen of the mobile terminal through controls such as a dragging bar on an interface, and the contents of the shot pictures or videos are processed, such as beauty processing, zooming processing, clipping processing and the like. However, due to the convenience required by the mobile terminal, the size of the mobile terminal is generally small, so the size of the screen is also small, which makes it difficult to finely adjust parameters when processing photos or video contents on the mobile terminal, and generally only displays images during or after adjustment, and cannot display the photos during or after adjustment and photos before adjustment together for comparison by a user.
Disclosure of Invention
The embodiment of the invention provides an image adjusting method and a mobile terminal, and aims to solve the problems that the parameters of an image are difficult to finely adjust in the conventional mobile terminal, and an adjusting or adjusted picture and a picture before adjustment cannot be displayed together for comparison.
The embodiment of the invention provides an image adjusting method, which is applied to a mobile terminal, wherein the mobile terminal comprises a foldable display screen, one sub-screen of the display screen and the other sub-screen can be positioned on the same display surface or stacked through a folding line, and the method comprises the following steps:
displaying images on the two sub-screens respectively;
detecting the turning angle between the two sub-screens based on the relative positions of the two sub-screens;
determining a target adjustment coefficient corresponding to an image to be adjusted on a target sub-screen in the display screen based on a corresponding relation between a preset turning angle and an adjustment coefficient of the image;
and adjusting the image to be adjusted by using the target adjustment coefficient.
An embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes a foldable display screen, one sub-screen of the display screen may be located on the same display surface as another sub-screen through a folding line or stacked on the other sub-screen, and the mobile terminal further includes:
the display module is used for respectively displaying images on the two sub-screens;
the detection module is used for detecting the turnover angle between the two sub-screens based on the relative positions of the two sub-screens;
the first determining module is used for determining a target adjusting coefficient corresponding to an image to be adjusted on a target sub-screen in the display screen based on a corresponding relation between a preset turning angle and an adjusting coefficient of the image;
and the adjusting module is used for adjusting the image to be adjusted by using the target adjusting coefficient.
The embodiment of the invention also provides a mobile terminal, which comprises a processor, a memory and a computer program which is stored on the memory and can run on the processor, wherein the computer program realizes the steps of the image adjusting method when being executed by the processor.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the image adjusting method are implemented.
The image adjusting method, the mobile terminal and the computer readable storage medium provided by the embodiment of the invention respectively display images on two sub-screens; detecting the turning angle between the two sub-screens based on the relative positions of the two sub-screens; determining a target adjustment coefficient corresponding to an image to be adjusted on a target sub-screen in the display screen based on a corresponding relation between a preset turning angle and an adjustment coefficient of the image; and adjusting the image to be adjusted by using the target adjustment coefficient. Therefore, images can be displayed on the two sub-screens of the mobile terminal, the images to be adjusted on the target sub-screen are adjusted, the adjusted images can be compared with the original images when the images are adjusted by a user, the adjustment coefficient can be changed by rotating one of the display screens in real time by the user, the purpose of accurate adjustment is achieved, operation is simple, and user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a flowchart of an image adjustment method according to an embodiment of the present invention;
FIG. 2 is a flowchart of an image adjustment method according to another embodiment of the present invention;
fig. 3 is a block diagram of a mobile terminal according to an embodiment of the present invention;
fig. 4 is a second block diagram of a mobile terminal according to an embodiment of the present invention;
FIG. 5 is one of the block diagrams of the adjustment module shown in FIG. 1;
FIG. 6 is a second block diagram of the adjustment module shown in FIG. 1;
fig. 7 is a block diagram of a mobile terminal according to another embodiment of the present invention;
fig. 8 is a block diagram of a mobile terminal according to still another embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of an image adjusting method according to an embodiment of the present invention. The method is applied to a mobile terminal, the mobile terminal comprises a foldable display screen, one sub-screen of the display screen can be on the same display surface with another sub-screen through a folding line or stacked, as shown in fig. 1, the method comprises the following steps:
and step 101, displaying images on the two sub-screens respectively.
With the rapid development and progress of communication technology, mobile terminals have gradually advanced into and become an indispensable part of people's lives. Currently, it is a trend to use a mobile terminal to take pictures or videos, and after a user takes pictures or obtains pictures or video contents, the user may need to modify the pictures or video contents, such as beauty treatment, zoom treatment, and cropping treatment, due to personal preferences and the like.
Therefore, in this step, when the user needs to adjust the image, the user may unfold the two sub-screens of the mobile terminal, and even if one display screen is unfolded around the other display screen in a flipping manner, the mobile terminal may control the image that needs to be adjusted to be displayed on both the two sub-screens of the mobile terminal.
The image may be a photo to be adjusted, or may also be a video picture to be adjusted.
And 102, detecting the turning angle between the two sub-screens based on the relative positions of the two sub-screens.
In this step, when the two sub-screens of the mobile terminal are unfolded and the images are displayed on both the two sub-screens, the mobile terminal may detect the turning angle between the two sub-screens according to the relative position between the two sub-screens.
The two sub-screens of the mobile terminal are unfolded, and the display surfaces of the two sub-screens can be on the same display surface, or the display surfaces of the two sub-screens are similar to the same display surface. Further, due to the use habit and the viewing habit of the user, the angle between the display surfaces of the two sub-screens can be an acute angle, so that the user can view the sub-screens conveniently.
The turning angle between the two sub-screens is detected by using an angle sensor, a distance sensor or other sensors which can directly or indirectly detect the angle between the two sub-screens.
And 103, determining a target adjustment coefficient corresponding to the image to be adjusted on the target sub-screen in the display screen based on the corresponding relation between the preset turning angle and the adjustment coefficient of the image.
In this step, after the mobile terminal detects the turning angle between the two sub-screens, the mobile terminal may determine, according to a corresponding relationship between a preset turning angle and an adjustment coefficient of an image, which is preset in the mobile terminal, a target adjustment coefficient corresponding to the turning angle and corresponding to an image to be adjusted on a target sub-screen in the display screen.
The target sub-screen in the display screen may be a default sub-screen of the two sub-screens of the display screen, for example, a default left half screen or a default upper half screen, or a target sub-screen determined according to habits or settings of a user, for example, when the user turns over one of the two sub-screens, the other non-rotated sub-screen is used as the target sub-screen, or the rotated sub-screen is directly used as the target sub-screen.
Therefore, when a user needs to adjust the image to be adjusted, one display screen can be turned over to adjust the turning angle between the two sub-screens, so that the target adjustment coefficient of the image to be adjusted is adjusted more accurately and a finer adjustment effect is achieved compared with the method that parameters are adjusted directly through controls such as a dragging bar on the screen.
And 104, adjusting the image to be adjusted by using the target adjustment coefficient.
In this step, after the mobile terminal determines the target adjustment coefficient according to the turning angle between the two sub-screens, the mobile terminal may use the target adjustment coefficient to adjust the image to be adjusted on the target sub-screen of the two sub-screens of the display screen.
In the embodiment of the present invention, the mobile terminal may have any two foldable sub-screens, and one display screen of the two sub-screens may be turned over to be on the same display surface as the other display screen or to be stacked on the other display screen, for example: a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a laptop Computer (laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
According to the image adjusting method provided by the embodiment of the invention, images are respectively displayed on the two sub-screens; detecting the turning angle between the two sub-screens based on the relative positions of the two sub-screens; determining a target adjustment coefficient corresponding to an image to be adjusted on a target sub-screen in the display screen based on a corresponding relation between a preset turning angle and an adjustment coefficient of the image; and adjusting the image to be adjusted by using the target adjustment coefficient. Therefore, images can be displayed on the two sub-screens of the mobile terminal, the images to be adjusted on the target sub-screen are adjusted, the adjusted images can be compared with the original images when the images are adjusted by a user, the adjustment coefficient can be changed by rotating one of the display screens in real time by the user, the purpose of accurate adjustment is achieved, operation is simple, and user experience is improved.
Referring to fig. 2, fig. 2 is a flowchart of an image adjustment method according to another embodiment of the present invention. The method is applied to a mobile terminal, the mobile terminal comprises a foldable display screen, one sub-screen of the display screen can be on the same display surface with another sub-screen through a folding line or stacked, as shown in fig. 2, the method comprises the following steps:
and step 201, displaying images on the two sub-screens respectively.
Step 202, determining the relative position between the two sub-screens by detecting the rotation information of the two sub-screens.
In this step, when a user needs to adjust the displayed image, the user may rotate one of the sub-screens to adjust the image on the other sub-screen under the condition that one of the sub-screens is not moved and one of the images on the two sub-screens is used as a comparison image, and one of the seat adjustment images is compared.
Therefore, a user can rotate one display screen of the two sub-screens in real time to change the turning angle between the two sub-screens, so that the purpose of changing the adjustment coefficient is achieved. For example, when the user needs to perform the facial beautification processing on the picture to be adjusted, the user can rotate and adjust one display screen in real time, for example, when the display screen performs forward rotation, the facial beautification degree can be improved, and when the display screen performs reverse rotation, the facial beautification degree can be reduced, or, when the user needs to perform the amplification or the contraction of the picture to be adjusted, the user can rotate and adjust one display screen in real time, for example, when the display screen performs forward rotation, the image can be amplified, and when the display screen performs reverse rotation, the image can be reduced.
And 203, determining that the non-rotated sub-screen in the two sub-screens is the target sub-screen based on the rotation information.
In this step, the mobile terminal may obtain rotation information of the two sub-screens, so that a relatively non-rotated sub-screen of the two sub-screens is used as a target sub-screen on which an image displayed on the sub-screen needs to be adjusted.
And 204, detecting the turning angle between the two sub-screens based on the relative positions of the two sub-screens.
Step 205, determining a target adjustment coefficient corresponding to the image to be adjusted on the target sub-screen in the display screen based on a corresponding relationship between a preset turning angle and the adjustment coefficient of the image.
And step 206, adjusting the image to be adjusted by using the target adjustment coefficient.
The description of step 201 and steps 204 to 206 may refer to steps 101 to 104 in the embodiment shown in fig. 1, which is not repeated herein.
Optionally, step 205 includes:
firstly, the target display parameters of the image to be adjusted are determined based on the corresponding relation between the target adjustment coefficients and the display parameters of the image.
In this step, when the user needs to modify the image to be adjusted by the beauty function, and the mobile terminal determines the target adjustment coefficient according to the turning angles of the two sub-screens, the mobile terminal may determine the target display parameter that needs to adjust the image to be adjusted on the target sub-screen of the two sub-screens according to a preset corresponding relationship between the target adjustment coefficient and the display parameter of the image.
And secondly, adjusting the image to be adjusted by using the target display parameters to obtain an adjusted image.
In this step, after the mobile terminal determines the target display parameter, the mobile terminal may adjust the image on the target sub-screen using the target display parameter to make the adjusted image, so that the beauty level of the image after being modified and adjusted by beauty and the like is up to the beauty level desired by the user.
Optionally, step 205 includes:
firstly, determining a target scaling factor of an image to be adjusted on a target sub-screen in the sub-screen based on the corresponding relation between the target adjustment coefficient and the scaling factor.
In this step, after the user needs to enlarge or reduce the image to be adjusted, and the mobile terminal determines the target adjustment coefficient according to the turning angles of the two sub-screens, the mobile terminal may determine the target scaling factor that needs to adjust the image to be adjusted on the target sub-screen of the two sub-screens according to a preset corresponding relationship between the target adjustment coefficient and the scaling factor.
Secondly, zooming the image to be adjusted on the target sub-screen according to the target zooming multiple, and obtaining a zoomed image.
In this step, after the mobile terminal determines the target zoom factor, the mobile terminal may perform reduction or enlargement processing on the image to be adjusted on the target sub-screen according to the target zoom factor, and obtain the image after enlargement or reduction of the target zoom factor.
Optionally, before step 201, the method includes:
the photographing application is started based on an operation of a user.
In this step, the mobile terminal may receive an operation of the mobile terminal by a user, and open the shooting application based on the operation of the user under the operation of the user.
The shooting application may include a camera application and a camera application, among others.
Further, step 201 includes:
and displaying a preview interface of the shooting application on the two sub-screens, and taking the display content on the preview interface as a displayed image.
In this step, after the mobile terminal starts the shooting application under the operation of the user, the mobile terminal may enter and display a preview interface of the shooting application on two sub-screens of the mobile terminal, and take the display content on the preview interface as a displayed image.
Therefore, the user can adjust the picture to be shot before shooting to directly obtain the image required by the user.
Of course, the images displayed on the two sub-screens may also be images that have been captured by the capture application.
According to the image adjusting method provided by the embodiment of the invention, images are respectively displayed on the two sub-screens; determining the relative position between the two sub-screens by detecting the rotation information of the two sub-screens; detecting the turning angle between the two sub-screens based on the relative positions of the two sub-screens; determining a target adjustment coefficient corresponding to an image to be adjusted on a target sub-screen in the display screen based on a corresponding relation between a preset turning angle and an adjustment coefficient of the image; and adjusting the image to be adjusted by using the target adjustment coefficient. Therefore, images can be displayed on the two sub-screens of the mobile terminal, the images to be adjusted on the target sub-screen are adjusted, the adjusted images can be compared with the original images when the images are adjusted by a user, the adjustment coefficient can be changed by rotating one of the display screens in real time by the user, the purpose of accurate adjustment is achieved, operation is simple, and user experience is improved.
Referring to fig. 3, fig. 3 is a first structural diagram of a mobile terminal according to an embodiment of the present invention, fig. 4 is a second structural diagram of the mobile terminal according to an embodiment of the present invention, fig. 5 is a first structural diagram of an adjustment module shown in fig. 1, and fig. 6 is a second structural diagram of the adjustment module shown in fig. 1. The mobile terminal 300 includes a foldable display screen, and one sub-screen of the display screen may be on the same display surface as another sub-screen or stacked on another sub-screen via a folding line. As shown in fig. 3 to 6, the mobile terminal 300 further includes:
and a display module 310 for displaying images on the two sub-screens, respectively.
A detecting module 320, configured to detect a turning angle between the two sub-screens based on the relative positions of the two sub-screens.
The first determining module 330 is configured to determine, based on a corresponding relationship between a preset turning angle and an adjustment coefficient of an image, a target adjustment coefficient corresponding to an image to be adjusted on a target sub-screen in the display screen.
An adjusting module 340, configured to adjust the image to be adjusted by using the target adjustment coefficient.
Optionally, the mobile terminal 300 includes:
and a second determining module 350, configured to determine a relative position between the two sub-screens by detecting rotation information of the two sub-screens.
A third determining module 360, configured to determine, based on the rotation information, that a non-rotated sub-screen of the two sub-screens is a target sub-screen.
Optionally, the adjusting module 340 includes:
a first determining unit 341, configured to determine a target display parameter of the image to be adjusted based on a corresponding relationship between the target adjustment coefficient and a display parameter of the image;
the first adjusting unit 342 is configured to adjust the image to be adjusted by using the target display parameter, and obtain an adjusted image.
Optionally, the adjusting module 340 includes:
a second determining unit 343, configured to determine, based on a correspondence between the target adjustment coefficient and a zoom multiple, a target zoom multiple of an image to be adjusted on a target sub-screen in the sub-screens;
and a second adjusting unit 344, configured to perform scaling processing on the image to be adjusted on the target sub-screen according to the target scaling multiple, and obtain a scaled image.
Optionally, the mobile terminal 300 includes:
a starting module 370 for starting a shooting application based on an operation of a user;
further, the display module 310 is further configured to display a preview interface of the shooting application on two sub-screens, and take display content on the preview interface as a displayed image.
The mobile terminal 300 can implement each process implemented by the mobile terminal in the method embodiments of fig. 1 to fig. 2, and is not described herein again to avoid repetition.
The mobile terminal provided by the embodiment of the invention respectively displays images on the two sub-screens; detecting the turning angle between the two sub-screens based on the relative positions of the two sub-screens; determining a target adjustment coefficient corresponding to an image to be adjusted on a target sub-screen in the display screen based on a corresponding relation between a preset turning angle and an adjustment coefficient of the image; and adjusting the image to be adjusted by using the target adjustment coefficient. Therefore, the images to be adjusted can be displayed on the two sub-screens of the mobile terminal, the images to be adjusted on the target sub-screen can be adjusted, so that the user can compare the adjusted images with the original image while adjusting the images, the user can change the adjustment coefficient by rotating one of the display screens in real time, the purpose of accurate adjustment is achieved, the operation is simple, and the improvement of user experience is facilitated.
The embodiment of the present invention further provides a mobile terminal, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements each process of the above-mentioned image adjustment method embodiment, and can achieve the same technical effect, and is not described herein again to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the embodiment of the image adjustment method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
Referring to fig. 7, fig. 7 is a block diagram of a mobile terminal according to another embodiment of the present invention, and as shown in fig. 7, a mobile terminal 700 includes: at least one processor 701, a memory 702, at least one network interface 704, and a user interface 703. The various components in the mobile terminal 700 are coupled together by a bus system 705. It is understood that the bus system 705 is used to enable communications among the components. The bus system 705 includes a power bus, a control bus, and a status signal bus in addition to a data bus. But for clarity of illustration the various busses are labeled in figure 7 as the bus system 705. The mobile terminal 700 further includes a foldable display screen, and one sub-screen of the display screen may be located on the same display surface or stacked with another sub-screen via a folding line.
The user interface 703 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It is to be understood that the memory 702 in embodiments of the present invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of example, but not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data rate Synchronous Dynamic random access memory (ddr SDRAM ), Enhanced Synchronous SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and direct memory bus RAM (DRRAM). The memory 702 of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 702 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof: an operating system 7021 and application programs 7022.
The operating system 7021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks. The application 7022 includes various applications, such as a Media Player (Media Player), a Browser (Browser), and the like, for implementing various application services. Programs that implement methods in accordance with embodiments of the present invention can be included within application program 7022.
In the embodiment of the present invention, the mobile terminal 700 further includes: a computer program stored on the memory 702 and executable on the processor 701, in particular a computer program in the application 7022, which computer program, when executed by the processor 701, performs the steps of: displaying images on the two sub-screens respectively; detecting the turning angle between the two sub-screens based on the relative positions of the two sub-screens; determining a target adjustment coefficient corresponding to an image to be adjusted on a target sub-screen in the display screen based on a corresponding relation between a preset turning angle and an adjustment coefficient of the image; and adjusting the image to be adjusted by using the target adjustment coefficient.
The method disclosed in the above embodiments of the present invention may be applied to the processor 701, or implemented by the processor 701. The processor 701 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be implemented by integrated logic circuits of hardware or instructions in the form of software in the processor 701. The Processor 701 may be a general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable Gate Array (FPGA) or other programmable logic device, discrete Gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 702, and the processor 701 reads the information in the memory 702 and performs the steps of the above method in combination with the hardware thereof.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the Processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Optionally, the computer program may further implement the following steps when executed by the processor 701:
determining the relative position between the two sub-screens by detecting the rotation information of the two sub-screens; and determining the non-rotated sub-screen in the two sub-screens as a target sub-screen based on the rotation information.
Optionally, the computer program may further implement the following steps when executed by the processor 701:
determining target display parameters of the image to be adjusted based on the corresponding relation between the target adjustment coefficients and the display parameters of the image; and adjusting the image to be adjusted by using the target display parameters to obtain an adjusted image.
Optionally, the computer program may further implement the following steps when executed by the processor 701:
determining a target scaling factor of an image to be adjusted on a target sub-screen in the sub-screens based on the corresponding relation between the target adjustment coefficient and the scaling factor; and zooming the image to be adjusted on the target sub-screen according to the target zooming multiple, and obtaining a zoomed image.
Optionally, the computer program may further implement the following steps when executed by the processor 701:
the photographing application is started based on an operation of a user.
Further, the computer program may further implement the following steps when executed by the processor 701:
and displaying a preview interface of the shooting application on the two sub-screens, and taking the display content on the preview interface as a displayed image.
The mobile terminal 700 can implement the processes implemented by the mobile terminal in the foregoing embodiments, and details are not repeated here to avoid repetition.
According to the mobile terminal provided by the embodiment of the invention, images are respectively displayed on the two sub-screens; detecting the turning angle between the two sub-screens based on the relative positions of the two sub-screens; determining a target adjustment coefficient corresponding to an image to be adjusted on a target sub-screen in the display screen based on a corresponding relation between a preset turning angle and an adjustment coefficient of the image; and adjusting the image to be adjusted by using the target adjustment coefficient. Therefore, the images to be adjusted can be displayed on the two sub-screens of the mobile terminal, the images to be adjusted on the target sub-screen can be adjusted, so that the user can compare the adjusted images with the original image while adjusting the images, the user can change the adjustment coefficient by rotating one of the display screens in real time, the purpose of accurate adjustment is achieved, the operation is simple, and the improvement of user experience is facilitated.
Referring to fig. 8, fig. 8 is a block diagram of a mobile terminal according to another embodiment of the present invention, and as shown in fig. 8, the mobile terminal 800 includes a Radio Frequency (RF) circuit 810, a memory 820, an input unit 830, a display unit 840, a processor 850, an audio circuit 860, a communication module 870, and a power supply 880.
The input unit 830 may be used, among other things, to receive numeric or character information input by a user and to generate signal inputs related to user settings and function control of the mobile terminal 800. Specifically, in the embodiment of the present invention, the input unit 830 may include a touch panel 831. The touch panel 831, also referred to as a touch screen, can collect touch operations of a user (e.g., operations of the user on the touch panel 831 using a finger, a stylus pen, or any other suitable object or accessory) thereon or nearby, and drive a corresponding connected mobile terminal according to a preset program. Alternatively, the touch panel 831 may include two portions of a touch detection mobile terminal and a touch controller. The touch detection mobile terminal detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing mobile terminal, converts it into touch point coordinates, and then sends the touch point coordinates to the processor 850, and can receive and execute commands sent from the processor 850. In addition, the touch panel 831 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 831, the input unit 830 may include other input devices 832, and the other input devices 832 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
Among other things, the display unit 840 may be used to display information input by the user or information provided to the user and various menu interfaces of the mobile terminal 800. The display unit 840 may include a foldable first sub-screen 841 and a foldable second sub-screen 842, one of the first sub-screen 841 and the second sub-screen 842 may be on the same display surface or stacked with the other by being turned along a folding line, and alternatively, the first sub-screen 841 and the second sub-screen 842 may be configured in the form of an LCD or an Organic Light-emitting diode (OLED), or the like.
It should be noted that the touch panel 831 may cover the first sub-screen 841 and/or the second sub-screen 842 to form a touch display screen, and when the touch display screen detects a touch operation thereon or nearby, the touch display screen is transmitted to the processor 850 to determine the type of the touch event, and then the processor 850 provides a corresponding visual output on the touch display screen according to the type of the touch event.
The touch display screen comprises an application program interface display area and a common control display area. The arrangement modes of the application program interface display area and the common control display area are not limited, and can be an arrangement mode which can distinguish two display areas, such as vertical arrangement, left-right arrangement and the like. The application interface display area may be used to display an interface of an application. Each interface may contain at least one interface element such as an icon and/or widget desktop control for an application. The application interface display area may also be an empty interface that does not contain any content. The common control display area is used for displaying controls with high utilization rate, such as application icons like setting buttons, interface numbers, scroll bars, phone book icons and the like. The touch screen is a flexible screen, and the two surfaces of the flexible screen are both pasted with the organic transparent conductive films of the carbon nanotubes.
The processor 850 is a control center of the mobile terminal 800, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile terminal 800 and processes data by operating or executing software programs and/or modules stored in the first memory 821 and calling data stored in the second memory 822, thereby integrally monitoring the mobile terminal 800. Optionally, processor 850 may include one or more processing units.
In this embodiment of the present invention, the mobile terminal 800 further includes: a computer program stored on the memory 820 and operable on the processor 850, in particular a computer program stored in the first memory 821 or the second memory 822, which when executed by the processor 850, performs the steps of:
displaying images on the two sub-screens respectively; detecting the turning angle between the two sub-screens based on the relative positions of the two sub-screens; determining a target adjustment coefficient corresponding to an image to be adjusted on a target sub-screen in the display screen based on a corresponding relation between a preset turning angle and an adjustment coefficient of the image; and adjusting the image to be adjusted by using the target adjustment coefficient.
Optionally, the computer program when executed by the processor 850 may further implement the steps of:
determining the relative position between the two sub-screens by detecting the rotation information of the two sub-screens; and determining the non-rotated sub-screen in the two sub-screens as a target sub-screen based on the rotation information.
Optionally, the computer program when executed by the processor 850 may further implement the steps of:
determining target display parameters of the image to be adjusted based on the corresponding relation between the target adjustment coefficients and the display parameters of the image; and adjusting the image to be adjusted by using the target display parameters to obtain an adjusted image.
Optionally, the computer program when executed by the processor 850 may further implement the steps of:
determining a target scaling factor of an image to be adjusted on a target sub-screen in the sub-screens based on the corresponding relation between the target adjustment coefficient and the scaling factor; and zooming the image to be adjusted on the target sub-screen according to the target zooming multiple, and obtaining a zoomed image.
Optionally, the computer program when executed by the processor 850 may further implement the steps of:
the photographing application is started based on an operation of a user.
Further, the computer program when executed by the processor 850 may also implement the steps of:
and displaying a preview interface of the shooting application on the two sub-screens, and taking the display content on the preview interface as a displayed image.
The mobile terminal 800 can implement each process implemented by the mobile terminal in the foregoing embodiments, and details are not repeated here to avoid repetition.
The mobile terminal provided by the embodiment of the invention respectively displays images on the two sub-screens; detecting the turning angle between the two sub-screens based on the relative positions of the two sub-screens; determining a target adjustment coefficient corresponding to an image to be adjusted on a target sub-screen in the display screen based on a corresponding relation between a preset turning angle and an adjustment coefficient of the image; and adjusting the image to be adjusted by using the target adjustment coefficient. Therefore, the images to be adjusted can be displayed on the two sub-screens of the mobile terminal, the images to be adjusted on the target sub-screen can be adjusted, so that the user can compare the adjusted images with the original image while adjusting the images, the user can change the adjustment coefficient by rotating one of the display screens in real time, the purpose of accurate adjustment is achieved, the operation is simple, and the improvement of user experience is facilitated.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (7)

1. An image adjusting method is applied to a mobile terminal, and is characterized in that the mobile terminal comprises a foldable display screen, one sub-screen of the display screen can be on the same display surface or stacked with another sub-screen through a folding line, and the method comprises the following steps:
displaying images on the two sub-screens respectively;
detecting the turning angle between the two sub-screens based on the relative positions of the two sub-screens;
determining a target adjustment coefficient corresponding to an image to be adjusted on a target sub-screen in the display screen based on a corresponding relation between a preset turning angle and an adjustment coefficient of the image;
adjusting the image to be adjusted by using the target adjustment coefficient;
the step of adjusting the image to be adjusted by using the target adjustment coefficient includes:
determining target display parameters of the image to be adjusted based on the corresponding relation between the target adjustment coefficients and the display parameters of the image;
adjusting the image to be adjusted by using the target display parameter to obtain an adjusted image, wherein the beauty degree of the image to be adjusted is adjusted by using the target display parameter, the beauty degree of the image to be adjusted is improved under the condition that one display screen of the two sub-screens rotates forwards, and the beauty degree of the image to be adjusted is reduced under the condition that the one display screen rotates backwards;
or, the step of adjusting the image to be adjusted by using the target adjustment coefficient includes:
determining a target scaling factor of an image to be adjusted on a target sub-screen in the sub-screens based on the corresponding relation between the target adjustment coefficient and the scaling factor;
and zooming the image to be adjusted on the target sub-screen according to the target zooming multiple to obtain a zoomed image, wherein the image to be adjusted is enlarged under the condition that one display screen of the two sub-screens rotates forwards, and the image to be adjusted is reduced under the condition that the one display screen rotates reversely.
2. The adjustment method of claim 1, wherein prior to the step of detecting the flip angle between the two sub-screens, the method comprises:
determining the relative position between the two sub-screens by detecting the rotation information of the two sub-screens;
and determining the non-rotated sub-screen in the two sub-screens as a target sub-screen based on the rotation information.
3. The adjustment method according to claim 1, characterized in that before the step of displaying the images on the two sub-screens respectively, the method comprises:
starting a shooting application based on the operation of a user;
a step of displaying images on two sub-screens, respectively, comprising:
and displaying a preview interface of the shooting application on the two sub-screens, and taking the display content on the preview interface as a displayed image.
4. The mobile terminal is characterized by comprising a foldable display screen, wherein one sub-screen of the display screen can be positioned on the same display surface or stacked with another sub-screen through a folding line, and the mobile terminal further comprises:
the display module is used for respectively displaying images on the two sub-screens;
the detection module is used for detecting the turnover angle between the two sub-screens based on the relative positions of the two sub-screens;
the first determining module is used for determining a target adjusting coefficient corresponding to an image to be adjusted on a target sub-screen in the display screen based on a corresponding relation between a preset turning angle and an adjusting coefficient of the image;
the adjusting module is used for adjusting the image to be adjusted by using the target adjusting coefficient;
the adjustment module includes:
the first determining unit is used for determining target display parameters of the image to be adjusted based on the corresponding relation between the target adjustment coefficient and the display parameters of the image;
the first adjusting unit is used for adjusting the image to be adjusted by using the target display parameter and obtaining an adjusted image, wherein the target display parameter is used for adjusting the beauty degree of the image to be adjusted, the beauty degree of the image to be adjusted is improved under the condition that one display screen of the two sub-screens rotates in the forward direction, and the beauty degree of the image to be adjusted is reduced under the condition that the one display screen rotates in the reverse direction;
or, the adjusting module includes:
a second determining unit, configured to determine a target scaling factor of an image to be adjusted on a target sub-screen in the sub-screens based on a corresponding relationship between the target adjustment coefficient and the scaling factor;
and the second adjusting unit is used for carrying out zooming processing on the image to be adjusted on the target sub-screen according to the target zooming multiple and obtaining a zoomed image, wherein the image to be adjusted is enlarged under the condition that one display screen of the two sub-screens rotates in the forward direction, and the image to be adjusted is reduced under the condition that the one display screen rotates in the reverse direction.
5. The mobile terminal of claim 4, wherein the mobile terminal comprises:
the second determining module is used for determining the relative position between the two sub-screens by detecting the rotation information of the two sub-screens;
and the third determining module is used for determining the non-rotated sub-screen in the two sub-screens as the target sub-screen based on the rotation information.
6. The mobile terminal of claim 4, wherein the mobile terminal comprises:
the starting module is used for starting the shooting application based on the operation of a user;
the display module is further configured to display a preview interface of the shooting application on the two sub-screens, and take display content on the preview interface as a displayed image.
7. A mobile terminal, characterized in that it comprises a processor, a memory and a computer program stored on said memory and executable on said processor, said computer program, when executed by said processor, implementing the steps of the method of adjustment of an image according to any one of claims 1 to 3.
CN201710590313.0A 2017-07-19 2017-07-19 Image adjusting method and mobile terminal Active CN107390990B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710590313.0A CN107390990B (en) 2017-07-19 2017-07-19 Image adjusting method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710590313.0A CN107390990B (en) 2017-07-19 2017-07-19 Image adjusting method and mobile terminal

Publications (2)

Publication Number Publication Date
CN107390990A CN107390990A (en) 2017-11-24
CN107390990B true CN107390990B (en) 2020-03-31

Family

ID=60340287

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710590313.0A Active CN107390990B (en) 2017-07-19 2017-07-19 Image adjusting method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107390990B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108229410A (en) * 2018-01-12 2018-06-29 深圳市商汤科技有限公司 Image processing method and equipment
CN110039298B (en) * 2018-01-15 2020-06-19 浙江宇视科技有限公司 Flatness adjusting method and system
CN110716611A (en) * 2018-07-13 2020-01-21 中兴通讯股份有限公司 Folding angle determining method and device, folding terminal and computer storage medium
CN109525704A (en) * 2018-09-21 2019-03-26 维沃移动通信有限公司 A kind of control method and mobile terminal
CN109144455B (en) * 2018-09-25 2022-01-25 Oppo(重庆)智能科技有限公司 Display control method and related product
CN110278295A (en) * 2019-05-31 2019-09-24 Oppo广东移动通信有限公司 Display methods, device, mobile terminal and storage medium
CN110243580A (en) * 2019-06-04 2019-09-17 Oppo广东移动通信有限公司 Detection method, device, electronic equipment and the storage medium of electronic equipment
CN110442058B (en) * 2019-08-01 2021-04-23 珠海格力电器股份有限公司 Equipment control method, storage medium and electronic equipment
CN112153281A (en) * 2020-09-14 2020-12-29 维沃移动通信有限公司 Image processing method and device
CN113014799B (en) * 2021-01-28 2023-01-31 维沃移动通信有限公司 Image display method and device and electronic equipment
CN113473013A (en) * 2021-06-30 2021-10-01 展讯通信(天津)有限公司 Display method and device for beautifying effect of image and terminal equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105338133B (en) * 2014-07-31 2019-12-27 展讯通信(上海)有限公司 Mobile terminal with foldable screen
WO2016017948A1 (en) * 2014-07-31 2016-02-04 Samsung Electronics Co., Ltd. Flexible device and interfacing method thereof
CN106445340B (en) * 2016-09-21 2020-01-10 青岛海信电器股份有限公司 Method and device for displaying stereoscopic image by double-screen terminal
CN106681606A (en) * 2016-12-06 2017-05-17 宇龙计算机通信科技(深圳)有限公司 Picture processing method and terminal

Also Published As

Publication number Publication date
CN107390990A (en) 2017-11-24

Similar Documents

Publication Publication Date Title
CN107390990B (en) Image adjusting method and mobile terminal
US11128802B2 (en) Photographing method and mobile terminal
US11481096B2 (en) Gesture mapping for image filter input parameters
WO2018192390A1 (en) Photographing method of mobile terminal, and mobile terminal
JP4720879B2 (en) Information processing apparatus and information processing method
CN107179865B (en) Page switching method and terminal
US20180077361A1 (en) Method and apparatus for creating motion effect for image
US8760557B2 (en) User interface for a digital camera
US9666158B2 (en) Apparatus and method of controlling screens in a device
US10628010B2 (en) Quick review of captured image data
CN107643912B (en) Information sharing method and mobile terminal
US9026946B2 (en) Method and apparatus for displaying an image
CN111479054B (en) Apparatus and method for processing image in device
CN106250021B (en) Photographing control method and mobile terminal
CN107172347B (en) Photographing method and terminal
CN106970752B (en) Screen capturing method and mobile terminal
US9229615B2 (en) Method and apparatus for displaying additional information items
CN107277411B (en) Video recording method and mobile terminal
US10095384B2 (en) Method of receiving user input by detecting movement of user and apparatus therefor
CN106713742B (en) Shooting method and mobile terminal
CN106250503B (en) Picture processing method and mobile terminal
WO2020093371A1 (en) Photographing control method, and electronic device and computer readable storage medium
CA2782130C (en) Method and apparatus for displaying an image
US20130188218A1 (en) Print Requests Including Event Data
CA2807866C (en) User interface for a digital camera

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant