CN105786305A - Image processing equipment and image layout method - Google Patents

Image processing equipment and image layout method Download PDF

Info

Publication number
CN105786305A
CN105786305A CN201410819984.6A CN201410819984A CN105786305A CN 105786305 A CN105786305 A CN 105786305A CN 201410819984 A CN201410819984 A CN 201410819984A CN 105786305 A CN105786305 A CN 105786305A
Authority
CN
China
Prior art keywords
frames images
template
image
images
frames
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410819984.6A
Other languages
Chinese (zh)
Inventor
史少鹏
乔智勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to CN201410819984.6A priority Critical patent/CN105786305A/en
Publication of CN105786305A publication Critical patent/CN105786305A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention relates to an image layout method for laying out images into image boxes of a template and image processing equipment. The image layout method comprises the steps of acquiring a plurality of images in a certain sequence; acquiring the image comprising a plurality of image boxes for laying out the plurality of images; calculating the priority of each image box based on the attributes of the plurality of image boxes and the attributes of the template; and laying out the plurality of images into the plurality of image boxes in sequence based on the priorities of the plurality of image boxes.

Description

Image processing equipment and image layout method
Technical field
It relates to a kind of image layout is to the image layout method in the frames images of masterplate and image processing equipment.
Background technology
In recent years, digital camera is widely used in shooting image.Captured great amount of images can be stored on storage card or dish and watch on the display device.Manually photo is arranged in every one page of photograph album and is usually a plodding process, and take a long time.Use masterplate arrange photo enable to create photograph album process simpler, but this process need nonetheless remain for manual operation.Someone adopts automated process to utilize masterplate to arrange photo at present.The priority of frames images is the key factor creating photograph album.
In a kind of prior art, disclose a kind of image layout apparatus, image layout method and storage medium.In the prior art, by the user preference of photo is mated with the priority of picture placeholder, photo is arranged into the picture placeholder place specifying masterplate.The prior art does not openly calculate the method for the priority of frames images, and simply the attribute (such as, frames images size) that refer to based on each frames images determines the priority of frames images.
In the conventional method, by user either manually or by only considering that an attribute (frames images size) of frames images arranges the priority of frames images.But, inventors noted that except frames images size, in masterplate, the captivation of regional is also different for user.It is to say, user trends towards more paying close attention to a specific region in masterplate.Therefore, the priority result based on frames images size is inadequate, utilizes multiple attribute more reasonable to the priority calculating frames images.
Summary of the invention
One of purpose of the application is to solve at least one in problem mentioned above.
According to embodiments herein, it is provided that a kind of image layout method, including: obtain multiple images with a graded;Obtaining template, described template includes the multiple frames images for arranging the plurality of image;Preferred value based on the attribute of the plurality of frames images and each frames images of property calculation of described template;And the preferred value based on the plurality of frames images is sequentially arranged the plurality of image in the plurality of frames images.
In another embodiment of the application, the method can also comprise steps of determining that the attribute of the plurality of frames images for calculating described preferred value and the attribute of described template.
In another embodiment of the application, the attribute of template may include that at least one in the size of template, the shape of template, the background of template, the layout types of template and the theme of template.The attribute of frames images may include that at least one in the size of frames images, the shape of frames images and the position of frames images.
Furthermore, it is possible to determine the layout types of template based on the position of the plurality of frames images.The layout types of described template can be determined based on the columns of the line number of the plurality of frames images and the plurality of frames images.In one example, it is possible to obtain described line number by the projection in vertical direction of the plurality of frames images is carried out counting, it is possible to obtain described columns by the projection in the horizontal direction of the plurality of frames images is carried out counting.
In another embodiment of the application, above-mentioned calculation procedure may include that the layout types according to described template is divided into multiple region template;Weight is distributed for each region;Calculate each frames images area in each area;And by the product of each frames images corresponding area in each region with weight is added up, calculate the preferred value of each frames images.
In an embodiment of the application, the method can also include: adjusted the preferred value of the plurality of frames images before deposition step.
Additionally, above-mentioned set-up procedure may include that the shape determining each frames images;And increase the preferred value of the frames images of the shape being shaped differently than other frames images.
In another embodiment of the application, may include that the device for obtaining multiple image according to the image processing equipment of the application;For obtaining the device of template, described template includes the multiple frames images for arranging the plurality of image;Device for the preferred value of each frames images of property calculation based on the attribute of the plurality of frames images and described template;And for the preferred value based on the plurality of frames images the device in the plurality of image layout to the plurality of frames images.
In another embodiment of the application, image processing equipment can include processor.Described processor is configured to: obtain multiple image;Obtaining template, described template includes the multiple frames images for arranging the plurality of image;Preferred value based on the attribute of the plurality of frames images and each frames images of property calculation of described template;And based on the preferred value of the plurality of frames images in the plurality of image layout to the plurality of frames images.
In another embodiment of the application, it is provided that a kind of method for generating photograph album, including: according to the image layout method of the application in multiple image layout at least one template;And based at least one template generation photograph album described.
In another embodiment of the application, it is provided that for making computer as the program of following device: for obtaining the device of multiple image;For obtaining the device of template, described template includes the multiple frames images for arranging the plurality of image;Device for the preferred value of each frames images of property calculation based on the attribute of the plurality of frames images and described template;And for the preferred value based on the plurality of frames images the device in the plurality of image layout to the plurality of frames images.
In another embodiment of the application, it is provided that a kind of computer readable recording medium storing program for performing having program recorded thereon, this program makes computer as following device: for obtaining the device of multiple image;For obtaining the device of template, described template includes the multiple frames images for arranging the plurality of image;Device for the preferred value of each frames images of property calculation based on the attribute of the plurality of frames images and described template;And for the preferred value based on the plurality of frames images the device in the plurality of image layout to the plurality of frames images.
According to the present processes and equipment, it is possible to the priority based on each frames images is suitably arranged at image in each frames images of template.In some embodiments of the application, it is possible to adjust preferred value further after the preferred value of each frames images after a computation.So, the image before sequence can be disposed in the frames images that most captivation and being easiest to is noted.
By the description below in conjunction with accompanying drawing, the application further feature and advantage will be clear from.
Accompanying drawing explanation
Fig. 1 is exemplified with the flow chart of the image layout method of an embodiment according to the application.
Fig. 2 A-2C has the masterplate of multiple frames images exemplified with some.
Fig. 3 A-3C is exemplified with the example of the type of arrangement of the masterplate that can be divided into multiple region.
Fig. 4 exemplified with an embodiment according to the application for calculating the method for the preferred value of each frames images in masterplate.
Fig. 5 is exemplified with the method for the type of arrangement determining masterplate based on the line number of frames images in masterplate and columns of an embodiment according to the application.
Fig. 6 A-6B is exemplified with being used for determining the line number of frames images in masterplate and the method for columns.
Fig. 7 is exemplified with being used for calculating the method for the preferred value of each frames images in masterplate.
Fig. 8 is exemplified with the masterplate of an embodiment according to the application.
Fig. 9 is exemplified with another masterplate of an embodiment according to the application.
Figure 10 is exemplified with the masterplate of the first example according to the application.
Figure 11 is exemplified with the masterplate of the second example according to the application.
Figure 12 is exemplified with the masterplate of the third example according to the application.
Figure 13 is exemplified with the masterplate of the fourth example according to the application.
Figure 14 is exemplified with the masterplate of the fifth example according to the application.
Figure 15 is the block diagram of the hardware construction of the computer system 100 illustrating each embodiment that can realize the application.
Figure 16 is the block diagram of the structure of the image processing equipment illustrating an embodiment according to the application.
Figure 17 is the block diagram of the structure illustrating the unit for calculating preferred value according to the application.
Detailed description of the invention
Below, will be described in detail with reference to the accompanying drawings each embodiment according to the application.Noting, in this specification with in the claim paid, the structural detail with essentially identical function adopts identical accompanying drawing labelling to represent with structure, and omits the repetition of explanation of these structural details.
Figure 16 is the block diagram of the structure of the image processing equipment illustrating an embodiment according to the application.
Image processing equipment 1600 in Figure 16 includes the unit 1601 for obtaining image, for obtaining the unit 1602 of masterplate, for calculating the unit 1603 of preferred value, and the unit 1604 for placement of images.
Unit 1601 for obtaining image obtains the image that will be disposed in masterplate.Generally, each image is obtained successively.These images are such as by the rest image of Digital cameras capture, by the moving image of cameras capture or their combination.
Unit 1602 for obtaining masterplate will obtain one or more masterplate.These masterplates are made up of the multiple frames images for placement of images.In one example, acquired image will be arranged in the frames images of masterplate according to suitable mode.
Because masterplate generally includes multiple frames images, multiple images will according to being necessarily arranged sequentially in masterplate.This order is represented by the preferred value calculated by the unit 1603 for calculating preferred value.In an embodiment of the application, calculate the priority value of each frames images based on the attribute of masterplate and the attribute of frames images.The attribute of masterplate can transmit with the attribute of frames images together with masterplate, or can be stored in independent position.Such as, the attribute of masterplate and the attribute of frames images are stored in the data base of remote server, and can obtain based on the ID of masterplate or frames images.Alternatively, it is possible to exist for determining the attribute of masterplate and the attribute of frames images to calculate the unit (not shown) of preferred value.
For the unit 1604 of placement of images by the preferred value based on frames images in acquired image layout to the frames images of masterplate.
Figure 17 is the block diagram of the structure of the unit for calculating preferred value exemplified with an embodiment according to the application.In fig. 17, the unit 1603 for calculating preferred value includes: for splitting the unit 1701 of masterplate, for distributing the unit 1702 of weight, for the unit 1703 of reference area, and for cumulative unit 1704.
Layout types according to masterplate is divided into multiple region (will be described in detail later) masterplate by the unit 1701 for splitting masterplate.
Unit 1702 for distributing weight will distribute weight to each cut zone.For example, it is possible to predefined weight by user and be stored in data base.Below by the distribution of similar description weight.
Unit 1703 for reference area will calculate each frames images area in each area.Generally, some frames images can across multiple regions, thus being become multiple part by these region segmentation.Unit 1703 will calculate the area of each part.The calculation of area described in detail later.
In another embodiment of the application, image processing equipment could be included for adjusting the unit (not shown) of the preferred value of each frames images.Such as, before in image layout to frames images, it is possible to adjust the preferred value of frames images based on the shape of frames images.This image processing equipment could be included for determining the unit of the shape of each frames images, is used for adjusting the unit of the preferred value of the frames images of (increase/reduce) difformity or given shape.
The area of frames images various piece in regional will be added up for cumulative unit 1704, and using the accumulated result preferred value as this frames images.
Below, will be described in the image layout method of the application.
Fig. 1 is exemplified with the flow chart of the image layout method of an embodiment according to the application.
As it is shown in figure 1, obtain multiple image (step 101).These images can be the rest image caught by digital camera or by the moving image of cameras capture.It will be appreciated by those skilled in the art that these images can obtain from locally stored unit or remote server, and can be classified or sort according to a graded.This is known, and therefore this step is no longer described in more detail by the application.
It follows that obtain one or more masterplate (step 102).Each masterplate can include the multiple frames images for placement of images.Generally, a frames images is provided with an image.Additionally, in certain embodiments, two or more images can be arranged in same frames images.Masterplate and frames images all have attribute.Such as, the attribute of masterplate can include following at least one: the theme of the size of masterplate, the shape of masterplate, the background of masterplate, the layout types of masterplate and masterplate.The attribute of frames images can include such as, the position of the size of frames images, the shape of frames images and frames images.
It follows that to calculate preferred value (step 103) for each frames images based on the attribute of frames images and the attribute of masterplate.Will be described in detail later this computing.
Finally, based on the priority of each frames images, acquired image is sequentially arranged in these frames images (step 104).Such as, the image anterior in sequence is arranged in the frames images with high priority, and the image at sequence rear portion is arranged in the frames images with low priority.
Inventors herein have recognized that, user has different attention rates for each frames images in masterplate.The user of viewing masterplate is not only easily subject to the attraction of larger-size frames images.Other attribute of frames images also has important function.Such as, compared to the frames images being in masterplate corner, the frames images near masterplate center is more attractive, and the frames images being shaped differently than other frames images is subjected to the more concern of user.
Fig. 2 A-2C is exemplified with some masterplates with multiple frames images.Table 1 illustrates the size of each frames images and based on the concern from user of the research of the application and discovery.In fig. 2, two frames images F1 and F2 are of the same size.But, frames images F1 is more attractive and receives the more concerns from user.
There are 4 frames images F1-F4 in fig. 2b.Frames images F1 and F2's is equivalently-sized, and frames images F3 and F4's is equivalently-sized, and the size being sized larger than frames images F1 and F2 of frames images F3 and F4.But, frames images F2 is most attractive and is subjected to the maximum concerns from user.Frames images F3 and F4 receives equal concern, but not as good as frames images F2.Frames images F1 receives minimum concern.
There are 5 frames images F1-F5 in fig. 2 c.Frames images F2-F5's is equivalently-sized, frames images F1 be sized larger than in frames images F2-F5 any one.But, frames images F2 and F3 is most captivation and be subjected to the maximum concerns from user.Frames images F4 and F5 accepts equal concern, and this concern is less than frames images F2 and F3.Although frames images F1 has maximum size, but frames images F1 receives minimum concern.
Table 1
Fig. 2 A Fig. 2 B Fig. 2 C
Frames images size F1=F2 F3=F4 > F1=F2 F1 > F2=F3=F4=F5
Receive the concern of user F1>F2 F2 > F3=F4 > F1 F2=F3 > F4=F5 > F1
It is appreciated that as described above, whether one frames images (or the image in this frames images) can be subject to depending not only on the size of frames images from the concern of user (or people of viewing masterplate), and other attribute even attribute of masterplate of frames images be should also be considered.Present inventor notices following rule:
(1) frames images being in masterplate center has more captivation;
(2) there is larger sized frames images and have more captivation;And
(3) if a frames images be shaped differently than other frames images, then this frames images has more captivation.
Some basic rules have been illustrated above.Under teachings of the present application and inspiration, it will be appreciated by those skilled in the art that the captivation for frames images can also have more rule.
Fig. 3 A-3C is exemplified with the example of the layout types of the masterplate that can be divided into multiple region.In figure 3 a, masterplate is divided into 2 × 2 regions and is defined as layout types I.In figure 3b, masterplate is split horizontally into 4 regions and is defined as layout types II.In fig. 3 c, masterplate is split vertically into 4 regions and is defined as layout types III.In all these examples, regional has identical order for the captivation of user, i.e. region A > region B > region C > region D.It is appreciated that the rule of the captivation of regional is similar with the rule of each frames images.Layout types defined above is example, it will be appreciated by those skilled in the art that user can according to any layout types of the attribute definition of masterplate.
What Fig. 4 illustrated an embodiment according to the application calculates the method for the preferred value of each frames images in masterplate.
As shown in Figure 4, first, it is determined that the attribute of frames images and which attribute in the attribute of template will be used to calculate the priority (step 401) of frames images.In this embodiment, the attribute of frames images includes the position of the size of frames images, the shape of frames images and/or frames images.The attribute of template includes the shape and size of template.Such as, these information can be stored together with the data of template.In another embodiment, these information can be stored in local/remote data base and be associated with the ID of template.
It follows that determine the layout types (step 402) of template based on the attribute of frames images and the attribute of template.In this embodiment it is assumed that the shape of template is rectangle and line number and columns based on frames images define three kinds of layout types.These three layout types is identical with the type shown in Fig. 3 A-3C.
Then, based on the layout of the attribute of frames images, the attribute of template and template, calculate preferred value (step 403) for each frames images.This calculating process is described in detail later with reference to Fig. 7.
Finally, based on the preferred value of each computed frames images, each image is sequentially arranged in each frames images of template (step 404).For the method for the preferred value of frames images in calculation template, this step 404 is a step additional, selectable.Therefore, the frame of step 404 is drawn in phantom.
Fig. 5 is exemplified with the method for the layout types determining template based on the line number of frames images in template and columns of an embodiment according to the application.As it is shown in figure 5, obtain line number and the columns (step 501) of frames images based on each frames images position in a template.If line number and columns both are greater than 1 ("Yes" in step 502), then the layout types of template is confirmed as type I (step 503), and namely template can be divided into 2 × 2 regions.If line number and columns both not are greater than 1 ("No" in step 502), it is determined that whether line number is more than 1 (step 504).In step 504, if it is determined that line number is more than 1 ("Yes" in step 504), then the layout types of template is confirmed as Type II (step 505), and namely template can be split horizontally into four regions.Otherwise ("No" in step 504), the layout types of template is confirmed as type-iii (step 506), and namely template can be split vertically into four regions.Based on the method, the layout types of template can be one of type I, Type II and type-iii.It will be appreciated by those skilled in the art that according to teachings of the present application, it is also possible to determine the layout types of template according to other suitable mode, and the layout types of template can comprise more than three types.
Fig. 6 A-6B is exemplified with being used for determining the line number of frames images in template and the method for columns.As shown in Figure 6A, template includes three frames images F1, F2 and F3.In order to determine the line number of frames images, this template is flatly projected.As the result of projection, generate one or more line segment in vertical direction.The line number of frames images is determined based on the number of line segment in vertical direction.In fig. 6, there is the line segment of two projections in vertical direction, thus the line number of frames images is confirmed as 2.Note that the projection of frames images F1 and F2 overlaps each other, therefore single line segment in vertical direction is corresponding to the projection of frames images F1 and F2.Similarly, in order to determine the columns of frames images, template is vertically projected.As the result of this projection, generate one or more line segment in the horizontal direction.The columns of frames images is determined based on the number of the line segment in horizontal direction.In fig. 6, there is the line segment of a projection in the horizontal direction, thus the columns of frames images is confirmed as 1.When projecting in vertical direction, frames images F1, F2 and F3 projection overlap each other, so only one of which line segment in the horizontal direction.Therefore, the layout types of the template shown in Fig. 6 A is confirmed as Type II.
Fig. 6 B is exemplified with the projection of another template.Template in Fig. 6 B also includes three frames images F1, F2 and F3.As shown in Figure 6B, the floor projection of this template produces three line segments in vertical direction.Therefore, the line number of frames images is 3.The upright projection of template only produces a line segment in the horizontal direction.This single line segment is the combination of the line segment of the projection of frames images F1, F2 and F3.In embodiments herein, the columns of frames images is confirmed as 1.Therefore, the layout types of the template shown in Fig. 6 A is confirmed as Type II.
Fig. 7 is exemplified with a kind of method of preferred value for frames images each in calculation template.
First, according to the layout types of template, template is divided into multiple region (step 701).Such as, if the layout types of template is type I, then this template can be divided into four region F1 to F4 as shown in Figure 3A.If the layout types of template is Type II, then template can be divided into four shown in Fig. 3 B region F1 to F4.If the layout types of template is type-iii, then template can be divided into four shown in Fig. 3 C region F1 to F4.
It follows that distribute weight Wi (step 702) to each region.I is integer and the 0 < number in i≤region.As it has been described above, weight Wi can be different for regional, and can based on the captivation in region.For example, it is possible to distribute bigger weight to the region with bigger captivation, distribute less weight to the region with less captivation.The weight in each region can be manually entered by user, or automatically can be defined by processor or controller.
It follows that area Sni (step 703) of the frames images Fn calculated in each region.N is integer and the 0 < number of n≤frames images.When template includes frames images F1 to F3 as shown in Figure 6A, the layout types of template is Type II, and this template is divided into four shown in Fig. 3 B region.As shown in Figure 8, each frames images in template is split by regional.Frames images F1 area in the C of region is S11, frames images F2 area in the C of region is S21, frames images F1 area in region a be S12, frames images F2 area is in region a S22, frames images F3 area in the B of region is S33, the frames images F3 area in the D of region is S34.In an embodiment of the application, calculate each area above-mentioned based on the attribute (such as size and position) of each frames images and the attribute (such as size and position) of template.
In another embodiment of the application, it is possible to store the weight of each frames images area in each area and regional in attribute allocation table.Table 2 illustrates an example of the attribute allocation table of the template in Fig. 8.
Table 2
Region A Region B Region C Region D
The area of F1 S12 0 S11 0
The area of F2 S22 0 S21 0
The area of F3 0 S33 0 S34
Weight W2 W3 W1 W4
The simply storage of attribute allocation table is for the example of the data of next step calculating preferred value.It will be appreciated by those skilled in the art that can also there be many kinds of alternate manners to store data.
It follows that by the product of the area Sni of weight Wi and each frames images Fn is added up, calculate the preferred value Pn of each frames images Fn, namelyStill for the template in Fig. 8, frames images F1 calculated as below, F2 and F3 preferred value.
P1=S11 W1+S12 W2
P2=S21 W1+S22 W2
P3=S33 W3+S34 W4
Based on the preferred value of each frames images, in each image layout to template.
In another embodiment of the application, it is also contemplated that the shape of frames images.As it is shown in figure 9, template has three frames images F1, F2 and F3.Frames images F1 is shaped as rhombus, and frames images F2 and F3 is shaped as rectangle.As it has been described above, when when being shaped differently than other frames images of frames images, generally have more captivation, thus preferably image is initially disposed in this frames images.Therefore, a kind of method that this application provides preferred value adjusting each frames images.
In an embodiment of the application, if the shape being shaped differently than other frames images of a frames images, then increase the preferred value of this frames images.Owing to the layout types of the template in Fig. 9 is also Type II, so the attribute allocation table obtained shown in Fig. 3 is similar with table 2.
Table 3
Table 3 also includes frames images F1, F2 and F3 preferred value in each area.Owing to the shape of frames images F1 is different, so the preferred value that frames images F1 is in A and the C of region is increased.Such as, frames images F1 preferred value (i.e. S12 W2) in region a and frames images F2 preferred value (i.e. S22 W2) in region a.If S12 is W2 >=S22 W2, then and frames images F1 preferred value in region a has been maximum, from without performing this adjustment in region a.But, if S12 is W2, < S22 W2, the then preferred value of crossing-over map frame F1 and F2, namely frames images F1 preferred value in region a will become S22 W2, and the preferred value that frames images F2 is in region a will become S12 W2.Regional for frames images F1 place performs this compare and adjust.In the example of figure 9, frames images F1 preferred value in the C of region also compares with frames images F2 preferred value in the C of region.
Utilizing above-mentioned comparison and adjustment process, the final accumulation result of the preferred value of frames images F1 will increase.It will be appreciated by those skilled in the art that above-mentioned each processes a simply example, it is also possible to adopt many alternate manners to increase the preferred value with difform frames images.For example, it is possible to add predetermined value to the preferred value with difform frames images.This predetermined value can be preset by user or can transmit from remote server.
In the following description, it is provided that some examples are to illustrate the application further.
Example 1
Figure 10 is exemplified with the template of the first example according to the application.As shown in Figure 10, this template includes four frames images F1 to F4.Based on above-mentioned projecting method, it is possible to determining that line number is 3, columns is 1.Therefore, the layout types of this template is Type II, thus this template can be divided into four region A to D as shown in Figure 3 B.Can be as follows based on the property calculation attribute allocation table of the attribute of each frames images and template.
Table 4
Region A Region B Region C Region D
The area of F1 0 0 24 0
The area of F2 24 0 0 0
The area of F3 0 15 0 15
The area of F4 0 15 0 15
Weight 1 0.8 0.5 0.3
According to table 4, it is possible to the preferred value calculating frames images F1 is 12, and the preferred value of frames images F2 is 24, the preferred value of frames images F3 and F4 is all 16.5.Therefore, will first, in image layout to frames images F2, being then arranged in frames images F3 and F4, finally it is arranged in frames images F1.Utilizing this arrangement, the image in frames images F2 is most attractive and is easier to the people by watching template and notices.
Example 2
Figure 11 is exemplified with the template of the second embodiment according to the application.As shown in figure 11, this template includes four template F1 to F4.Based on projecting method described above, it is possible to determining that line number is 2, columns is 2.Therefore, the layout types of this template is type I, thus this template can be divided into four region A to D as shown in Figure 3A.Can be as follows based on the property calculation attribute allocation table of the attribute of each frames images and template.
Table 5
Region A Region B Region C Region D
The area of F1 30 0 0 0
The area of F2 0 30 0 0
The area of F3 0 0 30 0
The area of F4 0 0 0 30
Weight 1 0.8 0.5 0.3
According to table 5, it is possible to the preferred value calculating frames images F1 is 30, and the preferred value of frames images F2 is 24, and the preferred value of frames images F3 is 15, the 9 of the preferred value of frames images F4.Therefore, will first, in image layout to frames images F1, being then arranged in frames images F2 and F3, finally it is arranged in frames images F4.Utilizing this arrangement, the image in frames images F1 is most attractive and is easier to the people by watching template and notices.
Example 3
Figure 12 is exemplified with the template of the 3rd example according to the application.As shown in figure 12, this template includes three frames images F1 to F3.Based on above-mentioned projecting method, it is possible to determining that line number is 3, columns is 1.Therefore, the layout types of this template is Type II, thus this template can be split horizontally into four region A to D as shown in Figure 3 B.Can be as follows based on the property calculation attribute allocation table of the attribute of each frames images and template.
Table 6
Region A Region B Region C Region D
The area of F1 0 0 24 0
The area of F2 24 0 0 0
The area of F3 0 30 0 30
Weight 1 0.8 0.5 0.3
According to table 6, it is possible to the preferred value calculating frames images F1 is 12, and the preferred value of frames images F2 is 24, and the preferred value of frames images F3 is 33.Therefore, will first, in image layout to frames images F3, being then arranged in frames images F2, finally it is arranged in frames images F1.Utilizing this arrangement, the image in frames images F3 is most attractive and is easier to the people by watching template and notices.
Example 4
Figure 13 is exemplified with the template of the 4th example according to the application.As shown in figure 13, this template includes three frames images F1 to F3.Based on above-mentioned projecting method, it is possible to determining that line number is 3, columns is 1.Therefore, the layout types of this template is Type II, thus this template can be split horizontally into four region A to D as shown in Figure 3 B.Can be as follows based on the property calculation attribute allocation table of the attribute of each frames images and template.
Table 7
Region A Region B Region C Region D
The area of F1 15 0 15 0
The area of F2 15 0 15 0
The area of F3 0 30 0 30
Weight 1 0.8 0.5 0.3
According to table 7, it is possible to the preferred value calculating frames images F1 is 22.5, and the preferred value of frames images F2 is 22.5, and the preferred value of frames images F3 is 33.Therefore, will first, in image layout to frames images F3, being then arranged in frames images F1 and F2.Utilizing this arrangement, the image in frames images F3 is most attractive and is easier to the people by watching template and notices.
Example 5
Figure 14 is exemplified with the template of the 5th example according to the application.As shown in figure 14, this template includes two frames images F1 and F2.Based on above-mentioned projecting method, it is possible to determining that line number is 1, columns is 2.Therefore, the layout types of this template is type-iii, thus this template can be split vertically into four region A to D as shown in Figure 3 C.Can be as follows based on the property calculation attribute allocation table of the attribute of each frames images and template.
Table 8
Region A Region B Region C Region D
The area of F1 30 0 30 0
The area of F2 0 30 0 30
Weight 1 0.8 0.5 0.3
According to table 8, it is possible to the preferred value calculating frames images F1 is 45, and the preferred value of frames images F2 is 33.Therefore, will first, in image layout to frames images F1, being then arranged in frames images F2.Utilizing this arrangement, the image in frames images F1 is most attractive and is easier to the people by watching template and notices.
Describe image layout method above in detail.Further, the method can be used to generate photograph album.In a kind of method generating photograph album, each image can be arranged at least one template according to the image layout method of the application, is then based on this template generation photograph album.Such as, when there is multiple template, this photograph album will be the set of these templates.
Figure 15 is the block diagram of the hardware construction of the computer system 1000 of each embodiment illustrating the ability to realize the application.
As shown in figure 15, computer system includes computer 1110.This computer 1110 includes processing unit 1120, system storage 1130, non-removable non-volatile memory interface 1140, removable non-volatile memory interface 1150, user's input interface 1160, network interface 1170, video interface 1190 and output peripheral interface 1195, and they all connect via system bus 1121.
System storage 1130 includes ROM (read only memory) 1131 and RAM (random access memory) 1132.BIOS (basic input output system) 1133 is arranged in ROM1131.Operating system 1134, application program 1135, other program module 1136 and some routine datas 1137 are arranged in RAM1132.
Non-removable nonvolatile memory 1141 (such as hard disk) is connected to non-removable non-volatile memory interface 1140.Such as, non-removable nonvolatile memory 1141 can store operating system 1144, application program 1145, other program module 1146 and some routine datas 1147.
Removable nonvolatile memory (such as floppy disk 1151 and CD-ROM drive 1155) is connected to removable non-volatile memory interface 1150.Such as, diskette 1 152 is inserted into floppy disk 1151, CD (compact disk) 1156 and is inserted into CD-ROM drive 1155.
Input equipment (such as mike 1161 and keyboard 1162) is connected to user's input interface 1160.
Computer 1110 can pass through network interface 1170 and be connected to remote computer 1180.Such as, network interface 1170 can be connected to remote computer 1180 via LAN 1171.Alternatively, network interface 1170 may be coupled to modem (modulator-demodulator) 1172, and this modem 1172 is connected to remote computer 1180 via wide area network 1173.Remote computer 1180 can include the memorizer 1181 (such as hard disk) of storage remote application 1185.
Video interface 1190 is connected to monitor 1191.
Output peripheral interface 1195 is connected to printer 1196 and speaker 1197.
Computer system shown in Figure 15 is merely exemplary and is not intended to limit the application and application thereof.
The computer system of Figure 15 can be applied in any one embodiment as the process system in independent computer or equipment, and is likely to remove one or more unnecessary parts or add one or more additional parts.
The present processes and equipment can realize in many ways.For example, it is possible to perform the present processes and equipment by the mode of software, hardware, firmware or their combination.The sequence of steps of above-mentioned method is merely an illustrative, unless specifically stated otherwise, and the step of the present processes is not limited to said sequence.Additionally, in certain embodiments, the application is also implemented as the program recorded on the recording medium, and this program includes for realizing the machine readable instructions according to the present processes.Therefore, the application is also contemplated by the record medium that stores for realizing the program according to the present processes.
Although utilizing each example to illustrate some specific embodiments of the application, it should be appreciated to those skilled in the art that each example above-mentioned is merely exemplary rather than restriction to the application scope.It will be appreciated by those skilled in the art that when without departing from scope of the present application and spirit, it is possible to amendment above-described embodiment.Scope of the present application is defined by the appended claims.

