Image processing method and device and terminal equipment

By displaying the target position in the local spherical surface and panoramic spherical image of the target ball on the display screen of the terminal device, and adjusting the target position according to the touch operation, the problem that the terminal device cannot accurately adjust the displayed image picture, and the user can see the desired image picture.

CN119854642APending Publication Date: 2025-04-18LABPANO TECHNOLOGY (CHANGZHOU) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411680082.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-22
Publication Date
2025-04-18

AI Technical Summary

Technical Problem

When the terminal device displays a panoramic image/video, it is impossible to accurately adjust to display the image screen that the user expects to see.

Method used

By displaying the image screen corresponding to the target position in the local spherical surface of the target ball and the panoramic spherical image on the display screen of the terminal device, and detecting the touch operation of the target ball, adjusting the target position according to the touch operation, and then controlling the display screen to display the image screen corresponding to the adjusted target position.

Benefits of technology

It is realized that the terminal device can accurately adjust the target position, ensure that the user can see the image screen they expect, and improve the adjustment efficiency of the display image screen.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119854642A_ABST
    Figure CN119854642A_ABST
Patent Text Reader

Abstract

The invention is applicable to the technical field of image processing, and provides an image processing method, the image processing method is applied to terminal equipment, the terminal equipment is provided with a display screen, and the image processing method comprises the following steps: controlling the display screen to display a local spherical surface of a target ball, and controlling the display screen to display an image picture corresponding to the target position in the panoramic spherical image, if the touch operation on the target ball is detected, adjusting the target position according to the touch operation; and controlling a display screen to display an image picture corresponding to the adjusted target position. Therefore, the terminal device can finely adjust the target position and further control the display screen to display the image corresponding to the adjusted target position, so that the user can see the expected image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of image processing technology, and in particular to an image processing method, apparatus and terminal device. Background Art

[0002] Currently, panoramic images / videos are increasingly used in various fields, such as entertainment, tourism, and medical treatment. However, there are still some defects in the use of panoramic images / videos.

[0003] For example, when a terminal device is displaying a panoramic image / video, although the panoramic image / video is shot based on a 360° shooting angle, a general display screen can only present a flat image with a small viewing angle range. When the image displayed on the display screen is not the image the user expects to see, the terminal device cannot accurately adjust to display the image the user expects to see. Summary of the invention

[0004] The embodiments of the present application provide an image processing method, apparatus and terminal device, which can solve the problem that the current terminal device cannot be accurately adjusted to display the image screen that the user expects to see.

[0005] In the first aspect, the present application provides an image processing method, which is applied to a terminal device, and a display screen is provided on the terminal device. The image processing method includes: controlling the display screen to display a local spherical surface of a target ball, and controlling the display screen to display an image corresponding to a target position in a panoramic spherical image; if a touch operation on the target ball is detected, adjusting the target position according to the touch operation; and controlling the display screen to display an image corresponding to the adjusted target position.

[0006] In a possible implementation of the first aspect, adjusting the target position according to the touch operation includes: determining a position adjustment speed according to the touch operation, the position adjustment speed being a speed for adjusting the target position; and adjusting the target position according to the position adjustment speed.

[0007] In a possible implementation manner of the first aspect, the touch operation includes a sliding operation, and correspondingly, determining the position adjustment speed according to the touch operation includes: acquiring a sliding speed corresponding to the sliding operation; and determining the position adjustment speed according to the sliding speed.

[0008] In a possible implementation of the first aspect, determining the position adjustment speed based on the touch operation includes: obtaining a point distance, where the point distance is the distance between a touch point and a target ball area center, the touch point is: the point at which the display screen is touched during the touch operation, and the target ball area center is: the center of an area on the display screen used to display a local spherical surface of the target ball; determining the position adjustment speed based on the point distance.

[0009] In a possible implementation manner of the first aspect, there is a positive correlation between the point distance and the position adjustment speed.

[0010] In a possible implementation of the first aspect, adjusting the target position according to the touch operation includes: determining a position adjustment amplitude according to the touch operation, the position adjustment amplitude being an amplitude by which the target position needs to be adjusted; and adjusting the target position according to the position adjustment amplitude.

[0011] In a possible implementation of the first aspect, the touch operation is a single-click operation, and correspondingly, determining the position adjustment amplitude based on the touch operation includes: determining the position adjustment amplitude based on the touch point corresponding to the single-click operation, the center of the target ball, and the center of the target ball area.

