Screen Orientation Detection via Color Line Sampling
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for determining the orientation of a handheld terminal screen for synchronous manipulation with a vehicle-mounted terminal are inefficient, as they require calculating average grayscale values of entire images, leading to high operation data amounts and reduced accuracy, especially in night-scene images with low brightness.
Innovation Solution
An image receiving apparatus and method that performs line sampling on pixels of a shared screen image to determine orientation based on color values, eliminating the need to sample both inside and outside regions and reducing reliance on brightness calculations, thereby reducing data amounts and improving accuracy.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If average grayscale value calculation is performed on the entire screen shared image including non-mapping region, then the orientation determination can be performed, but the operation data amount becomes huge and accuracy deteriorates especially in night-scene images
Solution Approach 1:
The patent divides the screen shared image into a mapping region and a non-mapping region, and performs orientation determination only on the mapping region. This segmentation eliminates the need to process the entire image including the non-mapping region, thereby reducing the operation data amount while maintaining determination accuracy.
Solution Approach 2:
The patent applies different processing strategies to different regions of the image. Specifically, it uses color value analysis on the mapping region rather than grayscale value calculation on the entire image. This local quality approach optimizes the processing method for the specific region that contains the useful information, reducing overall data processing requirements.
2Measurement precision
If average grayscale value calculation is performed on the entire screen shared image, then the orientation can be determined, but the brightness of background color in non-mapping region interferes with the accuracy especially in night-scene images
Solution Approach 1:
The patent extracts and isolates the mapping region from the non-mapping region, and performs orientation determination exclusively on the extracted mapping region. This extraction removes the harmful influence of the non-mapping region's background brightness, particularly eliminating the interference caused by high brightness background in night-scene images.
Solution Approach 2:
The patent applies color value analysis specifically to the mapping region rather than grayscale value calculation on the entire image. This local quality approach ensures that only the relevant region containing the screen content is analyzed, preventing background brightness from interfering with the orientation determination accuracy.
Data Source
AI summary
A method for determining an orientation of a screen of an electronic apparatus and an image receiving apparatus are provided. The method for determining the screen orientation includes the following steps of: receiving a screen shared image transmitted by the electronic apparatus, the screen shared image is a color image; performing line sampling on pixels of the screen shared image; and determining whether the screen is in the landscape orientation or in the portrait orientation according to color values of the sampled pixels of the screen shared image. The present disclosure can determine the screen orientation according to color values of the sampled pixels with small amount of operation data and high accuracy.


