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
JP6187366B2 - Image processing apparatus, image processing method, and program - Google Patents
[go: Go Back, main page]

JP6187366B2 - Image processing apparatus, image processing method, and program - Google Patents

Image processing apparatus, image processing method, and program Download PDF

Info

Publication number
JP6187366B2
JP6187366B2 JP2014074712A JP2014074712A JP6187366B2 JP 6187366 B2 JP6187366 B2 JP 6187366B2 JP 2014074712 A JP2014074712 A JP 2014074712A JP 2014074712 A JP2014074712 A JP 2014074712A JP 6187366 B2 JP6187366 B2 JP 6187366B2
Authority
JP
Japan
Prior art keywords
image
column
image data
separator
article
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.)
Active
Application number
JP2014074712A
Other languages
Japanese (ja)
Other versions
JP2015198307A (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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2014074712A priority Critical patent/JP6187366B2/en
Publication of JP2015198307A publication Critical patent/JP2015198307A/en
Application granted granted Critical
Publication of JP6187366B2 publication Critical patent/JP6187366B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)
  • Document Processing Apparatus (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Editing Of Facsimile Originals (AREA)

Description

本発明は、画像処理装置、画像処理方法およびプログラムに関する。   The present invention relates to an image processing apparatus, an image processing method, and a program.

従来、新聞、雑誌等の原稿を読み取って得られた画像データの中から特定領域(記事)の画像データを抽出して保存する画像処理装置がある。   2. Description of the Related Art Conventionally, there is an image processing apparatus that extracts and stores image data of a specific area (article) from image data obtained by reading a document such as a newspaper or a magazine.

この種の画像処理装置では、特定領域の画像データの抽出のために、特定領域のマーキングが必要である。すなわち、特定領域の画像データを取得するために、使用者は、原稿内の特定領域をペン(マーカ)等でマーキングした後、そのマーキングした原稿を画像処理装置に付随したスキャナに読み取らせる。画像処理装置では、読み取られた原稿の画像データの中からマーキングが検出され、マーキングから特定領域が特定されて、その特定領域の画像データが抽出される。   In this type of image processing apparatus, marking of a specific area is necessary for extracting image data of the specific area. That is, in order to acquire image data of a specific area, a user marks a specific area in a document with a pen (marker) or the like, and then causes the scanner attached to the image processing apparatus to read the marked document. In the image processing apparatus, marking is detected from the image data of the read document, a specific area is specified from the marking, and image data of the specific area is extracted.

特開2002−150306号公報JP 2002-150306 A

しかしながら、特定領域のマーキングを必要とするため、マーキング作業に手間がかかるという問題がある。しかも、原稿がマーキングにより汚れてしまう。   However, since marking of a specific area is required, there is a problem that it takes time for marking work. In addition, the document is soiled by the marking.

また、抽出された特定領域の画像データがそのまま保存されると、その画像データに係をディスプレイの画面上又はシートに出力したときに、画像が原稿上でのレイアウトのまま出力されるので、画像が読みづらい。特許文献1には、特定領域の画像データを長方形の領域内にレイアウトし、そのレイアウトした画像データを出力することが提案されている。しかしながら、新聞等の記事は段組されており、その段組を無視して、画像データが長方形の領域内にレイアウトされると、出力された画像が却って読みづらくなる場合がある。   In addition, if the extracted image data of the specific area is stored as it is, the image is output in the layout on the original when the data relating to the image data is output on the display screen or the sheet. Is difficult to read. Patent Document 1 proposes that image data in a specific area is laid out in a rectangular area and the laid out image data is output. However, articles such as newspapers are arranged in columns, and if the image data is laid out in a rectangular area ignoring the columns, the output image may be difficult to read.

本発明の目的は、特定の記事の画像データを抽出するためのマーキングを不要とすることができ、かつ、その抽出した画像データに係る画像を使用者が見やすいように、画像データを合成することができる、画像処理装置、画像処理方法およびプログラムを提供することである。   An object of the present invention is to synthesize image data so that marking for extracting image data of a specific article can be made unnecessary, and an image related to the extracted image data can be easily viewed by a user. An image processing apparatus, an image processing method, and a program are provided.

前記の目的を達成するため、本発明に係る画像処理装置は、画像データを取得する画像取得部と、出典原稿毎に、出典原稿の画像を所定の段組幅毎に区分する段組セパレータの情報と段組セパレータ間の前記段組幅とが対応づけて記憶される記憶部と、制御部とを備え、制御部は、前記段組セパレータの情報に基づいて段組セパレータを探索する段組セパレータ探索処理と、画像取得部で取得された画像データの中から、見出し画像と終了画像とを探索する探索処理と、探索処理で検出された見出し画像から終了画像まで、段組セパレータに沿った段組幅の段組領域毎に、画像データを抽出する抽出処理と、抽出処理によって段組領域毎に抽出された各画像データを合成する合成処理とを有する。   In order to achieve the above object, an image processing apparatus according to the present invention includes an image acquisition unit that acquires image data, and a column separator that separates an image of a source document into predetermined column widths for each source document. A storage unit for storing information and the column width between the column separators in association with each other, and a control unit, wherein the control unit searches for column separators based on information on the column separators. A separator search process, a search process for searching for a heading image and an end image from the image data acquired by the image acquisition unit, and a column separator from the heading image to the end image detected by the search process. For each column area of the column width, there is an extraction process for extracting image data and a synthesis process for combining the image data extracted for each column area by the extraction process.

この構成によれば、画像データの中から、段組セパレータが探索され、記事の見出し画像及び終了画像が探索される。この探索により、見出し画像及び終了画像が検出されると、見出し画像から終了画像までの画像データが段組領域毎、つまり段組幅の方向に互いに隣り合う段組セパレータ間の領域毎に抽出される。そのため、記事の画像データを抽出するためのマーキングを不要とすることができる。   According to this configuration, the column separator is searched from the image data, and the headline image and the end image of the article are searched. When a heading image and an end image are detected by this search, image data from the heading image to the end image is extracted for each column region, that is, for each region between column separators adjacent to each other in the column width direction. The Therefore, marking for extracting image data of an article can be made unnecessary.

そして、段組領域毎に抽出された各画像データが合成される。そのため、段組を考慮して合成された画像データを得ることができる。その結果、合成された画像データに係る画像を使用者が見やすい画像にすることができる。   Then, the image data extracted for each column area is synthesized. Therefore, it is possible to obtain image data synthesized taking column sets into consideration. As a result, it is possible to make the image related to the combined image data easy to see for the user.

制御部は、更に、画像データの出典原稿及び見出しの情報の入力を要求する入力要求処理を有していてもよい。   The control unit may further include an input request process for requesting input of source data and heading information of image data.

この構成によれば、画像データの出典原稿及び見出しの情報が入力されることにより、見出し画像及び終了画像の検出が容易になり、使用者が所望する画像データを精度よく抽出することができる。   According to this configuration, by inputting the source document and heading information of the image data, it becomes easy to detect the heading image and the end image, and the image data desired by the user can be extracted with high accuracy.

探索処理は、段組領域毎に、見出し画像を探索する見出し画像探索処理と、見出し画像探索処理によって検出された見出し画像が含まれる段組領域を、見出し画像から段組セパレータに沿った所定方向に、終了画像を探索し、終了画像が検出されない場合には、当該段組領域に対して所定方向と直交する方向に隣接する次の段組領域を探索対象として、所定方向に終了画像を探索し、終了画像を検出するまで、探索対象の移動及び終了画像の探索を実行する終了画像探索処理とを含んでいてもよい。   The search process includes, for each column area, a header image search process for searching for a header image, and a column area including the header image detected by the header image search process in a predetermined direction along the column separator from the header image. If the end image is searched and no end image is detected, the next column area adjacent to the column area in the direction orthogonal to the predetermined direction is searched for and the end image is searched for in the predetermined direction. In addition, it may include an end image search process for executing a search target movement and an end image search until the end image is detected.

この構成によれば、段組領域毎に、見出し画像が探索される。見出し画像が検出されると、見出し画像が含まれる段組領域を、見出し画像から段組セパレータに沿った所定方向に、終了画像が探索される。当該段組領域に終了画像が検出されない場合、終了画像が検出されるまで、段組領域が次々と終了画像の検索対象とされる。これにより、見出し画像及び終了画像を効率よくかつ精度よく検出することができる。   According to this configuration, a heading image is searched for each column region. When a heading image is detected, an end image is searched for a column area including the heading image in a predetermined direction from the heading image along the column separator. If the end image is not detected in the column area, the column area is successively searched for the end image until the end image is detected. Thereby, the headline image and the end image can be detected efficiently and accurately.

制御部は、見出し画像探索処理において、段組セパレータから段組幅より短い幅の領域を探索することが好ましい。   It is preferable that the control unit searches for a region having a width shorter than the column width from the column separator in the header image search process.

この構成によれば、段組領域の全域で見出し画像が探索される構成と比較して、見出し画像が探索される領域が狭いので、見出し画像を短時間で検出することができる。   According to this configuration, the heading image can be detected in a short time because the region in which the heading image is searched is narrower than the configuration in which the heading image is searched in the entire column area.

記憶部には、出典原稿毎に、出典原稿の画像を前記所定方向に区分する記事セパレータの情報が記憶され、抽出処理は、見出し画像が含まれる段組領域の画像データであって、見出し画像から見出し画像に対して所定方向の下流側に位置する記事セパレータまでの画像データを抽出する第1抽出処理と、見出し画像が含まれる段組領域以外の段組領域の画像データであって、所定方向の上流側の記事セパレータから下流側の記事セパレータ又は終了画像までの画像データを抽出する第2抽出処理とを含み、制御部は、合成処理において、第1抽出処理によって抽出された画像データと、第2抽出処理によって抽出された画像データとを、記事セパレータを境界として合成してもよい。   For each source document, the storage unit stores information on an article separator that divides the image of the source document in the predetermined direction, and the extraction process is image data of a column area including the header image, and the header image A first extraction process for extracting image data from a headline image to an article separator located downstream in a predetermined direction, and image data of a column area other than the column area including the header image, A second extraction process for extracting image data from an article separator on the upstream side in the direction to an article separator on the downstream side or the end image, and the control unit includes the image data extracted by the first extraction process in the synthesis process, The image data extracted by the second extraction process may be combined with the article separator as a boundary.

この構成によれば、見出し画像が含まれる段組領域における見出し画像から所定方向下流側の記事セパレータまでの画像データと、所定方向上流側の記事セパレータから所定方向下流側の記事セパレータ又は終了画像までの画像データとが抽出される。そして、その抽出された複数の画像データは、記事セパレータを境界として合成される。そのため、合成された画像データに係る画像を、使用者が見やすい1つの画像として得ることができる。   According to this configuration, the image data from the headline image to the article separator on the downstream side in the predetermined direction in the column area including the headline image, and the article separator on the downstream side in the predetermined direction to the article separator or end image in the predetermined direction. Are extracted. Then, the extracted plurality of image data are combined with the article separator as a boundary. Therefore, an image related to the synthesized image data can be obtained as one image that is easy for the user to see.

制御部は、合成処理において、第1抽出処理によって抽出された画像データと、第2抽出処理によって抽出された画像データとを、記事セパレータを境界として合成した場合に、合成された画像データに係る画像における所定の主走査方向の幅が規定幅を超える場合には、第1抽出処理によって抽出された画像データと、第2抽出処理によって抽出された画像データとを、所定方向の上流側の記事セパレータに揃えて合成してもよい。   In the synthesis process, the control unit relates to the synthesized image data when the image data extracted by the first extraction process and the image data extracted by the second extraction process are synthesized using the article separator as a boundary. If the width of the image in the predetermined main scanning direction exceeds the specified width, the image data extracted by the first extraction process and the image data extracted by the second extraction process are connected to the upstream article in the predetermined direction. You may synthesize | combine by aligning with a separator.

この構成によれば、複数の画像データが記事セパレータを境界として合成された場合に、例えば、合成された画像データがプリンタ等の画像形成装置によりシートに出力される際に、画像形成装置の主走査方向において、出力画像の幅が画像形成装置で出力可能な規定幅を超える場合が想定される。この場合、複数の画像データが所定方向上流側の記事セパレータに揃えて合成されることにより、合成された画像データに係る画像を、使用者が見やすい1つの画像として得ることができる。   According to this configuration, when a plurality of image data are combined with the article separator as a boundary, for example, when the combined image data is output to a sheet by an image forming apparatus such as a printer, It is assumed that the width of the output image exceeds the specified width that can be output by the image forming apparatus in the scanning direction. In this case, the plurality of pieces of image data are combined and aligned with the article separator on the upstream side in the predetermined direction, whereby an image related to the combined image data can be obtained as one image that is easy for the user to view.

制御部は、終了画像探索処理において、画像取得部によって取得された画像データの中から終了画像を検出できなかった場合、画像取得部によって次に取得された画像データの中から前記終了画像を探索してもよい。   When the end image cannot be detected from the image data acquired by the image acquisition unit in the end image search process, the control unit searches for the end image from the image data acquired next by the image acquisition unit. May be.

この構成によれば、終了画像が画像取得部によって次に取得された画像データに含まれていても、終了画像を検出することができる。その結果、使用者が所望する画像データが複数のページに跨がる場合であっても、異なるページの複数の画像データを1つの画像データに合成して得ることができる。   According to this configuration, the end image can be detected even if the end image is included in the image data acquired next by the image acquisition unit. As a result, even when the image data desired by the user extends over a plurality of pages, a plurality of image data on different pages can be combined into one image data.

制御部は、更に、画像取得部によって取得された画像データに係る画像に含まれる文字の向きを検出し、当該文字の向きと出典原稿の向きとが一致するように、当該画像データに対して画像を回転させる処理を実行する回転処理を有し、探索処理において、回転処理後の画像データの中から、見出し画像と終了画像とを探索することが好ましい。   The control unit further detects the direction of characters included in the image related to the image data acquired by the image acquisition unit, and applies to the image data so that the direction of the characters matches the direction of the source document. It is preferable to have a rotation process for executing a process of rotating the image, and in the search process, search for the heading image and the end image from the image data after the rotation process.

この構成によれば、画像取得部によって取得された画像データに係る画像に含まれる文字の向きが検出され、当該文字の向きと出典原稿の向きとが一致するように、画像データに対して画像を回転させる処理が行われる。そして、その回転処理後の画像データの中から見出し画像及び終了画像が探索されるので、見出し画像及び終了画像を精度よく検出することができる。その結果、使用者が所望する画像データを良好に抽出することができる。   According to this configuration, the direction of characters included in the image related to the image data acquired by the image acquisition unit is detected, and the image data is imaged so that the direction of the characters matches the direction of the source document. Is rotated. Since the heading image and the end image are searched from the image data after the rotation processing, the heading image and the end image can be detected with high accuracy. As a result, the image data desired by the user can be extracted satisfactorily.

なお、本発明は、画像処理装置の形態で実現することができるだけでなく、たとえば、画像処理方法および画像処理装置のコンピュータの機能を実現するためのプログラムの形態で実現することもできる。   Note that the present invention can be realized not only in the form of an image processing apparatus, but also in the form of a program for realizing, for example, an image processing method and a computer function of the image processing apparatus.

本発明によれば、画像処理装置において、特定の記事の画像データを抽出するためのマーキングを不要とすることができ、かつ、その抽出した画像データに係る画像を使用者が見やすいように、画像データを合成することができる。   According to the present invention, in the image processing apparatus, it is possible to eliminate the need for marking for extracting image data of a specific article, and to make it easy for the user to view the image related to the extracted image data. Data can be synthesized.

本発明の一実施形態に係るMFPの左前上側から見た斜視図である。FIG. 2 is a perspective view of the MFP according to the embodiment of the present invention as viewed from the upper left front side. MFPの電気的構成を示すブロック図である。2 is a block diagram illustrating an electrical configuration of the MFP. FIG. マーカテーブルの一例を示す図である。It is a figure which shows an example of a marker table. 出典情報テーブルの一例を示す図である。It is a figure which shows an example of a source information table. 記事抽出処理の流れを示すフローチャートである。It is a flowchart which shows the flow of an article extraction process. 原稿画像の読み取り状態を示す概念図である。FIG. 3 is a conceptual diagram illustrating a reading state of a document image. 読み取られた原稿画像の画像回転処理について説明するための概念図である。FIG. 6 is a conceptual diagram for explaining image rotation processing of a read document image. 見出しマーカ探索処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a heading marker search process. 終了マーカ探索処理の流れを示すフローチャートである。It is a flowchart which shows the flow of an end marker search process. 記事の一例を示す概念図である。It is a conceptual diagram which shows an example of an article. 段組セパレータ及び見出しマーカの探索について説明するための概念図である。It is a conceptual diagram for demonstrating the search of a column separator and a heading marker. 終了マーカの探索について説明するための概念図である。It is a conceptual diagram for demonstrating the search of an end marker. 終了マーカが検出されなかった場合について説明するための概念図である。It is a conceptual diagram for demonstrating the case where an end marker is not detected. 前回のスキャンで終了マーカが検出されなかった場合における終了マーカの探索について説明するための概念図である。It is a conceptual diagram for demonstrating the search of an end marker when an end marker is not detected by the last scan. 抽出合成処理の流れを示すフローチャートである。It is a flowchart which shows the flow of an extraction synthetic | combination process. 抽出合成処理の一例について説明するための概念図である。It is a conceptual diagram for demonstrating an example of an extraction synthetic | combination process. 抽出合成処理の他の例について説明するための概念図である。It is a conceptual diagram for demonstrating the other example of an extraction synthetic | combination process.

以下では、本発明の実施の形態について、添付図面を参照しつつ詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

<機械的構成> <Mechanical configuration>

画像処理装置の一例としてのMFP(Multi-Function Peripheral)1は、図1に示されるように、プリンタ本体2、スキャナ本体3及びADF(Auto Document Feeder)4を備えている。   An MFP (Multi-Function Peripheral) 1 as an example of an image processing apparatus includes a printer main body 2, a scanner main body 3, and an ADF (Auto Document Feeder) 4, as shown in FIG.

なお、以下の説明では、平面上に載置したMFP1を操作パネル7(後述する)が設けられている側から見て規定した上下、左右及び前後の各方向を使用する。   In the following description, the up / down, left / right, and front / rear directions defined when the MFP 1 placed on a plane is viewed from the side where an operation panel 7 (described later) is provided are used.

プリンタ本体2内には、画像形成部10(図2参照)が収容されている。画像形成部10は、画像データに基づく印刷(カラー印刷又はモノクロ印刷)を実行し、シートに画像を形成する。画像形成の方式は、電子写真方式であってもよいし、インクジェット方式であってもよい。   An image forming unit 10 (see FIG. 2) is accommodated in the printer main body 2. The image forming unit 10 performs printing (color printing or monochrome printing) based on image data, and forms an image on a sheet. The image forming method may be an electrophotographic method or an inkjet method.

スキャナ本体3の上面には、コンタクトガラス8が設けられている。また、スキャナ本体3内には、画像読取部20(図2参照)が収容されている。画像読取部20は、前後方向に延びるCIS(Contact Image Sensor)を備えている。画像取得部の一例としての画像読取部20は、CIS9(図5A参照)が右側に移動して、コンタクトガラス8上に載置されたシートに形成されている画像をシートから読み取り、画像データとしてRAM73に記憶させる。   A contact glass 8 is provided on the upper surface of the scanner body 3. The scanner body 3 houses an image reading unit 20 (see FIG. 2). The image reading unit 20 includes a CIS (Contact Image Sensor) extending in the front-rear direction. The image reading unit 20 as an example of the image acquisition unit moves the CIS 9 (see FIG. 5A) to the right side, reads an image formed on the sheet placed on the contact glass 8 from the sheet, and outputs it as image data. It is stored in the RAM 73.

プリンタ本体2の最下部には、給紙トレイ5が設けられている。給紙トレイ5は、複数枚のシートを積層状態で収容可能に構成されている。プリンタ本体2の上面には、排紙トレイ6が形成されている。給紙トレイ5に収容されているシートは、給紙トレイ5からプリンタ本体2内に1枚ずつ送り出され、プリンタ本体2内を排紙トレイ6に向けて搬送される。シートがプリンタ本体2内を搬送される間に、画像形成部10によって、当該シートに画像が形成される。画像が形成されたシート(印刷物)は、排紙トレイ6に排出される。   A paper feed tray 5 is provided at the bottom of the printer body 2. The paper feed tray 5 is configured to accommodate a plurality of sheets in a stacked state. A paper discharge tray 6 is formed on the upper surface of the printer main body 2. The sheets accommodated in the paper feed tray 5 are sent one by one from the paper feed tray 5 into the printer main body 2 and conveyed through the printer main body 2 toward the paper discharge tray 6. While the sheet is conveyed through the printer main body 2, an image is formed on the sheet by the image forming unit 10. The sheet (printed material) on which the image is formed is discharged to the paper discharge tray 6.

スキャナ本体3は、プリンタ本体2の上方に配置され、ADF4は、スキャナ本体3の上方に配置されている。   The scanner body 3 is disposed above the printer body 2, and the ADF 4 is disposed above the scanner body 3.

また、MFP1は、操作パネル7を備えている。操作パネル7は、例えば、スキャナ本体3の前端部に配置されている。操作パネル7には、表示部30及び操作部40が設けられている。   The MFP 1 also includes an operation panel 7. The operation panel 7 is disposed, for example, at the front end of the scanner body 3. The operation panel 7 is provided with a display unit 30 and an operation unit 40.

表示部30は、例えば、液晶表示器からなる。表示部30には、各種の情報が表示される。   The display part 30 consists of a liquid crystal display, for example. Various information is displayed on the display unit 30.

操作部40は、各種の操作ボタンからなる。操作ボタンの押操作により、各種の入力が可能である。操作ボタンには、例えば、各種の指示(例えば、画像処理の開始指示)を確定するためのOKボタン、各種の指示をキャンセルするためのキャンセルボタン、表示部30に表示されるキーを選択するための十字ボタン、数字や文字を入力するためのテンキーなどが含まれる。   The operation unit 40 includes various operation buttons. Various inputs are possible by pressing the operation buttons. For the operation buttons, for example, an OK button for confirming various instructions (for example, an instruction to start image processing), a cancel button for canceling various instructions, and a key displayed on the display unit 30 are selected. A cross button, numeric keypad for entering numbers and characters, etc. are included.

<電気的構成> <Electrical configuration>

MFP1は、図2に示されるように、通信インターフェース(I/F)60及び制御部70を備えている。   As shown in FIG. 2, the MFP 1 includes a communication interface (I / F) 60 and a control unit 70.

受付部の一例としての通信インターフェース60は、LAN(Local Area Network)に接続されているPC(パーソナルコンピュータ)などの外部装置との通信のためのインターフェースである。通信の方式は、無線通信方式であってもよいし、有線通信方式であってもよい。   A communication interface 60 as an example of a reception unit is an interface for communication with an external device such as a PC (personal computer) connected to a LAN (Local Area Network). The communication method may be a wireless communication method or a wired communication method.

制御部70は、ASIC(Application Specific Integrated Circuit)71、ROM72、RAM73及びNVRAM74を備えている。   The control unit 70 includes an ASIC (Application Specific Integrated Circuit) 71, a ROM 72, a RAM 73, and an NVRAM 74.

ASIC71は、CPU75を内蔵している。ASIC71には、操作部40の操作による指示が入力される。また、ASIC71には、外部装置から送信される印刷ジョブが通信インターフェース60を介して入力される。図2には、外部装置の一例として、PC(Personal Computer)80が示されている。CPU75は、ASIC71に入力される情報に基づいて、各種の処理のためのプログラムを実行することにより、画像形成部10及び表示部30を制御し、通信インターフェース60を介した通信を制御する。   The ASIC 71 incorporates a CPU 75. An instruction by the operation of the operation unit 40 is input to the ASIC 71. In addition, a print job transmitted from an external device is input to the ASIC 71 via the communication interface 60. FIG. 2 shows a PC (Personal Computer) 80 as an example of an external device. The CPU 75 controls the image forming unit 10 and the display unit 30 by executing programs for various processes based on information input to the ASIC 71 and controls communication via the communication interface 60.

なお、以下では、PC80から送信される印刷ジョブがMFP1に受け付けられる場合を例にとる。   In the following, a case where a print job transmitted from the PC 80 is accepted by the MFP 1 is taken as an example.

ROM72には、CPU75によって実行されるプログラム及び各種のデータなどが記憶されている。   The ROM 72 stores programs executed by the CPU 75 and various data.

RAM73及びNVRAM74は、CPU75がプログラムを実行する際のワークエリアとして使用される。   The RAM 73 and NVRAM 74 are used as work areas when the CPU 75 executes the program.

<マーカテーブル及び出典情報テーブル> <Marker table and source information table>

記憶部の一例としてのNVRAM74には、図3Aに示されるマーカテーブル及び図3Bに示される出典情報テーブルが記憶されている。   The NVRAM 74 as an example of the storage unit stores a marker table shown in FIG. 3A and a source information table shown in FIG. 3B.

マーカテーブルには、抽出する記事の名称、出典、見出しマーカ及び終了マーカが対応付けられて記憶されている。   In the marker table, the name, source, heading marker, and end marker of the article to be extracted are stored in association with each other.

名称は、記事を識別するためにつけられた名称である。   The name is a name given to identify the article.

出典は、記事の出典を示す情報で、例えば、新聞名や雑誌名である。   The source is information indicating the source of the article, and is, for example, a newspaper name or a magazine name.

見出しマーカは、記事の見出しを示すマーカで、例えば、記事において見出しを示す図柄や、記事において見出しに使用される名称である。   The headline marker is a marker that indicates the headline of the article, and is, for example, a symbol that indicates the headline in the article or a name that is used for the headline in the article.

終了マーカは、記事の終了を示すマーカで、例えば、記事の終了を示す図柄や、記事の終了を示す文字列である。   The end marker is a marker indicating the end of the article, and is, for example, a symbol indicating the end of the article or a character string indicating the end of the article.

図3Aに示されるマーカテーブルには、1行目に、名称として「連載記事」、出典として「○○新聞」、見出しマーカとして見出し図柄、終了マーカとして終了図柄が対応づけられて記憶されている。また、2行目に、名称として「天気予報」、出典として「○△新聞」、見出しマーカとして「天気予報」、終了マーカが無いことが対応づけられて記憶されている。   In the marker table shown in FIG. 3A, in the first line, “serialized article” as name, “XX newspaper” as source, heading symbol as heading marker, and end symbol as end marker are stored in association with each other. . In the second line, the name “weather forecast”, the source “◯ △ newspaper”, the heading marker “weather forecast”, and the absence of the end marker are stored in association with each other.

出典情報テーブルには、抽出する記事の名称、出典、文字方向、段組幅、段組みセパレータ及び記事セパレータが対応付けられて記憶されている。   In the source information table, the name of the article to be extracted, the source, the character direction, the column width, the column separator, and the article separator are stored in association with each other.

名称は、記事を識別するためにつけられた名称である。   The name is a name given to identify the article.

出典は、記事の出典を示す情報で、例えば、新聞名や雑誌名である。   The source is information indicating the source of the article, and is, for example, a newspaper name or a magazine name.

文字方向は、記事が縦書きであるか、横書きであるかを示す情報である。   The character direction is information indicating whether the article is written vertically or horizontally.

段組幅は、記事の段組の幅を示す情報である。   The column width is information indicating the column width of the article.

段組セパレータは、同一記事内において段の間を示す図柄である。   A column separator is a symbol indicating a space between columns in the same article.

記事セパレータは、記事と他の記事の間を示す図柄である。   The article separator is a pattern indicating between an article and another article.

図3Bに示される出典情報テーブルには、1行目に、名称として「連載記事」、出典として「○○新聞」、文字方向として「縦」、段組幅として「3cm」、段組セパレータとしてその記事における段組セパレータの図柄、記事セパレータとしてその記事における記事セパレータの図柄が対応づけられて記憶されている。また、2行目に、名称として「天気予報」、出典として「○△新聞」、文字方向として「縦」、段組幅として「2.5cm」、段組セパレータが無いこと、記事セパレータが無いことが対応づけられて記憶されている。   In the source information table shown in FIG. 3B, in the first line, the name “serialized article”, the source “XX newspaper”, the character direction “vertical”, the column width “3 cm”, and the column separator The article separator design in the article is stored in association with the column separator design and article separator in the article. In the second line, the name is “weather forecast”, the source is “○ △ newspaper”, the text direction is “vertical”, the column width is “2.5 cm”, there is no column separator, there is no article separator Are stored in association with each other.

<記事抽出処理> <Article extraction process>

MFP1の電源が投入されている間、ASIC71のCPU75は、図4に示される記事抽出処理を繰り返し実行する。   While the MFP 1 is powered on, the CPU 75 of the ASIC 71 repeatedly executes the article extraction process shown in FIG.

記事抽出処理では、CPU75は、抽出したい記事が記載されている原稿(出典原稿)のスキャン処理を実行する(S1)。スキャン処理の実行とは、CPU75により、画像読取部20が制御され、画像読取部20により、原稿の画像が読み取られ、その画像に基づく画像データがNVRAM74に記憶されることをいう。図5Aに示されるように、MFP1のコンタクトガラス8の上に原稿が載置され、コンタクトガラス8と対向する原稿の面の画像が読み取られる。   In the article extraction process, the CPU 75 executes a scan process of a document (source document) in which an article to be extracted is described (S1). Execution of the scanning process means that the image reading unit 20 is controlled by the CPU 75, the image of the original is read by the image reading unit 20, and image data based on the image is stored in the NVRAM 74. As shown in FIG. 5A, a document is placed on the contact glass 8 of the MFP 1 and an image of the surface of the document facing the contact glass 8 is read.

出典原稿とは、例えば、新聞や雑誌などの記事である。   The source manuscript is, for example, an article such as a newspaper or a magazine.

新聞の記事は、図8に示されるように、縦書きで、上下に段組されている。記事の上下の境界及び各段は、段組セパレータにより仕切られている。以下、段組セパレータ間の領域を「段組領域」という。記事の左右の境界は、記事セパレータにより仕切られている。また、各記事の先頭(当該記事の最上段の右端)には、見出し(見出しマーカ)があり、各記事の末尾(当該記事の最下段の左端)には、終了マーカがある場合が多い。   As shown in FIG. 8, newspaper articles are vertically written and vertically arranged. The upper and lower boundaries of the article and each level are separated by a column separator. Hereinafter, an area between column separators is referred to as a “column area”. The left and right boundaries of the article are separated by an article separator. Further, in many cases, there is a heading (heading marker) at the top of each article (the right end at the top of the article), and an end marker at the end of each article (the left end at the bottom of the article).

例えば、著名な新聞や雑誌の主要な記事については、その見出しマーカ及び終了マーカがマーカテーブルに予め登録され、文字方向、段組幅、段組セパレータ及び記事セパレータが出典情報テーブルに予め登録されている。以下、見出しマーカ、終了マーカ、文字方向、段組幅、段組セパレータ及び記事セパレータを「記事特定情報」という。   For example, for major articles of famous newspapers and magazines, the heading marker and end marker are registered in advance in the marker table, and the character direction, column width, column separator and article separator are registered in advance in the source information table. Yes. Hereinafter, the heading marker, end marker, character direction, column width, column separator, and article separator are referred to as “article specifying information”.

以下では、新聞記事を例にあげて処理の流れを説明する。   In the following, the flow of processing will be described using a newspaper article as an example.

CPU75は、スキャンされた画像について、画像回転処理を実行する(S2)。原稿は、図5Aに示されるように、CIS9の長手方向である主走査方向と、CIS9と直交しコンタクトガラス8の面に沿って延びる副走査方向とに対して、傾いて載置されることがある。画像回転処理は、図5Bに示されるように、読み取られた画像について文字の向きを認識し、例えば、文字の上側が副操作方向の上流側になるように画像を回転させる変換を画像データに対して行う。   The CPU 75 executes an image rotation process on the scanned image (S2). As shown in FIG. 5A, the document is placed inclined with respect to the main scanning direction that is the longitudinal direction of the CIS 9 and the sub-scanning direction that is orthogonal to the CIS 9 and extends along the surface of the contact glass 8. There is. As shown in FIG. 5B, the image rotation process recognizes the orientation of characters in the read image, and converts, for example, conversion into image data so that the image is rotated so that the upper side of the character is upstream in the sub-operation direction. Against.

次に、CPU75は、前回のスキャンにおいてに、終了マーカが検出されたか否かを判断する(S3)。   Next, the CPU 75 determines whether or not an end marker has been detected in the previous scan (S3).

前回のスキャンにおいて終了マーカが検出された場合には(S3:YES)、今回のスキャンは、新たな記事の抽出を行うものである。   If an end marker is detected in the previous scan (S3: YES), this scan is to extract a new article.

使用者は、現在、マーカテーブルに登録されていない新規の見出しマーカ及び終了マーカをマーカテーブルに登録させることができる。以下、見出しマーカ及び終了マーカを「マーカ情報」という。新規のマーカ情報のマーカテーブルへの登録は、MFP1に通信インターフェース60を介して接続されているPC80からマーカ情報並びにそのマーカ情報が使用されている記事の名称及び出典をMFP1に送信させることにより行う。   The user can register a new heading marker and end marker that are not currently registered in the marker table in the marker table. Hereinafter, the heading marker and the end marker are referred to as “marker information”. Registration of new marker information in the marker table is performed by causing the MFP 1 to transmit the marker information and the name and source of the article in which the marker information is used from the PC 80 connected to the MFP 1 via the communication interface 60. .

PC80からMFP1に送信された新規のマーカ情報は、MFP1のRAM73に一旦、記憶される。その後、CPU75は、受信した新規のマーカ情報をNVRAM74内のマーカテーブルに登録するか否かの選択画面を表示部30に表示させ、新規のマーカ情報を登録する選択が操作部40により入力されたか否かを判断する(S4)。   New marker information transmitted from the PC 80 to the MFP 1 is temporarily stored in the RAM 73 of the MFP 1. Thereafter, the CPU 75 causes the display unit 30 to display a selection screen as to whether or not to register the received new marker information in the marker table in the NVRAM 74, and whether the selection to register the new marker information has been input by the operation unit 40. It is determined whether or not (S4).

新規のマーカ情報を登録する選択が入力された場合には(S4:YES)、CPU75は、新規のマーカ情報の登録画面を表示部30に表示させることにより、マーカ情報を操作部40により入力させ、入力された情報を新規のマーカ情報としてマーカテーブルに登録する(S5)。   When selection for registering new marker information is input (S4: YES), the CPU 75 causes the operation unit 40 to input marker information by causing the display unit 30 to display a new marker information registration screen. The inputted information is registered in the marker table as new marker information (S5).

新規のマーカ情報を登録しない選択が入力された場合(S4:NO)、又は、新規のマーカ情報の登録処理が実行された後(S5)、CPU75は、記事選択情報の入力要求を表示部30に表示させ(S6)、操作部40による記事選択情報の入力が完了するまで(S7:NO)、記事選択情報を入力させる(S7)。記事選択情報は、例えば、記事の名称及び出典である。記事選択情報の入力要求の表示では、例えば、抽出したい記事の名称及び出典の入力を要求する画像を表示部30に表示させて、その記事の名称及び出典を操作部40によって入力させる。これにより、これから抽出対象記事の抽出に使用する記事特定情報をマーカテーブル及び出典情報テーブルから取得することができる。   When selection not registering new marker information is input (S4: NO), or after registration processing of new marker information is executed (S5), the CPU 75 displays an input request for article selection information on the display unit 30. (S6) until the input of article selection information by the operation unit 40 is completed (S7: NO), the article selection information is input (S7). The article selection information is, for example, an article name and a source. In the display of the input request for the article selection information, for example, the name of the article to be extracted and an image requesting input of the source are displayed on the display unit 30, and the name and source of the article are input by the operation unit 40. Thereby, the article specifying information used for extraction of the extraction target article can be acquired from the marker table and the source information table.

一方、前回のスキャンにおいて終了マーカが検出されなかった場合には(S3:NO)、CPU75は、前回のスキャンにおいて抽出された画像データを今回のスキャンで抽出する画像データに連結するか否かの選択画面を表示部30に表示させ、連結する選択が操作部40により入力されたか否かを判断する(S8)。   On the other hand, when the end marker is not detected in the previous scan (S3: NO), the CPU 75 determines whether or not to link the image data extracted in the previous scan to the image data extracted in the current scan. A selection screen is displayed on the display unit 30, and it is determined whether or not a selection to be connected has been input by the operation unit 40 (S8).

連結しない選択が入力された場合には(S8:NO)、新たな記事の抽出を開始するということなので、CPU75は、前回のスキャンにおいて終了マーカが検出された場合(SS3:YES)と同様に、新規のマーカ情報を登録するか否かの選択画面を表示部30に表示させ、新規のマーカ情報を登録する選択が操作部40により入力されたか否かを判断する(S4)。   When the selection not to be connected is input (S8: NO), the extraction of a new article is started, so the CPU 75 is the same as when the end marker is detected in the previous scan (SS3: YES). Then, a screen for selecting whether or not to register new marker information is displayed on the display unit 30, and it is determined whether or not a selection for registering new marker information has been input by the operation unit 40 (S4).

連結する選択が入力された場合には(S8:YES)、前回のスキャンにおいて抽出された記事の続きを抽出するということである。よって、CPU75は、ステップS4〜S7の処理を行わず(S4〜7のスキップ)、見出しマーカ探索処理を実行する(S9)。   When the selection to connect is input (S8: YES), the continuation of the article extracted in the previous scan is extracted. Therefore, the CPU 75 does not perform the processes of steps S4 to S7 (skip of S4 to 7) and executes the heading marker search process (S9).

一方、記事識別情報の入力が完了した場合も(S7:YES)、CPU75は、見出しマーカ探索処理を実行する(S9)。見出しマーカ探索処理は、読み取られた画像データについて、記事抽出の開始位置を検出する処理である。見出しマーカ探索処理の詳細については、後述する。   On the other hand, even when the input of the article identification information is completed (S7: YES), the CPU 75 executes a heading marker search process (S9). The heading marker search process is a process of detecting the article extraction start position for the read image data. Details of the heading marker search process will be described later.

そして、CPU75は、終了マーカ探索処理を実行する(S10)。終了マーカ探索処理は、読み取られた画像データについて、記事抽出の終了画像を検出し、開始位置から終了画像の位置までの間に存在する各段組領域を段組領域毎に画像データとして抽出し、RAM73に記憶する処理である。終了マーカ探索処理の詳細については、後述する。   Then, the CPU 75 executes an end marker search process (S10). The end marker search process detects the end image of article extraction from the read image data, and extracts each column area existing between the start position and the end image position as image data for each column area. , Processing stored in the RAM 73. Details of the end marker search process will be described later.

次に、CPU75は、原稿の次のページに対するスキャンがあるか否かの選択画面を表示部30に表示させ、次のページに対するスキャンがある旨の選択が操作部40により入力されたか否かを判断する(S11)。   Next, the CPU 75 causes the display unit 30 to display a selection screen as to whether or not there is a scan for the next page of the document, and whether or not a selection indicating that there is a scan for the next page has been input by the operation unit 40. Judgment is made (S11).

次のページに対するスキャンがある場合には(S11:YES)、ステップS1の処理に戻り、CPU75は、次のページに対してスキャン処理を実行する(S1)。   If there is a scan for the next page (S11: YES), the process returns to step S1, and the CPU 75 executes a scan process for the next page (S1).

次ページに対するスキャンがない場合には(S11:NO)、CPU75は、抽出合成処理を実行し(S12)、記事抽出処理を終了する。抽出合成処理は、これまでに抽出された段組領域毎の記事の画像データを合成して、1つの画像データ内に記事を連結する処理である。抽出合成処理の詳細については、後述する。   If there is no scan for the next page (S11: NO), the CPU 75 executes an extraction / synthesis process (S12) and ends the article extraction process. The extraction / combination processing is processing that combines the image data of articles for each columnar area extracted so far and connects the articles in one image data. Details of the extraction and synthesis process will be described later.

<見出しマーカ探索処理> <Header marker search process>

図4のステップS9で実行される見出しマーカ探索処理の流れは、図6に示されている。   The flow of the header marker search process executed in step S9 of FIG. 4 is shown in FIG.

見出しマーカ探索処理では、CPU75は、仮見出しマーカがRAM73に記憶されているか否かを判断する(S901)。仮見出しマーカは、前回の終了マーカの探索において終了マーカが検出されなかった場合に、最後の探索領域を仮見出しマーカとしてRAM73に記憶させたものである。   In the headline marker search process, the CPU 75 determines whether or not a temporary headline marker is stored in the RAM 73 (S901). The temporary headline marker is the last search area stored in the RAM 73 as a temporary headline marker when the end marker is not detected in the previous search for the end marker.

仮見出しマーカがRAM73に記憶されていない場合には(S901:NO)、新たな記事に対する見出しマーカの探索を行う。そのため、CPU75は、図4のステップS7で入力された名称及び出典に対応付けられた記事特定情報(見出しマーカ、終了マーカ、文字方向、段組幅、段組セパレータ及び記事セパレータ)をマーカテーブル及び出典情報テーブルから取得する(S902)。   When the temporary headline marker is not stored in the RAM 73 (S901: NO), the headline marker is searched for a new article. Therefore, the CPU 75 stores the article specifying information (heading marker, end marker, character direction, column width, column separator, and article separator) associated with the name and source input in step S7 of FIG. Obtained from the source information table (S902).

そして、CPU75は、段組セパレータの探索を開始し(S903)、段組セパレータが検出されるまで(S904:NO)、段組セパレータを探索する(S904)。   Then, the CPU 75 starts searching for the column separator (S903), and searches for the column separator (S904) until the column separator is detected (S904: NO).

段組セパレータの探索では、図9Aに示されるように、例えば、原稿の記事領域内の右端を上端から下側に移動しながら、所定サイズ、例えば、5mm角の画像を所定間隔、例えば、5mm間隔毎に抽出し、抽出した画像の一部が抽出対象記事の段組セパレータ(出典情報テーブルから取得した段組セパレータ)の画像の一部と一致するか否かを判断し、一致した場合に段組セパレータを検出したとする。記事領域は、原稿の上端、下端、左端及び右端にマージン(白紙部分)がある場合に、マージンを除いた領域である。   In the column separator search, as shown in FIG. 9A, for example, an image of a predetermined size, for example, a 5 mm square is moved at a predetermined interval, for example, 5 mm while moving the right end in the article area of the document from the upper end to the lower side. When extracted at each interval, it is determined whether or not a part of the extracted image matches a part of the image of the column separator (column separator obtained from the source information table) of the article to be extracted. Assume that a column separator is detected. The article area is an area excluding the margin when there are margins (blank portions) at the top, bottom, left, and right edges of the document.

段組セパレータが検出された場合には(S904:YES)、CPU75は、見出しマーカを探索し(S905)、見出しマーカを検出したか否かを判断する(S906)。   If a column separator is detected (S904: YES), the CPU 75 searches for a heading marker (S905) and determines whether a heading marker is detected (S906).

見出しマーカの探索は、図9Aに示されるように、まず、検出された段組セパレータの下側の段組領域における右上端部に探索点をおき、その探索点の画像を抽出する。探索点は、例えば、所定幅(例えば、3mm)で、段組セパレータと、この段組セパレータから下側に所定距離(例えば、抽出対象記事の段組幅の3分の1の距離)との間の領域を有する。そして、抽出した画像の一部が抽出対象記事の見出しマーカの画像の一部と一致するか否かを判断し、一致した場合に見出しマーカを検出したとする。   As shown in FIG. 9A, the search for the heading marker first places a search point at the upper right end in the lower column area of the detected column separator and extracts an image of the search point. The search point is, for example, a predetermined width (for example, 3 mm), and a column separator and a predetermined distance downward from the column separator (for example, a distance of one third of the column width of the article to be extracted). With the area between. Then, it is determined whether or not a part of the extracted image matches a part of the heading marker image of the article to be extracted, and the heading marker is detected when they match.

見出しマーカを検出した場合には(S906:YES)、CPU75は、検出した見出しマーカの原稿画像上の位置をRAM73に記憶して(S907)、見出しマーカ探索処理を終了する。   When the heading marker is detected (S906: YES), the CPU 75 stores the position of the detected heading marker on the original image in the RAM 73 (S907), and ends the heading marker search process.

見出しマーカを検出していない場合には(S906:NO)、CPU75は、原稿画像上における見出しマーカの探索点を所定距離、例えば、5mm左側に移動させて、その位置の画像データを取得する(S908)。   When the heading marker is not detected (S906: NO), the CPU 75 moves the search point of the heading marker on the document image to the left by a predetermined distance, for example, 5 mm, and acquires the image data at that position ( S908).

そして、CPU75は、記事セパレータであるか否か、及び、探索点が記事領域の左端であるか否か判断する(S909)   Then, the CPU 75 determines whether it is an article separator and whether the search point is the left end of the article area (S909).

探索点が記事セパレータであるか否かは、例えば、抽出した画像の一部が抽出対象記事の記事セパレータの画像の一部と一致するか否かにより判断する。探索点が記事領域の左端であるか否かは、例えば、記事領域のサイズと探索点の位置から判断する。   Whether or not the search point is the article separator is determined by, for example, whether or not a part of the extracted image matches a part of the article separator image of the extraction target article. Whether or not the search point is the left end of the article area is determined from the size of the article area and the position of the search point, for example.

探索点が記事セパレータであるか、又は、記事領域の左端である場合には(S909:YES)、CPU75は、次(下側)の段組領域の右端に探索点を移動させ(S910)、ステップS905に戻り、その段組領域について、見出しマーカの検索を再び実行する(S905)。   If the search point is the article separator or the left end of the article area (S909: YES), the CPU 75 moves the search point to the right end of the next (lower) column area (S910). Returning to step S905, the retrieval of the heading marker is executed again for the column area (S905).

探索点が記事セパレータでなく、かつ、記事領域の左端でもない場合には(S909:NO)、CPU75は、移動された探索点の領域の画像と抽出対象記事の見出しマーカの画像との比較を行う(S905)。   When the search point is not the article separator and is not the left end of the article area (S909: NO), the CPU 75 compares the image of the moved search point area with the heading marker image of the article to be extracted. It performs (S905).

一方、仮見出しマーカがRAM73に記憶されている場合には(S901:YES)、前回のスキャンにおいて、記事の途中で画像の抽出が終了しているので、記事領域の最上段の段組領域の右端を見出しマーカの位置として、RAM73に記憶させて(S911)、CPU75は、見出しマーカ探索処理を終了する。   On the other hand, when the temporary headline marker is stored in the RAM 73 (S901: YES), since the image extraction is completed in the middle of the article in the previous scan, the uppermost column area of the article area is not detected. The right end is stored in the RAM 73 as the position of the heading marker (S911), and the CPU 75 ends the heading marker search process.

<終了マーカ探索処理> <End marker search process>

図4のステップS10で実行される終了マーカ探索処理の流れは、図7に示されている。   The flow of the end marker search process executed in step S10 of FIG. 4 is shown in FIG.

終了マーカ探索処理では、図6のステップS907の処理、又は、ステップS911の処理でRAM73に記憶された見出しマーカの位置を探索開始点に設定する(S1001)。   In the end marker search process, the position of the heading marker stored in the RAM 73 in step S907 of FIG. 6 or step S911 is set as the search start point (S1001).

そして、CPU75は、終了マーカを探索し(S1002)、終了マーカを検出したか否かを判断する(S1003)。   Then, the CPU 75 searches for an end marker (S1002), and determines whether an end marker has been detected (S1003).

終了マーカの探索では、図9Bに示されるように、まず、探索開始点における探索領域(例えば、幅10mmで上下の段組セパレータ間の領域)の画像を抽出する。そして、抽出した画像の一部が抽出対象記事の終了マーカの画像の一部と一致するか否かを判断し、一致した場合に終了マーカを検出したとする。   In the search for the end marker, as shown in FIG. 9B, first, an image of the search area at the search start point (for example, an area between the upper and lower column separators with a width of 10 mm) is extracted. Then, it is determined whether or not a part of the extracted image matches a part of the image of the end marker of the extraction target article, and if it matches, the end marker is detected.

終了マーカが検出されていない場合には(S1003:NO)、CPU75は、探索領域を所定距離、例えば15mm左側に移動させる(S1004)。   When the end marker is not detected (S1003: NO), the CPU 75 moves the search area to the left by a predetermined distance, for example, 15 mm (S1004).

そして、CPU75は、探索領域が記事セパレータであるか、又は、記事領域の左端であるか判断する(S1005)   Then, the CPU 75 determines whether the search area is an article separator or the left end of the article area (S1005).

探索領域が記事セパレータであるか否かは、探索領域の画像の一部が抽出対象記事の記事セパレータの画像の一部と一致するか否かにより判断する。探索領域が記事領域の左端であるか否かは、記事領域のサイズと探索領域の位置から判断する。   Whether or not the search area is an article separator is determined by whether or not a part of the image in the search area matches a part of the article separator image of the extraction target article. Whether or not the search area is the left end of the article area is determined from the size of the article area and the position of the search area.

探索領域が記事領域の左端である場合には(S1005:YES)、CPU75は、探索開始点から記事領域の左端までの現在の段組領域の画像データをRAM73に記憶させ(S1006)、探索領域が記事セパレータである場合には(S1005:YES)、CPU75は、探索開始点から記事セパレータまでの現在の段組領域の画像データをRAM73に記憶させる(S1006)。   When the search area is the left end of the article area (S1005: YES), the CPU 75 stores the image data of the current column area from the search start point to the left end of the article area in the RAM 73 (S1006). Is the article separator (S1005: YES), the CPU 75 stores the image data of the current column area from the search start point to the article separator in the RAM 73 (S1006).

そして、CPU75は、探索領域を次(下側)の段組領域に移動させることが可能か否かを判断する(S1007)。   Then, the CPU 75 determines whether or not the search area can be moved to the next (lower) column area (S1007).

探索領域を次の段組領域に移動させることができない場合には、図10Aに示されるように、例えば、現在のページに次の段組領域がない場合である。   When the search area cannot be moved to the next column area, as shown in FIG. 10A, for example, there is no next column area on the current page.

探索領域を次の段組領域に移動させることが可能である場合には(S1007:YES)、CPU75は、探索領域を次の段組領域の右端に移動させて(S1008)、ステップS1002の処理に戻り、終了マーカの探索を行う(S1002)。   If it is possible to move the search area to the next column area (S1007: YES), the CPU 75 moves the search area to the right end of the next column area (S1008), and the process of step S1002 Returning to step S1002, the end marker is searched for.

探索領域を次の段組領域に移動させることが可能でない場合は(S1007:NO)、図10Aに示されるように、現在のページの探索が終了したということであるので、現在(現在のページにおける最後)の探索領域を仮見出しマーカとしてRAM73に記憶させ(S1009)、図10Bに示されるように、図6のステップS911の処理により、次のページの右端を探索開始点として、再び、終了マーカ探索処理を実行する。   If it is not possible to move the search area to the next column area (S1007: NO), as shown in FIG. 10A, it means that the search for the current page has been completed. The last search area in FIG. 6 is stored in the RAM 73 as a temporary headline marker (S1009), and, as shown in FIG. 10B, the process ends in step S911 in FIG. 6 with the right edge of the next page as the search start point. Perform marker search processing.

一方、終了マーカが検出された場合には(S1003:YES)、CPU75は、探索開始点から終了マーカまでの現在の段組領域の画像データをRAM73に記憶させ(S1010)、終了マーカ探索処理を終了する。   On the other hand, when the end marker is detected (S1003: YES), the CPU 75 stores the image data of the current column area from the search start point to the end marker in the RAM 73 (S1010), and performs end marker search processing. finish.

<抽出合成処理> <Extract synthesis process>

図4のステップS11で実行される抽出合成処理の流れは、図11に示されている。   FIG. 11 shows the flow of the extraction and synthesis process executed in step S11 of FIG.

抽出合成処理では、CPU75は、この記事についてRAM73に記憶されている画像データの中に、見出しマーカから記事セパレータまでの画像データがあるか否かを判断する(S1101)。   In the extracting and synthesizing process, the CPU 75 determines whether there is image data from the heading marker to the article separator in the image data stored in the RAM 73 for this article (S1101).

見出しマーカから記事セパレータまでの画像がない場合には(S1101:NO)、1段の段組領域だけで記事が完結しているということなので、RAM73に記憶されている画像データを抽出対象記事として決定する。このとき、例えば、この画像データについてシートに画像形成を行ってもよい。   If there is no image from the heading marker to the article separator (S1101: NO), it means that the article is completed with only one column area, so the image data stored in the RAM 73 is used as the article to be extracted. decide. At this time, for example, an image may be formed on the sheet for this image data.

見出しマーカから記事セパレータまでの画像がある場合には(S1101:YES)、CPU75は、この記事についてRAM73に記憶されている複数の画像データのうち、探索開始点から記事セパレータまでの画像データを抽出する(S1102)。探索開始点から記事セパレータまでの画像データとは、見出しマーカから記事セパレータまでの画像データや記事セパレータから記事セパレータまでの画像データなど終了マーカを含まない画像データである。   If there is an image from the heading marker to the article separator (S1101: YES), the CPU 75 extracts image data from the search start point to the article separator among the plurality of image data stored in the RAM 73 for this article. (S1102). The image data from the search start point to the article separator is image data that does not include an end marker such as image data from the heading marker to the article separator and image data from the article separator to the article separator.

次に、CPU75は、この記事についてRAM73に記憶されている複数が画像データのうち、探索開始点から終了マーカまでの画像データを抽出する(S1103)。探索開始点から終了マーカまでの画像データとは、記事セパレータから終了マーカまでの画像データのように、見出しマーカを含まず終了マーカを含む画像データである。   Next, the CPU 75 extracts image data from the search start point to the end marker among the plurality of image data stored in the RAM 73 for this article (S1103). The image data from the search start point to the end marker is image data that does not include the heading marker but includes the end marker, like the image data from the article separator to the end marker.

そして、CPU75は、図12Aに示されるように、この記事についてRAM73から抽出された画像データをRAM73に記憶された順に、画像データにおける記事の左側の記事セパレータの位置と、次の画像データにおける記事の右側の記事セパレータの位置とを合わせるように画像データを合成する(S1104)。   Then, as shown in FIG. 12A, the CPU 75 extracts the image data extracted from the RAM 73 for this article in the order stored in the RAM 73, and the position of the article separator on the left side of the article in the image data and the article in the next image data. The image data is synthesized so as to match the position of the right article separator (S1104).

このとき、例えば、合成された画像データがMFP1によりシートに出力される際に、MFP1の主走査方向において、出力画像の幅がMFP1で出力可能な規定幅を超える場合には、図12Bに示されるように、各画像データを記事の右側の記事セパレータに揃えて合成する。   At this time, for example, when the synthesized image data is output to the sheet by the MFP 1, if the width of the output image exceeds the specified width that can be output by the MFP 1 in the main scanning direction of the MFP 1, FIG. As shown, each image data is aligned with the article separator on the right side of the article and synthesized.

そして、CPU75は、合成した画像データを抽出対象記事としてRAM73に保存する(S1105)。このとき、例えば、この画像データについてシートに画像形成を行ってもよい。   Then, the CPU 75 stores the synthesized image data in the RAM 73 as an extraction target article (S1105). At this time, for example, an image may be formed on the sheet for this image data.

<作用効果> <Effect>

以上のように、画像データの中から、記事の見出しマーカ及び終了マーカが探索される。この探索により、見出しマーカ及び終了マーカが検出されると、見出しマーカから終了マーカまでの画像データが段組領域毎、つまり段組幅の方向に互いに隣り合う段組セパレータ間の領域毎に抽出される。そのため、記事の画像データを抽出するためのマーキングを不要とすることができる。   As described above, the headline marker and the end marker of the article are searched from the image data. When a heading marker and an end marker are detected by this search, image data from the heading marker to the end marker is extracted for each column region, that is, for each region between column separators adjacent to each other in the column width direction. The Therefore, marking for extracting image data of an article can be made unnecessary.

そして、段組領域毎に抽出された各画像データが合成される。そのため、段組を考慮して合成された画像データを得ることができる。その結果、合成された画像データに係る画像を使用者が見やすい画像にすることができる。   Then, the image data extracted for each column area is synthesized. Therefore, it is possible to obtain image data synthesized taking column sets into consideration. As a result, it is possible to make the image related to the combined image data easy to see for the user.

CPU75は、抽出対象記事の記事特定情報及びマーカ情報を特定する記事選択情報の入力を要求する。   The CPU 75 requests input of article selection information for specifying article specifying information and marker information of the extraction target article.

記事選択情報が入力されることにより、抽出対象記事の記事特定情報及びマーカ情報が特定され、見出し画像及び終了画像の検出が容易になり、使用者が所望する画像データを精度よく抽出することができる。   By inputting the article selection information, the article specifying information and the marker information of the extraction target article are specified, the detection of the heading image and the end image is facilitated, and the image data desired by the user can be extracted with high accuracy. it can.

CPU75は、段組領域毎に、見出しマーカを探索する。また、検出された見出しマーカが含まれる段組領域を、見出しマーカから段組セパレータに沿った文の流れの方向に、終了マーカを探索し、終了マーカが検出されない場合には、当該段組領域に隣接する次の段組領域を探索対象として、文の流れの方向に終了マーカを探索し、終了マーカを検出するまで、探索対象の移動及び終了マーカの探索を実行する。   The CPU 75 searches for a heading marker for each column area. If the end marker is searched for the column area including the detected headline marker in the direction of the sentence flow along the column separator from the headline marker, and the end marker is not detected, the column area The next column area adjacent to is searched for the end marker in the direction of the sentence flow, and the search target is moved and the end marker is searched until the end marker is detected.

これにより、段組領域毎に、見出しマーカが探索される。見出しマーカが検出されると、見出しマーカが含まれる段組領域を、見出しマーカから段組セパレータに沿った文の流れの方向に、終了マーカが探索される。当該段組領域に終了マーカが検出されない場合、終了マーカが検出されるまで、段組領域が次々と終了マーカの検索対象とされる。これにより、見出しマーカ及び終了マーカを効率よくかつ精度よく検出することができる。   Thereby, a heading marker is searched for every column area. When the heading marker is detected, the end marker is searched for the column region including the heading marker in the direction of the sentence flow along the column separator from the heading marker. When the end marker is not detected in the column area, the column area is successively searched for the end marker until the end marker is detected. Thereby, a heading marker and an end marker can be detected efficiently and accurately.

CPU75は、段組セパレータから段組幅より短い幅の領域を探索する。   The CPU 75 searches for an area having a width shorter than the column width from the column separator.

これにより、段組領域の全域で見出しマーカが探索される構成と比較して、見出しマーカが探索される領域が狭いので、見出しマーカを短時間で検出することができる。   As a result, the heading marker can be detected in a short time because the area where the heading marker is searched is narrower than the configuration in which the heading marker is searched in the entire column area.

NVRAM74には、出典情報テーブルとして、出典原稿毎に、出典原稿の画像を分の流れの方向に区分する記事セパレータの情報が記憶されている。CPU75は、見出しマーカが含まれる段組領域の画像データであって、見出しマーカから見出しマーカに対して文の下流側に位置する記事セパレータまでの画像データを抽出し、見出しマーカが含まれる段組領域以外の段組領域の画像データであって、文の上流側の記事セパレータから下流側の記事セパレータ又は終了マーカまでの画像データを抽出する。そして、CPU75は、抽出された画像データが複数ある場合には、抽出された複数の画像データを、記事セパレータを境界として合成する。   The NVRAM 74 stores, as a source information table, information on article separators that classify images of source documents in the direction of the flow for each source document. The CPU 75 extracts image data from the column marker area including the heading marker to the article separator located downstream of the sentence with respect to the heading marker, and includes the column marker including the heading marker. Image data from a column area other than the area, from the article separator on the upstream side of the sentence to the article separator or end marker on the downstream side is extracted. Then, when there are a plurality of extracted image data, the CPU 75 combines the extracted image data with the article separator as a boundary.

これにより、見出しマーカが含まれる段組領域における見出しマーカから文の下流側の記事セパレータまでの画像データと、文の上流側の記事セパレータから文の下流側の記事セパレータ又は終了マーカまでの画像データとが抽出される。そして、その抽出された複数の画像データは、記事セパレータを境界として合成される。そのため、合成された画像データに係る画像を、使用者が見やすい1つの画像として得ることができる。   As a result, image data from the headline marker to the article separator on the downstream side of the sentence in the column area including the headline marker, and image data from the article separator on the upstream side of the sentence to the article separator or end marker on the downstream side of the sentence. And are extracted. Then, the extracted plurality of image data are combined with the article separator as a boundary. Therefore, an image related to the synthesized image data can be obtained as one image that is easy for the user to see.

CPU75は、抽出された複数の画像データを、記事セパレータを境界として合成した場合に、合成された画像データに係る画像における文の流れの方向の幅が規定幅を超える場合には、抽出された複数の画像データを、文の上流側の記事セパレータに揃えて合成する。   When the extracted image data is combined with the article separator as a boundary, the CPU 75 extracts the extracted image data if the width of the sentence flow direction in the image related to the combined image data exceeds the specified width. A plurality of image data are combined and aligned with the article separator on the upstream side of the sentence.

これにより、複数の画像データが記事セパレータを境界として合成された場合に、例えば、合成された画像データがMFP1によりシートに出力される際に、MFP1の主走査方向において、出力画像の幅がMFP1で出力可能な規定幅を超える場合が想定される。この場合、複数の画像データが文の上流側の記事セパレータに揃えて合成されることにより、合成された画像データに係る画像を、使用者が見やすい1つの画像として得ることができる。   As a result, when a plurality of image data are combined with the article separator as a boundary, for example, when the combined image data is output to the sheet by the MFP 1, the width of the output image in the main scanning direction of the MFP 1 is MFP1. It is assumed that the output exceeds the specified width that can be output with. In this case, by combining a plurality of image data in alignment with the article separator on the upstream side of the sentence, it is possible to obtain an image related to the combined image data as one image that is easy for the user to view.

CPU75は、スキャンされた画像データの中から終了マーカを検出できなかった場合、次回スキャンされた画像データの中から終了マーカを探索する。   If the end marker cannot be detected from the scanned image data, the CPU 75 searches for the end marker from the next scanned image data.

これにより、終了マーカが次回スキャンされた画像データに含まれていても、終了マーカを検出することができる。その結果、使用者が所望する画像データが複数のページに跨がる場合であっても、異なるページの複数の画像データを1つの画像データに合成して得ることができる。   Thereby, even if the end marker is included in the image data scanned next time, the end marker can be detected. As a result, even when the image data desired by the user extends over a plurality of pages, a plurality of image data on different pages can be combined into one image data.

CPU75は、スキャンされた画像データに係る画像に含まれる文字の向きを検出し、当該文字の向きと出典原稿の向きとが一致するように、当該画像データに対して画像を回転させる処理を実行する。そして、回転処理後の画像データの中から、見出しマーカと終了マーカとを探索する。   The CPU 75 detects the direction of characters included in the image related to the scanned image data, and executes a process of rotating the image with respect to the image data so that the direction of the character matches the direction of the source document. To do. Then, the heading marker and the end marker are searched from the image data after the rotation processing.

これにより、スキャンされた画像データに係る画像に含まれる文字の向きが検出され、当該文字の向きと出典原稿の向きとが一致するように、画像データに対して画像を回転させる処理が行われる。そして、その回転処理後の画像データの中から見出しマーカ及び終了マーカが探索されるので、見出しマーカ及び終了マーカを精度よく検出することができる。その結果、使用者が所望する画像データを良好に抽出することができる。   As a result, the direction of characters included in the image related to the scanned image data is detected, and processing for rotating the image with respect to the image data is performed so that the direction of the character matches the direction of the source document. . Since the heading marker and the end marker are searched from the image data after the rotation processing, the heading marker and the end marker can be detected with high accuracy. As a result, the image data desired by the user can be extracted satisfactorily.

<変形例> <Modification>

以上、本発明の実施形態について説明したが、本発明は、他の形態で実施することもできる。   As mentioned above, although embodiment of this invention was described, this invention can also be implemented with another form.

例えば、前述の実施形態においては、縦書きの新聞記事を出典原稿の例として説明したが、出典原稿は、横書きの記事であってもよい。横書きの記事の場合には、原稿の横方向に段組されているので、段組セパレータの探索は、再右段の段組領域の上端から左側に向かって行う。この場合、次の段組領域とは、現在の段組領域の左側の段組領域を意味する。   For example, in the above-described embodiment, a vertically written newspaper article has been described as an example of a source manuscript, but the source manuscript may be a horizontally written article. In the case of a horizontally written article, it is arranged in the horizontal direction of the document, so the search for the column separator is performed from the upper end of the column area in the right column again to the left. In this case, the next column area means a column area on the left side of the current column area.

その他、前述の構成には、特許請求の範囲に記載された事項の範囲で種々の設計変更を施すことが可能である。   In addition, various design changes can be made to the above-described configuration within the scope of the matters described in the claims.

1 MFP
20 画像読取部
70 制御部
74 NVRAM
1 MFP
20 Image reading unit 70 Control unit 74 NVRAM

Claims (10)

画像データを取得する画像取得部と、
出典原稿毎に、出典原稿の画像を所定の段組幅毎に区分する段組セパレータの情報と段組セパレータ間の前記段組幅とが対応づけて記憶される記憶部と、
制御部と、
を備え、
前記制御部は、
前記段組セパレータの情報に基づいて前記段組セパレータを探索する段組セパレータ探索処理と、
前記画像取得部で取得された画像データの中から、見出し画像と終了画像とを探索する探索処理と、
前記探索処理で検出された前記見出し画像から前記終了画像まで、前記段組セパレータに沿った前記段組幅の段組領域毎に、画像データを抽出する抽出処理と、
前記抽出処理によって段組領域毎に抽出された各画像データを合成する合成処理と
を有する、画像処理装置。
An image acquisition unit for acquiring image data;
For each source document, a storage unit that stores information on column separators that classify images of source documents into predetermined column widths and the column widths between column separators are stored in association with each other.
A control unit;
With
The controller is
A column separator search process for searching for the column separator based on the information of the column separator;
A search process for searching for a heading image and an end image from the image data acquired by the image acquisition unit;
From the heading image detected in the search process to the end image, an extraction process for extracting image data for each column area of the column width along the column separator;
An image processing apparatus comprising: a composition process for composing each image data extracted for each column area by the extraction process.
請求項1に記載の画像処理装置であって、
前記制御部は、
更に、
前記画像データの出典原稿及び見出しの情報の入力を要求する入力要求処理、
を有する、画像処理装置。
The image processing apparatus according to claim 1,
The controller is
Furthermore,
An input request process for requesting input of source image information and heading information of the image data;
An image processing apparatus.
請求項1又は2に記載の画像処理装置であって、
前記探索処理は、
前記段組領域毎に、前記見出し画像を探索する見出し画像探索処理と、
前記見出し画像探索処理によって検出された前記見出し画像が含まれる前記段組領域を、前記見出し画像から段組セパレータに沿った所定方向に、前記終了画像を探索し、前記終了画像が検出されない場合には、当該段組領域に対して前記所定方向と直交する方向に隣接する次の段組領域を探索対象として、前記所定方向に前記終了画像を探索し、前記終了画像を検出するまで、探索対象の移動及び前記終了画像の探索を実行する終了画像探索処理と、
を含む、画像処理装置。
The image processing apparatus according to claim 1, wherein:
The search process includes
For each column region, a heading image search process for searching the heading image;
When the end image is searched in the predetermined direction along the column separator from the heading image for the column region including the heading image detected by the heading image search process, and the end image is not detected Search for the next column area adjacent to the column area in a direction orthogonal to the predetermined direction until the end image is searched in the predetermined direction until the end image is detected. An end image search process for executing the movement of the image and the search for the end image;
An image processing apparatus.
請求項3に記載の画像処理装置であって、
前記制御部は、
前記見出し画像探索処理において、段組セパレータから前記段組幅より短い幅の領域を探索する、
画像処理装置。
The image processing apparatus according to claim 3,
The controller is
In the heading image search process, a region having a width shorter than the column width is searched from the column separator.
Image processing device.
請求項3又は4に記載の画像処理装置であって、
前記記憶部には、出典原稿毎に、出典原稿の画像を前記所定方向に区分する記事セパレータの情報が記憶され、
前記抽出処理は、
前記見出し画像が含まれる前記段組領域の画像データであって、前記見出し画像から前記見出し画像に対して前記所定方向の下流側に位置する記事セパレータまでの画像データを抽出する第1抽出処理と、
前記見出し画像が含まれる段組領域以外の段組領域の画像データであって、前記所定方向の上流側の記事セパレータから下流側の記事セパレータ又は前記終了画像までの画像データを抽出する第2抽出処理と、
を含み、
前記制御部は、
前記合成処理において、前記第1抽出処理によって抽出された画像データと、前記第2抽出処理によって抽出された画像データとを、記事セパレータを境界として合成する、
画像処理装置。
The image processing apparatus according to claim 3 or 4,
In the storage unit, for each source document, information of an article separator that classifies the image of the source document in the predetermined direction is stored.
The extraction process is:
A first extraction process for extracting image data from the header image to an article separator located downstream in the predetermined direction with respect to the header image, the image data of the multi-column area including the header image; ,
A second extraction that extracts image data of a column area other than the column area including the heading image, from the upstream article separator to the downstream article separator or the end image in the predetermined direction. Processing,
Including
The controller is
In the synthesis process, the image data extracted by the first extraction process and the image data extracted by the second extraction process are synthesized using an article separator as a boundary.
Image processing device.
請求項5に記載の画像処理装置であって、
前記制御部は、
前記合成処理において、前記第1抽出処理によって抽出された画像データと、前記第2抽出処理によって抽出された画像データとを、記事セパレータを境界として合成した場合に、合成された画像データに係る画像における所定の主走査方向の幅が規定幅を超える場合には、第1抽出処理によって抽出された画像データと、前記第2抽出処理によって抽出された画像データとを、前記所定方向の上流側の記事セパレータに揃えて合成する、
画像処理装置。
The image processing apparatus according to claim 5,
The controller is
In the synthesis process, when the image data extracted by the first extraction process and the image data extracted by the second extraction process are synthesized with an article separator as a boundary, an image related to the synthesized image data When the predetermined width in the main scanning direction exceeds the specified width, the image data extracted by the first extraction process and the image data extracted by the second extraction process are connected upstream of the predetermined direction. Align and compose with article separator,
Image processing device.
請求項から6のいずれか1項に記載の画像処理装置であって、
前記制御部は、
前記終了画像探索処理において、前記画像取得部によって取得された画像データの中から前記終了画像を検出できなかった場合、前記画像取得部によって次に取得された画像データの中から前記終了画像を探索する、
画像処理装置。
The image processing apparatus according to any one of claims 3 to 6,
The controller is
In the end image search process, when the end image cannot be detected from the image data acquired by the image acquisition unit, the end image is searched from the image data acquired next by the image acquisition unit. To
Image processing device.
請求項1から7のいずれか1項に記載の画像処理装置であって、
前記制御部は、
更に、
前記画像取得部によって取得された画像データに係る画像に含まれる文字の向きを検出し、当該文字の向きと出典原稿の向きとが一致するように、当該画像データに対して画像を回転させる処理を実行する回転処理
を有し、
前記探索処理において、前記回転処理後の画像データの中から、前記見出し画像と前記終了画像とを探索する、
画像処理装置。
The image processing apparatus according to any one of claims 1 to 7,
The controller is
Furthermore,
Processing for detecting the direction of characters included in the image related to the image data acquired by the image acquisition unit, and rotating the image with respect to the image data so that the direction of the character matches the direction of the source document Rotation process to execute
In the search process, the heading image and the end image are searched from the image data after the rotation process.
Image processing device.
画像データを取得する画像取得部と、出典原稿毎に、出典原稿の画像を所定の段組幅毎に区分する段組セパレータの情報と段組セパレータ間の前記段組幅とが対応づけて記憶される記憶部とを備える画像処理装置で実行される画像処理方法であって、
前記段組セパレータの情報に基づいて前記段組セパレータを探索する段組セパレータ探索ステップと、
前記画像取得部で取得された画像データの中から、見出し画像と終了画像とを探索する探索ステップと、
前記探索ステップで検出された前記見出し画像から前記終了画像まで、前記段組セパレータに沿った前記段組幅の段組領域毎に、画像データを抽出する抽出ステップと、
前記抽出ステップによって段組領域毎に抽出された各画像データを合成する合成ステップと
を含む、画像処理方法。
For each source document, an image acquisition unit that acquires image data, and information on column separators that classify images of source documents into predetermined column widths and the column widths between column separators are stored in association with each other. An image processing method executed by an image processing apparatus comprising:
A column separator search step for searching for the column separator based on the information of the column separator;
A search step for searching for a heading image and an end image from the image data acquired by the image acquisition unit;
An extraction step for extracting image data for each column region of the column width along the column separator from the heading image detected in the search step to the end image;
And a synthesis step of synthesizing the image data extracted for each column region by the extraction step.
画像データを取得する画像取得部と、出典原稿毎に、出典原稿の画像を所定の段組幅毎に区分する段組セパレータの情報と段組セパレータ間の前記段組幅とが対応づけて記憶される記憶部とを備える画像処理装置のコンピュータにインストールされるプログラムであって、
前記コンピュータに、
前記段組セパレータの情報に基づいて前記段組セパレータを探索する段組セパレータ探索処理と、
前記画像取得部で取得された画像データの中から、見出し画像と終了画像とを探索する探索処理と、
前記探索処理で検出された前記見出し画像から前記終了画像まで、前記段組セパレータに沿った前記段組幅の段組領域毎に、画像データを抽出する抽出処理と、
前記抽出処理によって段組領域毎に抽出された各画像データを合成する合成処理と
を実行させる、プログラム。
For each source document, an image acquisition unit that acquires image data, and information on column separators that classify images of source documents into predetermined column widths and the column widths between column separators are stored in association with each other. A program installed in a computer of an image processing apparatus comprising a storage unit,
In the computer,
A column separator search process for searching for the column separator based on the information of the column separator;
A search process for searching for a heading image and an end image from the image data acquired by the image acquisition unit;
From the heading image detected in the search process to the end image, an extraction process for extracting image data for each column area of the column width along the column separator;
And a synthesis process for synthesizing the image data extracted for each column area by the extraction process.
JP2014074712A 2014-03-31 2014-03-31 Image processing apparatus, image processing method, and program Active JP6187366B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014074712A JP6187366B2 (en) 2014-03-31 2014-03-31 Image processing apparatus, image processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014074712A JP6187366B2 (en) 2014-03-31 2014-03-31 Image processing apparatus, image processing method, and program

Publications (2)

Publication Number Publication Date
JP2015198307A JP2015198307A (en) 2015-11-09
JP6187366B2 true JP6187366B2 (en) 2017-08-30

Family

ID=54547787

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014074712A Active JP6187366B2 (en) 2014-03-31 2014-03-31 Image processing apparatus, image processing method, and program

Country Status (1)

Country Link
JP (1) JP6187366B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6708061B2 (en) * 2016-08-30 2020-06-10 京セラドキュメントソリューションズ株式会社 Image processing device, image reading device, and image forming device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004072527A (en) * 2002-08-07 2004-03-04 Seiko Epson Corp MFPs, electronic filing systems and scanners

Also Published As

Publication number Publication date
JP2015198307A (en) 2015-11-09

Similar Documents

Publication Publication Date Title
CN107867090B (en) Printing apparatus, control method of printing apparatus, and recording medium
JP6066108B2 (en) Electronic document generation system and program
US11418658B2 (en) Image processing apparatus, image processing system, image processing method, and storage medium
CN108132762B (en) Image processing apparatus and image forming apparatus
JP2021057783A (en) Image processing device, control method of image processing device and program of the same
US10810383B2 (en) Image processing apparatus for comparing documents in different languages
JP2018046416A (en) Information processing device and program
JP2019109628A5 (en)
US20180091671A1 (en) Image Reading Apparatus and Image Reading Method That Simply Detect Document Direction in Reading of Book Document, and Recording Medium Therefor
JP6187366B2 (en) Image processing apparatus, image processing method, and program
US20190188266A1 (en) Image processing apparatus
JP4924990B2 (en) Document processing apparatus and document processing program
JP2017157981A (en) Electronics
JP2007005950A (en) Image processing apparatus and network system
JP5935376B2 (en) Copy machine
JP6260177B2 (en) Image processing system, image processing method, and image processing program
JP2007082021A (en) Image processing apparatus, program, and image data processing method
JP2014212387A (en) Image forming apparatus and image formation control method
JP6123486B2 (en) Image information processing apparatus and program
JP2980955B2 (en) Image generation device
JP6624027B2 (en) Image processing apparatus and image forming apparatus
JP2004246500A (en) Documents management program
JP2019091984A (en) Image processing apparatus
JP6708061B2 (en) Image processing device, image reading device, and image forming device
JP5879286B2 (en) Search system using device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20161014

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170502

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170614

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20170704

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170717

R150 Certificate of patent or registration of utility model

Ref document number: 6187366

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150