[0012] In the second aspect, an embodiment of the present application provides an image processing device, which is applied to a terminal device, and a display screen is provided on the terminal device. The image processing device includes: a first control unit, which is used to control the display screen to display a local spherical surface of a target ball, and control the display screen to display an image corresponding to a target position in a panoramic spherical image; an adjustment unit, which is used to adjust the target position according to the touch operation if a touch operation on the target ball is detected; and a second control unit, which is used to control the display screen to display an image corresponding to the adjusted target position.

[0013] In a third aspect, an embodiment of the present application provides a terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements any of the methods described in the first aspect when executing the computer program.

[0014] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any one of the first aspects above is implemented.

[0015] In the embodiment of the present application, the terminal device can control the display screen to display the local spherical surface of the target ball, and control the display screen to display the image corresponding to the target position in the panoramic spherical image; if a touch operation on the target ball is detected, the target position is adjusted according to the touch operation, and the display screen is controlled to display the image corresponding to the adjusted target position, that is, based on the touch operation on the target ball, the terminal device can finely adjust the target position, and then control the display screen to display the image corresponding to the adjusted target position, so that the user can see the image he expects to see. That is, the terminal device can accurately display the image that the user expects to see. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the specific implementation methods of the present application or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0017] Figure 1 is a flowchart of an image processing method provided by an embodiment of the present application;

[0018] Figure 2 is a schematic diagram of an image processing device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0019] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0020] It should be noted that the terms "comprises" and "has" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, apparatus, product or equipment comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to these processes, methods, products or equipment.

[0021] It should be noted that the terms "first", "second", etc. in the specification and claims of this article and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of this article described here can be implemented in an order other than those illustrated or described here. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, device, product or equipment that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or equipment.

[0022] It should be noted that when an element is referred to as being "fixed to" or "disposed on" another element, it may be directly on the other element or there may be an intermediate element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be an intermediate element at the same time.

[0023] In this article, the term "and / or" is only a description of the association relationship between related objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the related objects before and after are in an "or" relationship.

[0024] Embodiment 1

[0025] Figure 1 The flowchart of an image processing method provided by an embodiment of the present application is shown. The image processing method is applied to a terminal device, and a display screen is provided on the terminal device. As an example but not a limitation, the terminal device is a panoramic camera or a mobile phone. The image processing method includes: step S101, step S102 and step S103. The details are as follows:

[0026] Step S101, controlling the display screen to display a local spherical surface of a target ball, and controlling the display screen to display an image picture corresponding to a target position in a panoramic spherical image.

[0027] Specifically, the display screen includes a first display area and a second display area, the first display area is controlled to display a local spherical surface of a target ball, and the second display area is controlled to display an image corresponding to a target position in a panoramic spherical image. The target ball is a three-dimensional ball. The display screen can only display a local spherical surface of the target ball, and the center position of the local spherical surface of the target ball corresponds to the center of the target position in the panoramic spherical image.

[0028] For example, the longitude and latitude of the center position of the local spherical surface of the target sphere are the same as the longitude and latitude of the center position of the target position of the panoramic spherical image.

[0029] As an example but not limitation, the panoramic spherical image is the result of mapping the image obtained by taking a fisheye lens onto a specified spherical model, the target sphere is obtained by reducing the specified spherical model, and the target sphere has: points corresponding to various positions on the panoramic spherical image, and the longitude and latitude corresponding to two corresponding points are the same. The first display area is a circular area, and the local spherical surface of the target sphere occupies the entire first display area. At this time, the center position of the local spherical surface of the target sphere is the center position of the first display area. The target sphere is provided with longitude and latitude, and can also be provided with longitude and latitude. In this way, the present application can clearly indicate the (relative) position of the image displayed on the display screen in the panoramic spherical image, that is, it can enable the user to better perceive the (relative) position of the image displayed on the display screen in the panoramic spherical image.

[0030] Step S102: If a touch operation on the target ball is detected, the target position is adjusted according to the touch operation.

[0031] In the present application, the user can control the rotation of the target ball more intuitively and conveniently by performing touch operations on the target ball. The rotation of the target ball will trigger the adjustment of the target position; and then the display screen can be controlled to display the image corresponding to the adjusted target position.

[0032] As an example but not limitation, the touch operation may be a single click operation or a sliding operation, wherein the single click operation refers to single clicking a point on the local spherical surface of the target ball, and the sliding operation refers to sliding within the area (first display area) where the local spherical surface of the target ball is located. The touch operation is generated based on a contact object contacting any position on the local spherical surface of the target ball, and the contact object is an object that can contact the display screen, for example, the contact object is: a user's finger, a stylus pen tip, or other hard objects (such as a pen, a key, etc.).

