JP2010219704A - Image processor, image processing method, image processing program and recording medium - Google Patents

Image processor, image processing method, image processing program and recording medium Download PDF

Info

Publication number
JP2010219704A
JP2010219704A JP2009062092A JP2009062092A JP2010219704A JP 2010219704 A JP2010219704 A JP 2010219704A JP 2009062092 A JP2009062092 A JP 2009062092A JP 2009062092 A JP2009062092 A JP 2009062092A JP 2010219704 A JP2010219704 A JP 2010219704A
Authority
JP
Japan
Prior art keywords
image
image data
feature
symbol
angle detection
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
JP2009062092A
Other languages
Japanese (ja)
Inventor
Mihoko Inui
美保子 乾
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2009062092A priority Critical patent/JP2010219704A/en
Publication of JP2010219704A publication Critical patent/JP2010219704A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide: an image processor for easily and highly-accurately detecting the direction and inclination of inputted read image data; an image processing method; an image processing program; and a recording medium. <P>SOLUTION: The image processor 1 acquires the image data read from a paper original in an image data acquisition part, a symbol specifying function part 12 extracts a symbol image included in the acquired gradient detection object image data and acquires a prescribed corner part of the symbol image as a specified corner part, a detection function part 14 detects the coordinates of the plurality of corner parts of the symbol image specified by the corner part acquired by the symbol specifying function part 12, and a gradient calculating function part 16 calculates the gradient of the symbol image based on the coordinates of the plurality of corner parts detected by the detection function part 14. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、画像処理装置、画像処理方法、画像処理プログラム及び記録媒体に関し、詳細には、入力される読み取り画像データの向き及び傾きを簡単かつ高精度に補正する画像処理装置、画像処理方法、画像処理プログラム及び記録媒体に関する。   The present invention relates to an image processing device, an image processing method, an image processing program, and a recording medium, and more specifically, an image processing device, an image processing method, and a method for easily and accurately correcting the orientation and inclination of input read image data. The present invention relates to an image processing program and a recording medium.

近年、スキャナ装置、複写装置、複合装置、プリンタ装置、コンピュータ等の画像処理装置の普及に伴って、画像や文書等の各種紙文書を主走査及び副走査して読み取って電子化することが行われるようになってきており、また、ネットワーク化の普及に伴って、同様に紙文書を読み取った画像データを、そのまま、または、所定のデータ形式に変換するデータ変換処理を施した電子データを、ネットワークを介して配信するデータ配信処理が行われるようになってきている。このデータ配信処理では、紙文書を読み取る画像処理装置自体が備えていて、読み取った紙文書のデータをデータ配信処理したり、紙文書を読み取る画像処理装置の接続されているネットワークに配信サーバを接続して、画像処理装置で読み取った紙文書の画像データまたはデータ変換した電子データを配信サーバに配信先を指定した配信要求とともに送信して配信サーバが電子データを配信処理することが行われるようになってきている。さらに、画像処理装置においては、画像読み取り部で紙文書を読み取って電子化した電子データをハードディスク等の記憶装置に保管するスキャンデータ保管処理が行われている。   In recent years, with the widespread use of image processing apparatuses such as scanners, copiers, multifunction devices, printers, computers, etc., various paper documents such as images and documents are read and digitized by main scanning and sub scanning. In addition, with the spread of networking, image data obtained by reading a paper document in the same manner, or electronic data subjected to data conversion processing for converting it into a predetermined data format, Data distribution processing for distribution via a network has been performed. In this data distribution process, the image processing apparatus itself that reads a paper document is provided, and the data of the read paper document is processed, or the distribution server is connected to the network to which the image processing apparatus that reads the paper document is connected. Then, the image data of the paper document read by the image processing apparatus or the electronic data after the data conversion is transmitted to the distribution server together with the distribution request designating the distribution destination, and the distribution server performs the distribution processing of the electronic data. It has become to. Further, in the image processing apparatus, scan data storage processing is performed in which electronic data obtained by reading a paper document by an image reading unit and digitizing the data is stored in a storage device such as a hard disk.

このような紙文書を画像読み取り部で主走査及び副走査して読み取って画像データを取得したり、または、既に読み取られて記憶装置に保管されている画像データを受け取る等によって画像データを取得する場合、画像データが傾いていたり、上下が反転している等の正規の向きから異なった向きとなっていることがある。   Such a paper document is read by main scanning and sub-scanning with an image reading unit to acquire image data, or image data is acquired by receiving image data that has already been read and stored in a storage device. In some cases, the image data may be in a different orientation from the normal orientation, such as tilted or upside down.

例えば、画像読み取り部で紙原稿(紙文書)を読み取る場合、画像読み取り部のコンタクトガラス上に原稿をセットし、コンタクトガラス上の紙原稿を主走査及び副走査して該紙原稿の画像を読み取る。また、ADF(Auto Document Feeder)を利用する場合には、ADFの原稿トレイに複数枚の紙原稿をセットし、ADFによって紙原稿を搬送しつつ搬送される紙原稿の画像を読み取ったり、または、ADFによって紙原稿をコンタクトガラス上に搬送して、該コンタクトガラス上にセットした紙原稿を走査することで紙原稿の画像を読み取る。   For example, when a paper original (paper document) is read by the image reading unit, the original is set on the contact glass of the image reading unit, and the paper original on the contact glass is main-scanned and sub-scanned to read the image of the paper original. . In addition, when using ADF (Auto Document Feeder), a plurality of paper documents are set on the ADF document tray, and an image of a paper document conveyed while the paper document is conveyed by the ADF is read. A paper original is conveyed onto the contact glass by the ADF, and an image of the paper original is read by scanning the paper original set on the contact glass.

このような紙原稿の読み取りにおいて、紙原稿を、コンタクトガラスやADFにセットする際やADFによって紙原稿を搬送する際に、紙原稿のセット方向の間違いや傾いたセット等によって読み取り画像データが、90度や180度回転した状態であったり、微妙に斜め方向に傾いていたりする場合がある。   In reading such a paper document, when the paper document is set on the contact glass or ADF, or when the paper document is transported by the ADF, the read image data is caused by an error in the setting direction of the paper document or a tilted set. It may be in a state of being rotated 90 degrees or 180 degrees, or may be slightly inclined obliquely.

そこで、従来から、画像データに対して、画像データの向き及び傾きを補正するソフトウェアがあり、このソフトウェアとしては、画像データの向き及び傾きの補正処理を全て自動的に行う全自動補正ソフトウェアと、ユーザが補正に必要な情報を指定して該指定内容に基づいて画像データの向き及び傾きを自動で補正する半自動補正ソフトウェアとがある。   Therefore, conventionally, there is software that corrects the orientation and inclination of image data with respect to image data. As this software, fully automatic correction software that automatically performs all correction processing of the orientation and inclination of image data, There is semi-automatic correction software in which a user specifies information necessary for correction and automatically corrects the orientation and inclination of image data based on the specified content.

そして、全自動補正ソフトウェアは、OCR(光学文字認識)技術等の認識技術を利用して、上下左右の向き及び傾きを判断して補正処理を行っている(特許文献1参照)。   Then, the fully automatic correction software performs correction processing by determining the vertical and horizontal directions and inclination using a recognition technique such as an OCR (optical character recognition) technique (see Patent Document 1).

また、半自動補正ソフトウェアは、基準点の設定入力等の補正に必要な情報の指定に応じて画像データの向き及び傾きの補正を行っている(特許文献2参照)。   The semi-automatic correction software corrects the orientation and inclination of image data in accordance with designation of information necessary for correction such as reference point setting input (see Patent Document 2).

しかしながら、上記従来技術にあっては、画像データの向き及び傾きの補正における操作性及び正確性を安価に向上させる上で、改良の必要があった。   However, in the above prior art, it is necessary to improve the operability and accuracy in correcting the orientation and inclination of image data at a low cost.

すなわち、全自動補正ソフトウェアは、OCR等の認識技術を用いて画像データの向き及び傾きを判断しているため、認識技術の精度によって画像データの向き及び傾きの認識精度が影響され、認識技術の精度を向上させるためには、価格が高くついたり、処理対象のデータ量が多くなって処理速度が遅くなるという問題があった。   In other words, since the fully automatic correction software determines the orientation and inclination of image data using a recognition technology such as OCR, the recognition accuracy of the image data is affected by the accuracy of the recognition technology. In order to improve the accuracy, there is a problem that the price is high, or the processing speed is slowed down due to an increase in the amount of data to be processed.

また、半自動補正ソフトウェアは、画像データのページ毎にユーザが補正に必要な情報を指定操作するため、画像データの向き及び傾きの補正に用いるユーザによる指定情報が多いほど画像データの向き及び傾きの補正精度を向上させることができるが、ユーザの操作数が増え、また、補正対象の画像データの数が増えると、その分ユーザの操作数が増え、ユーザに対する負担が増加して、操作性を向上させる上で、改良の必要があった。   In addition, since the semi-automatic correction software designates information necessary for correction for each page of image data, the more the user-specified information used for correcting the direction and inclination of the image data, the more the direction and inclination of the image data. Although the accuracy of correction can be improved, the number of user operations increases and the number of image data to be corrected increases, the number of user operations increases accordingly, the burden on the user increases, and the operability is improved. In order to improve, there was a need for improvement.

そこで、本発明は、取得した画像データの向き及び傾きを、操作性を向上させつつ、高精度にかつ安価に検出する画像処理装置、画像処理方法、画像処理プログラム及び記録媒体を提供することを目的としている。   Therefore, the present invention provides an image processing apparatus, an image processing method, an image processing program, and a recording medium that detect the orientation and inclination of acquired image data with high accuracy and low cost while improving operability. It is aimed.

