CN102736837A - Subtitle editing method based on grid - Google Patents

Subtitle editing method based on grid Download PDF

Info

Publication number
CN102736837A
CN102736837A CN201110120558XA CN201110120558A CN102736837A CN 102736837 A CN102736837 A CN 102736837A CN 201110120558X A CN201110120558X A CN 201110120558XA CN 201110120558 A CN201110120558 A CN 201110120558A CN 102736837 A CN102736837 A CN 102736837A
Authority
CN
China
Prior art keywords
mesh lines
grid
alignment
editing method
method based
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.)
Granted
Application number
CN201110120558XA
Other languages
Chinese (zh)
Other versions
CN102736837B (en
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.)
China Digital Video Beijing Ltd
Original Assignee
China Digital Video Beijing Ltd
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 China Digital Video Beijing Ltd filed Critical China Digital Video Beijing Ltd
Priority to CN201110120558.XA priority Critical patent/CN102736837B/en
Priority claimed from CN201110120558.XA external-priority patent/CN102736837B/en
Publication of CN102736837A publication Critical patent/CN102736837A/en
Application granted granted Critical
Publication of CN102736837B publication Critical patent/CN102736837B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a subtitle editing method based on a grid. The subtitle editing method comprises the following steps of: setting grid lines on a display; selecting one or more pixels in a same screen; and aligning the selected pixels based on the grid lines. According to the method provided by the embodiment of the invention, the grid lines are set on an editing interface and regularly arranged in a pixel manner, so that distribution points of transverse coordinates and longitudinal coordinates can be effectively displayed; based on the grid lines, an alignment mode can be appointed, and one or more selected pixels can be arranged at the appointed positions conveniently and precisely; and in response to mouse dragging operation, the grid lines can be automatically aligned.

Description

