JP2006279886A - Image-compositing method and image processing apparatus - Google Patents

Image-compositing method and image processing apparatus Download PDF

Info

Publication number
JP2006279886A
JP2006279886A JP2005099998A JP2005099998A JP2006279886A JP 2006279886 A JP2006279886 A JP 2006279886A JP 2005099998 A JP2005099998 A JP 2005099998A JP 2005099998 A JP2005099998 A JP 2005099998A JP 2006279886 A JP2006279886 A JP 2006279886A
Authority
JP
Japan
Prior art keywords
image
characters
area
document
background
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.)
Pending
Application number
JP2005099998A
Other languages
Japanese (ja)
Inventor
Hiroki Yoshida
宏樹 吉田
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.)
Konica Minolta Business Technologies Inc
Original Assignee
Konica Minolta Business Technologies Inc
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 Konica Minolta Business Technologies Inc filed Critical Konica Minolta Business Technologies Inc
Priority to JP2005099998A priority Critical patent/JP2006279886A/en
Publication of JP2006279886A publication Critical patent/JP2006279886A/en
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To detect automatically a source position which rearranges characters, by which the user does not need to specify, and arrange characters easily in the source position where a capability that the user's desire is high. <P>SOLUTION: This method is for compounding a first document image containing a background image, and a second document image containing characters and executes performs processing (#11) which extracts characters region included in the first document image, processing (#12) which deletes characters from the first document image and creates the background document image, processing (#13) which establishes a region comprising characters region of the first document image as a relocation region, and processing (#14) which rearranges characters contained in the second document image at a source position to the relocation region on the background document image. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、背景画像を含んだ原稿画像と文字を含んだ原稿画像とを合成する方法および画像処理装置に関する。   The present invention relates to a method and an image processing apparatus for combining a document image including a background image and a document image including characters.

近年において、コピー、スキャナ、FAX、およびネットワークプリンタなどの様々な機能が備わった、複合機またはMFPなどと呼ばれる画像処理装置が普及している。このような画像処理装置の機能の1つに、原稿(ドキュメント)を読み取った内容を別の用紙上に再配置してプリントする機能がある。   In recent years, image processing apparatuses called MFPs or MFPs that have various functions such as a copy, a scanner, a FAX, and a network printer have become widespread. As one of the functions of such an image processing apparatus, there is a function of rearranging and printing the content read from a document (document) on another sheet.

つまり、従来より、複数の原稿をスキャンし、スキャンした文字などを所定の用紙上に再配置する画像処理装置が知られている。例えば、特許文献1には、年賀状などの作成のために、定型文や住所氏名などの文字と背景画像(テンプレート画像)とを合成してプリントする技術が開示されている。また、特許文献2には、地図などにおいて、指標文字列からなる複数の枠図形が互いに重ならないように配置して編集する技術が開示されている。
特開平10−294854 特開平7−282074
That is, conventionally, an image processing apparatus that scans a plurality of originals and rearranges scanned characters on a predetermined sheet is known. For example, Patent Document 1 discloses a technique for combining and printing a character such as a fixed sentence or an address name and a background image (template image) to create a New Year's card or the like. Further, Patent Document 2 discloses a technique for arranging and editing a plurality of frame figures composed of index character strings so as not to overlap each other on a map or the like.
JP-A-10-294854 JP-A-7-282074

しかし、上に述べた特許文献1による場合には、文字などを背景画像上に配置する位置およびサイズをユーザ自らが指定しなければならず、その作業がユーザにとって煩わしく、利便性が悪い。その上、所定の用紙上の再配置領域に文字があった場合には、再配置によって文字が重なってしまい、不具合となってしまう。   However, in the case of Patent Document 1 described above, the user himself / herself has to specify the position and size at which characters and the like are arranged on the background image, which is cumbersome and inconvenient for the user. In addition, when there are characters in the rearrangement area on a predetermined sheet, the characters are overlapped due to the rearrangement, which causes a problem.

また、背景画像における空白領域を自動で検索し、検索した領域に文字などを再配置することも考えられるが、その場合にはユーザの希望とは異なった位置に配置されてしまう可能性が高い。   It is also possible to automatically search for a blank area in the background image and rearrange characters in the searched area, but in that case, there is a high possibility that it will be placed at a position different from the user's desire. .

また、特許文献2においては、指標文字列からなる複数の枠図形を互いに重ならないように再配置する技術のみが開示されており、文字を含んだ任意の原稿画像を種々の背景画像と合成することについては触れられていない。   Further, Patent Document 2 discloses only a technique for rearranging a plurality of frame figures composed of index character strings so as not to overlap each other, and an arbitrary document image including characters is synthesized with various background images. There is no mention of that.

本発明は、上述の問題に鑑みてなされたもので、文字を再配置する位置を自動的に検出するようにし、これによってユーザが指定する必要がなく、しかもユーザの希望する可能性の高い位置に容易に文字を配置するのできる画像合成方法および画像形成装置を提供することを目的とする。   The present invention has been made in view of the above-described problems, and automatically detects a position where a character is rearranged, so that it is not necessary for the user to specify the position, and the position that the user is likely to desire is high. An object of the present invention is to provide an image composition method and an image forming apparatus capable of easily arranging characters.

本発明に係る方法は、背景画像を含んだ第1原稿画像と文字を含んだ第2原稿画像とを合成する方法であって、前記第1原稿画像に含まれる文字領域を抽出する処理と、前記第1原稿画像から文字を削除して背景原稿画像を作成する処理と、前記第1原稿画像の前記文字領域を含む領域を再配置領域として設定する処理と、前記背景原稿画像上の前記再配置領域に対応する位置に前記第2原稿画像に含まれる文字を再配置する処理と、を実行する方法である。   A method according to the present invention is a method of combining a first document image including a background image and a second document image including characters, and a process of extracting a character region included in the first document image; A process of deleting a character from the first document image to create a background document image, a process of setting an area including the character region of the first document image as a rearrangement region, and the re-processing on the background document image And a process of rearranging characters included in the second document image at a position corresponding to the arrangement area.

前記第1原稿画像として複数の原稿画像を用いた場合には、複数の原稿のそれぞれについての文字領域を包括する領域を再配置領域として設定する。また、複数の原稿のそれぞれについて文字を削除して得た画像の論理和をとることによって前記背景原稿画像を作成する。   When a plurality of document images are used as the first document image, an area including a character area for each of the plurality of documents is set as a rearrangement area. Further, the background document image is created by taking the logical sum of the images obtained by deleting the characters for each of the plurality of documents.

また、前記文字の再配置に当たり、当該文字が前記再配置領域の幅方向にはみ出す場合に、当該文字が前記再配置領域の幅内に納まるように文字の桁数を低減して配置する。また、当該文字が前記再配置領域からはみ出す場合に、前記再配置領域内に納まるように当該文字を縮小して配置する。   Further, when rearranging the characters, when the characters protrude in the width direction of the rearrangement area, the characters are arranged with a reduced number of characters so that the characters fit within the width of the rearrangement area. In addition, when the character protrudes from the rearrangement region, the character is reduced and placed so as to fit in the rearrangement region.

そして、前記第2原稿画像に図形または写真が含まれる場合に、これら図形または写真を前記背景原稿画像上の空白領域に再配置して合成する。   When the second original image includes a graphic or a photograph, the graphic or the photo is rearranged in the blank area on the background original image and synthesized.