本発明は、上記目的を達成するために、紙原稿から読み取られた画像データを画像データ取得手段で取得し、特定情報取得手段が、該画像データ取得手段の取得した前記画像データに含まれ該画像データの傾斜角度を検出可能な位置情報を提供する複数の特徴画像部分を含んでいる角度検出用画像を抽出して該角度検出用画像における所定の特徴画像部分の位置情報を特定情報として取得し、特徴検知手段が、該特定情報取得手段の取得した前記特定情報で特定される前記角度検出用画像における複数の前記特徴画像部分の前記位置情報を検知して、傾斜角度検出手段が、該特徴検知手段の検知した複数の前記特徴画像部分の前記位置情報に基づいて前記角度検出用画像の傾斜角度を検出することを特徴としている。   In order to achieve the above object, the present invention acquires image data read from a paper document by an image data acquisition unit, and a specific information acquisition unit is included in the image data acquired by the image data acquisition unit. Extracting an angle detection image including a plurality of feature image portions that provide position information capable of detecting an inclination angle of image data, and acquiring position information of a predetermined feature image portion in the angle detection image as specific information Then, the feature detection means detects the position information of the plurality of feature image portions in the angle detection image specified by the specification information acquired by the specification information acquisition means, and the inclination angle detection means The tilt angle of the angle detection image is detected based on the position information of the plurality of feature image portions detected by the feature detection means.

また、本発明は、前記特定情報取得手段が、前記画像データに前記角度検出用画像が複数含まれていると、複数の該角度検出用画像から1つの角度検出用画像を選択する角度検出用画像選択手段を備え、前記角度検出用画像選択手段で選択された角度検出用画像の前記特定情報を取得し、前記特徴検知手段が、前記画像データに含まれている複数の前記角度検出用画像がそれぞれ有する全ての前記特徴画像部分の前記位置情報を検知する全特徴検知手段と、前記全特徴検知手段の検知した全ての前記角度検出用画像における全ての前記特徴画像部分の前記位置情報から、前記角度検出用画像選択手段で選択され前記角度検出用画像から前記特定情報取得手段が取得した前記特徴画像部分の前記位置情報と一致する位置情報の特徴画像部分を有する角度検出用画像を検索する一致画像検索手段と、を備え、前記傾斜角度検出手段が、前記一致画像検索手段が検索した前記角度検出用画像の前記特徴画像部分の前記位置情報に基づいて前記角度検出用画像の傾斜角度を検出することを特徴としてもよい。   In the present invention, the specific information acquisition unit may select one angle detection image from the plurality of angle detection images when the image data includes a plurality of the angle detection images. An image selection unit that acquires the specific information of the angle detection image selected by the angle detection image selection unit, and the feature detection unit includes a plurality of the angle detection images included in the image data; From the position information of all the feature image portions in all the angle detection images detected by the all feature detection means, all the feature detection means for detecting the position information of all the feature image parts each has A feature image portion of position information that matches the position information of the feature image portion selected by the angle detection image selection means and acquired by the specific information acquisition means from the angle detection image; Matching image search means for searching for an angle detection image, wherein the inclination angle detection means is based on the position information of the feature image portion of the angle detection image searched by the match image search means. The tilt angle of the angle detection image may be detected.

さらに、本発明は、前記画像データのうち、前記特定情報取得手段の取得した前記特定情報の示す位置に周囲所定領域部分の画像データを部分画像データとして抽出する部分画像抽出手段を備え、前記特徴検知手段が、前記部分画像抽出手段の抽出した前記部分画像データから前記特定情報で特定される前記角度検出用画像における所定数の前記特徴画像部分の前記位置情報を検知することを特徴としてもよい。   Furthermore, the present invention includes a partial image extraction unit that extracts, as partial image data, image data of a surrounding predetermined region portion at a position indicated by the specific information acquired by the specific information acquisition unit of the image data. The detection means may detect the position information of a predetermined number of the feature image portions in the angle detection image specified by the specification information from the partial image data extracted by the partial image extraction means. .

本発明によれば、取得した画像データの向き及び傾きを、操作性を向上させつつ、高精度にかつ安価に検出することができる。   According to the present invention, it is possible to detect the orientation and inclination of acquired image data with high accuracy and low cost while improving operability.

本発明の第1実施例を適用した画像処理装置の要部ブロック構成及び補正処理手順の説明図。FIG. 3 is an explanatory diagram of a main block configuration and a correction processing procedure of the image processing apparatus to which the first embodiment of the present invention is applied. 補正処理手順におけるシンボル指定画面の一例を示す図。The figure which shows an example of the symbol designation | designated screen in a correction process procedure. シンボルの一例を示す図。The figure which shows an example of a symbol. 傾きを有する場合のシンボルの一例を示す図。The figure which shows an example of the symbol in the case of having an inclination. 本発明の第2実施例を適用した画像処理装置の概略構成及び補正処理手順の説明図。Explanatory drawing of the schematic structure and correction | amendment processing procedure of the image processing apparatus to which 2nd Example of this invention is applied.

以下、本発明の好適な実施例を添付図面に基づいて詳細に説明する。なお、以下に述べる実施例は、本発明の好適な実施例であるので、技術的に好ましい種々の限定が付されているが、本発明の範囲は、以下の説明によって不当に限定されるものではなく、また、本実施の形態で説明される構成の全てが本発明の必須の構成要件ではない。   Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In addition, since the Example described below is a suitable Example of this invention, various technically preferable restrictions are attached | subjected, However, The range of this invention is unduly limited by the following description. However, not all the configurations described in the present embodiment are essential constituent elements of the present invention.

図1〜図4は、本発明の画像処理装置、画像処理方法、画像処理プログラム及び記録媒体の第1実施例を示す図であり、図1は、本発明の画像処理装置、画像処理方法、画像処理プログラム及び記録媒体の第1実施例を適用した画像処理装置1の要部機能ブロック及び斜度検出処理手順を示す図である。   1 to 4 are diagrams showing a first embodiment of an image processing apparatus, an image processing method, an image processing program, and a recording medium of the present invention. FIG. 1 shows an image processing apparatus, an image processing method of the present invention, It is a figure which shows the principal part functional block of the image processing apparatus 1 to which the 1st Example of the image processing program and the recording medium were applied, and the inclination detection processing procedure.

図1において、画像処理装置1は、スキャナ装置、複写装置及び複合装置等の紙原稿を主走査及び副走査して該紙原稿の画像を読み取る画像読み取り部を画像データ取得部(画像データ取得手段)として備えた画像処理装置、あるいは、画像読み取り部を備えた画像処理装置の読み取った画像データをネットワーク等を介して受信するインターフェイスを画像データ取得部として備えたプリンタ装置、コンピュータ及び配信サーバ等の画像処理装置等である。画像処理装置1は、図示しないが、各部の制御を行う制御部、画像データ取得部、画像データ取得部の取得した画像データに対して各種画像処理やデータ変換を行う画像処理部、画像処理部の処理した電子データを出力するデータ出力部、各種処理命令を入力する操作入力部、各種操作画面やその他の情報を表示する表示部等を備えている。本実施例の画像処理装置1は、表示部にタッチパネルが設けられており、表示部に表示する操作画面に機能ボタンを表示して、該機能ボタンのタッチ操作によって該機能ボタンに割り付けている機能のオン/オフ操作を行えるようにしている。画像データ取得部は、紙原稿の画像を読み取る画像読み取り部、ネットワークに接続して該ネットワーク上の画像読み取り部を備えた他の画像処理装置等から画像データを受信するネットワークインターフェイス、外部メモリから画像データを読み取る外部インターフェイス等のうち少なくとも1つから構成されており、画像データを取得する。画像処理部は、画像データ取得部の取得した画像データに各種画像処理やRGB画像データとCMYK画像データとの変換処理、RGB画像データのPDF(Portable Document Format)データへの変換及び画像データの傾き補正処理等を行う。データ出力部は、画像データに基づいて用紙に画像を記録出力するプリンタ部、ネットワークを介してデータの配信を行うネットワークインターフェイス部、外部メモリにデータを保管出力する外部インターフェイス等である。   In FIG. 1, an image processing apparatus 1 includes an image data acquisition unit (image data acquisition unit) that scans a paper document such as a scanner device, a copying apparatus, and a composite device to perform main scanning and sub-scanning and reads an image of the paper document. ) Or an image processing apparatus provided with an image reading unit, or a printer, computer, distribution server, or the like provided with an interface for receiving image data read by the image processing apparatus via a network or the like. An image processing apparatus. Although not shown, the image processing apparatus 1 includes a control unit that controls each unit, an image data acquisition unit, an image processing unit that performs various image processing and data conversion on the image data acquired by the image data acquisition unit, and an image processing unit. A data output unit for outputting the processed electronic data, an operation input unit for inputting various processing commands, a display unit for displaying various operation screens and other information, and the like. The image processing apparatus 1 according to the present embodiment includes a touch panel provided on the display unit, displays function buttons on an operation screen displayed on the display unit, and assigns the function buttons to the function buttons by a touch operation of the function buttons. Can be turned on / off. The image data acquisition unit is an image reading unit that reads an image of a paper document, a network interface that is connected to a network and receives image data from another image processing apparatus equipped with the image reading unit on the network, and an image from an external memory It is composed of at least one of external interfaces for reading data and acquires image data. The image processing unit performs various types of image processing on the image data acquired by the image data acquisition unit, conversion processing of RGB image data and CMYK image data, conversion of RGB image data to PDF (Portable Document Format) data, and inclination of the image data Perform correction processing and the like. The data output unit is a printer unit that records and outputs an image on paper based on image data, a network interface unit that distributes data via a network, an external interface that stores and outputs data to an external memory, and the like.

画像処理装置1は、本発明の画像データの向き及び傾き角度を検出する画像処理方法を実行する画像処理プログラムが導入されることで、図1に示す機能ブロックを備えた本発明の画像処理装置として構築されている。   The image processing apparatus 1 includes the functional blocks shown in FIG. 1 by introducing an image processing program for executing the image processing method for detecting the orientation and inclination angle of the image data of the present invention. Is built as.