Claims (22)

1. an image layout method, including:
Obtain multiple images with a graded;
Obtaining template, described template includes the multiple frames images for arranging the plurality of image;
Preferred value based on the attribute of the plurality of frames images and each frames images of property calculation of described template;And
Preferred value based on the plurality of frames images is sequentially arranged the plurality of image in the plurality of frames images.
2. image layout method according to claim 1, also includes:
Determine the attribute of the plurality of frames images for calculating described preferred value and the attribute of described template.
3. image layout method according to claim 1, the attribute of wherein said template includes: at least one in the size of template, the shape of template, the background of template, the layout types of template and the theme of template.
4. image layout method according to claim 1, wherein the attribute of frames images includes: at least one in the size of frames images, the shape of frames images and the position of frames images.
5. image layout method according to claim 3, wherein determines the layout types of template based on the position of the plurality of frames images.
6. image layout method according to claim 5, wherein determines the layout types of described template based on the columns of the line number of the plurality of frames images and the plurality of frames images.
7. image layout method according to claim 6, wherein obtains described line number by the projection in vertical direction of the plurality of frames images is carried out counting, obtains described columns by the projection in the horizontal direction of the plurality of frames images is carried out counting.
8. image layout method according to claim 3, wherein calculation procedure includes:
Layout types according to described template is divided into multiple region template;
Weight is distributed for each region;
Calculate each frames images area in each area;And
By the product of each frames images corresponding area in each region with weight is added up, calculate the preferred value of each frames images.
9. image layout method according to claim 1, also includes:
The preferred value of the plurality of frames images was adjusted before deposition step.
10. image layout method according to claim 9, wherein set-up procedure includes:
Determine the shape of each frames images;And
Increase the preferred value of the frames images of the shape being shaped differently than other frames images.
11. an image processing equipment, including:
For obtaining the device of multiple image;
For obtaining the device of template, described template includes the multiple frames images for arranging the plurality of image;
Device for the preferred value of each frames images of property calculation based on the attribute of the plurality of frames images and described template;And
For the preferred value based on the plurality of frames images the device in the plurality of image layout to the plurality of frames images.
12. image processing equipment according to claim 11, also include:
Device for the attribute of the attribute and described template of determining the plurality of frames images for calculating described preferred value.
13. image processing equipment according to claim 11, the attribute of wherein said template includes: at least one in the size of template, the shape of template, the background of template, the layout types of template and the theme of template.
14. image processing equipment according to claim 11, wherein the attribute of frames images includes: at least one in the size of frames images, the shape of frames images and the position of frames images.
15. image processing equipment according to claim 13, wherein determine the layout types of template based on the position of the plurality of frames images.
16. image processing equipment according to claim 15, wherein determine the layout types of described template based on the columns of the line number of the plurality of frames images and the plurality of frames images.
17. image processing equipment according to claim 16, wherein obtain described line number by the projection in vertical direction of the plurality of frames images is carried out counting, obtain described columns by the projection in the horizontal direction of the plurality of frames images is carried out counting.
18. image processing equipment according to claim 13, wherein for including based on the device of the preferred value of each frames images of property calculation of the attribute of the plurality of frames images and described template:
For the layout types according to described template, template is divided into the device in multiple region;
For distributing the device of weight for each region;
For calculating the device of each frames images area in each area;And
For the device by the preferred value calculating each frames images that the product of each frames images corresponding area in each region with weight is added up.
19. image processing equipment according to claim 11, also include:
For adjusting the device of the preferred value of the plurality of frames images before deposition step.
20. image processing equipment according to claim 19, wherein the device of the preferred value for adjusting the plurality of frames images before deposition step includes:
For determining the device of the shape of each frames images;And
For increasing the device of the preferred value of the frames images of the shape being shaped differently than other frames images.
21. an image processing equipment, including processor, described processor is configured to:
Obtain multiple image;
Obtaining template, described template includes the multiple frames images for arranging the plurality of image;
Preferred value based on the attribute of the plurality of frames images and each frames images of property calculation of described template;And
Based on the preferred value of the plurality of frames images in the plurality of image layout to the plurality of frames images.
22. for the method generating photograph album, including:
Image layout method according to any one of claim 1-10 is in multiple image layout at least one template;And
Based at least one template generation photograph album described.
CN201410819984.6A 2014-12-25 2014-12-25 Image processing equipment and image layout method Pending CN105786305A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410819984.6A CN105786305A (en) 2014-12-25 2014-12-25 Image processing equipment and image layout method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410819984.6A CN105786305A (en) 2014-12-25 2014-12-25 Image processing equipment and image layout method

