Image Segmentation for Long Picture Display on Landscape Screens
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Users experience poor browsing experience when viewing long strip pictures on landscape-screen electronic devices, as they need to continuously move the image up and down to view the entire picture, which is inefficient and complex.
Innovation Solution
An image display method that identifies the aspect ratio and screen orientation of an image and device, segmenting the image into sub-images if the screen orientation does not match the image type, allowing for efficient display on the device screen.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If a long strip picture is displayed in the center of a landscape-screen electronic device, then the image can be displayed on the screen, but the user needs to continuously move the image up and down to view the entire picture, resulting in complex operation and poor browsing experience
Solution Approach 1:
The patent divides the long strip picture into multiple segments based on the screen dimensions and image aspect ratio. By segmenting the image into manageable portions that fit the display area, users can view the complete picture without continuous scrolling, directly resolving the operational complexity and time loss issues
2Adaptability or versatility
If the image is displayed without segmentation, then the display process is simple, but the user experience is poor due to the need for continuous scrolling
Solution Approach 1:
The patent implements dynamic image segmentation that automatically adjusts based on the detected screen orientation (landscape or portrait mode). The system dynamically calculates the optimal segmentation strategy according to the current display context, enabling the image display to adapt flexibly to different screen orientations without manual intervention
Solution Approach 2:
The patent changes the display parameters by detecting screen orientation and adjusting the segmentation strategy accordingly. When the screen is in landscape mode, the image is segmented horizontally; when in portrait mode, it is segmented vertically. This parameter adjustment enables optimal adaptation to different screen orientations
Data Source
Figure 1
Figure 2
Figure 3
AI summary
Embodiments of this application provide an image display method, an electronic device, and a storage medium, and relate to the field of computer technologies. The method includes: obtaining a to-be-displayed image; identifying the to-be-displayed image, and determining a display type of the to-be-displayed image; obtaining a screen status of an electronic device, and determining whether the screen status of the electronic device matches the display type of the to-be-displayed image; determining a display area based on a matching result; and if the screen status of the electronic device does not match the display type of the to-be-displayed image, segmenting the to-be-displayed image to obtain a plurality of sub-images, and displaying the plurality of sub-images in the display area. According to the method provided in embodiments of this application, display efficiency of the to-be-displayed image on the electronic device can be improved, and viewing experience of a user can be improved.