本発明に係る装置では、原稿用紙上の画像を読み取る画像読取り手段と、背景画像および文字を含んだ原稿用紙を前記画像読取り手段により読み取って得た画像を第1原稿画像として入力する第1入力手段と、文字を含んだ原稿用紙を前記画像読取り手段により読み取って得た画像を第2原稿画像として入力する第2入力手段と、前記第1原稿画像に含まれる文字領域を抽出する手段と、前記第1原稿画像から文字を削除して背景原稿画像を作成する手段と、前記第1原稿画像の前記文字領域を含む領域を再配置領域として設定する手段と、前記背景原稿画像上の前記再配置領域に対応する位置に前記第2原稿画像に含まれる文字を再配置する手段と、を有して構成される。   In the apparatus according to the present invention, an image reading unit that reads an image on a document sheet, and a first input that inputs an image obtained by reading the document sheet including a background image and characters by the image reading unit as a first document image. Means, second input means for inputting an image obtained by reading an original paper containing characters by the image reading means as a second original image, means for extracting a character area included in the first original image, Means for deleting a character from the first original image to create a background original image; means for setting an area including the character area of the first original image as a rearrangement area; Means for rearranging characters included in the second original image at a position corresponding to the arrangement area.

そして、前記第1原稿画像上において文字の再配置を禁止する領域を設定する手段を有する。   Then, the image forming apparatus includes means for setting a region for prohibiting the rearrangement of characters on the first document image.

本発明に係るコンピュータプログラムは、前記第1原稿画像に含まれる文字領域を抽出する処理と、前記第1原稿画像から文字を削除して背景原稿画像を作成する処理と、前記第1原稿画像の前記文字領域を含む領域を再配置領域として設定する処理と、前記背景原稿画像上の前記再配置領域に対応する位置に前記第2原稿画像に含まれる文字を再配置する処理とをコンピュータに実行させる。   The computer program according to the present invention includes a process of extracting a character area included in the first document image, a process of creating a background document image by deleting characters from the first document image, The computer executes processing for setting an area including the character area as a rearrangement area and processing for rearranging characters included in the second original image at a position corresponding to the rearrangement area on the background original image. Let

本発明によると、文字を再配置する位置が自動的に検出され、したがってユーザが再配置の位置を指定する必要がなく、利便性が高い。しかも、背景原稿を含む原稿画像の文字領域を含む領域を再配置領域として設定するので、ユーザの希望する可能性の高い位置に容易に文字を配置することができる。   According to the present invention, the position where the characters are rearranged is automatically detected, so that it is not necessary for the user to specify the position of the rearrangement, which is convenient. In addition, since the area including the character area of the original image including the background original is set as the rearrangement area, it is possible to easily arrange the character at a position that is highly likely to be desired by the user.

図1は本発明の一実施形態に係る画像処理装置1のハードウエアの構成の例を示す図、図2は画像処理装置1の機能的な構成の例を示す図、図3は画像処理装置1における合成処理の位置付けを示す図である。   1 is a diagram illustrating an example of a hardware configuration of an image processing apparatus 1 according to an embodiment of the present invention, FIG. 2 is a diagram illustrating an example of a functional configuration of the image processing apparatus 1, and FIG. 3 is an image processing apparatus. FIG.

本実施形態において、画像処理装置1は、コピー、ネットワークプリンティング、スキャナ、ファックス、およびドキュメントサーバなどの機能を集約した複合機(MPF)である。画像処理装置1は、LAN、インターネット、公衆回線、または専用線などの通信回線を介して、他の画像処理装置、端末装置、またはおよびFAX端末などと通信可能である。しかし、画像処理装置1は、このような形態の他、種々の形態を取りうる。例えば、入力された画像データに対して画像処理のみを行う専用機、または画像処理のプログラムをインストールしたパーソナルコンピュータなどの形態であってもよい。   In this embodiment, the image processing apparatus 1 is a multifunction peripheral (MPF) that integrates functions such as copying, network printing, scanner, fax, and document server. The image processing apparatus 1 can communicate with other image processing apparatuses, terminal devices, and FAX terminals via a communication line such as a LAN, the Internet, a public line, or a dedicated line. However, the image processing apparatus 1 can take various forms in addition to such a form. For example, a dedicated machine that performs only image processing on input image data, or a personal computer installed with an image processing program may be used.

図1に示すように、画像処理装置1は、処理ユニット(CPU)11、RAM12、ROM13、操作パネル14、スキャナユニット15、印刷ユニット16、ハードディスク17、およびネットワークインタフェース18などによって構成される。   As shown in FIG. 1, the image processing apparatus 1 includes a processing unit (CPU) 11, a RAM 12, a ROM 13, an operation panel 14, a scanner unit 15, a printing unit 16, a hard disk 17, a network interface 18, and the like.

本実施形態において、画像処理装置1は、背景用の原稿とコンテンツ用の原稿とをスキャナユニット15で読み取る。合成処理では、背景用の原稿から得た背景画像にコンテンツ用の原稿から得たコンテンツ(文字、図形、写真など)を自動的に再配置し合成する。合成処理によって得られた合成画像は、ファイルの形式でハードディスク17などに記憶され、記録媒体に書き込まれ、または回線を介して端末装置などに送信される。また、必要に応じて印刷ユニット16によって紙に印刷される。   In this embodiment, the image processing apparatus 1 reads a background document and a content document with the scanner unit 15. In the composition processing, content (characters, figures, photographs, etc.) obtained from the content original is automatically rearranged and synthesized on the background image obtained from the background original. The synthesized image obtained by the synthesizing process is stored in the hard disk 17 or the like in the form of a file, written to a recording medium, or transmitted to a terminal device or the like via a line. Further, it is printed on paper by the printing unit 16 as necessary.

図3に示すように、合成処理機能GSは、画像処理装置1において、書類管理を行うソフトウエアであるドキュメントマネジャDMと連携して機能する。背景画像を含む第1原稿画像FD1およびコンテンツを含む第2原稿画像FD2が読み取られてドキュメントマネジャDMに入力され、合成処理を含む種々の処理を経て、ドキュメントファイルDFとして出力される。   As shown in FIG. 3, the composition processing function GS functions in the image processing apparatus 1 in cooperation with a document manager DM that is software for document management. The first document image FD1 including the background image and the second document image FD2 including the content are read and input to the document manager DM, and output as a document file DF through various processes including a composition process.

さて、操作パネル14は、ディスプレイおよび複数の操作ボタンなどによって構成される。操作ボタンが押下されると、その操作ボタンを示す信号が処理ユニット11に送信される。ディスプレイは、この画像処理装置1を操作するユーザに対してメッセージまたは指示を与えるための画面、ユーザが設定内容および処理内容を入力するための画面、および画像処理装置1で形成されまたは合成された画像および処理の結果を示す画面などを表示する。本実施形態では、ディスプレイとして、タッチパネルが用いられる。したがって、ディスプレイは、ユーザが指で触れたタッチパネル上の位置を検知し、検知結果を示す信号を処理ユニット11に送信する機能を備えている。このように、操作パネル14は、画像処理装置1を直接操作するユーザのためのユーザインタフェースの役割を果たしている。   The operation panel 14 includes a display and a plurality of operation buttons. When the operation button is pressed, a signal indicating the operation button is transmitted to the processing unit 11. The display is formed or combined with a screen for giving a message or an instruction to a user who operates the image processing apparatus 1, a screen for the user to input setting contents and processing contents, and the image processing apparatus 1. A screen showing images and processing results is displayed. In the present embodiment, a touch panel is used as the display. Therefore, the display has a function of detecting a position on the touch panel touched by the user with a finger and transmitting a signal indicating the detection result to the processing unit 11. As described above, the operation panel 14 serves as a user interface for a user who directly operates the image processing apparatus 1.