[0033] Optionally, a virtual camera is provided at the center of the sphere corresponding to the panoramic spherical image, that is, a virtual camera is provided at the center of the sphere of the designated spherical model, and the virtual camera is used to determine the target position, that is, to determine the image (content) to be displayed on the display screen. Specifically, the field of view of the virtual camera forms a field of view, and the field of view intersects with the panoramic spherical image, and the position of the intersecting area is the target position. Correspondingly, adjusting the target position according to the touch operation may include: adjusting the orientation of the virtual camera and the relative position of the panoramic spherical image according to the touch operation, so as to adjust the target position.

[0034] As an example but not limitation, if the touch operation is a sliding operation, the target ball can rotate along the sliding trajectory, and the panoramic spherical image / virtual camera rotates along with the rotation of the target ball, so that the image displayed on the display screen will also change. In this way, the user can perceive the image pictures corresponding to different perspectives in the panoramic spherical image, as well as the relative position relationship of the image pictures (content) at different perspectives.

[0035] In some embodiments, adjusting the orientation of the virtual camera and the relative position of the panoramic spherical image according to the touch operation includes: adjusting the orientation of the virtual camera according to the touch operation. In this way, the orientation of the virtual camera and the relative position of the panoramic spherical image can be adjusted by adjusting the orientation of the virtual camera without rotating the panoramic spherical image.

[0036] In some embodiments, adjusting the orientation of the virtual camera and the relative position of the panoramic spherical image according to the touch operation includes: rotating the panoramic spherical image according to the touch operation. In this way, the orientation of the virtual camera and the relative position of the panoramic spherical image can be adjusted by rotating the panoramic spherical image without rotating the virtual camera.

[0037] In some embodiments, adjusting the orientation of the virtual camera and the relative position of the panoramic spherical image according to the touch operation includes: simultaneously rotating the virtual camera and the panoramic spherical image according to the touch operation, so that the orientation of the virtual camera and the relative position of the panoramic spherical image can be quickly adjusted.

[0038] Optionally, the adjusting the target position according to the touch operation includes: step a1 and step a2.

[0039] Step a1, determining a position adjustment speed according to the touch operation, wherein the position adjustment speed is a speed for adjusting the target position;

[0040] Step a2: adjusting the target position according to the position adjustment speed.

[0041] As an example but not limitation, the position adjustment speed includes: a speed of rotating a virtual camera, and / or, the position adjustment speed includes: a speed of rotating a panoramic spherical image.

[0042] As can be seen from the above, in the present application, the terminal device can accurately control the position adjustment speed according to the touch operation.

[0043] Optionally, the touch operation includes a sliding operation, and correspondingly, the step a1 includes: acquiring a sliding speed corresponding to the sliding operation; and determining a position adjustment speed according to the sliding speed.

[0044] As an example but not limitation, the sliding speed may be an instantaneous sliding speed or an average sliding speed. The instantaneous sliding speed is the instantaneous speed of the contact object during the sliding operation; the average sliding speed is the average speed of the contact object during the sliding operation.

[0045] In some embodiments, there is a positive correlation between the sliding speed and the position adjustment speed.

[0046] It can be seen that in this embodiment, the user can flexibly control the position adjustment speed through the sliding speed.

[0047] Optionally, the step a1 includes: obtaining a point distance, the point distance being the distance between the touch point and the center of the target ball area, the touch point being: the point at which the display screen is touched during the touch operation, the target ball area center being: the center of an area on the display screen used to display a local spherical surface of the target ball (such as the center of the first display area); determining a position adjustment speed based on the point distance.

[0048] In some embodiments, there is a positive correlation between the point distance and the position adjustment speed.

[0049] Optionally, the touch operation includes a sliding operation, and correspondingly, the step a1 includes: acquiring a point distance and a sliding speed, and determining a position adjustment speed according to the point distance and the sliding speed.

[0050] As an example but not a limitation, the point distance, the sliding speed and the position adjustment speed satisfy a first relational expression, a second relational expression and a third relational expression, and the first relational expression is: The second relation is: The third relation is: Among them, the V1, the k, the m, the V x , the V y , the r is used to represent: the position adjustment speed, the first preset coefficient, the second preset coefficient, the component of the sliding speed on the x-axis of the preset plane coordinate system, the component of the sliding speed on the y-axis of the preset plane coordinate system, and the point distance. The preset plane coordinate system is a plane rectangular coordinate system established based on the plane where the display screen is located.

[0051] For example, the display screen is a rectangle, the origin of the preset plane coordinate system is located at the lower left corner of the display screen, the extension direction of the long side of the display screen is the direction of the x-axis, and the extension direction of the short side of the display screen is the direction of the y-axis.

