Method for watching panoramic image by moving left and right icons
By using left and right control icons in the panoramic image viewing system to simulate viewing point movement, the problems of complex operation and high cost of existing systems are solved, and an intuitive, smooth and coherent panoramic image viewing experience is achieved.
Patent Information
- Application Number
- CN202411341251.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-25
- Publication Date
- 2025-02-28
AI Technical Summary
The existing panoramic image viewing system is complex and expensive, and lacks an intuitive multi-lens image switching mechanism, making it difficult to achieve a smooth and coherent viewing experience.
By setting left and right control icons on the display, users can move these icons to realize the viewing of a 360-degree panoramic image. The positional relationship of the icon changes as the image is enlarged or reduced, and the viewpoint position is automatically adjusted.
It simplifies the viewing operation of panoramic images, reduces the system's hardware and software costs, provides an intuitive and immersive viewing experience, and achieves smooth switching between multiple lens images.
Smart Images

Figure CN119536581A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image display, and in particular to a method for realizing panoramic image viewing by moving left and right icons. Background Art
[0002] With the rapid development of virtual reality and augmented reality technologies, panoramic images and videos are increasingly being used. As one of the key technologies in this field, multi-lens multi-image fusion display technology has received widespread attention in recent years. Traditional multi-lens multi-image camera systems usually use complex image stitching and fusion algorithms to achieve seamless connection and display of panoramic images. However, these methods often require powerful hardware support and complex software algorithms, resulting in high system costs and complex operations, which are not easy for ordinary users to master.
[0003] At present, the common panoramic image viewing methods on the market mainly rely on professional panoramic cameras and complex post-processing software. These systems usually require users to adjust the viewing angle by dragging the mouse or sliding the touch screen. The operation is not intuitive enough and it is difficult to provide users with an immersive viewing experience. In addition, traditional panoramic image viewing systems often require high-performance computing devices to support real-time image processing and rendering, which further increases the threshold and cost of using the system.
[0004] In the prior art, some researchers have tried to improve the viewing experience of panoramic images by improving image stitching algorithms or optimizing user interfaces. However, these methods still have some problems: first, complex image processing algorithms increase the computational burden of the system and affect the smoothness of viewing; second, the design of the user interface is often not intuitive enough, and users need a certain learning cost to operate proficiently; finally, these systems usually lack effective management and switching mechanisms for multi-lens and multi-image sources, making it difficult to fully utilize the advantages of multi-lens cameras.
[0005] In view of the above problems, the present invention aims to provide a simple, intuitive and low-cost multi-lens multi-image fusion display solution. Summary of the invention
[0006] The technical problems to be solved by the present invention mainly include: how to simplify the operation mode of multi-lens multi-image fusion display to make it more in line with human visual habits; how to reduce the hardware and software costs of the panoramic image viewing system so that this technology can be more widely used in the mass consumer market; how to achieve smooth switching between multi-lens images to provide a consistent viewing experience.
[0007] To achieve the above-mentioned purpose, the technical solution adopted by the present invention is: a method for viewing a panoramic image by moving left and right icons, by setting a left control icon and a right control icon on the display, the left control icon can view the panoramic image 360 degrees with a viewpoint on the left side, and the right control icon can view the panoramic image 360 degrees with a viewpoint on the right side, after the left and right control icons are moved, the center position of the panoramic image can be viewed with the viewpoint in the middle; the relative position relationship between the left control icon, the right control icon and the panoramic image changes as the image is enlarged or reduced, and is automatically adjusted according to the viewpoint position in the image.
[0008] As a preferred embodiment of the present invention, the method for viewing a panoramic image by moving the left and right icons specifically includes the following implementation steps: (1) firstly setting a left control icon and a right control icon to indicate the viewpoint position, the left control icon can be used to view a panoramic image 360 degrees with the viewpoint on the left, and the right control icon can be used to view a panoramic image 360 degrees with the viewpoint on the right. After the left and right control icons are moved, the center of the panoramic image can be viewed with the viewpoint in the middle; (2) the screen is divided into two left and right areas or upper and lower areas, wherein the left control icon and the right view are respectively overlapped and placed, and the left view and the right view are respectively overlapped. For panoramic images, the left control icon moves left and right on the screen to simulate viewing a panoramic image with a viewpoint of 360 degrees on the left side, and the right control icon moves left and right on the screen to simulate viewing a panoramic image with a viewpoint of 360 degrees on the right side; (3) During display control, the current viewing angle is calculated using a set formula based on the viewpoint position, the left and right boundaries of the screen, and the positions of the left and right control icons. The specific calculation formula is: A1 = x / (H*Width), where A1 is the current viewing angle, x is the coordinate of the viewpoint on the screen, Width is the width of the control icon on the screen, H is the screen height, and the ratio of Width to H is the display ratio of the left and right icons.
[0009] In the step (3), when the viewpoint is at the left edge of the screen, the viewpoint is on the left side, and the left control icon is used to control the viewpoint to view the panoramic image in 360 degrees on the left side; when the left control icon is moved to the rightmost side of the screen, the viewpoint is in the center of the screen, and the center icon is used to control the viewpoint to view the center position of the panoramic image from the center of the screen; when the right control icon is moved to the leftmost side of the screen, the viewpoint is in the center of the screen, and the center icon is used to control the viewpoint to view the center position of the panoramic image from the center of the screen; when the viewpoint is at the right edge of the screen, the viewpoint is on the right side, and the right control icon is used to control the viewpoint to view the panoramic image in 360 degrees on the right side.
[0010] In the step (3), before displaying the control icon on the screen, the display ratio is first obtained and the width of the control icon on the screen is calculated; if the display ratio is known, the width of the control icon is directly calculated using the display ratio; if the display ratio is unknown, the image displayed on the screen is first enlarged to determine the display ratio, and then the width of the control icon on the screen is obtained; after the width of the control icon on the screen is determined, the control icon is placed on the screen with the set width, and the control icon overlaps with the panoramic image on the screen. The current viewing angle is calculated based on the viewpoint position and the left and right boundaries of the screen and the positions of the left and right control icons, and the formula is: A1=x / (H*Width), where A1 is the current viewing angle, x is the coordinate of the viewpoint on the screen, Width is the width of the control icon on the screen, H is the screen height, and the ratio of Width to H is the display ratio of the left and right icons.
[0011] The steps of overlapping the left and right control icons with the left image and the right image respectively include the following steps: first, scaling the image displayed on the screen from the set viewpoint to the screen boundary so that the number of pixels is the same as the number of pixels after scaling from the set viewpoint to the screen boundary; when the rightmost pixel of the left image is outside the set control icon width from the left boundary of the screen, the image is translated pixel by pixel to the left by the value of the set control icon width until the rightmost pixel of the left image coincides with the left boundary of the screen, or, when the rightmost pixel of the left image is within the set control icon width from the left boundary of the screen, the rightmost side of the left image, that is, the left side of the viewpoint, is directly overlapped with the left boundary of the screen; when the leftmost pixel of the right image is outside the set control icon width from the right boundary of the screen, the image is translated pixel by pixel to the right by the value of the set control icon width until the leftmost pixel of the right image coincides with the right boundary of the screen, or, when the leftmost pixel of the right image is within the set control icon width from the right boundary of the screen, the leftmost side of the right image, that is, the right side of the viewpoint, is directly overlapped with the right boundary of the screen.
[0012] In the step (3), when the viewpoint position is aligned with the screen boundary, the control icon overlaps with the image, indicating that the viewpoint is in the center of the screen and / or when the control icon moves to the leftmost side of the screen, it indicates the left edge of the screen, and when the control icon moves to the rightmost side of the screen, it indicates the right edge of the screen.
[0013] In the step (3), when the left control icon is in a coincidence state with the left border of the screen, the panoramic image is viewed at the left edge of the screen by controlling the viewpoint through the left control icon; when the right control icon is in a coincidence state with the right border of the screen, the panoramic image is viewed at the left edge of the screen by controlling the viewpoint through the right control icon; when the distance between the left control icon and the right border of the screen is less than the set control icon width, and the distance between the right control icon and the left border of the screen is less than the set control icon width, the panoramic image is viewed at the center of the screen by controlling the viewpoint through the center icon.
[0014] In the step (3), the current viewing angle can be adjusted according to the user input. In the step (2): the left control icon is used to simulate the left viewpoint, and the left control icon is a rectangle or a circle; the right control icon is used to simulate the viewpoint, and the right control icon is a rectangle or a circle.
[0015] In the step (2): the left control icon can be moved to simulate the 360-degree viewing of the panoramic image with the viewpoint on the left side, and the right control icon can be moved to simulate the 360-degree viewing of the panoramic image with the viewpoint on the right side; or the left control icon is fixed, the panoramic image is viewed at 360 degrees on the left side, and the right control icon can be moved to simulate the 360-degree viewing of the panoramic image with the viewpoint on the right side; or the left control icon can be moved to simulate the 360-degree viewing of the panoramic image with the viewpoint on the left side, and the right control icon is fixed to simulate the 360-degree viewing of the panoramic image with the viewpoint on the right side.
[0016] In the step (2): the screen is divided into two areas, left and right or top and bottom, wherein the left control icon and the right view are overlapped and placed, and the right control icon and the left view are overlapped respectively, when the left control icon moves to the left, the viewpoint moves to the left, and when the right control icon moves to the right, the viewpoint moves to the right.
[0017] The method for viewing a panoramic image by moving the left and right icons also includes the steps of: setting the left control icon and the right control icon to be a pair of left and right control icons for controlling the movement of the viewpoint. In the step (2), the screen is divided into two left and right areas or upper and lower areas, wherein the left control icon and the right view, and the right control icon and the left view are only overlapped and placed respectively, when the viewpoint is on the left, the left control icon does not move, the right view is moving, the right control icon does not move, and the left view is moving; when the viewpoint is on the right, the right control icon does not move, the left view is moving, the left control icon does not move, and the right view is moving. In the step (2), the screen is divided into two left and right areas or upper and lower areas, wherein the left control icon and the right view, and the right control icon and the left view are respectively overlapped and placed, when the image moves to the left to overlap with the left control icon and the right view, the image stops moving, and when the image moves to the right to overlap with the right control icon and the left view, the image stops moving.
[0018] In the step (2): when the left control icon is in a state of overlap with the left border of the screen, the left control icon is used to control the viewpoint to be viewed at the left edge of the screen; when the right control icon is in a state of overlap with the right border of the screen, the right control icon is used to control the viewpoint to be viewed at the right edge of the screen; when the left control icon is in a state of overlap with the left half of the right image, the viewpoint is on the left; when the right control icon is in a state of overlap with the right half of the left image, the viewpoint is on the right; when the left control icon, the right control icon and the middle part of the image are in a state of overlap, the viewpoint is in the middle. In the step (2): the screen is divided into N areas, wherein the N control icons and the right image, and the right control icon and the left image are only placed in an overlapped manner.
[0019] The beneficial technical effects brought by the technical solution of the present invention are:
[0020] The core idea of the present invention is to realize the viewing of panoramic images by moving left and right icons. This method simulates the natural process of human eyes observing the surrounding environment, allowing users to experience panoramic images in a more intuitive and immersive way.
[0021] By adopting the technical solution of the present invention, we have successfully solved the above technical problems. The method provided by the present invention not only simplifies the viewing operation of panoramic images, but also greatly reduces the implementation cost of the system. Users can achieve 360-degree panoramic viewing by simply moving the left and right icons. This interactive method is extremely intuitive and requires almost no learning cost. At the same time, the method of the present invention reduces the dependence on complex image processing algorithms and reduces the requirements for hardware performance, so that panoramic image viewing technology can be implemented on more devices, including mobile devices such as smartphones and tablets.
[0022] In addition, the method of the present invention also cleverly solves the problem of switching between multi-lens images. By moving the left and right control icons, the system can intelligently determine the current viewing position and automatically select the most suitable image source, achieving seamless connection between images captured by multiple lenses. This not only improves the continuity of the viewing experience, but also gives full play to the advantages of the multi-lens camera system, providing users with a more comprehensive and detailed panoramic image.
[0023] In general, the present invention provides an innovative solution for the field of multi-lens multi-image fusion display, which not only simplifies operation and reduces costs, but also improves user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 The figure is a flow chart of the method of the present invention.
[0025] Figure 2 It is a logic block diagram for setting left and right control icons of the present invention.
[0026] Figure 3A logical block diagram of the split screen and icon placement of the present invention.
[0027] Figure 4 This is a logical block diagram of the perspective calculation and control of the present invention.
[0028] Figure 5 It is the effect diagram of the use of the present invention. DETAILED DESCRIPTION
[0029] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the specific implementation methods, structures, features and effects thereof are described in detail below in conjunction with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0030] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0031] See also Figure 1-5 The present invention discloses a method for viewing a panoramic image by moving left and right icons. A left control icon and a right control icon are set on a display. The left control icon can view a panoramic image with a viewpoint of 360 degrees on the left side, and the right control icon can view a panoramic image with a viewpoint of 360 degrees on the right side. After the left and right control icons are moved, the center position of the panoramic image can be viewed with the viewpoint in the center. The relative position relationship between the left control icon, the right control icon and the panoramic image changes as the image is enlarged or reduced, and is automatically adjusted according to the viewpoint position in the image.
[0032] This method realizes the function of viewing panoramic images in all directions through simple left and right control icons, greatly improving the user experience. The automatic adjustment function between the relative position of the control icon and the image makes the operation more intuitive and user-friendly, adapting to different image sizes and zooming operations.
[0033] Specifically, a method for viewing a panoramic image by moving left and right icons includes the following implementation steps:
[0034] (1) First, set a left control icon and a right control icon to indicate the viewpoint position. The left control icon can be used to view a panoramic image 360 degrees from the left side of the viewpoint, and the right control icon can be used to view a panoramic image 360 degrees from the right side of the viewpoint. After the left and right control icons are moved, the center of the panoramic image can be viewed from the center of the viewpoint;
[0035] This step clearly defines the functions of the control icons, providing users with an intuitive way to control the viewpoint, making the viewing of panoramic images more convenient. By setting the left and right control icons, users can easily achieve 360-degree viewing, enhancing the interactive experience.
[0036] (2) The screen is divided into two areas, left and right, or upper and lower areas, wherein the left control icon and the right view are overlapped and placed, and the right control icon and the left view are overlapped respectively. The left view and the right view are panoramic images. The left control icon moves left and right on the screen to simulate the 360-degree panoramic image viewed from the left side, and the right control icon moves left and right on the screen to simulate the 360-degree panoramic image viewed from the right side. When the screen is divided into two areas, upper and lower, the corresponding icons are changed to upper control icons and lower control icons, and the views also correspond to lower views and upper views.
[0037] This left-right partition design allows users to control two different viewpoints at the same time, increasing viewing flexibility and comprehensiveness. By placing the control icons overlapped with the view, intuitive viewpoint control is achieved, allowing users to understand and operate the panoramic image more naturally.
[0038] (3) During display control, the current viewing angle is calculated using a set formula based on the viewpoint position, the left and right screen boundaries, and the positions of the left and right control icons. The specific calculation formula is: A1 = x / (H*Width), where A1 is the current viewing angle, x is the coordinate of the viewpoint on the screen, Width is the width of the control icon on the screen, H is the screen height, and the ratio of Width to H is the display ratio of the left and right icons.
[0039] The viewing angle is calculated through a precise mathematical formula, which ensures the smoothness and accuracy of the viewing angle change and improves the user's viewing experience. This calculation method takes into account the screen size and the width of the control icon, allowing the system to adapt to different display devices and improving the versatility of the method.
[0040] In step (3) of the method of the present invention, when the viewpoint is at the left edge of the screen, the viewpoint is on the left side, and the viewpoint is controlled by the left control icon to view the panoramic image 360 degrees on the left side;
[0041] When the left control icon moves to the far right of the screen, the viewpoint is in the center of the screen. The center icon controls the viewpoint to view the center of the panoramic image from the center of the screen.
[0042] When the right control icon moves to the far left of the screen, the viewpoint is in the center of the screen. The center icon controls the viewpoint to view the center of the panoramic image from the center of the screen.
[0043] When the viewpoint is at the right edge of the screen, the viewpoint is on the right side, and the right control icon is used to control the viewpoint to the right side to view a 360-degree panoramic image.
[0044] This design enables full-range viewing angle control, allowing users to easily switch between left, right and center positions. By clearly defining the functions of control icons in different positions, the intuitiveness of operation and user experience are improved.
[0045] In step (3) of the method of the present invention, before displaying the control icon on the screen, firstly obtain the display ratio and calculate the width of the control icon on the screen;
[0046] If the display ratio is known, the width of the control icon is directly calculated using the display ratio; if the display ratio is unknown, the image displayed on the screen is first enlarged to determine the display ratio, and then the width of the control icon on the screen is obtained;
[0047] After the width of the control icon on the screen is determined, the control icon is placed on the screen with the set width, and the control icon overlaps with the panoramic image on the screen. The current viewing angle is calculated based on the viewpoint position and the left and right boundaries of the screen and the positions of the left and right control icons. The formula is: A1 = x / (H*Width),
[0048] Where A1 is the current viewing angle, x is the coordinate of the viewpoint on the screen, Width is the width of the control icon on the screen, H is the screen height, and the ratio of Width to H is the display ratio of the left and right icons.
[0049] This step ensures the adaptability of control icons on different display devices. By dynamically calculating the width of control icons, the system can maintain a consistent user experience across various screen sizes and resolutions. At the same time, by overlapping control icons with panoramic images, the accuracy and intuitiveness of operations are improved.
[0050] In the method of the present invention, the left and right control icons are overlapped with the left image and the right image respectively, and the steps include:
[0051] First, the image displayed on the screen is scaled from the set viewpoint to the screen boundary so that the number of pixels is the same as the number of pixels after scaling from the set viewpoint to the screen boundary;
[0052] When the rightmost pixel of the left image is outside the set control icon width and away from the left border of the screen, the image is translated pixel by pixel to the left according to the set control icon width until the rightmost pixel of the left image coincides with the left border of the screen; or, when the rightmost pixel of the left image is within the set control icon width and away from the left border of the screen, the rightmost side of the left image, i.e. the left side of the viewpoint, is directly coincident with the left border of the screen;
[0053] When the leftmost pixel of the right image is outside the set control icon width from the right border of the screen, the image is translated rightward pixel by pixel according to the set control icon width until the leftmost pixel of the right image coincides with the right border of the screen; alternatively, when the leftmost pixel of the right image is within the set control icon width from the right border of the screen, the leftmost side of the right image, i.e. the right side of the viewpoint, is directly coincident with the right border of the screen.
[0054] This precise image zooming and panning method ensures perfect alignment of control icons with image boundaries, improving the accuracy of viewing angle control. At the same time, through pixel-level adjustment, the clarity and continuity of image display are guaranteed, enhancing the user's viewing experience.
[0055] In step (3) of the method of the present invention, when the viewpoint position is aligned with the screen boundary, the control icon overlaps with the image, indicating that the viewpoint is in the center of the screen, or when the control icon moves to the leftmost side of the screen, it indicates the left edge of the screen, and when the control icon moves to the rightmost side of the screen, it indicates the right edge of the screen.
[0056] This design simplifies the user's understanding of the viewpoint position, and intuitively reflects the viewpoint position through the position of the control icon, making the operation more intuitive and easy to understand. The user can easily determine whether the current viewpoint is in the center, left edge or right edge, which improves the efficiency of the operation.
[0057] In step (3) of the method of the present invention, when the left control icon is in a coincidence state with the left border of the screen, the viewpoint is controlled by the left control icon to view at the left edge of the screen; when the right control icon is in a coincidence state with the right border of the screen, the viewpoint is controlled by the right control icon to view at the left edge of the screen; when the distance between the left control icon and the right border of the screen is less than the set control icon width, and the distance between the right control icon and the left border of the screen is less than the set control icon width, the viewpoint is controlled by the center icon to view in the center of the screen.
[0058] This design further refines the viewpoint control method and provides users with more precise viewing angle adjustment capabilities. By clearly defining the viewpoint control method in different situations, users can control the viewing angle more accurately, enhancing the flexibility and accuracy of panoramic image viewing.
[0059] In step (3) of the method of the present invention, the current viewing angle size can be adjusted according to user input.
[0060] This feature increases the flexibility of the system, allowing users to adjust the viewing angle according to their personal preferences or viewing needs, and improves the personalization of the user experience. This customization capability makes the system more adaptable to the needs of different users.
[0061] In step (2) of the method of the present invention: the left control icon is used to simulate the left viewpoint, and the left control icon is a rectangle or a circle; the right control icon is used to simulate the viewpoint, and the right control icon is a rectangle or a circle.
[0062] Using simple geometric shapes (rectangle or circle) as control icons makes the interface design concise and clear, easy to identify and operate. This design is both beautiful and practical, and improves the friendliness of the user interface.
[0063] In step (2) of the method of the present invention: the left control icon can be moved to simulate the 360-degree viewing of the panoramic image with the viewpoint on the left side, and the right control icon can be moved to simulate the 360-degree viewing of the panoramic image with the viewpoint on the right side; or the left control icon is fixed, the panoramic image is viewed at 360 degrees on the left side, and the right control icon can be moved to simulate the 360-degree viewing of the panoramic image with the viewpoint on the right side; or the left control icon can be moved to simulate the 360-degree viewing of the panoramic image with the viewpoint on the left side, and the right control icon is fixed to simulate the 360-degree viewing of the panoramic image with the viewpoint on the right side.
[0064] This flexible control icon movement method provides users with a variety of operation options to adapt to the operating habits and needs of different users. Whether it is double icon movement or single icon movement, it can achieve all-round viewing, enhancing the applicability and user-friendliness of the system.
[0065] In step (2) of the method of the present invention: the screen is divided into two areas, left and right or upper and lower, wherein the left control icon and the right view, and the right control icon and the left view are respectively overlapped and placed, when the left control icon moves to the left, the viewpoint moves to the left, and when the right control icon moves to the right, the viewpoint moves to the right.
[0066] This design allows users to control the viewpoint movement more naturally through the intuitive left-right movement correspondence. Placing the control icon and the corresponding view overlap further enhances the intuitiveness of the operation and reduces the user's learning cost.
[0067] The method of the present invention also includes the step of setting the left control icon and the right control icon as a pair of left and right control icons for controlling the movement of the viewpoint.
[0068] The use of paired control icons enhances the symmetry and consistency of the system, making the interface design more balanced and beautiful. This design also provides the possibility for more complex viewpoint control, such as controlling two different viewpoints at the same time.
[0069] In step (2) of the method of the present invention: the screen is divided into two left and right areas or upper and lower areas, wherein the left control icon and the right view, and the right control icon and the left view are only placed overlapping, respectively; when the viewpoint is on the left side, the left control icon is stationary, the right view is moving, the right control icon is stationary, and the left view is moving; when the viewpoint is on the right side, the right control icon is stationary, the left view is moving, the left control icon is stationary, and the right view is moving.
[0070] This design provides users with another intuitive operation method by fixing the control icon and moving the view. This method may be more suitable for certain specific application scenarios and increases the diversity and adaptability of the system.
[0071] In step (2) of the method of the present invention: the screen is divided into two left and right areas or upper and lower areas, wherein the left control icon and the right view, and the right control icon and the left view are only placed overlapping each other, and when the image moves to the left until the left control icon and the right view overlap, the image stops moving; when the image moves to the right until the right control icon and the left view overlap, the image stops moving.
[0072] This design limits the range of image movement and prevents users from over-operating, ensuring the continuity and stability of the viewing experience. At the same time, this automatic stop mechanism also simplifies user operation and improves convenience.
[0073] In step (2) of the method of the present invention: when the left control icon is in a coincidence state with the left border of the screen, the viewpoint is controlled by the left control icon to view at the left edge of the screen; when the right control icon is in a coincidence state with the right border of the screen, the viewpoint is controlled by the right control icon to view at the right edge of the screen; when the left control icon is in a coincidence state with the left half of the right image, the viewpoint is on the left, when the right control icon is in a coincidence state with the right half of the left image, the viewpoint is on the right, and when the left control icon, the right control icon and the middle part of the image are in a coincidence state, the viewpoint is in the middle.
[0074] This design provides users with precise viewpoint positioning capabilities, allowing users to easily switch between different parts of the panoramic image. By clearly defining the viewpoint effect of the control icon at different positions, the intuitiveness and accuracy of the operation are enhanced, improving the user experience.
[0075] In step (2) of the method of the present invention: the screen is divided into N areas, wherein the N control icons and the right image, and the right control icon and the left image are only placed overlapping, respectively; when the viewpoint is on the left, the control icon is stationary and the image is moving; when the viewpoint is on the right, the control icon is stationary and the image is moving.
[0076] This multi-area division design increases the flexibility of the system and can adapt to more complex panoramic image viewing needs. The way of moving images by fixing control icons provides users with a new interaction mode, which may be more suitable for certain application scenarios or user groups.
[0077] In step (3) of the method of the present invention, the current viewing angle is calculated according to a set formula based on the viewpoint position, the left and right boundaries of the screen, and the positions of the left and right control icons. The specific calculation formula is: A1=x / (H*Width), wherein A1 is the current viewing angle, x is the coordinate of the viewpoint on the screen, Width is the width of the control icon on the screen, H is the screen height, and the ratio of Width to H is the display ratio of the left and right icons.
[0078] The viewing angle is calculated through a precise mathematical formula, ensuring the smoothness and accuracy of the viewing angle change. This calculation method takes into account factors such as screen size and control icon width, allowing the system to adapt to different display devices and improving the versatility and accuracy of the method.
[0079] In the method of the present invention, when the left control icon is fixed, if the control icon moves to the leftmost side of the screen, it indicates the left edge of the screen, and the current viewing angle is the left; when the control icon moves to the rightmost side of the screen, it indicates the right edge of the screen, and the current viewing angle is the right; when the control icon moves past the center of the screen, the current viewing angle is the normal.
[0080] This design simplifies the user's understanding and control of the viewpoint position, and intuitively reflects the viewpoint status through the position of the control icon. The user can easily determine whether the current view is left, right or front, which improves the efficiency and intuitiveness of the operation.
[0081] In the method of the present invention, when both the left and right control icons move, when the left control icon reaches the left border of the screen, if the control icon moves to the rightmost side of the screen, it indicates the right edge of the screen, and the current viewing angle is the right; if the control icon moves to the leftmost side of the screen, it indicates the left edge of the screen, and the current viewing angle is the left; when the control icon moves to the center of the screen, the current viewing angle is the normal.
[0082] This dual control icon moving design provides users with a more flexible viewing angle control method. Users can adjust the viewing angle by moving any control icon, which increases the diversity and accuracy of operations and adapts to the operating habits of different users.
[0083] In the method of the present invention, when the left control icon moves and the right control icon is fixed, if the control icon moves to the leftmost side of the screen, it indicates the left edge of the screen and the current viewing angle is the left; when the control icon moves to the rightmost side of the screen, it indicates the right edge of the screen and the current viewing angle is the right; when the control icon moves to the center of the screen, the current viewing angle is the normal.
[0084] This single icon moving design simplifies user operation while retaining the ability to control the full range of viewing angles. This approach may be more suitable for certain specific application scenarios or user groups who prefer simple operations, increasing the applicability of the system.
[0085] In the method of the present invention, when the right control icon reaches the right border of the screen, if the control icon moves to the leftmost side of the screen, it indicates the left edge of the screen, and the current viewing angle is the left; if the control icon moves to the rightmost side of the screen, it indicates the right edge of the screen, and the current viewing angle is the right; when the control icon moves to the center of the screen, the current viewing angle is the normal.
[0086] This design provides users with another intuitive method of viewing angle control. By moving the right control icon to adjust the entire viewing angle range, users can more easily understand and operate the viewing process of the panoramic image. This design increases the diversity of the system and can meet the operating preferences of different users.
[0087] Overall, this method of viewing panoramic images by moving left and right icons has many advantages. It provides an intuitive and flexible operation mode that adapts to different user needs and equipment conditions. Through precise mathematical calculations and multiple control modes, the smoothness and accuracy of the perspective change are ensured. This method has broad application prospects in many fields such as virtual tourism, real estate display, games, education, etc., and can significantly improve the user's panoramic image viewing experience.
[0088] Although the above describes the specific implementation mode of the present invention in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art on the basis of the technical solution of the present invention without creative work are still within the scope of protection of the present invention.
Claims
1. A method for viewing a panoramic image by moving left and right icons, characterized in that The method comprises the following implementation steps: (1) firstly setting a left control icon and a right control icon to indicate the viewpoint position, wherein the left control icon can be used to view a panoramic image at 360 degrees with the viewpoint on the left side, and the right control icon can be used to view a panoramic image at 360 degrees with the viewpoint on the right side. After the left and right control icons are moved, the center of the panoramic image can be viewed with the viewpoint in the center; (2) dividing the screen into two left and right areas or upper and lower areas, wherein the left control icon and the right view are respectively overlapped and placed, and the left view and the right view are the panoramic image, and the left control icon moves left and right on the screen. To simulate the 360-degree panoramic image viewed from the left side of the viewpoint, the right control icon moves left and right on the screen to simulate the 360-degree panoramic image viewed from the right side of the viewpoint; (3) During display control, the current viewing angle is calculated using a set formula based on the viewpoint position, the left and right boundaries of the screen, and the positions of the left and right control icons. The specific calculation formula is: A1 = x / (H*Width), where A1 is the current viewing angle, x is the coordinate of the viewpoint on the screen, Width is the width of the control icon on the screen, H is the screen height, and the ratio of Width to H is the display ratio of the left and right icons.
2. The method for viewing a panoramic image by moving left and right icons as claimed in claim 1, characterized in that In the step (3), when the viewpoint is at the left edge of the screen, the viewpoint is on the left side, and the left control icon is used to control the viewpoint to view the panoramic image in 360 degrees on the left side; when the left control icon is moved to the rightmost side of the screen, the viewpoint is in the center of the screen, and the center icon is used to control the viewpoint to view the center position of the panoramic image from the center of the screen; when the right control icon is moved to the leftmost side of the screen, the viewpoint is in the center of the screen, and the center icon is used to control the viewpoint to view the center position of the panoramic image from the center of the screen; when the viewpoint is at the right edge of the screen, the viewpoint is on the right side, and the right control icon is used to control the viewpoint to view the panoramic image in 360 degrees on the right side.
3. The method for viewing a panoramic image by moving left and right icons as claimed in claim 1, characterized in that In the step (3), before the control icon is displayed on the screen, the display ratio is first obtained and the width of the control icon on the screen is calculated; if the display ratio is known, the width of the control icon is directly calculated using the display ratio; if the display ratio is unknown, the image displayed on the screen is first enlarged to determine the display ratio, and then the width of the control icon on the screen is obtained; after the width of the control icon on the screen is determined, the control icon is placed on the screen with the set width, and the control icon overlaps with the panoramic image on the screen. The current viewing angle is calculated based on the viewpoint position and the left and right boundaries of the screen and the positions of the left and right control icons, and the formula is: A1=x / (H*Width), where A1 is the current viewing angle, x is the coordinate of the viewpoint on the screen, Width is the width of the control icon on the screen, H is the screen height, and the ratio of Width to H is the display ratio of the left and right icons.
4. The method for viewing a panoramic image by moving left and right icons as claimed in claim 3, characterized in that In the steps, the left and right control icons are overlapped with the left image and the right image respectively, and include the following steps: first, the image displayed on the screen is scaled from the set viewpoint to the screen boundary so that the number of pixels after scaling is the same as that after scaling from the set viewpoint to the screen boundary; when the rightmost pixel of the left image is outside the set control icon width from the left boundary of the screen, the image is translated pixel by pixel to the left by the value of the set control icon width until the rightmost pixel of the left image coincides with the left boundary of the screen, or, when the rightmost pixel of the left image is within the set control icon width from the left boundary of the screen, the rightmost side of the left image, that is, the left side of the viewpoint, is directly overlapped with the left boundary of the screen; when the leftmost pixel of the right image is outside the set control icon width from the right boundary of the screen, the image is translated pixel by pixel to the right by the value of the set control icon width until the leftmost pixel of the right image coincides with the right boundary of the screen, or, when the leftmost pixel of the right image is within the set control icon width from the right boundary of the screen, the leftmost side of the right image, that is, the right side of the viewpoint, is directly overlapped with the right boundary of the screen.
5. The method for viewing a panoramic image by moving left and right icons as claimed in any one of claims 1 to 4, characterized in that In the step (3), when the viewpoint position is aligned with the screen boundary, the control icon overlaps with the image, indicating that the viewpoint is in the center of the screen and / or when the control icon moves to the leftmost side of the screen, it indicates the left edge of the screen, and when the control icon moves to the rightmost side of the screen, it indicates the right edge of the screen; when the left control icon is in an overlapped state with the left boundary of the screen, the viewpoint is controlled by the left control icon to view the panoramic image at the left edge of the screen; when the right control icon is in an overlapped state with the right boundary of the screen, the viewpoint is controlled by the right control icon to view the panoramic image at the left edge of the screen; when the distance between the left control icon and the right boundary of the screen is less than the set control icon width, and the distance between the right control icon and the left boundary of the screen is less than the set control icon width, the viewpoint is controlled by the center icon to view the panoramic image at the center of the screen; the current viewing angle size can be adjusted according to user input.
6. The method for viewing a panoramic image by moving left and right icons according to any one of claims 1 to 4, characterized in that: In the step (2), the left control icon is used to simulate the left viewpoint, and the left control icon is a rectangle or a circle; the right control icon is used to simulate the viewpoint, and the right control icon is a rectangle or a circle.
7. The method for viewing a panoramic image by moving left and right icons as claimed in any one of claims 1 to 4, characterized in that In the step (2), the left control icon can be moved to simulate the 360-degree viewing of the panoramic image with the viewpoint on the left, and the right control icon can be moved to simulate the 360-degree viewing of the panoramic image with the viewpoint on the right; or the left control icon is fixed to view the panoramic image with the viewpoint on the left, and the right control icon can be moved to simulate the 360-degree viewing of the panoramic image with the viewpoint on the right; Or the left control icon can be moved to simulate the viewpoint of viewing the panoramic image at 360 degrees on the left side, and the right control icon is fixed to simulate the viewpoint of viewing the panoramic image at 360 degrees on the right side.
8. The method for viewing a panoramic image by moving left and right icons as claimed in any one of claims 1 to 4, characterized in that In the step (2): the screen is divided into two left and right areas or upper and lower areas, wherein the left control icon and the right view, and the right control icon and the left view are respectively placed in overlap, when the left control icon moves to the left, the viewpoint moves to the left, and when the right control icon moves to the right, the viewpoint moves to the right; the left control icon and the right control icon are both set as a pair of left and right control icons for controlling the movement of the viewpoint; the screen is divided into two left and right areas or upper and lower areas, wherein the left control icon and the right view, and the right control icon and the left view are only placed in overlap, when the viewpoint is on the left side, the left control icon is stationary, the right view is moving, the right control icon is stationary, the left view is moving, when the viewpoint is on the right side, the right control icon is stationary, the left view is moving, the left control icon is stationary, and the right view is moving.
9. The method for viewing a panoramic image by moving left and right icons according to any one of claims 1 to 4, characterized in that: In the step (2): the screen is divided into two areas, left and right or top and bottom, wherein the left control icon and the right view are overlapped and placed respectively, and when the image moves to the left and overlaps with the left control icon and the right view, the image stops moving; when the image moves to the right and overlaps with the right view, the image stops moving.
10. The method for viewing a panoramic image by moving left and right icons according to any one of claims 1 to 4, characterized in that: In the step (2): when the left control icon is in a state of overlap with the left border of the screen, the viewpoint is controlled by the left control icon to be viewed at the left edge of the screen; when the right control icon is in a state of overlap with the right border of the screen, the viewpoint is controlled by the right control icon to be viewed at the right edge of the screen; when the left control icon is in a state of overlap with the left half of the right image, the viewpoint is on the left; when the right control icon is in a state of overlap with the right half of the left image, the viewpoint is on the right; when the left control icon, the right control icon and the middle part of the image are in a state of overlap, the viewpoint is in the middle; the screen is divided into N areas, wherein the N control icons and the right image, and the right control icon and the left image are only placed in an overlapped manner.