CN114063962A - Image display method, device, terminal and storage medium - Google Patents

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

Info

Publication number
CN114063962A
CN114063962A CN202111412191.9A CN202111412191A CN114063962A CN 114063962 A CN114063962 A CN 114063962A CN 202111412191 A CN202111412191 A CN 202111412191A CN 114063962 A CN114063962 A CN 114063962A
Authority
CN
China
Prior art keywords
image
display
user
local
distance
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.)
Pending
Application number
CN202111412191.9A
Other languages
Chinese (zh)
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 TCL Digital Technology Co Ltd
Original Assignee
Shenzhen TCL Digital Technology 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 TCL Digital Technology Co Ltd filed Critical Shenzhen TCL Digital Technology Co Ltd
Priority to CN202111412191.9A priority Critical patent/CN114063962A/en
Publication of CN114063962A publication Critical patent/CN114063962A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses an image display method, an image display device, a terminal and a storage medium, wherein the image display method comprises the following steps: acquiring an overall image; dividing a display interface into a plurality of areas, wherein the areas divide the whole image into local images; acquiring the distance between a user and the local image; determining a scaling parameter corresponding to the local image according to the distance between the user and the local image; processing the local image by using the scaling parameter corresponding to the local image to obtain a processed local image; and displaying the processed local image on the display interface so as to display the whole image in a curved surface effect in the display interface. According to the embodiment of the application, the effect of curved surface display of the whole image of the plane display can be achieved, and the watching experience of a user is improved.

Description