A kind of caption editing method based on grid
Technical field
The present invention relates to field of broadcast televisions, particularly relate to a kind of caption editing method based on grid.
Background technology
In the TV subtitling production process, along with the increase of caption content quantity of information, the operation of captions software literal object and Drawing Object being carried out layout becomes increasingly complex.Carrying out with when editor screen to multiclass caption object (literal or figure), because factor such as display interfaces width, captions overlapping region be too much, causing error or inconvenience such as processing eases such as aliging, put for caption object.
To the problems referred to above, this paper provides a kind of caption editing method based on mesh lines, with the operating efficiency that improves the user with carry out more convenient effective composing.
Summary of the invention
The embodiment of the invention provides a kind of caption editing method based on grid, can realize accurately moving to assigned address with a plurality of objects in the screen by specific mode, carries out the grid alignment automatically.
The invention provides a kind of caption editing method, comprising based on grid:
Mesh lines is set on display;
Choose with the one or more pels in the screen, the pel of choosing is carried out the alignment based on mesh lines.
Compared with prior art, the embodiment of the invention has the following advantages: at editing interface the mesh lines setting is provided, mesh lines is regularly arranged with the mode based on pixel, can show horizontal ordinate and ordinate distributed points effectively; Based on mesh lines, can make things convenient for the one or more pels that accurately will choose to put assigned address, and can specify alignment thereof; A kind of mode of operation is provided, can responds the mouse drag operation, carry out the mesh lines alignment automatically.
Description of drawings
Fig. 1 is a kind of caption editing method process flow diagram based on grid in the embodiment of the invention;
Fig. 2 is the process flow diagram that grid shows in the embodiment of the invention;
Fig. 3 is for carrying out the process flow diagram of alignment operation in the embodiment of the invention based on mesh lines;
Fig. 4 a is the location drawing after the embodiment of the invention pulls based on the mesh lines alignment that pulls;
Fig. 4 b is the location drawing after the embodiment of the invention is alignd based on the mesh lines alignment that pulls automatically.
Embodiment
Below in conjunction with accompanying drawing and embodiment, specific embodiments of the invention describes in further detail:
The invention provides a kind of caption editing method based on grid, as shown in Figure 1, may further comprise the steps:
Step 101 is provided with mesh lines on display.
As shown in Figure 2, whether the user selects show gridlines, when the needs show gridlines, specifies the form of mesh lines.The mesh lines form comprises: density degree, mesh lines color.
At first confirm the density degree of mesh lines.The appointment of density degree is specially confirms the tightness degree of mesh lines in the spacing between horizontal, each line of tree direction, can wide in range appointment close, in, dredge, also can specify specifying Spacing based on pixel unit.Can wide in rangely specify if adopt, then need at first obtain current television system, will and arrange according to the automatic computing grid distance between centers of tracks of the effective dimensions that current television system is arranged then.
Then, specify the mesh lines color.The appointment of mesh lines color is specially the color of confirming that mesh lines shows, can whether specifies the self-adaptation background color by the user, when selecting the self-adaptation background color, then the computing grid line color as: with the background color negate, add when bright etc. with background color; Or the user directly specifies based on (R, G, B) Show Color of color space.
At the needs show gridlines, and after accomplishing appointment, draw mesh lines to mesh lines density degree and color.For example, specify with " close " mode show gridlines, obtain current television system, like PAL 720*576, and about fixed system " close " mode is 72 of column rules, and ordinate is 90, then calculate go on a journey, the row mesh lines is all 8 pixels at interval.Simultaneously, it is with white that the user specifies mesh lines, and then final mesh lines is shown as the white mesh lines of 72*90.
Step S102 chooses with the one or more pels in the screen, and the pel of choosing is carried out the alignment based on mesh lines.
From a plurality of objects, choose the one or more pels that will edit, carry out alignment then, can adopt dual mode, comprise based on the mesh lines alignment that triggers with based on the mesh lines alignment that pulls based on mesh lines with screen, as shown in Figure 3.
Based on the mesh lines alignment that triggers: the user chooses with one or more pels in the screen, for example selects to trigger menu or button and carries out the mesh lines alignment operation.At first select the alignment reference point (or with reference to limit) of pel, and, show that finally purpose is with the alignment reference point or with reference to limit and nearest mesh lines node or ranks line complete matching based on this reference point or pel is whole mobile with reference to the limit.Concrete steps need carry out triggering alignment command behind one or more pels of alignment operation for selection; The reference point of the pel that calculating is selected or with reference to the distance of limit and adjacent net ruling; Adjacent i.e. this reference point or with reference to just and do not have other mesh lines between the mesh lines; Wherein computed range is specially the distance of calculating reference point and mesh lines node or ranks line, perhaps calculate reference just with the distance of mesh lines node or ranks line; From the reference point that calculates or with reference to just with the distance of adjacent net ruling seeking minimum value; Confirm the nearest mesh lines node or the ranks line that be of this minimum value correspondence; Thereby align with this mesh lines node or ranks line with reference point or with reference to the limit, simultaneously caption object integral body is moved to the relevant position.
Align based on the mesh lines that pulls: choose one or more pels; Using mouse to carry out integral body pulls mobile; After accomplishing this drag operation; Calculating is selected the reference point of these one or more pels in pulling or with reference to the distance of limit and adjacent net ruling, and wherein computed range is specially the distance of calculating reference point and mesh lines node or ranks line, perhaps calculate reference just with the distance of mesh lines node or ranks line; From the reference point that calculates or with reference to just with the distance of adjacent net ruling seeking minimum value; Confirm the nearest mesh lines node or the ranks line that be of this minimum value correspondence; Thereby align with this mesh lines node or ranks line with reference point or with reference to the limit; Simultaneously caption object integral body is moved to the relevant position, alignment reference point or with reference to limit and nearest mesh lines node or ranks line complete matching.The option of the nearest grid of automatic alignment can also be set, when pulling, remove the pair net lattice point automatically, shown in Fig. 4 a and Fig. 4 b, Fig. 4 a is the location drawing that pel pulls, and Fig. 4 b is the location drawing after pel matees automatically.
The window coordinates system that with the upper left point of screen is true origin (0,0) is example, and after triggering aligned instruction or accomplishing the pel drag operation, system judges that this pel need carry out the operation of left upper apex based on the mesh lines alignment; Then calculate pel left upper apex coordinate,, search nearest mesh lines simultaneously like (102,97); Like (100,100), then left upper apex is moved and snaps to (100,100); Obviously, this pel moves integral body (2,3) pixel distance.
Method through the embodiment of the invention provides provides the mesh lines setting at editing interface, and mesh lines is regularly arranged with the mode based on pixel, can show horizontal ordinate and ordinate distributed points effectively; Based on mesh lines, can specify alignment thereof, the convenient one or more pels that accurately will choose are put assigned address; Can respond the mouse drag operation, carry out the mesh lines alignment automatically.
Through the description of above embodiment, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better embodiment under a lot of situation.Based on such understanding; The part that technical scheme of the present invention contributes to prior art in essence in other words can be come out with the embodied of software product; This computer software product is stored in the storage medium, comprise some instructions with so that a station terminal equipment (can be mobile phone, personal computer; Server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above only is a preferred implementation of the present invention; Should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; Can also make some improvement and retouching, these improvement and retouching also should be looked protection scope of the present invention.

Claims (10)

1. the caption editing method based on grid is characterized in that, comprising:
Mesh lines is set on display;
Choose with the one or more pels in the screen, the pel of choosing is carried out the alignment based on mesh lines.
2. the caption editing method based on grid as claimed in claim 1 is characterized in that, the said mesh lines that on display, is provided with comprises density degree and the mesh lines color that mesh lines is set.
3. the caption editing method based on grid as claimed in claim 2 is characterized in that, the said density degree that mesh lines is set comprise wide in range appointment close, in, dredge or directly specify spacing based on pixel unit.
4. the caption editing method based on grid as claimed in claim 3; It is characterized in that; When the density degree that mesh lines is set be wide in range appointment close, in, when dredging; Obtain current television system, the automatic computing grid distance between centers of tracks of effective dimensions and the arrangement of arranging according to said current television system then.
5. the caption editing method based on grid as claimed in claim 2 is characterized in that, the mesh lines color is set is specially appointment self-adaptation background color or directly specifies Show Color.
6. the caption editing method based on grid as claimed in claim 1 is characterized in that, the said alignment that the pel of choosing is carried out based on mesh lines comprises based on the mesh lines alignment that triggers with based on the mesh lines alignment that pulls.
7. the caption editing method based on grid as claimed in claim 6 is characterized in that, said mesh lines alignment based on triggering is specially the user and chooses with one or more pels in the screen, and choice menus or button carry out the mesh lines alignment operation.
8. the caption editing method based on grid as claimed in claim 7 is characterized in that, saidly is specially the reference point that calculates the pel of selecting or with reference to the distance of limit and adjacent net ruling based on the mesh lines alignment that triggers; From the reference point that calculates or with reference to just with the distance of adjacent net ruling seeking minimum value; Confirm the nearest mesh lines node or the ranks line that be of this minimum value correspondence; Align with this mesh lines node or ranks line with reference point or with reference to the limit, simultaneously caption object integral body is moved to the relevant position.
9. the caption editing method based on grid as claimed in claim 6; It is characterized in that said being specially based on the mesh lines alignment that pulls chosen one or more pels, uses mouse to carry out integral body and pulls mobile; After accomplishing this drag operation; Calculating is selected the reference point of these one or more pels in pulling or with reference to the distance of limit and adjacent net ruling, from the reference point that calculates or with reference to just with the distance of adjacent net ruling seeking minimum value, confirm this minimum value corresponding be nearest mesh lines node or ranks line; Align with this mesh lines node or ranks line with reference point or with reference to the limit, simultaneously caption object integral body is moved to the relevant position.
10. the caption editing method based on grid as claimed in claim 9 is characterized in that being provided with the nearest grid of automatic alignment, when pulling, removes the pair net lattice point automatically, carries out the mesh lines alignment.
CN201110120558.XA 2011-05-10 A kind of caption editing method based on grid Expired - Fee Related CN102736837B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110120558.XA CN102736837B (en) 2011-05-10 A kind of caption editing method based on grid

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110120558.XA CN102736837B (en) 2011-05-10 A kind of caption editing method based on grid

Publications (2)

Publication Number Publication Date
CN102736837A true CN102736837A (en) 2012-10-17
CN102736837B CN102736837B (en) 2016-12-14

Family

ID=

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461301A (en) * 2014-12-22 2015-03-25 青岛大学 Method for achieving automatic aligning of screen windows based on world coordinates
CN104484093A (en) * 2014-12-15 2015-04-01 北京国双科技有限公司 Graphical interface arrangement display method and graphical interface arrangement display device
CN104537140A (en) * 2014-11-14 2015-04-22 河南理工大学 Method for rapidly drawing coal mine high voltage supply system chart
CN105739842A (en) * 2016-03-08 2016-07-06 浙江慧脑信息科技有限公司 Method for setting size and position of program window at same time
CN106033409A (en) * 2015-03-20 2016-10-19 广州金山移动科技有限公司 Vertex editing method and device
CN106569792A (en) * 2015-12-30 2017-04-19 合网络技术(北京)有限公司 Layer pixel alignment detection method based on iOS system
CN108920053A (en) * 2018-06-29 2018-11-30 维沃移动通信有限公司 A kind of alignment schemes and mobile terminal
CN110489041A (en) * 2019-07-12 2019-11-22 北京字节跳动网络技术有限公司 Method, apparatus, equipment and the medium of small routine dragging element automatic aligning
WO2020034663A1 (en) * 2018-08-13 2020-02-20 The Hong Kong Polytechnic University Grid-based image cropping
CN112182734A (en) * 2020-10-30 2021-01-05 久瓴(江苏)数字智能科技有限公司 Method and device for automatically determining distance between point and axis
CN112927585A (en) * 2021-01-12 2021-06-08 深圳点猫科技有限公司 Mathematical element interactive conversion method, device, system and medium
CN113569548A (en) * 2021-05-19 2021-10-29 海南师范大学 Online event registration form generation method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6065021A (en) * 1998-04-07 2000-05-16 Adobe Systems Incorporated Apparatus and method for alignment of graphical elements in electronic document
US20080180413A1 (en) * 2007-01-29 2008-07-31 Farn Brian G Method, system, and program product for controlling grid lines in a user interface
US20080195937A1 (en) * 2007-02-14 2008-08-14 Seiko Epson Corporation Document edit support device and storage medium
CN101668131A (en) * 2008-09-04 2010-03-10 新奥特(北京)视频技术有限公司 Method for editing and broadcasting television caption based on virtual container
WO2010045060A1 (en) * 2008-10-16 2010-04-22 Bank Of America Corporation Customizable graphical user interface
US20100218090A1 (en) * 2009-02-26 2010-08-26 Universal - Ad Ltd. Sub-page-based page layout system and method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6065021A (en) * 1998-04-07 2000-05-16 Adobe Systems Incorporated Apparatus and method for alignment of graphical elements in electronic document
US20080180413A1 (en) * 2007-01-29 2008-07-31 Farn Brian G Method, system, and program product for controlling grid lines in a user interface
US20080195937A1 (en) * 2007-02-14 2008-08-14 Seiko Epson Corporation Document edit support device and storage medium
CN101668131A (en) * 2008-09-04 2010-03-10 新奥特(北京)视频技术有限公司 Method for editing and broadcasting television caption based on virtual container
WO2010045060A1 (en) * 2008-10-16 2010-04-22 Bank Of America Corporation Customizable graphical user interface
US20100218090A1 (en) * 2009-02-26 2010-08-26 Universal - Ad Ltd. Sub-page-based page layout system and method thereof

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
任玉龙,唐乐莲: "《Microsoft Power Point2002主要新功能简介》", 《中小学电教》 *
张家悦等编著: "《Macromedia Fireworks MX标准教程》", 30 November 2002, 北京希望电子出版社 *
石立农: "Word 文档网格和绘图网格的功能和应用", 《计算机时代》 *
阿尔斯波(ALSPACH,T.),昂德达尔(UNDERDAHL,B.)著;沈金河等译: "《Illustrator CS2宝典》", 28 February 2007, 人民邮电出版社 *

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104537140A (en) * 2014-11-14 2015-04-22 河南理工大学 Method for rapidly drawing coal mine high voltage supply system chart
CN104484093A (en) * 2014-12-15 2015-04-01 北京国双科技有限公司 Graphical interface arrangement display method and graphical interface arrangement display device
CN104461301A (en) * 2014-12-22 2015-03-25 青岛大学 Method for achieving automatic aligning of screen windows based on world coordinates
CN104461301B (en) * 2014-12-22 2017-11-14 青岛大学 The method that screen window automatic aligning is realized based on world coordinates
CN106033409B (en) * 2015-03-20 2019-07-26 广州金山移动科技有限公司 A kind of vertex edit method and device
CN106033409A (en) * 2015-03-20 2016-10-19 广州金山移动科技有限公司 Vertex editing method and device
CN106569792A (en) * 2015-12-30 2017-04-19 合网络技术(北京)有限公司 Layer pixel alignment detection method based on iOS system
CN105739842A (en) * 2016-03-08 2016-07-06 浙江慧脑信息科技有限公司 Method for setting size and position of program window at same time
CN108920053A (en) * 2018-06-29 2018-11-30 维沃移动通信有限公司 A kind of alignment schemes and mobile terminal
WO2020034663A1 (en) * 2018-08-13 2020-02-20 The Hong Kong Polytechnic University Grid-based image cropping
CN110489041A (en) * 2019-07-12 2019-11-22 北京字节跳动网络技术有限公司 Method, apparatus, equipment and the medium of small routine dragging element automatic aligning
CN110489041B (en) * 2019-07-12 2021-04-06 北京字节跳动网络技术有限公司 Method, device, equipment and medium for automatically aligning small program dragging elements
CN112182734A (en) * 2020-10-30 2021-01-05 久瓴(江苏)数字智能科技有限公司 Method and device for automatically determining distance between point and axis
CN112927585A (en) * 2021-01-12 2021-06-08 深圳点猫科技有限公司 Mathematical element interactive conversion method, device, system and medium
CN113569548A (en) * 2021-05-19 2021-10-29 海南师范大学 Online event registration form generation method and system

Similar Documents

Publication Publication Date Title
CN103634650B (en) A kind of image processing method and system based on intelligent television platform
CN107798715B (en) Alignment adsorption method and device for three-dimensional graph, computer equipment and storage medium
CN102609521B (en) The changing method of a kind of webpage focus element and receiving terminal for digital television
CN105096363A (en) Picture editing method and picture editing device
CN104349045A (en) Image collecting method and electronic equipment
US20120098867A1 (en) Method and apparatus for display interface
CN109324722B (en) Method, device and equipment for adding nodes of thought guide graph and storage medium
CN111737800A (en) Primitive selection method and device and electronic equipment
CN103793146A (en) Method and device for processing images
CN109147004B (en) Handwriting display method, device, equipment and storage medium
CN106658139A (en) Focus control method and device
CN116775177A (en) Display control adjustment method, device, terminal and computer readable storage medium
JP3332166B2 (en) Video search device
CN102487362B (en) The display packing of IM message and device
CN103634691A (en) Method and system for editing icons on television terminal
CN103259932B (en) Editing method and system of touch screen mobile terminal multimedia messages
CN102736837A (en) Subtitle editing method based on grid
JP3380457B2 (en) Method for removing shadow component on geographic image, geographic image processing apparatus, and recording medium
CN110544284B (en) Method for automatically planning optimal layout flow chart
CN104866583B (en) The auto arranging method of ship electronic label in a kind of electronic chart
CN112288885A (en) Roaming positioning method based on three-dimensional earth application and related device
CN102736837B (en) A kind of caption editing method based on grid
CN112883446B (en) Set-up diagram screening method, device, equipment and storage medium
CN112584040B (en) Image display method and device and electronic equipment
CN112329384A (en) Method, device and equipment for realizing character shadow effect and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20161214

Termination date: 20200510

CF01 Termination of patent right due to non-payment of annual fee