Systems and Methods for Enhanced Image Adaptation

- Microsoft

Systems and methods for adapting images for substantially optimal presentation by heterogeneous client display sizes are described. In one aspect, an image is modeled with respect to multiple visual attentions to generate respective attention objects for each of the visual attentions. For each of one or more image adaptation schemes, an objective measure of information fidelity (IF) is determined for a region R of the image. The objective measures are determined as a function of a resource constraint of the display device and as a function of a weighted sum of IF of each attention object in the region R. A substantially optimal adaptation scheme is then selected as a function of the calculated objective measures. The image is then adapted via the selected substantially optimal adaptation scheme to generate an adapted image as a function of at least the target area of the client display.

Skip to: Description  ·  Claims  · Patent History  ·  Patent History
Description
RELATED APPLICATIONS

This patent application is related to:

  • U.S. patent application Ser. No. 10/286,053, titled “Systems and Methods for Generating a Comprehensive User Attention Model”, filed on Nov. 1, 2002, commonly assigned herewith, and hereby incorporated by reference; and,
  • U.S. patent application Ser. No. 10/285,933, titled “Systems and Methods for Generating a Motion Attention Model”, filed on Nov. 1, 2002, commonly assigned herewith, and hereby incorporated by reference.

TECHNICAL FIELD

The invention pertains to image processing.

BACKGROUND

Advances in hardware and software have resulted in numerous new types of mobile Internet client devices such as hand-held computers, personal digital assistants (PDAs), telephones, etc. As a trade-off for compact design and mobility, such client devices (hereinafter often referred to as “small-form-factor” devices) are generally manufactured to operate in resource constrained environments. A resource constrained environment is a hardware platform that provides substantially limited processing, memory, and/or display capabilities as compared, for example, to a desktop computing system. As a result, the types of devices across which Internet content may be accessed and displayed typically have diverse computing and content presentation capabilities as compared to one another.

Internet content authors and providers generally agree that serving a client base having disparate computing and content presentation capabilities over networks having different data throughput characteristics presents a substantial challenge. Conventional image adaptation techniques attempt to meet this challenge by reducing the size of high-resolution Internet content via resolution and content reduction as well as data compression techniques. Unfortunately, even though employing such conventional image adaptation techniques may speed-up content delivery to the client over a low-bandwidth connection, excessively reduced and compressed content often provide Internet client device users with a viewing experience that is not consistent with human perception. Such a viewing experience is also often contrary to the high-quality impression that content authors/providers prefer for the viewer to experience, and contrary to the universal access to high quality images viewers generally desire.

To make matters worse, algorithms used in conventional image adaptation schemes often involve large number of adaptation rules or over-intensive computations (e.g., semantic analysis) that are impracticable for systems that provide on-the-fly adaptive content delivery for mobile small-form-factor devices.

The following arrangements and procedures address these and other problems of conventional techniques to adapt content for delivery and presentation by Internet client devices.

SUMMARY

Systems and methods for adapting images for substantially optimal presentation by heterogeneous client display sizes are described. In one aspect, an image is modeled with respect to multiple visual attentions to generate respective attention objects for each of the visual attentions. For each of one or more image adaptation schemes, an objective measure of information fidelity (IF) is determined for a region R of the image. The objective measures are determined as a function of a resource constraint of the display device and as a function of a weighted sum of IF of each attention object in the region R. A substantially optimal adaptation scheme is then selected as a function of the calculated objective measures. The image is then adapted via the selected substantially optimal adaptation scheme to generate an adapted image as a function of at least the target area of the client display.

BRIEF DESCRIPTION OF THE DRAWINGS

The following detailed description is described with reference to the accompanying figures. In the figures, the left-most digit of a component reference number identifies the particular figure in which the component first appears.

FIG. 1 is a block diagram of an exemplary computing environment within which systems and methods for enhanced image adaptation may be implemented.

FIG. 2 shows further exemplary aspects of application programs and program data of FIG. 1 used for enhanced image adaptation.

FIG. 3 shows exemplary results of a conventional image adaptation as displayed by a client device.

FIG. 4 shows an exemplary adapted image that was generated by attention-based modeling of an image adapting device of the invention.

FIG. 5 shows an exemplary adapted image that was generated by attention-based modeling of an original image.

FIG. 6 shows that image attention objects are segmented into regions and respectively adapted to presentation characteristics of a client display target area.

FIG. 7 shows a binary tree to illustrate a branch and bound process to identify an optimal image adaptation solution.

FIG. 8 shows an exemplary procedure for enhanced image adaptation in view of client resource constraints.

DETAILED DESCRIPTION

Overview

The following described arrangements and procedures provide a framework to adapt a static image in view of a resource constrained client such as a small-form-factor client for display. To this end, the framework analyzes the image in view of multiple computational visual attention models. As a basic concept, “attention” is a neurobiological concentration of mental powers upon an object; a close or careful observing or listening, which is the ability or power to concentrate mentally. The multiple visual attention models used in this framework are computational to dynamically reduce attention into a series of localized algorithms. Results from visual attention modeling of the image are integrated to identify one or more portions, or “attention objects” (AOs) of the image that are most likely to be of interest to a viewer. A substantially optimal adaptation scheme is then selected for adapting the identified AOs. The scheme is selected as a function of objective measures indicating that the scheme will result in highest image fidelity of the AOs after adaptation in view of client resource constraints such as target screen size. The identified image portions are then adapted via the selected adaptation scheme for considerably optimal viewing at the client.

