Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Automatic typesetting method for electronic photo album

An automatic typesetting and electronic photo album technology, applied in the field of image processing, can solve the problems of poor typesetting effect, fixed number of typesetting pictures, and no consideration of horizontal and vertical formats, so as to achieve the best automatic typesetting effect and flexible quantity.

Pending Publication Date: 2020-09-25
河源源丰电子有限公司
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the existing technology, the number of typesetting pictures is fixed, inflexible, and difficult to meet the needs of different users
The existing technology does not consider the horizontal and vertical format when matching the template photo frame with the picture, resulting in the main body of the photo being cut off after the photo is placed in the photo frame, and the typesetting effect is not good

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Automatic typesetting method for electronic photo album

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] 1. Upload the photos that need to be typeset, the number is S, and sort the photos according to the shooting time. According to the size of the selected template, the number of photos typesetting on one page ranges from [P min ,P max ], the benchmark number of photos per page

[0026] typesetting pages

[0027] 2. Randomly select the number of photos on each page The weight P selected by the value is the largest, and decreases to both sides.

[0028] 3. The sum of all selected photos per page must satisfy Otherwise X i Cleared to zero, repeat step 2 until the condition is met.

[0029] 4. Statistics X i The horizontal and vertical format of the photo, and convert the horizontal and vertical to binary value B i , where the horizontal is 1, and the vertical is 0 (for example: if the horizontal and vertical format of 6 photos is "horizontal vertical horizontal vertical horizontal", then it will be converted to "100101").

[0030] 5. Pass B i Quickly find q ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an automatic typesetting method for an electronic photo album, which is characterized by comprising the following steps of: S1, uploading photos to be typeset, sorting the photos according to shooting time, determining the number range of the photos typeset in each page according to the size of a selected template, and further determining the reference number of the photostypeset in each page; s2, determining the number of photos of each page through calculation according to the photo reference number; s3, counting the horizontal and vertical states of a plurality of photos, and formatting the horizontal and vertical states of the photos; s4, selecting an optimal template according to the formatting result and the size and the length-width ratio of the photo to thetemplate; s5, selecting the kth photo, determining the zoom scale of the photo according to the size of the photo and the size of the photo frame of the selected template, and placing the zoomed photo into the photo frame; and S6, repeating the above steps until all the photos are placed in the template. By utilizing the method, the number of typeset pictures is flexible, and the requirements ofdifferent users can be met; and the optimal typesetting effect can be achieved.

Description

technical field [0001] The invention relates to image processing technology, more specifically, it relates to a method for automatic typesetting of an electronic photo album. Background technique [0002] In the prior art, the number of typeset images is fixed and inflexible, making it difficult to meet the needs of different users. The existing technology does not consider the horizontal and vertical format when matching the template photo frame with the picture, resulting in the main body of the photo being cut off after the photo is placed in the photo frame, and the typesetting effect is not good. Contents of the invention [0003] In view of the deficiencies in the prior art, the purpose of the present invention is to provide a method for automatic typesetting of electronic albums, which can make the number of typesetting pictures flexible, meet the needs of different users, and achieve the best automatic typesetting effect. [0004] To achieve the above object, the ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F16/54G06T3/40G06T11/00
CPCG06F16/54G06T3/40G06T11/00
Inventor 许季明
Owner 河源源丰电子有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products