Publications (1)

Publication Number Publication Date
CN105786305A true CN105786305A (en) 2016-07-20

Family

ID=56377705

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410819984.6A Pending CN105786305A (en) 2014-12-25 2014-12-25 Image processing equipment and image layout method

Country Status (1)

Country Link
CN (1) CN105786305A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1933539A (en) * 2005-09-16 2007-03-21 富士胶片株式会社 Method, apparatus, and program for laying out images
CN1940912A (en) * 2005-09-28 2007-04-04 精工爱普生株式会社 Document production system, document production method, program, and storage medium
CN101510312A (en) * 2009-03-16 2009-08-19 广州市有福数码科技有限公司 Method, device and system for making electronic photo album
CN102103473A (en) * 2009-12-21 2011-06-22 兄弟工业株式会社 Image overlaying device and image overlaying program
US8736869B2 (en) * 2008-08-07 2014-05-27 Ricoh Company, Ltd. Layout print system, method for viewing layout document, and program product
CN104252444A (en) * 2013-06-27 2014-12-31 腾讯科技(北京)有限公司 Typesetting method, module and system for magazine application

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1933539A (en) * 2005-09-16 2007-03-21 富士胶片株式会社 Method, apparatus, and program for laying out images
CN1940912A (en) * 2005-09-28 2007-04-04 精工爱普生株式会社 Document production system, document production method, program, and storage medium
US8736869B2 (en) * 2008-08-07 2014-05-27 Ricoh Company, Ltd. Layout print system, method for viewing layout document, and program product
CN101510312A (en) * 2009-03-16 2009-08-19 广州市有福数码科技有限公司 Method, device and system for making electronic photo album
CN102103473A (en) * 2009-12-21 2011-06-22 兄弟工业株式会社 Image overlaying device and image overlaying program
CN104252444A (en) * 2013-06-27 2014-12-31 腾讯科技(北京)有限公司 Typesetting method, module and system for magazine application