An Exemplary Operating Environment

Turning to the drawings, wherein like reference numerals refer to like elements, the invention is illustrated as being implemented in a suitable computing environment. Although not required, the invention is described in the general context of computer-executable instructions, such as program modules, being executed by a personal computer. Program modules generally include routines, programs, objects, components, data structures, etc., that perform particular tasks or implement particular abstract data types.

FIG. 1 illustrates an example of a suitable computing environment 120 on which the subsequently described systems, apparatuses and methods for enhanced image adaptation may be implemented. Exemplary computing environment 120 is only one example of a suitable computing environment and is not intended to suggest any limitation as to the scope of use or functionality of systems and methods the described herein. Neither should computing environment 120 be interpreted as having any dependency or requirement relating to any one or combination of components illustrated in computing environment 120.

The methods and systems described herein are operational with numerous other general purpose or special purpose computing system environments or configurations. Examples of well known computing systems, environments, and/or configurations that may be suitable include, but are not limited to, including hand-held devices, multi-processor systems, microprocessor based or programmable consumer electronics, network PCs, minicomputers, mainframe computers, portable communication devices, and the like. The invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote memory storage devices.

As shown in FIG. 1, computing environment 120 includes a general-purpose computing device in the form of a computer 130. The components of computer 130 may include one or more processors or processing units 132, a system memory 134, and a bus 136 that couples various system components including system memory 134 to processor 132.

Bus 136 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnects (PCI) bus also known as Mezzanine bus.

Computer 130 typically includes a variety of computer readable media. Such media may be any available media that is accessible by computer 130, and it includes both volatile and non-volatile media, removable and non-removable media. In FIG. 1, system memory 134 includes computer readable media in the form of volatile memory, such as random access memory (RAM) 140, and/or non-volatile memory, such as read only memory (ROM) 138. A basic input/output system (BIOS) 142, containing the basic routines that help to transfer information between elements within computer 130, such as during start-up, is stored in ROM 138. RAM 140 typically contains data and/or program modules that are immediately accessible to and/or presently being operated on by processor 132.

Computer 130 may further include other removable/non-removable, volatile/non-volatile computer storage media. For example, FIG. 1 illustrates a hard disk drive 144 for reading from and writing to a non-removable, non-volatile magnetic media (not shown and typically called a “hard drive”), a magnetic disk drive 146 for reading from and writing to a removable, non-volatile magnetic disk 148 (e.g., a “floppy disk”), and an optical disk drive 150 for reading from or writing to a removable, non-volatile optical disk 152 such as a CD-ROM/R/RW, DVD-ROM/R/RW/+R/RAM or other optical media. Hard disk drive 144, magnetic disk drive 146 and optical disk drive 150 are each connected to bus 136 by one or more interfaces 154.

The drives and associated computer-readable media provide nonvolatile storage of computer readable instructions, data structures, program modules, and other data for computer 130. Although the exemplary environment described herein employs a hard disk, a removable magnetic disk 148 and a removable optical disk 152, it should be appreciated by those skilled in the art that other types of computer readable media which can store data that is accessible by a computer, such as magnetic cassettes, flash memory cards, digital video disks, random access memories (RAMs), read only memories (ROM), and the like, may also be used in the exemplary operating environment.

A number of program modules may be stored on the hard disk, magnetic disk 148, optical disk 152, ROM 138, or RAM 140, including, e.g., an operating system 158, one or more application programs 160, other program modules 162, and program data 164.

A user may provide commands and information into computer 130 through input devices such as keyboard 166 and pointing device 168 (such as a “mouse”). Other input devices (not shown) may include a microphone, joystick, game pad, satellite dish, serial port, scanner, camera, etc. These and other input devices are connected to the processing unit 132 through a user input interface 170 that is coupled to bus 136, but may be connected by other interface and bus structures, such as a parallel port, game port, or a universal serial bus (USB).

A monitor 172 or other type of display device is also connected to bus 136 via an interface, such as a video adapter 174. In addition to monitor 172, personal computers typically include other peripheral output devices (not shown), such as speakers and printers, which may be connected through output peripheral interface 175.

Computer 130 may operate in a networked environment using logical connections to one or more remote computers, such as a remote computer 182. Remote computer 182 may include some or all of the elements and features described herein relative to computer 130. Logical connections shown in FIG. 1 are a local area network (LAN) 177 and a general wide area network (WAN) 179. Such networking environments are commonplace in offices, enterprise-wide computer networks, intranets, and the Internet.

When used in a LAN networking environment, computer 130 is connected to LAN 177 via network interface or adapter 186. When used in a WAN networking environment, the computer typically includes a modem 178 or other means for establishing communications over WAN 179. Modem 178, which may be internal or external, may be connected to system bus 136 via the user input interface 170 or other appropriate mechanism.