すなわち、画像処理装置1は、ROM(Read Only Memory)、EEPROM(Electrically Erasable and Programmable Read Only Memory )、EPROM、フラッシュメモリ、フレキシブルディスク、CD−ROM(Compact Disc Read Only Memory )、CD−RW(Compact Disc Rewritable )、DVD(Digital Video Disk)、SD(Secure Digital)カード、MO(Magneto-Optical Disc)等のコンピュータが読み取り可能な記録媒体に記録されている本発明の画像データの向き及び傾きを検出する画像処理方法を実行する画像処理プログラムを読み込んでROMやハードディスク等に導入することで、図1に示す機能ブロックを備え、後述する画像データの向き及び傾きを検出する画像処理方法を実行する画像処理装置として構築されている。この画像処理プログラムは、アセンブラ、C、C++、C#、Java(登録商標)等のレガシープログラミング言語やオブジェクト指向ブログラミング言語等で記述されたコンピュータ実行可能なプログラムであり、上記記録媒体に格納して頒布することができる。   That is, the image processing apparatus 1 includes a ROM (Read Only Memory), an EEPROM (Electrically Erasable and Programmable Read Only Memory), an EPROM, a flash memory, a flexible disk, a CD-ROM (Compact Disc Read Only Memory), and a CD-RW (Compact). Detects the orientation and inclination of the image data of the present invention recorded on a computer-readable recording medium such as Disc Rewritable (DVD), Digital Video Disk (DVD), SD (Secure Digital) card, MO (Magneto-Optical Disc), etc. An image processing program that executes the image processing method for detecting the orientation and inclination of image data, which will be described later, is provided by loading an image processing program for executing the image processing method to be read and introducing the program into a ROM, a hard disk, or the like. It is constructed as a processing device. This image processing program is a computer-executable program written in a legacy programming language such as assembler, C, C ++, C #, Java (registered trademark) or an object-oriented programming language, and is stored in the recording medium. Can be distributed.

そして、画像処理装置1は、画像処理プログラムが導入され、制御部で実行することによって、図1に示すように、クライアント機構部2及び斜度検出機構部10が構築され、斜度検出機構部10として、メイン制御機能部11、シンボル特定機能部12、入出力機能部13、検知機能部14、座標一致判断機能部15及び斜度計算機能部16が構築される。   Then, the image processing apparatus 1 is installed with the image processing program and executed by the control unit, thereby constructing the client mechanism unit 2 and the inclination detection mechanism unit 10 as shown in FIG. 10, a main control function unit 11, a symbol identification function unit 12, an input / output function unit 13, a detection function unit 14, a coordinate match determination function unit 15, and an inclination calculation function unit 16 are constructed.

上記画像データ取得部が取得する画像データには、1つ以上のシンボル画像(角度検出用画像)が、予め組み込まれており、シンボル画像は、画像データの斜度(向き及び傾き)を検出する検出可能な位置情報を提供する複数の角部(特徴画像部分)を有する角形状を有するとともに、所定の画像内容を有する画像である。このシンボル画像は、例えば、四角形の1次元バーコード、2次元バーコード、電子透かし等が用いることができる。   In the image data acquired by the image data acquisition unit, one or more symbol images (angle detection images) are incorporated in advance, and the symbol images detect the inclination (direction and inclination) of the image data. The image has a corner shape having a plurality of corner portions (feature image portions) for providing detectable position information, and has predetermined image contents. As this symbol image, for example, a rectangular one-dimensional barcode, two-dimensional barcode, digital watermark, or the like can be used.

クライアント部2は、画像処理装置1の画像データ取得部、操作入力部、ネットワークインターフェイス及び制御部等によって実現され、画像データ取得部の取得した画像データと該画像データ(以下、斜度検出の対象となる画像データを斜度検出対象画像データという。)の斜度検出依頼を斜度検出機能部10のメイン制御機能部11に出力する。   The client unit 2 is realized by an image data acquisition unit, an operation input unit, a network interface, a control unit, and the like of the image processing apparatus 1, and the image data acquired by the image data acquisition unit and the image data (hereinafter, the target of inclination detection) Is output to the main control function unit 11 of the inclination detection function unit 10.

メイン制御機能部11は、クライアント機能部2からの斜度検出依頼に応じて斜度検出機能部10の各機能部を制御して、斜度検出対象画像データに対する斜度検出処理を行う。   The main control function unit 11 controls each function unit of the gradient detection function unit 10 in response to a gradient detection request from the client function unit 2 and performs a gradient detection process on the gradient detection target image data.

シンボル特定機能部(特定情報取得手段)12は、斜度検出対象画像データから該斜度検出対象画像データに予め組み込まれているシンボル画像を特定して、該シンボル画像を一意に特定するシンボル特定情報(特定情報)をメイン機能部11に出力する。このシンボル特定情報は、本実施例では、シンボル画像の特定角部の座標である特定座標(x、y)である。シンボル特定機能部12は、斜度検出対象画像データに複数のシンボル画像が含まれているときには、複数の該シンボル画像のうち斜度検出に用いる1つのシンボル画像を特定する。   The symbol specifying function unit (specific information acquisition means) 12 specifies a symbol image that is preliminarily incorporated in the slope detection target image data from the slope detection target image data, and uniquely specifies the symbol image. Information (specific information) is output to the main function unit 11. In this embodiment, the symbol specifying information is specific coordinates (x, y) that are coordinates of a specific corner of the symbol image. When a plurality of symbol images are included in the inclination detection target image data, the symbol specifying function unit 12 specifies one symbol image used for the inclination detection among the plurality of symbol images.

入出力機能部13は、上記操作入力部や表示部で機能構成され、シンボル特定機能部12が複数のシンボル画像から1つのシンボル画像を特定する際に、該複数のシンボル画像から1つのシンボル画像をユーザに選択させるのに使用される。入出力機能部13は、複数のシンボル画像のうち、1つのシンボル画像が選択指定されると、指定されたシンボル画像を特定する情報として、例えば、指定された角部を有するシンボル画像の1つの角部の座標を指定シンボル画像座標(x、y)としてシンボル特定機能部12に渡す。   The input / output function unit 13 is configured by the operation input unit and the display unit, and when the symbol specifying function unit 12 specifies one symbol image from the plurality of symbol images, one symbol image from the plurality of symbol images. Used to let the user select. When one symbol image is selected and specified from among a plurality of symbol images, the input / output function unit 13 is, for example, one symbol image having a specified corner as information for specifying the specified symbol image. The coordinates of the corner are passed to the symbol specifying function unit 12 as designated symbol image coordinates (x, y).

すなわち、シンボル特定機能部12は、斜度検出対象画像データに複数のシンボル画像が含まれているときに、予め設定されている特定処理方法で自動的に斜度検出に用いる1つのシンボル画像を特定してもよいし、入出力機能部13によってユーザに選択された1つのシンボル画像を斜度検出に用いるシンボル画像として特定してもよい。   That is, the symbol specifying function unit 12 automatically selects one symbol image for use in slope detection by a preset specific processing method when the slope detection target image data includes a plurality of symbol images. It may be specified, or one symbol image selected by the user by the input / output function unit 13 may be specified as a symbol image used for the inclination detection.

そして、シンボル特定機能部12は、斜度検出画像データに用いるシンボル画像を特定すると、特定シンボル画像を特定する特定情報として、例えば、特定したシンボル画像における1つの角部の特定シンボル画像座標(x、y)を、メイン制御機能部11に渡す。したがって、シンボル特定機能部12及び入出力機能部13は、全体として角度検出用画像選択手段として機能している。   Then, when the symbol specifying function unit 12 specifies the symbol image used for the inclination detection image data, as specific information for specifying the specific symbol image, for example, the specific symbol image coordinates (x of one corner of the specified symbol image) , Y) is passed to the main control function unit 11. Therefore, the symbol specifying function unit 12 and the input / output function unit 13 function as an angle detection image selection unit as a whole.

検知機能部(特徴検知手段、全特徴検知手段)14は、メイン制御機能部11からのシンボル検知依頼と斜度検出対象画像データを受け取って、斜度検出対象画像データに含まれている全てのシンボル画像の画像情報(シンボル画像情報)を検知して、メイン制御機能部11に返す。このシンボル画像情報は、シンボル画像の画像内容及び該シンボル画像の全角部(特徴画像部分)の位置情報である座標(x、y)からなる。   The detection function unit (feature detection unit, all-feature detection unit) 14 receives the symbol detection request and the inclination detection target image data from the main control function unit 11 and receives all of the inclination detection target image data. Image information of the symbol image (symbol image information) is detected and returned to the main control function unit 11. This symbol image information is composed of the image contents of the symbol image and coordinates (x, y) which are position information of the full-angle portion (feature image portion) of the symbol image.

座標一致判断機能部(一致画像検出手段)15は、メイン制御機能部11からシンボル特定機能部12が特定した特定シンボル画像を特定する特定情報である特定座標(x、y)と検知機能部14の検知した全てのシンボル画像における全角部の座標(x、y)及び座標一致判断依頼を受け取り、特定シンボル画像の特定座標(x、y)と一致する角部の座標(x、y)を有するシンボル画像が、検知機能部14の検知したシンボル画像に存在するか判断して、判断結果をメイン制御機能部11に渡す。座標一致判断機能部15は、特定シンボル画像の特定座標(x、y)と一致する角部の座標(x、y)を有するシンボル画像が存在するときには、一致シンボル画像有りの結果と一致するシンボル画像を特定する情報をメイン制御機能部11に渡し、特定シンボル画像の特定座標(x、y)と一致する角部の座標(x、y)を有するシンボル画像が存在しないときには、一致シンボル画像無しの判断結果をメイン制御機能部11に渡す。   The coordinate coincidence determination function unit (coincidence image detection means) 15 includes specific coordinates (x, y) that are specific information for specifying the specific symbol image specified by the symbol specification function unit 12 from the main control function unit 11 and the detection function unit 14. The coordinates (x, y) of all the corners in all the detected symbol images and the coordinate matching determination request are received, and the coordinates (x, y) of the corners coincide with the specific coordinates (x, y) of the specific symbol image. It is determined whether a symbol image exists in the symbol image detected by the detection function unit 14, and the determination result is passed to the main control function unit 11. When there is a symbol image having a corner coordinate (x, y) that matches the specific coordinate (x, y) of the specific symbol image, the coordinate matching determination function unit 15 matches the result with the matching symbol image. When information specifying the image is passed to the main control function unit 11 and there is no symbol image having corner coordinates (x, y) that match the specific coordinates (x, y) of the specific symbol image, there is no matching symbol image Is sent to the main control function unit 11.