Image display method, device, terminal and storage medium
Technical Field
The present application relates to the field of computers, and in particular, to an image display method, apparatus, terminal, and storage medium.
Background
Along with diversified demands of users, scenes such as working, games and watching videos by using equipment such as televisions, tablet computers and desktop computers are more common, and curved screens displayed by the equipment can be used for providing different visual effects from those of planar display in order to meet visual demands of part of users.
However, in order to achieve the curved surface display effect of the image, on one hand, a display of a curved surface screen needs to be configured independently for the equipment, and for the curved surface screen with larger curvature, the defects of high manufacturing cost, high difficulty and the like exist; on the other hand, even if a curved screen display is configured for the equipment, the switching of different curvature requirements of a user in one equipment cannot be met, so that the user experience is reduced.
Disclosure of Invention
The embodiment of the application provides an image display method, an image display device, a terminal and a storage medium, which can enable a display interface to display an integral image in a curved surface effect, and improve the viewing experience of a user.
An embodiment of the present application provides an image display method, including:
acquiring an overall image;
dividing a display interface into a plurality of areas, wherein the areas divide the whole image into local images;
acquiring the distance between a user and the local image;
determining a scaling parameter corresponding to the local image according to the distance between the user and the local image;
processing the local image by using the scaling parameter corresponding to the local image to obtain a processed local image;
and displaying the processed local image on the display interface so as to display the whole image in a curved surface effect in the display interface.
Optionally, the method further includes:
acquiring a preset curvature of the display interface;
and taking the ratio of the preset curvature to the distance as a scaling parameter corresponding to the local image.
Optionally, the processing the local image by using the scaling parameter corresponding to the local image includes:
if the distance between the user and the local image is larger than the preset curvature, carrying out amplification processing on the local image according to the zooming parameter of the local image;
and if the distance between the user and the local image is smaller than the preset curvature, reducing the local image according to the scaling parameter.
Optionally, the dividing the display interface into a plurality of regions includes: and dividing the display interface into a plurality of areas by taking the pixels of the display interface as a reference, wherein each area corresponds to one pixel.
Optionally, a display object is displayed in the whole image, and the dividing of the display interface into a plurality of regions includes: and responding to the contour change event of the display object, and modifying the shape of the area in the display interface according to the contour of the display object.
Optionally, the displaying a shape of the display object in the whole image, and the obtaining a distance between the user and the local image includes: determining a length of a straight line of the user from a geometric center of the shape as a distance of the user from the local image.
Optionally, the method further includes: and determining the length of a straight line between the user and the central point of the area where the local image is located as the distance.
An embodiment of the present application further provides an image display device, including:
the image acquisition module is used for acquiring an overall image;
the area dividing module is used for dividing a display interface into a plurality of areas, and the areas divide the whole image into local images;
the distance acquisition module is used for acquiring the distance between a user and the local image;
the zooming parameter determining module is used for determining zooming parameters corresponding to the local images according to the distance between the user and the local images;
the image processing module is used for processing the local image by using the scaling parameter corresponding to the local image to obtain a processed local image;
and the image display module is used for displaying the processed local image on the display interface so as to display the whole image in a curved surface effect in the display interface.
Optionally, the scaling parameter determining module is further configured to:
acquiring a preset curvature of the display interface;
and taking the ratio of the preset curvature to the distance as a scaling parameter corresponding to the local image.
Optionally, the image processing module is further configured to:
if the distance between the user and the local image is larger than the preset curvature, carrying out amplification processing on the local image according to the zooming parameter of the local image;
and if the distance between the user and the local image is smaller than the preset curvature, reducing the local image according to the scaling parameter.
Optionally, the area dividing module is further configured to: and dividing the display interface into a plurality of areas by taking the pixels of the display interface as a reference, wherein each area corresponds to one pixel.
Optionally, the area dividing module is further configured to: and responding to the contour change event of the display object, and modifying the shape of the area in the display interface according to the contour of the display object.
Optionally, the distance obtaining module is further configured to: determining a length of a straight line of the user from a geometric center of the shape as a distance of the user from the local image.
Optionally, the distance obtaining module is further configured to: and determining the length of a straight line between the user and the central point of the area where the local image is located as the distance.
An embodiment of the present application further provides a terminal, where the terminal is capable of performing any one of the operations in the image display method.
An embodiment of the present application further provides a storage medium, where the storage medium is used to store a computer program, and the computer program is loaded by a processor to execute any one of the image display methods described above.
The embodiment of the application discloses an image display method, an image display device, a terminal and a storage medium, wherein the image display method comprises the following steps: acquiring an overall image; dividing a display interface into a plurality of areas, wherein the areas divide the whole image into local images; acquiring the distance between a user and the local image; determining a scaling parameter corresponding to the local image according to the distance between the user and the local image; processing the local image by using the scaling parameter corresponding to the local image to obtain a processed local image; and displaying the processed local image on the display interface so as to display the whole image in a curved surface effect in the display interface.
Therefore, the local images in the display interface are processed according to the corresponding scaling parameters, so that the sizes of the local images in the display interface are approximately consistent, the effect of curved surface display on the whole image displayed in a plane can be achieved, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1a is a schematic flowchart of an image display method provided in an embodiment of the present application;
FIG. 1b is a schematic flowchart of an image display method according to an embodiment of the present disclosure;
FIG. 2a is a schematic diagram of processing a partial image according to an embodiment of the present disclosure;
FIG. 2b is a schematic diagram of processing a partial image according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of processing a partial image according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an image display device provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the description of the present application, it is to be understood that the terms "first", "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, features defined as "first", "second", may explicitly or implicitly include one or more of the described features. In the description of the present application, "at least two" means two or more unless specifically limited otherwise.
The following disclosure provides many different embodiments or examples for implementing different features of the application. In order to simplify the disclosure of the present application, specific example components and arrangements are described below. Of course, they are merely examples and are not intended to limit the present application. Moreover, the present application may repeat reference numerals and/or letters in the various examples, such repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed. In addition, examples of various specific processes and materials are provided herein, but one of ordinary skill in the art may recognize applications of other processes and/or use of other materials. In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The image display method provided by the embodiment of the application can be applied to any terminal with an image display function, such as a tablet computer, a notebook computer, a desktop computer, a television, a smart phone, a touch screen, an independent display and the like. The following detailed description of the embodiments, the apparatus, the terminal and the storage medium, it should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
First, the principle and related knowledge involved in the embodiments of the present application will be explained. For the planar display, taking a scene where the user is at the best viewing position as an example, since the image of the planar display is perpendicular to the line of sight of the user, the distance between the eyes of the user and the center of the image is smaller than the distance between the eyes of the user and other positions of the image, so that the image in the middle of the image is seen by the user to be larger, and the image in the edge of the image is seen to be smaller. For the curved surface display, because the curved surface screen has curvature, the concave part shape is far away from the direction of the user, so that compared with the plane display, the distance between the middle position of the curved surface display picture and the eyes of the user is increased, the distance between the edge position of the curved surface display picture and the eyes of the user is decreased, the size of each part of the image in the whole image displayed by the curved surface is as uniform as possible, and the influence of the factor that the positions of the eyes of the user and the different positions of the picture have different distances is small.
The present invention will be described in detail with reference to the drawings and the detailed description, referring to fig. 1a to 5.
Referring to fig. 1a, fig. 1a is a schematic flow chart of an image display method according to an embodiment of the present disclosure. The embodiment of the application comprises the following steps:
and step 110, acquiring an overall image.
The whole image is an image displayed in the display interface in a complete manner at the terminal. For example, the overall image may be a complete image that the display interface displays without damage, occlusion, or the like. The whole image may include one or more elements. For example, if a user opens two pictures for display on the display interface at the same time, the two pictures may be determined to be a whole image together.
The display interface refers to a page displayed on a terminal display screen. The display interface may be used to display images, text, or buttons/options that may be operated by the current user, etc. The current user can realize corresponding functions by operating the content in the display interface. For example, when the terminal is a tablet computer, the current user may adjust the relevant parameter by clicking an option of the display interface, for example, to change the brightness of the screen.
In some embodiments, the image acquisition module 41 may acquire the whole image through various hardware/software functions of an image sensor of the terminal, an image recognition model, and the like. In some scenarios, for example, when a user uses the terminal to watch a video or play a game, the whole image may be a video image that changes from moment to moment in the display interface, and the image obtaining module 41 may obtain the whole image in units of video frames or time for facilitating subsequent processing of the image. For example, the image sensor may acquire a full image displayed every frame, every two frames, every second in the display interface.
In some embodiments, the image acquisition module 41 may also acquire the whole image from an external terminal. For example, the image obtaining module 41 may obtain the image uploaded to the display interface by the user from another terminal of the user, or may obtain the whole image by reading from a storage space in which the image uploaded by the user is stored, and the obtaining manner of the whole image is not limited in this embodiment.
And 120, dividing a display interface into a plurality of areas, wherein the areas divide the whole image into local images.
The area of the display interface may be a unit surrounded by setting a closed virtual boundary on the display interface. Wherein, the closed virtual boundary can be in any shape, size, position and number. For example, the display interface may be divided into a plurality of rectangular regions, a plurality of circular regions, or a plurality of regions containing arbitrary irregular shapes.
In some embodiments, region partitioning module 42 may partition the entire image into partial images. For example only, if the current display interface is divided into an upper rectangular area and a lower rectangular area, the images respectively located in the two rectangular areas are two local images of the whole image. Since the area division of the display interface is equivalent to the area division of the entire image when the entire image is displayed on the display interface, the area division module 42 may divide the area of the display interface by software/hardware such as an image division unit, an image division model, an image recognition unit, and an image sensor of the terminal.
In some embodiments, the entire image may have display objects displayed therein. The display object refers to an entity displayed in the entire image or a unit included in the entity. For example, the entire image is a landscape image, and the sky, the person, the mountain, the article, and the like displayed in the landscape image are all display objects of the entire image. For example, if the entire image is a face image, the entire face, the five sense organs of the face, and the attachments on the face in the face image are all the display objects of the entire image.
In some embodiments, in response to a change in the outline of the display object, the shape of the region in the display interface may be modified according to the outline of the display object. In some embodiments, the contour change event may include one of a contour area change, a contour shape change, a contour position change, or the like, or any combination thereof. For example, if the current display object is a face image, the contour of the display object may be a face contour, a facial contour, or the like, and if a motion change such as turning a head or nodding a head of a face in the image is detected, the contour area, contour shape, and contour position corresponding to the detected display object are all changed.
In some embodiments, region partitioning module 42 may modify the shape of a region in the display interface according to the outline of the display object. In some embodiments, the modification may include updating the area in which the display object is located. For example, when the region dividing module 42 identifies the contour of the display object that changes, the contour may be directly determined as the region of the display object, for example, the face contour after turning around may be determined as the region of the display object. In some embodiments, the modification may also include adding, deleting, or deleting regions in which the display object is located or contained. For example, the contour of the current five sense organs may be added to the face contour after the head is turned as the area of the display object.
By the method, the change of the outline of the display object is obtained to update the area division in the display interface, so that the continuous processing and the real-time processing of the subsequent images can be realized, and the flexibility and the accuracy of the image processing are improved.
In some embodiments, the region dividing module 42 may divide the display interface into a plurality of regions, each region corresponding to one pixel, based on the pixels of the display interface. For example, if the pixels of the display interface are 1024 × 768, the display page may be divided into 786432 regions corresponding to the pixels, that is, 786432 rectangular regions of equal size.
By the method, the area division speed can be increased, and the local image can be accurately processed to the pixel unit level, so that the processing precision and the processing efficiency of the image are synchronously improved.
And step 130, acquiring the distance between the user and the local image.
In some embodiments, the overall image may have the shape of the display object displayed therein. For example, the display object may be a cup in a cylindrical shape, and then the display object is cylindrical in shape.
In some embodiments, the distance acquisition module 43 may determine the length of a straight line of the user from the geometric center of the shape as the distance of the user from the local image. For example, if the current image is a cup in a cylindrical shape, the length of the straight line between the center point of the cylindrical shape and the user is determined as the distance between the user and the partial image. It should be noted that, in this embodiment, the position of the user is determined by the viewing position of the user, so the distance between the shape and the user may be equal to the distance between the shape and the eyes of the user. By the method, the distance between the local image and the user can be rapidly and accurately determined according to the shape of the display content, so that the local image can be accurately processed according to the distance subsequently.
In some embodiments, the distance acquisition module 43 may determine the length of the straight line between the user and the center point of the region where the local image is located as the distance between the user and the center point. In some scenarios, it is difficult to determine the center of an irregular-shaped display object, a partial image of the display object may be divided into regular-shaped regions, and then the distance between the center point of the regular-shaped region and the straight-line length of the user may be determined as the distance between the center point of the regular-shaped region and the straight-line length of the user, for example, if the region may be a rectangle, the distance between the center of the rectangular region and the straight-line length of the user may be determined as the distance between the center point of the rectangular region and the straight-line length of the user. By the method, under the condition that the shape of the display content is irregular or other conditions that the distance between the local image and the user is difficult to determine exist, the distance between the local image and the user can be still rapidly and accurately determined according to the shape of the display content, so that the local image can be accurately processed according to the distance in the follow-up process.
In some embodiments, the distance acquisition module 43 may also detect a change in distance between the user and the local image. For example, the distance obtaining module 43 may detect the distance change by detecting whether the relative position between the user and the local image changes, for example, the distance obtaining module 43 may detect that the user moves, the display interface is moved, the position of the local image on the display interface changes, and the like. In some embodiments, the scaling parameter of the local image may be determined according to the changed distance, and the description about the scaling parameter may be referred to in step 140.
The distance obtaining module 43 may obtain the distance through various software/hardware having functions of infrared distance measurement, ultrasonic distance measurement, image point location identification, image coordinate processing, and the like, and the obtaining manner of the distance is not limited in this embodiment.
Step 140, determining a scaling parameter corresponding to the local image according to the distance between the user and the local image.
The zoom parameter refers to a value for zooming out or zooming in on the object. The scaling parameter is usually embodied in the form of a ratio, for example, a scaling parameter of 1:4 means that the object is enlarged by 4 times, and a scaling parameter of 2:1 means that the object is reduced by 1/2.
Referring to fig. 1b, fig. 1b is another schematic flow chart of an image display method according to an embodiment of the present disclosure. With reference to fig. 2a and fig. 2b, before step 104, the embodiment of the present application further includes the following steps.
And step 141, acquiring a preset curvature of the display interface.
The preset curvature refers to a preset curvature radius value after the display interface is converted from a plane to a curved surface. For example, the preset curvature R1000 indicates that the curvature radius corresponding to the curved surface is 1000mm, and similarly, the preset curvature R1500 indicates that the curvature radius corresponding to the curved surface is 1500 mm. In some embodiments, the terminal may obtain the preset curvature input or selected by the user, for example, the user may input one or more numerical values as the preset curvature by typing or voice, and for example, the user may select one or more numerical values as the preset curvature by clicking on the display interface. The present embodiment does not limit the manner of obtaining the preset curvature.
And 142, taking the ratio of the preset curvature to the distance as a scaling parameter corresponding to the local image.
Taking fig. 2a as an example, to facilitate understanding of the determination of the scaling parameter in step 142, an abstract curved display interface is simultaneously presented at the current display interface. According to the foregoing description, the curved surface display adjusts the distance from the local image at each position to the user compared to the planar display, so that in order to achieve the curved surface display effect on the planar display interface, the corresponding zoom parameter may be determined for each local image.
Now, it is assumed that the user position is exactly located at the center of the curved display interface, the preset curvature is R, the distance between the first image 21 in the display interface and the user is L, and the distance between the second image 22 in the curved display interface and the user is L'. In order to make the user see the effect of the first image 21 on the display interface, and the effect of the user see the second image 22 in the curved display interface, the projected image of the first image 21 on the curved display interface can be regarded as the second image 22, and correspondingly, the projected image of the second image 22 on the display interface can also be regarded as the first image 21. Optionally, since the curved surface display interface has the preset curvature R, the projection parameters of the two images are related to the preset curvature R, and the projection connecting line of the two images is the connecting line between the first image 21, the second image 22, and the center of the curved surface circle.
As can be seen from fig. 2a and the above description, the ratio between the preset curvature and the distance, i.e. R/L, is the scaling parameter corresponding to the local image, and the description about processing the local image using the scaling parameter can be referred to in step 150.
And 150, processing the local image by using the scaling parameter corresponding to the local image to obtain a processed local image.
In some embodiments, if the distance between the user and the local image is greater than the preset curvature, the image processing module 45 may perform an enlargement process on the local image according to the zoom parameter of the local image.
With reference to fig. 2a, fig. 2a is another schematic diagram of processing a partial image according to an embodiment of the present disclosure. For example only, in some scenarios, the distance between the user and the local image is greater than the preset curvature, for example, the user wants to use a computer to realize a home theater viewing experience of a curved screen television, and the user needs to be far away from the current use position of the computer, which may be the user position when the user uses the computer to work. The predetermined curvature of the computer is not generally large considering the size of the screen of the computer, and the home theater viewing distance is generally more than 3 meters. Therefore, it is reasonably assumed that the preset curvature of the computer is R1000, that is, 1000mm, and the distance from the user to the local image is 3000mm, on the premise that the distance between the user and the local image is not changed, the scaling parameter of the local image is 1:3, that is, the image processing module 45 may perform 1:3, enlarging the local image to realize the display effect of the curved surface display interface in the display interface.
The whole image may include a plurality of local images, and for different local images, on the premise that there is no symmetry relationship, the distances between the different local images and the user are different, so that the scaling parameters corresponding to the local images with different distances from the user are also different. Continuing with the previous example, the scaling parameters for local image A are 1:3, another partial image with a larger distance from the user exists in the display interface, for example, the partial image B with a distance of 3100mm from the user, and the zoom parameter of the partial image B is 1: 3.1, the presentation image processing module 45 may perform 1: 3.1 amplification process. It can be understood that the local image with a larger distance from the user is equivalent to a smaller image area presented in the field of view of the user, and therefore, in the above manner, when the distance between the local image and the user is greater than the preset curvature, the local image with a larger distance from the user is matched with a larger scaling parameter in the display interface for processing, and the image sizes of the local images in the processed display interface can be made to be approximately consistent, so as to achieve an effect of converting the planar display into the curved display.
In some embodiments, if the distance between the user and the local image is smaller than the preset curvature, the image processing module 45 may perform a reduction process on the local image according to the scaling parameter of the local image.
With reference to fig. 2b, fig. 2b is another schematic diagram of processing a partial image according to an embodiment of the present application. For example only, in some scenarios, similar to the scenario in fig. 2a, the distance between the user and the local image may be smaller than the preset curvature, for example, the user wants to use a tv to achieve the visual effect of playing a game on a curved-screen computer, the user needs to be close to the current tv use position, and the current tv use position may be the user's position when watching a video using the tv. The preset curvature of the tv is not generally small considering the screen size of the tv, and the distance between the user and the computer is generally within 1 meter when the computer is used for playing games. Therefore, it is reasonably assumed that the preset curvature of the television is R2000, that is, 2000mm, and the distance from the user to the local image is 800mm, on the premise that the distance between the user and the local image is not changed, the scaling parameter of the local image is 5:2, that is, the image processing module 45 may perform 5:2, so that the partial image can realize the display effect on the curved surface display interface in the display interface.
To further understand the image display method according to the embodiment of the present application, please refer to fig. 4, where fig. 4 is another schematic diagram of processing a partial image according to the embodiment of the present application.
As shown in fig. 3, the current display interface has a local image R, a local image Rl and a local image Rr, respectively, where the local image R is located in a middle area of the display interface, and the local image Rl and the local image Rr are located on two sides of the local image R, respectively. Now, assuming that the user is at the optimal viewing position of the central diffusion area of the display interface, taking the reduction processing on the partial image R in the shape of a rectangle as an example according to the foregoing, since the scaling parameter is a ratio, to ensure the scaling effect, the image processing apparatus may respectively perform the reduction processing on the length and the width of the partial image R, that is, perform the diagonal scaling processing on the partial image R from the horizontal direction and the vertical direction of the two-dimensional image. For example, the length H and the width W of the partial image R may be synchronously reduced to values equal to the length H 'and the width W' of the partial image Rl, so that the image sizes of the partial images in the whole image of the current display interface are approximately consistent, and the curved surface display effect is achieved.
It should be noted that, in order to optimize the visual effect of the user, the image processing module 45 may process only a part of the partial images in the plurality of partial images. For example, the image processing module 45 may be a machine learning model related to image processing, and may include Deep Neural Network (DNN), multi-layer Perceptron (MLP), Convolutional Neural Network (CNN), and Generative Adaptive Network (GAN), for example. Because the machine learning model has strong computing power and data processing power, the image processing module 45 can identify which local images are only required to be processed to realize a better curved surface viewing effect for the user, so that the image processing efficiency and the image processing quality can be improved.
And 160, displaying the processed local image on the display interface. In some embodiments, the image display module 46 may display the processed partial image on the display interface through a display unit inside the terminal, or various software/hardware having an imaging function.
Therefore, according to the embodiment of the application, the local images in the display interface can be processed according to the corresponding scaling parameters, so that the sizes of the local images in the display interface are approximately consistent, the effect of curved surface display on the whole image displayed in a plane can be realized, and the experience of a user is improved.
As shown in fig. 4, fig. 4 is a schematic structural diagram of an image display device according to an embodiment of the present application.
In some embodiments, the image display apparatus may include an image acquisition module 41, a region division module 42, a distance acquisition module 43, a scaling parameter determination module 44, an image processing module 45, and an image display module 46.
In some embodiments, the image acquisition module 41 may be used to acquire the entire image.
In some embodiments, region partitioning module 42 may be configured to partition the display interface into a plurality of regions, the regions partitioning the overall image into partial images.
In some embodiments, the distance acquisition module 43 may be used to acquire the distance between the user and the local image.
In some embodiments, the scaling parameter determination module 44 may be configured to determine the scaling parameter corresponding to the local image according to the distance between the user and the local image.
In some embodiments, the image processing module 45 may be configured to process the local image using the scaling parameter corresponding to the local image, so as to obtain a processed local image.
In some embodiments, the image display module 46 may be configured to display the processed partial image on the display interface, so that the entire image is displayed in the display interface with a curved surface effect.
In some embodiments, scaling parameter determination module 44 may be further configured to: acquiring a preset curvature of a display interface; and taking the ratio of the preset curvature to the distance as a scaling parameter corresponding to the local image.
In some embodiments, image processing module 45 may be further configured to: if the distance between the user and the local image is larger than the preset curvature, the local image is amplified according to the zooming parameters of the local image; and if the distance between the user and the local image is smaller than the preset curvature, reducing the local image according to the scaling parameters.
In some embodiments, the region partitioning module 42 may be further configured to: the method comprises the steps of dividing a display interface into a plurality of areas by taking pixels of the display interface as a reference, wherein each area corresponds to one pixel.
In some embodiments, the region partitioning module 42 may be further configured to: in response to a change in the outline of the display object, the shape of the region in the display interface is modified according to the outline of the display object.
In some embodiments, the distance acquisition module 43 may be further configured to: the length of the straight line from the user to the geometric center of the shape is determined as the distance from the user to the local image.
In some embodiments, the distance acquisition module 43 may be further configured to: and determining the length of a straight line between the user and the central point of the area where the local image is located as the distance.
In a specific implementation, the above units may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and the specific implementation of the above units may refer to the foregoing method embodiments, which are not described herein again.
As can be seen from the above, in the image display apparatus of the present embodiment, when processing and displaying the image, the image obtaining module 41 can be used to obtain the whole image, the region division module 42 may then divide the display interface into a plurality of regions, which divide the overall image into partial images, then, the distance obtaining module 43 may obtain the distance between the user and the partial image, then, the scaling parameter determining module 44 may determine the scaling parameter corresponding to the partial image according to the distance between the user and the partial image, and then, the image processing module 45 may be configured to process the local image using the scaling parameter corresponding to the local image to obtain a processed local image, and finally, the image display module 46 may be configured to display the processed partial image on the display interface, so that the entire image is displayed in the display interface with a curved surface effect.
Therefore, the local images in the display interface can be processed according to the corresponding scaling parameters, so that the sizes of the local images in the display interface are approximately consistent, the effect of curved surface display on the whole image displayed on a plane can be achieved, and the user experience is improved.
As shown in fig. 5, the terminal may include Radio Frequency (RF) circuitry 501, memory 502 including one or more computer-readable storage media, input unit 503, display unit 504, sensor 505, audio circuitry 506, Wireless Fidelity (Wi-Fi) module 507, processor 508 including one or more processing cores, and power supply 509, among other components. Those skilled in the art will appreciate that the terminal structure shown in fig. 5 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 501 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, for receiving downlink information of a base station and then sending the received downlink information to the one or more processors 508 for processing; in addition, data relating to uplink is transmitted to the base station. In general, RF circuitry 501 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 501 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.
The memory 502 may be used to store software programs and modules, and the processor 508 executes various functional applications and data processing by operating the software programs and modules stored in the memory 502. The memory 502 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal, etc. Further, the memory 502 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. Accordingly, the memory 502 may also include a memory controller to provide the processor 508 and the input unit 503 access to the memory 502.
The input unit 503 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in one particular embodiment, the input unit 503 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 508, and can receive and execute commands sent by the processor 508. In addition, touch sensitive surfaces may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 503 may include other input devices in addition to the touch-sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 504 may be used to display information input by or provided to the user and various graphical user interfaces of the terminal, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 504 may include a Display screen, and optionally, the Display screen may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display screen, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is transmitted to the processor 508 to determine the type of touch event, and then the processor 508 provides a corresponding visual output on the display screen according to the type of touch event.
The terminal may also include at least one sensor 505, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts brightness of the display screen according to brightness of ambient light, and a proximity sensor that turns off the display screen and/or backlight when the terminal moves to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration (generally three axes) at each position, can detect the magnitude and position of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the 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 gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal, detailed description is omitted here.
Audio circuitry 506, a speaker, and a microphone may provide an audio interface between the user and the terminal. The audio circuit 506 may transmit the electrical signal converted from the received audio data to a speaker, and convert the electrical signal into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electric signal, which is received by the audio circuit 506 and converted into audio data, which is then processed by the audio data output processor 508, and then transmitted to, for example, another terminal via the RF circuit 501, or the audio data is output to the memory 502 for further processing. The audio circuit 506 may also include an earbud jack to provide communication of peripheral headphones with the terminal.
Wi-Fi belongs to short-distance wireless transmission technology, and a terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through a Wi-Fi module 507, and provides wireless broadband internet access for the user. Although fig. 5 shows the Wi-Fi module 507, it is understood that it does not belong to the essential constitution of the terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 508 is a control center of the terminal, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 502 and calling data stored in the memory 502, thereby integrally monitoring the mobile phone. Optionally, processor 508 may include one or more processing cores; preferably, the processor 508 may integrate an application processor, which primarily handles operating systems, user interfaces, application programs, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 508. Specifically, in the embodiment of the present application, after receiving a control instruction input by a user, the processor controls a driving device in the image capturing device to execute a corresponding operation.
The terminal also includes a power supply 509 (e.g., a battery) for powering the various components, which may preferably be logically connected to the processor 508 via a power management system that may be used to manage charging, discharging, and power consumption. The power supply 509 may also include any component such as one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown, the terminal may further include a camera, a bluetooth module, and the like, which will not be described herein. Specifically, in this embodiment, the processor 508 in the terminal loads the executable file corresponding to the process of one or more application programs into the memory 502 according to the following instructions, and the processor 508 runs the application programs stored in the memory 502, thereby implementing various functions.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments. The embodiments described above are only a part of the embodiments of the present invention, and not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without any inventive work are within the scope of the present invention except for the design of the embodiments of the present invention mentioned in the present application, which is consistent with the embodiments of the present application.
The foregoing describes an image display method and a terminal provided in an embodiment of the present application in detail, and a specific example is applied to illustrate the principle and the implementation manner of the present invention, and the description of the foregoing embodiment is only used to help understanding the technical solution and the core idea of the present invention; those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. An image display method, comprising:
acquiring an overall image;
dividing a display interface into a plurality of areas, wherein the areas divide the whole image into local images;
acquiring the distance between a user and the local image;
determining a scaling parameter corresponding to the local image according to the distance between the user and the local image;
processing the local image by using the scaling parameter corresponding to the local image to obtain a processed local image;
and displaying the processed local image on the display interface so as to display the whole image in a curved surface effect in the display interface.
2. The method of claim 1, the determining a scaling parameter corresponding to the local image according to a distance between the user and the local image, comprising:
acquiring a preset curvature of the display interface;
and taking the ratio of the preset curvature to the distance as a scaling parameter corresponding to the local image.
3. The method of claim 2, wherein processing the local image using the scaling parameter corresponding to the local image comprises:
if the distance between the user and the local image is larger than the preset curvature, carrying out amplification processing on the local image according to the zooming parameter of the local image;
and if the distance between the user and the local image is smaller than the preset curvature, reducing the local image according to the scaling parameter.
4. The method of claim 1, wherein the dividing the display interface into a plurality of regions comprises: and dividing the display interface into a plurality of areas by taking the pixels of the display interface as a reference, wherein each area corresponds to one pixel.
5. The method of claim 1, wherein the whole image has a display object displayed therein, and the dividing the display interface into a plurality of regions comprises: and responding to the contour change event of the display object, and modifying the shape of the area in the display interface according to the contour of the display object.
6. The method of claim 1, wherein the shape of the display object is displayed in the whole image, and the obtaining the distance between the user and the partial image comprises: determining a length of a straight line of the user from a geometric center of the shape as a distance of the user from the local image.
7. The method of claim 6, further comprising: and determining the length of a straight line between the user and the central point of the area where the local image is located as the distance.
8. A display device, comprising:
the image acquisition module is used for acquiring an overall image;
the area dividing module is used for dividing a display interface into a plurality of areas, and the areas divide the whole image into local images;
the distance acquisition module is used for acquiring the distance between a user and the local image;
the zooming parameter determining module is used for determining zooming parameters corresponding to the local images according to the distance between the user and the local images;
the image processing module is used for processing the local image by using the scaling parameter corresponding to the local image to obtain a processed local image;
and the image display module is used for displaying the processed local image on the display interface so as to display the whole image in a curved surface effect in the display interface.
9. A terminal characterized by being capable of performing the operation in the image display method according to any one of claims 1 to 7.
10. A storage medium for storing a computer program to be loaded by a processor to execute the image display method according to any one of claims 1 to 7.
CN202111412191.9A 2021-11-25 2021-11-25 Image display method, device, terminal and storage medium Pending CN114063962A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111412191.9A CN114063962A (en) 2021-11-25 2021-11-25 Image display method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111412191.9A CN114063962A (en) 2021-11-25 2021-11-25 Image display method, device, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN114063962A true CN114063962A (en) 2022-02-18

