EP-4740452-A1 - AUTOMATED SCALING AND DISPLAY PARAMETERS
Abstract
Data characterizing a video or image is received. The video or image is at a specified resolution. A scaling factor is determined based on the specified resolution and a resolution of a display. The data is displayed on the display at a fill-screen resolution or at a full-image resolution based on the determined scaling factor.
Inventors
- MCCRACKIN, Sheldon
- MAULE, BRYAN DAVID
- RYAN, MATTHEW JOSEPH
- YAW, DAVID JAMES
Assignees
- Baker Hughes Holdings LLC
Dates
- Publication Date
- 20260513
- Application Date
- 20240701
Claims (20)
- 1. A method comprising: receiving data characterizing a video or image, the video or image being at a specified resolution; determining scaling factor based on the specified resolution and a resolution of a display; and displaying the data on the display at a fill-screen resolution or at a full-image resolution based on the determined scaling factor.
- 2. The method of claim 1, wherein determined the scaling factor comprises: determining a specified resolution width of the data; determining a specified resolution height of the data; determining a resolution width of the display; determining a resolution height of the display; determining a width scaling factor based on a ratio of the resolution width of the display to specified resolution width of the data; determining a height scaling factor based on a ratio of resolution height of the display to the specified resolution height of the data; and determining the smaller of the width scaling factor or the height scaling factor to be the scaling factor.
- 3. The method of claim 1, further comprising: determining the scaling factor is less than or equal to 1.35; and displaying the data at a fill-screen resolution.
- 4. The method of claim 3, further comprising: saving the data displayed at the fill-screen resolution as an image or video; and saving portions of the data not displayed at the fill-screen resolution within metadata of the image or video.
- 5. The method of claim 4, further comprising: receiving the image or video; determining portions of the metadata that are representative of the saved portions of the data; and providing a second image or video characterizing the data displayed at the fullimage resolution.
- 6. The method of claim 2, further comprising: determining a scaling factor is greater than 1.35; and displaying the data at a full-image resolution.
- 7. The method of claim 1, further comprising: displaying a toggle option; receiving a signal indicative of a toggle command; and alternating between displaying the data at a fill-screen resolution and a full-image resolution responsive to the signal.
- 8. A system comprising: at least one data processor; and non-transitory memory storing instructions, which, when executed by the at least one data processor causes the at least one data processor to perform operations comprising: receiving data characterizing a video or image, the video or image being at a specified resolution; determining scaling factor based on the specified resolution and a resolution of a display; and displaying the data on the display at a fill- screen resolution or at a fullimage resolution based on the determined scaling factor.
- 9. The system of claim 8, wherein determined the scaling factor comprises: determining a specified resolution width of the data; determining a specified resolution height of the data; determining a resolution width of the display; determining a resolution height of the display; determining a width scaling factor based on a ratio of the resolution width of the display to specified resolution width of the data; determining a height scaling factor based on a ratio of resolution height of the display to the specified resolution height of the data; and determining the smaller of the width scaling factor or the height scaling factor to be the scaling factor.
- 10. The system of claim 8, wherein the instructions further cause the at least one data processor to perform operations comprising: determining the scaling factor is less than or equal to 1.35; and displaying the data at a fill-screen resolution.
- 11. The system of claim 10, wherein the instructions further cause the at least one data processor to perform operations comprising: saving the data displayed at the fill-screen resolution as an image or video; and saving portions of the data not displayed at the fill-screen resolution within metadata of the image or video.
- 12. The system of claim 11, wherein the instructions further cause the at least one data processor to perform operations comprising: receiving the image or video; determining portions of the metadata that are representative of the saved portions of the data; and providing a second image or video characterizing the data displayed at the fullimage resolution.
- 13. The system of claim 9, wherein the instructions further cause the at least one data processor to perform operations comprising: determining a scaling factor is greater than 1.35; and displaying the data at a full-image resolution.
- 14. The system of claim 8, wherein the instructions further cause the at least one data processor to perform operations comprising: displaying a toggle option; receiving a signal indicative of a toggle command; and alternating between displaying the data at a fill-screen resolution and a full-image resolution responsive to the signal.
- 15. A non-transitory computer readable memory storing instructions which, when executed by at least one data processor forming part of at least one computing system, causes the at least one data processor to perform operations comprising: receiving data characterizing a video or image, the video or image being at a specified resolution; determining scaling factor based on the specified resolution and a resolution of a display; and displaying the data on the display at a fill- screen resolution or at a fullimage resolution based on the determined scaling factor.
- 16. The non-transitory computer readable memory of claim 15, wherein determined the scaling factor comprises: determining a specified resolution width of the data; determining a specified resolution height of the data; determining a resolution width of the display; determining a resolution height of the display; determining a width scaling factor based on a ratio of the resolution width of the display to specified resolution width of the data; determining a height scaling factor based on a ratio of resolution height of the display to the specified resolution height of the data; and determining the smaller of the width scaling factor or the height scaling factor to be the scaling factor.
- 17. The non-transitory computer readable memory of claim 16, wherein the instructions further cause the at least one data processor to perform operations comprising: determining the scaling factor is less than or equal to 1.35; and displaying the data at a fill-screen resolution.
- 18. The non-transitory computer readable memory of claim 15, wherein the instructions further cause the at least one data processor to perform operations comprising: saving the data displayed at the fill-screen resolution as an image or video; and saving portions of the data not displayed at the fill-screen resolution within metadata of the image or video.
- 19. The non-transitory computer readable memory of claim 18, wherein the instructions further cause the at least one data processor to perform operations comprising: receiving the image or video; determining portions of the metadata that are representative of the saved portions of the data; and providing a second image or video characterizing the data displayed at the fullimage resolution.
- 20. The non-transitory computer readable memory of claim 16, wherein the instructions further cause the at least one data processor to perform operations comprising: further comprising: determining a scaling factor is greater than 1.35; and displaying the data at a full-image resolution.
Description
AUTOMATED SCALING AND DISPLAY PARAMETERS CROSS REFERENCE TO RELATED APPLICATIONS [0001] The present application claims benefit of priority to U.S. Patent Application No. 63/512,149, filed July 6, 2023, and entitled “Automated Scaling and Display Parameters,” which is hereby incorporated by reference in its entirety. TECHNICAL FIELD [0002] The subject matter described herein relates to displaying images and video on a screen. BACKGROUND [0003] Images and videos do not always have the same resolution as displays used to display those images and videos. Various forms of scaling exist to properly display such images and videos. For example, an image can be scaled such that an entire image takes up as much of the screen as possible while maintaining its aspect ratio. In some instances, the image can be enlarged such that the image used the full resolution of the screen, even if portions of the image are cropped for such a fit. SUMMARY [0004] This disclosure relates to automated scaling and display parameters. [0005] An example implementation of the subject matter described herein is a method with the following features. Data characterizing a video or image is received. The video or image is at a specified resolution. A scaling factor is determined based on the specified resolution and a resolution of a display. The data is displayed on the display at a fill-screen resolution or at a fullimage resolution based on the determined scaling factor. [0006] The disclosed method can be implemented in a variety of ways. For example, within a system that includes at least one data processor and a non-transitory memory storing instructions for the processor to perform aspects of the method. Alternatively or in addition, the method can be in included non-transitory computer readable memory storing the method as instructions which, when executed by at least one data processor forming part of at least one computing system, causes the at least one data processor to perform operations of the method. [0007] Aspects of the example method, which can be combined with the example method alone or in combination with other aspects, include the following. Determining the scaling factor includes the following. A specified resolution width of the data is determined. A specified resolution height of the data is determined. A resolution width of the display is determined. A resolution height of the display is determined. A width scaling factor is determined based on a ratio of the resolution width of the display to specified resolution width of the data. A height scaling factor is determined based on a ratio of resolution height of the display to the specified resolution height of the data. The smaller of the width scaling factor or the height scaling factor is determined to be the scaling factor. [0008] Aspects of the example method, which can be combined with the example method alone or in combination with other aspects, include the following. The scaling factor is determined to be less than or equal to 1.35. The data is displayed at a fill-screen resolution. [0009] Aspects of the example method, which can be combined with the example method alone or in combination with other aspects, include the following. The data displayed at the fillscreen resolution is saved as an image or video. The portions of the data not displayed at the fillscreen resolution arc saved within metadata of the image or video. [0010] Aspects of the example method, which can be combined with the example method alone or in combination with other aspects, include the following. The image or video is received. Portions of the metadata are determined to be representative of the saved portions of the data. A second image or video characterizing the data displayed at the full-image resolution is provided. [0011] Aspects of the example method, which can be combined with the example method alone or in combination with other aspects, include the following. A scaling factor is determined to be greater than 1.35. The data is displayed at a full-image resolution. [0012] Aspects of the example method, which can be combined with the example method alone or in combination with other aspects, include the following. A toggle option is displayed. A signal indicative of a toggle command is received. The display is alternated between the data at a fill-screen resolution and a full-image resolution responsive to the signal. BRIEF DESCRIPTION OF THE FIGURES [0013] These and other features will be more readily understood from the following detailed description taken in conjunction with the accompanying drawings. [0014] FIG. 1 is a flowchart of an example method that can be used with aspects of this disclosure. [0015] FIG. 2 is an example of an image shown as being displayed full-image, and a description of determining a scaling factor; [0016] FIG. 3 is an example image being shown at a fill-screen resolution; [0017] FIG. 4 is an example of an image shown as being displayed full-image