斜度計算機能部(傾斜角度検出手段)16は、座標一致判断機能部15が特定シンボル画像の特定座標(x、y)と一致する角部の座標(x、y)を有するシンボル画像が存在すると判断したときに、メイン制御機能部11から渡される該特定シンボル画像の特徴情報である全角部の座標(x、y)から該シンボル画像の向き及び傾きである斜度(傾斜角度)を算出し、算出した斜度をメイン制御機能部11に渡す。   The inclination calculation function unit (inclination angle detection means) 16 has a symbol image having the coordinate (x, y) of the corner where the coordinate matching determination function unit 15 matches the specific coordinate (x, y) of the specific symbol image. When it is determined, the inclination (inclination angle), which is the direction and inclination of the symbol image, is calculated from the coordinates (x, y) of the full-angle part that is the characteristic information of the specific symbol image passed from the main control function unit 11. Then, the calculated inclination is transferred to the main control function unit 11.

そして、メイン制御機能部11は、座標一致判断機能部15が特定シンボル画像の特定座標(x、y)と一致する角部の座標(x、y)を有するシンボル画像が存在すると判断して、斜度計算機能部16がシンボル画像の斜度を算出すると、該斜度を斜度検出対象画像データの斜度としてクライアント機能部2に渡し、座標一致判断機能部15が特定シンボル画像の特定座標(x、y)と一致する角部の座標(x、y)を有するシンボル画像が存在しないと判断すると、斜度検出エラーをクライアント機能部2に渡す。   Then, the main control function unit 11 determines that there is a symbol image having a corner coordinate (x, y) that matches the specific coordinate (x, y) of the specific symbol image. When the slope calculation function unit 16 calculates the slope of the symbol image, it passes the slope to the client function unit 2 as the slope of the slope detection target image data, and the coordinate match determination function unit 15 sends the specific coordinates of the specific symbol image. If it is determined that there is no symbol image having a corner coordinate (x, y) that matches (x, y), an inclination detection error is passed to the client function unit 2.

次に、本実施例の作用を説明する。本実施例の画像処理装置1は、取り込んだ画像データの斜度を操作性を向上させつつ高精度にかつ安価に検出する。   Next, the operation of this embodiment will be described. The image processing apparatus 1 according to the present embodiment detects the inclination of captured image data with high accuracy and low cost while improving operability.

すなわち、画像処理装置1は、画像読み取り部、ネットワークインターフェイス、外部インターフェイス等の画像データ取得部が取得した画像データに対して操作入力部等であるクライアント機能部2からメイン制御機能部11に斜度検出対象画像データと斜度算出依頼要求があると、メイン制御機能部11は、斜度検出対象データをシンボル特定機能部12に渡すとともに、該斜度検出対象データ内に存在するシンボル画像の特定を依頼するシンボル特定依頼をシンボル特定機能部12に行う。   That is, the image processing apparatus 1 sends an inclination to the main control function unit 11 from the client function unit 2 that is an operation input unit or the like for image data acquired by an image data acquisition unit such as an image reading unit, a network interface, or an external interface. When there is a detection target image data and an inclination calculation request, the main control function unit 11 passes the inclination detection target data to the symbol specifying function unit 12 and specifies a symbol image existing in the inclination detection target data. The symbol specifying function unit 12 is requested to specify a symbol.

シンボル特定機能部12は、メイン制御機能部11から受け取った斜度検出対象画像データから該斜度検出対象画像データに予め組み込まれているシンボル画像を特定して、該シンボル画像を一意に特定するシンボル特定情報、本実施例では、特定座標(x、y)をメイン機能部11に出力し、また、斜度検出対象画像データに複数のシンボル画像が含まれているときには、複数の該シンボル画像のうち斜度検出に用いる1つのシンボル画像を特定する。シンボル特定機能部12は、斜度検出対象画像データに複数のシンボル画像が含まれているときに、予め設定されている特定処理方法で自動的に斜度検出に用いる1つのシンボル画像を特定してもよいし、入出力機能部13を利用してユーザの選択に応じてシンボル画像を特定してもよい。ユーザの選択に応じてシンボル画像を特定する場合には、シンボル特定機能部12は、入出力機能部13に、例えば、図2に示すような斜度検出に用いるシンボル画像をユーザに選択させる特定シンボル問い合わせ画面Gを表示させる。この場合、入出力機能部13は、例えば、タッチパネルを備えた表示部に、図2に示すように、斜度検出対象画像を、該斜度検出対象画像内に存在する複数のシンボル画像から斜度検出に使用するシンボル画像の選択を要請するメッセージとともに表示する。なお、図2では、特定シンボル問い合わせ画面Gに、4つのシンボル画像SG1〜SG4が組み込まれている斜度検出対象画像KGとシンボル画像選択要請メッセージが表示されている。入出力機能部13は、特定シンボル問い合わせ画面Gに応じてユーザによって斜度検出対象画像データの斜度検出に使用するシンボル画像SG1〜SG4の1つが、タッチパネルへのタッチ操作等によって選択指定操作されると、該選択指定されたシンボル画像SG1〜SG4を特定する特定情報、本実施例では、例えば、指定されたシンボル画像における1つの角部の座標を指定シンボル画像座標(x、y)としてシンボル特定機能部12に渡す。   The symbol specifying function unit 12 specifies a symbol image preliminarily incorporated in the inclination detection target image data from the inclination detection target image data received from the main control function unit 11, and uniquely specifies the symbol image. Symbol specific information, in this embodiment, specific coordinates (x, y) are output to the main function unit 11, and when a plurality of symbol images are included in the inclination detection target image data, a plurality of the symbol images are displayed. Among them, one symbol image used for the inclination detection is specified. The symbol specifying function unit 12 automatically specifies one symbol image to be used for slope detection using a preset specific processing method when the slope detection target image data includes a plurality of symbol images. Alternatively, the symbol image may be specified according to the user's selection using the input / output function unit 13. When specifying the symbol image in accordance with the user's selection, the symbol specifying function unit 12 causes the input / output function unit 13 to specify, for example, the user to select a symbol image used for the inclination detection as shown in FIG. The symbol inquiry screen G is displayed. In this case, for example, as shown in FIG. 2, the input / output function unit 13 displays an inclination detection target image on a display unit equipped with a touch panel, from a plurality of symbol images existing in the inclination detection target image. Displayed with a message requesting selection of a symbol image to be used for degree detection. In FIG. 2, an inclination detection target image KG in which four symbol images SG1 to SG4 are incorporated and a symbol image selection request message are displayed on the specific symbol inquiry screen G. In the input / output function unit 13, one of the symbol images SG1 to SG4 used for detecting the inclination of the inclination detection target image data is selected and designated by the user according to the specific symbol inquiry screen G by a touch operation on the touch panel or the like. Then, specific information for specifying the selected and designated symbol images SG1 to SG4. In the present embodiment, for example, the coordinates of one corner of the designated symbol image are designated as designated symbol image coordinates (x, y). Passed to the specific function unit 12.

シンボル特定機能部12は、斜度検出画像データの斜度検出に用いるシンボル画像が特定されると、特定シンボル画像を特定する特定情報として、特定したシンボル画像における1つの角部の座標を特定シンボル画像座標(x、y)としてメイン制御機能部11に渡す。   When the symbol image used for the inclination detection of the inclination detection image data is specified, the symbol specifying function unit 12 uses the coordinates of one corner of the specified symbol image as a specific symbol as specifying information for specifying the specific symbol image. The image coordinates (x, y) are passed to the main control function unit 11.

メイン制御機能部11は、特定シンボル画像座標(x、y)を受け取ると、斜度検出対象画像データを検知機能部14に渡して、斜度検出対象画像データに含まれている全てのシンボル画像SG1〜SG4の検知依頼を検知機能部14に行い、検知機能部14は、受け取った斜度検出対象画像データに含まれている全てのシンボル画像SG1〜SG4の画像情報(シンボル画像情報)を検知して、メイン制御機能部11に返す。このシンボル画像情報は、シンボル画像の画像内容及び該シンボル画像の特徴情報である全角部の座標(x、y)からなる。   When the main control function unit 11 receives the specific symbol image coordinates (x, y), the main control function unit 11 passes the inclination detection target image data to the detection function unit 14, and all the symbol images included in the inclination detection target image data. Requests for detection of SG1 to SG4 are made to the detection function unit 14, and the detection function unit 14 detects image information (symbol image information) of all the symbol images SG1 to SG4 included in the received skewness detection target image data. Then, it returns to the main control function unit 11. This symbol image information is composed of the image contents of the symbol image and the coordinates (x, y) of the full-angle part which is the characteristic information of the symbol image.

メイン制御機能部11は、検知機能部14からシンボル画像情報を受け取ると、該全てのシンボル画像SG1〜SG4におけるシンボル画像情報の座標(x、y)と前記シンボル特定機能部12から受け取った特定シンボル画像の特定情報である特定シンボル画像座標(x、y)を座標一致判断機能部15に渡して、特定シンボル座標(x、y)と一致する角部の座標(x、y)を有するシンボル画像SG1〜SG4が有るか否かの一致判断を依頼する。   When the main control function unit 11 receives the symbol image information from the detection function unit 14, the coordinates (x, y) of the symbol image information in all the symbol images SG <b> 1 to SG <b> 4 and the specific symbol received from the symbol specification function unit 12. The specific symbol image coordinates (x, y), which are the specific information of the image, are passed to the coordinate match determination function unit 15 and have the corner coordinates (x, y) that match the specific symbol coordinates (x, y). A request is made to determine whether SG1 to SG4 are present.