なお、ユーザが遠隔地から画像処理装置1を使用することができるようにするために、これに接続される端末装置には、画像処理装置1を制御するためのドライバおよび画像処理装置1に処理条件などを指定するためのソフトウェアがインストールされている。そのような端末装置として、パーソナルコンピュータまたはワークステーションなどが用いられる。   In order to allow the user to use the image processing apparatus 1 from a remote place, a terminal device connected to the terminal apparatus includes a driver for controlling the image processing apparatus 1 and processing performed by the image processing apparatus 1. Software for specifying conditions is installed. A personal computer or a workstation is used as such a terminal device.

スキャナユニット15は、原稿送り部および画像読取り部などを備えており、原稿の用紙(以下、単に「原稿」と記載することがある)に描かれている文字、図形、写真などの画像を光学的に読み取って画像データを生成する。なお、画像データのことを単に「画像」と記載することがある。   The scanner unit 15 includes a document feeding unit, an image reading unit, and the like, and optically images images such as characters, figures, and photographs drawn on a document sheet (hereinafter sometimes simply referred to as “document”). Read image data to generate image data. Note that image data may be simply referred to as “image”.

印刷ユニット16は、給紙部、排紙部、および駆動系などを備えており、スキャナユニット15で読み取った画像、その画像に基づいて合成した画像、その他の画像などを用紙に印刷する。   The printing unit 16 includes a paper feed unit, a paper discharge unit, a drive system, and the like, and prints an image read by the scanner unit 15, an image synthesized based on the image, other images, and the like on paper.

ネットワークインタフェース18は、端末装置やFAX端末などと通信を行うための装置である。ネットワークインタフェース18として、NIC(Network Interface Card)、モデム、またはTA(Terminal Adapter)などが用いられる。   The network interface 18 is a device for communicating with a terminal device, a FAX terminal, or the like. As the network interface 18, a NIC (Network Interface Card), a modem, a TA (Terminal Adapter), or the like is used.

ハードディスク17には、処理のために必要な種々の記憶領域が割り当てられる。ハードディスク17には、上に述べたコピー機能などの基本的な機能、種々のアプリケーション機能、および図2に示す各部の機能を実現するためのプログラムおよびデータなどがインストールされている。プログラムまたはデータの一部または全部をROM13に記憶させておいてもよい。プログラムおよびデータは、必要に応じてRAM12にロードされ、処理ユニット11によってプログラムが実行される。または、これらの機能の一部または全部を、ソフトウェアではなく、プロセッサ(制御用回路)などによってハードウェア的に実現することも可能である。   Various storage areas required for processing are allocated to the hard disk 17. The hard disk 17 is installed with basic functions such as the copy function described above, various application functions, and programs and data for realizing the functions of the units shown in FIG. Part or all of the program or data may be stored in the ROM 13. The program and data are loaded into the RAM 12 as necessary, and the program is executed by the processing unit 11. Alternatively, some or all of these functions may be realized by hardware, not by software, but by a processor (control circuit) or the like.

図2に示すように、画像処理装置1の処理ユニット11には、合成処理機能GSを実現するために、第1入力部21、第2入力部22、文字領域抽出部23、再配置領域設定部24、背景原稿画像作成部25、空白領域抽出部26、文字抽出部27、文字再配置部28、図形抽出部29、図形再配置部30、および禁止領域設定部31などが形成される。   As shown in FIG. 2, the processing unit 11 of the image processing apparatus 1 includes a first input unit 21, a second input unit 22, a character region extraction unit 23, a rearrangement region setting in order to realize the composition processing function GS. A section 24, a background document image creation section 25, a blank area extraction section 26, a character extraction section 27, a character rearrangement section 28, a graphic extraction section 29, a graphic rearrangement section 30, and a prohibited area setting section 31 are formed.

第1入力部21は、背景画像および文字を含んだ原稿がスキャナユニット15で読み取られたときに、得られた画像を第1原稿画像FD1として入力する。なお、同じ背景画像で異なる文字を含んだ同じサイズの原稿が複数枚読み取られることがある。その場合には、複数の原稿の全部またはそれぞれが第1原稿画像FD1となる。   The first input unit 21 inputs an obtained image as a first document image FD1 when a document including a background image and characters is read by the scanner unit 15. Note that a plurality of documents of the same size containing different characters in the same background image may be read. In that case, all or each of the plurality of documents becomes the first document image FD1.

第2入力部22は、文字を含んだ原稿がスキャナユニット15で読み取られたときに、得られた画像を第2原稿画像FD2として入力する。なお、スキャナユニット15で読み取られた画像が第1原稿画像FD1または第2原稿画像FD2のいずれに対応するかについては、ユーザが操作パネル14を操作して指示することが可能である。   The second input unit 22 inputs the obtained image as the second document image FD2 when the document including characters is read by the scanner unit 15. Note that the user can operate the operation panel 14 to instruct whether the image read by the scanner unit 15 corresponds to the first document image FD1 or the second document image FD2.

文字領域抽出部23は、第1原稿画像FD1に含まれる文字領域MRを抽出する。文字領域MRを抽出する方法それ自体については、種々の公知の手法を用いることが可能である。第1原稿画像FD1が複数あるときは、それぞれについて文字領域MRが抽出される。   The character area extraction unit 23 extracts a character area MR included in the first document image FD1. As the method for extracting the character region MR itself, various known methods can be used. When there are a plurality of first document images FD1, a character region MR is extracted for each.

再配置領域設定部24は、第1原稿画像FD1の文字領域MRを含む領域を再配置領域SRとして設定する。つまり、再配置領域SRは、文字領域MRを含み、文字領域MRよりも広い領域である。第1原稿画像FD1が複数あったときは、それらの全ての文字領域MRを包括する領域を再配置領域SRとして設定する。再配置領域SRは、通常、矩形の領域として設定される。しかし、矩形以外の形状の領域としてもよい。   The rearrangement area setting unit 24 sets an area including the character area MR of the first document image FD1 as the rearrangement area SR. That is, the rearrangement region SR includes the character region MR and is a region wider than the character region MR. When there are a plurality of first document images FD1, an area including all the character areas MR is set as the rearrangement area SR. The rearrangement region SR is normally set as a rectangular region. However, a region other than a rectangle may be used.

背景原稿画像作成部25は、第1原稿画像FD1から文字を削除して背景原稿画像HKを作成する。第1原稿画像FD1が複数あるときは、第1原稿画像FD1のそれぞれについて文字を削除して得た画像の論理和をとる。論理和をとることによって、文字抜けの部分が背景画像で埋められる。なお、文字を削除する方法それ自体については、種々の公知の手法を用いることが可能である。   The background document image creation unit 25 creates a background document image HK by deleting characters from the first document image FD1. When there are a plurality of first document images FD1, the logical sum of images obtained by deleting characters for each of the first document images FD1 is calculated. By taking the logical sum, the missing part is filled with the background image. It should be noted that various known methods can be used for the method itself for deleting characters.

