JP2018019203A - Image processing processor and program - Google Patents

Image processing processor and program Download PDF

Info

Publication number
JP2018019203A
JP2018019203A JP2016147128A JP2016147128A JP2018019203A JP 2018019203 A JP2018019203 A JP 2018019203A JP 2016147128 A JP2016147128 A JP 2016147128A JP 2016147128 A JP2016147128 A JP 2016147128A JP 2018019203 A JP2018019203 A JP 2018019203A
Authority
JP
Japan
Prior art keywords
image
layout
document
images
card
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
JP2016147128A
Other languages
Japanese (ja)
Inventor
弘和 高橋
Hirokazu Takahashi
弘和 高橋
馬華 王
Mahua Wang
馬華 王
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2016147128A priority Critical patent/JP2018019203A/en
Priority to CN201710224453.6A priority patent/CN107666547B/en
Publication of JP2018019203A publication Critical patent/JP2018019203A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00002Diagnosis, testing or measuring; Detecting, analysing or monitoring not otherwise provided for
    • H04N1/00005Diagnosis, testing or measuring; Detecting, analysing or monitoring not otherwise provided for relating to image data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00002Diagnosis, testing or measuring; Detecting, analysing or monitoring not otherwise provided for
    • H04N1/00007Diagnosis, testing or measuring; Detecting, analysing or monitoring not otherwise provided for relating to particular apparatus or devices
    • H04N1/00015Reproducing apparatus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/0035User-machine interface; Control console
    • H04N1/00405Output means
    • H04N1/00408Display of information to the user, e.g. menus
    • H04N1/0044Display of information to the user, e.g. menus for image preview or review, e.g. to help the user position a sheet
    • H04N1/00442Simultaneous viewing of a plurality of images, e.g. using a mosaic display arrangement of thumbnails
    • H04N1/00456Simultaneous viewing of a plurality of images, e.g. using a mosaic display arrangement of thumbnails for layout preview, e.g. page layout
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00681Detecting the presence, position or size of a sheet or correcting its position before scanning
    • H04N1/00763Action taken as a result of detection
    • H04N1/00774Adjusting or controlling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/387Composing, repositioning or otherwise geometrically modifying originals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00681Detecting the presence, position or size of a sheet or correcting its position before scanning
    • H04N1/00684Object of the detection
    • H04N1/00702Position
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00681Detecting the presence, position or size of a sheet or correcting its position before scanning
    • H04N1/00684Object of the detection
    • H04N1/00708Size or dimensions

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Record Information Processing For Printing (AREA)
  • Processing Or Creating Images (AREA)
  • Facsimiles In General (AREA)

Abstract

PROBLEM TO BE SOLVED: To generate, when generating an output image from a plurality of originals of different kinds, the output image which has images of the plurality of originals arranged in a layout corresponding to a combination of those originals.SOLUTION: A layout determination part 438 has information on a combination of originals (ID card etc.) needed for a procedure, sizes of those originals, and a layout for copying images of those originals together. An image processing part 430 extracts the images of the respective originals from images that a reader 120 reads by using an outline extraction part 434 etc. A layout determination part 438 finds a layout corresponding to a combination of sizes of extracted images of the respective originals, generates and sends an output image having the images of the respective originals arrayed in the layout to an image formation part 220, which is made to print the image.SELECTED DRAWING: Figure 3

Description

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

免許証やパスポート、名刺といった特定サイズの原稿の複数の面(例えば免許証の表面と裏面)から1つの画像を形成する機能を持った画像形成装置がある。   There is an image forming apparatus having a function of forming one image from a plurality of surfaces (for example, the front and back surfaces of a license) of a document of a specific size such as a license, a passport, and a business card.

例えば特許文献1に開示された装置は、原稿の種類を指定する原稿種指定手段と、前記原稿種に応じて2つの原稿面の切り替えを指示する原稿面切り替え指示手段と、前記指定された原稿種の前記原稿面の読み込みの際に前記原稿種と原稿面により予め特定された画像処理を行なう画像処理手段とを有する。   For example, an apparatus disclosed in Patent Document 1 includes a document type designation unit that designates a document type, a document surface switching instruction unit that instructs switching between two document surfaces according to the document type, and the designated document. And image processing means for performing image processing specified in advance by the document type and the document surface when reading the document surface.

特開2009−100102号公報JP 2009-100102 A

定められた複数種類の原稿の特定の面を組み合わせて1ページにコピーするというニーズがある。例えば、手続のために個人のIDカードとパスポートの特定のページとを1枚の用紙に特定のレイアウトで配置したコピーを提出することが求められる場合があり得る。目的が異なれば、提出する原稿の組み合わせや提出するコピーにおけるそれら原稿の並べ方(レイアウト)も異なる。ユーザが指定した1種類の原稿の各面の画像を読み取って1ページにコピーする方式では、複数種類の原稿の画像をその組み合わせに対応したレイアウトで配置した出力画像を生成することはできない。   There is a need to copy specific pages of a plurality of types of originals combined into one page. For example, it may be required to submit a copy of a personal ID card and a specific page of a passport arranged in a specific layout on a single sheet for the procedure. If the purpose is different, the combination of submitted manuscripts and the arrangement (layout) of those manuscripts in the submitted copy are also different. In the method of reading images on each side of one type of document designated by the user and copying them on one page, it is not possible to generate an output image in which images of a plurality of types of documents are arranged in a layout corresponding to the combination.

本発明は、種類が異なる複数の原稿から出力画像を生成する場合に、それら複数の原稿の組み合わせに対応するレイアウトでそれら原稿の画像を配置した出力画像を生成できるようにすることを目的とする。   It is an object of the present invention to generate an output image in which images of originals are arranged in a layout corresponding to a combination of the plurality of originals when the output images are generated from a plurality of different types of originals. .

請求項1に係る発明は、読み取り領域に配置された複数の原稿を読み取ることにより、それら複数の原稿の各々について原稿画像を生成する読み取り手段と、前記読み取り手段で生成された複数の原稿画像のサイズの組み合わせに対応するレイアウトに従ってそれら原稿画像を配置した出力画像、を生成する出力画像生成手段と、を含む画像処理装置である。   According to a first aspect of the present invention, there is provided a reading unit that generates a document image for each of the plurality of documents by reading a plurality of documents arranged in the reading area, and a plurality of document images generated by the reading unit. The image processing apparatus includes an output image generation unit that generates an output image in which the document images are arranged according to a layout corresponding to a combination of sizes.

請求項2に係る発明は、前記出力画像生成手段は、前記レイアウトとして、前記読み取り手段で生成された複数の原稿画像のサイズの組み合わせと、それら複数の原稿画像の前記読み取り領域内での位置関係と、の組に対応するレイアウトを用いる、ことを特徴とする請求項1に記載の画像処理装置である。   In the invention according to claim 2, the output image generation unit includes, as the layout, a combination of sizes of a plurality of document images generated by the reading unit and a positional relationship of the plurality of document images in the reading region. The image processing apparatus according to claim 1, wherein a layout corresponding to the set is used.

請求項3に係る発明は、前記出力画像生成手段は、前記読み取り手段で生成された複数の原稿画像のサイズの組み合わせに対応するレイアウトが複数ある場合、それら複数のレイアウトを提示してユーザから選択を受け、前記ユーザが選択したレイアウトを用いて前記出力画像を生成する、ことを特徴とする請求項1に記載の画像処理装置である。   In the invention according to claim 3, when there are a plurality of layouts corresponding to combinations of sizes of a plurality of document images generated by the reading unit, the output image generation unit presents the plurality of layouts and is selected from the user. The image processing apparatus according to claim 1, wherein the output image is generated using a layout selected by the user.

請求項4に係る発明は、コンピュータを、読み取り領域に配置された複数の原稿を読み取った読み取り装置から取得した読み取り画像から、それら複数の原稿の各々について原稿画像を抽出する手段と、抽出された複数の原稿画像のサイズの組み合わせに対応するレイアウトに従ってそれら原稿画像を配置した出力画像、を生成する出力画像生成手段、として機能させるためのプログラムである。   According to a fourth aspect of the present invention, there is provided: means for extracting a document image for each of a plurality of documents from a read image acquired from a reading device that has read a plurality of documents arranged in a reading area; This is a program for functioning as output image generation means for generating an output image in which these document images are arranged according to a layout corresponding to a combination of sizes of a plurality of document images.

請求項1又は4に係る発明によれば、個々の原稿画像のサイズから特定される原稿の組み合わせに対応したレイアウトで、それら原稿の画像を配置した出力画像を生成できる。   According to the first or fourth aspect of the present invention, it is possible to generate an output image in which images of originals are arranged in a layout corresponding to a combination of originals specified from the sizes of individual original images.

