CN111443965B - Picture display method and device, terminal and storage medium - Google Patents

Picture display method and device, terminal and storage medium Download PDF

Info

Publication number
CN111443965B
CN111443965B CN202010161657.1A CN202010161657A CN111443965B CN 111443965 B CN111443965 B CN 111443965B CN 202010161657 A CN202010161657 A CN 202010161657A CN 111443965 B CN111443965 B CN 111443965B
Authority
CN
China
Prior art keywords
picture
terminal
displayed
determining
clipping
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010161657.1A
Other languages
Chinese (zh)
Other versions
CN111443965A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010161657.1A priority Critical patent/CN111443965B/en
Publication of CN111443965A publication Critical patent/CN111443965A/en
Application granted granted Critical
Publication of CN111443965B publication Critical patent/CN111443965B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
    • 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)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The embodiment of the application discloses a picture display method and device, a terminal and a storage medium, wherein the method comprises the following steps: determining the clipping and adjusting intensity of a picture to be displayed of a terminal and the position offset of the terminal; cutting the picture to be displayed according to the cutting adjustment intensity and the position offset to obtain a target display picture; and displaying the target display picture on a screen of the terminal in an enlarged manner so as to reduce the relative displacement between the picture to be displayed and eyes when the screen is displayed.

Description

Picture display method and device, terminal and storage medium
Technical Field
The embodiment of the application relates to an electronic technology, in particular to a picture display method and device, a terminal and a storage medium.
Background
Currently, terminals (e.g., smartphones, tablet computers, smartwatches, etc.) have become indispensable electronic devices for people's life. The user needs to use the terminal in various occasions. For example, a user views videos, chat, shopping, etc. while riding a vehicle. However, since the automobile, the train, the plane or other vehicles have a certain amplitude of shake during running, the terminal in use by the user also shakes; thus, the user may feel vomiting and dizziness when viewing the screen of the terminal for a long time.
Disclosure of Invention
In view of this, embodiments of the present application provide a method and apparatus for displaying a picture, a terminal, and a storage medium.
The technical scheme of the embodiment of the application is realized as follows:
in a first aspect, an embodiment of the present application provides a method for displaying a picture, where the method includes: determining the clipping and adjusting intensity of a picture to be displayed of a terminal and the position offset of the terminal; cutting the picture to be displayed according to the cutting adjustment intensity and the position offset to obtain a target display picture; and displaying the target display picture on a screen of the terminal in an enlarged manner so as to reduce the relative displacement between the picture to be displayed and eyes when the screen is displayed.
In a second aspect, an embodiment of the present application provides a picture display device, including: the determining module is used for determining the cutting adjustment intensity of a picture to be displayed of the terminal and the position offset of the terminal; the clipping module is used for clipping the picture to be displayed according to the clipping adjustment intensity and the position offset to obtain a target display picture; and the display module is used for magnifying and displaying the target display picture on a screen of the terminal so as to reduce the relative displacement between the picture to be displayed and eyes when the screen is displayed.
In a third aspect, an embodiment of the present application provides a terminal, including a memory and a processor, where the memory stores a computer program that can be run on the processor, and the processor implements steps in any one of the picture display methods in the embodiment of the present application when executing the program.
In a fourth aspect, an embodiment of the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of any of the picture display methods of the embodiments of the present application.
In the embodiment of the application, the terminal cuts the picture to be displayed according to the cutting adjustment intensity and the position offset to obtain a target display picture; then, the target display screen is enlarged and displayed on the screen; thus, the user can reduce the feeling of vomiting and dizziness caused by using the jittered terminal for a long time.
Drawings
FIG. 1 is a schematic diagram of an implementation flow of a method for displaying a frame according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a space rectangular coordinate system according to an embodiment of the present application;
FIG. 3 is a schematic diagram of the picture before offset, after offset and after clipping and enlarging according to the embodiment of the present application;
FIG. 4 is a schematic view of a clipping method according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a display device according to an embodiment of the present application;
fig. 6 is a schematic diagram of a hardware entity of a terminal according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application more apparent, the specific technical solutions of the present application will be described in further detail below with reference to the accompanying drawings in the embodiments of the present application. The following examples are illustrative of the application and are not intended to limit the scope of the application.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the application only and is not intended to be limiting of the application.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is to be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments and can be combined with one another without conflict.
It should be noted that the term "first\second\third" related to the embodiments of the present application is merely to distinguish similar objects, and does not represent a specific order for the objects, it being understood that the "first\second\third" may interchange a specific order or sequencing, where allowed, so that the embodiments of the present application described herein can be implemented in an order other than illustrated or described herein.
The embodiment of the application provides a picture display method, which can be applied to a terminal, wherein the terminal can be a device with picture display capability such as a mobile phone, a tablet personal computer, a notebook computer, an intelligent bracelet, an intelligent watch and the like. The functions implemented by the picture display method may be implemented by a processor in the terminal calling a program code, which may of course be stored in a computer storage medium, it being seen that the terminal comprises at least a processor and a storage medium.
Fig. 1 is a schematic flow chart of an implementation of a method for displaying a picture according to an embodiment of the present application, as shown in fig. 1, the method may include the following steps 101 to 103:
and step 101, determining the clipping adjustment intensity of a picture to be displayed of the terminal and the position offset of the terminal.
It will be appreciated that the crop adjustment intensity directly affects the target crop amount of the picture to be displayed. Different terminals use scenes and user states, and the cutting adjustment strength is different. For example, scene one, the user is looking at the screen on a bus, watching video; scene two, the user is chatting with friends through the chatting application of the mobile phone on the bus. Under these two kinds of scenes, user's experience of using the cell-phone is different, and correspondingly, tailors and adjusts intensity also different, and scene one tailors and adjusts intensity and is greater than scene two tailors and adjusts intensity. The terminal may implement the determination of the clipping adjustment strength according to steps 302 to 304 of the following embodiment.
When the method is implemented, the terminal can acquire the position offset of the terminal through a Hall sensor (hall), a gyroscope (gyro), an optical anti-shake element (OIS) or an image acquisition device. As shown in fig. 2, the position offset includes offset values of the terminal in three directions of x, y, and z in a space rectangular coordinate system, respectively, and the unit of the offset value may be one pixel width of the terminal screen.
The hall sensor and the gyroscope can measure the positional shift amount of the terminal several hundred or even several thousand times per second. Therefore, the position offset output in step 101 is generally determined according to the measurement data acquired by the sensor multiple times.
And 102, cutting the picture to be displayed according to the cutting adjustment intensity and the position offset to obtain a target display picture.
In the embodiment of the present application, the type of the picture to be displayed is not limited. For example, the frames to be displayed are video frames, game interfaces, shopping interfaces, chat interfaces, and the like. The terminal may implement step 102 by steps 202 to 204 of the following embodiments.
And 103, magnifying and displaying the target display picture on a screen of the terminal so as to reduce the relative displacement between the picture to be displayed and eyes when the screen is displayed.
For example, as shown in fig. 3, 301 is a display effect of a to-be-displayed picture before clipping on a screen, and 302 is a display effect of an offset to-be-displayed picture on a screen; and 303, performing enlarged display on a target display picture, namely, the cut picture to be displayed, so as to cover the display effect after the physical display area of the screen is covered. Therefore, after the picture to be displayed is cut and enlarged, on one hand, the influence of terminal shake on the viewing experience of human eyes is reduced; on the other hand, the enlarged display can improve the visual experience of the user.
In the embodiment of the application, the terminal cuts the picture to be displayed according to the cutting adjustment intensity and the position offset to obtain a target display picture; then, the target display screen is enlarged and displayed on the screen; thus, the user can reduce the feeling of vomiting and dizziness caused by using the jittered terminal for a long time.
The embodiment of the application further provides a method for displaying a picture, which may include the following steps 201 to 207:
step 201, determining clipping adjustment intensity of a picture to be displayed of a terminal and a position offset of the terminal;
and 202, determining the basic clipping amount of the picture to be displayed according to the position offset.
In implementation, assuming that the unit of the positional offset is the pixel width of the screen, the base clipping amount may be numerically consistent with the positional offset, opposite in direction. For example, as shown in fig. 4, the position offset of the terminal is (30,20,5), the base clipping amount is (-30, -20, -5), i.e., the clipping width is 30 pixels in the reverse direction of x, i.e., from right to left, and 20 pixels in the reverse direction of y, i.e., from top to bottom, resulting in the target display screen 401 and the clipping area is 402. Since the jitter amplitude of the terminal in the z direction is small, it is generally negligible.
And 203, determining a target clipping amount according to the clipping adjustment intensity and the basic clipping amount.
When the method is implemented, the terminal can take the product of the clipping adjustment strength and the basic clipping amount as a target clipping amount. For example, if the crop adjustment strength is 1.5 and the base crop amount is (-30, -20, -5), then the target crop amount may be (-45, -30, -7.5).
Step 204, clipping the picture to be displayed according to the target clipping amount to obtain the target display picture;
step 205, determining the size of the picture to be displayed;
and 206, determining the magnification of the target display picture according to the target clipping amount and the size of the picture to be displayed.
When the method is realized, the terminal can determine the size of the target display picture according to the target cutting amount and the size of the picture to be displayed; then, determining the ratio of the size of the physical display area of the screen to the size of the target display picture as the magnification; therefore, the target display picture can be displayed on the screen in a full screen mode, so that uncomfortable feeling of terminal shake to a user is reduced, the screen utilization rate is improved, and the visual experience of the user is further improved.
And step 207, displaying the target display picture on the screen in an enlarged manner according to the magnification factor so as to reduce the relative displacement of the picture to be displayed and eyes when the screen is displayed.
The embodiment of the application further provides a picture display method, which comprises the following steps 301 to 312:
step 301, determining a position offset of a terminal;
step 302, determining at least one of the following status information: whether a user who is using the terminal is looking at the screen, the distance between the face of the user and the terminal, the content of the current display screen of the terminal, and the motion stability of the terminal;
for the motion stability of the terminal, the motion stability can be determined according to the change condition of the motion amplitude of the terminal in a period of time. The terminal may determine the magnitude of the motion based on the positional offset (x, y, z). Motion stability may include "fixed motion" and "variable motion". If a certain number of motion amplitudes do not exceed a certain range for a certain period of time, the motion stability of the terminal is determined to be "fixed motion", which is typically the case when the user is riding a high-speed rail, a train, a car traveling on a smooth road. If the variance or variation of the movement amplitude exceeds a specific range within a period of time, the movement stability of the terminal is determined to be 'changeable movement', and the situation is usually easy to occur when the road condition is poor.
Step 303, determining an influence parameter value corresponding to each piece of state information, where the influence parameter value is used to characterize the influence degree of the state information on the clipping adjustment intensity;
as will be appreciated, the viewing experience of a user is different in a scene of riding a vehicle or movement where the user is looking at the screen and not looking at the screen; in some embodiments, the terminal may determine the corresponding influence parameter value as w_0 when the user does not look at the screen; when a user looks at the screen, determining a corresponding influence parameter value as W_1; wherein W_0 is less than W_1.
Likewise, the viewing experience is different when the user uses the terminal at a close distance and a far distance. In some embodiments, when the distance is greater than a distance threshold, the terminal determines the corresponding impact parameter value as w_far, and when the distance is less than or equal to the distance threshold, the terminal determines the corresponding impact parameter value as w_near; wherein W_far is less than W_near;
likewise, the viewing experience is different when the user is watching a video and when chatting; in some embodiments, when the current display screen of the terminal is a video frame or a game interface, the terminal determines the corresponding influence parameter value as w_max; when the current display picture of the terminal is a dialing interface or a chat interface, the terminal determines the corresponding influence parameter value as W_min; wherein W_min is less than W_max.
It will be appreciated that the movement stability of the terminal is different and the viewing experience of the user when using the terminal is also different. In some embodiments, when the motion stability is "fixed motion", the terminal determines the corresponding influencing parameter value to be 1; when the motion stability is variable motion, the terminal determines the corresponding influence parameter value to be a value larger than 1, so that the determined target clipping amount is larger, and when the terminal moves greatly, the relative position between the user and the display picture can be ensured to be stable, the watching experience of the user is further effectively improved, and the dizziness is greatly lightened.
And step 304, determining the clipping adjustment intensity according to each influence parameter value.
In some embodiments, the terminal may determine the product of each influencing parameter value as the crop adjustment strength. Of course, in other embodiments, the terminal may also accumulate each influencing parameter value and determine the accumulated value as the clipping adjustment strength.
Step 305, determining a basic clipping amount of the picture to be displayed according to the position offset;
step 306, determining a target clipping amount according to the clipping adjustment intensity and the basic clipping amount;
step 307, determining the maximum clipping amount according to the content of the picture to be displayed.
The maximum clipping amount is different for different contents of the pictures to be displayed, so that some key contents are prevented from being clipped, and user experience is reduced. When the method is realized, the terminal can identify the content of the picture to be displayed so as to determine the position of the key information, and the maximum clipping amount is determined according to the position of the key information. In some embodiments, the terminal may also determine the maximum clipping amount according to the setting information input by the user.
In some embodiments, the terminal may further determine the maximum clipping amount according to the content of the current display screen.
And step 308, clipping the picture to be displayed according to the relation between the target clipping amount and the maximum clipping amount to obtain the target display picture.
When the method is realized, when the target clipping amount is smaller than the maximum clipping amount, the terminal clips the picture to be displayed according to the target clipping amount; and when the target clipping amount is smaller than or equal to the maximum clipping amount, the terminal clips the picture to be displayed according to the maximum clipping amount.
Step 309, determining the size of the frame to be displayed;
step 310, determining the size of the target display screen according to the target clipping amount and the size of the screen to be displayed;
step 311, determining the magnification factor according to the ratio of the size of the physical display area of the screen to the size of the target display screen.
When the method is realized, the ratio can be used as the magnification, so that the target display picture is displayed in the physical display area of the screen in a full screen mode, and is not displayed in a partial area of the physical display area; therefore, the screen utilization rate can be improved and the visual experience of the user can be improved while the viewing experience of the user is improved. In other embodiments, the product of the ratio and a particular coefficient may also be used as the magnification factor.
And step 312, magnifying and displaying the target display picture on the screen according to the magnification so as to reduce the relative displacement of the picture to be displayed and eyes when the screen is displayed.
In the related art, in order to reduce the relative displacement between a picture to be displayed and human eyes when the picture is displayed on a screen, a display adjustment buffer area is set, and a terminal adjusts a picture display area of a terminal display screen according to the display adjustment buffer area, wherein the picture display area is smaller than a physical display area of the display screen; then, the terminal adjusts the size and/or position of the screen display area according to the displacement amount. However, this approach comes at the expense of screen utilization and user visual experience, since the size of the picture display area is smaller than the size of the physical display area.
In the embodiment of the application, the terminal cuts the picture to be displayed according to the cutting adjustment intensity and the position offset to obtain a target display picture; then, determining the magnification factor according to the ratio of the size of the physical display area of the screen to the size of the target display picture; amplifying and displaying the target display picture according to the amplification factor; therefore, on the premise of reducing the relative displacement between the picture to be displayed and human eyes when the screen is displayed, the utilization rate of the screen and the visual experience of a user are improved.
For various videos, currently, two main types of playing modes exist during playing. The first is to keep consistency with the pre-coding. The method is mainly used for directly decoding according to coding and decoding specifications, and then is suitable for display equipment to play; second, based on video quality analysis and display device characteristics, dynamic display, inter-frame optimization, color enhancement, etc. are added at decoding time.
However, these two methods only can ensure the basic display effect, and in trains, buses, planes or other scenes with a certain amplitude of shake and vibration, the playing device will also shake slightly, so that the user can see the screen for a long time, and can feel vomiting and dizziness.
Based on this, an exemplary application of the embodiment of the present application in one practical application scenario will be described below.
In the embodiment of the application, a picture display method is provided, and the method cuts video frames by detecting the motion state of equipment, and amplifies and displays the cut video frames, so that the pixel positions of the video frames are adjusted, the display equipment and human eyes are relatively stable, the experience of watching the video by a user is better, and bad experiences such as vomit feeling, dizziness feeling and the like are reduced.
The method may comprise the following steps 401 to 403:
step 401, performing motion state estimation by using the existing equipment on the mobile phone.
A method of motion estimation: the Hall sensor (hall), the gyroscope (gyro) and the optical anti-shake element (OIS) in the mobile phone all have the effect of sensing the shake direction of the mobile phone, and can acquire the real-time position offset of the mobile phone.
The real-time positional offset (x, y, z) output by the sensor is offset in three directions in the rectangular space coordinate system. As shown in fig. 2, the space rectangular coordinate system may be in units of a width of one pixel value of the display, and the positive direction may be consistent with the direction of the coordinate axis therein. In the implementation, the position offset of the mobile phone can be updated by taking the minimum interval t0 seconds as the updating frequency.
OIS, gyroscopes, hall sensors, can all be used to measure cell phone motion, hundreds to thousands of measurements per second, with video images typically 30 to 60 per second. Each image corresponds to a plurality of motion measurement data.
Instead of a momentary jump, the motion is a state change process (just like acceleration, deceleration and turning of the automobile, which is a gradual change process), and multiple OIS data can be used for predicting the motion state of the next moment through data change.
And step 402, judging a scene.
Detection of the user state can be achieved based on front and rear cameras, structured light, infrared sensors and the like. The user's needs in different scenarios are also different. In other words, the user has different attention to the mobile phone under different user states; under different use scenes, the requirements for the stability of the screen display picture are also different. Therefore, different trimming adjustment intensities need to be set for these cases.
First, a distance L between a user and a screen of a mobile phone is measured and calculated, and whether the human eyes watch the screen is determined. In the implementation process, the distance measurement and the human eye recognition can be realized through a front camera or structured light, a top and the like of the mobile phone.
Then, the clipping adjustment strength is determined by the following steps 4021 to 4025:
step 4021, when eyes of the user do not watch the screen, setting the weight of the clipping adjustment intensity as w_0; when watching, setting the weight of the clipping and adjusting intensity as W_1; where w_0 is smaller than w_1, w_0 and w_1 are one example of the influence parameter values described in the above embodiments.
Step 4022, judging according to the picture content displayed by the screen, and setting the weight of the clipping adjustment intensity as W_max when the user watches the video or plays the game; when a user dials, inputs characters and other scenes, setting the weight of the clipping and adjusting intensity as W_min; wherein W_max is greater than W_min. W_max and w_min are another example of the influence parameter values described in the above embodiments.
4023, according to the judgment of L, setting the weight of the clipping adjustment intensity as w_far when the distance L between the user and the device is greater than the distance threshold, and setting the weight of the clipping adjustment intensity as w_near when the distance between the user and the device is less than or equal to the distance threshold; wherein W_near is greater than W_far; w_near and W_far are still another example of the impact parameter values described in the above embodiments;
step 4024, judging according to the stability of the motion amplitude of the mobile phone, if the value of the motion amplitude is basically stable, then setting a relatively 'fixed motion', such as a high-speed train and a stable road, and setting the influence parameter value of the cutting adjustment intensity to be 1; if the position offset is large and small, the position offset should be in 'changeable movement', and the situation is easy to appear when the road condition is bad, and the value of the influence parameter of the cutting adjustment intensity is set to be a value larger than 1.
Step 4025, estimating the user's requirement based on the influence parameter values of the clipping adjustment intensities of the multiple dimensions determined in steps 4021 to 4024, where the clipping adjustment intensity finally determined is the product of the influence parameter values output in the steps.
Step 403, video display.
First, a video source is decoded to obtain the length and width of each frame of image and the number of images displayed per second (frame rate F).
Then, each frame of image is shifted by (x, y, z) obtained in the previous step.
Because the size of the physical display area of the screen is fixed, for displaying the image, when the offset is not performed, the whole physical display area is just filled, after the offset, a part of the physical display area is necessarily blank, and the other part of the physical display area cannot be displayed. Based on the above, clipping the image according to the offset (x, y, z) and clipping adjustment intensity to obtain a clipped image; and then, amplifying and displaying the cut image, so that the cut image is suitable for the whole physical display area to realize full-screen display. In some embodiments, the physical display area of the image after the offset, which does not display the cropped image, may be filled with black edges or subjected to gaussian blur or the like without magnification.
In the embodiment of the application, based on various sensors of the equipment, the motion state is detected, and then the display picture is adjusted in a targeted manner, so that the positions of the pictures in the visual field are relatively consistent.
Based on the foregoing embodiments, an embodiment of the present application provides a picture display device, where the device includes each module included, and each unit included in each module may be implemented by a processor in a terminal; of course, the method can also be realized by a specific logic circuit; in an implementation, the processor may be a Central Processing Unit (CPU), a Microprocessor (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like.
Fig. 5 is a schematic structural diagram of a picture display device according to an embodiment of the present application, as shown in fig. 5, the device 500 includes a determining module 501, a clipping module 502, and a display module 503, where:
a determining module 501, configured to determine clipping adjustment strength of a to-be-displayed screen of a terminal and a position offset of the terminal;
the clipping module 502 is configured to clip the frame to be displayed according to the clipping adjustment strength and the position offset, so as to obtain a target display frame;
and a display module 503, configured to enlarge and display the target display screen on a screen of the terminal, so as to reduce a relative displacement amount between the to-be-displayed screen and eyes when the to-be-displayed screen is displayed on the screen.
In some embodiments, the clipping module 502 is configured to: determining the basic clipping amount of the picture to be displayed according to the position offset; determining a target clipping amount according to the clipping adjustment strength and the basic clipping amount; and cutting the picture to be displayed according to the target cutting amount to obtain the target display picture.
In some embodiments, the clipping module 502 is configured to: determining the maximum clipping amount according to the content of the picture to be displayed; and cutting the picture to be displayed according to the relation between the target cutting amount and the maximum cutting amount to obtain the target display picture.
In some embodiments, the display module 503 is configured to: determining the size of the picture to be displayed; determining the magnification of the target display picture according to the target clipping amount and the size of the picture to be displayed; and displaying the target display picture on the screen in an enlarged mode according to the magnification.
In some embodiments, the display module 503 is configured to: determining the size of the target display picture according to the target cutting amount and the size of the picture to be displayed; and determining the magnification according to the ratio of the size of the physical display area of the screen to the size of the target display picture.
In some embodiments, the determining module 501 is configured to: determining at least one of the following status information: whether a user who is using the terminal is looking at the screen, the distance between the face of the user and the terminal, the content of the current display screen of the terminal, and the motion stability of the terminal; determining an influence parameter value corresponding to each piece of state information, wherein the influence parameter value is used for representing the influence degree of the state information on the cutting adjustment intensity; and determining the clipping adjustment intensity according to each influence parameter value.
The description of the apparatus embodiments above is similar to that of the method embodiments above, with similar advantageous effects as the method embodiments. For technical details not disclosed in the embodiments of the apparatus of the present application, please refer to the description of the embodiments of the method of the present application.
In the embodiment of the present application, if the above-mentioned screen display method is implemented in the form of a software function module and sold or used as a separate product, the screen display method may also be stored in a computer readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be embodied essentially or in a part contributing to the related art in the form of a software product stored in a storage medium, including several instructions for causing a terminal (which may be a mobile phone, a tablet computer, a notebook computer, a smart bracelet, a smart watch, etc.) to perform all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, an optical disk, or other various media capable of storing program codes. Thus, embodiments of the application are not limited to any specific combination of hardware and software.
Correspondingly, an embodiment of the present application provides a terminal, fig. 6 is a schematic diagram of a hardware entity of the terminal according to the embodiment of the present application, as shown in fig. 6, the hardware entity of the terminal 600 includes: comprising a memory 601 and a processor 602, said memory 601 storing a computer program executable on the processor 602, said processor 602 implementing the steps of the picture display method provided in the above embodiments when said program is executed.
The memory 601 is configured to store instructions and applications executable by the processor 602, and may also cache data (e.g., image data, audio data, voice communication data, and video communication data) to be processed or processed by each module in the processor 602 and the terminal 600, and may be implemented by a FLASH memory (FLASH) or a random access memory (Random Access Memory, RAM).
Accordingly, an embodiment of the present application provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps in the picture display method provided in the above-described embodiment.
It should be noted here that: the description of the storage medium, chip and terminal device embodiments above is similar to that of the method embodiments described above, with similar advantageous effects as the method embodiments. For technical details not disclosed in the embodiments of the storage medium, the chip and the terminal device of the present application, please refer to the description of the method embodiments of the present application for understanding.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" or "some embodiments" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" or "in some embodiments" in various places throughout this specification are not necessarily referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in various embodiments of the present application, the sequence numbers of the foregoing processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present application. The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
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, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The embodiments of the touch screen system described above are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be other division manners in actual implementation, such as: multiple modules or components may be combined, or may be integrated into another system, or some features may be omitted, or not performed. In addition, the various components shown or discussed may be coupled or directly coupled or communicatively coupled to each other via some interface, whether indirectly coupled or communicatively coupled to devices or modules, whether electrically, mechanically, or otherwise.
The modules described above as separate components may or may not be physically separate, and components shown as modules may or may not be physical modules; can be located in one place or distributed to a plurality of network units; some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in each embodiment of the present application may be integrated in one processing unit, or each module may be separately used as one unit, or two or more modules may be integrated in one unit; the integrated modules may be implemented in hardware or in hardware plus software functional units.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, where the program, when executed, performs steps including the above method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read Only Memory (ROM), a magnetic disk or an optical disk, or the like, which can store program codes.
Alternatively, the above-described integrated units of the present application may be stored in a computer-readable storage medium if implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, the technical solution of the embodiments of the present application may be embodied essentially or in a part contributing to the related art in the form of a software product stored in a storage medium, including several instructions for causing a terminal (which may be a mobile phone, a tablet computer, a notebook computer, a smart bracelet, a smart watch, etc.) to perform all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a removable storage device, a ROM, a magnetic disk, or an optical disk.
The methods disclosed in the method embodiments provided by the application can be arbitrarily combined under the condition of no conflict to obtain a new method embodiment.
The features disclosed in the several product embodiments provided by the application can be combined arbitrarily under the condition of no conflict to obtain new product embodiments.
The features disclosed in the embodiments of the method or the apparatus provided by the application can be arbitrarily combined without conflict to obtain new embodiments of the method or the apparatus.
The foregoing is merely an embodiment of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (7)

1. A picture display method, the method comprising:
determining the clipping and adjusting intensity of a picture to be displayed of a terminal and the position offset of the terminal;
the determining the clipping adjustment strength of the picture to be displayed of the terminal comprises the following steps:
the following status information is determined: whether a user who is using the terminal is looking at a screen, a distance between the face of the user and the terminal, contents of a current display screen of the terminal, and motion stability of the terminal;
determining an influence parameter value corresponding to each piece of state information, wherein the influence parameter value is used for representing the influence degree of the state information on the cutting adjustment intensity;
determining the clipping adjustment intensity according to the product of each of the influence parameter values;
or accumulating each influence parameter value, and determining the clipping adjustment intensity according to the accumulated value;
determining the basic clipping amount of the picture to be displayed according to the position offset;
determining a target clipping amount according to the clipping adjustment strength and the basic clipping amount;
cutting the picture to be displayed according to the target cutting amount to obtain a target display picture;
and displaying the target display picture on a screen of the terminal in an enlarged manner so as to reduce the relative displacement between the picture to be displayed and eyes when the screen is displayed.
2. The method according to claim 1, wherein the cropping the frame to be displayed according to the target cropping amount to obtain the target display frame comprises:
determining the maximum clipping amount according to the content of the picture to be displayed;
and cutting the picture to be displayed according to the relation between the target cutting amount and the maximum cutting amount to obtain the target display picture.
3. The method of claim 1, wherein the magnifying the target display screen on the screen of the terminal comprises:
determining the size of the picture to be displayed;
determining the magnification of the target display picture according to the target clipping amount and the size of the picture to be displayed;
and displaying the target display picture on the screen in an enlarged mode according to the magnification.
4. A method according to claim 3, wherein said determining the magnification of the target display according to the target clipping amount and the size of the to-be-displayed screen comprises:
determining the size of the target display picture according to the target cutting amount and the size of the picture to be displayed;
and determining the magnification according to the ratio of the size of the physical display area of the screen to the size of the target display picture.
5. A picture display device, comprising:
the determining module is used for determining the cutting adjustment intensity of a picture to be displayed of the terminal and the position offset of the terminal;
for determining the following status information: whether a user who is using the terminal is looking at a screen, a distance between the face of the user and the terminal, contents of a current display screen of the terminal, and motion stability of the terminal; determining an influence parameter value corresponding to each piece of state information, wherein the influence parameter value is used for representing the influence degree of the state information on the cutting adjustment intensity; determining the clipping adjustment intensity according to the product of each of the influence parameter values; or accumulating each influence parameter value, and determining the clipping adjustment intensity according to the accumulated value;
the clipping module is used for determining the basic clipping amount of the picture to be displayed according to the position offset; determining a target clipping amount according to the clipping adjustment strength and the basic clipping amount; cutting the picture to be displayed according to the target cutting amount to obtain a target display picture;
and the display module is used for magnifying and displaying the target display picture on a screen of the terminal so as to reduce the relative displacement between the picture to be displayed and eyes when the screen is displayed.
6. A terminal comprising a memory and a processor, the memory storing a computer program executable on the processor, characterized in that the processor implements the steps of the picture display method according to any one of claims 1 to 4 when the program is executed.
7. A computer readable storage medium having stored thereon a computer program, characterized in that the computer program when executed by a processor realizes the steps in the picture display method according to any one of claims 1 to 4.
CN202010161657.1A 2020-03-10 2020-03-10 Picture display method and device, terminal and storage medium Active CN111443965B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010161657.1A CN111443965B (en) 2020-03-10 2020-03-10 Picture display method and device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010161657.1A CN111443965B (en) 2020-03-10 2020-03-10 Picture display method and device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN111443965A CN111443965A (en) 2020-07-24
CN111443965B true CN111443965B (en) 2023-08-22

Family

ID=71653970

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010161657.1A Active CN111443965B (en) 2020-03-10 2020-03-10 Picture display method and device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN111443965B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112967299B (en) * 2021-05-18 2021-08-31 北京每日优鲜电子商务有限公司 Image cropping method and device, electronic equipment and computer readable medium
CN114302226B (en) * 2021-12-28 2022-10-25 北京中科大洋信息技术有限公司 Intelligent cutting method for video picture

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104464579A (en) * 2013-09-12 2015-03-25 中兴通讯股份有限公司 Data display method, data display device, data display terminal, display control method and display control device
CN106293417A (en) * 2015-06-08 2017-01-04 中兴通讯股份有限公司 Screen-picture display packing and device
CN106527913A (en) * 2016-11-22 2017-03-22 广东小天才科技有限公司 Display adjusting method and device of mobile device
CN106814951A (en) * 2015-11-27 2017-06-09 小米科技有限责任公司 Realize method, device and the electronic equipment of visual balance
CN109600513A (en) * 2018-11-30 2019-04-09 努比亚技术有限公司 A kind of mobile terminal and its screen realize the method, apparatus and storage medium of stabilization
CN109885368A (en) * 2019-01-31 2019-06-14 维沃移动通信有限公司 A kind of interface display anti-fluttering method and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104464579A (en) * 2013-09-12 2015-03-25 中兴通讯股份有限公司 Data display method, data display device, data display terminal, display control method and display control device
CN106293417A (en) * 2015-06-08 2017-01-04 中兴通讯股份有限公司 Screen-picture display packing and device
CN106814951A (en) * 2015-11-27 2017-06-09 小米科技有限责任公司 Realize method, device and the electronic equipment of visual balance
CN106527913A (en) * 2016-11-22 2017-03-22 广东小天才科技有限公司 Display adjusting method and device of mobile device
CN109600513A (en) * 2018-11-30 2019-04-09 努比亚技术有限公司 A kind of mobile terminal and its screen realize the method, apparatus and storage medium of stabilization
CN109885368A (en) * 2019-01-31 2019-06-14 维沃移动通信有限公司 A kind of interface display anti-fluttering method and mobile terminal

Also Published As

Publication number Publication date
CN111443965A (en) 2020-07-24

Similar Documents

Publication Publication Date Title
CN111225150B (en) Method for processing interpolation frame and related product
CN113963659B (en) Display device and adjustment method thereof
CN111443965B (en) Picture display method and device, terminal and storage medium
CN114450969B (en) Video screen capturing method, terminal and computer readable storage medium
US20200402481A1 (en) Image display method, image processing method and relevant devices
WO2016192325A1 (en) Method and device for processing logo on video file
CN110868544B (en) Shooting method and electronic equipment
CN107690804B (en) Image processing method and user terminal
CN110796664A (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
US20240005625A1 (en) Image processing method and apparatus, electronic device and storage medium
CN114245028B (en) Image display method and device, electronic equipment and storage medium
US20180121711A1 (en) Display control method and apparatus
WO2016125672A1 (en) Information processing device, image processing method, and program
CN107835404A (en) Method for displaying image, equipment and system based on wear-type virtual reality device
EP3813010B1 (en) Facial image enhancement method, device and electronic device
CN110807769B (en) Image display control method and device
CN108027646B (en) Anti-shaking method and device for terminal display
CN105608469B (en) The determination method and device of image resolution ratio
US11810336B2 (en) Object display method and apparatus, electronic device, and computer readable storage medium
US11600241B2 (en) Display control device, imaging device, display control method, and display control program
CN110769129B (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
CN112489006A (en) Image processing method, image processing device, storage medium and terminal
US11868520B2 (en) Rendering content
WO2018173445A1 (en) Information processing device, information processing method, information processing system, and program
CN111970451A (en) Image processing method, image processing device and terminal equipment

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