空白領域抽出部26は、背景原稿画像HK上の空白領域KRを抽出する。空白領域KRは、再配置領域SRおよび背景画像の領域を除外した領域である。また、再配置領域SRを除外した領域を空白領域KRとし、背景画像の領域を禁止領域NRとして設定してもよい。また、背景画像の一部の領域を禁止領域NRとして設定する場合には、再配置領域SRおよび禁止領域NRとして設定されない背景画像の領域を除外した領域を空白領域KRとすればよい。   The blank area extraction unit 26 extracts a blank area KR on the background document image HK. The blank area KR is an area excluding the rearrangement area SR and the background image area. Alternatively, the area excluding the rearrangement area SR may be set as the blank area KR, and the background image area may be set as the prohibited area NR. Further, when a partial area of the background image is set as the prohibited area NR, the area excluding the rearrangement area SR and the background image area not set as the prohibited area NR may be set as the blank area KR.

文字抽出部27は、第2原稿画像FD2に含まれる文字(文字列を含む)を抽出する。   The character extraction unit 27 extracts characters (including character strings) included in the second document image FD2.

文字再配置部28は、背景原稿画像HK上の再配置領域SRに対応する位置に、第2原稿画像FD2に含まれる文字を再配置する。これによって合成画像が作成される。文字の再配置に際しては、スライド処理、折り返し処理、または縮小処理などが行われる。   The character rearrangement unit 28 rearranges the characters included in the second original image FD2 at a position corresponding to the rearrangement region SR on the background original image HK. As a result, a composite image is created. When the characters are rearranged, slide processing, folding processing, reduction processing, or the like is performed.

スライド処理は、第2原稿画像FD2の最初の文字が再配置領域SR内の始点位置に一致するように、文字を平行移動させる処理である。この処理によって文字の開始位置が再配置領域SRに一致するが、文字が再配置領域SRからはみ出すことがある。折り返し処理は、文字が再配置領域SRの幅方向にはみ出す場合に、当該文字が再配置領域SRの幅内に納まるように文字の桁数を低減して配置する処理である。つまり、折り返し処理では、再配置領域SRの幅内に納まるように文字列を端で折り返す。縮小処理は、第2原稿画像FD2の文字が再配置領域SRの幅方向または高さ方向、若しくは両方向にはみ出す場合に、再配置領域SR内に納まるように当該文字の大きさおよび間隔を縮小して配置する処理である。   The slide process is a process of translating characters so that the first character of the second document image FD2 coincides with the start point position in the rearrangement region SR. With this process, the character start position coincides with the rearrangement region SR, but the character may protrude from the rearrangement region SR. The folding process is a process of arranging characters with a reduced number of characters so that the characters fit within the width of the rearrangement region SR when the characters protrude in the width direction of the rearrangement region SR. In other words, in the folding process, the character string is folded at the end so as to be within the width of the rearrangement region SR. In the reduction process, when the characters of the second document image FD2 protrude in the width direction, the height direction, or both directions of the rearrangement region SR, the size and interval of the characters are reduced so as to fit in the rearrangement region SR. It is a process to arrange.

図形抽出部29は、第2原稿画像FD2に図形または写真(以下「図形など」と記載することがある)が含まれる場合に、これら図形などを抽出する。図形再配置部30は、背景原稿画像HK上の空白領域KRに対応する位置に、第2原稿画像FD2に含まれる図形などを再配置する。その場合に、第2原稿画像FD2上における図形などの位置が優先される。これによって、最終の合成画像が作成される。図形などの再配置に際しては、スライド処理または縮小処理などの処理が行われる。これらの処理の内容は文字の場合と同様である。   When the second document image FD2 includes a graphic or a photograph (hereinafter sometimes referred to as “graphic or the like”), the graphic extraction unit 29 extracts the graphic or the like. The graphic rearrangement unit 30 rearranges the graphic or the like included in the second original image FD2 at a position corresponding to the blank area KR on the background original image HK. In that case, the position of a figure or the like on the second document image FD2 is given priority. As a result, a final composite image is created. When rearranging a figure or the like, processing such as slide processing or reduction processing is performed. The contents of these processes are the same as in the case of characters.

禁止領域設定部31は、ユーザの操作指示などに応じて、背景原稿画像HK上で文字または図形などの再配置を禁止する禁止領域NRを設定する。禁止領域NRが設定された場合に、第1原稿画像FD1上で禁止領域NRに対応する位置にある文字などを背景画像と見做すようにしてもよい。また、禁止領域NRが設定された場合に、第2原稿画像FD2上で禁止領域NRに対応する位置にある文字などを再配置しないようにしてもよい。   The prohibited area setting unit 31 sets a prohibited area NR that prohibits rearrangement of characters or figures on the background document image HK in accordance with a user operation instruction or the like. When the prohibited area NR is set, a character or the like at a position corresponding to the prohibited area NR on the first document image FD1 may be regarded as a background image. In addition, when the prohibited area NR is set, characters or the like at positions corresponding to the prohibited area NR on the second document image FD2 may not be rearranged.

禁止領域NRを設定するに当たって、例えば矩形の禁止領域NRを設定するには、第1原稿画像FD1上または背景原稿画像HK上における禁止領域NRの始点(左上端の点)および終点(右下端の点)の座標を、ユーザが数値で指定する。また、始点および終点を画面上で指定することとしてもよい。または、禁止領域NRとして設定する色を指定しておき、指定した色と第1原稿画像FD1から読み取った色とが一致する領域を禁止領域NRとしてもよい。禁止領域NRとして、例えば、レターのヘッダおよびフッタの領域が設定される。禁止領域NRが設定された場合には、背景原稿画像HK上の禁止領域NRに、図形などの再配置が行われない。   In setting the prohibited area NR, for example, in order to set the rectangular prohibited area NR, the start point (upper left corner point) and end point (lower right corner point) of the prohibited area NR on the first document image FD1 or the background document image HK. The user designates the coordinates of the points with numerical values. Also, the start point and end point may be designated on the screen. Alternatively, a color to be set as the prohibited area NR may be specified, and an area where the specified color matches the color read from the first document image FD1 may be set as the prohibited area NR. For example, a letter header and a footer area are set as the prohibited area NR. When the prohibited area NR is set, the rearrangement of figures and the like is not performed in the prohibited area NR on the background document image HK.

次に、図4〜図9を参照して画像処理装置1による合成処理の具体例を説明する。   Next, a specific example of the composition process by the image processing apparatus 1 will be described with reference to FIGS.

図4は合成処理機能GSにおける基本的な処理の例を説明する図、図5は合成処理機能GSにおける図形などの再配置処理の例を説明する図、図6は禁止領域NRを設定した場合の処理の例を説明する図、図7は文字の再配置処理の例を説明する図、図8は複数の第1原稿画像FD1から再配置領域SRを設定する方法の例を説明する図、図9は複数の第1原稿画像FD1から背景原稿画像HKを作成する方法の例を説明する図である。   FIG. 4 is a diagram for explaining an example of basic processing in the composition processing function GS, FIG. 5 is a diagram for explaining an example of rearrangement processing for graphics and the like in the composition processing function GS, and FIG. 6 is a case where a prohibited area NR is set. FIG. 7 is a diagram for explaining an example of character rearrangement processing. FIG. 8 is a diagram for explaining an example of a method for setting the rearrangement region SR from a plurality of first document images FD1. FIG. 9 is a diagram for explaining an example of a method for creating a background document image HK from a plurality of first document images FD1.

図4(A)に示すように、背景画像用の用紙PH1には第1原稿画像FD11が描かれており、コンテンツ用の用紙PM1,2には第2原稿画像FD21,22が描かれている。第1原稿画像FD11には、その上部と下部にラインLK1,2が描かれ、それらの間に2グループの文字(文字列)MK1,2が描かれている。第2原稿画像FD21,22には、それぞれ、2グループの文字(文字列)MJ1,2、MK3,4が描かれている。   As shown in FIG. 4A, the first original image FD11 is drawn on the background image paper PH1, and the second original images FD21 and 22 are drawn on the content papers PM1 and PM2. . In the first document image FD11, lines LK1 and LK2 are drawn at the top and bottom, and two groups of characters (character strings) MK1 and MK2 are drawn between them. Two groups of characters (character strings) MJ1, 2 and MK3, 4 are drawn on the second document images FD21, 22 respectively.