Similar Documents

Publication Publication Date Title
JP5035432B2 (en) Method for generating highly condensed summary images of image regions
JP4715267B2 (en) Method, apparatus, and program for discriminating regions of high importance in an image
WO2021012837A1 (en) Method and apparatus for determining recommendation information implantation position, device and storage medium
US10762653B2 (en) Generation apparatus of virtual viewpoint image, generation method, and storage medium
JP7034666B2 (en) Virtual viewpoint image generator, generation method and program
US8509519B2 (en) Adjusting perspective and disparity in stereoscopic image pairs
CN104794462A (en) Figure image processing method and device
KR20140076632A (en) Image recomposition using face detection
CN101789235B (en) Method and device for processing image
US8983188B1 (en) Edge-aware smoothing in images
US20180205989A1 (en) Determining Audience Engagement
CN107371062A (en) The method of video pictures auto zoom
US10776974B2 (en) Information processing apparatus and control method of information processing apparatus
JP6917788B2 (en) Summary video generator and program
CN103593156A (en) Three-dimensional panoramic display method and device
US10607309B2 (en) Importing of information in a computing system
JP6851089B2 (en) Adaptive 3D space generation method and its system
CN105786305A (en) Image processing equipment and image layout method
US9082065B2 (en) Image editing device, image editing method, program, and computer readable storage medium
CN100498840C (en) Method of and scaling unit for scaling a three-dimensional model
JP2018180125A (en) Image projection device, image projection method and image projection program
KR101912758B1 (en) Method and apparatus for rectifying document image
CN105005850A (en) Method and apparatus for updating virtual audiences
JP2021064920A (en) Image presentation program, image presentation method, and image presentation device
WO2014092553A2 (en) Method and system for splitting and combining images from steerable camera

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160720

RJ01 Rejection of invention patent application after publication