Depicted in FIG. 1, is a specific implementation of a WAN via the Internet. Here, computer 130 employs modem 178 to establish communications with at least one remote computer 182 via the Internet 180.

In a networked environment, program modules depicted relative to computer 130, or portions thereof, may be stored in a remote memory storage device. Thus, e.g., as depicted in FIG. 1, remote application programs 189 may reside on a memory device of remote computer 182. It will be appreciated that the network connections shown and described are exemplary and other means of establishing a communications link between the computers may be used.

FIG. 2 shows further exemplary aspects of application programs and program data of FIG. 1 for enhanced image adaptation. In particular, system memory 134 is shown to include application programs 160 and program data 164. Application programs include, for example, content adaptation module 202 and other modules 204 such as an operating system to provide a run-time environment, and so on. The content adaptation module analyzes content 206 (e.g., a Web page designed in a markup language such as the Hypertext Markup Language (HTML)) in view of multiple visual attention models (e.g., saliency, face, text, etc.) to generate attention data 208 for each image 210-l through 210-K of the content. The attention data includes, for example, a set of attention objects (AOs) 212-1 through 212-N for each attention modeling scheme utilized for each image. For instance, saliency attention modeling results in a first set of AOs for each image. Face attention modeling results in a second set of AOs for each image, and so on.

As a result of the visual attention modeling of the images 210-1 through 210-K, most perceptible information of an image will be located inside the AOs 212-1 through 212-N. Because of this, each AO is an information carrier that has been computationally determined to deliver at least one intention of the content author. For instance, an AO may represent a semantic object, such as a human face, a flower, a mobile car, text, and/or the like, that will catch part of the viewer's attention, as a whole. In light of this, the combination of information in the AOs generated from an image will catch most attentions of a viewer.

Each AO 212 (each one of the AOs 212-1 though 212-N) is associated with three (3) respective attributes: a Region-Of-Interest (ROI) 214, an Attention Value (AV) 216 and a Minimal Perceptible Size (MPS) 218. The ROI is a spatial region or segment within an image that is occupied by the particular AO. An ROI can be of any shape and ROIs of different AOs may overlap. In one implementation, a ROI is represented by a set of pixels in the original image. In another implementation, regular shaped ROIs are denoted by their geometrical parameters, rather than with pixel sets. For example, a rectangular ROI can be defined as {Left, Top, Right, Bottom} coordinates, or {Left, Top, Width, Height} coordinates, while a circular ROI can be defined as {Center_x, Center_y, Radius}, and so on.

Different AOs 212-1 through 212-N represent different portions and amounts of an image's 210-1 through 210-K information. In light of this, the content adaptation module 202 assigns each AO in the image a respective quantified attention value (AV). Thus, an AO's AV indicates the relative weight of the AO's contribution to the information contained in the image as compared to the weights of other AOs.

The total amount of information that is available from an AO 212 is a function of the area it occupies on an image 210-1 through 210-K. Thus, overly reducing the resolution of the AO may not include the content or message that the image's author originally intended for a viewer to discern. In light of this, a Minimal Perceptible Size (MPS) 218 is assigned to each AO to indicate a minimal allowable spatial area for the AO. The content adaptation module 202 uses the MPS is used as a reduction quality threshold to determine whether an AO should be further sub-sampled or cropped during image adaptation operations.

For example, suppose an image 210 contains N number of AOs 212, {AOi}, i=1, 2 . . . , N, where AOi denotes the ith AO within the image. The MPS 218 of AOi indicates the minimal perceptible size of AOi, which can be presented by the area of a scaled-down region. For instance, consider that a particular AO represents a human face whose original resolution is 75×90 pixels. The author or publisher may define its MPS to be 25×30 pixels which is the smallest resolution to show the face region without severely degrading its perceptibility. The MPS assignment may be accomplished manually by user interaction, or calculated automatically in view of a set of rules. In this manner, the content adaptation module provides end-users with an adapted image that is not contrary to the impression that the content author/provider intended the end-user to experience.