図4(B)に示すように、第1原稿画像FD11からは、文字MK1,2が削除され、ラインLK1,2により構成される背景原稿画像HK1が作成される。この処理は、第1原稿画像FD11から文字領域MR1,2を抽出することによって行われる。また、第1原稿画像FD11の文字MK1,2についての文字領域MR1,2に基づいて、再配置領域SR1,2が設定される。   As shown in FIG. 4B, characters MK1 and MK2 are deleted from the first document image FD11, and a background document image HK1 composed of lines LK1 and LK2 is created. This process is performed by extracting the character areas MR1 and MR2 from the first document image FD11. Further, the rearrangement regions SR1 and SR2 are set based on the character regions MR1 and MR2 for the characters MK1 and MK2 of the first document image FD11.

図4(C)に示すように、背景原稿画像HK1上の再配置領域SR1,2に対応する位置に、第2原稿画像FD21,22に含まれる文字MJ1,2、MK3,4をそれぞれ再配置することによって、2ページ分の合成画像GF1,2が作成される。合成画像GF1には、ラインLK1,2、および文字MJ1,2が含まれ、合成画像GF2には、ラインLK3,4、および文字MJ3,4が含まれている。このように、各ページの合成画像GF1,2には、用紙PH1の背景画像である2本のラインLK1,2が共通の背景画像として描かれることとなる。   As shown in FIG. 4C, the characters MJ1, 2, MK3, 4 included in the second document images FD21, 22 are rearranged at positions corresponding to the rearrangement regions SR1, 2 on the background document image HK1, respectively. As a result, two pages of composite images GF1 and GF2 are created. The composite image GF1 includes lines LK1 and 2 and characters MJ1 and MJ2, and the composite image GF2 includes lines LK3 and 4 and characters MJ3 and 4. Thus, the two lines LK1 and LK2, which are the background images of the paper PH1, are drawn as a common background image in the combined images GF1 and GF2 of each page.

このように、第1原稿画像FD11から背景画像が抽出され、また、文字MJ1〜4を再配置する位置が自動的に検出される。したがって、再配置の位置をユーザが指定する必要がなく、利便性に優れる。しかも、合成画像GF1,2において、コンテンツ用の用紙PM1,2の文字MJ1〜4が、背景画像用の用紙PH1の文字領域MRと同じ領域である再配置領域SR1,2にそれぞれ描かれるので、ユーザにとっては文字MJ1〜4の再配置される位置が予測でき、ユーザの希望と異なってしまうおそれは極めて低い。   As described above, the background image is extracted from the first document image FD11, and the positions where the characters MJ1 to MJ4 are rearranged are automatically detected. Therefore, it is not necessary for the user to specify the position of rearrangement, which is excellent in convenience. In addition, in the composite images GF1 and 2, the characters MJ1 to MJ4 of the content sheets PM1 and PM2 are respectively drawn in the rearrangement areas SR1 and SR2, which are the same area as the character area MR of the background image sheet PH1. For the user, the positions where the characters MJ1 to MJ4 are rearranged can be predicted, and the possibility that the characters MJ1 to MJ4 will be different from the user's wish is extremely low.

図5(A)に示すように、背景画像用の用紙PH2の第1原稿画像FD12には、さらに、図形ZK1が描かれている。コンテンツ用の用紙PM3,4の第2原稿画像FD23,24には、さらに、図形ZJ1,2が描かれている。   As shown in FIG. 5A, a graphic ZK1 is further drawn on the first original image FD12 of the background image paper PH2. On the second original images FD23 and FD of the content sheets PM3 and PM4, graphics ZJ1 and ZJ2 are further drawn.

図5(B)に示すように、第1原稿画像FD12からは、文字MK1,2が削除され、ラインLK1,2および図形ZK1により構成される背景原稿画像HK2が作成される。また、第1原稿画像FD12の文字MK1,2についての文字領域MR1,2に基づいて、再配置領域SR1,2が設定される。再配置領域SR1,2および図形ZK1の領域を除いた領域が、空白領域KRとして抽出される。   As shown in FIG. 5B, the characters MK1 and MK2 are deleted from the first document image FD12, and a background document image HK2 including lines LK1 and 2 and a graphic ZK1 is created. Further, the rearrangement regions SR1 and SR2 are set based on the character regions MR1 and MR2 for the characters MK1 and M2 of the first document image FD12. A region excluding the rearrangement regions SR1 and SR2 and the region of the graphic ZK1 is extracted as a blank region KR.

図5(C)に示すように、背景原稿画像HK2上の再配置領域SR1,2に対応する位置に、文字MJ1,2、MK3,4が再配置され、合成画像GF3,4が作成される。また、第2原稿画像FD23の図形ZJ1は、空白領域KR1における元と同じ位置に配置され、第2原稿画像FD24の図形ZJ2は、空白領域KR1における元と同じ位置に配置される。その結果、各ページの合成画像GF3,4には、用紙PH2の背景画像である2本のラインLK1,2および図形ZK1が共通の背景画像として描かれることとなる。   As shown in FIG. 5C, the characters MJ1, 2, MK3, 4 are rearranged at positions corresponding to the rearrangement regions SR1, 2 on the background original image HK2, and composite images GF3, 4 are created. . The graphic ZJ1 of the second original image FD23 is arranged at the same position as the original in the blank area KR1, and the graphic ZJ2 of the second original image FD24 is arranged at the same position as the original in the blank area KR1. As a result, the two lines LK1 and LK2 and the figure ZK1 which are background images of the paper PH2 are drawn as a common background image in the composite images GF3 and GF of each page.

図6(A)に示すように、背景画像用の用紙PH3の第1原稿画像FD13には、禁止領域NR1,2が設定される。第2原稿画像FD25,26には、その下端部または上端部に、文字MJ5,6が描かれている。図6(B)に示すように、第1原稿画像FD13からは、ラインLK1,2および図形ZK2〜4により構成される背景原稿画像HK3が作成される。   As shown in FIG. 6A, forbidden areas NR1 and NR2 are set in the first original image FD13 of the background image paper PH3. In the second document image FD25, 26, characters MJ5, 6 are drawn at the lower end or the upper end. As shown in FIG. 6B, from the first document image FD13, a background document image HK3 composed of lines LK1, 2 and figures ZK2-4 is created.

図6(C)に示すように、背景原稿画像HK3上の再配置領域SR1,2に対応する位置に、文字MJ1,2、MK3,4が再配置され、合成画像GF5,6が作成される。合成画像GF5,6では、禁止領域NR1,2として設定された領域に対しては、文字MJ5,6が再配置されていない。これは、禁止領域NR1,2が、第2原稿画像FD25,26に対して、その領域にある文字または図形などを再配置しないように機能したからである。また、合成画像GF5,6には、ラインLK1,2のそれぞれ上下に、第1原稿画像FD13において描かれていた文字MK3,4が描かれている。これは、禁止領域NR1,2が、第1原稿画像FD13に対して、その領域にある文字または図形などを背景画像と見做したからである。   As shown in FIG. 6C, the characters MJ1, 2, MK3, 4 are rearranged at positions corresponding to the rearrangement regions SR1, 2 on the background original image HK3, and the composite images GF5, 6 are created. . In the composite images GF5 and 6, the characters MJ5 and 6 are not rearranged in the areas set as the prohibited areas NR1 and NR2. This is because the prohibited areas NR1 and NR2 function so as not to rearrange characters or graphics in the areas of the second document images FD25 and 26. In the combined images GF5, 6, characters MK3, 4 drawn in the first original image FD13 are drawn above and below the lines LK1, 2, respectively. This is because the prohibited areas NR1 and NR2 regard the first document image FD13 as characters or graphics in the area as a background image.

