CN114125151A - Image processing method, mobile terminal and storage medium - Google Patents

Image processing method, mobile terminal and storage medium Download PDF

Info

Publication number
CN114125151A
CN114125151A CN202111425912.XA CN202111425912A CN114125151A CN 114125151 A CN114125151 A CN 114125151A CN 202111425912 A CN202111425912 A CN 202111425912A CN 114125151 A CN114125151 A CN 114125151A
Authority
CN
China
Prior art keywords
image
curved surface
width
screen
display screen
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.)
Granted
Application number
CN202111425912.XA
Other languages
Chinese (zh)
Other versions
CN114125151B (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.)
Shenzhen Transsion Holdings Co Ltd
Original Assignee
Shenzhen Transsion Holdings 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 Shenzhen Transsion Holdings Co Ltd filed Critical Shenzhen Transsion Holdings Co Ltd
Priority to CN202111425912.XA priority Critical patent/CN114125151B/en
Publication of CN114125151A publication Critical patent/CN114125151A/en
Application granted granted Critical
Publication of CN114125151B publication Critical patent/CN114125151B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72466User interfaces specially adapted for cordless or mobile telephones with selection means, e.g. keys, having functions defined by the mode or the status of the device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0266Details of the structure or mounting of specific components for a display module assembly
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides an image processing method, a mobile terminal and a storage medium, which are applied to the mobile terminal, wherein the mobile terminal is provided with a display screen, the display screen comprises a curved surface area and a non-curved surface area, and the method comprises the following steps: acquiring at least one of the number of images displayed by an image control at a time, the image space between adjacent images in the image control, the screen width of the curved surface display screen and the curved surface width of the curved surface display screen; determining or generating an image width according to at least one of the screen width, the curved surface width, the number of images and the image interval; and according to the image width and/or the image quantity, performing image display in the image control in the curved surface area and/or the non-curved surface area, and improving the image display effect.

Description