In view of the foregoing, the content adaptation module 202 generates AOs for each an image 210-1 through 210-K as follows:
{AOi={(ROIi, AVi, MPSi)}, 1≦i≦N   (1).
AOi, represents the ith AO within the image; ROIi represents the Region-Of-Interest 212 of AOi, AVi represents the Attention Value 214 of AOi, MPSi represents the Minimal Perceptible Size 216 of AOi; and N represents the total number of AOs in the image.

For each image 210-1 through 210-K, the content adaptation module 202 integrates and analyzes the attention data 208 generated from the visual attention modeling operations. Such analysis identifies a region R of the image that includes one or more AOs 212-1 through 212-N with substantially high attention values (AVs) as compared to other AOs of the image. (E.g., see region R 604 of FIG. 6). Thus, the identified region R is objectively determined to be most likely to attract human attention as compared to other portions of the image. The content adaptation module then identifies a substantially optimal image adaptation scheme (e.g., reduction, compression, and/or the like) to adapt the region R, and the image as a whole, in view of client resource constraints and such that the highest image fidelity (IF) over the region R is maintained. The analyzed images are then adapted (i.e., adapted image(s) 220) based on information from these AOs and in view of a target client display (e.g., screen 176 or 190 of FIG. 1) characteristics. Further details of these exemplary operations are now described.

Display Constraint-Based Presentation of High Attention Value Objects

The content adaptation module 202 manipulates AOs 212 for each image 210 to adapt the image 220 such that it represents as much information as possible under target client device resource constraints such as display screen size, display resolution, and/or the like. However, as described above, each AO is reduced in size as a function not only of display screen size, but also as a function of the AO's quality reduction threshold attribute, the MPS 218. Thus, although the MPS substantially guarantees a certain level of image quality, it is possible that enforcement of the MPS may result in an adapted image 220 that is too large to view at any one time on a display screen (e.g., see displays 172 and 190 of FIG. 1). In other words, such an adapted image may need to be scrolled horizontally and/or vertically for all portions of the adapted image to be presented on the client display.

In light of this, and to ensure a substantially valuable viewing experience, the content adaptation module 202 directs the client device to initially present a portions of the image that includes one or more AOs 212 that include respective AVs 214 to indicate that they are more likely to attract the user's attention than other portions of the image. To illustrate such image adaptation in view of client resource constraints, please refer to the examples of FIGS. 3-5, which in combination show exemplary differences between conventional image adaptation results (FIG. 3) and exemplary image adaptation results according to the arrangements and procedures of this invention (FIGS. 4 and 5).

FIG. 3 shows exemplary results 300 of conventional image adaptation as displayed by a client device 300. Note that the informative text 302 in the upper left quadrant of the adapted image is barely recognizable. This is due to the excessive resolution reduction that was performed to fit the image to a screen dimension of 240×320 pixels, which is the size of a typical pocket PC screen. In contrast to FIG. 3, FIG. 4 shows an exemplary adapted image 400 that was generated by the attention-based modeling of client device 400. Note that even though the screen sizes of client device 300 and client device 400 are the same, text portion 402 of the image is much clearer as compared to the text 302 of FIG. 3. This is due to substantial optimization of the original image as a function of attention-modeling results, and selection of those portions of the image for presentation that have higher attention values in view of the target client resource constraints.

FIG. 5 shows an exemplary adapted image that was generated by the attention-based modeling of an original image. In particular, client device 500 represents client device 400 of FIG. 4 in a rotated, or landscape position. Such rotation causes the landscape viewing function of the client display screen to activate via a client device display driver. Responsive to such rotation, the coordinates of the display screen change and the content adaptation module 202 of FIG. 2 generates an adapted image 220 (FIG. 2) to present clear views of both the text 502 and the face 504. Accordingly, the content adaptation module adapts images to present the most important aspect(s) of the adapted image in view of client device resource constraints (e.g., size, positional nature/screen rotation, etc.),

Visual Attention Modeling

Turning to FIG. 2, further details of the operations used by the content adaptation module 202 to perform visual attention modeling of the image(s) 210-1 through 210-K are now described. In particular, the content adaptation module analyzes each image in view of multiple visual attention models to generate attention model data 208. In this implementation, the attention models include, for example, saliency, face, and text attention models. However, in another implementation, the content adaptation module is modified to integrate information generated from analysis of the image(s) via different attention model algorithms such as those described in:

    • U.S. patent application Ser. No. 10/286,053, titled “Systems and Methods for Generating a Comprehensive User Attention Model”, filed on Nov. 1, 2002, commonly assigned herewith, and incorporated by reference; and
    • U.S. patent application Ser. No. 10/285,933, titled “Systems and Methods for Generating a Motion Attention Model”, filed on Nov. 1, 2002, commonly assigned herewith, and incorporated by reference.

Saliency Attention Modeling

The content adaptation module 202 generates three (3) channel saliency maps for each of the images 210-1 through 121-1. These saliency maps respectively identify color contrasts, intensity contrasts, and orientation contrasts. These saliency maps are represented as respective portions of attention data 208. Techniques to generate such maps are described in “A Model of Saliency-Based Visual Attention for Rapid Scene Analysis” by Itti et al., IEEE Transactions on Pattern Analysis and Machine Intelligence, 1998, hereby incorporated by reference.

The content adaptation module 202 then generates a final gray saliency map, which is also represented by attention data 208, by applying portions of the iterative method proposed in “A Comparison of Feature Combination Strategies for Saliency-Based Visual Attention Systems, Itti et al, Procedures of SPIE Human Vision and Electronic Imaging IV (HVEI'99), San Jose, Calif., Vol. 3644, pp. 473-82, January 1999, and hereby incorporated by reference. Saliency attention is determined via the final saliency map as a function of the number of saliency regions, and their brightness, area, and position in the gray saliency map.

To reduce image adaptation time, the content adaptation module 202 detects regions that are most attractive to human attention by binarizing the final saliency map. Such binarization is based on the following: AV saliency = ( i , j R ) B i , j · W saliency i , j , ( 2 )
wherein Bi,j denotes the brightness of pixel point (i,j) in the saliency region R, Wsalienicyposi,j is the position weight of that pixel. Since people often pay more attention to the region near the image center, a normalized Gaussian template centered at the image is used to assign the position weight.

The size, the position and the brightness attributes of attended regions in the binarized or gray saliency map (attention data 208) decide the degree of human attention attracted. The binarization threshold is estimated in an adaptive manner. Since saliency maps are represented with arbitrary shapes with little semantic meaning. Thus, a set of MPS ratios 218 are predefined for each AO 212 that represented as a saliency map. The MPS thresholds can be manually assigned via user interaction or calculated automatically. For example, in one implementation, the MPS of a first region with complex textures is larger than the MPS of a second region with less complex texturing.

Face Attention Modeling

A person's face is generally considered to be one of the most salient characteristics of the person. Similarly, a dominant animal's face in a video could also attract viewer's attention. In light of this, it follows that the appearance of dominant faces in images 210 will attract a viewers' attention. Thus, a face attention model is applied to each of the images by the content adaptation module 202. Portions of attention data 208 are generated as a result, and include, for example, the number of faces, their respective poses, sizes, and positions.

A real-time face detection technique is described in “Statistical Learning of Multi-View Face Detection”, by Li et al., Proc. of EVVC 2002; which is hereby incorporated by reference. In this implementation, seven (7) total face poses (with out-plane rotation) can be detected, from the frontal to the profile. The size and position of a face usually reflect the importance of the face. Hence,
AVface=√{square root over (Areaface)}×Wfacepos   (3),
wherein Areaface denotes the size of a detected face region and wfacepos is the weight of its position. In one implementation, the MPS 218 attribute of an AO 212-1 through 212-N face attention model is a predefined absolute pixel area size. For instance, a face with an area of 25×30 pixels in size will be visible on many different types of devices.

Text Attention Modeling

Similar to human faces, text regions also attract viewer attention in many situations. Thus, they are also useful in deriving image attention models. There have been so many works on text detection and recognition and localization accuracy can reach around 90% for text larger than ten (10) points. By adopting a text detection, the content adaptation module 202 finds most of the informative text regions inside images 210-1 through 210-K. Similar to the face attention model, the region size is also used to compute the attention value 214 of a text region. In addition, the aspect ratio of region in included in the calculation in consideration that important text headers or titles are often in an isolated single line with large heights whose aspect ratios are quite different from text paragraph blocks. In light of this, the attention value for a text region is expressed as follows:
AVtext=√{square root over (Areatext)}×WAspectRatio   (4).
Areatext denotes the size of a detected text region, and WAspectRatio is the weight of its aspect ratio generated by some heuristic rules. The MPS 218 of a text region (AO 212) can be predefined according to a determined font size, which can be calculated by text segmentation from the region size of text. For example, the MPS of normal text can be assigned from a specific 10 points font size in height.

Attention Model Adjustment-Post Processing

Before integrating the multiple visual attention measurements, the content adaptation module 202 adjusts each AO's 212 respective attention value (AV) 216. In one implementation, for purposes of simplicity, this is accomplished via a rule-based approach. For example, respective AO AV values in each attention model are normalized to (0, 1), and the final attention value is computed as follows:
AVi=wk· AVik  (5),
wherein Wk is the weight of model k and AVik is the normalized attention value of AOi detected in the model k, e.g. saliency model, face model, text model, or any other available model.

When adapting images contained in a composite content 206 such as a Web page, image 210 contexts are quite influential to user attention. To accommodate this variation in modeling image attentions, the content adaptation module 202 implements Function-based Object Model (FOM) to understand a content author's intention for each object in a Web page. Such FOM is described in Chen J. L., Zhou B. Y., Shi J., Zhang H. J. and Wu Q. F. (2001), Function-based Object Model Towards Website Adaptation, Proc. of the 10th Int. WWW Conf. pp. 587-596, hereby incorporated by reference. For example, images in a Web page may have different functions, such as information, navigation, decoration or advertisement, etc. By using FOM analysis, the context of an image can be detected to assist image attention modeling.

Attention-Based Image Adaptation

Operations to find an optimal image adaptation of content 206 that has been modeled with respect to visual attention, wherein the optimal image adaptation is a function of resource constraints of a target client device, are now described using integer programming and a branch-and-bound algorithm.

Information Fidelity

Information fidelity is the perceptual ‘look and feel’ of a modified or adapted version of content (or image), a subjective comparison with the original content 206 (or image 210). The value of information fidelity is between 0 (lowest, all information lost) and 1 (highest, all information kept just as original). Information fidelity gives a quantitative evaluation of content adaptation that the optimal solution is to maximize the information fidelity of adapted content under different client context constraints. The information fidelity of an individual AO 212 after adaptation is decided by various parameters such as spatial region size, color depth, ratio of compression quality, etc.

For an image region R consisting of several AOs 212, the resulting information fidelity is the weighted sum of the information fidelity of all AOs in R. Since user's attention on objects always conforms to their importance in delivering information, attention values of different AOs are employed as the informative weights of contributions to the whole perceptual quality. Thus, the information fidelity of an adapted result can be described as IF R = ROI i R AV i · IF AO i ( 6 )

Adapting Images on Small Displays

Given the image attention model, now let us consider how to adapt an image 210 to fit into a small screen which is often the major limitation of mobile devices. For purposes of discussion, such a mobile device or other client device is represented by computing device 130 of FIG. 1 or remote computing device 182, which is also located in FIG. 1. The small screen is represented in this example via display 176 or 190 of FIG. 1. It can be appreciated that when the computing device is a handheld, mobile, or other small footprint device that the display size may be much smaller (e.g., several centimeters in diameter) than a computer monitor screen. We address the problem of making the best use of a target area T to represent images while maintaining their original spatial ratios. Various image adaptation schemes can be applied to obtain different results. For each adapted result, there is a corresponding unique solution which can be presented by a region R in the original image. In other words, an adapted result is generated from the outcome of scaling down its corresponding region R. As screen size is our main focus, we assume the color depth and compression quality does not change in our adaptation scheme.

FIG. 6 shows that image attention objects (AOs) are segmented into regions and respectively adapted to presentation characteristics of a client display target area. For purposes of discussion, the image 600 is one of the images 210-1 through 210-K of FIG. 2, and the AOs 602 represent respective ones of the AOs 212-1 through 212-N of FIG. 2. In this example, image regions include region 604 and region 606. Region 604 encapsulates AOs 602-1 and 602-2 and has a height R1 and width R1. Region 606 encapsulates AOs 602-2 and 602-K and has a height R2 and width R2. For purposes of discussion, regions 604 and 606 are shown as respective rectangles. However, in other implementations a region is not a rectangle but some other geometry.

In this example, region 604 has been adapted to region 608 by the content adaptation module 202 of FIG. 2, and region 606 has been adapted to region 610. In both cases of this example, note that the adapted region is dimensionally smaller in size than its corresponding parent region. However, as a function of the particular characteristics of the image and the target area of the client device, it is possible for an adapted region to be larger than the regions from which it was adapted. In other words, each region of an image is adapted as a function of the specific target area of the client device that is going to be used to present the content and the desired image fidelity, which is expressed as follows:

According to Equation (6), an objective measure for the information fidelity of an adapted image is formulated as follows: IF R = ROI i R AV i · IF AO i = ROI i R AV i · u ( r R 2 · size ( ROI i ) - MPS i ) ( 7 )
where u(x) is defined as u ( x ) = { 1 , if x 0 0 , otherwise .
Functionsize(x) calculates the area of a ROI, and rR denotes the ratio of image scaling down, which is computed as r R = min ( Width T Width R , Height T Height R ) ( 8 )
WidthT, HeightT, WidthR, and HeightR represent the widths and heights of target area T and solution region R, respectively. As shown in FIG. 6, when adapting an image to different target areas, the resulting solution regions may be different.

This quantitative value is used to evaluate all possible adaptation schemes to select the optimal one, that is, the scheme achieving the largest IF value. Taking the advantage of our image attention model, we transform the problem of making adaptation decision into the problem of searching a region within the original image that contains the optimal AO set (i.e. carries the most information fidelity), which is defined as follows: max R { ROI i R AV i · u ( r R 2 · size ( ROI i ) - MPS i ) } ( 9 )

The Image Adaptation Algorithm

For an image 210 (FIG. 2) with width m and height n, the complexity for finding the optimal solution of (9) is O(m2n2) because of the arbitrary location and size of a region. Since m and n may be quite large, the computational cost could be expensive. However, since the information fidelity of adapted region is solely decided by its attention objects 212, we can greatly reduce the computation time by searching the optimal AO set before generating the final solution.

Determining a Valid Attention Object Set

We introduce I as a set of AOs, I⊂{AO1,AO2, . . . AON}. Thus, the first step of optimization is to find the AO set that carries the largest information fidelity after adaptation. Let us consider RI, the tight bounding rectangle containing all the AOs in I. We can first adapt RI to the target area T, and then generate the final result by extending RI to satisfy the requirements.

All of the AOs within a given region R may not be perceptible when scaling down R to fit a target area T. Thus, to reduce the solution space, an attention object set is valid if: MPS i size ( ROI i ) r I 2 , AO i I , ( 10 )
wherein rI(rI is equivalent to rRI in Equation (8) for simplicity) is the ratio of scaling down when adapting the tight bounding rectangle RI to T, which can be computed as follows: r I = min ( Width T Width I , Height T Height I ) = min ( Width T max AO i , AO j I Right i - Left j , Height T max AO i , AO j I Bottom i - Top j ) . ( 11 )
Herein, WidthI and HeightI denote the width and height of RI, while Lefti, Righti, Topi, and Bottomi are the four bounding attributes of the ith attention object.

rI in equation 10 is used to check scaling ratio, which should be greater than √{square root over (MPSi/size(ROIi))} for any AOi belonging to a valid I. This ensures that all AO included in I is perceptible after scaled down by a ratio rl. For any two AO sets I1 and I2, there has rI1≧rI2, if I1⊂I2. Thus, it is straightforward to infer the following property of validity from equation 10. If I1⊂I2 and I1 is invalid, then I2 is invalid (property 1).

With the definition of valid attention object set, the problem of Equation (9) is further simplified as follows: max I ( IF I ) = max I ( AO i I AV i · u ( r I 2 · size ( ROI i ) - MPS i ) ) = max I ( AO i I AV i ) valid I { AO 1 , AO 2 , AO N } ( 12 )
As can be seen, this has become an integer programming problem and the optimal solution is found via use of a branch and bound algorithm.

Branch and Bound Process

FIG. 7 shows a binary tree 700 to illustrate a branch and bound process to identify an optimal image adaptation solution. Each level 0-2 of the binary tree includes different sets of AOs 212-1 through 212-N. Each node of the binary tree denotes zero or more specific sets of AOs. Each bifurcation of the binary tree represents a decision/opportunity to keep or drop AO(s) of the next level. The height of the binary tree corresponds to K, the number of AOs inside the particular image (i.e., one of the images 210-1 through 210-K of FIG. 2). Each leaf node in this tree corresponds a different possible I.

For each node in the binary AO tree 700, there is a boundary on the possible IF value it can achieve among all of its sub-trees. The lower boundary is just the IF value currently achieved when none of the unchecked AOs can be added (i.e., the sum of IF values of AOs included in current configuration). The upper boundary is the addition of all IF values of those unchecked AOs after current level (i.e., the sum of IF values of all AOs in the image except those dropped before current level).

Whenever the upper bound of a node is smaller than the best IF value currently achieved, the whole sub-tree of that node is truncated. At the same time, for each node we check the ratio rI of its corresponding AO set I to verify its validity. If it is invalid, according to property 1, the whole sub-tree of that node is also truncated. By checking both the bound on possible IF value and the validity of each AO set, the computation cost is greatly reduced.

A number of techniques can be used to reduce binary tree 700 traversal time. For instance, arranging the AOs are arranged in decreasing order of their AVs at the beginning of search will decrease traversal times, since in most cases only a few AOs contribute the majority of IF value. Additionally, when moving to a new level k, it is determined whether AOk is already included in current configuration. If so, travel the branch of keeping AOk and prune the one of dropping AOk and all sub-branches.

Transform to Adapted Solution

After finding the optimal AO set IOPT, the content adaptation module 202 of FIG. 2 generates different possible solutions according to different requirements by extending RIopt while keeping Iopt valid. For instance, if an image 210-1 through 210-K has some background information which is not included in the attention model 208, the adapted result may present a region as large as possible by extending RIopt.The scaling ratio of final solution region is r I opt max = max AO i I opt ( MPS i / size ( ROI i ) ) to keep I opt valid as well as
to obtain the largest area. Therefore, RIopt is extended to a region determined by rIoptmax and T, within the original image.

In other cases, the adapted images 220 may be more satisfactory with higher resolution than larger area. To this end,
RIopt
is extended, while keeping the scaling ratio at
rIopt instead of rIoptmax.
However, it is worth noticing that in this situation, the scaled version of whole image will perhaps never appear in adapted results.

Sometimes a better view of an image 210, or portions thereof, can be achieved when a display screen is rotated by ninety (90) degree. In such a case, I′opt carries more information than Iopt. In this case, we compare the result with the one for the rotated target area, and then select the better one as the final solution.

The complexity of this algorithm is exponential with the number of attention objects 212 within an image 210. However, the described techniques are efficiently performed because the number of attention objects in an image is often less than a few dozen and the corresponding attention values 214 are always distributed quite unevenly among attention objects.

An Exemplary Procedure

FIG. 8 shows an exemplary procedure 800 for enhanced image adaptation in view of client resource constraints. For purposes of discussion, the operations of this procedure are described in reference to the program module and data components of FIGS. 1 and 2. At block 802, the content adaptation module 202 (FIG. 2) models an image 210 modeled with respect to multiple visual attentions (e.g., saliency, face, text, etc.) to generate respective attention objects (AOs) 212 for each of the visual attentions. At block 804, for each of one or more possible image adaptation schemes (e.g., resolution reduction, compression, etc.), the content adaptation module determines an objective measure of information fidelity (IF) for a region R of the image. The objective measures are determined as a function of a resource constraint of the display device (e.g., displays 172 or 190 of FIG. 1) and as a function of a weighted sum of IF of each AO in the region R. (Such objective measures and weighted sums are represented as respective portions of “other data” 222 of FIG. 2). At block 806, the content adaptation module selects a substantially optimal image adaptation scheme as a function of the calculated objective measures. At block 808, the content adaptation module adapts the image via the selected substantially optimal adaptation scheme to generate an adapted image 220 (FIG. 2) as a function of at least the target area of the client display.

Conclusion

The described systems and methods use attention modeling and other objective criteria for enhanced image adaptation in view of client resource constraints. Although the systems and methods have been described in language specific to structural features and methodological operations, the subject matter as defined in the appended claims are not necessarily limited to the specific features or operations described. Rather, the specific features and operations are disclosed as exemplary forms of implementing the claimed subject matter.

Claims

1. A method for enhanced image adaptation for a display device having a target area T, the method comprising:

modeling an image with respect to a plurality of visual attentions to generate a respective set of attention objects for each attention of the visual attentions;
for each of one or more image adaptation schemes, determining a respective objective measure of information fidelity (IF) of a region R of the image as a function of a resource constraint of the display device and as a function of a weighted sum of IF of each attention object (AOi) in the region R;
selecting a substantially optimal adaptation scheme as a function of determined objective measures of IF with respect to the region R; and
adapting the image via the substantially optimal adaptation scheme to generate an adapted image as a function of at least the target area T.

2. A method as recited in claim 0, wherein the multiple visual attentions are based on saliency, face, and text attention models.

3. A method as recited in claim 0, wherein each objective measure is unique as compared to each other objective measure(s).

4. A method as recited in claim 0, wherein resource constraint comprises one or more of spatial region size (T), color depth, and/or ratio of compression.

5. A method as recited in claim 0, wherein the image is contained in composite content comprising other images, and wherein modeling the image further comprises determining a context of the image as compared to respective context(s) of the other images to assist in determining attention object attributes of the image.

6. A method as recited in claim 0, and wherein the method further comprises:

assigning a respective attention value to each attention object, the attention value indicating a relative importance of image information represented by the attention object as compared to other ones of the attention objects;
indicating a respective weight for each of the visual attentions; and
for each visual attention, adjusting assigned attention values of corresponding attention objects based on corresponding visual attention weight.

7. A method as recited in claim 0, wherein adjusting assigned attention values further comprises:

normalizing the assigned attention values to (0, 1); and
computing adjusted attention values as follows:
AVi=wk· AVik,
wherein AVi is an adjusted attention value for attention object i derived from visual attention model k, wk is the weight of the visual attention model k, and AVik is a normalized attention value of attention object AOi detected in the visual attention model k.

8. (canceled)

9. A method as recited in claim 0, wherein selecting the substantially optimal adaptation scheme further comprises searching a region of the image for an attention object set that represents higher IF after adaptation as compared to collective IF values of other attention object sets after adaptation.

10. A method as recited in claim 0, wherein selecting the substantially optimal adaptation scheme further comprises calculating the substantially optimal adaptation scheme via integer programming and use of a branch and bound algorithm.

11. (canceled)

12. A method as recited in claim 0, wherein adapting the image via the substantially optimal adaptation scheme to generate an adapted image further comprises iteratively scaling the region R to a region r comprising a determined set of optimal attention objects (Iopt) by extending and/or contracting the region while keeping Iopt valid.

13. (canceled)

14. A method as recited in claim 0, wherein adapting the image further comprises scaling the region R comprising a determined set of optimal attention objects (Iopt) such that Iopt remains valid and such that the region R is scaled to a highest resolution to fit within target area T.

15-16. (canceled)

17. A computer-readable medium comprising computer-executable instructions for enhanced image adaptation for a display device having a target area T, the computer-executable instructions comprising instructions for:

modeling an image with respect to a plurality of visual attentions to generate a respective set of attention objects for each attention of the visual attentions;
for each of one or more image adaptation schemes, determining a respective objective measure of information fidelity (IF) of a region R of the image as a function of a resource constraint of the display device and as a function of a weighted sum of IF of each attention object (AOi) in the region R;
selecting a substantially optimal adaptation scheme as a function of determined objective measures of IF with respect to the region R; and
adapting the image via the substantially optimal adaptation scheme to generate an adapted image as a function of at least the target area T.

18. A computer-readable medium as recited in claim 0, wherein the multiple visual attentions are based on saliency, face, and text attention models.

19. A computer-readable medium as recited in claim 0, wherein each objective measure is unique as compared to each other objective measure(s).

20. A computer-readable medium as recited in claim 0, wherein resource constraint comprises one or more of spatial region size (T), color depth, and/or ratio of compression.

21. A computer-readable medium as recited in claim 0, wherein the image is contained in composite content comprising other images, and wherein the instructions for modeling the image further comprises determining a context of the image as compared to respective context(s) of the other images to assist in determining attention object attributes of the image.

22-32. (canceled)

33. A computing device for enhanced image adaptation for a display device having a target area T, the computing device comprising:

a processor; and
a memory coupled to the processor, the memory comprising computer-program executable instructions executable by the processor for: modeling an image with respect to a plurality of visual attentions to generate a respective set of attention objects for each attention of the visual attentions; for each of one or more image adaptation schemes, determining a respective objective measure of information fidelity (IF) of a region R of the image as a function of a resource constraint of the display device and as a function of a weighted sum of IF of each attention object (AOi ) in the region R; selecting a substantially optimal adaptation scheme as a function of determined objective measures of IF with respect to the region R; and adapting the image via the substantially optimal adaptation scheme to generate an adapted image as a function of at least the target area T.

34. A computing device as recited in claim 0, wherein the multiple visual attentions are based on saliency, face, and text attention models.

35. A computing device as recited in claim 0, wherein each objective measure is unique as compared to each other objective measure(s).

36. A computing device as recited in claim 0, wherein resource constraint comprises one or more of spatial region size (T), color depth, and/or ratio of compression.

37-49. (canceled)

Patent History
Publication number: 20070286484
Type: Application
Filed: Aug 20, 2007
Publication Date: Dec 13, 2007
Applicant: Microsoft Corporation (Redmond, WA)
Inventors: Xing Xie (Beijing), Wei-Ying Ma (Beijing), Hong-Jiang Zhang (Beijing), Liqun Chen (Jiangxi), Xin Fan (Hefei)
Application Number: 11/841,080
Classifications
Current U.S. Class: 382/173.000; 382/293.000
International Classification: G06K 9/34 (20060101);