図7において、図7(A)はスライド処理、図7(B)は折り返し処理、図7(C)は縮小処理の例を示し、それぞれ、左側が処理前、右側が処理後を示す。   In FIG. 7, FIG. 7 (A) shows an example of slide processing, FIG. 7 (B) shows an example of folding processing, and FIG. 7 (C) shows an example of reduction processing.

図7(A)に示すように、スライド処理では、第2原稿画像FD2の最初の文字MJが再配置領域SR内の左端の内側に一致するように、文字MJを平行移動させる。図7(B)に示すように、折り返し処理では、文字MJが再配置領域SRの幅方向にはみ出さないように、文字MJの桁数を低減して折り返す。図7(C)に示すように、縮小処理では、第2原稿画像FD2の文字MJが再配置領域SRの内側に完全に納まるように、文字MJの大きさおよび間隔を縮小する。   As shown in FIG. 7A, in the slide process, the character MJ is translated so that the first character MJ of the second document image FD2 matches the inside of the left end in the rearrangement region SR. As shown in FIG. 7B, in the folding process, the character MJ is folded with a reduced number of digits so that the character MJ does not protrude in the width direction of the rearrangement region SR. As shown in FIG. 7C, in the reduction process, the size and interval of the character MJ are reduced so that the character MJ of the second document image FD2 is completely within the rearrangement region SR.

図8(A)に示すように、3枚の背景画像用の用紙PH4〜6には、共通の背景画像であるラインLK1,2、および、それぞれ内容および位置の異なる文字MK5〜10が描かれている。図8(B)に示すように、図8(A)の3つの第1原稿画像FD1から、3つの文字領域MR3〜5が得られる。図8(C)に示すように、これら3つの文字領域MR3〜5が互いに重ねられ、図8(D)に示すように、それらの全体を包括する領域、つまり文字領域MR3〜5の論理和をとって領域を含む矩形の領域が、再配置領域SRとして設定される。   As shown in FIG. 8A, lines LK1 and LK2 which are common background images and characters MK5 to MK10 having different contents and positions are drawn on the three background image sheets PH4 to PH6. ing. As shown in FIG. 8B, three character regions MR3 to MR5 are obtained from the three first document images FD1 shown in FIG. As shown in FIG. 8C, these three character regions MR3 to MR5 are overlapped with each other, and as shown in FIG. 8D, the region including them as a whole, that is, the logical sum of the character regions MR3 to MR5. A rectangular area including the area is set as the rearrangement area SR.

図9(A)に示すように、3枚の背景画像用の用紙PH7〜9には、共通の背景画像である図形ZK5,6が描かれている。また、これら図形ZK5,6に重なって文字MKが描かれている。図9(B)に示すように、図9(A)の3つの第1原稿画像FD1から、それぞれ文字MKを削除する。この場合に、それぞれの図形ZK5,6には、文字MKの跡が白抜きとなって残る。図9(C)に示すように、図9(B)の3つの画像を重ね、それらの論理和をとることによって背景原稿画像HKを作成する。これによって、文字MKの跡がほぼ消えて、綺麗な背景原稿画像HKが得られる。   As shown in FIG. 9A, on the three background image papers PH7 to 9, graphics ZK5 and 6 which are common background images are drawn. In addition, a character MK is drawn on these figures ZK5 and ZK6. As shown in FIG. 9B, the character MK is deleted from each of the three first document images FD1 shown in FIG. In this case, the traces of the characters MK remain white on the figures ZK5 and ZK6. As shown in FIG. 9C, the background image HK is created by superimposing the three images of FIG. 9B and taking the logical sum of them. As a result, the trace of the character MK almost disappears and a beautiful background document image HK is obtained.

次に、画像処理装置1における合成処理をフローチャートを参照して説明する。   Next, a composition process in the image processing apparatus 1 will be described with reference to a flowchart.

図10は画像処理装置1における合成処理の概略を示すフローチャート、図11は合成処理を詳しく示すフローチャートである。   FIG. 10 is a flowchart showing an outline of the composition process in the image processing apparatus 1, and FIG. 11 is a flowchart showing the composition process in detail.