請求項2に係る発明によれば、複数の原稿画像のサイズの組み合わせに対応するレイアウトが複数存在する場合に、読み取り領域に配置する原稿の位置関係により、使用するレイアウトを特定することができる。   According to the second aspect of the present invention, when there are a plurality of layouts corresponding to a combination of sizes of a plurality of document images, the layout to be used can be specified based on the positional relationship of the documents placed in the reading area.

請求項3に係る発明によれば、複数の原稿画像のサイズの組み合わせに対応するレイアウトが複数存在する場合、ユーザの望むレイアウトを指定することができる。   According to the third aspect of the present invention, when there are a plurality of layouts corresponding to combinations of sizes of a plurality of document images, the layout desired by the user can be designated.

中国の戸籍表のページ構成を説明するための図である。It is a figure for demonstrating the page structure of a Chinese family register. IDカードと戸籍表の特定のページ群を1枚の用紙にコピーして生成した提出書類を模式的に示す図である。It is a figure which shows typically the presentation document which copied and produced | generated the specific page group of the ID card and the family register on one sheet. 実施形態の画像形成装置の構成の一例を示す図である。1 is a diagram illustrating an example of a configuration of an image forming apparatus according to an embodiment. 中国のIDカード、戸籍表、パスポートの各面のサイズを示す図である。It is a figure which shows the size of each surface of a Chinese ID card, a family register, and a passport. ある手続のために提出する原稿のコピーを生成するためのスキャン作業と、それら原稿のレイアウトを説明するための図である。It is a figure for demonstrating the scanning operation | work for producing | generating the copy of the manuscript submitted for a certain procedure, and the layout of those manuscripts. レイアウト判定テーブルのデータ内容の一例を示す図である。It is a figure which shows an example of the data content of a layout determination table. 別の手続のために提出する原稿のコピーを生成するためのスキャン作業と、それら原稿のレイアウトを説明するための図である。It is a figure for demonstrating the scanning operation | work for producing | generating the copy of the manuscript submitted for another procedure, and the layout of these manuscripts. 更に別の手続のために提出する原稿のコピーを生成するためのスキャン作業と、それら原稿のレイアウトを説明するための図である。It is a figure for demonstrating the scanning operation | work for producing | generating the copy of the original document submitted for another procedure, and the layout of those original documents. 更に別の手続のために提出する原稿のコピーを生成するためのスキャン作業と、それら原稿のレイアウトを説明するための図である。It is a figure for demonstrating the scanning operation | work for producing | generating the copy of the original document submitted for another procedure, and the layout of those original documents. 更に別の手続のために提出する原稿のコピーを生成するためのスキャン作業と、それら原稿のレイアウトを説明するための図である。It is a figure for demonstrating the scanning operation | work for producing | generating the copy of the original document submitted for another procedure, and the layout of those original documents. 更に別の手続のために提出する原稿のコピーを生成するためのスキャン作業と、それら原稿のレイアウトを説明するための図である。It is a figure for demonstrating the scanning operation | work for producing | generating the copy of the original document submitted for another procedure, and the layout of those original documents. 実施形態の処理手順の一例を示す図である。It is a figure which shows an example of the process sequence of embodiment. 図12の処理手順のうちのスキャン処理の更に詳細な手順を例示する図である。It is a figure which illustrates the further detailed procedure of the scanning process among the processing procedures of FIG. 対応する原稿画像のサイズの組み合わせが同一である複数のレイアウトの中から使用するものをユーザに選択させるために提供するUI画面を模式的に示す図である。It is a figure which shows typically UI screen provided in order to make a user select what to use from the some layout with the same combination of the size of a corresponding original image.

以下では、本実施形態の装置の機能を分かりやすく説明するために、中国の行政等の手続における提出書類の例を用いて説明を行う。   In the following, in order to explain the functions of the apparatus of the present embodiment in an easy-to-understand manner, an explanation will be given using an example of documents submitted in procedures such as Chinese administration.

中国では、各個人ごとにID(身分証明)カードを所有しており、役所等で手続を行う際、IDカードの表・裏両面をコピーして提出する機会が多い。また、手続の際に提出を要するものはIDカードとは限らず、戸籍表やパスポートのコピーの提出が必要なケースもある。パスポートは個人ごとに発行されるのに対し、戸籍表は個人単位ではなく家族を単位として発行される。戸籍表は、図1に例示するように、複数のページからなる冊子であり、一冊の中に戸主の情報が記載されたページと家族の各構成員の情報が記載されたページとが組み合わされている。図示のように、戸籍表は上下に見開く形式であり、戸主や他の各構成員の基本情報は下段のページに記載され、それら各下段ページの次の上段ページにその基本情報に対する変更事項が記載される。見開き2ページのコピーの提出が求められる場合もあるが、多くの場合は下半分に位置する戸主や各構成員の基本情報のページの提出が必要とされる。   In China, each individual has an ID (identification) card, and when carrying out procedures at a public office, etc., there are many opportunities to copy and submit both the front and back of the ID card. In addition, what needs to be submitted at the time of the procedure is not necessarily an ID card, and there are cases where it is necessary to submit a copy of a family register or passport. Passports are issued on an individual basis, whereas family register is issued on a family basis rather than an individual basis. The family register is a booklet that consists of multiple pages, as illustrated in Fig. 1. A page that contains information on the landlord in a single book and a page that contains information on each member of the family. Has been. As shown in the figure, the family register is opened up and down, and the basic information of the owner and each other member is listed on the lower page, and there are changes to the basic information on the upper page next to each lower page. be written. In some cases, it is required to submit a copy of the two-page spread, but in most cases it is necessary to submit a page of basic information for the owner and each member located in the lower half.

IDカード、戸籍表又はパスポートなどといった複数種類の書類のコピーの提出を求められる手続もある。例えば、ある手続では、図2に例示するように、提出者個人のIDカードの表裏両面と、その個人が属する家族の戸籍表の戸主ページとその提出者の個人ページとを1ページにまとめたコピーの提出が要求される場合がある。   Some procedures require you to submit copies of multiple types of documents, such as an ID card, family register or passport. For example, in a certain procedure, as illustrated in FIG. 2, the front and back sides of the individual ID card of the submitter, the owner page of the family register of the family to which the individual belongs, and the personal page of the submitter are combined into one page. You may be required to submit a copy.

従来、ユーザから指定された1種類の書類について、提出が必要なページを順にスキャンし、それら各ページのスキャン結果を1ページに配列して印刷出力する機能を持つ画像形成装置がある。しかし、この機能は、1種類の書類のページの画像を1枚にまとめるものであり、複数種類の書類から抽出したページ群を配列することはできない。   2. Description of the Related Art Conventionally, there is an image forming apparatus having a function of sequentially scanning pages that need to be submitted for one type of document designated by a user, arranging the scan results of those pages into one page, and printing them out. However, this function combines the images of the pages of one type of document into one sheet, and it is not possible to arrange a group of pages extracted from a plurality of types of documents.

これに対し、本実施形態の画像形成装置は、複数種類の書類から抽出したページ群を1ページ(あるいは複数ページ)にまとめて、提出用のコピーを生成する機能を提供する。この機能のことを以下では「IDカードコピー・オートモード」と呼ぶこととする。以下、この「IDカードコピー・オートモード」機能を有する画像形成装置の例を説明する。   On the other hand, the image forming apparatus according to the present embodiment provides a function of collecting a group of pages extracted from a plurality of types of documents into one page (or a plurality of pages) and generating a copy for submission. This function is hereinafter referred to as “ID card copy / auto mode”. An example of an image forming apparatus having the “ID card copy / auto mode” function will be described below.

図3は、この画像形成装置の構成の例を示す図である。図3の画像形成装置は、スキャン機能、印刷機能、コピー機能を兼ね備えた複合機として構成された装置であり、画像読み取りユニット100、画像形成ユニット200、UI(ユーザインタフェース)ユニット300及びシステム制御ユニット400を含む。   FIG. 3 is a diagram illustrating an example of the configuration of the image forming apparatus. The image forming apparatus in FIG. 3 is an apparatus configured as a multifunction machine having a scan function, a print function, and a copy function, and includes an image reading unit 100, an image forming unit 200, a UI (user interface) unit 300, and a system control unit. 400 is included.