座標一致判断機能部15は、特定シンボル座標(x、y)と一致する角部の座標(x、y)を有するシンボル画像SG1〜SG4が存在するか否かをシンボル画像SG1〜SG4毎に順次判断して、その判断結果をメイン制御機能部11に渡す。すなわち、座標一致判断機能部15は、特定シンボル画像の特定座標(x、y)と一致する角部の座標(x、y)を有するシンボル画像が存在するときには、一致シンボル画像有りの判断結果情報をメイン制御機能部11に渡し、特定シンボル画像の特定座標(x、y)と一致する角部の座標(x、y)を有するシンボル画像が存在しないときには、一致シンボル画像無しの判断結果情報をメイン制御機能部11に渡す。   The coordinate matching determination function unit 15 sequentially determines whether or not there are symbol images SG1 to SG4 having corner coordinates (x, y) that match the specific symbol coordinates (x, y) for each of the symbol images SG1 to SG4. Judgment is made and the judgment result is passed to the main control function unit 11. That is, the coordinate matching determination function unit 15 determines that there is a matching symbol image when there is a symbol image having corner coordinates (x, y) that match the specific coordinates (x, y) of the specific symbol image. Is transferred to the main control function unit 11, and when there is no symbol image having corner coordinates (x, y) that coincide with the specific coordinates (x, y) of the specific symbol image, determination result information indicating that there is no matching symbol image is displayed. Passed to the main control function unit 11.

メイン制御機能部11は、座標一致判断機能部15から一致シンボル画像有りの判断結果情報を受け取ると、該特定シンボル画像の特定座標(x、y)と一致する角部の座標(x、y)を有するシンボル画像における全ての角部の座標(x、y)を斜度計算機能部10に渡して、斜度計算を依頼し、斜度計算機能部10は、メイン制御機能部11から渡される該特定シンボル画像の特徴情報である複数の角部の座標(x、y)から該シンボル画像の向き及び傾きである斜度を算出し、算出した斜度をメイン制御機能部11に渡す。   When the main control function unit 11 receives the determination result information indicating that there is a matching symbol image from the coordinate matching determination function unit 15, the corner coordinates (x, y) that coincide with the specific coordinates (x, y) of the specific symbol image. The coordinates (x, y) of all the corners in the symbol image having “” are passed to the slope calculation function unit 10 to request the slope calculation, and the slope calculation function unit 10 is passed from the main control function unit 11. The inclination that is the direction and inclination of the symbol image is calculated from the coordinates (x, y) of the plurality of corners that are the characteristic information of the specific symbol image, and the calculated inclination is passed to the main control function unit 11.

すなわち、シンボル画像SG1〜SG4が、例えば、図3に示すように、4つの角部を有する4角形の1次元バーコードBCである場合、角部の座標は、(x1、y1)、(x2、y2)、(x3、y3)、(x4、y4)である。   That is, when the symbol images SG1 to SG4 are, for example, a quadrangular one-dimensional barcode BC having four corners as shown in FIG. 3, the coordinates of the corners are (x1, y1), (x2 , Y2), (x3, y3), (x4, y4).

