In various example embodiments, a system and associated method to automatically adapt images is provided. A request to render a stored image is received. The request comprises an output parameter indicative of a display constraint to be applied in the rendering of the stored image, while the stored image has region characteristics associated therewith. An adaptation process to apply to the stored image is determined using the output parameter. An output image is then rendered using the adaptation process and the region characteristics. The output image is then provided to a display device.
Legal claims defining the scope of protection. Each claim is shown in both the original legal language and a plain English translation.
1. A method comprising: receiving a request to render a stored image, the request comprising an output parameter indicative of a display constraint of a display device to be applied in the rendering of the stored image, the stored image having region characteristics associated therewith that indicate predetermined regions of interest in the stored image that are preserved during rendering of the stored image, the predetermined regions of interest including a core region of interest and a secondary region of interest that includes the core region of interest; determining an adaptation process to apply to the stored image based on the output parameter received in the request, the determining of the adaptation process including: based on the display constraint received in the request indicating an image output size for the display device is associated with a first threshold, scaling the stored image, based on the display constraint received in the request indicating the image output size for the display device is associated with a second threshold, cropping the stored image to the core region of interest for display in an entire display area of the display device, and based on the display constraint received in the request indicating the image output size is between the first threshold and the second threshold, cropping the stored image to the secondary region of interest; rendering, using a processor of a machine, an output image based on the adaption process; and providing the output image to the display device.
A method for automatically adapting images for display on different devices involves receiving a request to display an image. This request includes display constraints, like size, for the device. The image has defined regions of interest: a core region and a larger secondary region that contains the core. Based on the requested display size, the method chooses an adaptation process. If the requested size is below a first threshold, the image is scaled. If it's below a second, smaller threshold, the image is cropped to the core region. If the size is between the two thresholds, the image is cropped to the secondary region. The adapted image is then displayed.
2. The method of claim 1 , wherein the display constraint relates to at least one of the display device or a layout context within which the output image is to be rendered.
The image adaptation method as described previously, where the display constraint in the image request relates to either the display device's characteristics (like screen resolution) or the layout context (like the size of an image placeholder) within which the adapted image will be shown. This allows adapting the image based on the capabilities of the device or the constraints of the webpage or application layout.
3. The method of claim 1 , wherein the cropping to the secondary region of interest, comprises cropping to the secondary region of interest and scaling a result of the cropping.
The image adaptation method as described previously, where when the display constraint indicates an image output size between a first and second threshold, the stored image is cropped to the secondary region of interest, and then the resulting cropped image is further scaled to fit the display device. This ensures that the secondary region of interest fills the available display area after cropping.
4. The method of claim 1 , wherein the cropping to the core region of interest comprises cropping to the core region of interest and scaling a result of the cropping.
The image adaptation method as described previously, where when the display constraint indicates an image output size associated with a second threshold, the stored image is cropped to the core region of interest, and then the resulting cropped image is further scaled to fit the entire display area of the display device. This scaling step ensures that the core region fills the display space after cropping.
5. The method of claim 1 , further comprising automatically detecting the regions of interest associated with the stored image using an image recognition process.
The image adaptation method as described previously, also includes automatically detecting the regions of interest (core and secondary) within the stored image. This detection uses an image recognition process to identify important features or objects in the image, and automatically define the core and secondary regions based on these detected elements.
6. The method of claim 1 , further comprising mapping a size and location associated with each region of interest.
The image adaptation method as described previously, also includes determining, calculating, and recording the exact size (dimensions) and location (coordinates) of each identified region of interest within the stored image. This information is then used to precisely crop the image to the appropriate region based on the display constraints.
7. The method of claim 1 , wherein the first predetermined threshold comprises a range that the image output size is between.
The image adaptation method as described previously, where the first predetermined threshold used to determine whether to scale, crop to secondary region, or crop to core region consists of a range of image output sizes. For example, the scaling adaptation process might be selected if the image output size is between 500px and 800px.
8. The method of claim 1 , wherein the second predetermined threshold comprises a range that the image output size is between.
The image adaptation method as described previously, where the second predetermined threshold used to determine whether to scale, crop to secondary region, or crop to core region consists of a range of image output sizes. For example, the core region cropping adaptation process might be selected if the image output size is between 100px and 200px.
9. A system comprising: a processor of a machine; an image request module to receive a request for a stored image, the request comprising an output parameter indicative of a display constraint of a display device to be applied in rendering of the stored image, the stored image having region characteristics associated therewith that indicate predetermined regions of interest in the stored image that are preserved during rendering of the stored image, the predetermined regions of interest including a core region of interest and a secondary region of interest that includes the core region of interest; an adaptation determination module to determine an adaptation process to apply to the stored image based on the output parameter received in the request, the adaptation process including: based on the display constraint received in the request indicating an image output size for the display device is associated with a first threshold, scaling the stored image, based on the display constraint received in the request indicating an image output size for the display device is associated with a second threshold, cropping the stored image to the core region of interest for display in an entire display area of the display device; and based on the display constraint received in the request indicating the image output size is between the first threshold and the second threshold, cropping the stored image to the secondary region of interest; and a rendering module to render, using the processor, an output image based on the adaption process the image request module further configured to provide the output image to the display device.
A system for automatically adapting images for display includes an image request module that receives requests including display constraints for an image (size, device). The image has predefined core and secondary regions of interest. An adaptation module determines the adaptation process: scale the image if the requested size is below a first threshold; crop to the core region if below a second threshold; crop to the secondary region if the size is between the thresholds. A rendering module then generates and displays the adapted image.
10. The system of claim 9 , further comprising a region of interest module to automatically detect the regions of interest using an image recognition process.
The automatic image adaptation system as described previously, further including a region of interest module. This module uses an image recognition process to automatically detect the regions of interest (core and secondary) within stored images, removing the need for manual definition of these regions.
11. The system of claim 10 , wherein the adaptation determination module is further configured to scale the stored image that has been cropped to the core region of interest.
The automatic image adaptation system as described previously, which includes a region of interest module to automatically detect the regions of interest, where the adaptation determination module further scales the image after cropping it to the core region of interest to ensure that the core region fills the display area.
12. The system of claim 10 , wherein the adaptation determination module is further to scale the stored image that has been cropped to the secondary region of interest.
The automatic image adaptation system as described previously, which includes a region of interest module to automatically detect the regions of interest, where the adaptation determination module further scales the image after cropping it to the secondary region of interest to ensure that the secondary region fills as much of the display area as possible.
13. The system of claim 10 , wherein the first predetermined threshold and the second predetermined threshold comprise a range that the image output size is between.
The automatic image adaptation system as described previously, which includes a region of interest module to automatically detect the regions of interest, where the first and second predetermined thresholds for selecting an adaptation process are defined as ranges of image output sizes, allowing for more flexibility in determining the appropriate adaptation strategy based on the display device's capabilities.
14. A tangible machine-readable storage medium in communication with at least one processor, the machine-readable storage medium storing instructions which, when executed by the at least one processor, performs operations comprising: receiving a request to render a stored image, the request comprising an output parameter indicative of a display constraint of a display device to be applied in the rendering of the stored image, the stored image having region characteristics associated therewith that indicate predetermined regions of interest in the stored image that are preserved during rendering of the stored image, the predetermined regions of interest including a core region of interest and a secondary region of interest that includes the core region of interest; determining an adaptation process to apply to the stored image based on the output parameter received in the request, the determining of the adaption process including: based on the display constraint received in the request indicating an image output size for the display device is associated with a first threshold, scaling the stored image, based on the display constraint received in the request indicating the image output size for the display device is associated with a second threshold, cropping the stored image to the core region of interest for display in an entire display area of the display device, and based on the display constraint received in the request indicating the image output size is between the first threshold and the second threshold, cropping the stored image to the secondary region of interest; rendering an output image based on the adaption process; and providing the output image to the display device.
A computer-readable storage medium stores instructions to automatically adapt images. The instructions, when executed, receive an image request including display constraints (size). The image has predefined core and secondary regions of interest. The instructions determine an adaptation process: scale if the requested size is below a first threshold; crop to the core if below a second threshold; crop to the secondary region if the size is between the thresholds. The instructions then render and provide the adapted image to the display device.
15. The tangible machine-readable storage medium of claim 14 , wherein the determining of the adaptation process further comprises scaling the stored image that has been cropped to the core region of interest.
The computer-readable storage medium for automatically adapting images as described previously, where the instructions, when executed to determine the adaptation process, also scale the stored image after it has been cropped to the core region of interest. This ensures the cropped core region fits the display area.
16. The tangible machine-readable storage medium of claim 14 , wherein the determining the adaptation process further comprises scaling the stored image that has been cropped to the secondary region of interest.
The computer-readable storage medium for automatically adapting images as described previously, where the instructions, when executed to determine the adaptation process, also scale the stored image after it has been cropped to the secondary region of interest. This ensures the cropped secondary region fits as much of the display area as possible.
17. The tangible machine-readable storage medium of claim 14 , wherein the operations further comprise: automatically detecting the regions of interest associated with the stored image using an image recognition process; and mapping a size and location associated with each region of interest.
The computer-readable storage medium for automatically adapting images as described previously, further comprising instructions to automatically detect the regions of interest (core and secondary) in the stored image using image recognition, and to map the size and location of each detected region. This automates the region definition process.
18. The tangible machine-readable storage medium of claim 14 , wherein the first predetermined comprises a range that the image output size is between.
The computer-readable storage medium for automatically adapting images as described previously, where the first predetermined threshold for determining the adaptation process comprises a range of image output sizes.
19. The tangible machine-readable storage medium of claim 14 , wherein the second predetermined threshold comprises a range that the image output size is between.
The computer-readable storage medium for automatically adapting images as described previously, where the second predetermined threshold for determining the adaptation process comprises a range of image output sizes.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
August 18, 2009
September 10, 2013
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.