画像読み取りユニット100は、原稿を光学的にスキャンして画像データを生成するユニットであり、原稿送り装置110と読み取り装置120を含む。原稿送り装置110は、載置された原稿を1枚ずつ読み取り装置120に供給する装置である。この原稿の供給の制御は原稿送り制御部112により行われる。読み取り装置120は、原稿送り装置110により送られてくる原稿の表面上の画像を光学的に読み取り、読み取り結果を示す画像データを生成する。この読み取りの制御は読み取り制御部122により行われる。また、画像読み取りユニット100は、図示省略したプラテン上にユーザが載置した1枚以上の原稿を読み取って、それら1枚以上の原稿を含んだ画像データを生成する機能も有する。   The image reading unit 100 is a unit that optically scans a document to generate image data, and includes a document feeding device 110 and a reading device 120. The document feeder 110 is a device that supplies the placed documents one by one to the reading device 120. This document supply control is performed by the document feed control unit 112. The reading device 120 optically reads an image on the surface of the document sent by the document feeding device 110 and generates image data indicating the reading result. This reading control is performed by the reading control unit 122. The image reading unit 100 also has a function of reading one or more documents placed on a platen (not shown) and generating image data including the one or more documents.

画像形成ユニット200は、画像データが表す画像を用紙等の媒体(以下単に用紙と呼ぶ)に対して画像形成するユニットである。画像形成ユニット200は、画像形成制御部210、画像形成部220、用紙収容部230、用紙搬送部240を含む。画像形成制御部210は、画像形成ユニット200を制御する制御機構である。画像形成部220は、画像データを用紙に画像形成(例えば印刷)する。用紙収容部230は、多数の用紙を収容する用紙トレイ等の収容装置である。用紙搬送部240は、用紙収容部230内に収容された用紙を画像形成部220まで搬送し、画像形成部220により画像形成がなされた用紙を図示しない排出部まで搬送する。   The image forming unit 200 forms an image represented by image data on a medium such as paper (hereinafter simply referred to as paper). The image forming unit 200 includes an image forming control unit 210, an image forming unit 220, a paper storage unit 230, and a paper transport unit 240. The image formation control unit 210 is a control mechanism that controls the image formation unit 200. The image forming unit 220 forms (for example, prints) image data on paper. The paper storage unit 230 is a storage device such as a paper tray that stores a large number of papers. The paper transport unit 240 transports the paper stored in the paper storage unit 230 to the image forming unit 220, and transports the paper on which the image is formed by the image forming unit 220 to a discharge unit (not shown).

UIユニット300は、画像形成装置に対するユーザの操作を受け付けるための機構であり、例えばユーザに対し画像形成装置の状態や操作のための入力欄等を有する画面を表示する表示装置と、表示された画面等へのユーザの入力を受け付ける入力装置を有する。UIユニット300は、表示装置と入力装置とが一体化されたタッチパネル、入力装置としてのテンキー、ハードウエアボタン等を有していてもよい。UI制御部310は、表示装置への画面の表示や、その画面に対するユーザの入力の受付等の制御を行う。   The UI unit 300 is a mechanism for accepting a user's operation on the image forming apparatus. For example, the UI unit 300 is displayed with a display device that displays a screen having an input field for the state of the image forming apparatus and the operation to the user. An input device that receives user input on a screen or the like is provided. The UI unit 300 may include a touch panel in which a display device and an input device are integrated, a numeric keypad as an input device, a hardware button, and the like. The UI control unit 310 controls display of a screen on the display device, reception of user input on the screen, and the like.

システム制御ユニット400は、画像形成装置全体のシステムとしての動作を制御する。システム制御ユニット400は、中央制御部410、記憶部420、画像処理部430を含む。中央制御部410は、システム制御ユニット400の全体的な制御を担う装置であり、その制御のためのプログラムを実行するプロセッサを含む。記憶部420は、中央制御部410が行う制御のためのプログラムやその制御に用いるデータを記憶する記憶装置であり、例えばRAM(ランダムアクセスメモリ)を含む。また、記憶部420は、ハードディスクやフラッシュメモリ等の二次記憶を更に有していてもよい。画像処理部430は、画像読み取りユニット100が読み取った画像や、画像形成ユニット200が画像形成する画像に対して各種の画像処理を行う。   The system control unit 400 controls the operation of the entire image forming apparatus as a system. The system control unit 400 includes a central control unit 410, a storage unit 420, and an image processing unit 430. The central control unit 410 is a device responsible for overall control of the system control unit 400, and includes a processor that executes a program for the control. The storage unit 420 is a storage device that stores a program for control performed by the central control unit 410 and data used for the control, and includes, for example, a RAM (random access memory). The storage unit 420 may further include secondary storage such as a hard disk or a flash memory. The image processing unit 430 performs various types of image processing on the image read by the image reading unit 100 and the image formed by the image forming unit 200.

画像処理部430は、本実施形態の「IDカードコピー・オートモード」機能のための画像処理を担う機能モジュールとして、輪郭認識部432、輪郭抽出部434、画像補正部436及びレイアウト判定部438を含む。輪郭認識部432は、画像読み取りユニット100が出力した画像データにエッジ検出等の処理を施すことにより、その画像データ中に含まれる各原稿の画像の輪郭(一般には矩形)を認識する。輪郭抽出部434は、認識された各原稿画像の輪郭を示す画素群を抽出する。画像補正部436は、抽出された各原稿画像の輪郭の画素群の情報から、各原稿画像の傾きを求め、求めた傾きの情報から各原稿画像の傾きを補正する。すなわち、原稿画像の輪郭の矩形の縦及び横の辺が画像データのX軸及びY軸に対してそれぞれ実質的に平行になるよう、原稿画像を回転させる。レイアウト判定部438は、画像読み取りユニット100の複数回の読み取り結果に含まれる複数の原稿画像を1乃至複数ページの出力画像にまとめる際のレイアウトを判定する。このレイアウト判定では、それら原稿画像のサイズの組合せが、予め登録されているどの原稿組合せに該当するかを判定し、判定した原稿組合せに対応するレイアウトを求める。画像処理部430は、画像補正部436により傾き補正がなされた原稿画像群を、レイアウト判定部438が判定したレイアウトに従って配列した出力画像を生成し、その出力画像を画像形成ユニット200に渡して用紙に印刷させる。レイアウト判定部438が行うレイアウト判定やこれに従って形成される出力画像について後で更に詳しく説明する。   The image processing unit 430 includes a contour recognition unit 432, a contour extraction unit 434, an image correction unit 436, and a layout determination unit 438 as functional modules responsible for image processing for the “ID card copy / auto mode” function of the present embodiment. Including. The contour recognition unit 432 recognizes the contour (generally a rectangle) of each document image included in the image data by performing processing such as edge detection on the image data output from the image reading unit 100. The contour extraction unit 434 extracts a pixel group indicating the contour of each recognized document image. The image correction unit 436 obtains the inclination of each original image from the extracted pixel group information of each original image, and corrects the inclination of each original image from the obtained inclination information. In other words, the original image is rotated so that the vertical and horizontal sides of the rectangular outline of the original image are substantially parallel to the X axis and the Y axis of the image data, respectively. The layout determination unit 438 determines a layout for combining a plurality of document images included in a plurality of reading results of the image reading unit 100 into one to a plurality of pages of output images. In this layout determination, it is determined to which pre-registered original combination the combination of the sizes of the original images corresponds, and a layout corresponding to the determined original combination is obtained. The image processing unit 430 generates an output image in which the document image group whose inclination is corrected by the image correcting unit 436 is arranged according to the layout determined by the layout determining unit 438, passes the output image to the image forming unit 200, and forms a sheet. To print. The layout determination performed by the layout determination unit 438 and an output image formed according to the layout determination will be described in more detail later.

この画像形成装置の「IDカードコピー・オートモード」機能が取り扱う証明書類のサイズの例を図4に示す。図4に例示するように、この画像形成装置(特にレイアウト判定部438)は、IDカード、戸籍表、パスポートという3種類の証明書類のサイズ情報を有している。冊子形態である戸籍表及びパスポートについては、見開き2ページ分(「全面」)のサイズと1ページ分(「半面」)のサイズの情報を有している。例えば、各証明書類のサイズは以下の通りであるとする。
IDカード :54mm X 86mm 天位置:長辺側
戸籍(半面):108mm X 148mm 天位置:長辺側
戸籍(全面):216mm X 148mm 天位置:短辺側
パスポート(半面):135mm X 90mm 天位置:短辺側
パスポート(全面):135mm X 180mm 天位置:長辺側
FIG. 4 shows an example of the certificate size handled by the “ID card copy / auto mode” function of the image forming apparatus. As illustrated in FIG. 4, the image forming apparatus (particularly the layout determination unit 438) has size information of three types of certificates such as an ID card, a family register, and a passport. The family register and passport, which are in booklet form, have information on the size of two pages (“entire surface”) and the size of one page (“half surface”). For example, assume that the size of each certificate is as follows.
ID card: 54mm X 86mm Top position: Long side family register (half face): 108mm X 148mm Top position: Long side side register (full face): 216mm X 148mm Top position: Short side passport (half face): 135mm X 90mm Top position : Short side passport (entire surface): 135mm X 180mm Top position: Long side