そこで、斜度計算機能部10は、特定シンボル画像SG1〜SG4の4つの角部の座標(x1、y1)、(x2、y2)、(x3、y3)、(x4、y4)のうち、予め設定されている2つの座標等のように特定の2座標、例えば、図4に示すように、座標(x2、y2)と座標(x3、y3)から該特定シンボル画像SG1〜SG4の斜度(傾斜角度)θを、次式により求める。   Therefore, the inclination calculation function unit 10 preliminarily selects the coordinates (x1, y1), (x2, y2), (x3, y3), (x4, y4) of the four corners of the specific symbol images SG1 to SG4. Two specific coordinates such as the two set coordinates, for example, as shown in FIG. 4, the gradients of the specific symbol images SG1 to SG4 from the coordinates (x2, y2) and the coordinates (x3, y3) ( (Inclination angle) θ is obtained by the following equation.

tanθ=(y2−y3)/(x2−x3)・・・(1)
この場合、例えば、図3及び図4では、座標(x2、y2)を基点座標として設定してtanθを算出すると、該基点座標を中心としてシンボル画像SG1〜SG4が傾いている傾きの大きさ(傾き角度)と傾き方向を、式(1)で算出した斜度θの大きさと±の符号に求めることができる。
tan θ = (y2−y3) / (x2−x3) (1)
In this case, for example, in FIG. 3 and FIG. 4, when tan θ is calculated by setting the coordinates (x2, y2) as the base point coordinates, the magnitude of the tilt at which the symbol images SG1 to SG4 are tilted around the base point coordinates ( The inclination angle) and the inclination direction can be obtained from the magnitude of the inclination θ calculated by the equation (1) and the sign of ±.

すなわち、2つの角部の座標(x2、y2)と座標(x3、y3)によって特定シンボル画像SG1〜SG4の斜度θが一意に決定される。なお、斜度θを算出するのに用いる角部としては、上記2つの座標(x2、y2)と座標(x3、y3)に限るものではなく、他の2つの座標、例えば、座標(x1、y1)と座標(x3、y3)等を適宜採用することができ、また、斜度θの算出に用いる座標の数としては、2つの座標に限るものではなく、4つまたは4つの座標を用いて斜度を算出してもよい。この場合においても、基点座標を設定し、該基点座標におけるシンボル画像の傾き角度と傾き方向をθの大きさと符号によって求める。   That is, the inclination θ of the specific symbol images SG1 to SG4 is uniquely determined by the coordinates (x2, y2) and the coordinates (x3, y3) of the two corners. Note that the corners used for calculating the inclination θ are not limited to the two coordinates (x2, y2) and the coordinates (x3, y3), but other two coordinates, for example, coordinates (x1, y1) and coordinates (x3, y3), etc. can be adopted as appropriate, and the number of coordinates used for calculating the inclination θ is not limited to two coordinates, and four or four coordinates are used. The slope may be calculated. In this case as well, the base point coordinates are set, and the inclination angle and direction of the symbol image at the base point coordinates are obtained from the magnitude and sign of θ.

メイン制御機能部11は、斜度計算機能部16から算出結果の斜度θを受け取ると、斜度検出対象画像データの斜度算出結果として、該斜度θをクライアント機能部2に渡す。   When the main control function unit 11 receives the gradient θ of the calculation result from the gradient calculation function unit 16, it passes the gradient θ to the client function unit 2 as the gradient calculation result of the gradient detection target image data.

クライアント機能部2は、斜度θを受け取ると、例えば、画像処理装置1の制御部に渡し、制御部が、画像処理部等を制御して、斜度θに基づいて、斜度検出対象画像データの向きや傾きを補正する。画像処理装置1は、斜度補正を行うと、画像データを補正した旨等の補正情報を表示部に表示する等の方法でユーザに通知してもよい。   When the client function unit 2 receives the inclination θ, for example, the client function unit 2 passes it to the control unit of the image processing apparatus 1, and the control unit controls the image processing unit and the like, and based on the inclination θ, the inclination detection target image Correct the direction and inclination of the data. When the inclination correction is performed, the image processing apparatus 1 may notify the user of correction information such as correction of the image data on the display unit.

一方、メイン制御機能部11は、上記座標一致判断機能部15が特定シンボル画像の特定座標(x、y)と一致する角部の座標(x、y)を有するシンボル画像が存在しないと判断すると、斜度検出エラーをクライアント機能部2に渡す。この場合、画像処理装置1は、斜度補正を行えなかった旨等のエラー情報を表示部に表示する等の方法でユーザに通知してもよい。なお、画像処理装置1の制御部は、斜度計算機能部10の計算した斜度に基づいて、画像処理を制御して、画像データの角度補正を行わせてもよいし、該画像データを他の装置に配信等する場合には、角度補正を行わないで、傾斜したままの画像データと斜度の情報を配信して、配信先の装置が、必要に応じて斜度の情報に基づいて画像データの角度補正を行ってもよい。   On the other hand, the main control function unit 11 determines that the coordinate match determination function unit 15 determines that there is no symbol image having corner coordinates (x, y) that match the specific coordinates (x, y) of the specific symbol image. Then, the skew detection error is passed to the client function unit 2. In this case, the image processing apparatus 1 may notify the user by a method such as displaying error information such as the fact that the inclination correction cannot be performed on the display unit. Note that the control unit of the image processing apparatus 1 may control the image processing based on the inclination calculated by the inclination calculation function unit 10 to perform angle correction of the image data, or the image data When distributing to other devices, etc., the angle correction is not performed, and the image data and the inclination information that are tilted are distributed, and the distribution destination device is based on the inclination information as necessary. Then, the angle correction of the image data may be performed.

このように、本実施例の画像処理装置1は、紙原稿から読み取られた画像データを画像データ取得部で取得し、シンボル特定機能部12が、画像データ取得部の取得した斜度検出対象画像データに含まれ該画像データの斜度(傾斜角度)を検出可能な座標(位置情報)を提供する複数の角部(特徴画像部分)を含んでいるシンボル画像(角度検出用画像)を抽出して該シンボル画像における所定の角部の位置情報を特定情報として取得し、検知機能部14が、シンボル特定機能部12の取得した特定情報で特定されるシンボル画像における複数の角部の座標を検知して、斜度計算機能部16が、検知機能部14の検知した複数の角部の座標に基づいて該シンボル画像の斜度を算出(検出)している。   As described above, the image processing apparatus 1 according to the present exemplary embodiment acquires image data read from a paper document by the image data acquisition unit, and the symbol specifying function unit 12 acquires the skew detection target image acquired by the image data acquisition unit. Extracts a symbol image (angle detection image) that includes a plurality of corners (feature image portions) that provide coordinates (position information) that can be detected in the inclination (tilt angle) of the image data included in the data. Position information of predetermined corners in the symbol image is acquired as specific information, and the detection function unit 14 detects the coordinates of a plurality of corners in the symbol image specified by the specific information acquired by the symbol specification function unit 12 Then, the slope calculation function unit 16 calculates (detects) the slope of the symbol image based on the coordinates of the plurality of corners detected by the detection function unit 14.

したがって、ユーザが斜度を求めるのに必要な各種操作を行うことなく、読み取り画像データの斜度を高精度に検出することができ、画像データの向き及び傾きを、操作性を向上させつつ、安価にかつ高精度に補正することができる。   Therefore, the user can detect the inclination of the read image data with high accuracy without performing various operations necessary for obtaining the inclination, and improve the operability of the orientation and inclination of the image data. Correction can be made at low cost and with high accuracy.

また、本実施例の画像処理装置1は、シンボル特定機能部12が、斜度検出対象画像データにシンボル画像が複数含まれていると、複数のシンボル画像から1つのシンボル画像を入出力機能部13によって選択して、選択したシンボル画像の特定情報を取得し、検知機能部14が、斜度検出対象画像データに含まれている複数のシンボル画像がそれぞれ有する全ての角部の座標を検知して、この検知した全てのシンボル画像における全ての角部の座標から、入出力機能部13によって選択されたシンボル画像からシンボル特定機能部12が取得した特定情報の示す座標と一致する座標の角部を有するシンボル画像を座標一致判断機能部15で検索し、斜度計算機能部16が、検索された該シンボル画像の角部の座標に基づいて該シンボル画像の斜度を算出(検出)している。   Further, in the image processing apparatus 1 according to the present embodiment, when the symbol specifying function unit 12 includes a plurality of symbol images in the inclination detection target image data, the input / output function unit outputs one symbol image from the plurality of symbol images. 13, the specific information of the selected symbol image is acquired, and the detection function unit 14 detects the coordinates of all the corners of each of the plurality of symbol images included in the inclination detection target image data. Then, from the coordinates of all the corners in all the detected symbol images, the corners of the coordinates that coincide with the coordinates indicated by the specific information acquired by the symbol specifying function unit 12 from the symbol image selected by the input / output function unit 13 The coordinate coincidence determination function unit 15 searches for the symbol image having the symbol value, and the slope calculation function unit 16 determines the symbol image based on the coordinates of the corners of the searched symbol image. It is calculated (detected) the slope angle.

したがって、斜度検出対象画像データに複数のシンボル画像が含まれている場合にも、ユーザの指定等によって選択したシンボル画像に基づいて読み取り画像データの斜度を安価にかつ高精度に検出することができる。   Accordingly, even when a plurality of symbol images are included in the inclination detection target image data, the inclination of the read image data can be detected at low cost and with high accuracy based on the symbol image selected by the user's designation or the like. Can do.

さらに、本実施例の画像処理装置1は、角度検出用画像であるシンボル画像として、複数(4つ)の角部を有する1次元バーコード、2次元バーコードあるいは電子透かしを用いている。   Furthermore, the image processing apparatus 1 of the present embodiment uses a one-dimensional barcode, a two-dimensional barcode, or a digital watermark having a plurality of (four) corners as a symbol image that is an angle detection image.

したがって、簡単かつ容易に斜度検出対象画像データにシンボル画像を組み込んで、斜度検出対象画像データの斜度を簡単かつ高精度に検出することができる。   Therefore, it is possible to easily and easily detect the inclination of the inclination detection target image data by simply and easily incorporating the symbol image into the inclination detection target image data.

また、本実施例の画像処理装置1は、斜度計算機能部16が、斜度検出対象画像データを所定の座標空間に位置させたときの該座標空間におけるシンボル画像が有する2つ以上の角部の座標に基づいて該シンボル画像の斜度(傾斜角度)を算出している。   Further, in the image processing apparatus 1 of the present embodiment, the slope calculation function unit 16 has two or more corners included in a symbol image in the coordinate space when the slope detection target image data is positioned in a predetermined coordinate space. The inclination (inclination angle) of the symbol image is calculated based on the coordinates of the part.

したがって、読み取り画像データの斜度をより一層高精度に検出することができ、画像データの向き及び傾きを操作性を向上させつつ、より一層高精度に補正することができる。   Therefore, the inclination of the read image data can be detected with higher accuracy, and the orientation and inclination of the image data can be corrected with higher accuracy while improving operability.

図5は、本発明の画像処理装置、画像処理方法、画像処理プログラム及び記録媒体の第2実施例を適用した画像処理装置20の要部機能ブロック及び斜度検出処理手順を示す図である。   FIG. 5 is a diagram showing the functional blocks and the skewness detection processing procedure of the image processing apparatus 20 to which the second embodiment of the image processing apparatus, image processing method, image processing program and recording medium of the present invention is applied.

なお、本実施例は、上記第1実施例の画像処理装置1と同様の画像処理装置に適用したものであり、本実施例の説明においては、上記第1実施例の画像処理装置1と同様の構成部分については、同一の符号を付してその詳細な説明を省略する。   The present embodiment is applied to an image processing apparatus similar to the image processing apparatus 1 of the first embodiment, and the description of the present embodiment is the same as the image processing apparatus 1 of the first embodiment. The same reference numerals are given to the components, and detailed description thereof is omitted.

本実施例の画像処理装置20は、第1実施例の画像処理装置1と同様に、スキャナ装置、複写装置及び複合装置等の紙原稿を主走査及び副走査して該紙原稿の画像を読み取る画像読み取り部(画像データ取得手段)を備えた画像処理装置、プリンタ装置、コンピュータ及び配信サーバ等の画像読み取り部を備えた画像処理装置の読み取った画像データを、ネットワーク等を介して受信する画像処理装置等であり、図示しないが、各部の制御を行う制御部、画像データ取得部、画像データ取得部の取得した画像データに対して各種画像処理やデータ変換を行う画像処理部、画像処理部の処理した電子データを出力するデータ出力部、各種処理命令を入力する操作入力部、各種操作画面やその他の情報を表示する表示部等を備えている。   Similar to the image processing apparatus 1 of the first embodiment, the image processing apparatus 20 of the present embodiment reads the image of the paper document by performing main scanning and sub-scanning on a paper document such as a scanner device, a copying apparatus, and a composite device. Image processing for receiving image data read by an image processing apparatus provided with an image reading unit such as an image processing apparatus, printer, computer, and distribution server provided with an image reading unit (image data acquisition means) via a network or the like Although not shown, a control unit that controls each unit, an image data acquisition unit, an image processing unit that performs various image processing and data conversion on the image data acquired by the image data acquisition unit, and an image processing unit A data output unit that outputs processed electronic data, an operation input unit that inputs various processing instructions, a display unit that displays various operation screens and other information, and the like are provided.

画像処理装置20は、本発明の画像データの向き及び傾き角度を検出して補正する画像処理方法を実行する画像処理プログラムが導入されることで、図5に示す機能ブロックを備えた本発明の画像処理装置として構築されており、クライアント機構部2及び斜度検出機構部30が構築される。斜度検出機構部30は、第1実施例の斜度検出機能部10と同様のメイン制御機能部11、シンボル特定機能部12、入出力機能部13、検知機能部14及び斜度計算機能部16が構築されるとともに、部分画像抽出機能部31が構築される。   The image processing apparatus 20 includes the functional blocks shown in FIG. 5 by introducing an image processing program for executing an image processing method for detecting and correcting the orientation and inclination angle of the image data of the present invention. It is constructed as an image processing apparatus, and a client mechanism unit 2 and an inclination detection mechanism unit 30 are constructed. The inclination detection mechanism unit 30 includes a main control function unit 11, a symbol identification function unit 12, an input / output function unit 13, a detection function unit 14, and an inclination calculation function unit similar to the inclination detection function unit 10 of the first embodiment. 16 is constructed, and a partial image extraction function unit 31 is constructed.

部分画像抽出機能部31は、メイン制御機能部11から斜度検出対象画像データと特定シンボル画像座標(x、y)及び部分画像抽出依頼を受け取り、受け取った検出対象画像データから該特定シンボル画像座標(x、y)を中心とする部分画像データを抽出して、抽出した部分画像データをメイン制御機能部11に渡す。この抽出部分画像データは、斜度検出対象画像データのうち、特定シンボル画像が含まれる範囲の部分画像データであるとともに、できる限り狭い範囲の部分画像データである。   The partial image extraction function unit 31 receives the inclination detection target image data, the specific symbol image coordinates (x, y), and the partial image extraction request from the main control function unit 11, and the specific symbol image coordinates from the received detection target image data. Partial image data centered on (x, y) is extracted, and the extracted partial image data is passed to the main control function unit 11. The extracted partial image data is partial image data in a range including the specific symbol image in the inclination detection target image data, and is partial image data in the narrowest possible range.

メイン制御機能部11は、部分画像抽出機能部31から受け取った部分画像データを検知機能部14に渡してシンボル検知依頼を行い、検知機能部14は、受け取った部分画像データからシンボル画像の画像情報(シンボル画像情報)を検知して、メイン制御機能部11に返す。このシンボル画像情報は、シンボル画像の画像内容及び該シンボル画像の特徴情報である全角部の座標(x、y)からなる。   The main control function unit 11 passes the partial image data received from the partial image extraction function unit 31 to the detection function unit 14 to make a symbol detection request, and the detection function unit 14 receives the image information of the symbol image from the received partial image data. (Symbol image information) is detected and returned to the main control function unit 11. This symbol image information is composed of the image contents of the symbol image and the coordinates (x, y) of the full-angle part which is the characteristic information of the symbol image.

次に、本実施例の作用を説明する。本実施例の画像処理装置1は、取り込んだ画像データの斜度を、該画像データのシンボル画像の存在する部分の部分画像データを抽出して、該部分画像データに含まれているシンボル画像に基づいて、操作性を向上させつつ、高速、安価かつ高精度に検出する。   Next, the operation of this embodiment will be described. The image processing apparatus 1 according to the present embodiment extracts the partial image data of the portion where the symbol image of the image data exists, and the symbol image included in the partial image data. Based on this, it detects at high speed, low cost and high accuracy while improving operability.

すなわち、画像処理装置1は、画像読み取り部、ネットワークインターフェイス、外部インターフェイス等の画像データ取得部が取得した画像データに対して操作入力部等であるクライアント機能部2からメイン制御機能部11に斜度検出対象画像データと斜度算出依頼要求が渡されると、メイン制御機能部11は、斜度検出対象データをシンボル特定機能部12に渡すとともに、該斜度検出対象データ内に存在するシンボル画像の特定を依頼するシンボル特定依頼をシンボル特定機能部12に行う。   That is, the image processing apparatus 1 sends an inclination to the main control function unit 11 from the client function unit 2 that is an operation input unit or the like with respect to image data acquired by an image data acquisition unit such as an image reading unit, a network interface, or an external interface. When the detection target image data and the slope calculation request are passed, the main control function unit 11 passes the slope detection target data to the symbol specifying function unit 12 and also displays the symbol image existing in the slope detection target data. The symbol specifying function unit 12 is requested to specify the symbol.

シンボル特定機能部12は、メイン制御機能部11から受け取った斜度検出対象画像データから該斜度検出対象画像データに予め組み込まれているシンボル画像を特定して、該シンボル画像を一意に特定するシンボル特定情報である特定座標(x、y)をメイン機能部11に出力し、また、斜度検出対象画像データに複数のシンボル画像が含まれているときには、複数の該シンボル画像のうち斜度検出に用いる1つのシンボル画像を特定する。シンボル特定機能部12は、斜度検出対象画像データに複数のシンボル画像が含まれているときには、第1実施例と同様に、入出力機能部13に、図2に示したような特定シンボル問い合わせ画面Gを表示させて、ユーザによる指定に応じてシンボル画像を特定して、該特定シンボル画像を特定する特定情報として、該シンボル画像における1つの角部の座標を特定シンボル画像座標(x、y)としてメイン制御機能部11に渡す。   The symbol specifying function unit 12 specifies a symbol image preliminarily incorporated in the inclination detection target image data from the inclination detection target image data received from the main control function unit 11, and uniquely specifies the symbol image. Specific coordinates (x, y), which are symbol specific information, are output to the main function unit 11, and when a plurality of symbol images are included in the gradient detection target image data, the gradient of the plurality of symbol images is included. One symbol image used for detection is specified. When the slope detection target image data includes a plurality of symbol images, the symbol specifying function unit 12 asks the input / output function unit 13 to send a specific symbol inquiry as shown in FIG. 2 as in the first embodiment. The screen G is displayed, the symbol image is specified according to the designation by the user, and the specific symbol image coordinate (x, y) is used as the specific information for specifying the specific symbol image. ) To the main control function unit 11.

メイン制御機能部11は、特定シンボル画像座標(x、y)を受け取ると、斜度検出対象画像データと特定シンボル画像座標(x、y)及び部分画像抽出依頼を部分画像抽出機能部31に渡し、部分画像抽出機能部31は、受け取った検出対象画像データから該特定シンボル画像座標(x、y)を中心とする部分画像データを抽出して、抽出した部分画像データをメイン制御機能部11に渡す。   When the main control function unit 11 receives the specific symbol image coordinates (x, y), it passes the inclination detection target image data, the specific symbol image coordinates (x, y), and the partial image extraction request to the partial image extraction function unit 31. The partial image extraction function unit 31 extracts partial image data centered on the specific symbol image coordinates (x, y) from the received detection target image data, and sends the extracted partial image data to the main control function unit 11. hand over.

メイン制御機能部11は、部分画像抽出機能部31から受け取った部分画像データを検知機能部14に渡してシンボル検知依頼を行い、検知機能部14は、受け取った部分画像データからシンボル画像の画像情報(シンボル画像情報)であるシンボル画像の画像内容及びシンボル画像の特徴情報である全角部の座標(x、y)を検知して、メイン制御機能部11に渡す。   The main control function unit 11 passes the partial image data received from the partial image extraction function unit 31 to the detection function unit 14 to make a symbol detection request, and the detection function unit 14 receives the image information of the symbol image from the received partial image data. The image content of the symbol image as (symbol image information) and the coordinates (x, y) of the full-angle portion as the feature information of the symbol image are detected and passed to the main control function unit 11.

メイン制御機能部11は、検知機能部14からシンボル画像情報を受け取ると、該シンボル画像情報で特定される特定シンボル画像における全ての角部の座標(x、y)を斜度計算機能部10に渡して斜度計算を依頼し、斜度計算機能部10は、メイン制御機能部11から渡される該特定シンボル画像の全角部の座標(x、y)から該シンボル画像の向き及び傾きである斜度を上記同様に算出して、算出した斜度をメイン制御機能部11に渡す。   When the main control function unit 11 receives the symbol image information from the detection function unit 14, the main control function unit 11 sends the coordinates (x, y) of all corners in the specific symbol image specified by the symbol image information to the slope calculation function unit 10. The slope calculation function unit 10 receives the slope calculation from the coordinates (x, y) of the full-angle part of the specific symbol image passed from the main control function unit 11. The degree is calculated in the same manner as described above, and the calculated inclination is passed to the main control function unit 11.

メイン制御機能部11は、斜度計算機能部16から算出結果の斜度を受け取ると、斜度検出対象画像データの斜度として、該斜度をクライアント機能部2に渡す。   When the main control function unit 11 receives the gradient of the calculation result from the gradient calculation function unit 16, it passes the gradient to the client function unit 2 as the gradient of the gradient detection target image data.

クライアント機能部2は、斜度を受け取ると、例えば、画像処理装置1の制御部に渡し、制御部が、画像処理部等を制御して、斜度に基づいて、斜度検出対象画像データの向きや傾きを補正する。画像処理装置1は、斜度補正を行うと、画像データを補正した旨等の補正情報を表示部に表示する等の方法でユーザに通知してもよい。   When the client function unit 2 receives the inclination, for example, it passes it to the control unit of the image processing apparatus 1, and the control unit controls the image processing unit and the like, and based on the inclination, the inclination detection target image data Correct the orientation and tilt. When the inclination correction is performed, the image processing apparatus 1 may notify the user of correction information such as correction of the image data on the display unit.

このように、本実施例の画像処理装置1は、斜度検出対象画像データのうち、シンボル特定機能部12が取得した特定角部の座標を中心として周囲所定領域部分の画像データを部分画像データとして部分画像抽出機能部31で抽出し、検出機能部14が、部分画像抽出機能部31の抽出した部分画像データからシンボル画像における全ての角部の座標を検知して、斜度計算機能部16がこのシンボル画像における複数の角部の座標に基づいて該シンボル画像の斜度を算出している。   As described above, the image processing apparatus 1 according to the present embodiment converts the image data of the surrounding predetermined area portion from the image data of the inclination detection target image data to the partial image data around the coordinates of the specific corner acquired by the symbol specifying function unit 12. And the detection function unit 14 detects the coordinates of all corners in the symbol image from the partial image data extracted by the partial image extraction function unit 31, and calculates the inclination calculation function unit 16. However, the inclination of the symbol image is calculated based on the coordinates of a plurality of corners in the symbol image.

したがって、読み取り画像データの向き及び傾きの検出処理を、操作性を向上させつつ、安価、高速かつ高精度に行うことができ、特に、複数のシンボル画像が斜度検出対象画像データに含まれている場合に、シンボル画像の斜度算出に必要な情報である角部の座標を簡単かつ高速に得ることができる。その結果、ユーザが斜度を求めるのに必要な各種操作を行うことなく、読み取り画像データの斜度を高速にかつ高精度に検出することができる。   Therefore, the direction and inclination detection processing of the read image data can be performed at low cost, high speed, and high accuracy while improving operability. In particular, a plurality of symbol images are included in the image data to be detected. The coordinates of the corner, which is information necessary for calculating the inclination of the symbol image, can be obtained easily and at high speed. As a result, it is possible to detect the inclination of the read image data at high speed and with high accuracy without performing various operations necessary for the user to obtain the inclination.

以上、本発明者によってなされた発明を好適な実施例に基づき具体的に説明したが、本発明は上記実施例で説明したものに限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能であることはいうまでもない。   The invention made by the present inventor has been specifically described based on the preferred embodiments. However, the present invention is not limited to that described in the above embodiments, and various modifications can be made without departing from the scope of the invention. It goes without saying that it is possible.

本発明は、スキャナ装置、複合装置、複写装置、プリンタ装置、コンピュータ等の読み取り画像データを取り込んで配信出力、印刷出力、保管出力等を行う画像処理装置、画像処理方法、画像処理プログラム及び記録媒体に利用することができる。   The present invention relates to an image processing apparatus, an image processing method, an image processing program, and a recording medium that capture read image data such as a scanner apparatus, a composite apparatus, a copying apparatus, a printer apparatus, and a computer and perform distribution output, print output, storage output, and the like. Can be used.

1 画像処理装置
2 クライアント機構部
10 斜度検出機構部
11 メイン制御機能部
12 シンボル特定機能部
13 入出力機能部
14 検知機能部
15 座標一致判断機能部
16 斜度計算機能部
G 特定シンボル問い合わせ画面
SG1〜SG4 シンボル画像
20 画像処理装置
30 斜度検出機構部
31 部分画像抽出機能部
DESCRIPTION OF SYMBOLS 1 Image processing apparatus 2 Client mechanism part 10 Inclination detection mechanism part 11 Main control function part 12 Symbol specific function part 13 Input / output function part 14 Detection function part 15 Coordinate coincidence determination function part 16 Inclination calculation function part G Specific symbol inquiry screen SG1 to SG4 Symbol image 20 Image processing device 30 Inclination detection mechanism 31 Partial image extraction function unit

特開2003−85529号公報JP 2003-85529 A 特開2004−46637号公報JP 2004-46637 A

Claims (8)

紙原稿から読み取られた画像データを取得する画像データ取得手段と、
前記画像データ取得手段の取得した前記画像データに含まれ該画像データの傾斜角度を検出可能な位置情報を提供する複数の特徴画像部分を含んでいる角度検出用画像を抽出して該角度検出用画像の所定の特徴画像部分の位置情報を特定情報として取得する特定情報取得手段と、
前記特定情報取得手段の取得した前記特定情報で特定される前記角度検出用画像の複数の前記特徴画像部分の前記位置情報を検知する特徴検知手段と、
前記特徴検知手段の検知した複数の前記特徴画像部分の前記位置情報に基づいて前記角度検出用画像の傾斜角度を検出する傾斜角度検出手段と、
を備えていることを特徴とする画像処理装置。
Image data acquisition means for acquiring image data read from a paper document;
Extracting an angle detection image including a plurality of feature image portions included in the image data acquired by the image data acquisition means and providing position information capable of detecting an inclination angle of the image data. Specific information acquisition means for acquiring position information of a predetermined feature image portion of the image as specific information;
Feature detection means for detecting the position information of the plurality of feature image portions of the image for angle detection specified by the specific information acquired by the specific information acquisition means;
An inclination angle detection means for detecting an inclination angle of the angle detection image based on the position information of the plurality of feature image portions detected by the feature detection means;
An image processing apparatus comprising:
前記特定情報取得手段は、前記画像データに前記角度検出用画像が複数含まれていると、複数の該角度検出用画像から1つの角度検出用画像を選択する角度検出用画像選択手段を備え、前記角度検出用画像選択手段で選択された角度検出用画像の前記特定情報を取得し、
前記特徴検知手段は、前記画像データに含まれている複数の前記角度検出用画像がそれぞれ有する全ての前記特徴画像部分の前記位置情報を検知する全特徴検知手段と、前記全特徴検知手段の検知した全ての前記角度検出用画像における全ての前記特徴画像部分の前記位置情報から、前記角度検出用画像選択手段で選択され前記角度検出用画像から前記特定情報取得手段が取得した前記特定情報と一致する位置情報の特徴画像部分を有する角度検出用画像を検索する一致画像検索手段と、を備え、
前記傾斜角度検出手段は、前記一致画像検索手段が検索した前記角度検出用画像の前記特徴画像部分の前記位置情報に基づいて前記角度検出用画像の傾斜角度を検出することを特徴とする請求項1記載の画像処理装置。
The specific information acquisition unit includes an angle detection image selection unit that selects one angle detection image from the plurality of angle detection images when the image data includes a plurality of the angle detection images. Obtaining the specific information of the angle detection image selected by the angle detection image selection means;
The feature detection means includes all feature detection means for detecting the position information of all the feature image portions respectively included in the plurality of angle detection images included in the image data, and detection by the all feature detection means. The specific information acquired by the specific information acquisition unit from the angle detection image selected by the angle detection image selection unit from the position information of all the feature image portions in all the angle detection images. Matching image search means for searching for an angle detection image having a feature image portion of position information to be
The tilt angle detection unit detects the tilt angle of the angle detection image based on the position information of the feature image portion of the angle detection image searched by the coincidence image search unit. The image processing apparatus according to 1.
前記画像処理装置は、前記画像データのうち、前記特定情報取得手段の取得した前記特定情報の示す位置の周囲所定領域部分の画像データを部分画像データとして抽出する部分画像抽出手段を備え、
前記特徴検知手段は、前記部分画像抽出手段の抽出した前記部分画像データから前記特定情報で特定される前記角度検出用画像における所定数の前記特徴画像部分の前記位置情報を検知することを特徴とする請求項1記載の画像処理装置。
The image processing apparatus includes a partial image extraction unit that extracts, as partial image data, image data of a predetermined region around a position indicated by the specific information acquired by the specific information acquisition unit of the image data,
The feature detection unit detects the position information of a predetermined number of the feature image portions in the angle detection image specified by the specification information from the partial image data extracted by the partial image extraction unit. The image processing apparatus according to claim 1.
前記角度検出用画像は、前記特徴画像部分として複数の角部を有する1次元バーコード、2次元バーコードあるいは電子透かしであることを特徴とする請求項1から請求項3のいずれかに記載の画像処理装置。   The angle detection image is a one-dimensional barcode, a two-dimensional barcode, or a digital watermark having a plurality of corners as the feature image portion. Image processing device. 前記特徴画像部分の前記位置情報は、前記画像データを所定の座標空間に位置させたときの該座標空間における該特徴画像部分の座標位置情報であることを特徴とする請求項1から請求項4のいずれかに記載の画像処理装置。   5. The position information of the feature image portion is coordinate position information of the feature image portion in the coordinate space when the image data is positioned in a predetermined coordinate space. An image processing apparatus according to any one of the above. 紙原稿から読み取られた画像データを取得する画像データ取得処理ステップと、
前記画像データ取得処理ステップで取得された前記画像データに含まれ該画像データの傾斜角度を検出可能な位置情報を提供する複数の特徴画像部分を含んでいる角度検出用画像を抽出して該角度検出用画像の所定の特徴画像部分の位置情報を特定情報として取得する特定情報取得処理ステップと、
前記特定情報取得処理ステップで取得された前記特定情報で特定される前記角度検出用画像の複数の前記特徴画像部分の前記位置情報を検知する特徴検知処理ステップと、
前記特徴検知処理ステップで検知された複数の前記特徴画像部分の前記位置情報に基づいて前記角度検出用画像の傾斜角度を検出する傾斜角度検出処理ステップと、
を有していることを特徴とする画像処理方法。
An image data acquisition processing step for acquiring image data read from a paper document;
An angle detection image including a plurality of feature image portions included in the image data acquired in the image data acquisition processing step and providing position information capable of detecting an inclination angle of the image data is extracted and the angle is extracted. A specific information acquisition processing step of acquiring position information of a predetermined feature image portion of the detection image as specific information;
A feature detection processing step of detecting the position information of the plurality of feature image portions of the angle detection image specified by the specification information acquired in the specification information acquisition processing step;
A tilt angle detection processing step of detecting a tilt angle of the angle detection image based on the position information of the plurality of feature image portions detected in the feature detection processing step;
An image processing method characterized by comprising:
コンピュータに、
紙原稿から読み取られた画像データを取得する画像データ取得処理と、
前記画像データ取得処理で取得された前記画像データに含まれ該画像データの傾斜角度を検出可能な位置情報を提供する複数の特徴画像部分を含んでいる角度検出用画像を抽出して該角度検出用画像の所定の特徴画像部分の位置情報を特定情報として取得する特定情報取得処理と、
前記特定情報取得処理で取得された前記特定情報で特定される前記角度検出用画像の複数の前記特徴画像部分の前記位置情報を検知する特徴検知処理と、
前記特徴検知処理で検知された複数の前記特徴画像部分の前記位置情報に基づいて前記角度検出用画像の傾斜角度を検出する傾斜角度検出処理と、
を実行させることを特徴とする画像処理プログラム。
On the computer,
Image data acquisition processing for acquiring image data read from a paper document;
The angle detection is performed by extracting an angle detection image including a plurality of feature image portions included in the image data acquired by the image data acquisition process and providing position information capable of detecting an inclination angle of the image data. Specific information acquisition processing for acquiring position information of a predetermined feature image portion of the image for use as specific information;
A feature detection process for detecting the position information of the plurality of feature image portions of the angle detection image specified by the specific information acquired in the specific information acquisition process;
A tilt angle detection process for detecting a tilt angle of the angle detection image based on the position information of the plurality of feature image portions detected by the feature detection process;
An image processing program for executing
請求項7記載の画像処理プログラムを記録したことを特徴とするコンピュータが読み取り可能な記録媒体。   A computer-readable recording medium on which the image processing program according to claim 7 is recorded.
JP2009062092A 2009-03-13 2009-03-13 Image processor, image processing method, image processing program and recording medium Pending JP2010219704A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009062092A JP2010219704A (en) 2009-03-13 2009-03-13 Image processor, image processing method, image processing program and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009062092A JP2010219704A (en) 2009-03-13 2009-03-13 Image processor, image processing method, image processing program and recording medium

Publications (1)

Publication Number Publication Date
JP2010219704A true JP2010219704A (en) 2010-09-30

Family

ID=42978088

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009062092A Pending JP2010219704A (en) 2009-03-13 2009-03-13 Image processor, image processing method, image processing program and recording medium

Country Status (1)

Country Link
JP (1) JP2010219704A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104316530A (en) * 2014-11-04 2015-01-28 无锡港湾网络科技有限公司 Part detection method and application

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104316530A (en) * 2014-11-04 2015-01-28 无锡港湾网络科技有限公司 Part detection method and application

Similar Documents

Publication Publication Date Title
JP6891073B2 (en) A device for setting a file name, etc. on a scanned image, its control method, and a program.
JP4725657B2 (en) Image composition output program, image composition output device, and image composition output system
JP5698396B1 (en) Image reading apparatus, image reading method, and program
US9485368B2 (en) Electronic document generation apparatus, recording medium, and electronic document generation system
JP6379897B2 (en) Apparatus, information processing apparatus, information processing system, data processing method, and program
JP2007336143A (en) Image processing apparatus
US11115544B2 (en) Information processing apparatus, character recognition method and non-transitory computer-readable recording medium encoded with character recognition instructions
JP6762722B2 (en) Information processing equipment, control methods, and programs
US9614984B2 (en) Electronic document generation system and recording medium
JP2019040251A (en) Apparatus for setting filename for scan image, control method thereof, and program
JP6191500B2 (en) Image processing apparatus, image processing system, and image processing program
US10834281B2 (en) Document size detecting by matching between image of entire document and read size image
JP2014011696A (en) Image processing apparatus and computer program
JP2008113410A (en) Image processing apparatus and control method thereof, and reading method in image reading system
US11233911B2 (en) Image processing apparatus and non-transitory computer readable medium for image processing
JP2010219704A (en) Image processor, image processing method, image processing program and recording medium
JP2007041709A (en) Document processing system, control method of document processing system, document processing device, computer program and computer readable storage medium
JP2005268906A (en) Image-forming device, method, and program
JP6516225B2 (en) Image forming apparatus and image forming method
US8294960B2 (en) Image processing device and system, and computer readable medium therefor
JP6354619B2 (en) Image processing apparatus and computer program
US11301180B2 (en) Information processing apparatus registering redo or erroneous process request
JP2017072941A (en) Document distribution system, information processing method, and program
US9332150B2 (en) Text scanning system, image processing apparatus, and text scanning method
JP2019068323A (en) Device for setting file name for scanned image, control method thereof, and program