Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
IMAGE PRIORITIZATION IN A COLLAGE SHAPE
Document Type and Number:
WIPO Patent Application WO/2013/130071
Kind Code:
A1
Abstract:
Embodiments disclosed herein relate to image prioritization in a collage shape. In one embodiment, image positions are determined within a collage shape based on an importance level map of the collage shape and priorities of the images to be positioned within the collage shape. A collage may be created with the collage images in the determined positions.

Inventors:
TANG HAO (US)
TRETTER DANIEL R (US)
Application Number:
PCT/US2012/027120
Publication Date:
September 06, 2013
Filing Date:
February 29, 2012
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
HEWLETT PACKARD DEVELOPMENT CO (US)
TANG HAO (US)
TRETTER DANIEL R (US)
International Classes:
G06T11/00; G06F9/44
Foreign References:
US20100164986A12010-07-01
US7529429B22009-05-05
US7532771B22009-05-12
US7576755B22009-08-18
Attorney, Agent or Firm:
BURROWS, Sarah E. et al. (3404 E. Harmony Rd.Mail Stop 3, Fort Collins Colorado, US)
Download PDF:
Claims:
CLAIMS

1. A method, comprising:

identifying, by a processor, a region of interest within an image and assigns a priority to the region of interest

determining, by a processor, a position of the image within a collage shape based on the visibility of the region of interest, region of interest priority, and an importance level map of a collage shape

placing, by a processor, the image in the collage shape in the determined position.

2. The method of claim 1 , further comprising determining the importance level ma based on the distance of areas of the collag shape from the edge of the collage shape.

3. The method of claim 1 , wherein two regions of interest are determined within the image and a different priority is associated with each of the two regions,

4. The method of claim 1 , further comprising determining a size of the image based on a priority of the image.

5. The method of ciatm 1 , further comprising adding pixels adjacent to the image in an area between the image and an adjacent image.

8, The method of claim 1, wherein determining the position of the image comprises determining at least one of the size, location, depth, or orientation of the image.

7. An, pparatus, comprising:

a storage to store:

collage images;

priority scores associated with the images; and

an importance level map associated with areas of a collage shape; and

a processor to create a collage of the collage images in the collage shape based on the priority scores of the images and the importance level map.

8, The apparatus of claim 7, wherein creating a collage comprises: determining the sizes of the images based on the priority scores; and creating the collage with the determined sizes of the images,

9. The apparatus of claim 7, where the processor further:

determines regions of interest in the images;

determines a priority associated with th regions of interest based on the content of the region of interest and the priority of the image: and

wherein creating the collag comprises creating the collage further based on the priorities of the regions of interests within the images.

10. The apparatus of claim 9, wherein two regions of interest may be determined for an image and wherein different priorities may be determined for the two regions of interest.

11. The apparatus of claim 7, wherein creating a collage of the images in the collage shape comprises cropping images on the edge of the collage to form the collage shape,

12. A machine- eadable non-transitory storage medium comprising instructions

executable by a processor to:

determine an importance level map of a collage shape;

determine regions of interest within a set of collage images and priorities associated with the regions of interest;

determine candidate collages of the images for the collage shape;

determine candidate collage scores associated with the candidate collages based on an informaiiveness parameter and a coverage parameter,

wherein the informativeness parameter is based on at least one of priorities associated with visible regions of interest in the candidate collage and the position of the visible regions of interest within the importance level map, and

wherein the coverage parameter is based on the amount of the collage shape covered by the images;

select one of the candidate collages based on the candidate collage scores; and

create a collage i the collage shape based on the selected candidate collage.

13. The machine-readable storage medium of claim 12, instructions to determine candidate collages comprise instructions to determine the size of the images within the candidate coileges based on the priorities of the regions of interest.

14. The machine-readable storage medium of claim 12, wherein instructions to

determine the priorities of the regions of interest comprise instructions to determine the priorities of the regions of interests based on priority weights of th images associated with the regions of interest.