Image processing method, mobile terminal and storage medium
Technical Field
The present application relates to the field of image processing technologies, and in particular, to an image processing method, a mobile terminal, and a storage medium.
Background
The screen of the mobile terminal generally uses a curved display screen, and the mobile terminal can display a plurality of images in the curved display screen. For example, when the mobile terminal displays an image in a curved display screen, an image control of the mobile terminal may display the image in a non-curved area of the curved display screen.
In the course of conceiving and implementing the present application, the inventors found that at least the following problems existed: the left edge and the right edge of the curved surface display screen have smaller curved surface areas, and when a plurality of images are displayed, the curved surface areas enable blank margins to exist when the images slide (such as slide left and right), so that the image display effect is poor.
The foregoing description is provided for general background information and is not admitted to be prior art.
Disclosure of Invention
In view of the foregoing technical problems, the present application provides an image processing method, a mobile terminal, and a storage medium, which can improve the display effect of an image in the mobile terminal.
In order to solve the above technical problem, the present application provides an image processing method applied to a mobile terminal, where the mobile terminal has a display screen, and the display screen includes a curved surface area and a non-curved surface area, and the method includes: the method comprises the following steps:
s11, acquiring at least one of the number of images displayed by an image control at a time, the image space between adjacent images in the image control, the screen width of the curved surface display screen and the curved surface width of the curved surface display screen;
s12, determining or generating an image width according to at least one of the screen width, the curved surface width, the image number and the image interval;
and S13, displaying images in the image control in the curved surface area and/or the non-curved surface area according to the image width and/or the image number.
Optionally, the step S13 includes:
judging whether the image displayed at a single time comprises a first image according to the number of the images to obtain a judgment result, wherein the first image is a partially displayed image;
and displaying images in the image control in the curved surface area and/or the non-curved surface area according to the judgment result and the image width.
Optionally, displaying an image in an image control in the curved surface region and/or the non-curved surface region according to the determination result and the image width, including:
when the judgment result is that the image displayed at the single time comprises the first image, displaying the first image in an image control in the curved surface area and/or the non-curved surface area and/or displaying a second image in the non-curved surface area according to the image width, wherein the second image is a completely displayed image; and/or the presence of a gas in the gas,
and when the judgment result is that the image displayed in a single time does not comprise the first image, displaying the second image in the non-curved surface area according to the image width.
Optionally, displaying the first image in an image control in the curved surface region and/or the non-curved surface region according to the image width includes:
acquiring the display position of the first image in the curved surface display screen;
determining or generating the display width of the first image in the curved surface display screen according to the image width;
displaying the first image in an image control in the curved surface region and/or the non-curved surface region according to the display position and/or the display width.
Optionally, displaying the first image in an image control in the curved surface region and/or the non-curved surface region according to the display position and/or the display width, including at least one of:
if the display position is the leftmost side of the curved surface display screen, displaying the first image in the non-curved surface area and the curved surface area on the left side according to the display width;
and if the display position is the rightmost side of the curved surface display screen, displaying the first image in the non-curved surface area and the curved surface area on the right side according to the display width.
Optionally, the images to be displayed in the image control are arranged in a horizontal direction, and the arrangement sequence of the images to be displayed is from left to right; displaying a second image in the non-curved surface area, wherein the second image comprises at least one of the following:
if the second image is the first image, setting a first preset area between the left side of the second image and the left edge of the curved surface display screen, wherein the size of the first preset area is the sum of the image space and the screen margin of the curved surface display screen, and the screen margin is the difference between the screen width and the curved surface width;
if the second image is the last image, setting the first preset area between the right side of the second image and the right edge of the curved surface display screen;
and if the second image is a middle image, setting a second preset area on the left side or the right side of the second image, wherein the size of the second preset area is equal to the image interval.
Optionally, the step S12 includes:
determining or generating a screen margin of the curved surface display screen according to the screen width and the curved surface width;
and determining or generating the image width according to the screen width, the screen margin, the image quantity and the image space.
Optionally, determining or generating the image width according to the screen width, the screen margin, the number of images, and the image interval includes:
if the image displayed by the image control at a single time does not comprise a first image, determining or generating the image width according to the screen width, the screen margin, the image number and the image interval; and/or the presence of a gas in the gas,
and if the image displayed by the image control at a single time comprises the first image, determining or generating the image width according to the screen width, the screen margin, the image quantity, the image interval and the size of the first image display.
Optionally, judging whether the image displayed at a single time includes the first image according to the number of the images to obtain a judgment result, including:
if the number of the images is 1 or 2, determining or generating that the judging result is that the first image is not included in the image displayed for one time; and/or the presence of a gas in the gas,
and if the number of the images is an integer larger than 2, determining or generating that the image with the judgment result of single display comprises the first image.
The application also provides an image processing device, which is applied to a mobile terminal, the mobile terminal is provided with a display screen, the display screen comprises a curved surface area and a non-curved surface area, the image processing device comprises an acquisition module, a determination module and a display module, wherein:
the acquisition module is used for acquiring at least one of the number of images displayed by the image control at a time, the image space between adjacent images in the image control, the screen width of the curved surface display screen and the curved surface width of the curved surface display screen;
the determining module is used for determining or generating an image width according to at least one of the screen width, the curved surface width, the image number and the image interval;
and the display module is used for displaying images in the image control in the curved surface area and/or the non-curved surface area according to the image width and/or the image quantity.
Optionally, the display module is specifically configured to:
judging whether the image displayed at a single time comprises a first image according to the number of the images to obtain a judgment result, wherein the first image is a partially displayed image;
and displaying images in the image control in the curved surface area and/or the non-curved surface area according to the judgment result and the image width.
Optionally, the display module is specifically configured to:
when the judgment result is that the image displayed at the single time comprises the first image, displaying the first image in an image control in the curved surface area and/or the non-curved surface area and/or displaying a second image in the non-curved surface area according to the image width, wherein the second image is a completely displayed image; and/or the presence of a gas in the gas,
and when the judgment result is that the image displayed in a single time does not comprise the first image, displaying the second image in the non-curved surface area according to the image width.
Optionally, the display module is specifically configured to:
acquiring the display position of the first image in the curved surface display screen;
determining or generating the display width of the first image in the curved surface display screen according to the image width;
displaying the first image in an image control in the curved surface region and/or the non-curved surface region according to the display position and/or the display width.
Optionally, the display module is specifically configured to:
if the display position is the leftmost side of the curved surface display screen, displaying the first image in the non-curved surface area and the curved surface area on the left side according to the display width; and/or the presence of a gas in the gas,
and if the display position is the rightmost side of the curved surface display screen, displaying the first image in the non-curved surface area and the curved surface area on the right side according to the display width.
Optionally, the display module is specifically configured to at least one of:
if the second image is the first image, setting a first preset area between the left side of the second image and the left edge of the curved surface display screen, wherein the size of the first preset area is the sum of the image space and the screen margin of the curved surface display screen, and the screen margin is the difference between the screen width and the curved surface width;
if the second image is the last image, setting the first preset area between the right side of the second image and the right edge of the curved surface display screen;
and if the second image is a middle image, setting a second preset area on the left side or the right side of the second image, wherein the size of the second preset area is equal to the image interval.
Optionally, the determining module is specifically configured to:
determining or generating a screen margin of the curved surface display screen according to the screen width and the curved surface width;
and determining or generating the image width according to the screen width, the screen margin, the image quantity and the image space.
Optionally, the determining module is specifically configured to:
if the image displayed by the image control at a single time does not comprise a first image, determining or generating the image width according to the screen width, the screen margin, the image number and the image interval; and/or the presence of a gas in the gas,
and if the image displayed by the image control at a single time comprises the first image, determining or generating the image width according to the screen width, the screen margin, the image quantity, the image interval and the size of the first image display.
Optionally, the display module is specifically configured to:
if the number of the images is 1 or 2, determining or generating that the judging result is that the first image is not included in the image displayed for one time; and/or the presence of a gas in the gas,
and if the number of the images is an integer larger than 2, determining or generating that the image with the judgment result of single display comprises the first image.
The present application further provides a mobile terminal, including: a memory, a processor, wherein the memory has stored thereon an image processing program, which when executed by the processor implements the steps of any of the methods described above.
The present application also provides a computer-readable storage medium, which stores a computer program that, when executed by a processor, performs the steps of the method as set forth in any one of the above.
The present application also provides a computer program product comprising a computer program which, when executed by a processor, implements an image processing method as described in any of the above.
As described above, the image processing method, the mobile terminal and the storage medium of the present application are applied to a mobile terminal, where the mobile terminal has a curved display screen, and the curved display screen includes a curved area and a non-curved area, and includes the steps of: s11, acquiring at least one of the number of images displayed by the image control in a single time, the image spacing between adjacent images in the image control, the screen width of the curved surface display screen and the curved surface width of the curved surface display screen, S12, determining or generating the image width according to at least one of the screen width, the curved surface width, the number of images and the image spacing, and S13, displaying the images in the image control in the curved surface area and/or the non-curved surface area according to the image width and/or the number of images. Through the technical scheme, when a plurality of images are displayed in the image control, the mobile terminal can display the images in the image control in the curved surface area and the non-curved surface area, so that blank margins cannot be generated in the non-curved surface area when the images slide, the sliding effect display of the images is improved, and the image display effect of the mobile terminal is further improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic hardware structure diagram of a mobile terminal implementing various embodiments of the present application;
fig. 2 is a communication network system architecture diagram according to an embodiment of the present application;
fig. 3 is a schematic view of an application scenario provided in an embodiment of the present application;
fig. 4 is a schematic flowchart of an image processing method according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a screen margin provided in an embodiment of the present application;
fig. 6 is a schematic flowchart of another image processing method according to an embodiment of the present application;
fig. 7A is a schematic diagram of a mobile terminal displaying an image according to an embodiment of the present application;
fig. 7B is a schematic diagram of another mobile terminal displaying an image according to an embodiment of the present application;
fig. 8A is a schematic diagram illustrating a first image according to an embodiment of the present disclosure;
fig. 8B is a schematic diagram illustrating a first image according to an embodiment of the present disclosure;
fig. 9 is a schematic diagram illustrating a second image according to an embodiment of the present application;
fig. 10 is a schematic process diagram of an image processing method according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of an image processing apparatus according to an embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings. With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. These drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the inventive concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the recitation of an element by the phrase "comprising an … …" does not exclude the presence of additional like elements in the process, method, article, or apparatus that comprises the element, and further, where similarly-named elements, features, or elements in different embodiments of the disclosure may have the same meaning, or may have different meanings, that particular meaning should be determined by their interpretation in the embodiment or further by context with the embodiment.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope herein. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context. Also, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes" and/or "including," when used in this specification, specify the presence of stated features, steps, operations, elements, components, items, species, and/or groups, but do not preclude the presence, or addition of one or more other features, steps, operations, elements, components, species, and/or groups thereof. The terms "or," "and/or," "including at least one of the following," and the like, as used herein, are to be construed as inclusive or mean any one or any combination. For example, "includes at least one of: A. b, C "means" any of the following: a; b; c; a and B; a and C; b and C; a and B and C ", again for example," A, B or C "or" A, B and/or C "means" any of the following: a; b; c; a and B; a and C; b and C; a and B and C'. An exception to this definition will occur only when a combination of elements, functions, steps or operations are inherently mutually exclusive in some way.
It should be understood that, although the steps in the flowcharts in the embodiments of the present application are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least some of the steps in the figures may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, in different orders, and may be performed alternately or at least partially with respect to other steps or sub-steps of other steps.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
It should be noted that step numbers such as S11 and S12 are used herein for the purpose of more clearly and briefly describing the corresponding content, and do not constitute a substantial limitation on the sequence, and those skilled in the art may perform S12 first and then S11 in specific implementation, which should be within the scope of the present application.
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for the convenience of description of the present application, and have no specific meaning in themselves. Thus, "module", "component" or "unit" may be used mixedly.
The mobile terminal may be implemented in various forms. For example, the mobile terminal described in the present application may include mobile terminals such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and fixed terminals such as a Digital TV, a desktop computer, and the like.
The following description will be given taking a mobile terminal as an example, and it will be understood by those skilled in the art that the configuration according to the embodiment of the present application can be applied to a fixed type terminal in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present application, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex-Long Term Evolution), TDD-LTE (Time Division duplex-Long Term Evolution, Time Division Long Term Evolution), and fifth Generation (5th Generation, 5G) Mobile communication systems.
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Optionally, the light sensor includes an ambient light sensor that may adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 1061 and/or the backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Alternatively, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Optionally, the touch detection device detects a touch orientation of a user, detects a signal caused by a touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Optionally, other input devices 1072 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, and are not limited thereto.
Alternatively, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a program storage area and a data storage area, and optionally, the program storage area may store an operating system, an application program (such as a sound playing function, an image playing function, and the like) required by at least one function, and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor, optionally, the application processor mainly handles operating systems, user interfaces, application programs, etc., and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present application, a communication network system on which the mobile terminal of the present application is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present disclosure, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Optionally, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Alternatively, the eNodeB2021 may be connected with other enodebs 2022 through a backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. Optionally, the MME2031 is a control node that handles signaling between the UE201 and the EPC203, providing bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present application is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems (e.g. 5G), and the like.
Based on the above mobile terminal hardware structure and communication network system, various embodiments of the present application are provided.
In some implementations, the mobile terminal may display multiple images in a curved display screen. For example, when the mobile terminal displays an image in a curved display screen, the image control of the mobile terminal may display a plurality of images in a non-curved area of the curved display screen. However, the curved display screen is not completely flat, a small curved area exists at the left and right edges of the curved display screen, and when the mobile terminal displays a plurality of images, the curved area causes a blank margin to exist when the images slide. This results in poor image display in the mobile terminal.
In order to solve the above technical problem, embodiments of the present application provide an image processing method applied to a mobile terminal, the mobile terminal having a curved display screen, optionally, the curved surface display screen comprises a curved surface area and a non-curved surface area, the mobile terminal can acquire the number of images displayed by the image control at a time, the image margin between adjacent images in the image control, the screen width of the curved surface display screen and the curved surface width of the curved surface display screen, determining or generating the image width according to the screen width, the curved surface width, the image number and the image interval, and/or judging whether the image displayed in a single time comprises a first image according to the number of the images to obtain a judgment result, wherein the first image is a partially displayed image, when the judgment result is that the image displayed at a single time does not comprise the first image, displaying the completely displayed image in the non-curved surface area according to the image width; and/or when the judgment result is that the image displayed for a single time comprises the first image, displaying the first image in the image controls in the curved surface area and the non-curved surface area according to the image width, and/or displaying the completely displayed image in the non-curved surface area. Therefore, when the mobile terminal displays a plurality of images at a time, 1 or 2 partially displayed images can be displayed to remind the user that the image control also comprises other images, so that the user can slide to browse more images, and the mobile terminal can display the images in the image controls in the curved surface area and the non-curved surface area, so that blank margins cannot be generated in the curved surface area when the images slide, the sliding effect display of the images is improved, and the image display effect of the mobile terminal is further improved.
Next, an application scenario of the embodiment of the present application is described with reference to fig. 3.
Fig. 3 is a schematic view of an application scenario provided in an embodiment of the present application. Please refer to fig. 3, which includes a mobile terminal. Optionally, the screen of the mobile terminal is a curved display screen. And displaying the image A, the image B and the image C in the mobile terminal. Alternatively, image a and image B are fully displayed images and image C is a partially displayed image. A blank area exists between the left side of the image a and the left edge of the mobile terminal, and the right side of the displayed portion of the image C is connected to the right edge of the mobile terminal. Therefore, when the image slides, part of the displayed image can be connected with the edge of the mobile terminal, so that blank margin cannot be generated in a curved surface area when the image slides, the image sliding effect display is improved, and the image display effect of the mobile terminal is further improved.
The technical means shown in the present application will be described in detail below with reference to specific examples. Alternatively, the following embodiments may exist alone or in combination with each other, and the description thereof will not be repeated in different embodiments for the same or similar contents.
Fig. 4 is a schematic flowchart of an image processing method according to an embodiment of the present application. Referring to fig. 4, the method may include:
and S11, acquiring at least one of the number of images displayed by the image control in a single time, the image space between adjacent images in the image control, the screen width of the curved surface display screen and the curved surface width of the curved surface display screen.
The execution main body of the embodiment of the application can be a mobile terminal, and can also be an image processing device arranged in the mobile terminal. Alternatively, the image processing apparatus may be implemented by software, or may be implemented by a combination of software and hardware.
The mobile terminal has a display screen. Optionally, the display screen comprises a curved area and a non-curved area. For example, the display screen may be a curved display screen, the middle of the curved display screen is a non-curved area to improve the display effect of the screen, and the left and right edges of the curved display screen are curved areas to facilitate the installation of the screen. For example, the curved surface area may be located at the left edge and the right edge of the curved surface display screen, and the size of the curved surface area is 1 mm, and the other areas are non-curved surface areas.
The image control is used for displaying an image in the mobile terminal. For example, an image control may be a control in an application for displaying an image. The number of images displayed at a time is the number of images displayed by the image control in the screen of the mobile terminal. For example, if 2 images are displayed in the screen of the mobile terminal each time, the number of images displayed by the image control in a single time is 2; if 3 images are displayed in the screen of the mobile terminal each time, the number of the images displayed by the image control in a single time is 3. Alternatively, the number of images displayed by the image control at a time may be a preconfigured number. For example, if the number of images configured in the mobile terminal by the user is 2 in advance, the image control displays 2 images at a time; and if the number of the images configured in the mobile terminal by the user is 3 in advance, the image control displays 3 images at a time.
The image pitch is the distance between adjacent images in the image control. For example, if the distance between two adjacent images in the image control is 1.5 mm, the image interval is 1.5 mm; if the distance between two adjacent images in the image control is 3 mm, the image interval is 3 mm. Alternatively, the image pitch may be any size set in advance. For example, in practical applications, the image pitch may be 1.5 mm, so as to improve the display effect when the images are arranged.
The screen width of the curved display screen may be a dimension between a left side of the curved display screen and a right side of the curved display screen. For example, if the size between the left side and the right side of the curved display screen is 15 cm, the screen width of the curved display screen is 15 cm, and if the size between the left side and the right side of the curved display screen is 20 cm, the screen width of the curved display screen is 20 cm. The non-curved surface width of the curved surface display screen is the size of a non-curved surface area in the curved surface display screen. For example, if the size of the non-curved surface area in the curved surface display screen is 15 cm, the non-curved surface width of the curved surface display screen is 15 cm. Optionally, the screen width of the curved display screen is the sum of the curved width of the curved area and the width of the non-curved area. For example, if the non-curved surface width of the curved surface display screen is 147 mm, and the width of the curved surface area is 3 mm, the screen width of the curved surface display screen is 150 mm. Optionally, the screen width and the curved surface width of the curved surface display screen are intrinsic parameters of the curved surface display screen, and after the curved surface display screen is installed on the mobile terminal, the mobile terminal can obtain the screen width and the curved surface width of the curved surface display screen.
And S12, determining or generating the image width according to at least one of the screen width, the curved surface width, the image number and the image interval.
The image width is the width of the displayed image in the image control. For example, if the image width is 15 mm, the width of each image displayed in the image control is 15 mm; if the image width is 20 mm, the width of each image displayed in the image control is 20 mm.
The image width may be determined or generated according to the following possible implementations: and determining or generating the screen margin of the curved surface display screen according to the screen width and the curved surface width. Optionally, the screen margin is a difference between the screen width and the curved surface width. For example, if the screen width of the curved display screen is 150 mm, and the curved width of the non-curved area is 147 mm, the screen margin is 3 mm.
The screen width, the curved surface width and the screen margin will be described in detail with reference to fig. 5
Fig. 5 is a schematic diagram of a screen margin provided in an embodiment of the present application. Please refer to fig. 5, which includes a mobile terminal. Optionally, the mobile terminal comprises a curved display screen. The dimension between the left edge and the right edge of the curved display screen is the screen width of the curved display screen. The area A is a non-curved surface area of the curved surface display screen. The distance between the left edge of the curved display screen and the left side of the area a, and/or the distance between the right edge of the curved display screen and the right side of the area a is the screen margin (the size of the curved area).
The image width is determined or generated based on at least one of the screen width, the screen margin, the number of images, and the image spacing. Alternatively, there are two cases of determining or generating the image width:
case 1: the image control does not include the first image in the images displayed a single time.
The first image is a partially displayed image. For example, if a portion of an image is displayed in the image control, the image is the first image. And if the image displayed in a single time in the image control does not comprise the first image, determining or generating the image width according to the screen width, the screen margin, the image number and the image interval. For example, if the images displayed in a single time in the image control are all complete images, the mobile terminal may determine or generate the image width according to the screen width, the screen margin, the number of images, and the image spacing. Alternatively, in this case, the image width may be determined or generated according to the following formula
Figure BDA0003378440020000111
Wherein X is the image width; a is the screen width of the curved surface display screen; b is the number of image spaces; c is the image space between the adjacent images in the image control; d is the edge distance of the screen; y is the number of images of a single display of the full image by the image control. For example, if the screen width is 150 mm, the image pitch is 5 mm, the number of images is 2 (the number of image pitches is 3), and the screen margin is 3, the picture width is 66 mm.
Case 2: the image control includes a first image in the images displayed a single time.
If the image displayed by the image control at a single time comprises the first image, determining or generating the image width according to the screen width, the screen margin, the number of images, the image space and the display size of the first image. Alternatively, the size of the first image display may be the size of the first image displayed in the screen. For example, the first image is an image partially displayed on the screen, and thus, the size of the first image displayed on the screen may be the proportion of the partial image in the first image. For example, the first image may be displayed in the screen in one fifth, one sixth, etc. of the size. Alternatively, in this case, the image width may be determined or generated according to the following formula:
Figure BDA0003378440020000121
wherein X is the image width; a is the screen width of the curved surface display screen; b is the number of image spaces; c is the image space between the adjacent images in the image control; d is the edge distance of the screen; y is the image quantity of the complete image displayed by the image control in one time; e is the inverse of the size of the first image displayed in the screen (E is 6 if the first image displays one sixth). For example, if the screen width is 150 mm, the image pitch is 5 mm, the number of images is 3 (the number of image pitches is 3), the screen margin is 3, and the size of the first image displayed in the screen is one sixth, the picture width is about 30 mm.
And S13, displaying the image in the image control in the curved surface area and/or the non-curved surface area according to the image width and/or the image number.
The image display may be performed in the image control in the curved surface region and/or the non-curved surface region according to the following feasible implementation manners: and judging whether the image displayed in a single time comprises the first image or not according to the number of the images to obtain a judgment result. Optionally, the first image is a partially displayed image. The judgment result is used for indicating whether the images displayed by the image control in a single time comprise the partially displayed images. For example, the determination result may be that the image control displays only a part of the image in the image, or the determination result may be that the image control displays no part of the image in the image.
Alternatively, the determination result may be obtained according to the following feasible implementation manners: and if the number of the images is 1 or 2, determining that the judgment result is that the image displayed once does not comprise the first image. For example, if the number of images displayed by the image control at a time is 2, the image control may completely display 2 images, and the determination result is that the image displayed by the image control at a time does not include a part of the displayed images. And if the number of the images is an integer larger than 2, determining that the image displayed in a single time comprises the first image. For example, if the number of images displayed by the image control at a time is 3, the image control may completely display 2 images and partially display 1 image, and the determination result is that the image displayed by a time in the image control includes the partially displayed image.
And displaying the image in the image control in the curved surface area and/or the non-curved surface area according to the judgment result and the image width. For example, if the image displayed once includes the first image as a result of the determination, the first image may be displayed in the curved surface area and the non-curved surface area according to the image width, so that a part of the displayed image may be displayed in the curved surface area, and the display effect of the image may be further improved.
Optionally, when the screen of the mobile terminal is a curved display screen, if the display content in the curved display screen does not include an image, displaying the corresponding content in the non-curved area. For example, when the screen of the mobile terminal is a curved surface display screen, the mobile terminal may divide the control into an image control and a non-image control by grouping the controls, and the content displayed by the non-image control may be displayed in the non-curved surface region by using the display method provided by the present application in the image control.
The embodiment of the application provides an image processing method, which is applied to a mobile terminal, wherein the mobile terminal is provided with a curved surface display screen, the curved surface display screen comprises a curved surface area and a non-curved surface area, the mobile terminal obtains the number of images displayed by an image control at a time, the image distance between adjacent images in the image control, the screen width of the curved surface display screen and the curved surface width of the curved surface display screen, determines the screen edge distance of the curved surface display screen according to the screen width and the curved surface width, determines or generates the image width according to the screen width, the screen edge distance, the number of images and the image distance, and displays images in the image controls in the curved surface area and the non-curved surface area according to the image width and the number of images. According to the method, when the mobile terminal displays a plurality of images once, 1 or 2 partially displayed images can be displayed to remind the user that the image control also comprises other images, so that the user can slide to browse more images, and the mobile terminal can display the images in the image controls in the curved surface area and the non-curved surface area, so that blank margins cannot be generated in the curved surface area when the images slide, the sliding effect display of the images is improved, and the image display effect of the mobile terminal is further improved.
In addition to the embodiment shown in fig. 4, the following describes the image processing method in detail with reference to fig. 6.
Fig. 6 is a schematic flowchart of another image processing method according to an embodiment of the present application. Referring to fig. 6, the method includes:
and S21, acquiring at least one of the number of images displayed by the image control in a single time, the image space between adjacent images in the image control, the screen width of the curved surface display screen and the curved surface width of the curved surface display screen.
It should be noted that, the execution process of step S21 may refer to step S11, which is not described again in this embodiment of the application.
And S22, determining or generating the image width according to at least one of the screen width, the curved surface width, the image number and the image interval.
It should be noted that, the execution process of step S22 may refer to step S12, which is not described again in this embodiment of the application.
And S23, judging whether the image displayed once includes the first image according to the number of the images to obtain a judgment result.
Alternatively, if the number of images is 1 or 2, it may be determined or generated that the first image is not included in the images displayed at a single time, and if the number of images is an integer greater than 2, it may be determined or generated that the first image is included in the images displayed at a single time.
Next, the images displayed by the mobile terminal will be described in detail with reference to fig. 7A to 7B.
Fig. 7A is a schematic diagram of a mobile terminal displaying an image according to an embodiment of the present application. In the embodiment shown in FIG. 7A, the mobile terminal displays 2 images, see FIG. 7A, including the mobile terminal. Optionally, the mobile terminal includes a curved display screen, and the curved display screen displays the image a and the image B, and since 2 images are displayed in the curved display screen, the curved display screen can completely display the image a and the image B.
Fig. 7B is a schematic diagram of another mobile terminal image display provided in the embodiment of the present application. In the embodiment shown in FIG. 7B, the mobile terminal displays 3 images, see FIG. 7B, including the mobile terminal. Optionally, the mobile terminal includes a curved display screen, and the curved display screen may display the image a, the image B, and the image C in a single time. Since the curved display screen comprises 3 images, the image display screen can completely display the image A and the image B, and the curved display screen displays the partial image C. In this way, the mobile terminal can display the partial image C to prompt the user that there are still unviewed images, thereby improving the display effect of the images.
And S24, displaying the image in the image control in the curved surface area and/or the non-curved surface area according to the judgment result and the image width.
Optionally, according to the determination result and the image width, performing image display in the image control in the curved surface region and/or the non-curved surface region, where the image display is performed in two cases:
case 1: and judging that the image displayed for one time comprises the first image.
And when the image displayed for one time comprises the first image according to the judgment result, displaying the first image in the image control in the curved surface area and/or the non-curved surface area and/or displaying the second image in the non-curved surface area according to the image width. Optionally, the second image is a fully displayed image. Alternatively, the image size may be determined according to the image width, and then the first image may be displayed in the image controls in the curved surface region and the non-curved surface region and/or the second image may be displayed in the non-curved surface region according to the image size. For example, the height of the image can be determined according to the image width and a preset aspect ratio, and then the image size can be obtained. For example, if the width of the image is 3 cm, the preset aspect ratio is 3: 4, the height of the image is 4 cm.
Optionally, the first image may be displayed in an image control in a curved region and/or a non-curved region, and/or the second image may be displayed in a non-curved region, according to possible implementations as follows: and acquiring the display position of the first image in the curved surface display screen. Alternatively, the display position of the first image in the curved display screen may be a left edge of the curved display screen or a right edge of the curved display screen. And determining or generating the display width of the first image in the curved surface display screen according to the image width. For example, if the image width is 3 cm and the first image is displayed in one third of the curved display screen, the display width of the first image in the curved display screen is 1 cm.
And displaying the first image in the image control in the curved surface area and/or the non-curved surface area according to the display position and/or the display width. Alternatively, if the display position is the leftmost side of the curved display screen, the first image is displayed in the non-curved area and the curved area on the left side according to the display width. For example, if the display position of the first image is the left edge of the curved display screen, the first image is displayed in the curved area and the non-curved area on the left side of the curved display screen, so that a blank area is not generated at the left edge of the curved display screen. And if the display position is the rightmost side of the curved surface display screen, displaying the first image in the non-curved surface area and the curved surface area on the right side according to the display width, and further improving the image display effect. For example, if the display position of the first image is the right edge of the curved display screen, the first image is displayed in the curved area and the non-curved area on the right side of the curved display screen, so that a blank area is not generated on the right edge of the curved display screen, and the image display effect is improved.
Next, with reference to fig. 8A-8B, a schematic diagram of displaying a first image by a mobile terminal is described in detail.
Fig. 8A is a schematic diagram illustrating a first image displayed according to an embodiment of the present disclosure. In the embodiment shown in fig. 8A, the first image displayed by the mobile terminal is the leftmost side of the curved display screen, please refer to fig. 8A, which includes the mobile terminal. Optionally, the mobile terminal includes a curved display screen therein. The curved surface display screen comprises a non-curved surface area, a left curved surface area and a right curved surface area. Since the first image is located at the leftmost side of the curved display screen, the display positions of the first image in the mobile terminal are a left curved area and a non-curved area of the curved display screen.
Fig. 8B is a schematic diagram illustrating displaying a first image according to an embodiment of the present disclosure. In the embodiment shown in fig. 8B, the first image displayed by the mobile terminal is the rightmost side of the curved display screen, please refer to fig. 8B, which includes the mobile terminal. Optionally, the mobile terminal includes a curved display screen therein. The curved surface display screen comprises a non-curved surface area, a left curved surface area and a right curved surface area. Since the first image is located at the rightmost side of the curved display screen, the display position of the first image in the mobile terminal is the right curved area and the non-curved area of the curved display screen.
Optionally, if the images to be displayed in the image control are arranged horizontally and the arrangement order of the images to be displayed is from left to right, the second image may be displayed in the non-curved surface area according to the following feasible implementation manner: and if the second image is the first image, setting a first preset area between the left side of the second image and the left edge of the curved surface display screen. Alternatively, the first preset area may be a blank area or an area with the same color as the background of the screen, the size of the first preset area is the sum of the image space and the screen margin of the curved display screen, and the screen margin is the difference between the screen width and the curved width. For example, if the screen margin is 1 mm and the image pitch is 1 mm, the size of the first preset area is 2 mm. For example, if the second image is the first image, the second image is the leftmost image of the image to be displayed, and the first preset area is arranged on the left side of the first image, so that the display effect of the first image can be improved.
And if the second image is the last image, setting a first preset area between the right side of the second image and the right edge of the curved surface display screen. For example, if the second image is the last image, the second image is the rightmost image of the image to be displayed, and the display effect of the last image can be improved by setting the first preset area on the right side of the last image.
And if the second image is the middle image, setting a second preset area on the left side or the right side of the second image. Alternatively, the second preset area may be a blank area or an area with the same color as the background of the screen, and the size of the second preset area is equal to the image interval. For example, if the second image is not the first image and the last image, a second preset area may be set on the left side or the right side of the second image to separate each second image, thereby improving the image display effect.
Next, referring to fig. 9, a second image displayed by the mobile terminal will be described,
fig. 9 is a schematic diagram illustrating displaying a second image according to an embodiment of the present disclosure. Please refer to fig. 9, which includes a mobile terminal. Optionally, the mobile terminal includes a curved display screen therein. The curved surface display screen comprises a non-curved surface area, a left curved surface area and a right curved surface area. The curved display screen comprises a second image A and a second image B. The second image A is a first second image displayed by the image control, and the second image B is a second image displayed by the image control. The first preset area (the left curved surface area and the image space) is arranged between the second image A and the left edge of the curved surface display screen, and the first preset area (the right curved surface area and the image space) is arranged between the second image B and the right edge of the curved surface display screen, so that the display effect of the images can be improved.
Case 2: and judging that the image displayed once does not comprise the first image.
And when the judgment result is that the image displayed once does not comprise the first image, displaying the second image in the non-curved surface area according to the image width. For example, when the image displayed once does not include the first image as a result of the determination, it is described that the image displayed once in the image control is the second image (the complete image), and therefore, the complete image can be displayed in the non-curved surface area of the curved surface display screen. Optionally, a complete image is displayed in a non-curved surface area of the curved surface display screen, which may refer to the display method of the second image in case 1, and this is not described in detail in this embodiment of the present application.
The embodiment of the application provides an image processing method, which includes the steps of obtaining the number of images displayed by an image control at a time, the image space between adjacent images in the image control, the screen width of a curved surface display screen and the curved surface width of the curved surface display screen, determining or generating the image width according to the screen width, the curved surface width, the number of images and the image space, judging whether the images displayed at a time comprise a first image according to the number of images, obtaining a judgment result, and displaying the images in the image control in a curved surface area and/or a non-curved surface area according to the judgment result and/or the image width. Therefore, when the mobile terminal displays a plurality of images at a time, 1 or 2 partially displayed images can be displayed to remind the user that the image control further comprises other images, so that the user can slide to browse more images, and the mobile terminal can display the images in the image control in the curved surface area and/or the non-curved surface area, so that blank margins cannot be generated in the curved surface area when the images slide, the sliding effect display of the images is improved, and the image display effect of the mobile terminal is further improved.
On the basis of any of the above embodiments, the following describes the procedure of the above image processing method with reference to fig. 10.
Fig. 10 is a process schematic diagram of an image processing method according to an embodiment of the present application. Please refer to fig. 10, which includes a mobile terminal. Optionally, the curved display screen of the mobile terminal includes a curved area and a non-curved area. And the image control of the mobile terminal displays 3 images in the curved surface display screen at a time. For example, the image control displays image a, image B, and image C in a curved display screen, optionally, image a and image B are the second image and image C is the first image. The image A is a first image, a first blank area (a curved surface area on the left side and an image interval) is arranged between the image A and the left side of the curved surface display screen, an image interval is arranged between the image A and the image B, an image interval is arranged between the image B and the image C, and the image C is arranged in a non-curved surface area and a curved surface area on the right side.
Referring to fig. 10, when the user slides the curved display screen to the left, the image a, the image B, and the image C move to the left. Optionally, image a is transformed from the second image to the first image. Images a and C display partial images in the mobile terminal, optionally image a is connected to the left edge of a curved display screen, image C is connected to the edge of the curved display screen, image B is arranged between image a and image C, and image B is provided with a second blank area (image space) between image a and image C, respectively.
Referring to fig. 10, as the user continues to slide to the left, the image C is transformed from the first image to the second image, and the image C is the last second image, so that a second blank area is provided between the right side of the image C and the right edge of the curved display screen. The image a is a first image, and the left side of the display portion of the image a is connected to the left edge of the curved display screen. Therefore, when the mobile terminal displays a plurality of images at a time, 1 or 2 partially displayed images can be displayed to remind the user that the image control also comprises other images, so that the user can slide to browse more images, and the mobile terminal can display the images in the image controls in the curved surface area and the non-curved surface area, so that blank margins cannot be generated in the curved surface area when the images slide, the sliding effect display of the images is improved, and the image display effect of the mobile terminal is further improved.
Fig. 11 is a schematic structural diagram of an image processing apparatus according to an embodiment of the present application. The image processing apparatus 10 may be disposed in a mobile terminal, please refer to fig. 11, the image processing apparatus 10 includes an obtaining module 11, a determining module 12 and a displaying module 13, wherein:
the acquiring module 11 is configured to acquire at least one of the number of images displayed by an image control at a time, an image interval between adjacent images in the image control, a screen width of the curved surface display screen, and a curved surface width of the curved surface display screen;
the determining module 12 is configured to determine or generate an image width according to at least one of the screen width, the curved surface width, the number of images, and the image interval;
the display module 13 is configured to display an image in the image control in the curved surface region and/or the non-curved surface region according to the image width and/or the image number.
Optionally, the display module 13 is specifically configured to:
judging whether the image displayed at a single time comprises a first image according to the number of the images to obtain a judgment result, wherein the first image is a partially displayed image;
and displaying images in the image control in the curved surface area and/or the non-curved surface area according to the judgment result and the image width.
Optionally, the display module 13 is specifically configured to:
when the judgment result is that the image displayed at the single time comprises the first image, displaying the first image in an image control in the curved surface area and/or the non-curved surface area and/or displaying a second image in the non-curved surface area according to the image width, wherein the second image is a completely displayed image; and/or when the judgment result is that the image displayed in a single time does not comprise the first image, displaying the second image in the non-curved surface area according to the image width.
Optionally, the display module 13 is specifically configured to:
acquiring the display position of the first image in the curved surface display screen;
determining or generating the display width of the first image in the curved surface display screen according to the image width;
displaying the first image in an image control in the curved surface region and/or the non-curved surface region according to the display position and/or the display width.
Optionally, the display module 13 is specifically configured to:
if the display position is the leftmost side of the curved surface display screen, displaying the first image in the non-curved surface area and the curved surface area on the left side according to the display width; and/or the presence of a gas in the gas,
and if the display position is the rightmost side of the curved surface display screen, displaying the first image in the non-curved surface area and the curved surface area on the right side according to the display width.
Optionally, the display module 13 is specifically configured to at least one of:
if the second image is the first image, setting a first preset area between the left side of the second image and the left edge of the curved surface display screen, wherein the size of the first preset area is the sum of the image space and the screen margin of the curved surface display screen, and the screen margin is the difference between the screen width and the curved surface width;
if the second image is the last image, setting the first preset area between the right side of the second image and the right edge of the curved surface display screen;
and if the second image is a middle image, setting a second preset area on the left side or the right side of the second image, wherein the size of the second preset area is equal to the image interval.
Optionally, the determining module 12 is specifically configured to:
determining or generating a screen margin of the curved surface display screen according to the screen width and the curved surface width;
and determining or generating the image width according to the screen width, the screen margin, the image quantity and the image space.
Optionally, the determining module 12 is specifically configured to:
if the image displayed by the image control at a single time does not comprise a first image, determining or generating the image width according to the screen width, the screen margin, the image number and the image interval; and/or the presence of a gas in the gas,
and if the image displayed by the image control at a single time comprises the first image, determining or generating the image width according to the screen width, the screen margin, the image quantity, the image interval and the size of the first image display.
Optionally, the display module 13 is specifically configured to:
if the number of the images is 1 or 2, determining or generating that the judging result is that the first image is not included in the image displayed for one time; and/or the presence of a gas in the gas,
and if the number of the images is an integer larger than 2, determining or generating that the image with the judgment result of single display comprises the first image.
The image processing apparatus provided in this embodiment may be used to implement the technical solutions of the above method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
The embodiment of the present application further provides a mobile terminal, where the mobile terminal includes a memory and a processor, and the memory stores an image processing program, and the image processing program, when executed by the processor, implements the steps of the image processing method in any of the above embodiments.
The embodiment of the present application further provides a computer-readable storage medium, where an image processing program is stored on the storage medium, and when the image processing program is executed by a processor, the image processing program implements the steps of the image processing method in any of the above embodiments.
In the embodiments of the mobile terminal and the computer-readable storage medium provided in the present application, all technical features of any one of the embodiments of the image processing method may be included, and the expanding and explaining contents of the specification are basically the same as those of the embodiments of the method, and are not described herein again.
Embodiments of the present application also provide a computer program product, which includes computer program code, when the computer program code runs on a computer, the computer is caused to execute the method in the above various possible embodiments.
Embodiments of the present application further provide a chip, which includes a memory and a processor, where the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a device in which the chip is installed executes the method in the above various possible embodiments.
It is to be understood that the foregoing scenarios are only examples, and do not constitute a limitation on application scenarios of the technical solutions provided in the embodiments of the present application, and the technical solutions of the present application may also be applied to other scenarios. For example, as can be known by those skilled in the art, with the evolution of system architecture and the emergence of new service scenarios, the technical solution provided in the embodiments of the present application is also applicable to similar technical problems.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
The steps in the method of the embodiment of the application can be sequentially adjusted, combined and deleted according to actual needs.
The units in the device in the embodiment of the application can be merged, divided and deleted according to actual needs.
In the present application, the same or similar term concepts, technical solutions and/or application scenario descriptions will be generally described only in detail at the first occurrence, and when the description is repeated later, the detailed description will not be repeated in general for brevity, and when understanding the technical solutions and the like of the present application, reference may be made to the related detailed description before the description for the same or similar term concepts, technical solutions and/or application scenario descriptions and the like which are not described in detail later.
In the present application, each embodiment is described with emphasis, and reference may be made to the description of other embodiments for parts that are not described or illustrated in any embodiment.
The technical features of the technical solution of the present application may be arbitrarily combined, and for brevity of description, all possible combinations of the technical features in the embodiments are not described, however, as long as there is no contradiction between the combinations of the technical features, the scope of the present application should be considered as being described in the present application.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a mobile terminal (e.g., a mobile phone, a computer, a server, a controlled terminal, or a network device) to execute the method of each embodiment of the present application.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the present application are all or partially generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, memory Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.