図10において、まず、第1原稿画像FD1に含まれる文字領域MRを抽出する(#11)。第1原稿画像FD1から文字MKを削除して背景原稿画像HKを作成する(#12)。第1原稿画像FD1の文字領域MRを含む領域を再配置領域SRとして設定する(#13)。背景原稿画像HK上の再配置領域SRに対応する位置に第2原稿画像FD2に含まれる文字MJを再配置する(#14)。なお、これらの順序は異なってもよい。   In FIG. 10, first, a character region MR included in the first document image FD1 is extracted (# 11). Character MK is deleted from first document image FD1 to create background document image HK (# 12). An area including the character area MR of the first document image FD1 is set as the rearrangement area SR (# 13). The characters MJ included in the second original image FD2 are rearranged at positions corresponding to the rearrangement region SR on the background original image HK (# 14). Note that these orders may be different.

図11において、背景画像となる複数の第1原稿画像FD1を入力する(#21)。また、コンテンツ画像である複数の第2原稿画像FD2を入力する(#30)。第1原稿画像FD1のページ数は「bpage」であり、第2原稿画像FD2のページ数は「cpage」である。変数i=1とする(#22)。iが「bpage」に等しくなるまで、ステップ#24〜29を繰り返す。   In FIG. 11, a plurality of first document images FD1 serving as background images are input (# 21). Also, a plurality of second document images FD2 which are content images are input (# 30). The number of pages of the first document image FD1 is “bpage”, and the number of pages of the second document image FD2 is “cpage”. The variable i is set to 1 (# 22). Steps # 24 to 29 are repeated until i becomes equal to “bpage”.

ステップ#24では、第1原稿画像FD1について、文字、図形、写真の各領域を分割する。そして、文字領域MRから、再配置領域SRを決定する(#25)。決定した再配置領域SRをハードディスク17のデータベースに格納する(#26)。第1原稿画像FD1(背景画像)から文字MKを削除して背景原稿画像HKを作成する(#27)作成した背景原稿画像HKをデータベースに格納する(#28)。   In step # 24, the character, graphic, and photo areas are divided for the first original image FD1. Then, the rearrangement region SR is determined from the character region MR (# 25). The determined rearrangement area SR is stored in the database of the hard disk 17 (# 26). The character MK is deleted from the first document image FD1 (background image) to create a background document image HK (# 27). The created background document image HK is stored in the database (# 28).

ステップ#31では、データベースに格納された複数の再配置領域SRから、再配置領域SRの最大領域を取得し、これをあらためて再配置領域SRとする。そして、背景原稿画像HKの空白領域KRから、図形などを再配置する位置を決定する(#32)。背景原稿画像HKをデータベースから読み出し(#33)、変数p=0とする(#34)。pがcpageに等しくなるまで、ステップ#36〜40を繰り返す。   In Step # 31, the maximum area of the rearrangement area SR is acquired from the plurality of rearrangement areas SR stored in the database, and this is newly set as the rearrangement area SR. Then, from the blank area KR of the background document image HK, a position for rearranging a figure or the like is determined (# 32). The background original image HK is read from the database (# 33), and the variable p = 0 is set (# 34). Steps # 36-40 are repeated until p is equal to cpage.

ステップ#36では、第2原稿画像FD2について、文字、図形、写真の各領域を分割する。そして、文字MJの再配置に際してレイアウトを調整する(#37)。また、図形などの再配置に際してレイアウトを調整する(#38)。その後、再配置を行う(#39)。   In step # 36, the character, graphic, and photo areas are divided for the second original image FD2. Then, the layout is adjusted when the characters MJ are rearranged (# 37). Also, the layout is adjusted when rearranging the figures (# 38). Thereafter, rearrangement is performed (# 39).

上の実施形態によると、文字MKが書かれた既存の背景用の用紙PHを利用し、第1原稿画像FD1から背景画像が自動的に抽出され、文字MJを再配置する位置が自動的に検出される。そのため、再配置の位置をユーザが指定する煩わしさがない。しかも、文字MJが、ユーザの希望する可能性の高い位置に配置される。また、コンテンツを再配置する場合に、文字、図形、写真のように領域の属性に応じて再配置の処理を異ならせているので、それら属性に相応しい再配置が行われる。   According to the above embodiment, the background image PH is automatically extracted from the first original image FD1 using the existing background paper PH on which the character MK is written, and the position where the character MJ is rearranged is automatically set. Detected. Therefore, there is no inconvenience for the user to specify the position of rearrangement. In addition, the character MJ is arranged at a position that is highly likely to be desired by the user. Further, when the content is rearranged, the rearrangement process is made different according to the attributes of the areas such as characters, graphics, and photographs, so that the rearrangement suitable for those attributes is performed.

上の実施形態においては、背景用の用紙PHとコンテンツ用の用紙PMとを同じサイズとしたが、これらのサイズが異なる場合には、例えばサイズが合うようにいずれかを拡大しまたは縮小すればよい。また、サイズを合わさなくても不自然な合成画像GFとならない場合には、異なるサイズのままで合成処理を行ってもよい。   In the above embodiment, the background paper PH and the content paper PM have the same size. However, if these sizes are different, for example, one of them may be enlarged or reduced so that the sizes match. Good. Further, if the unnatural composite image GF is not obtained even if the sizes are not matched, the composition processing may be performed with different sizes.

その他、画像処理装置1の全体または各部の構造、形状、寸法、個数、材質、画像の内容、位置などは、本発明の趣旨に沿って適宜変更することができる。   In addition, the structure, shape, dimensions, number, material, image content, position, and the like of the whole or each part of the image processing apparatus 1 can be appropriately changed in accordance with the spirit of the present invention.

本発明は、複写機、複合機、その他の画像処理装置において、2種類の原稿を合成して合成画像を作成するために利用される。   The present invention is used in a copying machine, a multifunction machine, and other image processing apparatuses to create a composite image by combining two types of originals.

本発明に係る画像処理装置のハードウエアの構成の例を示す図である。It is a figure which shows the example of a hardware structure of the image processing apparatus which concerns on this invention. 画像処理装置の機能的な構成の例を示す図である。It is a figure which shows the example of a functional structure of an image processing apparatus. 画像処理装置における合成処理の位置付けを示す図である。It is a figure which shows the positioning of the synthetic | combination process in an image processing apparatus. 合成処理機能における基本的な処理の例を説明する図である。It is a figure explaining the example of the basic process in a synthetic | combination process function. 合成処理機能における図形などの再配置処理の例を説明する図である。It is a figure explaining the example of rearrangement processing, such as a figure, in a synthetic | combination processing function. 禁止領域を設定した場合の処理の例を説明する図である。It is a figure explaining the example of the process at the time of setting a prohibition area | region. 文字の再配置処理の例を説明する図である。It is a figure explaining the example of the rearrangement process of a character. 複数の第1原稿画像から再配置領域を設定する方法の例を説明する図である。It is a figure explaining the example of the method of setting a rearrangement area | region from several 1st original image. 複数の第1原稿画像から背景原稿画像を作成する方法を説明する図である。It is a diagram for explaining a method of creating a background document image from a plurality of first document images. 画像処理装置における合成処理の概略を示すフローチャートである。It is a flowchart which shows the outline of the synthetic | combination process in an image processing apparatus. 合成処理を詳しく示すフローチャートである。It is a flowchart which shows a synthetic | combination process in detail.

符号の説明Explanation of symbols

1 画像処理装置
11 処理ユニット(画像処理装置)
15 スキャナユニット(画像読取り手段)
21 第1入力部(第1入力手段)
22 第2入力部(第2入力手段)
23 文字領域抽出部(文字領域を抽出する手段)
24 再配置領域設定部(再配置領域として設定する手段)
25 背景原稿画像作成部(背景原稿画像を作成する手段)
27 文字抽出部(文字領域を抽出する手段)
28 文字再配置部(文字を再配置する手段)
31 禁止領域設定部(禁止する領域を設定する手段)
FD1 第1原稿画像
FD2 第2原稿画像
MR 文字領域
SR 再配置領域


DESCRIPTION OF SYMBOLS 1 Image processing apparatus 11 Processing unit (image processing apparatus)
15 Scanner unit (image reading means)
21 1st input part (1st input means)
22 2nd input part (2nd input means)
23 Character area extraction unit (means for extracting character area)
24 reallocation area setting unit (means for setting as reallocation area)
25 Background manuscript image creation unit (means for creating a background manuscript image)
27 Character extractor (means for extracting character area)
28 Character rearrangement section (means for rearranging characters)
31 Prohibited area setting section (means for setting prohibited area)
FD1 First original image FD2 Second original image MR Character area SR Relocation area


Claims (10)

背景画像を含んだ第1原稿画像と文字を含んだ第2原稿画像とを合成する方法であって、
前記第1原稿画像に含まれる文字領域を抽出する処理と、
前記第1原稿画像から文字を削除して背景原稿画像を作成する処理と、
前記第1原稿画像の前記文字領域を含む領域を再配置領域として設定する処理と、
前記背景原稿画像上の前記再配置領域に対応する位置に前記第2原稿画像に含まれる文字を再配置する処理と、
を実行することを特徴とする画像合成方法。
A method of combining a first original image including a background image and a second original image including characters,
Processing for extracting a character area included in the first document image;
Processing to delete a character from the first document image and create a background document image;
A process of setting an area including the character area of the first document image as a rearrangement area;
A process of rearranging characters included in the second document image at a position corresponding to the rearrangement region on the background document image;
A method of synthesizing images.
前記第1原稿画像として複数の原稿画像を用い、
複数の原稿のそれぞれについての文字領域を包括する領域を再配置領域として設定する、
請求項1記載の画像合成方法。
A plurality of document images are used as the first document image,
An area including the character area for each of a plurality of documents is set as a rearrangement area.
The image composition method according to claim 1.
前記第1原稿画像として複数の原稿画像を用い、
複数の原稿のそれぞれについて文字を削除して得た画像の論理和をとることによって前記背景原稿画像を作成する、
請求項1または2記載の画像合成方法。
A plurality of document images are used as the first document image,
Creating the background document image by taking the logical sum of images obtained by deleting characters for each of a plurality of documents;
The image composition method according to claim 1 or 2.
前記文字の再配置に当たり、当該文字が前記再配置領域の幅方向にはみ出す場合に、当該文字が前記再配置領域の幅内に納まるように文字の桁数を低減して配置する、
請求項1ないし3のいずれかに記載の画像合成方法。
In rearranging the characters, when the characters protrude in the width direction of the rearrangement area, the characters are arranged with a reduced number of digits so that the characters fit within the width of the rearrangement area.
The image composition method according to claim 1.
前記文字の再配置に当たり、当該文字が前記再配置領域からはみ出す場合に、前記再配置領域内に納まるように当該文字を縮小して配置する、
請求項1ないし3のいずれかに記載の画像合成方法。
In rearranging the characters, when the characters protrude from the rearrangement region, the characters are reduced and placed so as to fit in the rearrangement region.
The image composition method according to claim 1.
前記第2原稿画像に図形または写真が含まれる場合に、これら図形または写真を前記背景原稿画像上の空白領域に再配置して合成する、
請求項1ないし5のいずれかに記載の画像合成方法。
When a graphic or photo is included in the second original image, the graphic or the photo is rearranged in a blank area on the background original image and synthesized.
The image composition method according to claim 1.
背景画像を含んだ第1原稿画像と文字を含んだ第2原稿画像とを合成する画像処理装置であって、
前記第1原稿画像に含まれる文字領域を抽出する手段と、
前記第1原稿画像から文字を削除して背景原稿画像を作成する手段と、
前記第1原稿画像の前記文字領域を含む領域を再配置領域として設定する手段と、
前記背景原稿画像上の前記再配置領域に対応する位置に前記第2原稿画像に含まれる文字を再配置する手段と、
を有することを特徴とする画像処理装置。
An image processing apparatus that combines a first original image including a background image and a second original image including characters,
Means for extracting a character region included in the first document image;
Means for creating a background document image by deleting characters from the first document image;
Means for setting an area including the character area of the first document image as a rearrangement area;
Means for rearranging characters included in the second original image at a position corresponding to the rearrangement region on the background original image;
An image processing apparatus comprising:
複数の原稿用紙の画像を合成する画像処理装置であって、
原稿用紙上の画像を読み取る画像読取り手段と、
背景画像および文字を含んだ原稿用紙を前記画像読取り手段により読み取って得た画像を第1原稿画像として入力する第1入力手段と、
文字を含んだ原稿用紙を前記画像読取り手段により読み取って得た画像を第2原稿画像として入力する第2入力手段と、
前記第1原稿画像に含まれる文字領域を抽出する手段と、
前記第1原稿画像から文字を削除して背景原稿画像を作成する手段と、
前記第1原稿画像の前記文字領域を含む領域を再配置領域として設定する手段と、
前記背景原稿画像上の前記再配置領域に対応する位置に前記第2原稿画像に含まれる文字を再配置する手段と、
を有することを特徴とする画像処理装置。
An image processing apparatus for combining images of a plurality of document sheets,
Image reading means for reading an image on a document sheet;
First input means for inputting, as a first original image, an image obtained by reading an original paper including a background image and characters by the image reading means;
Second input means for inputting, as a second original image, an image obtained by reading original paper including characters by the image reading means;
Means for extracting a character region included in the first document image;
Means for creating a background document image by deleting characters from the first document image;
Means for setting an area including the character area of the first document image as a rearrangement area;
Means for rearranging characters included in the second original image at a position corresponding to the rearrangement region on the background original image;
An image processing apparatus comprising:
前記第1原稿画像上において文字の再配置を禁止する領域を設定する手段を有する、
請求項8記載の画像処理装置。
Means for setting an area for prohibiting the rearrangement of characters on the first document image;
The image processing apparatus according to claim 8.
背景画像を含んだ第1原稿画像と文字を含んだ第2原稿画像とを合成するためのコンピュータプログラムであって、
前記第1原稿画像に含まれる文字領域を抽出する処理と、
前記第1原稿画像から文字を削除して背景原稿画像を作成する処理と、
前記第1原稿画像の前記文字領域を含む領域を再配置領域として設定する処理と、
前記背景原稿画像上の前記再配置領域に対応する位置に前記第2原稿画像に含まれる文字を再配置する処理と、
をコンピュータに実行させるコンピュータプログラム。


A computer program for combining a first document image including a background image and a second document image including characters,
Processing for extracting a character area included in the first document image;
Processing to delete a character from the first document image and create a background document image;
A process of setting an area including the character area of the first document image as a rearrangement area;
A process of rearranging characters included in the second original image at a position corresponding to the rearrangement area on the background original image;
A computer program that causes a computer to execute.


JP2005099998A 2005-03-30 2005-03-30 Image-compositing method and image processing apparatus Pending JP2006279886A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005099998A JP2006279886A (en) 2005-03-30 2005-03-30 Image-compositing method and image processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005099998A JP2006279886A (en) 2005-03-30 2005-03-30 Image-compositing method and image processing apparatus

Publications (1)

Publication Number Publication Date
JP2006279886A true JP2006279886A (en) 2006-10-12

Family

ID=37214092

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005099998A Pending JP2006279886A (en) 2005-03-30 2005-03-30 Image-compositing method and image processing apparatus

Country Status (1)

Country Link
JP (1) JP2006279886A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009219056A (en) * 2008-03-12 2009-09-24 Ricoh Co Ltd Image output device, and method and program for outputting image
JP2015170980A (en) * 2014-03-06 2015-09-28 ブラザー工業株式会社 Image processor
JP7354853B2 (en) 2020-01-27 2023-10-03 ブラザー工業株式会社 Editing device and editing method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009219056A (en) * 2008-03-12 2009-09-24 Ricoh Co Ltd Image output device, and method and program for outputting image
US8284458B2 (en) 2008-03-12 2012-10-09 Ricoh Company, Ltd. Image processing apparatus and method for managing documents with output-prohibit area
JP2015170980A (en) * 2014-03-06 2015-09-28 ブラザー工業株式会社 Image processor
JP7354853B2 (en) 2020-01-27 2023-10-03 ブラザー工業株式会社 Editing device and editing method

Similar Documents

Publication Publication Date Title
US8326090B2 (en) Search apparatus and search method
US7663776B2 (en) Document processing apparatus and method
EP2264995B1 (en) Image processing apparatus, image processing method, and computer program
KR100788444B1 (en) Log data recording device and log data recording method
JP2004304803A (en) Method and apparatus for constituting multimedia documents
US8134739B2 (en) Information processing device for outputting reduced-size pages
JP2008028808A (en) Image composing apparatus, image composing apparatus control method and program
US8264738B2 (en) Image forming apparatus, image forming method, and computer-readable storage medium for image forming program
JP4101052B2 (en) Document management apparatus, document management apparatus control method, and computer program
JP6776906B2 (en) Scanner, scan control program, image data generation method
JP2006279886A (en) Image-compositing method and image processing apparatus
JP2019140555A (en) Control program, and information processing unit
JP5304546B2 (en) Image forming apparatus, image composition method, and program
JP4455358B2 (en) Image processing apparatus and method
JP2006262152A (en) Image forming method and device, and program
JP5205821B2 (en) Document processing method, document processing program, and document processing apparatus
JP2021026604A (en) Image processing device, image processing method and program
JP2007158858A (en) Image forming apparatus and image formation processing program
JP5935376B2 (en) Copy machine
JP2006165863A (en) Information processing system
JP6962352B2 (en) Information processing equipment, recording systems, and programs
JP2009140311A (en) Document processing apparatus and method
JP2008160339A (en) Image forming apparatus
JP4998421B2 (en) Image forming apparatus and image forming program
JP2006253995A (en) Image processor