Family

ID=80276325

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111412191.9A Pending CN114063962A (en) 2021-11-25 2021-11-25 Image display method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN114063962A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115373548A (en) * 2022-08-25 2022-11-22 汉桑(南京)科技股份有限公司 Display content adjusting method and system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1875398A (en) * 2003-10-28 2006-12-06 松下电器产业株式会社 Image display device and image display method
CN103197833A (en) * 2012-01-09 2013-07-10 三星电子株式会社 Apparatus and method for scaling layout of application in image display device
CN105208371A (en) * 2014-10-06 2015-12-30 三星电子株式会社 Display equipment and method for controlling same
KR20160063011A (en) * 2014-11-26 2016-06-03 엘지전자 주식회사 Image display apparatus and method for operating the same
JP2016111612A (en) * 2014-12-09 2016-06-20 三星電子株式会社Samsung Electronics Co.,Ltd. Content display device
CN105721816A (en) * 2014-12-05 2016-06-29 青岛海信电器股份有限公司 Processing method of display data, and display equipment
US20160196794A1 (en) * 2015-01-06 2016-07-07 Samsung Display Co., Ltd. Curved display and a driving method thereof
CN106303498A (en) * 2015-05-30 2017-01-04 北京智谷睿拓技术服务有限公司 Video display control method and device, display device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1875398A (en) * 2003-10-28 2006-12-06 松下电器产业株式会社 Image display device and image display method
CN103197833A (en) * 2012-01-09 2013-07-10 三星电子株式会社 Apparatus and method for scaling layout of application in image display device
CN105208371A (en) * 2014-10-06 2015-12-30 三星电子株式会社 Display equipment and method for controlling same
KR20160063011A (en) * 2014-11-26 2016-06-03 엘지전자 주식회사 Image display apparatus and method for operating the same
CN105721816A (en) * 2014-12-05 2016-06-29 青岛海信电器股份有限公司 Processing method of display data, and display equipment
JP2016111612A (en) * 2014-12-09 2016-06-20 三星電子株式会社Samsung Electronics Co.,Ltd. Content display device
US20160196794A1 (en) * 2015-01-06 2016-07-07 Samsung Display Co., Ltd. Curved display and a driving method thereof
CN106303498A (en) * 2015-05-30 2017-01-04 北京智谷睿拓技术服务有限公司 Video display control method and device, display device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115373548A (en) * 2022-08-25 2022-11-22 汉桑(南京)科技股份有限公司 Display content adjusting method and system