Claims (10)

1. An image processing method is applied to a mobile terminal, the mobile terminal is provided with a display screen, the display screen comprises a curved surface area and a non-curved surface area, and the method comprises the following steps:
s11, acquiring at least one of the number of images displayed by an image control at a time, the image space between adjacent images in the image control, the screen width of the curved surface display screen and the curved surface width of the curved surface display screen;
s12, determining or generating an image width according to at least one of the screen width, the curved surface width, the image number and the image interval;
and S13, displaying images in the image control in the curved surface area and/or the non-curved surface area according to the image width and/or the image number.
2. The method according to claim 1, wherein the step S13 includes:
judging whether the image displayed at a single time comprises a first image according to the number of the images to obtain a judgment result, wherein the first image is a partially displayed image;
and displaying images in the image control in the curved surface area and/or the non-curved surface area according to the judgment result and the image width.
3. The method according to claim 2, wherein displaying an image in an image control in the curved surface region and/or the non-curved surface region according to the determination result and the image width comprises:
when the judgment result is that the image displayed at the single time comprises the first image, displaying the first image in an image control in the curved surface area and/or the non-curved surface area and/or displaying a second image in the non-curved surface area according to the image width, wherein the second image is a completely displayed image; and/or the presence of a gas in the gas,
and when the judgment result is that the image displayed in a single time does not comprise the first image, displaying the second image in the non-curved surface area according to the image width.
4. The method of claim 3, wherein displaying the first image in an image control in the curved region and/or the non-curved region according to the image width comprises:
acquiring the display position of the first image in the curved surface display screen;
determining or generating the display width of the first image in the curved surface display screen according to the image width;
displaying the first image in an image control in the curved surface region and/or the non-curved surface region according to the display position and/or the display width.
5. The method of claim 4, wherein displaying the first image in an image control in the curved region and/or the non-curved region according to the display position and/or the display width comprises:
if the display position is the leftmost side of the curved surface display screen, displaying the first image in the non-curved surface area and the curved surface area on the left side according to the display width; and/or the presence of a gas in the gas,
and if the display position is the rightmost side of the curved surface display screen, displaying the first image in the non-curved surface area and the curved surface area on the right side according to the display width.
6. The method according to any one of claims 3 to 5, wherein the images to be displayed in the image control are arranged in a horizontal direction, and the arrangement order of the images to be displayed is from left to right; displaying a second image in the non-curved surface area, wherein the second image comprises at least one of the following:
if the second image is the first image, setting a first preset area between the left side of the second image and the left edge of the curved surface display screen, wherein the size of the first preset area is the sum of the image space and the screen margin of the curved surface display screen, and the screen margin is the difference between the screen width and the curved surface width;
if the second image is the last image, setting the first preset area between the right side of the second image and the right edge of the curved surface display screen;
and if the second image is a middle image, setting a second preset area on the left side or the right side of the second image, wherein the size of the second preset area is equal to the image interval.
7. The method according to any one of claims 1 to 5, wherein the step S12 includes:
determining or generating a screen margin of the curved surface display screen according to the screen width and the curved surface width;
and determining or generating the image width according to the screen width, the screen margin, the image quantity and the image space.
8. The method of claim 7, wherein determining or generating the image width according to the screen width, the screen margin, the number of images, and the image spacing comprises:
if the image displayed by the image control at a single time does not comprise a first image, determining or generating the image width according to the screen width, the screen margin, the image number and the image interval; and/or the presence of a gas in the gas,
and if the image displayed by the image control at a single time comprises the first image, determining or generating the image width according to the screen width, the screen margin, the image quantity, the image interval and the size of the first image display.
9. A mobile terminal, characterized in that the mobile terminal comprises: memory, processor, wherein the memory has stored thereon an image processing program which, when executed by the processor, implements the image processing method of any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that the storage medium has stored thereon a computer program which, when being executed by a processor, carries out the image processing method according to any one of claims 1 to 8.
CN202111425912.XA 2021-11-26 2021-11-26 Image processing method, mobile terminal and storage medium Active CN114125151B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111425912.XA CN114125151B (en) 2021-11-26 2021-11-26 Image processing method, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111425912.XA CN114125151B (en) 2021-11-26 2021-11-26 Image processing method, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN114125151A true CN114125151A (en) 2022-03-01
CN114125151B CN114125151B (en) 2023-05-16