例えば、ある行政手続では、IDカードの表裏面と戸籍表の特定の2ページ(「半面1」と「半面2」)を、図5の右側のレイアウトAに示すようにA4サイズ縦長の用紙1ページにコピーして提出することが求められているとする。このレイアウトAは、IDカードの表面と裏面の画像をA4縦長の用紙の上側に左右に並べて配置し、その下に戸籍表の特定の「半面1」(例えば戸主ページ)と「半面2」(例えば提出者の個人ページ)を順に縦に配置するものである。   For example, in an administrative procedure, two specific pages (“half 1” and “half 2”) of the front and back sides of the ID card and the family register are printed on A4 size vertically long paper 1 as shown in the layout A on the right side of FIG. Suppose you are required to copy and submit to a page. In this layout A, the front and back images of the ID card are arranged side by side on the upper side of the A4 portrait paper, and below that, a specific “half face 1” (for example, the owner page) and “half face 2” ( For example, the personal page of the submitter is arranged vertically in order.

IDカードの表裏の面は同時にスキャンできず、また戸籍表の「半面1」と「半面2」も別々のページなので同時にスキャンできない。したがって、レイアウトAに従ったコピーを生成するには、最低でも2回に分けてスキャンする必要がある。そこで、図5に示すように、例えば、1回目でIDカードの表の面と戸籍表の「半面1」をプラテン上に置いてスキャンし、2回目でIDカードの裏の面と戸籍表の「半面2」をスキャンする。画像処理部430は、これら各回のスキャン結果の画像を保持し、それら画像の中にそれぞれどのようなサイズの原稿画像が含まれるかに応じて、それら原稿画像をどのレイアウトに当てはめて印刷出力するかを決定する。   The front and back sides of the ID card cannot be scanned at the same time, and “half face 1” and “half face 2” of the family register table are separate pages and cannot be scanned simultaneously. Therefore, to generate a copy according to the layout A, it is necessary to scan at least twice. Therefore, as shown in FIG. 5, for example, the first face of the ID card and the “half face 1” of the family register table are placed on the platen and scanned at the first time, and the second face of the ID card and the family register table are scanned at the second time. Scan “half face 2”. The image processing unit 430 holds the images of the respective scan results, and prints out the original images by applying them to which layout according to what size of the original image is included in the images. To decide.

図5に示す[1回目スキャン]と題した図は、画像読み取りユニット100のプラテン500上に、IDカードの表面600と戸籍表の特定のページである「半面1」610を並べて載置した状態を示している。マーク510はプラテン500の原点Oの位置を指し示す。この[1回目スキャン]でプラテン500の全域を読み取ると、IDカードの表面600と戸籍表の特定のページである「半面1」610とが図示の位置関係で並んだスキャン画像が得られる。図5に示す[2回目スキャン]と題した図も同様である。図5の例では、プラテン500の全域をスキャン処理における読み取り領域としたが、原稿の配置を認める領域を例えばA4横長の範囲等といった予め定めた範囲に限定し、スキャンの読み取り領域をその範囲に限定してもよい。   The figure entitled [First Scan] shown in FIG. 5 is a state in which the surface 600 of the ID card and the “half face 1” 610 which is a specific page of the family register are placed side by side on the platen 500 of the image reading unit 100. Is shown. A mark 510 indicates the position of the origin O of the platen 500. When the entire area of the platen 500 is read by this [first scan], a scanned image is obtained in which the front surface 600 of the ID card and the “half surface 1” 610 which is a specific page of the family register are arranged in the illustrated positional relationship. The same is true for the figure entitled [Second Scan] shown in FIG. In the example of FIG. 5, the entire area of the platen 500 is used as a reading area in the scanning process. However, the area where document placement is permitted is limited to a predetermined area such as an A4 landscape area, and the scanning reading area is within that area. It may be limited.

図5の例では、1回目のスキャン結果からはIDカードサイズの画像が1つと戸籍表の半面(戸籍表の冊子の1ページ)のサイズの画像が1つ検出され、2回目のスキャン結果からも同じくIDカードサイズと戸籍表半面サイズの画像が1つずつ検出される。このような原稿サイズの組み合わせを検出した場合、レイアウト判定部438は、今回読み取った原稿画像群に適用すべきレイアウトはレイアウトAであると判定し、このレイアウトを画像処理部430に知らせる。画像処理部430は、原稿画像群をそのレイアウトで配列することで出力画像を生成し、この出力画像を画像形成ユニット200に印刷させる。   In the example of FIG. 5, one ID card size image and one image of the size of the family register table (one page of the family register booklet) are detected from the first scan result, and from the second scan result. Similarly, images of ID card size and family register table half size are detected one by one. When such a combination of document sizes is detected, the layout determination unit 438 determines that the layout to be applied to the currently read document image group is the layout A, and notifies the image processing unit 430 of this layout. The image processing unit 430 generates an output image by arranging the document image group in the layout, and causes the image forming unit 200 to print the output image.

以上、IDカードの表裏面と戸籍表の特定の2ページを含む提出用のコピーを作成する場合を例にとって、本実施形態の画像処理装置が持つ「IDカードコピー・オートモード」機能の概要を説明した。   The outline of the “ID card copy / auto mode” function of the image processing apparatus of the present embodiment is described above by taking as an example the case of creating a copy for submission including two specific pages of the front and back surfaces of the ID card and the family register. explained.

このような機能を提供するために、画像形成装置のレイアウト判定部438は、図6に例示するレイアウト判定テーブルを用いる。   In order to provide such a function, the layout determination unit 438 of the image forming apparatus uses a layout determination table illustrated in FIG.

図6のレイアウト判定テーブルには、1回目及び2回目のスキャンで読み取った領域の画像内に含まれる原稿画像のサイズの組み合わせと、その組み合わせに対応するレイアウトの識別情報とが登録されている。レイアウトの識別情報は、対応するレイアウト情報にリンクされている。レイアウト情報は、そのレイアウトに含まれる各原稿画像の種類と、それら各種類の原稿画像の配置位置(例えば原点に最も近い頂点の座標)との情報を含む。「提出書類の種別」の欄は、当該エントリの1回目及び2回目のスキャンで読み取った原稿画像をまとめたコピー結果(すなわち提出書類)が、役所のどのような手続についてのものかを示す。このように、レイアウト判定テーブルには、手続ごとに、その手続のために提出すべき原稿の種類(IDカードや戸籍表等の特定の面)の組み合わせの情報がサイズの組み合わせの情報として含まれ、その組み合わせに対するレイアウトの情報が含まれる。   In the layout determination table of FIG. 6, a combination of the sizes of the document images included in the image of the area read in the first and second scans and layout identification information corresponding to the combination are registered. The layout identification information is linked to the corresponding layout information. The layout information includes information on the type of each original image included in the layout and the arrangement position of each type of original image (for example, the coordinates of the vertex closest to the origin). The column of “type of submitted document” indicates what procedure of the government office is the copy result (ie, submitted document) obtained by collecting the original images read in the first and second scans of the entry. As described above, the layout determination table includes, for each procedure, information on the combination of the types of manuscripts to be submitted for the procedure (a specific surface such as an ID card or a family register) as size combination information. , Layout information for the combination is included.

図6のテーブルの最初のエントリ「手続1用」は、図5に例示した1回目及び2回目のスキャン画像内の原稿画像の組み合わせに対応するレイアウトを規定したものである。   The first entry “for procedure 1” in the table of FIG. 6 defines a layout corresponding to a combination of document images in the first and second scan images illustrated in FIG.

2番目のエントリ「手続2用」は、図7に例示するように、1回目のスキャンで戸籍表の特定の半面(半面1)とIDカードの表面を読み取り、2回目のスキャンで戸籍表の別の特定の半面(半面2)とを読み取った場合に、これら原稿の画像をレイアウトBで配列して印刷出力することを規定している。手続2は、手続1とは違う手続であり、1回目及び2回目のスキャンで読み取る戸籍表の半面の組み合わせは、手続1(図5)の2回のスキャンで読み取る戸籍表の半面の組み合わせと異なる。   As illustrated in FIG. 7, the second entry “for procedure 2” reads a specific half face (half face 1) of the family register table and the surface of the ID card by the first scan, It is defined that when another specific half surface (half surface 2) is read, these original images are arranged in layout B and printed out. Procedure 2 is a different procedure from Procedure 1, and the combination of half of the family register that is read in the first and second scans is the combination of half of the family register that is read in the two scans of Procedure 1 (Figure 5). Different.

手続1用のコピー(図5参照)と手続2用のコピー(図7参照)とは、共にIDカードサイズの画像2面分と戸籍表の半面サイズの画像2面分とを含む点では共通である。したがって、読み取った原稿画像のサイズの組み合わせだけは両者の区別ができない。そこで、プラテン上でのそれら各原稿の位置関係(すなわちプラテン全面をスキャンした画像内での各原稿の画像同士の位置関係)でそれら両者を区別するようにしている。すなわち、手続1用は、IDカードと戸籍表の半面のうち、前者が後者よりもプラテン500の原点に近い位置に配置されるのに対し、手続2用はその逆に、戸籍表の方がIDカードよりも原点に近い位置に配置される。ユーザは、手続1用のコピーを作成する際には、IDカードの表面と、戸籍表のうちレイアウトAで上側に配置すべきページ(半面)とを、IDカードの方が原点Oに近い位置に来るように左右に並べてプラテン500上に配置し、1回目のスキャンを行う。1回目のスキャンが終わると、IDカードを裏返すと共に、戸籍表のうちレイアウトAの下側に配置すべきページをそのIDカードの右側(原点OからみてIDカードより遠い側)に置き、2回目のスキャンを行う。手続2用のコピーを作成する場合は、戸籍表のうち手続2のために提出すべき半面をIDカードよりも原点Oに近い左側に配置し、スキャンを行う。レイアウト判定部438は、1回目と2回目のスキャン画像からそれぞれIDカードサイズと戸籍表の半面サイズの画像を1つずつ検出した場合、IDカードサイズの画像の方が戸籍表半面サイズの画像よりも原点に近ければ、今回の処理ではレイアウトAを用いるものと判定する。   The copy for Procedure 1 (see FIG. 5) and the copy for Procedure 2 (see FIG. 7) are both common in that they include two ID card-sized images and two half-sized images of the family register. It is. Accordingly, the combination of the sizes of the read document images cannot be distinguished from each other. Therefore, the position of each document on the platen (that is, the position relationship between the images of each document in the image scanned over the entire platen) is distinguished from each other. That is, for the procedure 1, the former is placed closer to the origin of the platen 500 than the latter on the half of the ID card and the family register, whereas the procedure register is the opposite, and the family register is more It is arranged at a position closer to the origin than the ID card. When the user creates a copy for the procedure 1, the ID card surface and the page (half surface) to be arranged on the upper side in the layout A of the family register are positioned closer to the origin O than the ID card. Are arranged on the platen 500 side by side so that the first scan is performed. When the first scan is over, turn the ID card over and place the page to be placed below layout A in the family register on the right side of the ID card (the side farther from the origin card than the ID card). Scan. When creating a copy for procedure 2, the half of the family register to be submitted for procedure 2 is placed on the left side closer to the origin O than the ID card, and scanning is performed. When the layout determination unit 438 detects one ID card size and one half size image of the family register from the first and second scan images, respectively, the ID card size image is more than the family register table half size image. If it is close to the origin, it is determined that the layout A is used in this processing.

レイアウト判定テーブル(図7)では、1回目及び2回目の各スキャンで読み取る各原稿画像のサイズを、プラテン500の原点Oに近い順に配列している。例えば、手続1用のエントリでは、各回のスキャンにおける原稿画像サイズとして、上から順にIDカードサイズと戸籍表半面サイズとを示しているが、これはIDカードサイズの原稿画像の方が戸籍表半面サイズの原稿画像よりも原点Oに近い位置にあることを示す。   In the layout determination table (FIG. 7), the sizes of the original images read in the first and second scans are arranged in order from the origin O of the platen 500. For example, in the entry for Procedure 1, the ID card size and the family register half size are shown in order from the top as the document image size in each scan. This is because the ID card size document image is the half of the family register table. This indicates that the position is closer to the origin O than the size original image.

レイアウト判定テーブル(図7)において、手続3用のエントリは、図8に示すように、2回のスキャン結果に含まれる原稿画像が、IDカードの表裏2面と戸籍表の特定の見開き全面の組み合わせ(ただしIDカードを戸籍表より原点O寄りに配置)である場合についてのものである。この場合、IDカードの表裏の画像をA4縦長の用紙の上方に左右に並べ,その下に戸籍表のその見開き全面の画像を配置するというレイアウトCが用いられる。(a)IDカードの表面と、これよりも原点Oから遠い右側に配置した戸籍表の特定の見開き全面とを1回目のスキャンで読み取り、2回目はIDカードの裏面のみ読み取るというスキャン順序でも、(b)1回目のスキャンでIDカードの表面を読み取り、2回目のスキャンでIDカードの裏面とこの右側に配置した戸籍表を読み取るというスキャン順序でも、同じ手続3用のレイアウトCが適用される。   In the layout determination table (FIG. 7), as shown in FIG. 8, the entry for the procedure 3 includes the original image included in the two scan results on the two front and back surfaces of the ID card and a specific spread on the entire face of the family register. This is for a combination (however, the ID card is arranged closer to the origin O than the family register). In this case, the layout C is used in which the front and back images of the ID card are arranged on the left and right above the A4 vertically long paper, and the entire spread image of the family register is arranged below the images. (A) The scan of the front side of the ID card and a specific spread of the family register arranged on the right side farther from the origin O than this is read in the first scan, and the second time only scans the back side of the ID card. (B) The same layout C for procedure 3 is applied even in a scan order in which the front surface of the ID card is read in the first scan and the back of the ID card and the family register arranged on the right side are read in the second scan. .

レイアウト判定テーブル内の手続4用のエントリは、手続3と同様、IDカードの表裏2面と戸籍表の特定の見開き全面(ただし手続3で提出する見開きとは異なる)とを2回のスキャンで読み取った場合についてのものである。ただし、手続3との区別のために、1回目のスキャンで、戸籍表の特定の見開き全面をIDカードの表面よりも原点Oの近くに配置してスキャンする。この場合に適用されるレイアウトDは、A4縦長の用紙の上側に戸籍表の見開き全面の画像を配置し、その下にIDカードの表裏面を左右に並べるものである。   The entry for procedure 4 in the layout determination table is the same as procedure 3, but the two sides of the ID card front and back and the specific spread of the family register (but different from the spread submitted in procedure 3) are scanned twice. It is about the case of reading. However, in order to distinguish from the procedure 3, in the first scan, a specific spread of the family register is arranged closer to the origin O than the surface of the ID card. The layout D applied in this case is such that an image of the entire face of the family register is arranged on the upper side of the A4 vertically long sheet, and the front and back surfaces of the ID card are arranged on the left and right sides below.

レイアウト判定テーブル内の手続5用のエントリは、図10に示すように、戸籍表の特定の見開き全面と特定の半面とを2回のスキャンで読み取り、前者をA4縦長用紙の上側に、後者を下側に配置したコピー(レイアウトE)を生成するものである。戸籍表の見開き全面1つと半面1つを組み合わせたコピーを提出する手続が他にない場合は、図10の例とは逆に、特定の半面を1回目のスキャンで読み取り、特定の見開き全面を2回目のスキャンで読み取った場合も、レイアウトEを適用すると判定してもよい。なお、戸籍表の見開き全面1つと半面1つを組み合わせたコピーを提出する手続が他にも存在し、その手続における戸籍全面と半面のレイアウトが図10のレイアウトEとは逆(半面が上、全面が下。これをレイアウトE2と呼ぶ)である場合には、全面と半面のいずれを先にスキャンしたかで、レイアウトE(図10)とE2のいずれを用いるかを選択するようにしてもよい。   As shown in FIG. 10, the entry for the procedure 5 in the layout determination table is to read a specific spread entire face and a specific half face of the family register by two scans, the former on the upper side of the A4 portrait sheet, and the latter A copy (layout E) arranged on the lower side is generated. If there is no other procedure for submitting a copy of one full-page spread and one half-page of the family register, the specific half-page is scanned in the first scan, contrary to the example in FIG. Even when read in the second scan, it may be determined that the layout E is applied. In addition, there are other procedures for submitting a copy that combines one full face and one half face of the family register, and the layout of the whole family face and half face in the procedure is opposite to layout E in FIG. 10 (half face up, If the entire surface is below (referred to as layout E2), it may be selected whether to use layout E (FIG. 10) or E2 depending on which of the entire surface or half surface is scanned first. Good.

レイアウト判定テーブル内の手続6用のエントリは、図11に示すように、3枚のIDカードの表裏面を2回のスキャンで読み取り、同一のIDカードの表面と裏面を左右に並べ、上から順に3つ分配置するレイアウトFのコピーを生成することを示す。レイアウトEにおける3つのIDカードの上からの配列順は、プラテンの原点Oから右へ進み右端に達すると1段下がって再び左端から右へ進むというラスタ走査の順序で見た場合のIDカードの配列順に応じたものとする。それら各IDカードの画像のラスタ走査経路に沿った配列順も、それらIDカード同士の位置関係の一例である。図示例では、原点に最も近いIDカードAが一番上であり、IDカードBが真ん中、IDカードCが一番下に来る。ここで、1回目と2回目のスキャン結果において座標が最も近いIDカード画像同士が同じIDカードの表面と裏面であるものと判定する。例えば、図11の例では、2回目のスキャン画像内の各IDカードの画像のうち、1回目のスキャン画像内のIDカードAの表面の画像の座標に最も近いのは、IDカードAの裏面の画像であるので、これら2つが同じIDカードの表裏面であると判定される。ユーザは、プラテン500上に3枚のIDカードを配置して1回目のスキャンを行った後、2回目のスキャンのためにそれら各IDカードをほぼ同じ位置で裏返す動作を行うことが多いと考えられるので、このような対応付け手法を用いればよい。なお、図示例ではレイアウトFはIDカード3枚分の表裏を1ページに合成する例であったが、レイアウトFが対応するIDカードの枚数は3枚に限らない。1回目のスキャンと2回目のスキャンでそれぞれIDカードサイズの画像をN個(Nは1以上の整数)ずつ読み取った場合にもレイアウトFが適用される。この場合、1回目にスキャンしたN個のカード画像を(3枚の例の場合と同様)ページの左側に並べ、2回目にスキャンしたN個のカード画像をページの右側に並べたページ画像が生成される。   As shown in FIG. 11, the entry for the procedure 6 in the layout determination table reads the front and back surfaces of three ID cards in two scans, arranges the front and back surfaces of the same ID card side by side, It shows that a copy of the layout F arranged in order of three is generated. The order of arrangement of the three ID cards in the layout E from the top of the ID card in the raster scanning order in which the platen starts from the origin O and proceeds to the right and reaches the right end and goes down one step and then proceeds from the left end to the right again. It shall be according to the order of arrangement. The arrangement order of the images of each ID card along the raster scanning path is also an example of the positional relationship between the ID cards. In the illustrated example, the ID card A closest to the origin is at the top, the ID card B is in the middle, and the ID card C is at the bottom. Here, it is determined that the ID card images having the closest coordinates in the first and second scan results are the front and back surfaces of the same ID card. For example, in the example of FIG. 11, among the images of each ID card in the second scan image, the back of the ID card A is closest to the coordinates of the image on the front surface of the ID card A in the first scan image. These two images are determined to be the front and back surfaces of the same ID card. A user often arranges three ID cards on the platen 500 and performs a first scan, and then performs an operation of turning over each ID card at almost the same position for the second scan. Therefore, such a matching method may be used. In the illustrated example, layout F is an example in which the front and back of three ID cards are combined into one page, but the number of ID cards to which layout F corresponds is not limited to three. The layout F is also applied when N ID card-sized images (N is an integer of 1 or more) are read in each of the first scan and the second scan. In this case, N card images scanned the first time are arranged on the left side of the page (same as in the case of three images), and a page image in which N card images scanned the second time are arranged on the right side of the page is displayed. Generated.

以上、レイアウト判定部438によるレイアウト判定の方法を、具体例を参照しつつ説明した。次に、この画像形成装置による「IDカードコピー・オートモード」の処理の手順の例を、図12及び図13を参照して説明する。   The layout determination method by the layout determination unit 438 has been described above with reference to specific examples. Next, an example of the processing procedure of “ID card copy / auto mode” by the image forming apparatus will be described with reference to FIGS.

図12に示すように、この手順は、ユーザが画像形成装置のUIユニット300に表示されたメニュー画面上で、「IDカードコピー・オートモード」の利用を選択した場合に開始される(S10)。この選択の後、ユーザは、画像読み取りユニット100のプラテン上に、目的とする手続用の提出コピーの作成のために1回目のスキャンで読み取るべき原稿(IDカード等)を配置する(S12)。この配置は、レイアウト判定テーブル(図7)に規定されたルールに従って行う。例えば、顧客のために手続用の提出コピーを作成する業者であれば、そのようなルールは記憶しているので、そのような配置を行うことは容易である。   As shown in FIG. 12, this procedure is started when the user selects the use of “ID card copy / auto mode” on the menu screen displayed on the UI unit 300 of the image forming apparatus (S10). . After this selection, the user places on the platen of the image reading unit 100 a document (ID card or the like) to be read in the first scan in order to create a submitted copy for the intended procedure (S12). This arrangement is performed according to the rules defined in the layout determination table (FIG. 7). For example, if it is a trader who makes a procedural submission copy for a customer, such a rule is stored, so that such an arrangement is easy.

ユーザは、プラテン上への原稿の配置が完了すると、UIユニット300のスタートボタンを押下する(S14)。ユーザがスタートボタンを押下すると、画像読み取りユニット100は、1回目のスキャン処理を実行する(S16)。このスキャン処理は、図13に示す手順に従って行われる。   When the user finishes placing the document on the platen, the user presses the start button of the UI unit 300 (S14). When the user presses the start button, the image reading unit 100 executes the first scanning process (S16). This scanning process is performed according to the procedure shown in FIG.

すなわち、画像読み取りユニット100は、プラテンの全面をスキャンし(S40)、このスキャンにより得られたスキャン画像を画像処理部430に渡す。画像処理部430は、輪郭認識部432及び輪郭抽出部434によりそのスキャン画像から各原稿の画像を切り出す(S42)。そして、切り出した原稿画像の枚数が0か1以上かを判定し(S44)、0であれば異常終了する。切り出した原稿画像の枚数が1以上の場合、画像補正部436がそれら各原稿画像に対して公知の傾き補正処理を施す(S46)。そして、画像処理部430は、傾き補正済みの各原稿画像の基準点の座標(例えば補正済みの原稿画像の矩形輪郭のうち原点Oに最も近い頂点の座標)とサイズを求め、それら各補正済み画像の画像データ、基準点の座標及びサイズの情報を、今回スキャンした原稿の情報として記録する(S48)。また、画像処理部430は、傾き補正済みの各原稿画像の順序を判定し、今回スキャンした原稿画像の順序情報として記録する(S50)。この順序は、例えばスキャン画像を原点Oからはじめてラスタ走査順に調べていった場合に、各原稿画像(傾き補正済み)に出会う順番(又は原点Oに近い順)である。   That is, the image reading unit 100 scans the entire surface of the platen (S40), and passes the scanned image obtained by this scanning to the image processing unit 430. The image processing unit 430 cuts out an image of each document from the scanned image by the contour recognition unit 432 and the contour extraction unit 434 (S42). Then, it is determined whether the number of document images cut out is 0 or 1 or more (S44). If the number of clipped document images is one or more, the image correction unit 436 performs a known tilt correction process on each document image (S46). Then, the image processing unit 430 obtains the coordinates of the reference point of each original document whose inclination has been corrected (for example, the coordinate of the vertex closest to the origin O among the rectangular outlines of the corrected original image) and the size thereof. The image data of the image, the coordinates of the reference point, and the size information are recorded as information of the original scanned this time (S48). In addition, the image processing unit 430 determines the order of each document image whose inclination has been corrected, and records it as the order information of the document image scanned this time (S50). This order is, for example, the order of encountering each original image (tilt corrected) when the scanned image is examined from the origin O in the raster scan order (or the order close to the origin O).

図12の説明に戻ると、1回目のスキャン処理が異常終了した場合は、画像形成装置は、スキャンエラーが生じた旨を画面表示(S18)して処理を終了し、メニュー画面を表示してユーザからの指示を待つ。   Returning to the description of FIG. 12, if the first scan process ends abnormally, the image forming apparatus displays a screen to the effect that a scan error has occurred (S18), ends the process, and displays a menu screen. Wait for instructions from the user.

1回目のスキャン処理が正常終了した場合、ユーザは、プラテン上の原稿群を2回目のスキャン用に置き換える(S20)。例えば、IDカードは裏返し、戸籍表は2回目で読み取るべきページを開いてプラテン上に置き直す。原稿の置き換え作業が完了した後、ユーザはスタートボタンを押下する(S22)。これにより、画像読み取りユニット100はプラテンの全域をスキャンする(S24:2回目のスキャン処理)。この2回目のスキャン処理についても、後で図13を参照して説明する。このスキャン処理が異常終了した場合は、画像形成装置は、スキャンエラーが生じた旨を画面表示(S26)して処理を終了し、メニュー画面を表示してユーザからの指示を待つ。   When the first scanning process is normally completed, the user replaces the document group on the platen for the second scanning (S20). For example, the ID card is turned over, and the family register is opened on the platen by opening the page to be read the second time. After the document replacement operation is completed, the user presses the start button (S22). Accordingly, the image reading unit 100 scans the entire platen (S24: second scan process). This second scanning process will also be described later with reference to FIG. If this scanning process ends abnormally, the image forming apparatus displays a screen to the effect that a scanning error has occurred (S26), ends the process, displays a menu screen, and waits for an instruction from the user.

2回目のスキャン処理が正常終了すると、レイアウト判定部438が、1回目及び2回目で読み取られた原稿画像のサイズの組合せに該当するレイアウトをレイアウト判定テーブル(図7)から検索する(S28)。すなわち、1回目及び2回目のスキャンごとに、S48及びS50で記録した各原稿画像のサイズとその順序を取得し、1回目と2回目のスキャンについてのそれらサイズと順序の組合せを求める。そして、その組合せに合致するエントリをレイアウト判定テーブルから探し、該当するエントリが見つかれば、そのエントリのレイアウトの情報を取得する。   When the second scanning process ends normally, the layout determination unit 438 searches the layout determination table (FIG. 7) for a layout corresponding to the combination of the document image sizes read in the first time and the second time (S28). That is, for each of the first and second scans, the size and order of each original image recorded in S48 and S50 are acquired, and a combination of the sizes and order for the first and second scans is obtained. Then, an entry that matches the combination is searched from the layout determination table, and if the corresponding entry is found, the layout information of the entry is acquired.

画像処理部430は、S28で、該当するエントリが見つかったか否かを判定する(S30)。該当するエントリが見つからなかった場合は、スキャンした原稿の組み合わせに対応するレイアウトがない等のエラーメッセージをUIユニット300の表示画面上に表示する(S32)。なお、該当するエントリが見つからなかった場合にエラーとする代わりに、スキャンした原稿画像群を予め定めた規則に従って配置(例えば読み取り画像順に配置する等)したページ画像を生成して印刷するようにしてもよい。   The image processing unit 430 determines whether or not a corresponding entry is found in S28 (S30). If no corresponding entry is found, an error message indicating that there is no layout corresponding to the combination of scanned documents is displayed on the display screen of the UI unit 300 (S32). Instead of making an error when the corresponding entry is not found, a page image in which the scanned document image group is arranged according to a predetermined rule (for example, arranged in the order of the read images) is generated and printed. Also good.

S30で、該当するエントリが見つかった場合、画像処理部430は、各回のスキャン処理のS48で記憶した傾き補正済みの原稿画像を、そのエントリ中のレイアウトに従って配列することで、出力画像データを生成する(S34)。そして、その出力画像データを画像形成ユニット200に供給し、用紙に印刷させる(S36)。   If a corresponding entry is found in S30, the image processing unit 430 generates output image data by arranging the skew corrected document images stored in S48 of each scanning process according to the layout in the entry. (S34). Then, the output image data is supplied to the image forming unit 200 and printed on paper (S36).

以上の例では、提出すべき原稿画像の種別(サイズに対応)の組み合わせが同じ手続が複数存在する場合、レイアウト判定部438は、それら原稿画像の位置関係(例えばIDカードと戸籍表半面のどちらがプラテン原点に近いか)により、どちらの手続についてのレイアウトを用いるかを判定した。これに対し、別の例として、どちらのレイアウトを用いるかをユーザに選択させてもよい。この例では、1回目と2回目のスキャンで得た原稿画像のサイズの組み合わせに対応するレイアウトがレイアウト判定テーブルに複数存在する場合、レイアウト判定部438は、UIユニット300にそれら複数のレイアウトの通知し、それら複数のレイアウトを選択肢として示したUI画面700(図14参照)を表示させる。図14に例示するUI画面700の、左側には、IDカードサイズが2面分と戸籍表半面サイズが2面分との組み合わせに対応する2つのレイアウト、すなわち手続1用と手続2用のレイアウトが表示され、ユーザは、そのいずれを用いるかをタッチ操作またはレイアウトの番号を入力することにより指定する。   In the above example, when there are a plurality of procedures having the same combination of types (corresponding to sizes) of manuscript images to be submitted, the layout determination unit 438 determines which positional relationship between the manuscript images (for example, which of the ID card and the family register table half is Which procedure is used for the layout is determined based on whether it is close to the platen origin. On the other hand, as another example, the user may select which layout to use. In this example, when there are a plurality of layouts corresponding to a combination of document image sizes obtained in the first and second scans in the layout determination table, the layout determination unit 438 notifies the UI unit 300 of the plurality of layouts. Then, a UI screen 700 (see FIG. 14) showing the plurality of layouts as options is displayed. On the left side of the UI screen 700 illustrated in FIG. 14, two layouts corresponding to combinations of two ID card sizes and two family register half size sizes, that is, layouts for procedure 1 and procedure 2 are displayed. Is displayed, and the user designates which one to use by inputting a touch operation or a layout number.

以上、本発明の実施形態を説明した。以上に例示した画像形成装置の情報処理機構(例えばシステム制御ユニット400)は、コンピュータにその情報処理機構についての上述の機能を表すプログラムを実行させることにより実現される。ここで、コンピュータは、例えば、ハードウエアとして、CPU等のマイクロプロセッサ、ランダムアクセスメモリ(RAM)およびリードオンリメモリ(ROM)等のメモリ(一次記憶)、フラッシュメモリやSSD(ソリッドステートドライブ)、HDD(ハードディスクドライブ)や等の固定記憶装置を制御するコントローラ、各種I/O(入出力)インタフェース、ローカルエリアネットワークなどのネットワークとの接続のための制御を行うネットワークインタフェース等が、たとえばバス等を介して接続された回路構成を有する。それら各機能の処理内容が記述されたプログラムがネットワーク等の経由でフラッシュメモリ等の固定記憶装置に保存され、コンピュータにインストールされる。固定記憶装置に記憶されたプログラムがRAMに読み出されCPU等のマイクロプロセッサにより実行されることにより、上に例示した機能モジュール群が実現される。また、システム制御ユニット400のうちの一部(例えば輪郭抽出等の画像処理を担う部分)または全部をLSI(Large Scale Integration)やASIC(Application Specific Integrated Circuit)等のハードウエア回路で実装してもよい。   The embodiments of the present invention have been described above. The information processing mechanism (for example, the system control unit 400) of the image forming apparatus exemplified above is realized by causing a computer to execute a program representing the above-described function of the information processing mechanism. Here, the computer includes, for example, a microprocessor such as a CPU, a memory (primary storage) such as a random access memory (RAM) and a read only memory (ROM), a flash memory, an SSD (solid state drive), an HDD as hardware. (Hard disk drive) and other controllers that control fixed storage devices, various I / O (input / output) interfaces, network interfaces that perform control for connection to a network such as a local area network, etc. via, for example, a bus Connected to each other. A program in which the processing contents of these functions are described is stored in a fixed storage device such as a flash memory via a network or the like, and is installed in a computer. The program stored in the fixed storage device is read into the RAM and executed by a microprocessor such as a CPU, thereby realizing the functional module group exemplified above. Further, a part (for example, a part responsible for image processing such as contour extraction) or all of the system control unit 400 may be mounted by a hardware circuit such as an LSI (Large Scale Integration) or an ASIC (Application Specific Integrated Circuit). Good.

100 画像読み取りユニット、110 原稿送り装置、112 原稿送り制御部、120 読み取り装置、122 読み取り制御部、200 画像形成ユニット、210 画像形成制御部、220 画像形成部、230 用紙収容部、240 用紙搬送部、300 UIユニット、310 UI制御部、400 システム制御ユニット、410 中央制御部、420 記憶部、430 画像処理部、430 画像処理部、432 輪郭認識部、434 輪郭抽出部、436 画像補正部、438 レイアウト判定部。
DESCRIPTION OF SYMBOLS 100 Image reading unit, 110 Document feeding apparatus, 112 Document feeding control part, 120 Reading apparatus, 122 Reading control part, 200 Image formation unit, 210 Image formation control part, 220 Image formation part, 230 Paper storage part, 240 Paper conveyance part , 300 UI unit, 310 UI control unit, 400 system control unit, 410 central control unit, 420 storage unit, 430 image processing unit, 430 image processing unit, 432 contour recognition unit, 434 contour extraction unit, 436 image correction unit, 438 Layout determination unit.

Claims (4)

読み取り領域に配置された複数の原稿を読み取ることにより、それら複数の原稿の各々について原稿画像を生成する読み取り手段と、
前記読み取り手段で生成された複数の原稿画像のサイズの組み合わせに対応するレイアウトに従ってそれら原稿画像を配置した出力画像、を生成する出力画像生成手段と、
を含む画像処理装置。
Reading means for generating a document image for each of the plurality of documents by reading a plurality of documents arranged in a reading area;
Output image generation means for generating an output image in which the original images are arranged according to a layout corresponding to a combination of sizes of the plurality of original images generated by the reading means;
An image processing apparatus.
前記出力画像生成手段は、前記レイアウトとして、前記読み取り手段で生成された複数の原稿画像のサイズの組み合わせと、それら複数の原稿画像の前記読み取り領域内での位置関係と、の組に対応するレイアウトを用いる、ことを特徴とする請求項1に記載の画像処理装置。   The output image generation means is a layout corresponding to a combination of a combination of sizes of a plurality of document images generated by the reading means and a positional relationship of the plurality of document images in the reading area. The image processing apparatus according to claim 1, wherein the image processing apparatus is used. 前記出力画像生成手段は、前記読み取り手段で生成された複数の原稿画像のサイズの組み合わせに対応するレイアウトが複数ある場合、それら複数のレイアウトを提示してユーザから選択を受け、前記ユーザが選択したレイアウトを用いて前記出力画像を生成する、ことを特徴とする請求項1に記載の画像処理装置。   When there are a plurality of layouts corresponding to combinations of sizes of a plurality of document images generated by the reading unit, the output image generation unit presents the plurality of layouts, receives a selection from the user, and selects the user The image processing apparatus according to claim 1, wherein the output image is generated using a layout. コンピュータを、
読み取り領域に配置された複数の原稿を読み取った読み取り装置から取得した読み取り画像から、それら複数の原稿の各々について原稿画像を抽出する手段と、
抽出された複数の原稿画像のサイズの組み合わせに対応するレイアウトに従ってそれら原稿画像を配置した出力画像、を生成する出力画像生成手段、
として機能させるためのプログラム。
Computer
Means for extracting a document image for each of the plurality of documents from a read image acquired from a reading device that has read a plurality of documents arranged in a reading area;
Output image generation means for generating an output image in which the original images are arranged according to a layout corresponding to a combination of sizes of the plurality of extracted original images;
Program to function as.
JP2016147128A 2016-07-27 2016-07-27 Image processing processor and program Pending JP2018019203A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2016147128A JP2018019203A (en) 2016-07-27 2016-07-27 Image processing processor and program
CN201710224453.6A CN107666547B (en) 2016-07-27 2017-04-07 Image processing apparatus, image processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016147128A JP2018019203A (en) 2016-07-27 2016-07-27 Image processing processor and program

Publications (1)

Publication Number Publication Date
JP2018019203A true JP2018019203A (en) 2018-02-01

Family

ID=61076432

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016147128A Pending JP2018019203A (en) 2016-07-27 2016-07-27 Image processing processor and program

Country Status (2)

Country Link
JP (1) JP2018019203A (en)
CN (1) CN107666547B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2020080242A1 (en) * 2018-10-19 2021-09-16 京セラドキュメントソリューションズ株式会社 Image reader, control method of image reader
US20220360680A1 (en) * 2021-05-06 2022-11-10 Konica Minolta, Inc. Image forming system and method for determining setting of image forming system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7157638B2 (en) * 2018-11-20 2022-10-20 シャープ株式会社 Image reading device, image forming device, control program and control method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000244724A (en) * 1999-02-22 2000-09-08 Fuji Photo Film Co Ltd Image synthesis device and method
JP2006339770A (en) * 2005-05-31 2006-12-14 Canon Inc Image processing system and control method thereof
JP2009016935A (en) * 2007-06-29 2009-01-22 Canon Inc Document reading apparatus, and control method of document reading apparatus
JP2011040971A (en) * 2009-08-10 2011-02-24 Canon Inc Device, method and program for processing image

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4817556B2 (en) * 2001-09-14 2011-11-16 キヤノン株式会社 Information processing apparatus, document processing method and program in information processing apparatus
JP2005193559A (en) * 2004-01-08 2005-07-21 Oki Data Corp Image forming apparatus
JP5006566B2 (en) * 2006-03-31 2012-08-22 キヤノン株式会社 Information processing apparatus, control method therefor, and program
CN100590547C (en) * 2006-09-29 2010-02-17 京瓷美达株式会社 Image forming device and image forming method
JP2009100102A (en) * 2007-10-15 2009-05-07 Canon Inc Image forming apparatus
JP2009100211A (en) * 2007-10-16 2009-05-07 Sharp Corp Image reader and image reading method
CN101420497B (en) * 2007-10-24 2012-05-02 东友科技股份有限公司 Copy method for article with double side to be copied, and image processing apparatus thereof
US8508811B2 (en) * 2009-12-14 2013-08-13 Samsung Electronics Co., Ltd. Image forming apparatus and method of copying two-sided card thereof
CN105472202A (en) * 2014-08-25 2016-04-06 日本冲信息株式会社 Image forming device and image forming method
CN104601852B (en) * 2014-12-23 2018-01-12 珠海赛纳打印科技股份有限公司 A kind of file double-sided copying method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000244724A (en) * 1999-02-22 2000-09-08 Fuji Photo Film Co Ltd Image synthesis device and method
JP2006339770A (en) * 2005-05-31 2006-12-14 Canon Inc Image processing system and control method thereof
JP2009016935A (en) * 2007-06-29 2009-01-22 Canon Inc Document reading apparatus, and control method of document reading apparatus
JP2011040971A (en) * 2009-08-10 2011-02-24 Canon Inc Device, method and program for processing image

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2020080242A1 (en) * 2018-10-19 2021-09-16 京セラドキュメントソリューションズ株式会社 Image reader, control method of image reader
JP7136225B2 (en) 2018-10-19 2022-09-13 京セラドキュメントソリューションズ株式会社 Image reading device, image reading device control method
US20220360680A1 (en) * 2021-05-06 2022-11-10 Konica Minolta, Inc. Image forming system and method for determining setting of image forming system
US11889036B2 (en) * 2021-05-06 2024-01-30 Konica Minolta, Inc. Image forming system and method for determining setting of image forming system

Also Published As

Publication number Publication date
CN107666547A (en) 2018-02-06
CN107666547B (en) 2021-02-26

Similar Documents

Publication Publication Date Title
US8438478B2 (en) Displaying an overlapped print preview for multiple pages with different finishing options
JP4963809B2 (en) Outlier detection during scanning
US10666829B2 (en) Image scanning device and image processing apparatus including card scanning function, and image scanning method thereof
JP2003219147A (en) Judgement method of paginating direction for processing after image generation
US10757290B2 (en) Image processing apparatus being able to simultaneously read and extract image data
US9876928B2 (en) Image processing device, image processing method, and non-transitory computer-readable medium
JP2012199698A (en) Image processing device, image processing system, image processing method, and image processing program
JP2006259045A (en) Image forming apparatus and method
US8203763B2 (en) Image scanning apparatus and method for aligning a stack of scanned images using the stack orientation indicated by a user and an automatically determined image orientation
CN107666547B (en) Image processing apparatus, image processing method, and program
JPWO2019008919A1 (en) Document reader
US8068261B2 (en) Image reading apparatus, image reading method, and image reading program
US11074441B2 (en) Image processing apparatus, storage medium, and image processing method for performing image repeat print processing
JP7497383B2 (en) Inspection device, inspection method, and program
CN110719378A (en) Image reading apparatus and image forming apparatus
US9712704B2 (en) Scanner providing centered alignment marks
US11089179B2 (en) Image processing apparatus, system, and computer program product capable of performing image processing on target image with respect to image data of the target image corresponding to target image state by acquired display image
JP6818505B2 (en) Image cutting device, multifunction device, image cutting method and image cutting program
WO2023013464A1 (en) Image forming device
US11184486B2 (en) Image forming apparatus for reading plural documents placed on document support surface and acquiring characters from images of read documents
US20160316104A1 (en) Method for reproducing images and image-processing apparatus using the method
JP2011066510A (en) Image reading apparatus, and image reading program
JP6708061B2 (en) Image processing device, image reading device, and image forming device
JP2006245747A (en) Printer and printing processing method
JP2021141367A (en) Image forming apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190520

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200210

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200218

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200414

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20200512