Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
GB2247803A - Document creation aid - Google Patents
[go: Go Back, main page]

GB2247803A - Document creation aid - Google Patents

Document creation aid Download PDF

Info

Publication number
GB2247803A
GB2247803A GB9113488A GB9113488A GB2247803A GB 2247803 A GB2247803 A GB 2247803A GB 9113488 A GB9113488 A GB 9113488A GB 9113488 A GB9113488 A GB 9113488A GB 2247803 A GB2247803 A GB 2247803A
Authority
GB
United Kingdom
Prior art keywords
document
layout
region
character
graphic
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
GB9113488A
Other versions
GB9113488D0 (en
GB2247803B (en
Inventor
Junichi Ohsumi
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Publication of GB9113488D0 publication Critical patent/GB9113488D0/en
Publication of GB2247803A publication Critical patent/GB2247803A/en
Application granted granted Critical
Publication of GB2247803B publication Critical patent/GB2247803B/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Document Processing Apparatus (AREA)
  • Processing Or Creating Images (AREA)
  • Character Input (AREA)

Description

f ---- - ---- d- - _--- 1 DOCUMENT CREATION AID.
The present invention relates to a document creation aid. Such an aid may be suitable for use with word processors and workstations. The document creation aid can be used for electronically producing document layouts of a complicated pattern in which heterogeneous data such as characters, graphics, and images are mingled.
In creating documents using document creating devices such as word processors and workstations, it is sometimes desired that different types of data are included within a document, e.g. characters; graphics represented by vector data such as straight lines and curved lines; and bit map images specified by bit patterns such as images read by image readers. To create documents having heterogeneous data including characters, vector-expressed graphics, and bit map images, the data processing mode differs from one type of data to another within the document creating device. To improve processing efficiency under such circumstances, boxes such as a character box, a graphic box, and an image box are defined in a document and, when creating or editing the document, the attributes of each processing box are judged and the box is processed in accordance with the judged attributes. Throughout this specification, according to the context, the term "image" is to be broadly construed as including characters, vectorexpressed graphics, bit map images, and the like, and narrowly construed as indicating only bit map images.
In order to create a document having a mixture of characters, vectorrepresented graphics, bit map images, and the like using the conventional document creating devices, the document creator has to specify the boxes t 2 corresponding to the attributes in the document and adjust their sizes and positions.
However, such box specification and adjustment operations must be performed for each type of box, i.e. the character box, the graphic box, and the image box. In addition, when there exists a plurality of boxes defined by the same attribute, the same operation must be repeated. This has made the conventional document creating operation cumbersome and timeconsuming. Particularly, when an analogous document exists and it is desired that the same layout as that of the analogous document be used, the above input operations must be followed one by one, requiring the user to spend time recreating the layout of the document.
One technique to reduce layout preparation time is to prepare a plurality of types of documents, each having a standard layout, in advance and to search and copy a document having the desired layout, and enter the desired data into that document whenever necessary.
With this technique, however, all the standard layouts must be pre-stored, requiring a labour intensive initial set up operation. In addition, documents with all the standard layouts must be stored, which demands an enormously large storage capacity. Further, to use the stored layouts, the operation of searching for the target layout must always be involved. If the number of stored layouts is large, such searching operation is not an easy job.

Claims (6)

  1. According to a first aspect of the invention, there is provided a document
    creation aid as defined in the appended Claim 1.
    3 According to a second aspect of the invention, there is provided a document creation aid and as defined in the appended Claim 2.
    According to a third aspect of the invention, there is provided a method as defined in the appended Claim 4.
    Preferred embodiments of the invention are defined in the other appended claims.
    It is thus possible to provide a document creation aid which can generate various types of layouts with attribute boxes automatically when there are documents whose layouts serve as models for the layouts of documents to be created, thereby improving document creation efficiency.
    In a preferred embodiment, a document serving as a model is read and the regions in the read image are identified by the layout analysis section when a layout of the document is to be specified. For example, the circumscribed rectangles of some coupled images included in the document are identified, and whether each circumscribed rectangle is a character region, a graphic region, or an image region is judged by the size, position, and the like of the circumscribed rectangle. Then, the corresponding regions are specified to a document to be newly created based on these analyzed regions by instructions from the layout generation instruction section. Accordingly, the newly created document has the respective regions set with the same layout as that of the model.
    The invention will be further described, by way of example, with reference to the accompanying drawings, in 4 which:
    Figure 1 is a block diagram showing the configuration of a document creating device including a document creation assist device constituting an embodiment of the invention; Figure 2 is a block diagram showing a configuration of a layout analysis section; Figure 3 is a flow chart showing an example of a procedure for region analysis; Figure 4 is a flow chart showing an example of a procedure for character portion analysis; Figure 5 is a flow chart showing an example of a procedure for graphic portion analysis; and Figures 6A and 6B are diagrams schematically illustrating examples of document images and an example of a layout analysis.
    Figure I shows the configuration of a document creating device, such as a word processor including a document creation assist system. A document creation assist device 1 includes: an image input section 2 which reads a document as an image; a layout analysis section 3 which defines a document layout based on the images read from the document; and-a layout generation instruction section 4 which instructs generation of graphic boxes, character boxes, image boxes, or the like in accordance with the analyzed layout. The layout specified by the layout generation instruction section 4 is represented by a layout casting section 5 so that the user can see the layout. Data entered from a keyboard/mouse 6 are converted to characters and graphics by a character/graphic input section 7, entered into each box which has already been laid out by a content casting section 8, and displayed by a display section 9. When the layout is input manually from the keyboard/mouse 6, a layout co-ordinate/attribute input section 10 converts the data from the keyboard/mouse 6 and the converted data are sent to the layout generation instruction section 4.
    Figure 2 shows a configuration of the layout analysis section 3. The images read from the document by the image input section 2 are divided into regions such as a character region, a vector-represented graphic region, and a bit map image region. In the character region, data (character box/character portion attribute data) such as the position of the character region, the size of characters, the distance between character strings, and the direction of the character strings are identified by a character portion analysis section 12. In the graphic region, data such as the outer frame of a graphic, the frame of a table, ruled lines and column/row partitioning lines of tables are detected and output as vector data (graphic box/line data). In the image region, data are produced as box data.
    The operation of the layout analysis section 3 will be described next.
    The document images serving as a model layout are input by the image input section 2 (see Figure 1), and the document images represented in binary-coded form are analyzed by a region analysis section 11. Although region analysis techniques are not particularly limited, one example of such a technique identifies circumscribed 6 rectangles, each enclosing images which are coupled to one another therein, and classifies each rectangle by the size, position, and the like.
    Figure 3 shows an example of a procedure for a region analysis.
    Circumscribed rectangles are identified (Step sJ01). Any overlapping circumscribed rectangles are integrated into a single circumscribed rectangle which incorporates all such overlapping circumscribed rectangles (Step S102). Those circumscribed rectangles whose vertical or horizontal length exceeds the size of a character can be identified as a bit map image or a vector-represented graphic (Step S103). For example, if characters of up to 36 point in size are used, any circumscribed rectangle whose height or width is larger than about 13 mm is 3udged to be a bit map image or a vector-represented graphic. If a circumscribed rectangle, among large circumscribed rectangles, satisfies the conditions that its height-to-width ratio is close to 1, for example 1 __ between 1/3 and 3, and the percentage of black pixels contained therein is relatively high, then it can be identified as an image region (Step S104). Other large circumscribed rectangles can be deemed as graphic regions. Small circumscribed rectangles are judged to be characters, and this can be verified by checking the periodicity of the characters in their horizontal and vertical directions (Step S105). A set of circumscribed rectangles whose character periodicity in both the horizontal and vertical directions is substantially constant is identified as a group of characters having the same attribute, i.e. as a character region (Step S106). The above processing identifies character regions, graphic regions, and image regions, and provides 7 data about the size and position of each region.
    While each region is identified by the size and heightto-width ratio of each circumscribed rectangle in the above region analysis, other analysis techniques may be applicable, for example an algorithm merging both a marginal distribution method and a black points concatenation method such as disclosed in "Automatic Document Recognition System" (Kida et al), or "Image Electronics Society Journal" (Vol.15 No.2, 1986, pp-107115).
    The character portion analysis section 12 will be described next. The section 12 analyses the pattern of regions identified as character regions by the region analysis section 11. Analysis techniques are not particularly limited with this section 11. One technique is to utilise the previously identified circumscribed rectangles and their periodicity. Figure 4 outlines an example of a procedure thereof.
    The direction of a character string is first detected. The distance between characters in a character string is usually smaller than that between character strings. First, the distances between circumscribed rectangles are identified (Step S201), and the direction, either horizontal or vertical, in which the average distance between the circumscribed rectangles is smaller is judged as the direction in which the characters are arranged (Step S202). That is, when the distance in the vertical direction is larger than that in the horizontal direction, it is judged that the characters are written horizontally and thus the distance between the character strings is identified as having a vertical periodicity (Step S203). Otherwise, it is judged that the characters 8 are written vertically and thus the distance between the character strings is identified as having a horizontal periodicity (Step S204).
    The size of a character is then calculated from the maximum values of the height and width of each circumscribed rectangle in the region (Step S205). As a result of the above processing, the attributes within each character region can be identified.
    The graphic portion analysis section 13 analyzes the regions judged as graphic regions by the region analysis section 11 and represents the line drawings therein in terms of vectors. Although it is possible to express all the detected line drawings in vectors, only long straight line segments, both horizontal and vertical, which can be considered as being important and thus repetitively usable in terms of a pattern of layout are identified. These line segments include: frame data, ruled lines, table forming frames consisting of vertical and horizontal straight lines, and column/row partitioning lines.
    Figure 5 shows an example of a procedure for the graphic portion analysis.
    one technique of identifying horizontal and vertical lines is such that black pixels are traced substantially horizontally and substantially vertically and that those exceeding predetermined length are selected (Steps S301, S302). The obtained horizontal and vertical lines are converted to vector data represented by data such as the start point/end point data and the width (Step S303). Among these vector-represented lines, any single line segment which stays alone or away from the others is R 9 judged as a row or a column partitioning line dependent upon orientation (Step S304). A portion comprised of a combination of a plurality of horizontal and vertical lines is judged as part of a table (Step S305), while a portion formed by a single rectangle with horizontal and vertical lines is deemed to be a graphic box (Step S306). Otherwise, the portions are considered as general graphics.
    The layout analysis is completed with the above processing, and the document images read by the image input section 2 are broken down into the character region, the image region, and the graphic region. The graphic region includes tables and lines. The character region additionally includes attributes such as the character size, the distance between the character strings, and the direction of the character strings. The layout generation instruction section 4 shown in Figure 1 instructs layout casting based on the above data to the layout casting section 5, so that the each region can be arranged as instructed.
    For example, if a document serving as a model including a character portion a, a bit map image portion b, a graphic portion c, a partitioning line d, and a table e as shown in Figure 6A is read by the image input section 2, then a layout analysis on this document generates a layout which is schematically shown in Figure 6B. In Figure 6B, reference character A designates a character region; B, an image region; C, a graphic region; D, a partitioning line; and E, a table structure. Since the respective regions identified by the layout analysis have been displayed on a screen of the display section 9, the user then specifies a region into which characters or graphics are entered via the keyboard/mouse 6. Thus, the user only has the operation of inputting the desired data into the corresponding regions via the keyboard/mouse 6 to create a document having the desired layout.
    To insert a bit map image directly into a document, the image data input from the image input section 2 may be sent to the content casting section 8 for its synthesis with the document.
    The user may edit the layout of the respective regions generated by the layout analysis as desired, and the contents may be laid out in the edited regions.
    While document creation is taken as an example of use of the document creation aid, it has other uses such as in the creation of pre-formatted documents, such as a slip.
    While, for tables, only the vertical and horizontal lines are reproduced based on the vector data obtained by the analysis in the above embodiment, data that indicate attributes such as rows and columns of tables may be output instead of vector data if the document creating device can generate and manage table structures.
    While the data identified in a character portion only are the size of characters, the distance between character strings, and the writing style, either vertical or horizontal, in the above embodiment, data such as the difference in calligraphic style or the difference in language, e.g. Japanese or English, may be identified and included as additional attributes.
    By arranging for respective characters to be recognised in a character region and for respective graphics to be recognised in a graphic region, then not only the layout T 11 data but also its contents can be re-usable.
    It is thus possible to generate a layout automatically based on the images read from a document. Therefore, when creating a document having an analogous layout, the user does not have to perform region setting and revising operations at all, or at least such operations are reduced into simpler ones, thereby improving document creation efficiency. In addition, it is no longer required to prepare or store documents with standard layouts in advance, thereby dispensing not only with the preparatory labour but also with a large capacity storage unit.
    12 CLAIMS 1.
    A document creation aid, comprising: image input means for reading an image of a first document serving as a model; layout analysis means for analyzing the image of the first document and for identifying the layout of the first document in respect of the position, size and at least one attribute of at least one region included within the first document; and layout generation instruction means for instructing regions to be set in a second document so that the layout of the second document is a substantial copy of the layout of the first document.
  2. 2. A document creation assist device for use in a document creating device which, when a document is created, defines regions which are different from one another in accordance with attributes of images included in said document and processes each of said regions differently, said document creation assist device comprising: an image input section for reading said document serving as a model as an image; a layout analysis section for judging attributes of said images read from said document and identifying layout data indicating the size, position, and attribute of each of said regions based on differences in said judged attributes; and a layout generation instruction section for instructing to set the same regions as those of said document serving as a model to a document to be created based on said identified layout data.
  3. 3. A document creation assist device according to t i 13 Claim 2, wherein said layout analysis section includes: a region analysis section for identifying a character region, a graphic region, and an image region from said images of said document; a character portion analysis section for analyzing an attribute of a character portion within said character region; and a graphic portion analysis section for identifying a line component within a graphic by analyzing a graphic portion within said graphic region and outputting said line component as vector data.
  4. 4. A method of formatting a second document from a first document, comprising the steps of analyzing an image of the first document to determine the relative size, relative position and at least one attribute of at least one region of the first document, and generating instructions for the layout of the second document such that the second document has substantially the same layout as that of the first document..
  5. 5. A document creation aid substantially as hereinbefore described with reference to and as illustrated in the accompanying drawings.
  6. 6. A method of formatting a document substantially as hereinbefore described with reference to the accompanying drawings.
    Published 1992 at The Patent Office. Concept House, Cardiff Road, Newport, Gwent NP9 I RH. Further copies may be obtained from Sales Branch, Unit 6, Nine Mile Point, Cwrnfelinfach, Cross Keys, Newport. NP1 7HZ. Printed by Multiplex techniques ltd, St Mary Cray, Kent.
GB9113488A 1990-06-28 1991-06-21 Document creation aid Expired - Lifetime GB2247803B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2172326A JPH0612540B2 (en) 1990-06-28 1990-06-28 Document creation support device

Publications (3)

Publication Number Publication Date
GB9113488D0 GB9113488D0 (en) 1991-08-07
GB2247803A true GB2247803A (en) 1992-03-11
GB2247803B GB2247803B (en) 1995-01-18

Family

ID=15939835

Family Applications (1)

Application Number Title Priority Date Filing Date
GB9113488A Expired - Lifetime GB2247803B (en) 1990-06-28 1991-06-21 Document creation aid

Country Status (3)

Country Link
JP (1) JPH0612540B2 (en)
DE (1) DE4121564C2 (en)
GB (1) GB2247803B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2313728A (en) * 1996-05-30 1997-12-03 Eastman Kodak Co Multiple page printing
US7493292B2 (en) * 2001-02-15 2009-02-17 Glenn Petkovsek System and a method for automating delivery of communication by a special service

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4330242A1 (en) * 1993-09-07 1995-03-09 Hell Ag Linotype Method and device for the electronic assembly of printed sheets
EP1259887A4 (en) 2000-01-25 2003-08-13 Vistaprint Usa Inc PRINT MANAGEMENT
FR2804231B1 (en) 2000-01-25 2002-11-08 Vistaprint Usa Inc CENTRALIZED PRINTING OF LOW-VOLUME COMMERCIAL DOCUMENTS ON MACHINES PREVIOUSLY LIMITED TO VERY LARGE PRINTS
US6728946B1 (en) 2000-10-31 2004-04-27 Franklin M. Schellenberg Method and apparatus for creating photolithographic masks
JP2006318142A (en) * 2005-05-11 2006-11-24 Fujitsu Ltd Paper layout method
US7542155B2 (en) 2006-09-25 2009-06-02 Vistaprint Technologies Limited Preparation of aggregate jobs for production
JP4781214B2 (en) * 2006-09-27 2011-09-28 株式会社沖データ Printing system and composite terminal device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07107694B2 (en) * 1984-08-31 1995-11-15 株式会社日立製作所 Document processor
JPH01185762A (en) * 1988-01-21 1989-07-25 Toshiba Corp document formatting device
JPH0214392A (en) * 1988-07-01 1990-01-18 Fuji Electric Co Ltd Document area analyzing device
JPH03290774A (en) * 1990-04-06 1991-12-20 Fuji Facom Corp Sentence area extracting device for document picture

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2313728A (en) * 1996-05-30 1997-12-03 Eastman Kodak Co Multiple page printing
US5808747A (en) * 1996-05-30 1998-09-15 Eastman Kodak Company Apparatus and method for production of signatures
GB2313728B (en) * 1996-05-30 2000-11-08 Eastman Kodak Co Apparatus and method for production of signatures
US7493292B2 (en) * 2001-02-15 2009-02-17 Glenn Petkovsek System and a method for automating delivery of communication by a special service

Also Published As

Publication number Publication date
DE4121564C2 (en) 1995-02-16
DE4121564A1 (en) 1992-01-09
JPH0460759A (en) 1992-02-26
JPH0612540B2 (en) 1994-02-16
GB9113488D0 (en) 1991-08-07
GB2247803B (en) 1995-01-18

Similar Documents

Publication Publication Date Title
US4608662A (en) Method for editing document
EP0864987B1 (en) Document processing method and apparatus, corresponding program and storage unit
JP2695844B2 (en) Document shaping device
US5734761A (en) Editing scanned document images using simple interpretations
JPH09171557A (en) Image processing method and apparatus
JP2004240750A (en) Image retrieval device
US8910038B2 (en) Apparatus and method for image separation, layout, and templating
KR100311083B1 (en) Document processing device
JPH06236367A (en) Control method for word processor
GB2247803A (en) Document creation aid
US6496198B1 (en) Color editing system
JPH02240782A (en) Graphic processor
US8533590B2 (en) Information processing apparatus and layout processing method
JP2004240751A (en) Image retrieval device
JP3674905B2 (en) Document editing device
JPH05342325A (en) Document processor and form register device therefor
JP2792037B2 (en) Table and document image editing device
JPH08202856A (en) Image processing method
JPH07107711B2 (en) Document image processing device
JPH0969098A (en) Document creation device
JP3264969B2 (en) Document creation device and document creation method
JP2800254B2 (en) Image single character processing device
JPH0731671B2 (en) Formula input editing method
JPH11185046A (en) Graphic editing apparatus, layout processing method, and storage medium
JP3347322B2 (en) Document processing apparatus and document processing method in the apparatus

Legal Events

Date Code Title Description
PE20 Patent expired after termination of 20 years

Expiry date: 20110620