Family

ID=80370744

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111425912.XA Active CN114125151B (en) 2021-11-26 2021-11-26 Image processing method, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN114125151B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008134537A (en) * 2006-11-29 2008-06-12 Optrex Corp Image data generation device for use in curved surface display panel
US20150220195A1 (en) * 2014-02-05 2015-08-06 Samsung Electronics Co., Ltd. Method and apparatus for controlling flexible display and electronic device adapted to the method
JP2017062576A (en) * 2015-09-24 2017-03-30 カシオ計算機株式会社 Information processing apparatus, information processing method, and program
CN106648035A (en) * 2016-11-29 2017-05-10 维沃移动通信有限公司 Image resolution adjusting method and mobile terminal
CN107230428A (en) * 2017-05-27 2017-10-03 北京小米移动软件有限公司 Display methods, device and the terminal of curve screens
CN109766038A (en) * 2018-12-28 2019-05-17 努比亚技术有限公司 A kind of display methods and device, Intelligent bracelet and computer readable storage medium
CN111290663A (en) * 2020-02-10 2020-06-16 北京小米移动软件有限公司 Curved screen display method and device, terminal and storage medium
CN111736749A (en) * 2020-06-15 2020-10-02 Oppo广东移动通信有限公司 Multimedia data play control method and device, mobile terminal and storage medium
CN112686805A (en) * 2020-12-31 2021-04-20 联想(北京)有限公司 Image display method and electronic equipment
WO2021117954A1 (en) * 2019-12-13 2021-06-17 엘지전자 주식회사 Display device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008134537A (en) * 2006-11-29 2008-06-12 Optrex Corp Image data generation device for use in curved surface display panel
US20150220195A1 (en) * 2014-02-05 2015-08-06 Samsung Electronics Co., Ltd. Method and apparatus for controlling flexible display and electronic device adapted to the method
JP2017062576A (en) * 2015-09-24 2017-03-30 カシオ計算機株式会社 Information processing apparatus, information processing method, and program
CN106648035A (en) * 2016-11-29 2017-05-10 维沃移动通信有限公司 Image resolution adjusting method and mobile terminal
CN107230428A (en) * 2017-05-27 2017-10-03 北京小米移动软件有限公司 Display methods, device and the terminal of curve screens
CN109766038A (en) * 2018-12-28 2019-05-17 努比亚技术有限公司 A kind of display methods and device, Intelligent bracelet and computer readable storage medium
WO2021117954A1 (en) * 2019-12-13 2021-06-17 엘지전자 주식회사 Display device
CN111290663A (en) * 2020-02-10 2020-06-16 北京小米移动软件有限公司 Curved screen display method and device, terminal and storage medium
CN111736749A (en) * 2020-06-15 2020-10-02 Oppo广东移动通信有限公司 Multimedia data play control method and device, mobile terminal and storage medium
CN112686805A (en) * 2020-12-31 2021-04-20 联想(北京)有限公司 Image display method and electronic equipment

