JP2017156982A - Image conversion program, image conversion device, and image conversion method - Google Patents
Image conversion program, image conversion device, and image conversion method Download PDFInfo
- Publication number
- JP2017156982A JP2017156982A JP2016039559A JP2016039559A JP2017156982A JP 2017156982 A JP2017156982 A JP 2017156982A JP 2016039559 A JP2016039559 A JP 2016039559A JP 2016039559 A JP2016039559 A JP 2016039559A JP 2017156982 A JP2017156982 A JP 2017156982A
- Authority
- JP
- Japan
- Prior art keywords
- image
- data
- structured data
- image conversion
- area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Processing Or Creating Images (AREA)
- Document Processing Apparatus (AREA)
Abstract
Description
本発明は、画像変換プログラム及び画像変換装置並びに画像変換方法に関し、特に、イメージデータから構造化データを生成する画像変換プログラム及び画像変換装置並びに画像変換方法に関する。 The present invention relates to an image conversion program, an image conversion apparatus, and an image conversion method, and more particularly to an image conversion program, an image conversion apparatus, and an image conversion method for generating structured data from image data.
近年、省資源化のために、用紙に印刷した原稿をスキャナなどで読み取ってイメージデータに変換して保存することが行われている。また、イメージデータでは、原稿の中の特定のオブジェクトの検索や原稿の再編集ができないことから、イメージデータをベクターデータ(ベクトルデータとも言う。)に変換し、ベクターデータを保存することも行われている。しかしながら、イメージデータをベクターデータに変換(ベクター変換若しくはベクタライズと言う。)する過程で誤認識が生じる恐れがある。 In recent years, in order to save resources, a document printed on paper is read by a scanner or the like, converted into image data, and stored. In addition, since image data cannot be used to search for a specific object in the original or to be edited again, it is also possible to convert the image data into vector data (also referred to as vector data) and save the vector data. ing. However, misrecognition may occur in the process of converting image data into vector data (referred to as vector conversion or vectorization).
このような誤認識が生じた場合の対処方法として、例えば、下記特許文献1には、原稿を読み取って得られる原稿画像の画像処理を行う画像処理装置であって、原稿を読み取る読取手段と、前記読取手段で読み取られた原稿画像をベクトルデータに変換する第1変換手段と、前記ベクトルデータをイメージデータに変換する第2変換手段と、前記原稿画像の第1イメージデータと、前記第2変換手段で生成された第2イメージデータとを比較する比較手段と、前記比較手段の比較結果に基づいて、前記原稿画像に対応する電子ファイルとして、前記第1イメージデータあるいは前記ベクトルデータのどちらかを選択する選択手段とを備える画像処理装置が開示されている。 As a coping method when such erroneous recognition occurs, for example, Japanese Patent Application Laid-Open No. H10-260260 discloses an image processing apparatus that performs image processing of a document image obtained by reading a document, and a reading unit that reads the document, First conversion means for converting the original image read by the reading means into vector data, second conversion means for converting the vector data into image data, first image data of the original image, and the second conversion Comparing the first image data or the vector data as an electronic file corresponding to the document image based on the comparison result of the comparison means and the comparison result of the comparison means. An image processing apparatus including a selection unit for selecting is disclosed.
上記特許文献1では、原稿の元のイメージデータと変換後のイメージデータとの比較結果に基づいて、原稿全体をイメージデータで保存するかベクターデータで保存するかを選択しているが、イメージデータで保存された場合にはテキスト情報やグラフィックス情報が欠損してしまうため、原稿の検索性や再編集性が失われてしまう。
In the above-mentioned
また、別の方法として、ベクタライズ過程で誤認識している可能性のある部分のみをイメージデータで置き換える方法も考えられるが、この方法では、所定の領域内でベクターデータとラスターデータとが混在することになるため、原稿の視認性が悪化する恐れがある。 As another method, it is possible to replace only a portion that may be erroneously recognized in the vectorization process with image data. In this method, vector data and raster data are mixed in a predetermined area. Therefore, the visibility of the document may be deteriorated.
本発明は、上記問題点に鑑みてなされたものであって、その主たる目的は、元の原稿の再現性を確保しつつ、原稿の検索性や再編集性を維持し、かつ、原稿の視認性の悪化を抑制した構造化データを生成することができる画像変換プログラム及び画像変換装置並びに画像変換方法を提供することにある。 The present invention has been made in view of the above problems, and its main purpose is to maintain the searchability and re-editability of the original document while ensuring the reproducibility of the original original document, and to visually check the original document. An object of the present invention is to provide an image conversion program, an image conversion apparatus, and an image conversion method capable of generating structured data in which deterioration of property is suppressed.
本発明の一側面は、ベクタライズ処理とラスタライズ処理とが実行可能な装置で動作する画像変換プログラムであって、前記装置に、画像読取部に原稿を読み取らせた第1の画像データ又は撮像部に原稿を撮像させた第1の画像データを取得する第1処理、前記第1の画像データに対して前記ベクタライズ処理を行って、構造化データに変換する第2処理、前記構造化データを解析して、オブジェクト情報を取得する第3処理、前記構造化データに対して前記ラスタライズ処理を行って、第2の画像データに再変換する第4処理、前記第1の画像データと前記第2の画像データとを比較して、差異部分を抽出する第5処理、前記オブジェクト情報に基づいて、前記差異部分に配置されるオブジェクトが属する所定範囲のオブジェクト領域を特定する第6処理、前記第1の画像データから、前記オブジェクト領域に対応する画像情報を取得する第7処理、前記取得した画像情報を用いて前記構造化データを更新し、更新後の前記構造化データを出力する第8処理、を実行させることを特徴とする。 One aspect of the present invention is an image conversion program that operates on an apparatus capable of performing vectorization processing and rasterization processing. The image conversion program causes the image reading unit to read an original on the image reading unit. A first process for acquiring first image data obtained by capturing an image of a document; a second process for converting the first image data into structured data by performing the vectorization process; and analyzing the structured data. A third process for obtaining object information, a fourth process for performing the rasterization process on the structured data and reconverting the second image data, and the first image data and the second image. A fifth process for comparing the data with each other and extracting the difference portion, and on the basis of the object information, the object area within a predetermined range to which the object arranged in the difference portion belongs is specified. A sixth process for performing, a seventh process for acquiring image information corresponding to the object region from the first image data, updating the structured data using the acquired image information, and the structured data after the update An eighth process of outputting data is executed.
本発明の一側面の画像変換装置は、画像読取部又は撮像部と、前記画像読取部が原稿を読み取った第1の画像データ又は前記撮像部が原稿を撮像した第1の画像データを取得するデータ取得部と、前記第1の画像データに対してベクタライズ処理を行って、構造化データに変換するベクタライズ処理部と、前記構造化データを解析して、オブジェクト情報を取得する解析部と、前記構造化データに対してラスタライズ処理を行って、第2の画像データに再変換するラスタライズ処理部と、前記第1の画像データと前記第2の画像データとを比較して、差異部分を抽出する比較部と、前記オブジェクト情報に基づいて、前記差異部分に配置されるオブジェクトが属する所定範囲のオブジェクト領域を特定し、前記第1の画像データから、前記オブジェクト領域に対応する画像情報を取得し、前記取得した画像情報を用いて前記構造化データを更新し、更新後の前記構造化データを出力するデータ更新部と、を備えることを特徴とする。 An image conversion apparatus according to an aspect of the present invention acquires an image reading unit or an imaging unit, and first image data obtained by reading an original by the image reading unit or first image data obtained by imaging the original by the imaging unit. A data acquisition unit, a vectorization processing unit that performs vectorization processing on the first image data and converts it into structured data, an analysis unit that analyzes the structured data and acquires object information, and Rasterization processing is performed on the structured data to compare the first image data with the second image data, and a difference portion is extracted. Based on the comparison unit and the object information, an object region in a predetermined range to which the object arranged in the difference portion belongs is specified, and the object area is determined from the first image data. Acquires image information corresponding to the object region, using the obtained image information and updating it said structured data, a data updating unit which outputs the structured data after updating, characterized in that it comprises a.
本発明の一側面は、ベクタライズ処理とラスタライズ処理とが実行可能な制御装置と画像読取部又は撮像部を備える装置とを含むシステムにおける画像変換方法であって、前記制御装置は、前記画像読取部に原稿を読み取らせた第1の画像データ又は前記撮像部に原稿を撮像させた第1の画像データを取得する第1処理と、前記第1の画像データに対して前記ベクタライズ処理を行って、構造化データに変換する第2処理と、前記構造化データを解析して、オブジェクト情報を取得する第3処理と、前記構造化データに対して前記ラスタライズ処理を行って、第2の画像データに再変換する第4処理と、前記第1の画像データと前記第2の画像データとを比較して、差異部分を抽出する第5処理と、前記オブジェクト情報に基づいて、前記差異部分に配置されるオブジェクトが属する所定範囲のオブジェクト領域を特定する第6処理と、前記第1の画像データから、前記オブジェクト領域に対応する画像情報を取得する第7処理と、前記取得した画像情報を用いて前記構造化データを更新し、更新後の前記構造化データを出力する第8処理と、を実行することを特徴とする。 One aspect of the present invention is an image conversion method in a system including a control device capable of executing vectorization processing and rasterization processing and an image reading unit or an apparatus including an imaging unit, and the control device includes the image reading unit. A first process for acquiring first image data obtained by reading a document or first image data obtained by imaging the document by the imaging unit, and performing the vectorization process on the first image data, A second process for converting to structured data; a third process for analyzing the structured data to obtain object information; and performing the rasterization process on the structured data to obtain second image data. Based on the object information, a fourth process for re-transforming, a fifth process for comparing the first image data and the second image data to extract a difference portion, and the object information. A sixth process for specifying an object area within a predetermined range to which an object placed in a part belongs, a seventh process for acquiring image information corresponding to the object area from the first image data, and the acquired image information And updating the structured data by using and executing the eighth process of outputting the updated structured data.
本発明の画像変換プログラム及び画像変換装置並びに画像変換方法によれば、元の原稿の再現性を確保しつつ、原稿の検索性や再編集性を維持し、かつ、原稿の視認性の悪化を抑制した構造化データを生成することができる。 According to the image conversion program, the image conversion apparatus, and the image conversion method of the present invention, while maintaining the reproducibility of the original document, the searchability and reeditability of the document are maintained, and the visibility of the document is deteriorated. Suppressed structured data can be generated.
その理由は、画像変換装置(画像変換プログラム)は、画像読取部に原稿を読み取らせた第1の画像データ又は撮像部に原稿を撮像させた第1の画像データを取得し、第1の画像データに対してベクタライズ処理を行って構造化データに変換し、構造化データを解析してオブジェクト情報を取得し、構造化データに対してラスタライズ処理を行って第2の画像データに再変換し、第1の画像データと第2の画像データとを比較して差異部分を抽出し、オブジェクト情報に基づいて、差異部分に配置されるオブジェクトが属する所定範囲のオブジェクト領域を特定し、第1の画像データからオブジェクト領域に対応する画像情報を取得し、取得した画像情報を用いて構造化データを更新し、更新後の構造化データを出力するからである。 The reason is that the image conversion apparatus (image conversion program) acquires the first image data obtained by causing the image reading unit to read the original or the first image data obtained by causing the image pickup unit to capture the original, and obtains the first image. The data is vectorized and converted to structured data, the structured data is analyzed to obtain object information, the structured data is rasterized and converted to second image data, The first image data and the second image data are compared to extract a difference portion, and based on the object information, an object region in a predetermined range to which an object arranged in the difference portion belongs is specified, and the first image This is because the image information corresponding to the object region is acquired from the data, the structured data is updated using the acquired image information, and the updated structured data is output.
背景技術で示したように、用紙に印刷した原稿をスキャナなどで読み取ってイメージデータに変換し、イメージデータをベクターデータに変換して保存することが行われているが、イメージデータをベクターデータに変換するベクタライズ過程で誤認識が生じる場合がある。この問題に対して、特許文献1では、元のイメージデータと変換後のイメージデータとの比較結果に基づいて、原稿全体をイメージデータで保存するかベクターデータで保存するかを選択しているが、イメージデータで保存された場合には、原稿の検索性や再編集性が失われてしまう。また、ベクタライズ過程で誤認識している部分のみをイメージデータで置き換える方法もあるが、この方法では、所定の領域内でベクターデータとラスターデータとが混在するため、原稿の視認性が悪化する恐れがある。
As shown in the background art, a document printed on paper is read by a scanner or the like and converted into image data, and the image data is converted into vector data and stored. However, image data is converted into vector data. Misrecognition may occur in the vectorization process for conversion. To deal with this problem,
そこで、本発明の一実施の形態では、入力されたイメージデータをベクタライズして構造化データに変換し、構造化データをラスタライズしてイメージデータに再度変換し、入力されたイメージデータと変換されたイメージデータとを比較して差異部分を抽出し、当該差異部分に配置されるオブジェクトが属する所定範囲のオブジェクト領域を特定し、特定したオブジェクト領域全体を入力されたイメージデータを用いて更新する(構造化データの特定したオブジェクト領域をイメージデータで置き換えるか、構造化データの特定したオブジェクト領域をイメージデータで上書きする指示データを作成する)ようにする。 Therefore, in one embodiment of the present invention, the input image data is vectorized and converted to structured data, the structured data is rasterized and converted again to image data, and converted to input image data. A difference part is extracted by comparing with image data, an object area in a predetermined range to which an object arranged in the difference part belongs is specified, and the entire specified object area is updated using the input image data (structure) The object area specified in the structured data is replaced with image data, or instruction data for overwriting the object area specified in the structured data with the image data is created).
このように、入力されたイメージデータのベクタライズ過程で誤変換された部分だけでなく、当該部分に配置されるオブジェクトが属する所定範囲のオブジェクト領域全体を入力されたイメージデータで更新することにより、元の原稿の再現性を確保しつつ、原稿の検索性や再編集性を維持し、かつ、原稿の視認性の悪化を抑制した構造化データを生成することができる。 In this way, by updating not only the part erroneously converted in the vectorization process of the input image data but also the entire object area of the predetermined range to which the object arranged in the part belongs is updated with the input image data. It is possible to generate structured data that maintains the retrievability and reeditability of the original while suppressing the deterioration of the original visibility while ensuring the reproducibility of the original.
上記した本発明の一実施の形態についてさらに詳細に説明すべく、本発明の一実施例に係る画像変換プログラム及び画像変換装置並びに画像変換方法について、図1乃至図21を参照して説明する。図1乃至図6は、本実施例の画像変換システムの一例を示す模式図であり、図7は、画像変換装置の構成を示すブロック図、図8は、画像形成装置の構成を示すブロック図である。また、図9は、本実施例の画像変換装置の動作を示すフローチャート図であり、図10乃至図21は、本実施例の画像変換方法を説明する図である。 In order to describe the above-described embodiment of the present invention in more detail, an image conversion program, an image conversion apparatus, and an image conversion method according to an embodiment of the present invention will be described with reference to FIGS. 1 to 6 are schematic diagrams illustrating an example of an image conversion system according to the present exemplary embodiment, FIG. 7 is a block diagram illustrating a configuration of an image conversion apparatus, and FIG. 8 is a block diagram illustrating a configuration of an image forming apparatus. It is. FIG. 9 is a flowchart showing the operation of the image conversion apparatus of the present embodiment, and FIGS. 10 to 21 are diagrams for explaining the image conversion method of the present embodiment.
図1に示すように、本実施例の画像変換システム10は、ベクタライズ処理とラスタライズ処理とが実行可能な画像変換装置20と、用紙に印刷された原稿からイメージデータを読み取る画像読取部を備えるMFP(Multi-Functional Peripherals)などの画像形成装置30と、で構成される。これらは、IEEE1394、Parallelなどを用いて接続、若しくは、イーサネット(登録商標)、トークンリング、FDDI(Fiber-Distributed Data Interface)等の規格により定められるLAN(Local Area Network)やWAN(Wide Area Network)等のネットワークを介して接続されている。
As shown in FIG. 1, an image conversion system 10 according to this embodiment includes an
なお、図1では、画像変換システム10を画像変換装置20と画像形成装置30とで構成したが、図2に示すように、画像変換システム10を画像変換装置20とスキャナなどの画像読取装置40とで構成してもよい。また、用紙に印刷された原稿をカメラなどで撮像してイメージデータを取得する場合は、図3に示すように、画像変換システム10を画像変換装置20と撮像装置50とで構成してもよい。また、画像形成装置30や画像読取装置40、撮像装置50が、ベクタライズ処理及びラスタライズ処理が実行可能な場合は、図4乃至図6に示すように、画像変換システム10を画像形成装置30や画像読取装置40、撮像装置50単独で構成(すなわち、画像形成装置30や画像読取装置40、撮像装置50を画像変換装置として機能させる構成)としてもよい。以下、図1の構成を前提にして各装置について詳細に説明する。
In FIG. 1, the image conversion system 10 includes the
[画像変換装置]
画像変換装置20は、パーソナルコンピュータなどのコンピュータ装置、画像形成装置30や画像読取装置40、撮像装置50を制御する制御装置、スマートフォンやタブレットなどの携帯端末などであり、図7(a)に示すように、制御部21、記憶部25、ネットワークI/F部26、表示部27、操作部28などで構成される。
[Image converter]
The
制御部21は、CPU(Central Processing Unit)22とROM(Read Only Memory)23やRAM(Random Access Memory)24などのメモリとで構成され、CPU22は、ROM23や記憶部25に記憶した制御プログラム(構造化データを表示可能な文書表示アプリケーションを含む。)をRAM24に展開して実行することにより、画像変換装置20全体の動作を制御する。また、上記制御部21は、図7(b)に示すように、データ取得部21a、ベクタライズ処理部21b、解析部21c、ラスタライズ処理部21d、比較部21e、データ更新部21fなどとして機能する。
The
データ取得部21aは、画像形成装置30から画像読取部38が原稿をスキャンして得たイメージデータ(第1の画像データ)を入力画像として取得する。なお、図2のシステム構成の場合は、画像読取装置40が原稿をスキャンして得たイメージデータを取得し、図3のシステム構成の場合は、撮像装置50が原稿を撮像して得たイメージデータを取得する。
The
ベクタライズ処理部21bは、取得した入力画像に対して、公知の領域判別処理を実施し、入力画像をテキスト領域とグラフィックス領域とイメージ領域とに分類した後、公知のベクタライズ処理を実施して、ベクターデータに変換する。具体的には、テキスト領域は、公知のOCR(Optical Character Recognition)処理を実施してテキストコードに変換し、グラフィックス領域は、図形の描画コマンドに変換する。そして、ベクタライズ処理部21bは、ベクタライズ処理の結果に基づいて、ベクターデータを文書表示アプリケーションで表示可能な構造化データに変換する。なお、文書表示アプリケーションは、例えば、Microsoft(登録商標)のWord(登録商標)、Excel(登録商標)、PowerPoint(登録商標)、Adobe(登録商標)のAcrobat(登録商標)などである。また、構造化データとは、PDF(Portable Document Format)やODF(OpenDocument Format)、OOXML(Office Open XML)のフォーマットなどで記述されたデータであり、オブジェクト毎に属性を記述したデータである。
The
解析部21cは、構造化データを解析し、オブジェクト情報を取得する。具体的には、構造化データに含まれるオブジェクトの属性及び描画位置の情報を取得すると共に、オブジェクトの相互関係に基づいて、各々の属性のオブジェクトの描画領域を分割したオブジェクト領域を設定する。具体的には、テキスト領域に対しては、テキストコードからスペースやカンマ、ピリオドなどの位置を特定し、特定した位置から文字列を認識し、各々の文字列の位置情報を取得する。そして、認識した文字列の位置関係(上下の位置情報、左右のオブジェクトの種別)からテキスト領域を設定する。また、グラフィックス領域に対しては、描画コマンドから図形を認識し、各々の図形の位置情報を取得する。そして、認識した各々の図形の連結性や接近性などからグラフィックス領域を設定する。
The
ラスタライズ処理部21dは、RIP(Raster Image Processor)により、ベクタライズ処理部21bによって生成された構造化データに対して、公知のラスタライズ処理を行って、イメージデータ(第2の画像データ)に再変換する。
The
比較部21eは、入力されたイメージデータ(第1の画像データ)と再変換されたイメージデータ(第2の画像データ)とを比較し、差異部分を抽出する。このイメージデータの比較は、解析部21cが設定したオブジェクト領域毎に画素単位で比較し、差異がある画素の数(若しくは、当該オブジェクト領域の全画素数に対する差異がある画素の数の割合)が所定の閾値を超える部分がある場合、その部分を差異部分として抽出する。なお、上記閾値は、オブジェクトの属性に応じて異なる値に設定してもよい。また、比較部21eは、必要に応じて、入力されたイメージデータと再変換されたイメージデータとの比較結果(差異部分を明示する画像)を表示部27に表示させ、差異部分に対して後述する構造化データの更新を行うか否かの選択操作を受け付ける。
The
データ更新部21fは、差異部分が抽出されたか否かを判断し、差異部分が抽出された場合は、オブジェクト情報に基づいて、差異部分に配置されるオブジェクトが属するオブジェクト領域を特定し、入力画像から、特定したオブジェクト領域に対応する画像情報を取得し、取得した画像情報を用いて構造化データを更新し、更新後の構造化データを出力(例えば、記憶部25などに保存)する。具体的には、構造化データの特定したオブジェクト領域を、当該オブジェクト領域に対応する入力画像に置き換えたり、構造化データの特定したオブジェクト領域に、当該オブジェクト領域に対応する入力画像を上書きする指示データを作成したりする。また、データ更新部21fは、必要に応じて、特定したオブジェクト領域を入力画像で更新した結果(更新後の構造化データを文書表示アプリケーションで表示した表示画像)を表示部27に表示させ、構造化データの更新を採用するか否かの選択操作を受け付ける。
The
なお、データ取得部21a、ベクタライズ処理部21b、解析部21c、ラスタライズ処理部21d、比較部21e、データ更新部21fは、ハードウェアとして構成してもよいし、制御部21を、データ取得部21a、ベクタライズ処理部21b、解析部21c、ラスタライズ処理部21d、比較部21e、データ更新部21fとして機能させる画像変換プログラムとして構成し、当該画像変換プログラムをCPU22に実行させるようにしてもよい。
The
記憶部25は、HDD(Hard Disk Drive)やSSD(Solid State Drive)などで構成され、CPU22が各部を制御するためのプログラム、自装置の処理機能に関する情報、入力されたイメージデータ、ベクタライズ処理部21bが変換した構造化データ、ラスタライズ処理部21dが構造化データから再変換したイメージデータ、比較部21eの比較結果、データ更新部21fが更新した構造化データなどを記憶する。
The storage unit 25 is configured by an HDD (Hard Disk Drive), an SSD (Solid State Drive), or the like, a program for the
ネットワークI/F部26は、NIC(Network Interface Card)やモデムなどで構成され、画像変換装置20を画像形成装置30に接続し、画像形成装置30からイメージデータを取得する。
The network I / F unit 26 includes a NIC (Network Interface Card), a modem, and the like, connects the
表示部27は、液晶表示装置(LCD:Liquid Crystal Display)や有機EL(electroluminescence)表示装置などで構成され、比較部21eの比較結果(差異部分を明示する画像)、データ更新部21fの更新結果(更新後の構造化データを文書表示アプリケーションで表示した表示画像)などを表示する。
The display unit 27 includes a liquid crystal display (LCD), an organic EL (electroluminescence) display device, and the like. The comparison result of the
操作部28は、マウスやキーボードなどで構成され、比較部21eの比較結果に対する選択操作、データ更新部21fの更新結果に対する選択操作などを可能にする。
The
[画像形成装置]
画像形成装置30は、MFPなどであり、図8に示すように、制御部31、記憶部35、ネットワークI/F部36、表示操作部37、画像読取部38、印刷処理部39などで構成される。
[Image forming apparatus]
The
制御部31は、CPU32とROM33やRAM34などのメモリとで構成され、CPU32は、ROM33や記憶部35に記憶した制御プログラムをRAM34に展開して実行することにより、画像形成装置30全体の動作を制御する。
The
記憶部35は、HDDやSSDなどで構成され、CPU32が各部を制御するためのプログラム、自装置の処理機能に関する情報、画像読取部38が読み取ったイメージデータなどを記憶する。
The
ネットワークI/F部36は、NICやモデムなどで構成され、画像形成装置30を画像変換装置20に接続し、画像変換装置20にイメージデータなどを送信する。
The network I /
表示操作部37は、表示部上に透明電極が格子状に配置された感圧式の操作部(タッチセンサ)を設けたタッチパネルなどであり、印刷処理に関する各種画面を表示し、印刷に関する各種操作を可能にする。 The display operation unit 37 is a touch panel provided with a pressure-sensitive operation unit (touch sensor) in which transparent electrodes are arranged in a grid pattern on the display unit, displays various screens related to printing processing, and performs various operations related to printing. to enable.
画像読取部38は、原稿台上に載置された原稿からイメージデータを光学的に読み取る部分であり、原稿を走査する光源と、原稿で反射された光を電気信号に変換するCCD(Charge Coupled Devices)やCMOS(Complementary Metal Oxide Semiconductor)等のイメージセンサと、イメージセンサから出力される電気信号をA/D変換するA/D変換器等により構成される。
The
印刷処理部39は、印刷処理を実行する印刷エンジンである。具体的には、帯電装置により帯電された感光体ドラムに露光装置から画像に応じた光を照射して静電潜像を形成し、現像装置で帯電したトナーを付着させて現像し、そのトナー像を転写ベルトに1次転写し、転写ベルトから用紙に2次転写し、更に定着装置で用紙上のトナー像を定着させる処理を行う。
[画像読取装置]
画像読取装置40は、画像読取部を備えるスキャナなどであり、画像読取部は、画像形成装置30の画像読取部38と同様に、原稿台上に載置された原稿からイメージデータを光学的に読み取る。具体的には、原稿を走査する光源と、原稿で反射された光を電気信号に変換するCCDやCMOS等のイメージセンサと、電気信号をA/D変換するA/D変換器等により構成される。
[撮像装置]
撮像装置50は、撮像部を備えるデジタルカメラなどであり、撮像部は、原稿を撮像してイメージデータを光学的に読み取る。具体的には、レンズやファインダなどの光学系と、CCDやCMOS等のイメージセンサと、イメージセンサから出力される電気信号をA/D変換するA/D変換器等により構成される。
The print processing unit 39 is a print engine that executes print processing. Specifically, the photosensitive drum charged by the charging device is irradiated with light corresponding to the image from the exposure device to form an electrostatic latent image, and the toner charged by the developing device is attached and developed. The image is primarily transferred to the transfer belt, secondarily transferred from the transfer belt to the paper, and a fixing device fixes the toner image on the paper.
[Image reading device]
The
[Imaging device]
The
なお、図1乃至図8は、本実施例の画像変換システム10の一例であり、その構成は適宜変更可能である。例えば、図7では、画像変換装置20の制御部21をデータ取得部21a、ベクタライズ処理部21b、解析部21c、ラスタライズ処理部21d、比較部21e、データ更新部21fとして機能させる場合を示したが、画像形成装置30の制御部31(若しくは画像読取装置40や撮像装置50の制御部)を、データ取得部、ベクタライズ処理部、解析部、ラスタライズ処理部、比較部、データ更新部として機能させる(画像形成装置30や画像読取装置40、撮像装置50にデータ取得部、ベクタライズ処理部、解析部、ラスタライズ処理部、比較部、データ更新部を設ける)構成としてもよい。
1 to 8 show an example of the image conversion system 10 of the present embodiment, and the configuration thereof can be changed as appropriate. For example, FIG. 7 shows a case where the
以下、図1の構成の画像変換システム10の画像変換装置20を用いた画像変換方法について説明する。CPU22は、ROM23又は記憶部25に記憶した画像変換プログラムをRAM24に展開して実行することにより、図9のフローチャート図に示す各ステップの処理を実行する。
Hereinafter, an image conversion method using the
まず、制御部21(データ取得部21a)は、ネットワークI/F部26を介して、画像形成装置30の画像読取部38や画像読取装置40が原稿をスキャンして得たイメージデータや、撮像装置50が原稿を撮像して得たイメージデータを入力画像として取得する(S101)。図10は、入力画像60の一例であり、この入力画像60には、テキストオブジェクトとグラフィックスオブジェクトとイメージオブジェクトとが含まれている。
First, the control unit 21 (
次に、制御部21(ベクタライズ処理部21b)は、入力画像に対して領域判別処理を実施して、図10に示すように、入力画像をテキスト領域60aとグラフィックス領域60bとイメージ領域60cとに分類した後、ベクタライズ処理を実施してベクターデータに変換する(S102)。具体的には、テキスト領域60aと判断された領域は、公知のOCR処理を実施してテキストコードに変換する。また、グラフィックス領域60bと判断された領域は、図形の描画コマンドに変換する。
Next, the control unit 21 (
次に、制御部21(ベクタライズ処理部21b)は、ベクタライズ処理の結果に基づいて、ベクターデータを文書表示アプリケーションで表示可能な構造化データに変換する(S103)。構造化データは、上述したように、PDFやODF、OOXMLのフォーマットで記述されたデータである。図11に、構造化データの表示画像61(文書表示アプリケーションで表示した時の表示結果)を示す。この例では、太い破線で囲んだ2箇所がベクタライズ過程で誤変換されており、「B&W」の文字が「BBW」に、楕円の図形が正円に誤変換されている。
Next, the control unit 21 (
次に、制御部21(解析部21c)は、構造化データを解析し、オブジェクト情報を取得する(S104)。具体的には、構造化データに含まれるオブジェクトの属性及び描画位置の情報を取得すると共に、オブジェクトの相互関係に基づいて、各々の属性のオブジェクトの描画領域を分割したオブジェクト領域(テキスト領域やグラフィックス領域)を設定する。このオブジェクト領域は、後述するデータ更新にて入力画像に置き換える範囲を規定する(更新対象となる)領域である。
Next, the control part 21 (
図12は、テキスト領域の設定例を示している。例えば、図12(a)の文章を例にして説明すると、OCR処理により各文字はテキストコードに変換される。次に、スペースやカンマ、ピリオドの位置などから文字列を認識する。図12(b)は、文字列を認識した結果である。この例では、9つの文字列が認識されている。そして、認識した各文字列の位置関係(上下の位置情報、左右のオブジェクトの種別)から更新対象となるテキスト領域(例えば、行毎のテキスト領域)を設定する。 FIG. 12 shows an example of setting a text area. For example, taking the sentence in FIG. 12A as an example, each character is converted into a text code by OCR processing. Next, a character string is recognized from the position of a space, a comma, or a period. FIG. 12B shows the result of recognizing the character string. In this example, nine character strings are recognized. Then, a text area (for example, a text area for each line) to be updated is set from the positional relationship (upper and lower position information, left and right object types) of the recognized character strings.
図13は、グラフィックス領域の設定例を示している。例えば、図13(a)の図形を例にして説明すると、この図形は、図11の構造化データの表示画像61の左下のオブジェクトであり、図13(b)に示すように図形1〜図形5の5つの図形で表現されている。そして、各々の図形の連結性/接近性から更新対象となるグラフィックス領域(ここでは、5つの図形を含むグラフィックス領域)を設定する。 FIG. 13 shows a setting example of the graphics area. For example, the figure in FIG. 13A will be described as an example. This figure is an object at the lower left of the display image 61 of the structured data in FIG. 11, and as shown in FIG. It is expressed by 5 figures. Then, a graphics area (here, a graphics area including five figures) to be updated is set based on connectivity / accessibility of each figure.
図14は、図11の構造化データの表示画像61をオブジェクト領域で分類した図である。この例では、12個のテキスト領域(Text1〜Text12)と1個のイメージ領域(Image1)と2個のグラフィックス領域(Graphics1〜Graphics2)とに分類されている。なお、図14の分類は一例であり、適宜変更可能である。例えば、図14では、テキストオブジェクトを行毎に分類しているが、テキストオブジェクトを段落毎に分類し、Text1〜Text7、Text8〜Text12を各々1つのテキスト領域としたり、ピリオドまでを1つのテキスト領域としたりしてもよい。 FIG. 14 is a diagram in which the structured data display image 61 of FIG. 11 is classified by object region. In this example, it is classified into 12 text areas (Text1 to Text12), 1 image area (Image1), and 2 graphics areas (Graphics1 to Graphics2). The classification in FIG. 14 is an example and can be changed as appropriate. For example, in FIG. 14, the text objects are classified for each line, but the text objects are classified for each paragraph, and Text1 to Text7 and Text8 to Text12 are each set as one text area, or up to a period is one text area. Or you may.
次に、制御部21(ラスタライズ処理部21d)は、構造化データに対してラスタライズ処理を行って画像化し、イメージデータ(第2の画像データ)に再変換する(S105)。図15は、構造化データのラスタライズ結果62を示す図である。基本的に見た目は図11の構造化データの表示画像61(文書表示アプリケーションで表示した時の表示結果)と同様である。
Next, the control unit 21 (
次に、制御部21(比較部21e)は、図10の入力画像60(第1の画像データ)と、図15の構造化データのラスタライズ結果62(第2の画像データ)とを比較し、差異部分を抽出する(S106)。このイメージデータの比較は、図14に示すオブジェクト領域毎に行う。
Next, the control unit 21 (
図16は、図13の図形1に着目した比較結果を示しており、図10の入力画像60と図15の構造化データのラスタライズ結果62とを比較すると図16のような重ね合わせになる。図17は、図16を画素単位で比較した図である。この例では、太い実線の四角が図15における図形1(正円)を構成する画素で、ハッチング部分が図10における図形1(楕円)の横曲線を構成する画素である。図17の例では、100個の画素で正円が構成されており、横曲線と交差する画素を一致画素とすると、13画素が一致し、横曲線と交差していない画素を不一致画素とすると、87画素が一致しない。その結果、正円を構成する画素に対しては、不一致率は87%となる。ここで、全画素に対する不一致画素の割合の閾値を20%とすると、この領域の割合は閾値を超えるため差異部分と判定される。なお、ここでは全画素に対する不一致画素の割合と閾値とを比較したが、不一致画素の数と閾値とを比較してもよい。また、これらの閾値はオブジェクトの属性に応じて個別に設定可能である。 FIG. 16 shows a comparison result focusing on the graphic 1 in FIG. 13. When the input image 60 in FIG. 10 is compared with the rasterized result 62 of the structured data in FIG. FIG. 17 is a diagram comparing FIG. 16 in units of pixels. In this example, a thick solid square is a pixel constituting the graphic 1 (circular circle) in FIG. 15, and a hatched portion is a pixel constituting the horizontal curve of the graphic 1 (ellipse) in FIG. In the example of FIG. 17, a perfect circle is formed by 100 pixels. If a pixel that intersects the horizontal curve is a matching pixel, 13 pixels are matched and a pixel that does not intersect the horizontal curve is a mismatched pixel. , 87 pixels do not match. As a result, the mismatch rate is 87% for the pixels forming the perfect circle. Here, if the threshold of the ratio of non-matching pixels to all the pixels is 20%, the ratio of this region exceeds the threshold, so that it is determined as a difference portion. Here, the ratio of the mismatched pixels to all the pixels is compared with the threshold value, but the number of mismatched pixels may be compared with the threshold value. These threshold values can be individually set according to the attributes of the object.
次に、制御部21(データ更新部21f)は、差異部分が抽出されたかを判断する(S107)。差異部分が抽出されなかった場合は、制御部21(データ更新部21f)は、構造化データをそのまま出力(例えば、記憶部25などに保存)する(S111)。一方、差異部分が抽出された場合は、制御部21(データ更新部21f)は、差異部分に配置されるオブジェクトが属するオブジェクト領域を特定する(S108)。図18は、オブジェクト領域の特定処理を説明する図であり、図18(a)は、抽出された差異部分を示し、図18(b)は、抽出された差異部分に配置されるオブジェクトの位置を示している。図18(b)の位置から、上記オブジェクトが属するオブジェクト領域を特定する。図18(c)は、特定したオブジェクト領域(Text9、Graphics1)をハッチングで示している。
Next, the control unit 21 (
次に、制御部21(データ更新部21f)は、入力画像から、特定したオブジェクト領域に対応する画像情報を取得し(S109)、取得した画像情報を用いて構造化データを更新する(S110)。図19は、特定したオブジェクト領域(Text9、Graphics1)を入力画像の画像情報に置き替えた更新後の構造化データの表示画像63(文書表示アプリケーションで表示した時の表示結果)の一例である。ここでは、構造化データの更新部分を分かりやすくするために、入力画像の画像情報に置き替えた部分を太線で強調表示している。その後、制御部21(データ更新部21f)は、更新した構造化データを出力(例えば、記憶部25などに保存)する(S111)。
Next, the control unit 21 (
このように、入力されたイメージデータのベクタライズ処理で誤変換された部分だけでなく、当該部分に配置されるオブジェクトが属するオブジェクト領域全体を入力されたイメージデータで更新して、関連領域を同一の属性のオブジェクトで統一することにより、元の原稿の再現性を確保しつつ、原稿の検索性や再編集性を維持し、かつ、原稿の視認性の悪化を抑制した構造化データを生成することができる。 In this way, not only the part erroneously converted by the vectorization processing of the input image data but also the entire object area to which the object placed in the part belongs is updated with the input image data, and the related area is made the same. Unify the attribute objects to maintain the reproducibility of the original document, maintain the searchability and reeditability of the document, and generate structured data that suppresses deterioration of the document visibility. Can do.
なお、上記フローでは、画像変換プログラムが、構造化データのオブジェクト領域を自動的に入力画像に置き換えたが、制御部21(比較部21e)は、比較結果(差異部分を明示する画像)を表示部27に表示させ、差異部分に対して構造化データの更新を行うか否かをユーザに選択させたり(選択操作を受け付けたり)、制御部21(データ更新部21f)は、更新結果(更新後の構造化データを文書表示アプリケーションで表示した表示画像)を表示部27に表示して、構造化データの更新を採用するか否かをユーザに選択させたり(選択操作を受け付けたり)してもよい。
In the above flow, the image conversion program automatically replaces the object area of the structured data with the input image, but the control unit 21 (
また、更新対象のオブジェクト領域の特定において、イメージ領域に含まれる文字列がテキスト領域と判断された場合には、テキスト領域を含むイメージ領域全体を入力画像で置き換えることも可能である。図20は、イメージ領域にテキスト領域(「bizhub PRESS C8000」の文字列)が含まれる入力画像の一例であり、図21は、この入力画像をベクタライズして変換した構造化データをオブジェクト領域で分類した図である。この例では、Text8とText9のエリア(テキスト領域)がImage1のエリア(イメージ領域)に包含されているため、Text8又はText9から差異部分が抽出された場合、構造化データ中のImage1を置き換えて構造化データを更新することができる。 Further, in specifying the object area to be updated, when the character string included in the image area is determined to be a text area, the entire image area including the text area can be replaced with the input image. FIG. 20 is an example of an input image in which a text region (a character string “bizhub PRESS C8000”) is included in the image region. FIG. 21 illustrates classification of structured data obtained by vectorizing and converting the input image into object regions. FIG. In this example, since the area (text area) of Text8 and Text9 is included in the area (image area) of Image1, if a difference portion is extracted from Text8 or Text9, the structure is obtained by replacing Image1 in the structured data. Data can be updated.
なお、本発明は上記実施例に限定されるものではなく、本発明の趣旨を逸脱しない限りにおいて、その構成や制御は適宜変更可能である。 In addition, this invention is not limited to the said Example, The structure and control can be changed suitably, unless it deviates from the meaning of this invention.
例えば、上記実施例では、テキストオブジェクトとグラフィックスオブジェクトとイメージオブジェクトを含む原稿やテキストオブジェクトとイメージオブジェクトを含む原稿を例にして説明したが、少なくともテキストオブジェクト又はグラフィックスオブジェクトを含む原稿に対して本発明の画像変換方法を同様に適用することができる。 For example, in the above-described embodiment, a document including a text object, a graphics object, and an image object and a document including a text object and an image object have been described as examples. The image conversion method of the invention can be similarly applied.
また、上記実施例では、更新した構造化データを画像変換装置20の記憶部25などに保存する場合を示したが、更新した構造化データは画像変換装置20に接続される外部の記憶装置(クラウドのサーバなど)に保存してもよい。
In the above embodiment, the case where the updated structured data is stored in the storage unit 25 of the
本発明は、イメージデータから構造化データを生成する画像変換プログラム及び当該画像変換プログラムを記録した記録媒体並びに当該画像変換プログラムが動作する画像変換装置並びに当該画像変換装置を含む画像変換システムにおける画像変換方法に利用可能である。 The present invention relates to an image conversion program for generating structured data from image data, a recording medium on which the image conversion program is recorded, an image conversion apparatus on which the image conversion program operates, and an image conversion in an image conversion system including the image conversion apparatus. Available to the method.
10 画像変換システム
20 画像変換装置
21 制御部
21a データ取得部
21b ベクタライズ処理部
21c 解析部
21d ラスタライズ処理部
21e 比較部
21f データ更新部
22 CPU
23 ROM
24 RAM
25 記憶部
26 ネットワークI/F部
27 表示部
28 操作部
30 画像形成装置
31 制御部
32 CPU
33 ROM
34 RAM
35 記憶部
36 ネットワークI/F部
37 表示操作部
38 画像読取部
39 印刷処理部
40 画像読取装置
50 撮像装置
60、70 入力画像
60a テキスト領域
60b グラフィックス領域
60c イメージ領域
61 構造化データの表示画像
62 構造化データのラスタライズ結果
63 更新後の構造化データの表示画像
DESCRIPTION OF SYMBOLS 10
23 ROM
24 RAM
25 Storage Unit 26 Network I / F Unit 27
33 ROM
34 RAM
35
Claims (23)
前記装置に、
画像読取部に原稿を読み取らせた第1の画像データ又は撮像部に原稿を撮像させた第1の画像データを取得する第1処理、
前記第1の画像データに対して前記ベクタライズ処理を行って、構造化データに変換する第2処理、
前記構造化データを解析して、オブジェクト情報を取得する第3処理、
前記構造化データに対して前記ラスタライズ処理を行って、第2の画像データに再変換する第4処理、
前記第1の画像データと前記第2の画像データとを比較して、差異部分を抽出する第5処理、
前記オブジェクト情報に基づいて、前記差異部分に配置されるオブジェクトが属する所定範囲のオブジェクト領域を特定する第6処理、
前記第1の画像データから、前記オブジェクト領域に対応する画像情報を取得する第7処理、
前記取得した画像情報を用いて前記構造化データを更新し、更新後の前記構造化データを出力する第8処理、を実行させる、
ことを特徴とする画像変換プログラム。 An image conversion program that operates on an apparatus capable of performing vectorization processing and rasterization processing,
In the device,
A first process for acquiring first image data obtained by causing an image reading unit to read a document or first image data obtained by causing an image pickup unit to capture an image of a document;
A second process for converting the first image data into structured data by performing the vectorization process;
Analyzing the structured data to obtain object information;
A fourth process for performing the rasterization process on the structured data and re-converting the structured data into second image data;
A fifth process for comparing the first image data with the second image data and extracting a difference portion;
A sixth process for identifying a predetermined area of the object region to which the object arranged in the difference portion belongs based on the object information;
A seventh process for obtaining image information corresponding to the object area from the first image data;
Updating the structured data using the acquired image information, and executing the eighth process of outputting the updated structured data;
An image conversion program characterized by that.
ことを特徴とする請求項1に記載の画像変換プログラム。 In the third process, the attribute and drawing position of the object included in the structured data, and information on the object area obtained by dividing the drawing area of the object of each attribute are acquired.
The image conversion program according to claim 1, wherein:
ことを特徴とする請求項2に記載の画像変換プログラム。 In the third process, the object area is set based on the mutual relationship of the objects included in the structured data.
The image conversion program according to claim 2, wherein:
ことを特徴とする請求項2又は3に記載の画像変換プログラム。 In the fifth process, for each object area, a part where the number or ratio of pixels having a difference exceeds a predetermined threshold is extracted.
The image conversion program according to claim 2 or 3, wherein
ことを特徴とする請求項4に記載の画像変換プログラム。 In the fifth process, the threshold value is set according to the attribute of the object.
The image conversion program according to claim 4, wherein:
ことを特徴とする請求項2乃至5のいずれか一に記載の画像変換プログラム。 In the sixth process, when the difference portion is a text area and the text area is included in the image area, the image area is specified as the object area.
The image conversion program according to any one of claims 2 to 5, wherein
ことを特徴とする請求項1乃至6のいずれか一に記載の画像変換プログラム。 In the fifth process, an image clearly showing the difference portion is displayed on a display unit, and a selection operation as to whether or not to update the structured data is accepted.
An image conversion program according to any one of claims 1 to 6, wherein
ことを特徴とする請求項1乃至7のいずれか一に記載の画像変換プログラム。 In the eighth process, the display image of the structured data after update is displayed on the display unit, and a selection operation as to whether or not to adopt the update of the structured data is accepted.
8. The image conversion program according to claim 1, wherein the image conversion program is any one of claims 1 to 7.
ことを特徴とする請求項1乃至8のいずれか一に記載の画像変換プログラム。 The structured data is data described in a format of PDF (Portable Document Format), ODF (Open Document Format), or OOXML (Office Open XML).
The image conversion program according to any one of claims 1 to 8, wherein
前記画像読取部が原稿を読み取った第1の画像データ又は前記撮像部が原稿を撮像した第1の画像データを取得するデータ取得部と、
前記第1の画像データに対してベクタライズ処理を行って、構造化データに変換するベクタライズ処理部と、
前記構造化データを解析して、オブジェクト情報を取得する解析部と、
前記構造化データに対してラスタライズ処理を行って、第2の画像データに再変換するラスタライズ処理部と、
前記第1の画像データと前記第2の画像データとを比較して、差異部分を抽出する比較部と、
前記オブジェクト情報に基づいて、前記差異部分に配置されるオブジェクトが属する所定範囲のオブジェクト領域を特定し、前記第1の画像データから、前記オブジェクト領域に対応する画像情報を取得し、前記取得した画像情報を用いて前記構造化データを更新し、更新後の前記構造化データを出力するデータ更新部と、を備える、
ことを特徴とする画像変換装置。 An image reading unit or an imaging unit;
A data acquisition unit for acquiring first image data obtained by reading the original document by the image reading unit or first image data obtained by imaging the original document by the imaging unit;
A vectorization processing unit that performs vectorization processing on the first image data and converts the first image data into structured data;
Analyzing the structured data to obtain object information;
A rasterization processing unit that performs rasterization processing on the structured data and reconverts the second image data;
A comparison unit that compares the first image data and the second image data and extracts a difference portion;
Based on the object information, a predetermined range of an object region to which an object arranged in the difference portion belongs is specified, image information corresponding to the object region is acquired from the first image data, and the acquired image A data update unit that updates the structured data using information and outputs the updated structured data.
An image conversion apparatus characterized by that.
ことを特徴とする請求項10に記載の画像変換装置。 The analysis unit acquires information on an object area and a drawing position of the object included in the structured data, an object area obtained by dividing a drawing area of the object of each attribute,
The image conversion apparatus according to claim 10.
ことを特徴とする請求項11に記載の画像変換装置。 The analysis unit sets the object area based on the interrelationship of objects included in the structured data.
The image conversion apparatus according to claim 11.
ことを特徴とする請求項11又は12に記載の画像変換装置。 The comparison unit extracts, for each object region, a portion where the number or ratio of pixels having a difference exceeds a predetermined threshold value,
The image conversion apparatus according to claim 11 or 12, characterized in that:
ことを特徴とする請求項13に記載の画像変換装置。 The comparison unit sets the threshold according to the attribute of the object.
The image conversion apparatus according to claim 13.
ことを特徴とする請求項11乃至14のいずれか一に記載の画像変換装置。 The data update unit is configured to specify the image area as the object area when the difference portion is a text area and the text area is included in the image area;
The image conversion apparatus according to claim 11, wherein the image conversion apparatus is an image conversion apparatus.
ことを特徴とする請求項10乃至15のいずれか一に記載の画像変換装置。 The structured data is data described in a format of PDF (Portable Document Format), ODF (Open Document Format), or OOXML (Office Open XML).
The image conversion apparatus according to claim 10, wherein the image conversion apparatus is an image conversion apparatus.
前記制御装置は、
前記画像読取部に原稿を読み取らせた第1の画像データ又は前記撮像部に原稿を撮像させた第1の画像データを取得する第1処理と、
前記第1の画像データに対して前記ベクタライズ処理を行って、構造化データに変換する第2処理と、
前記構造化データを解析して、オブジェクト情報を取得する第3処理と、
前記構造化データに対して前記ラスタライズ処理を行って、第2の画像データに再変換する第4処理と、
前記第1の画像データと前記第2の画像データとを比較して、差異部分を抽出する第5処理と、
前記オブジェクト情報に基づいて、前記差異部分に配置されるオブジェクトが属する所定範囲のオブジェクト領域を特定する第6処理と、
前記第1の画像データから、前記オブジェクト領域に対応する画像情報を取得する第7処理と、
前記取得した画像情報を用いて前記構造化データを更新し、更新後の前記構造化データを出力する第8処理と、を実行する、
ことを特徴とする画像変換方法。 An image conversion method in a system including a control device capable of executing vectorization processing and rasterization processing and a device including an image reading unit or an imaging unit,
The controller is
A first process for acquiring first image data obtained by causing the image reading unit to read a document or first image data obtained by causing the imaging unit to capture an image of the document;
A second process for performing the vectorization process on the first image data and converting it to structured data;
A third process for analyzing the structured data and obtaining object information;
A fourth process for performing the rasterization process on the structured data and re-converting it into second image data;
A fifth process for comparing the first image data with the second image data and extracting a difference portion;
Based on the object information, a sixth process for specifying a predetermined range of the object region to which the object arranged in the difference portion belongs;
A seventh process of acquiring image information corresponding to the object region from the first image data;
Updating the structured data using the acquired image information, and outputting the updated structured data.
An image conversion method characterized by that.
ことを特徴とする請求項17に記載の画像変換方法。 In the third process, the attribute and drawing position of the object included in the structured data, and information on the object area obtained by dividing the drawing area of the object of each attribute are acquired.
The image conversion method according to claim 17.
ことを特徴とする請求項18に記載の画像変換方法。 In the third process, the object area is set based on the mutual relationship of the objects included in the structured data.
The image conversion method according to claim 18, wherein:
ことを特徴とする請求項18又は19に記載の画像変換方法。 In the fifth process, for each object area, a part where the number or ratio of pixels having a difference exceeds a predetermined threshold is extracted.
20. The image conversion method according to claim 18 or 19, wherein:
ことを特徴とする請求項20に記載の画像変換方法。 In the fifth process, the threshold value is set according to the attribute of the object.
The image conversion method according to claim 20, wherein:
ことを特徴とする請求項18乃至21のいずれか一に記載の画像変換方法。 In the sixth process, when the difference portion is a text area and the text area is included in the image area, the image area is specified as the object area.
The image conversion method according to any one of claims 18 to 21, wherein the image conversion method is performed.
ことを特徴とする請求項17乃至22のいずれか一に記載の画像変換方法。 The structured data is data described in a format of PDF (Portable Document Format), ODF (Open Document Format), or OOXML (Office Open XML).
The image conversion method according to any one of claims 17 to 22, wherein the image conversion method is performed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016039559A JP6662108B2 (en) | 2016-03-02 | 2016-03-02 | Image conversion program, image conversion apparatus, and image conversion method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016039559A JP6662108B2 (en) | 2016-03-02 | 2016-03-02 | Image conversion program, image conversion apparatus, and image conversion method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2017156982A true JP2017156982A (en) | 2017-09-07 |
JP6662108B2 JP6662108B2 (en) | 2020-03-11 |
Family
ID=59809833
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016039559A Active JP6662108B2 (en) | 2016-03-02 | 2016-03-02 | Image conversion program, image conversion apparatus, and image conversion method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6662108B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113742630A (en) * | 2021-09-16 | 2021-12-03 | 阿里巴巴新加坡控股有限公司 | Image processing method, electronic device, and computer storage medium |
-
2016
- 2016-03-02 JP JP2016039559A patent/JP6662108B2/en active Active
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113742630A (en) * | 2021-09-16 | 2021-12-03 | 阿里巴巴新加坡控股有限公司 | Image processing method, electronic device, and computer storage medium |
CN113742630B (en) * | 2021-09-16 | 2023-12-15 | 阿里巴巴新加坡控股有限公司 | Image processing method, electronic device, and computer storage medium |
Also Published As
Publication number | Publication date |
---|---|
JP6662108B2 (en) | 2020-03-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5223284B2 (en) | Information retrieval apparatus, method and program | |
US20190266397A1 (en) | Image processing apparatus, control method for image processing apparatus, and non-transitory storage medium | |
US20080115080A1 (en) | Device, method, and computer program product for information retrieval | |
US20180115680A1 (en) | Image processing apparatus, image processing system, control method for image processing apparatus, and non-transitory computer readable medium | |
US20060285748A1 (en) | Document processing device | |
JP2007102545A (en) | Electronic document creation apparatus, electronic document creation method, and electronic document creation program | |
US20090074291A1 (en) | Image processing apparatus and image processing method | |
JP7387339B2 (en) | Image processing system, image processing method, and program | |
JP2007164648A (en) | Similar image search device, similar image search method, program and information recording medium | |
US20090274369A1 (en) | Image processing device, image processing method, program, and storage medium | |
US10142499B2 (en) | Document distribution system, document distribution apparatus, information processing method, and storage medium | |
JP5249387B2 (en) | Image processing apparatus, image processing method, and program | |
US10049097B1 (en) | Systems and methods for creating multi-layered optical character recognition (OCR) documents | |
US20070116363A1 (en) | Image processing device, image processing method, and storage medium storing image processing program | |
JP2019008697A (en) | Electronic document creation apparatus, electronic document creation method, and electronic document creation program | |
JP5539488B2 (en) | Judgment of transparent fill based on reference background color | |
Akinbade et al. | An adaptive thresholding algorithm-based optical character recognition system for information extraction in complex images | |
Singh et al. | A proposed approach for character recognition using document analysis with ocr | |
US11146705B2 (en) | Character recognition device, method of generating document file, and storage medium | |
JP2008204184A (en) | Image processor, image processing method, program and recording medium | |
US8181108B2 (en) | Device for editing metadata of divided object | |
US20160188612A1 (en) | Objectification with deep searchability | |
JP6662108B2 (en) | Image conversion program, image conversion apparatus, and image conversion method | |
JP6601143B2 (en) | Printing device | |
JP7365835B2 (en) | Structure recognition system, structure recognition device, structure recognition method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20181115 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20191118 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20191122 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20191223 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20200114 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20200127 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6662108 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |