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

Method and device for determining typesetting area based on cartoon translation

A region determination and area technology, applied in the computer field, can solve the problems of time-consuming and labor-intensive manual correction, the expansion of the translation area depends on manual subjective judgment, rough typesetting area determination, etc., to achieve standardized typesetting standards, reduce the influence of subjective factors, and reduce manual participation. Effect

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

AI Technical Summary

Problems solved by technology

[0007] Embodiments of the present invention provide a method, device, computer device, and storage medium for determining typesetting areas based on cartoon translation, which are used to solve the problem of rough typesetting area determination in existing cartoon translation tools, and the expansion of translation areas depends on manual subjective judgment and requires manual labor. Correcting time-consuming and labor-intensive problems

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
  • Method and device for determining typesetting area based on cartoon translation
  • Method and device for determining typesetting area based on cartoon translation
  • Method and device for determining typesetting area based on cartoon translation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0056] The present invention provides a typesetting area determination method based on comic translation, such as figure 2 Its flow chart is shown, including:

[0057] Step S1 , preset multiple sets of expansion step values ​​in different directions, and the expansion step values ​​are used to gradually expand the translation area in the horizontal and / or vertical directions.

[0058] In this step, it is necessary to preset a multi-scale step size group extended in the horizontal and vertical directions, that is, scale_anchors=[(a1,b1),(a2,b2),...,(an,bn)] , where a represents the step size of the progressive expansion in the horizontal direction, and b represents the step size of the progressive expansion in the vertical direction. Selecting step size groups of different scales will have different extension effects on the initial translation area, as shown in image 3 As shown in the figure, the solid-line rectangular area in the first bubble diagram is the initial transla...

Embodiment 2

[0075] The embodiment of the present invention also provides a typesetting area determination device based on comic translation, such as Figure 5 shown, including:

[0076] an extension step value setting module, configured to preset multiple sets of extension step values ​​in different directions, the extension step values ​​are used to gradually expand the translation area in the horizontal and / or vertical directions;

[0077] The candidate extension area area calculation module is used to expand the initial translation area to obtain a candidate extension area based on the area progressive extension method and each group of extension step values, and calculate the area of ​​the candidate extension area;

[0078] The target translation typesetting area determination module is used to select the expansion step value with the largest area of ​​the expansion area, and use the candidate expansion area corresponding to the step value as the target translation typesetting area. ...

Embodiment 3

[0089] 1.1 Area progressive expansion method based on the change of the pixel mean value of the background area

[0090] The main steps are as follows:

[0091] 1) The clockwise four points of the rectangular coordinates of the known initial translation area are expressed as box=[(x1, y1), (x2, y1), (x2, y2), (x1, y2)], and (x1, y1) is The horizontal and vertical coordinates of the upper left vertex, and the pixel mean value of the current area is crop_mean, and the expansion stop threshold is set expand_threshold>=0

[0092] 2) Set the horizontal expansion step as a and the vertical expansion step as b, where a and b are both positive integers or 0, and not 0 at the same time

[0093] 3) Select the left boundary of the rectangular area, the corresponding coordinate points of the boundary are [(x1,y1),(x1,y2)], and expand to the left to obtain new coordinates as [(x1-a,y1),(x1-a ,y2)], the new rectangle coordinates are [(x1-a,y1),(x2,y1),(x2,y2),(x1-a,y2)], and the pixel mea...

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 a method and device for determining a typesetting area based on cartoon translation, and the method comprises the steps: presetting a plurality of groups of extended step values in different directions, and enabling a translation area to be gradually extended in the horizontal and / or vertical direction through the extended step values; based on a region progressive extension method and each group of extension step values, extending the initial translation region to obtain a candidate extension region, and calculating the area of the candidate extension region; and selecting the extension step value with the maximum extension region area, and taking the candidate extension region corresponding to the step value as a target translation typesetting region. The typesetting standard can be standardized, the influence of subjective factors in the translation process is reduced, and the optimal drawing area is automatically determined by a machine; 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, apparatus, computer device, and storage medium for determining a typesetting area based on comic translation. Background technique [0002] Anyone who has read comics will not be unfamiliar with the term "sinicization group". For a long time, the work of comic translation has been following a long-term, repetitive and labor-intensive process. [0003] Most of the tools used by the manga translation team are Photoshop ("PS" for short). As a professional retouching software, PS has a high learning cost and does not fully match the needs of comic translation. The comic translation team needs to manually extract and translate the text information in the picture, erase the original text in the picture, and then embed the translations one by one, adjust the font and layout to suit the original picture, and then export. With the continuous development of th...

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): G06T11/60G06F40/109
CPCG06T11/60G06F40/109
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