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

Dynamic planning-based adaptive cartoon typesetting method and device

A dynamic programming and self-adaptive technology, applied in the computer field, can solve the problems of no unified logic between translation font size and typesetting area, and no conversion from horizontal typesetting to vertical typesetting.

Pending Publication Date: 2022-07-15
特赞(上海)信息科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] Embodiments of the present invention provide a method, device, computer device and storage medium for adaptive typesetting of comics based on dynamic programming, to solve the above-mentioned problems in the typesetting of Japanese comics in the translation of comics, which do not have the conversion from horizontal typesetting to vertical typesetting The machine processing scheme requires the designer to manually adjust the bubbles corresponding to the drawn text area, there is no unified logic for determining the translation font size and typesetting area, and the designer parameters of the Japanese language are required to achieve word segmentation accuracy.

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
  • Dynamic planning-based adaptive cartoon typesetting method and device
  • Dynamic planning-based adaptive cartoon typesetting method and device
  • Dynamic planning-based adaptive cartoon typesetting method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0072] The present invention provides a comic adaptive typesetting method based on dynamic programming, such as figure 2 Its flow chart is shown, including:

[0073] Step S1: After determining the translation typesetting area, pre-draw the translation word segmentation in the translation word segmentation list to the translation typesetting area according to the initial pre-drawn font size, so as to obtain the total pre-drawing width of the translation.

[0074] In this step, the typesetting area of ​​the translation refers to the area where the text content in a certain bubble in the comic is subjected to identification, extraction, translation and word segmentation. The size of the area is the same as the size and shape of the bubble. The total width of translation pre-drawing refers to pre-drawing all the translation word segments in the translation word segment list into the translation typesetting area through the initial pre-drawing font size, and the height of the draw...

Embodiment 2

[0117] The embodiment of the present invention also provides a cartoon adaptive typesetting device based on dynamic programming, such as Figure 5 shown, including:

[0118] The initial pre-drawing module is used for pre-drawing the translation word segmentation in the translation word segmentation list to the translation typesetting area according to the initial pre-drawing font size after determining the translation typesetting area, thereby obtaining the total width of the translation pre-drawing;

[0119] The pre-drawing font size determination module is used for if the total width of the pre-drawing of the translation is greater than the maximum width value of the typesetting area of ​​the translation, then according to the next drawing font size, the word segmentation of the translation is drawn into the typesetting area of ​​the translation, until the total width of the pre-drawing of the translation is less than or equal to the typesetting of the translation The maximu...

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 provides an adaptive cartoon typesetting method and device based on dynamic programming, and the method comprises the steps: drawing translation word segments in a translation word segment list into a translation typesetting region column by column through an obtained target drawing word size and finally drawn text column division. According to the method, the conversion from the transverse type setting to the vertical type setting of the cartoon can be realized through a machine, and three processes needing strong manual participation in the translation process of the cartoon are solved, namely, the adjustment and drawing of bubbles corresponding to a text region, the determination of the optimal word size and the unification of the type setting logic and the type setting optimization based on dynamic planning are realized through machine processing; the cartoon translation process is unified, the typesetting standard is standardized, the influence of subjective factors in the translation process is reduced, manual participation is reduced, and manpower is saved.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular, to a method, device, computer equipment and storage medium for comic adaptive typesetting based on dynamic programming. Background technique [0002] In the direction of comic translation, the solutions for translating Chinese comics into most languages ​​(such as English, Indonesian, etc.) are horizontal layout, and the main difference is the font, font size and alignment; for the special type of Japanese comics, not only It needs to involve the conversion from horizontal typesetting to vertical typesetting and the conversion of the starting position, as well as the modification of the background bubbles, all of which need to be completely modified manually. [0003] At present, the layout of comic translation for Japanese comics mainly has the following problems: [0004] 1. There is no machine processing solution for the conversion from horizontal typesetting to...

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): G06F40/189G06F40/289G06T11/60
CPCG06F40/189G06F40/289G06T11/60
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