Also Published As

Publication number Publication date
CN114125151B (en) 2023-05-16

Similar Documents

Publication Publication Date Title
CN108198150B (en) Method for eliminating image dead pixel, terminal and storage medium
CN113645345A (en) Data transmission method, mobile terminal and storage medium
CN112822538A (en) Screen projection display method, screen projection device, terminal and storage medium
CN107729104B (en) Display method, mobile terminal and computer storage medium
CN110278481B (en) Picture-in-picture implementation method, terminal and computer readable storage medium
CN108762709B (en) Terminal control method, terminal and computer readable storage medium
CN108810262B (en) Application configuration method, terminal and computer readable storage medium
CN111381762A (en) Double-screen switching method and device and computer readable storage medium
CN113325981A (en) Processing method, mobile terminal and storage medium
CN112423211A (en) Multi-audio transmission control method, equipment and computer readable storage medium
CN109683796B (en) Interaction control method, equipment and computer readable storage medium
CN110955397A (en) Method for setting frame rate of game terminal, game terminal and storage medium
CN112333326B (en) Screen projection display control method and device and computer readable storage medium
CN113900559A (en) Information processing method, mobile terminal and storage medium
CN109710149B (en) Interactive display method, equipment and computer readable storage medium
CN109379719B (en) Application program broadcast processing method and device and computer readable storage medium
CN109683799B (en) Sliding control method and device and computer readable storage medium
CN113572964A (en) Image processing method, mobile terminal and storage medium
CN108965514B (en) Display screen FPC structure of double screen terminal and mobile terminal thereof
CN108037959B (en) Intelligent interface merging method, mobile terminal and computer readable storage medium
CN114125151B (en) Image processing method, mobile terminal and storage medium
CN111158814A (en) Interface switching method, terminal and computer readable storage medium
CN109782947B (en) Flexible screen display control method and device and computer readable storage medium
CN109669594B (en) Interaction control method, equipment and computer readable storage medium
CN109614031B (en) Pressure-sensitive interaction processing method and equipment and computer-readable storage medium

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