[0052] Since the human eye has a high speed resolution for low-speed motion, the human eye can more accurately perceive the motion of the object when watching low-speed motion. In this embodiment, if the contact object is closer to the center of the target ball area, the position adjustment speed is slower, so that it is convenient for the user to perform refined operations, so that the image displayed on the display screen can be accurately close to the image that the user expects to see, until the image that the user expects to see is fully displayed; when the contact object is farther from the center of the target ball area, the position adjustment speed is faster, so that the image displayed on the display screen can be quickly switched to the image that the user expects to see.

[0053] Optionally, the touch operation includes a single-click operation, and correspondingly, the step a1 includes: obtaining a contact duration corresponding to the single-click operation; and determining a position adjustment speed according to the contact duration.

[0054] The contact duration is the length of time that the contact object contacts the local spherical surface of the target ball.

[0055] As an example but not a limitation, there is a positive correlation between the contact duration and the position adjustment speed, or there is a negative correlation between the contact duration and the position adjustment speed.

[0056] Optionally, adjusting the target position according to the touch operation includes: determining a position adjustment amplitude according to the touch operation, the position adjustment amplitude being an amplitude by which the target position needs to be adjusted; and adjusting the target position according to the position adjustment amplitude.

[0057] As an example but not limitation, the position adjustment range is specifically the range by which the orientation of the virtual camera needs to be adjusted.

[0058] In some embodiments, the touch operation is a sliding operation, and determining the position adjustment amplitude according to the touch operation includes: determining the position adjustment amplitude according to a sliding duration corresponding to the sliding operation.

[0059] As an example but not limitation, the sliding duration and the position adjustment amplitude satisfy the following relationship: P=V1t, wherein P and t are used to represent the position adjustment amplitude and the sliding duration, respectively.

[0060] In some embodiments, the touch operation is a single-click operation, and determining the position adjustment amplitude according to the touch operation includes: determining the position adjustment amplitude according to the touch point corresponding to the single-click operation, the center of the target ball, and the center of the target ball area.

[0061] As an example but not limitation, determining the position adjustment amplitude according to the touch point corresponding to the single-click operation includes: determining the rotation amplitude of the target ball, the rotation amplitude of the target ball is equal to the angle formed by the intersection of a first straight line segment and a second straight line segment, the first straight line segment is a straight line segment formed by connecting the touch point and the center of the target ball, the second straight line segment is a straight line segment formed by connecting the center of the target ball area and the center of the target ball, and the position adjustment amplitude is equal to the rotation amplitude of the target ball. After determining the position adjustment amplitude (the rotation amplitude of the target ball), the panoramic spherical image can be rotated by the rotation amplitude of the target ball, thereby adjusting the target position; or the virtual camera can be rotated by the rotation amplitude of the target ball, that is, the change amplitude of the orientation of the virtual camera is equal to the rotation amplitude of the target ball, thereby adjusting the target position.

[0062] In some embodiments, if the touch operation is a single click operation, the center of the adjusted target position is: the panoramic spherical image point corresponding to the touch point corresponding to the single click operation, and the panoramic spherical image point is a point in the panoramic spherical image. The subsequent display screen can directly display the image screen corresponding to the adjusted target position, so that the adjustment efficiency of the image screen displayed on the display screen can be greatly improved.

[0063] Step S103: controlling the display screen to display the image corresponding to the adjusted target position.

[0064] Specifically, the second display area is controlled to display an image corresponding to the adjusted target position.

[0065] In an embodiment of the present application, the terminal device is able to control the display screen to display a partial spherical surface of a target ball, and control the display screen to display an image corresponding to a target position in a panoramic spherical image; if a touch operation on the target ball is detected, the target position is adjusted according to the touch operation, and the display screen is controlled to display an image corresponding to the adjusted target position. That is, based on the touch operation on the target ball, the terminal device is able to finely adjust the target position, and then control the display screen to display an image corresponding to the adjusted target position, so that the user can see the image he expects to see.

[0066] Embodiment 2

[0067] Corresponding to the image processing method described in the above embodiment, an embodiment of the present application provides an image processing device, which is applied to a terminal device having a display screen. Figure 2 A schematic diagram of an image processing device provided in an embodiment of the present application is shown. The image processing device includes: a first control unit 201, an adjustment unit 202 and a second control unit 203.

[0068] A first control unit 201 is used to control the display screen to display a local spherical surface of the target ball, and to control the display screen to display an image corresponding to the target position in the panoramic spherical image;