Similar Documents

Publication Publication Date Title
WO2021008456A1 (en) Image processing method and apparatus, electronic device, and storage medium
KR102635373B1 (en) Image processing methods and devices, terminals and computer-readable storage media
US9906406B2 (en) Alerting method and mobile terminal
US10122942B2 (en) Photo shooting method, device, and mobile terminal
CN107977144B (en) Screen capture processing method and mobile terminal
WO2020215720A1 (en) Photographing method, storage medium, and electronic device
CN108205398B (en) Method and device for adapting webpage animation to screen
WO2019129020A1 (en) Automatic focusing method of camera, storage device and mobile terminal
US9948856B2 (en) Method and apparatus for adjusting a photo-taking direction, mobile terminal
US20170147904A1 (en) Picture processing method and apparatus
CN105989572B (en) Picture processing method and device
CN108513671B (en) Display method and terminal for 2D application in VR equipment
US11165950B2 (en) Method and apparatus for shooting video, and storage medium
CN109348019B (en) Display method and device
CN109948581B (en) Image-text rendering method, device, equipment and readable storage medium
CN111949239B (en) Screen sharing method and device, storage medium and terminal
CN110941378B (en) Video content display method and electronic equipment
JP2020509470A (en) Method, apparatus and non-volatile computer readable medium for image synthesis
CN109104573B (en) Method for determining focusing point and terminal equipment
CN111556248B (en) Shooting method, shooting device, storage medium and mobile terminal
CN107622234B (en) Method and device for displaying budding face gift
CN114063962A (en) Image display method, device, terminal and storage medium
CN108376255B (en) Image processing method, device and storage medium
CN110996003B (en) Photographing positioning method and device and mobile terminal
CN114648498A (en) Virtual image content measurement method and device, electronic equipment and 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