15. The machine-readable storage medium of claim 12, wherein instructions to

determine a priorit map of a collage shape comprise instructions to determine a priority map where areas of the coitage shape further from the edge of the collage shape are given a higher priority.

Description:
Image Prioritization srt a Cotiage Shape BACKGROUND

[0001 Compilations and designs may be created from a set of images. For example, a collage may be automatically created from a set of images selected from a user. The collage may allow mor images t be viewable in a smaller space, A user may create a collage to be placed in a book of photographs, a greeting card, or a poster.

BRIEF DESCRIPTION OF THE DRAWINGS

[0002] The drawings describe example embodiments. Th following detailed description references the drawings, wherein:

[0003] Figure 1 is a block diagram illustrating one example of an apparatus

[0004] Figure 2 is a flow chart illustrating one example of placing an image within a collage shape based on an importance level map of the collage shape.

[0005] Figure 3 is a diagram illustrating one example of a coliage shape importance level map.

[0006] Figure 4A is a diagram illustrating one example of determining a candidate collage score.

[0007] Figure 4B is a diagram illustrating candidate collage informativeness and coverage scores,

DE AiLEO DESCRIPTION

[0008] A collage may be created from a group of images to combine them in a overlapping aesthetically pleasing manner. A collage may created i a manner that automatically prioritizes collage images and positions within th coliage shape to increase the likelihood that more important images and more interesting portions of images appear more prominently to a viewer. For example, a collage may be created to appear in the shape of a collage template, such as a circular, rectangular, or diamond shaped collage template, and an importance level map may be associated with the collage template that indicates areas of the collage template shape likely to appear more prominent to a viewer, images may be assigned a priority by a user, or a processor may automatically determine a priorit for an image or an area of an image. The images may be placed within the collage shape in a manner that places images with higher priorities in more prominent areas of the collage shape.

[0009] Figure 1 is a block diagram illustrating one example of an apparatus 100. The apparatus 100 may create a collage of images in a shape template such that the images are arranged within the shape based on a priority associated with the images. For example, the apparatus 100 may determine an importance level map of the shape template indicating areas of the shape likely to appear more prominent, and the apparatus may place highe priority images or regions of images in areas of the shape determined to be likely to appear more prominent,

[0010] The apparatus 100 may include a processor 101 and a machine-readable storage medium 102. The processor 101 may be any suitable processor, such as a central processing unit (CPU), a semiconductor-based microprocessor, or any other device suitable for retrieval and execution of instructions, tn one embodiment, the apparatus 100 includes logic instead of or in addition to the processor 101. As an alternative or in addition to fetching, decoding, and executing instructions, the processo 101 may include one or more integrated circuits (SCs) or other electronic circuits that comprise a plurality of electronic components for performing the functionalit described below. In one implementation, the apparatus 100 includes multiple processors. For example, one processor may perform some functionality and another processor may perform other functionality.

[001 1] The machine-readable storage medium 102 may be any suitable machine readable medium, such as an electronic, magnetic, optical, or other physical storage device that stores executable instructions or other data (e.g,, a hard disk drive, random access memory, flash memory, etc.). The machine-readable storage medium 102 may be, fo example, a computer readable non-transitory medium.

[0012] The machine-readable storage medium 102 may store collage images 105, coliage image priority scores 106, and coliage shape importance level ma 107. The machine-readable storage medium 10 may include instructions 104 executable by the processor 101 to create a collage from the collage images 105. The instructions 104, collage images 105, collage image priority scores 108, and collage shape importance level map 107 may be stored i the same storage or in separate storages, such as storages accessible to the processor 101 via a network,

[0013] The collage images 105 may be any suitable images for creating a collage, such as photographs or artistic images. A collage may be created from the collage images 105 or a portion of the coliage images 105. In some cases, a user may upload the collage images 105 or mark already uploaded images 105 that the user selects for the collage.

[0014] The coliage Image priority scores 106 may include scores indicating a relative priority between the images. The collage image priorit scores 106 may be provided by a user. For example, a user may select collage images and indicate which of the selected images have a higher priority to be more visible in the collage. In some cases, the image priority scores may be automatically determined. For example, the processor 101 or a separate processor may analyze the collage images 105 to determine regions of interest within the collage images 105 and prioritize the regions of interest relative to one another. An image may have multiple regions of interest where the regions of interest have different priority levels. For example, an image may include a person and a background, and the face may have a first priority level, the body may have a second priority level, and the background may have a third priority level. In some cases, the collage image priority scores 106 include a priority determined based o both user input about the priorit of an image as a whole and automatically determined priority information about regions of interests within the images.

[0015] The collage shape importanc level map 107 may include information indicating levels of priority within a collage shape. For example, a collage template may be in the shape of a circle, and the center of the circle may have a higher priority level than the outer portions of the circle. The collage shape importance level map 1 7 may be stored as coordinates of the collage shape associated with priority levels. The collage shape importance level map 07 may be stored, for example, as a table of location coordinates wher the coordinates are associated with priority levels. The processor 101 may create the collage shape importance level map 1G7, or it may be created by a separate processor. In some cases, a user may indicate important areas of a collage shape template,

[0016] The instructions 104 may include instructions executable by the processor 101 to create a collage of the collage images 105 within a collage shape using the collage image priority scores 106 and the collage shape importance level map 107. For example, the instructions 104 may include instructions for determining the location, scale, and orientation of the collage images within the collage. Th scale of the collag images may be determined based on the priority of the images. For example, a higher priority image may have a larger scale so that the items in the image appear larger. The size of a higher priority image may also be larger. The orientation may be adjusted so that higher priority images are more vertical. The location of the images may be based on the collage shape importance level map 107 such that higher priority images and images with higher priority regions of interest appear at more important areas of the collage shape. The collage images 105 may be positioned such that higher priority images and regions of interest are more visible and not as hidden by overlapping adjacent images.

[0017] The instructions 104 may include instructions for creating the collage in any suitable manner. The instructions 104 may include instructions for creating candidate collages and comparing parameters of the candidate collages to select on of the candidates for the actuai collage. For example, the amount of tie collage shape covered by the images and the priority and placement of the visible portions of the images may be compared between the candidate collages.

[0018] Figure 2 is a flow chart 200 illustrating one example of placing an image within a collage shape based on an importance level map of the collage shape. An image may be placed in the collage based on the priority of a region of interest in the image and an importance level map of the shape template of the collage. For example, images may be arranged on the collage shape such that higher priority images or images with regions of higher priority are positioned in more important areas of the collage shape, such a areas of the collage shape likely to appear more prominent. The method may be implemented, for example, by the processor 101 of Figure 1

[0013] Beginning at 201 , a processor identifies a region of interest within an image and assigns a priority to the region of interest. A region of interest may be a region of the image that is determined to be of greater ' interest than other regions of the image. The regions of interests may be used to determine which portions of images to be visible in a collage such that they are not covered by overlapping adjacent images. The region of interest may be based on the content of the image. For example, a fac in a photograph ma be found to be a region of interest, and a background portion ma not be found to be a region of Interest.

[0020] A relative priority may be assigned to the region of interest. For example, a saiiency map of the image may be analyzed by a processor to identify regions of interest and assign priorities to them. The saiiency map may show the differences between pixels in the image such that areas of greater contrast or particular types of contrast may be given a greater priority, in some implementations, a user may provide information to be used to calculate the priority level of images and regions of interest, such as by selecting a person to indicate that images of that person should be of higher priority. The priority may in some cases be based on a priority of the image as a whole. For example, a use may provide a priority level for the image, such as marking the image as the one the user prefers, or a priority may be assigned to an image based on its content. For example, images of a particular subject may be assigned a higher priority. In some implementations, a region of interest in the image may be assigned the priority of the image as a whole, or the priority of the image may be factored into the priority of the region of interest.

[0021] In one implementation, a image may have multiple regions of interest. For example, an image may have two people where the face of each of the people is identified as a region of interest The priority of the regions of interest in an image may differ. For example, the eyes of a person may have a first priority level the torso may have a second priority level, and the background may have a third priorit level.

[0022] Proceeding to 202, a processor determines a position of the image within a collage shape based on the visibility of the region of interest, region of interest priority, and an importance level map of the collage shape. Fo example, the processor may determine a collage position for the image such that image is placed within the collage shape based on the priority of the image. Positioning the image may involve determining the size, scale, orientation, depth, and location of the image in the collage. The collage shape may be automatically selected or selected by a user. In some cases, a user may provide a custom collage shape for the collage.

[0023] The location of the image may be determined based on an importance level map of the collage shape. The processor may determine an importance level map for the collage shape, may receive it from user input, or may retrieve it from a storage. For example, a processor may analyze a collage shape template to determine priority levels for different areas of the shape. In som implementations, the priority levels may be determined based on the distance from the edge. For example, the center of the shape may be assigned a higher priorit tha areas close to the edge of the shape. The priority may be based on the context of the shape. For example, in a shape of a person, a face may be highe priorit than the body. A user may indicate areas of the shape of greater priority, For example, a collage shape may be in the shape of a basketball player dribbling a basketball, and a user may indicate that the high priority areas are the basketball and the player's face.

[0024] Figure 3 is a diagram illustrating one example of a collage shape importance level map. The star collage shape has high priority region 300, medium priority region 301 and low priority region 302. The priority regions are based on the distance from the edge of the collage shape such thai areas farther from me edge of the collag shape have a higher priority.

[0025] The region of interest within the image may be considered in determining a position for the image. For example, the image may be placed in the collage such that the region of interest is visible, but other portions of the image may be covered by other images. A region of interest may not be visible because It appears to be covered by another image, such as because it is cropped to be a particular shape within the collage to allow for room for other images. The positio of the image may be based on the priority of the region of interest. For example, the image may be placed in the collage such that a first region of interest in the image with a lower priority is not visible but a second region of interest with a higher priority is visible. An image or region of interest of higher priority may be positioned such that it is at a Sower depth within the collage than an image or region of interest of lower priority.

[0026] The location of the image within the collage shape may be determined based on the priority of the region of interest. For example, a region of interest with a greater priority may be placed within the location in an area of the collage shape determined to be more prominent based on the importance level map associated with the collage shape. An image may have multiple regions of interest with different priorities, and the image may be placed within the collage shape such that the portion of the image with a higher priority is positioned in a more important area of the collage shape and the portion of the image with a lower priority is positioned in a less important area of the collage shape.

[0027] The orientation of the image may be determined based on the priority of the region of interest. For example, the image may be positioned to be more vertical or to be positioned at an angle in the collage according to the priority. A higher priority region of interest may be oriented so that it appears more prominent or recognizable.

[0028] Positionin the image may include determining the amount of space to be used by the image, For example, the scale of the image may determine how large the image may be and how much space it will take on the collage shape. In one implementation, the scale of the Image is based on the priority of the image. For example, a user may indicate that a particular image has a higher priority, and it may be sized to be larger than images of lower priorities. In one implementation, the size of the image is based on the priorities of the regions of interest in the image. For example, an image including regions of interest with higher priorities may be larger than an image with regions of Interest with lower priorities. In some cases, the scale of the image may be determined b the priority, and the size of the Image is unchanged based on the priority, such that fewer areas of the image are visible.

[0029] The position of the image may be based on the position of other images in the collage. For example, th position may be based on the depth of the image if placed at a particular location within the collage. The location may be determined based on the other images that would overlap the image being placed or the images that the image being placed would overlap. The position may be based on the remaining amount of blank space in the collage and the location of the unused space.

[0030] Moving to 203 of Figure 2, a processor places the image in the collage shape in the determined position. For example, the image may be p!aced according to the determined location, orientation, scale, size, and depth.

[0031] In one implementation, the processor continues the process and places a second image in the collage shape starting with step 201. The processor may place the images In the collage shape in any suitable order, in some cases, the processor may place the images in the collage based on a priority associated with the images. For example, an image with a higher priority or a region of interest with a higher priority may be placed in the collage before an image of lower priority. In one implementation, the images are sized based on priority, and the images are then placed in the collage shape in order of size.

[0032] i one implementation, multiple candidate coilages are created. For example, collage images may be placed in multiple coilages such that the images may be placed differently in the different candidate collages, and the candidate collages may be compared to select one of the candidate coilages for the final collage. A score may be provided to the candidate collage, and the scores may be compared to determine which candidate collage to select.

[0033] Figure 4A is a diagram illustrating one example of determining a candidate collage score. The candidate collage score 404 may involve an Informativeness parameter 402 and a coverage parameter 403 of the candidate collage. Images may be placed in the candidate collages in a manner that balances the collage informativeness and coverage of the candidate collage. Informativeness ma involve having regions of interest, particularly high priority regions of interest, visible in the collage such that they are not covered by other images, and coverage rrsay involve covering more of the collage shape suc that less of It is covered with a background or other filler.

[0034] The informativeness parameter 402 may be based on the regions of interests priorities 400 and the collage shape importance map 401. The informativeness parameter 402 may involve a computation of the regions of interest that are visible, such as where regions of interest are not hidden by overlapping images. For example, a collage with more regions of interest visible may receive a higher score than a candidate collage with fewe regions of interest visible. The priorit of the regions of interest may be taken into account. For example, a candidate collage with higher priorit regions of interest visible may receive a higher score than a candidate collage with fewer of the higher priority regions of interest visible to a viewer. The score may be based on a weighted value of regions of interest that are visible where the weight is based on the priority. The informativeness parameter 402 may be based on th position of the images within the collage shape. For example, a candidate collage that includes more important regions of interest or more important images in areas of the collage shape that are given a higher priority on the collage shape importance map may receive a higher score. The informativeness parameter 402 may take into account image orientation, scale, size, location, and depth In relation to the priority of the image and regions of interest within the image

[0035] The coverage parameter 403 may be based on the amount of the coilage shape covered by images. For example, one collage candidate may include additional space for filler than another candidate collage. The candidate collage that fills more of the collage shape space with images may receive a higher coverage score,

[0036] Figure 48 is a diagram illustrating candidate collage ' informativeness and coverage scores. Block 405 shows values for the informativeness and coverage parameters for three candidate collages. Candidate coilage 1 has a higher informativeness parameter and a Sower coverage parameter, candidate collage 2 has a higher coverage parameter and a lower informativeness parameter, and candidate collage 3 has a coverage parameter and informativeness parameter both at 8. A candidate collage may be selected in any suitable manner, in some cases, the candidate coilage with the maximum total coverage and informativeness may be selected, in some cases, a candidate co!iage with greatest balance between the coverage and informativeness may b selected. For example, candidate collage 3 may be selected because neither the coverag or informativness is sacrificed to the degree as in candidate collages 1 and 2. In some cases, the informativeness or coverage parameter score may be given a greater weight than the other when selecting a candidate collage.

[0037] The collage may be finalized after the collage images are placed within the collage shape. For example, the collage images falling outside of the coilage shape may be altered. In one implementation, the coilage is cropped to form the collage shape. For example, images on the edge of the coilage shape may be cropped. In some cases, an image may not reach to the edge of the coilage shape in some areas, and a border or other background may be added to that area to provide filler for the portions of the coilage shape not covered by collage Images. In one implementation, pixels are added to create a blended transition between Images where there is space betwee images In the collage. In some implementations, blended transitions are added between images where adjacent images touch one another.

[0038] The finalized collage may be output. For example, it may be displayed, stored, or transmitted. In some implementations, the finalized collage may be printed for a user or transmitted to a user's electronic device. The finalized collage may be part of another design, such as where the collage Is a portion of a greeting card or other product.