[0069] An adjusting unit 202, configured to adjust the target position according to the touch operation if a touch operation on the target ball is detected;

[0070] The second control unit 203 is used to control the display screen to display the image corresponding to the adjusted target position.

[0071] It should be noted that for technical details not fully described in this embodiment, reference may be made to the image processing methods provided in the various embodiments in the above-mentioned embodiment 1.

[0072] Embodiment 3

[0073] The terminal device in this embodiment includes: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, and the processor implements the steps in any of the above-mentioned image processing method embodiments when executing the computer program. The terminal device is also provided with a display screen.

[0074] When the processor executes the computer program, the steps in the above-mentioned various image processing method embodiments are implemented, for example Figure 1 Alternatively, when the processor executes the computer program, the functions of each unit in the above-mentioned device embodiments are implemented, for example, Figure 2 The functions of the units 201 to 203 are shown.

[0075] Those skilled in the art will understand that this embodiment is merely an example of a terminal device and does not constitute a limitation on the terminal device. The terminal device may include more or fewer components than shown in the figure, or a combination of certain components, or different components, for example, it may also include input and output devices, network access devices, etc.

[0076] The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0077] In some embodiments, the memory may be an internal storage unit of the terminal device, such as a hard disk or memory of the terminal device. In other embodiments, the memory may also be an external storage device of the terminal device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the terminal device. Further, the memory may also include both an internal storage unit of the terminal device and an external storage device. The memory is used to store an operating system, an application program, a boot loader (BootLoader), data and other programs, such as the program code of the computer program, etc. The memory may also be used to temporarily store data that has been output or is to be output.

[0078] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0079] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0080] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.

[0081] An embodiment of the present application provides a computer program product. When the computer program product runs on a terminal device, the terminal device can implement the steps in the above-mentioned method embodiments when executing the computer program product.

[0082] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device capable of carrying the computer program code to the terminal device, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), an electric carrier signal, a telecommunication signal and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.

[0083] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0084] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0085] In the embodiments provided in the present application, it should be understood that the disclosed devices / network equipment and methods can be implemented in other ways. For example, the device / network equipment embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0086] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0087] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. An image processing method, characterized in that: The image processing method is applied to a terminal device, and a display screen is provided on the terminal device. The image processing method includes: Controlling the display screen to display a local spherical surface of the target ball, and controlling the display screen to display an image corresponding to the target position in the panoramic spherical image; If a touch operation on the target ball is detected, adjusting the target position according to the touch operation; The display screen is controlled to display the image corresponding to the adjusted target position.

2. The image processing method according to claim 1, characterized in that: The adjusting the target position according to the touch operation includes: Determine a position adjustment speed according to the touch operation, the position adjustment speed being a speed for adjusting the target position; The target position is adjusted according to the position adjustment speed.

3. The image processing method according to claim 2, characterized in that: The touch operation includes a sliding operation, and correspondingly, determining the position adjustment speed according to the touch operation includes: Obtaining a sliding speed corresponding to the sliding operation; A position adjustment speed is determined according to the sliding speed.

4. The image processing method according to claim 2, characterized in that: The determining the position adjustment speed according to the touch operation includes: Acquire a point distance, where the point distance is the distance between a touch point and a target ball area center, where the touch point is the point where the display screen is touched during the touch operation, and the target ball area center is the center of an area on the display screen used to display a local spherical surface of the target ball; The position adjustment speed is determined according to the point distance.

5. The image processing method according to claim 4, characterized in that: There is a positive correlation between the point distance and the position adjustment speed.

6. The image processing method according to claim 1, characterized in that: The adjusting the target position according to the touch operation includes: Determine a position adjustment amplitude according to the touch operation, where the position adjustment amplitude is an amplitude by which the target position needs to be adjusted; The target position is adjusted according to the position adjustment amplitude.

7. The image processing method according to claim 6, characterized in that: The touch operation is a single-click operation. Correspondingly, determining the position adjustment amplitude according to the touch operation includes: The position adjustment amplitude is determined according to the touch point corresponding to the single-click operation, the center of the target ball and the center of the target ball area.

8. An image processing device, characterized in that: The image processing device is applied to a terminal device, and a display screen is provided on the terminal device. The image processing device comprises: A first control unit, used to control the display screen to display a local spherical surface of the target ball, and to control the display screen to display an image corresponding to the target position in the panoramic spherical image; an adjusting unit, configured to adjust the target position according to the touch operation if a touch operation on the target ball is detected; The second control unit is used to control the display screen to display the image corresponding to the adjusted target position.

9. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.