JP5434273B2 - Image processing apparatus and image processing program - Google Patents

Image processing apparatus and image processing program Download PDF

Info

Publication number
JP5434273B2
JP5434273B2 JP2009128571A JP2009128571A JP5434273B2 JP 5434273 B2 JP5434273 B2 JP 5434273B2 JP 2009128571 A JP2009128571 A JP 2009128571A JP 2009128571 A JP2009128571 A JP 2009128571A JP 5434273 B2 JP5434273 B2 JP 5434273B2
Authority
JP
Japan
Prior art keywords
area
image
information
color conversion
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2009128571A
Other languages
Japanese (ja)
Other versions
JP2010278710A (en
Inventor
賢治 蛯谷
武史 野口
弘文 小松原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2009128571A priority Critical patent/JP5434273B2/en
Publication of JP2010278710A publication Critical patent/JP2010278710A/en
Application granted granted Critical
Publication of JP5434273B2 publication Critical patent/JP5434273B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

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

手書きによる筆跡情報を抽出する技術が開発されている。位置情報を表す情報画像を合成した画像を印刷し、その印刷物に対して、情報画像を読み取る電子ペンで筆記した場合に、その筆跡情報を抽出することが行われている。   A technique for extracting handwritten handwriting information has been developed. When an image obtained by combining information images representing position information is printed and written on an electronic pen that reads the information image, the handwriting information is extracted.

これに関連する技術として、例えば、特許文献1には、画像データのプリント出力に際して、画像データに含まれる各画像の属性に応じた適切なデータ処理を実現し、出力画像の品位を向上させることを課題とし、ラスタライザはプリンタドライバより入力したオブジェクトデータに基づいてRGBのビットマップイメージを生成し、画像メモリに格納し、このとき、ラスタライザは入力したオブジェクトデータの属性を表す属性情報を生成したビットマップイメージの各画素に対応付けて属性マップメモリに格納し、画像処理部は、画像メモリに格納されたRGBビットマップイメージを画像形成ユニットによって処理が可能なYMCK各色2値のビットマップデータに変換し、このとき、属性マップメモリに保持された属性情報に基づいて、例えば2値化処理のためのディザマトリクスを切り換える等、変換処理の内容を切り換えることが開示されている。   As a technology related to this, for example, in Patent Document 1, when image data is printed out, appropriate data processing corresponding to the attribute of each image included in the image data is realized, and the quality of the output image is improved. The rasterizer generates an RGB bitmap image based on the object data input from the printer driver and stores it in the image memory. At this time, the rasterizer generates the attribute information indicating the attribute of the input object data. The image processing unit converts the RGB bitmap image stored in the image memory into binary bitmap data for each color of YMCK that can be processed by the image forming unit. At this time, based on the attribute information held in the attribute map memory , For example, such as switching the dither matrix for binarization, is possible to switch the contents of the conversion process is disclosed.

また、例えば、特許文献2には、画像データの個々の画素データの特徴に応じて各画素が文字画像の一部か、写真画像の一部か判断し、その判断に応じて各画素ごとの出力解像度を設定することで良好な画像を得ることを課題とし、画像データ中の注目画素が文字画像にある場合には、その文字の太さ情報を得て、そして、その太さが細い程解像度を高くし、太い程解像度を低くし、写真画像にある場合にはさらに解像度を低くする情報を設定し、そして、画像処理された後の画素データの濃度が低い場合には、先に設定した解像度を低くなるように補正し、補正後の解像度設定情報を出力することが開示されている。   Further, for example, in Patent Document 2, it is determined whether each pixel is a part of a character image or a part of a photographic image according to the characteristics of each pixel data of the image data, and each pixel is determined according to the determination. The problem is to obtain a good image by setting the output resolution. When the pixel of interest in the image data is in a character image, obtain the thickness information of the character, and the thinner the thickness, Set higher resolution, lower resolution for thicker images, set information to lower resolution if it is in a photographic image, and set it first when the density of pixel data after image processing is low It is disclosed that the resolution is corrected so as to be lowered and the corrected resolution setting information is output.

また、例えば、特許文献3には、文書画像によるコード画像の改変を抑制することを課題とし、クライアントは、文書画像に対応するRGBベクトルデータをラスタライズ、色変換したR’G’B’ラスタデータに、コード画像データに基づくTagを付与して得られたTag付きR’G’B’ラスタデータを出力し、プリンタでは、受け取ったTag付きR’G’B’ラスタデータに色変換処理を施してTag付きYMCラスタデータを作成し、次いで、プリンタでは、Tag付きYMCラスタデータのTagを参照し、Tagの内容に基づいて得られたコード画像データを得て、そして、YMCラスタデータとコード画像データに基づくKデータとを合成し、露光器に出力することが開示されている。   Further, for example, in Patent Document 3, it is an object to suppress modification of a code image by a document image, and the client rasterizes RGB vector data corresponding to the document image and R′G′B ′ raster data obtained by color conversion. The R′G′B ′ raster data with tag obtained by adding the tag based on the code image data is output to the printer, and the printer performs color conversion processing on the received R′G′B ′ raster data with tag. YMC raster data with Tag is created, and then the printer refers to Tag of YMC raster data with Tag, obtains code image data obtained based on the contents of Tag, and then YMC raster data and code image It is disclosed that K data based on data is synthesized and output to an exposure unit.

また、例えば、特許文献4には、紙に書き込んだ筆跡情報を、紙の位置情報で時系列化したデータとすることができる電子ペンを利用して記入される場合において、電子ペンから情報を受け取った情報処理装置が、記入条件の違いを第3者が容易に識別できるようにすることを課題とし、情報処理装置で、紙の識別情報と、電子ペンの識別情報と、時系列位置情報からなる筆跡情報と、これら情報を受け付けた時刻情報と、紙面の領域を区分する属性情報が与えられるとき、これら情報を組み合わせて情報処理を行い、情報処理の結果にしたがって特徴を区別して表示することが開示されている。   Further, for example, in Patent Document 4, when handwriting information written on paper is written using an electronic pen that can be time-series data with paper position information, information from the electronic pen is written. The received information processing apparatus has an object to make it possible for a third party to easily identify a difference in entry conditions. In the information processing apparatus, paper identification information, electronic pen identification information, and time-series position information When handwriting information consisting of, information on the time when these pieces of information are received, and attribute information that divides the area of the paper are given, information processing is performed by combining these pieces of information, and features are distinguished and displayed according to the results of the information processing. It is disclosed.

また、例えば、特許文献5には、手書きで行われた帳票であっても、その処理を迅速に、かつ、容易に行うための帳票受け付けシステムを提供することを課題とし、電子ペンを用いて手書きで記入された公文書公開請求書を、公文書公開請求書のフォーマットデータに手書き文字のイメージデータを貼り付けることで再現し、再現された公文書公開請求書と、イメージデータをテキストデータに変換した公文書公開請求書とを並べて画面表示させることで、手書きの公文書公開請求書を電子データとして受け付けることを可能にしたことが開示されている。   Further, for example, Patent Document 5 has an object to provide a form receiving system for performing a process quickly and easily even with a handwritten form using an electronic pen. The public document invoice written in handwriting is reproduced by pasting the image data of handwritten characters into the format data of the public document public invoice, and the reproduced public document public invoice and the image data are converted into text data. It is disclosed that a handwritten public document public invoice can be received as electronic data by displaying the converted public document public invoice side by side on the screen.

また、例えば、特許文献6には、信頼性の高いサインデータを効率的に管理するシステムを提案することを課題とし、電子処理用ペーパーである伝票に対して電子ペンによって記入されたサインデータを管理する伝票管理方法であって、伝票管理装置が、伝票を一意に特定する伝票IDと、所定の目的のために決められた形式で構成される伝票フォームを一意に特定する伝票フォームIDと、伝票ごとに記入される記入データと、電子ペンが認識可能なドットパターンを含む少なくとも1つの記入欄データと、伝票の記入欄に対して電子ペンによって記入された筆跡データを含む少なくとも1つのサインデータと、を関連付けてデータベースに記録することが開示されている。   In addition, for example, Patent Document 6 has an object of proposing a system for efficiently managing highly reliable sign data, and sign data entered with an electronic pen on a slip which is an electronic processing paper is provided. A slip management method for managing a slip ID for uniquely identifying a slip, a slip form ID for uniquely identifying a slip form configured in a format determined for a predetermined purpose, Entry data entered for each slip, at least one entry field data including a dot pattern recognizable by the electronic pen, and at least one signature data including handwriting data entered by the electronic pen for the entry field of the slip Are recorded in a database in association with each other.

また、例えば、特許文献7には、利用者が電子ペン用帳票に記入した情報に基づいて、記入内容の真正性を検証し、迅速に処理を行うことができる申込処理システムを提供することを課題とし、申込処理システムにおいて、利用者は、電子ペンを使用して申込書に記入を行い、電子ペンは、利用者が記入したチェックマークや文字に関する記入情報を取得し、取得した記入情報は、サーバにより取得され、サーバは、座標情報を参照することにより、利用者が記入した申込書を構成する項目の項目識別情報を特定し、さらに、サーバは、項目識別情報に基づいて座標情報を参照することにより、対応する項目の内容を特定し、当該項目の内容と記入情報に基づいて利用者による記入ミスの検出を行い、検出した記入ミスに関する情報を利用者に提示することが開示されている。   Further, for example, Patent Document 7 provides an application processing system that can verify the authenticity of the contents of entry based on information entered by the user in the electronic pen form and perform processing quickly. As an issue, in the application processing system, the user fills in the application form using the electronic pen, and the electronic pen obtains the check information and text entry information entered by the user. The server identifies the item identification information of the items constituting the application form entered by the user by referring to the coordinate information, and further the server obtains the coordinate information based on the item identification information. By referencing, the content of the corresponding item is specified, the entry error is detected by the user based on the content of the item and the entry information, and the information on the detected entry error is obtained by the user. Be presented have been disclosed.

また、例えば、特許文献8には、情報処理システムは、位置コーディングされたベースをオンデマンドで印刷することを可能とする装置を含み、この装置では、現行のグラフィックオブジェクトが、本システムに事前にストアされているグラフィックオブジェクトの集合から選択されるが、これら事前ストアされているグラフィックオブジェクトはその各々が、グラフィック情報を定義し、また、少なくとも1つの処理目安がグラフィック情報に関係付けるルールオブジェクトに対応しており、この装置では、現行のグラフィックオブジェクトは、位置データバンクからの位置データを割り当てられ、この割り当てられた位置データは、位置コーディング済みベースを形成するために、グラフィック情報と一緒にサブストレートに適用され、この装置はまた、本システム中に割り当てデータを提供するが、本システムはこの割り当てられた位置データをグラフィックオブジェクトに関連付け、これで、ベースからデジタルペンデバイスによって読み取られた位置データが、適切なルールオブジェクトを用いて本システム中で処理することが可能となるようにすることが開示されている。   Further, for example, in Patent Document 8, an information processing system includes a device that enables on-demand printing of a position-coded base. In this device, a current graphic object is stored in advance in the system. Selected from a set of stored graphic objects, each of these pre-stored graphic objects defining graphic information, and corresponding to a rule object that at least one processing measure relates to graphic information In this device, the current graphic object is assigned position data from the position data bank, and this assigned position data is combined with the graphic information to form a position-coded base. Applies to The device also provides assignment data in the system, which associates the assigned position data with the graphic object so that the position data read by the digital pen device from the base is the appropriate rule. It is disclosed that an object can be processed in the system.

特開2000−148973号公報JP 2000-148973 A 特開2000−261659号公報JP 2000-261659 A 特開2008−187304号公報JP 2008-187304 A 特開2003−308169号公報JP 2003-308169 A 特開2003−308479号公報JP 2003-308479 A 特開2005−122552号公報JP 2005-122552 A 特開2006−079254号公報JP 2006-079254 A 特表2006−504181号公報JP-T-2006-504181

ところで、前述の背景技術では、画像に情報画像を合成する場合、画像と情報画像が重なった領域では、その情報画像の読み取りができなくなってしまうことがある。
本発明は、かかる課題を解決するようにした画像処理装置及び画像処理プログラムを提供することを目的としている。
By the way, in the above-described background art, when an information image is combined with an image, the information image may not be read in a region where the image and the information image overlap.
It is an object of the present invention to provide an image processing apparatus and an image processing program that can solve such problems.

かかる目的を達成するための本発明の要旨とするところは、次の各項の発明に存する。
請求項1の発明は、操作者の操作に応じて、画像内の領域を指定する領域指定手段と、前記領域指定手段により指定された領域を、当該領域に設定された属性に基づいて変更する領域変更手段と、前記領域指定手段によって指定された領域又は該指定された領域以外の領域を対象として、色変換を行う色変換手段と、前記色変換手段によって色変換された領域を少なくとも含めた領域内の画像に対して、位置情報を表す情報画像を合成する情報画像合成手段を具備し、前記色変換手段は、黒色を他の色の合成で表現する色変換を施すことを特徴とする画像処理装置である。
The gist of the present invention for achieving the object lies in the inventions of the following items.
According to the first aspect of the present invention, an area designating unit for designating an area in an image and an area designated by the area designating unit are changed based on an attribute set in the area in accordance with an operation of the operator. an area changing means, as a target the designated area or the designated area other than regions by the region designation means, and a color conversion unit that performs color conversion, at least including the color conversion region by the color conversion means the image in the area, and a information image combining means for combining the information image representing the position information, the color conversion means, and characterized by applying the color conversion that represents the black color in the synthesis of other colors An image processing apparatus.

請求項2の発明は、領域に属性を設定する設定手段、を有し、前記領域変更手段は、前記設定手段により設定された領域の属性に基づいて当該領域を変更する、請求項1に記載の画像処理装置である。The invention of claim 2 further comprises setting means for setting an attribute in the area, and the area changing means changes the area based on the attribute of the area set by the setting means. This is an image processing apparatus.
請求項3の発明は、前記領域変更手段は、前記領域に設定された属性が記入領域を示す場合に、前記領域を拡大させ、前記情報画像合成手段は、前記領域変更手段により拡大された前記領域に対して前記情報画像を合成する、請求項1又は2に記載の画像処理装置である。According to a third aspect of the present invention, the area changing means enlarges the area when the attribute set in the area indicates an entry area, and the information image synthesizing means is enlarged by the area changing means. The image processing apparatus according to claim 1, wherein the information image is combined with a region.
請求項4の発明は、前記領域変更手段は、前記領域に設定された属性が前記記入領域でない領域を示す場合には、前記領域を拡大又は縮小させ、前記情報画像合成手段は、前記領域に設定された属性が前記記入領域でない領域を示す場合に前記領域変更手段により拡大又は縮小された前記領域に対しては前記情報画像を合成しない、請求項1から3のうちのいずれか一項に記載の画像処理装置である。According to a fourth aspect of the present invention, the area changing means enlarges or reduces the area when the attribute set in the area indicates an area that is not the entry area, and the information image composition means adds the area to the area. The information image is not combined with the area enlarged or reduced by the area changing unit when the set attribute indicates an area that is not the entry area. It is an image processing apparatus of description.

請求項の発明は、前記色変換手段は、前記領域変更手段によって変更された領域又は該変更された領域以外の領域を対象として、色変換を行い、前記情報画像合成手段は、前記領域変更手段によって変更された領域に基づいて、前記色変換手段によって色変換された領域を少なくとも含めた領域内の画像に対して情報画像を合成することを特徴とする請求項1に記載の画像処理装置である。 Invention, the color conversion means according to claim 5, as a target the modified region or a region other than the modified region by the area changing means performs color conversion, the information image synthesizing means, the area change 2. The image processing apparatus according to claim 1, wherein an information image is synthesized with an image in an area including at least the area subjected to color conversion by the color conversion means based on the area changed by the means. It is.

請求項の発明は、前記領域変更手段は、前記領域指定手段によって指定された領域を少なくとも含むように拡大することを特徴とする請求項に記載の画像処理装置である。 The invention according to claim 6 is the image processing apparatus according to claim 5 , wherein the area changing unit enlarges the area so as to include at least the area specified by the area specifying unit.

請求項の発明は、前記領域変更手段は、前記領域指定手段によって指定された領域を縮小することを特徴とする請求項に記載の画像処理装置である。 The invention of claim 7, wherein the area changing means is an image processing apparatus according to claim 5, characterized in that to reduce the area designated by said area designating means.

請求項の発明は、前記情報画像合成手段は、前記領域変更手段によって変更された領域内に前記情報画像を合成することを特徴とする請求項からうちのいずれか一項に記載の画像処理装置である。 The invention of claim 8, wherein the information image synthesizing means according to any one of claims 5 to 7, characterized in that combining the information image within the changed area by the area changing means This is an image processing apparatus.

請求項の発明は、前記情報画像合成手段は、前記領域変更手段によって変更された領域以外の領域に前記情報画像を合成することを特徴とする請求項からうちのいずれか一項に記載の画像処理装置である。 The invention of claim 9, wherein the information image synthesizing means, any one of the seven claim 5, characterized in that combining the information image in the region other than the changed regions by the region changing means The image processing apparatus described in the above.

請求項10の発明は、コンピュータを、操作者の操作に応じて、画像内の領域を指定する領域指定手段と、前記領域指定手段により指定された領域を、当該領域に設定された属性に基づいて変更する領域変更手段と、前記領域指定手段によって指定された領域又は該指定された領域以外の領域を対象として、色変換を行う色変換手段と、前記色変換手段によって色変換された領域を少なくとも含めた領域内の画像に対して、位置情報を表す情報画像を合成する情報画像合成手段として機能させ、前記色変換手段は、黒色を他の色の合成で表現する色変換を施すことを特徴とする画像処理プログラムである。 According to a tenth aspect of the present invention, the computer designates an area in the image according to the operation of the operator, and the area designated by the area designation means is based on the attribute set in the area. An area changing unit that changes the color, a color conversion unit that performs color conversion on an area specified by the area specifying unit or an area other than the specified area, and an area that has been color converted by the color converting unit. It functions as an information image synthesis unit that synthesizes an information image representing position information with respect to an image in at least an included area, and the color conversion unit performs color conversion that expresses black by combining other colors. This is a featured image processing program.

請求項1の画像処理装置によれば、画像に情報画像を合成する場合、画像と情報画像が重なった領域に対しても、その情報画像の読み取りができなくなってしまうことを抑制することができる。そして、色変換を行っても人間の判読性に対する影響を減じるようにすることができる。 According to the image processing apparatus of the first aspect, when an information image is combined with an image, it is possible to prevent the information image from being read even in a region where the image and the information image overlap. . Even if color conversion is performed, the influence on human readability can be reduced.

請求項2、3、4の画像処理装置によれば、画像に情報画像を合成する場合、画像と情報画像が重なった領域に対しても、その情報画像の読み取りができなくなってしまうことを抑制することができる。そして、色変換を行っても人間の判読性に対する影響を減じるようにすることができる。 According to the second, third , and fourth image processing apparatuses, when an information image is combined with an image, the information image can be prevented from being read even in a region where the image and the information image overlap. can do. Even if color conversion is performed, the influence on human readability can be reduced.

請求項の画像処理装置によれば、情報画像を合成すべき領域又は合成すべきでない領域が指定された場合、情報画像が合成された領域と情報画像が合成されていない領域の境界においては、抽出すべき筆記情報を抽出できない又は抽出すべきでない筆記情報を抽出してしまうという事態を抑制することができる。 According to the image processing device of claim 5 , when a region where the information image is to be combined or a region where the information image is not to be combined is designated, at the boundary between the region where the information image is combined and the region where the information image is not combined. It is possible to suppress a situation in which writing information to be extracted cannot be extracted or writing information that should not be extracted is extracted.

請求項6、7、8、9の画像処理装置によれば、筆記される可能性がない領域に対しては人間による判読性を減少させることを抑制し、筆記される可能性がある領域に対しては情報画像が合成されないという事態を抑制することができる。 According to the image processing device of the sixth , seventh , eighth , and ninth aspects, an area where there is no possibility of writing is suppressed from being reduced in human readability, and the area where there is a possibility of writing is determined. On the other hand, the situation where an information image is not synthesized can be suppressed.

請求項10の画像処理プログラムによれば、画像に情報画像を合成する場合、画像と情報画像が重なった領域に対しても、その情報画像の読み取りができなくなってしまうことを抑制することができる。そして、色変換を行っても人間の判読性に対する影響を減じるようにすることができる。 According to the image processing program of the tenth aspect , when an information image is combined with an image, it is possible to prevent the information image from being read even in a region where the image and the information image overlap. . Even if color conversion is performed, the influence on human readability can be reduced.

本実施の形態の構成例についての概念的なモジュール構成図である。It is a conceptual module block diagram about the structural example of this Embodiment. 本実施の形態による処理例を示すフローチャートである。It is a flowchart which shows the process example by this Embodiment. 本実施の形態の色変換モジュールのより具体的なモジュール構成例を示す説明図である。It is explanatory drawing which shows the more specific module structural example of the color conversion module of this Embodiment. 色変換モジュールによる処理例を示すフローチャートである。It is a flowchart which shows the process example by a color conversion module. 対象画像の例である文書画像を示す説明図である。It is explanatory drawing which shows the document image which is an example of a target image. 情報画像の例を示す説明図である。It is explanatory drawing which shows the example of an information image. スキャナ付きペンの構造例を示す説明図である。It is explanatory drawing which shows the structural example of the pen with a scanner. 文書画像に情報画像を合成した例を示す説明図である。It is explanatory drawing which shows the example which synthesize | combined the information image with the document image. 本実施の形態において、文書画像に情報画像を合成する処理例を示す説明図である。In this Embodiment, it is explanatory drawing which shows the process example which synthesize | combines an information image with a document image. 本実施の形態において、文書画像に情報画像を合成する処理例を示す説明図である。In this Embodiment, it is explanatory drawing which shows the process example which synthesize | combines an information image with a document image. 本実施の形態において、文書画像に情報画像を合成する処理例を示す説明図である。In this Embodiment, it is explanatory drawing which shows the process example which synthesize | combines an information image with a document image. 本実施の形態を実現するコンピュータのハードウェア構成例を示すブロック図である。It is a block diagram which shows the hardware structural example of the computer which implement | achieves this Embodiment.

以下、図面に基づき本発明を実現するにあたっての好適な一実施の形態の例を説明する。
図1は、本実施の形態の構成例についての概念的なモジュール構成図を示している。
なお、モジュールとは、一般的に論理的に分離可能なソフトウェア(コンピュータ・プログラム)、ハードウェア等の部品を指す。したがって、本実施の形態におけるモジュールはコンピュータ・プログラムにおけるモジュールのことだけでなく、ハードウェア構成におけるモジュールも指す。それゆえ、本実施の形態は、コンピュータ・プログラム、システム及び方法の説明をも兼ねている。ただし、説明の都合上、「記憶する」、「記憶させる」、これらと同等の文言を用いるが、これらの文言は、実施の形態がコンピュータ・プログラムの場合は、記憶装置に記憶させる、又は記憶装置に記憶させるように制御するの意である。また、モジュールは機能にほぼ一対一に対応しているが、実装においては、1モジュールを1プログラムで構成してもよいし、複数モジュールを1プログラムで構成してもよく、逆に1モジュールを複数プログラムで構成してもよい。また、複数モジュールは1コンピュータによって実行されてもよいし、分散又は並列環境におけるコンピュータによって1モジュールが複数コンピュータで実行されてもよい。なお、1つのモジュールに他のモジュールが含まれていてもよい。また、以下、「接続」とは物理的な接続の他、論理的な接続(データの授受、指示、データ間の参照関係等)の場合にも用いる。
また、システム又は装置とは、複数のコンピュータ、ハードウェア、装置等がネットワーク(一対一対応の通信接続を含む)等の通信手段で接続されて構成されるほか、1つのコンピュータ、ハードウェア、装置等によって実現される場合も含まれる。「装置」と「システム」とは、互いに同義の用語として用いる。
情報画像とは、機械可読な態様で位置情報を表す電子データを表すために体系的に作られた画像コードをいい、具体的な例として、図6を用いて後述する。
Hereinafter, an example of a preferred embodiment for realizing the present invention will be described with reference to the drawings.
FIG. 1 shows a conceptual module configuration diagram of a configuration example of the present embodiment.
The module generally refers to components such as software (computer program) and hardware that can be logically separated. Therefore, the module in the present embodiment indicates not only a module in a computer program but also a module in a hardware configuration. Therefore, the present embodiment also serves as an explanation of a computer program, a system, and a method. However, for the sake of explanation, the words “store”, “store”, and equivalents thereof are used. However, when the embodiment is a computer program, these words are stored in a storage device or stored in memory. It is the control to be stored in the device. In addition, the modules correspond almost one-to-one with the functions. However, in mounting, one module may be composed of one program, or a plurality of modules may be composed of one program. A plurality of programs may be used. The plurality of modules may be executed by one computer, or one module may be executed by a plurality of computers in a distributed or parallel environment. Note that one module may include other modules. Hereinafter, “connection” is used not only for physical connection but also for logical connection (data exchange, instruction, reference relationship between data, etc.).
In addition, the system or device is configured by connecting a plurality of computers, hardware, devices, and the like by communication means such as a network (including one-to-one correspondence communication connection), etc., and one computer, hardware, device. The case where it implement | achieves by etc. is included. “Apparatus” and “system” are used as synonymous terms.
An information image is an image code systematically created to represent electronic data representing position information in a machine-readable manner, and will be described later with reference to FIG. 6 as a specific example.

本実施の形態である画像処理装置は、画像に情報画像を合成するものであって、図1に示すように、対象画像受付モジュール110、領域指定モジュール120、領域変更モジュール130、重畳画像生成モジュール140、色変換モジュール150、重畳画像合成モジュール160、画像出力モジュール170を有している。
対象画像受付モジュール110は、領域指定モジュール120と接続されている。対象画像受付モジュール110は、対象画像を受け付けて、その画像を領域指定モジュール120へ渡す。画像を受け付けるとは、例えば、スキャナ、カメラ等で画像を読み込むこと、ファックス等で通信回線を介して外部機器から画像を受信すること、CCD(Charge−Coupled Device)等の撮像素子で映像を撮影すること、ハードディスク(コンピュータに内蔵されているものの他に、ネットワークを介して接続されているもの等を含む)等に記憶されている画像を読み出すこと等が含まれる。画像は、2値画像であってもよいし、多値画像(カラー画像を含む)であってもよい。受け付ける画像は、1枚であってもよいし、複数枚であってもよい。また、画像の内容として、利用者による手書きの書き込みが想定されているものであり、例えば、申込書等が該当する。より適している対象画像として、手書きの書き込みの領域(以下、記入部分領域ともいう)があるとともに、人間が判読すべきものが印刷された領域(例えば、記入欄に対する説明が記載された部分等がある。以下、説明部分領域ともいう)があるものである。つまり、判読すべきものが印刷された領域に情報画像を合成してしまうと、判読性を減少させてしまうような領域である。なお、判読すべきものが印刷された領域には、文字以外に、図形、写真等が印刷されたものであってもよい。文字の判読以外に、情報画像を合成することによって、写真等の見やすさ、見栄え等を減少させてしまうものも含む。つまり、ここでの判読性には、観賞性も含む。
The image processing apparatus according to the present embodiment synthesizes an information image with an image. As shown in FIG. 1, a target image receiving module 110, an area specifying module 120, an area changing module 130, and a superimposed image generating module. 140, a color conversion module 150, a superimposed image synthesis module 160, and an image output module 170.
The target image receiving module 110 is connected to the area specifying module 120. The target image receiving module 110 receives the target image and passes the image to the area specifying module 120. Accepting an image means, for example, reading an image with a scanner, a camera, etc., receiving an image from an external device via a communication line by fax, etc., and taking an image with an imaging device such as a CCD (Charge-Coupled Device). And reading out images stored in a hard disk (including those connected to the computer in addition to those built in the computer). The image may be a binary image or a multi-value image (including a color image). One image may be received or a plurality of images may be received. Further, as the content of the image, handwritten writing by the user is assumed, and for example, an application form or the like is applicable. As a more suitable target image, there is an area for handwritten writing (hereinafter also referred to as an entry area), and an area on which what should be read by a human being (for example, an area for explaining an entry field) (Hereinafter also referred to as an explanation partial area). In other words, it is an area where the readability is reduced if the information image is combined with the area where what is to be read is printed. In addition, in the area where what is to be read is printed, a figure, a photograph, or the like may be printed in addition to characters. In addition to character interpretation, it also includes those that reduce the visibility and appearance of photographs and the like by combining information images. In other words, the legibility here includes appreciation.

領域指定モジュール120は、対象画像受付モジュール110、領域変更モジュール130と接続されている。対象画像受付モジュール110から対象画像を受け取り、操作者の操作に応じて、対象画像内の領域、その領域の属性を指定する。そして、対象画像、指定された領域、その属性を領域変更モジュール130へ渡す。
指定する領域は、矩形を例示するが、矩形以外の形状(例えば、自由曲線で囲まれた領域等)であってもよい。領域変更モジュール130へ渡す領域としては、例えば、矩形であれば左上角の座標と右下角の座標、自由曲線であればその線上の各画素の座標等が該当する。
操作者の操作としては、例えば、画像処理装置のディスプレイに対象画像を表示し、マウス等のユーザーインタフェースを用いて、記入枠等に沿って領域を指定するようにしてもよいし、対象画像にマーカーペン等を用いて領域を描き、その画像内のマーカーペンで囲まれた領域を指定領域として認識するようにしてもよい。
The area specifying module 120 is connected to the target image receiving module 110 and the area changing module 130. A target image is received from the target image receiving module 110, and an area in the target image and an attribute of the area are designated according to the operation of the operator. Then, the target image, the designated area, and its attributes are passed to the area change module 130.
The area to be specified exemplifies a rectangle, but may be a shape other than the rectangle (for example, an area surrounded by a free curve). The area to be passed to the area changing module 130 corresponds to, for example, the coordinates of the upper left corner and the lower right corner for a rectangle, and the coordinates of each pixel on the line for a free curve.
As the operation of the operator, for example, the target image may be displayed on the display of the image processing apparatus, and the area may be designated along the entry frame using a user interface such as a mouse. An area may be drawn using a marker pen or the like, and an area surrounded by the marker pen in the image may be recognized as a designated area.

指定する領域としては、記入部分領域又は説明部分領域がある。記入部分領域を指定するとは、情報画像を合成すべき領域を指定することであり、説明部分領域を指定するとは、情報画像を合成しない領域(その他の領域には情報画像を合成することになる)を指定することである。
また、領域の属性としては、「筆記情報取得」、「筆記情報取得優先」、「原稿画像判読性優先」、「筆記情報不取得A」、「筆記情報不取得B」がある。なお、この指定する属性は、いずれかの属性として予め設定しておいてもよいし、操作者の操作に応じて、いずれかの属性であるかを決定するようにしてもよい。
The designated area includes an entry partial area or an explanation partial area. Designating the entry partial area designates an area where the information image is to be synthesized, and designation of the explanation partial area designates an area where the information image is not synthesized (the information image is synthesized in other areas). ).
The area attributes include “writing information acquisition”, “writing information acquisition priority”, “original image readability priority”, “writing information non-acquisition A”, and “writing information non-acquisition B”. Note that the attribute to be specified may be set in advance as any attribute, or may be determined according to the operation of the operator.

(1) 「筆記情報取得」とは、記入部分領域を指定する場合であって、その領域と情報画像を合成する領域とを一致させる場合である。
(2) 「筆記情報取得優先」とは、記入部分領域を指定する場合であって、その領域内において筆記された筆記情報を確実に取得できるようにするものである。つまり、指定された領域よりも拡大した領域に情報画像を合成するものである。
(1) “Acquisition of writing information” is a case where an entry partial area is designated and the area and the area where the information image is combined are matched.
(2) “Writing information acquisition priority” is a case where an entry partial area is designated, and the writing information written in the area can be reliably acquired. That is, the information image is synthesized in an area that is larger than the designated area.

(3) 「原稿画像判読性優先」とは、説明部分領域を指定する場合であって、その領域と情報画像を合成しない領域とを一致させる場合である。したがって、その領域以外に情報画像を合成することとなる。
(4) 「筆記情報不取得A」とは、説明部分領域を指定する場合であって、その領域では筆記情報を取得しないことを優先させるものである。つまり、指定された領域よりも拡大した領域に情報画像を合成させないようにするものである。したがって、その拡大領域以外に情報画像を合成することとなり、情報画像を合成する領域自体は原稿画像判読性優先の場合よりも小さくなる。
(5) 「筆記情報不取得B」とは、説明部分領域を指定する場合であって、その領域以外では筆記情報を取得することを優先させるものである。つまり、指定された領域よりも縮小した領域に情報画像を合成させないようにするものである。したがって、その縮小領域以外に情報画像を合成することとなり、情報画像を合成する領域自体は原稿画像判読性優先の場合よりも大きくなる。
(3) “Document image readability priority” is a case where an explanation partial area is designated, and the area is matched with an area where the information image is not combined. Therefore, the information image is synthesized outside the area.
(4) “Writing information non-acquisition A” is a case where an explanation partial area is designated, and priority is given to not acquiring writing information in that area. In other words, the information image is prevented from being combined with an area larger than the designated area. Therefore, the information image is synthesized in a region other than the enlarged region, and the region for synthesizing the information image itself is smaller than that in the case where the document image legibility is prioritized.
(5) “Writing information non-acquisition B” is a case where an explanation partial area is designated, and priority is given to acquiring writing information in other areas. That is, the information image is prevented from being combined with an area smaller than the designated area. Therefore, the information image is synthesized in the area other than the reduced area, and the area for synthesizing the information image itself becomes larger than that in the case where the document image legibility is prioritized.

領域変更モジュール130は、領域指定モジュール120、重畳画像生成モジュール140、色変換モジュール150と接続されている。領域指定モジュール120によって指定された領域を変更する。そして、対象画像、変更した領域、その領域の属性を重畳画像生成モジュール140、色変換モジュール150へ渡す。領域の変更として、拡大と縮小がある。なお、重畳画像生成モジュール140、色変換モジュール150へ渡す領域の属性としては、前述の属性の他に、記入部分領域又は説明部分領域のいずれであるかであってもよい。   The area change module 130 is connected to the area designation module 120, the superimposed image generation module 140, and the color conversion module 150. The area designated by the area designation module 120 is changed. Then, the target image, the changed area, and the attribute of the area are passed to the superimposed image generation module 140 and the color conversion module 150. The area change includes enlargement and reduction. It should be noted that the attribute of the area to be transferred to the superimposed image generation module 140 and the color conversion module 150 may be either the entry partial area or the explanation partial area in addition to the attributes described above.

領域の属性として「筆記情報取得優先」又は「筆記情報不取得A」が指定された場合、その領域を拡大する。領域を拡大するとは、その指定された領域を少なくとも含むような領域に大きくすることをいう。
例えば、その拡大は縦横に対して同じ拡大率であってもよいし、縦と横では異なる拡大率であってもよい。そして、拡大の中心を領域の中心にする必要はなく、領域の中心とは異なった位置を拡大の中心とした拡大であってもよい。例えば、拡大の中心を領域の中心から右側にした場合は、左側が右側よりも大きく拡大されることになる。さらに、矩形の領域の場合、上下左右に拡大する幅はそれぞれ異ならせてもよい。
When “writing information acquisition priority” or “writing information non-acquisition A” is designated as the attribute of the area, the area is enlarged. Enlarging an area means enlarging the area to include at least the designated area.
For example, the enlargement may be the same enlargement ratio with respect to the vertical and horizontal directions, or may be different in the vertical and horizontal directions. The center of enlargement does not need to be the center of the region, and may be an enlargement with a position different from the center of the region as the center of enlargement. For example, when the enlargement center is set to the right side from the center of the region, the left side is enlarged more than the right side. Furthermore, in the case of a rectangular region, the widths that expand vertically and horizontally may be different.

領域の属性として「筆記情報不取得B」が指定された場合、その領域を縮小する。領域を縮小するとは、その指定された領域の一部を少なくとも含まないような領域に小さくすることをいう。
例えば、その縮小は縦横に対して同じ縮小率であってもよいし、縦と横では異なる縮小率であってもよい。そして、拡大の中心を領域の中心にする必要はなく、領域の中心とは異なった位置を縮小の中心とした縮小であってもよい。例えば、縮小の中心を領域の中心から右側にした場合は、左側が右側よりも大きく縮小されることになる。さらに、矩形の領域の場合、上下左右に縮小する幅はそれぞれ異ならせてもよい。
この拡大、縮小に関する値(パラメータ、例えば、拡大率、縮小率、拡大する幅、縮小する幅等)は、予め定められた値の他に、情報画像のコード体系、情報画像を読み取るペンの種類等に基づいて決定するようにしてもよい。ここで、ペンの種類に基づいて拡大、縮小に関する値の決定を行う場合は、筆記情報を取得するスキャナ付きペンのペン先とペンに備えられた画像読取モジュールとの位置関係に基づいて行うこととなる。スキャナ付きペンの構造に関しては後述する。
When “writing information non-obtained B” is designated as the attribute of the area, the area is reduced. To reduce the area means to reduce the area so as not to include at least a part of the designated area.
For example, the reduction may be the same reduction ratio in the vertical and horizontal directions, or may be different in the vertical and horizontal directions. The center of enlargement does not need to be the center of the region, and reduction using a position different from the center of the region as the center of reduction may be used. For example, when the center of reduction is set to the right side from the center of the region, the left side is reduced more greatly than the right side. Further, in the case of a rectangular region, the widths to be reduced vertically and horizontally may be different.
The values relating to the enlargement / reduction (parameters, for example, enlargement rate, reduction rate, width to be enlarged, width to be reduced, etc.) are not only predetermined values but also the code system of the information image and the type of pen for reading the information image It may be determined based on the above. Here, when determining the value related to enlargement / reduction based on the type of pen, it is based on the positional relationship between the pen tip of the pen with a scanner for acquiring writing information and the image reading module provided in the pen. It becomes. The structure of the scanner pen will be described later.

重畳画像生成モジュール140は、領域変更モジュール130、重畳画像合成モジュール160と接続されている。領域変更モジュール130によって変更された領域、その領域の属性に基づいて、対象画像に対して合成すべき情報画像を生成する。そして、生成した情報画像を重畳画像合成モジュール160へ渡す。
記入部分領域であることを示す属性である場合は、変更された領域内に対して重畳する合成ができるように情報画像を生成する。
説明部分領域であることを示す属性である場合は、変更された領域以外の領域に対して重畳する合成ができるように情報画像を生成する。
The superimposed image generation module 140 is connected to the region change module 130 and the superimposed image synthesis module 160. Based on the area changed by the area changing module 130 and the attribute of the area, an information image to be combined with the target image is generated. Then, the generated information image is transferred to the superimposed image synthesis module 160.
If the attribute is an entry partial area, an information image is generated so as to be superimposed on the changed area.
If the attribute is an explanatory partial area, an information image is generated so that the composition can be superimposed on an area other than the changed area.

色変換モジュール150は、領域変更モジュール130、重畳画像合成モジュール160と接続されている。領域変更モジュール130によって変更された領域又はその変更された領域以外の領域を対象として、色変換を行う。色変換の処理として、具体的には、例えば、黒色を他の色(つまり、黒以外の色)の合成で表現する色変換を施す。より具体的には、例えば、YMCK(Yellow、Magenta、Cyan、blacK)色空間におけるKを他のYMCで表現することをいう。つまり、赤外線を吸収しやすい黒色を赤外線を吸収しにくい黒以外の色で合成して表現することをいう。そして、色変換を行った対象画像を重畳画像合成モジュール160へ渡す。   The color conversion module 150 is connected to the area change module 130 and the superimposed image composition module 160. Color conversion is performed for an area changed by the area change module 130 or an area other than the changed area. Specifically, as the color conversion processing, for example, color conversion is performed in which black is expressed by combining other colors (that is, colors other than black). More specifically, for example, K in the YMCK (Yellow, Magenta, Cyan, blackK) color space is expressed by another YMC. That is, it means that black that easily absorbs infrared rays is combined and expressed with a color other than black that hardly absorbs infrared rays. Then, the target image that has undergone color conversion is passed to the superimposed image synthesis module 160.

また、領域変更モジュール130から受け取った領域の属性に基づいて、色変換を行う対象の領域として、領域変更モジュール130によって変更された領域であるのか、その変更された領域以外の領域であるのかを決定する。つまり、属性が「筆記情報取得」、「筆記情報取得優先」の場合は、領域内の画像を対象として色変換を行い、属性が「原稿画像判読性優先」、「筆記情報不取得A」、「筆記情報不取得B」の場合は、その領域以外の領域の画像を対象として色変換を行う。これによって、前述したYMCK色空間の例では、情報画像が合成される領域はKが使用されずに、Kの代わりにYMCが合成された色で表現され、情報画像が合成されない領域は、そのような色変換は行わないことになる。ただし、通常の色変換(例えば、画像出力モジュール170が出力する装置に合わせた色変換)の処理は領域にかかわらずに行うようにしてもよい。色変換モジュール150が行う処理については、図3、図4を用いて後述する。   Further, based on the region attributes received from the region change module 130, whether the region to be subjected to color conversion is a region that has been changed by the region change module 130 or a region other than the changed region. decide. That is, when the attributes are “writing information acquisition” and “writing information acquisition priority”, color conversion is performed on the image in the region, and the attributes are “document image readability priority”, “writing information non-acquisition A”, In the case of “writing information non-acquisition B”, color conversion is performed on an image in a region other than the region. As a result, in the above-described example of the YMCK color space, the area where the information image is synthesized is not used, and K is used instead of K, and the area where the information image is not synthesized is represented by that color. Such color conversion is not performed. However, normal color conversion (for example, color conversion adapted to the device output by the image output module 170) may be performed regardless of the area. The processing performed by the color conversion module 150 will be described later with reference to FIGS.

重畳画像合成モジュール160は、重畳画像生成モジュール140、色変換モジュール150、画像出力モジュール170と接続されている。色変換モジュール150によって色変換された領域を少なくとも含めた領域内の画像に対して、重畳画像生成モジュール140が生成した情報画像を合成する。また、領域変更モジュール130によって変更された領域に基づいて、色変換モジュール150によって色変換された領域を少なくとも含めた領域内の画像に対して情報画像を合成するようにしてもよい。そして、情報画像を合成した画像を画像出力モジュール170へ渡す。   The superimposed image synthesis module 160 is connected to the superimposed image generation module 140, the color conversion module 150, and the image output module 170. The information image generated by the superimposed image generation module 140 is combined with an image in an area including at least the area subjected to color conversion by the color conversion module 150. Further, based on the area changed by the area changing module 130, an information image may be synthesized with an image in an area including at least the area color-converted by the color conversion module 150. Then, an image obtained by combining the information images is transferred to the image output module 170.

画像出力モジュール170は、重畳画像合成モジュール160と接続されている。重畳画像合成モジュール160によって対象画像受付モジュール110が受け付けた対象画像に情報画像が合成された画像を受け取り、その画像を出力する。画像を出力するとは、例えば、プリンタ等の印刷装置で印刷すること、ディスプレイ等の表示装置に表示すること、ファックス等の画像送信装置で画像を送信すること、画像データベース等の画像記憶装置へ画像を書き込むこと、メモリーカード等の記憶媒体に記憶すること等が含まれる。なお、印刷装置で印刷する媒体として、紙、OHP(OverHead Projector)用のフィルム等を含む。なお、画像出力モジュール170が出力する画像は、色変換モジュール150によって色変換が行われた画像を含んでいるので、カラー画像である。ただし、出力する画像は、人間にとっては黒と判別されるものだけであってもよい。前述したように、人間にとっては黒と判別されるものであっても、KをYMCの合成で表現したものが含まれているからである。   The image output module 170 is connected to the superimposed image composition module 160. An image obtained by combining the information image with the target image received by the target image receiving module 110 by the superimposed image combining module 160 is received, and the image is output. To output an image is, for example, printing on a printing device such as a printer, displaying on a display device such as a display, transmitting an image on an image transmission device such as a fax, or image to an image storage device such as an image database. , And storing in a storage medium such as a memory card. In addition, paper, a film for OHP (OverHead Projector), etc. are included as a medium printed with a printing apparatus. Note that the image output by the image output module 170 is a color image because it includes an image that has been color-converted by the color conversion module 150. However, the image to be output may be only one that is determined to be black for humans. This is because, as described above, even if it is determined to be black for human beings, K is expressed by YMC composition.

図2は、本実施の形態による処理例を示すフローチャートである。
ステップS202では、対象画像受付モジュール110が、対象画像を受け付ける。
図5は、対象画像の例である文書画像500を示す説明図である。文書画像500は、説明部分領域510、記入部分領域520が含まれている。記入部分領域520は手書きの文字が記入される領域であり、説明部分領域510はその説明文が記載されている領域である。
FIG. 2 is a flowchart showing an example of processing according to this embodiment.
In step S202, the target image receiving module 110 receives the target image.
FIG. 5 is an explanatory diagram illustrating a document image 500 that is an example of a target image. The document image 500 includes an explanation partial area 510 and an entry partial area 520. The entry partial area 520 is an area in which handwritten characters are entered, and the explanation partial area 510 is an area in which the explanation is written.

ステップS204では、領域指定モジュール120が、操作者の操作に応じて、対象画像内の領域、その領域の属性を指定する。図5の例に示す文書画像500では、指定される領域として説明部分領域510又は記入部分領域520である。記入部分領域520が領域として指定されるとは、少なくともその記入部分領域520内に情報画像を合成することを意図しているものであり、属性としては「筆記情報取得」又は「筆記情報取得優先」が指定される。説明部分領域510が領域として指定されるとは、少なくともその説明部分領域510内の部分は情報画像が合成されないことを意図しているものであり、属性としては「原稿画像判読性優先」、「筆記情報不取得A」又は「筆記情報不取得B」が指定される。   In step S204, the area specifying module 120 specifies an area in the target image and an attribute of the area in accordance with an operation by the operator. In the document image 500 shown in the example of FIG. 5, the designated partial area is the explanation partial area 510 or the entry partial area 520. The entry partial area 520 is designated as an area is intended to at least synthesize an information image in the entry partial area 520, and the attribute is “writing information acquisition” or “writing information acquisition priority” Is specified. The explanation partial area 510 is designated as an area, which means that at least a part in the explanation partial area 510 is intended not to synthesize an information image, and attributes include “original image readability priority”, “ "Writing information not acquired A" or "Writing information not acquired B" is designated.

ここで、情報画像について、図6を用いて説明する。図6は、情報画像の例を示す説明図である。
この例は、米国ゼロックス社のパロアルト研究所で開発された、角度の異なる斜線でデータを表現するグリフコード(例えば、特開平6−103390号公報、特開平6−75795号公報)を情報画像であるコードシンボルとして用いた2次元コードパターン画像である。
Here, the information image will be described with reference to FIG. FIG. 6 is an explanatory diagram illustrating an example of an information image.
In this example, a glyph code (for example, JP-A-6-103390, JP-A-6-75795) developed by the Palo Alto Research Institute of Xerox Corporation in the United States is used as an information image. It is a two-dimensional code pattern image used as a certain code symbol.

この例では、単位領域600は8シンボル×8シンボルの正方形領域である。各シンボルの値は、図6(b)、図6(c)に示すように斜線パターンで表現される。この例では、シンボル値0は垂直線に対して反時計回りに45度の角度をなす右下がりの斜線(図6(b)の例のパターン0)で、シンボル値1は垂直線に対して時計回りに45度の角度をなす右上がりの斜線(図6(c)の例のパターン1)で表現される。   In this example, the unit area 600 is a square area of 8 symbols × 8 symbols. The value of each symbol is represented by a hatched pattern as shown in FIGS. 6 (b) and 6 (c). In this example, symbol value 0 is a downward slanting line (pattern 0 in the example of FIG. 6B) that forms an angle of 45 degrees counterclockwise with respect to the vertical line, and symbol value 1 is relative to the vertical line. It is represented by a diagonal line that goes upward 45 degrees clockwise (pattern 1 in the example of FIG. 6C).

このうち、位置コード画像602は、単位領域600の左上隅の6シンボル×6シンボルの正方形の画像であり、識別コード画像604は、単位領域600からその6×6シンボルの正方形を引いた残りの逆L字領域の画像となる。   Among these, the position code image 602 is a square image of 6 symbols × 6 symbols in the upper left corner of the unit area 600, and the identification code image 604 is the remaining area obtained by subtracting the 6 × 6 symbols square from the unit area 600. This is an image of an inverted L-shaped area.

また、この例では、単位領域600の外周に沿って縦横の各方向に、同期コード606の列及び行を設けている。この例では、同期コード606は、右上がり(「1」)の斜線シンボルの連続であり、シンボルのサイズと配列ピッチは単位領域600内のシンボルサイズ及びピッチと同じである。同期コード606は、縦及び横に等間隔で設けられ、それら同期コード606で囲まれる正方形領域に各単位領域600が設けられる。同期コード606は、各単位領域600の区切りを示す。すなわち、2次元コードパターン画像を読み取った装置では、右上がりのシンボルが連続している行及び列を検出すると、それら行と列とで形成される格子の網目の内部を単位領域600と認識することができ、その単位領域600の左上隅の6×6のシンボルが位置コード画像602と認識できる。   In this example, columns and rows of the synchronization code 606 are provided in the vertical and horizontal directions along the outer periphery of the unit region 600. In this example, the synchronization code 606 is a series of diagonal symbols that rise to the right (“1”), and the symbol size and arrangement pitch are the same as the symbol size and pitch in the unit region 600. The synchronization code 606 is provided at equal intervals in the vertical and horizontal directions, and each unit area 600 is provided in a square area surrounded by the synchronization code 606. The synchronization code 606 indicates a break of each unit area 600. That is, when a device that reads a two-dimensional code pattern image detects a row and a column in which right-up symbols are continuous, the inside of a mesh of a lattice formed by the row and the column is recognized as a unit region 600. The 6 × 6 symbol at the upper left corner of the unit area 600 can be recognized as the position code image 602.

なお、同期コード606は、単位領域600又は位置コード画像602の場所を特定することができるものであれば、図6に例示したようなものでなくてもよい。例えば、単位領域600の四隅に斜線シンボルとは異なる特定形状のシンボルを配置したものを同期コード606としてもよい。図6の例では、同期コード606のためにシンボル1つ分の幅の行及び列を使ったが、同期コード606を構成するマークが十分に小さいものであれば、単位領域600を隙間なく2次元配列し、隣接する単位領域600の余白部分にそのマークを配置するようにしてもよい。   The synchronization code 606 may not be the one illustrated in FIG. 6 as long as the location of the unit region 600 or the position code image 602 can be specified. For example, the synchronization code 606 may be a symbol in which symbols having a specific shape different from the hatched symbols are arranged at the four corners of the unit region 600. In the example of FIG. 6, a row and a column having a width corresponding to one symbol are used for the synchronization code 606. However, if the mark constituting the synchronization code 606 is sufficiently small, the unit area 600 can be divided into 2 without a gap. The marks may be arranged in a dimensional arrangement, and the mark is arranged in the margin of the adjacent unit region 600.

図6の例では、1つの位置コード画像602には合計36シンボル、すなわち36ビットのデータが格納されている。36ビットのうち、18ビットをx座標の符号化に、18ビットをy座標の符号化に使用することができる。各18ビットを全て位置の符号化に使用すると、2^18通り(約26万通り)の位置を符号化できる。各斜線パターンが、図6(b)、図6(c)の例に示したように8画素×8画素で構成されている場合、600dpi(ドット・パー・インチ)で印刷すると、600dpiの1ドットの縦横の長さは0.0423mmなので、縦横共に、図6の2次元コード(同期コード606を含む)の縦、横の長さは3mm程度(=1シンボル当たり8画素×9シンボル×0.0423mm)となる。3mm間隔で26万通りの位置を符号化した場合、約786mの長さを符号化できる。読取の精度がよければ18ビット全てを位置の符号化に使用することもできるが、読取エラーが問題となる場合は、誤り検出や誤り訂正のための冗長ビットを含めることが好適である。18ビットに占める冗長ビットの割合を増やすと誤り検出や誤り訂正の能力が高まるが、表現できる位置の範囲が小さくなる。   In the example of FIG. 6, one position code image 602 stores a total of 36 symbols, that is, 36-bit data. Of the 36 bits, 18 bits can be used for encoding the x coordinate and 18 bits can be used for encoding the y coordinate. If all 18 bits are used for position encoding, 2 ^ 18 (about 260,000) positions can be encoded. When each hatched pattern is composed of 8 pixels × 8 pixels as shown in the examples of FIGS. 6B and 6C, when printing at 600 dpi (dot per inch), 1 of 600 dpi is used. Since the vertical and horizontal lengths of the dots are 0.0423 mm, the vertical and horizontal lengths of the two-dimensional code (including the synchronization code 606) in FIG. 6 are about 3 mm (= 8 pixels × 9 symbols × 0 per symbol). 0.0423 mm). When 260,000 positions are encoded at intervals of 3 mm, a length of about 786 m can be encoded. If the reading accuracy is good, all 18 bits can be used for position coding. However, if a reading error becomes a problem, it is preferable to include redundant bits for error detection and error correction. Increasing the proportion of redundant bits in 18 bits increases error detection and error correction capability, but the range of positions that can be expressed decreases.

また、図6の例では、識別コード画像604は、2ビット×8ビットの矩形領域及び2ビット×6ビットの矩形領域に配置されており、合計28ビットの識別情報を格納できる。識別情報として28ビットを使用した場合は、約2億7千万通り(2^28通り)の識別情報を表現できるが、28ビットのうちのいくつかのビットを誤り検出や誤り訂正のための冗長ビットとすることで読取エラーに対処できるようにしてもよい。なお、識別情報とは、例えば、用紙を一意的に識別する用紙識別番号等である。識別情報が用紙識別番号である場合、1つの用紙に印刷される単位領域600内の識別コード画像604は同じものとなる。もちろん、単位領域600内の位置コード画像602によって表される位置情報は、その用紙内における位置を示す情報であるので、それぞれの単位領域600内の位置コード画像602は異なったものとなる。   In the example of FIG. 6, the identification code image 604 is arranged in a rectangular area of 2 bits × 8 bits and a rectangular area of 2 bits × 6 bits, and can store identification information of a total of 28 bits. When 28 bits are used as identification information, approximately 270 million (2 ^ 28) identification information can be expressed, but some of the 28 bits are used for error detection and error correction. Redundant bits may be used to cope with reading errors. The identification information is, for example, a sheet identification number that uniquely identifies a sheet. When the identification information is a sheet identification number, the identification code images 604 in the unit area 600 printed on one sheet are the same. Of course, since the position information represented by the position code image 602 in the unit area 600 is information indicating the position in the sheet, the position code image 602 in each unit area 600 is different.

以上の例では、互いに角度が90度異なる2つの斜線パターンをシンボルとして用いることで1シンボルで1ビットのデータを表現したが、これは一例にすぎない。例えばシンボルに垂直線と水平線のパターンを追加すれば2ビットの情報を1シンボルで表現できる。このように、1シンボルの斜線パターンの角度種類を増やすことで、1シンボルが表現できるビット数を増加することも可能である。また、グリフコード以外の情報画像を用いてもよい。   In the above example, 1-bit data is represented by one symbol by using two oblique line patterns having angles different from each other by 90 degrees as a symbol, but this is only an example. For example, if a pattern of vertical lines and horizontal lines is added to a symbol, 2-bit information can be expressed by one symbol. As described above, it is also possible to increase the number of bits that one symbol can represent by increasing the angle types of the oblique line pattern of one symbol. An information image other than the glyph code may be used.

このような情報画像を読み取るスキャナ付きペン(スキャナ型ペン)がある。図7は、情報画像を読み取れるスキャナ付きペン710の構造例を示す説明図である。なお、コード印刷媒体701上には、情報画像が印刷されている。
スキャナ付きペン710は、芯711、画像読取モジュール712、制御・送信モジュール713を有している。スキャナ付きペン710の操作者の操作に応じて、芯711によってコード印刷媒体701上に文字等が筆記される。そして、画像読取モジュール712は、例えば数十から百数十フレーム毎秒程度の比較的高速な連続撮像を行い、フレームごとにスキャンしてから読取画像を制御・送信モジュール713へ出力する。画像読取モジュール712による画像の読み取りは、赤外線を吸収する色(例えば、黒色)だけを読み取るようにしてもよい。そして、情報画像は、赤外線を吸収する色によって印刷されている。制御・送信モジュール713は、画像読取モジュール712が読み取った画像を情報処理装置へ送信する。読取画像を受信した情報処理装置(制御・送信モジュール713が内蔵していてもよい)は、読取画像中から同期コード606を検出する。図6の例のようなコードパターン画像の場合、右上がりの斜線パターンが連続して現れる行及び列を同期コード606の行、列として検出する。なお、同期コードとしては図6に例示したもの以外にも従来から提案されている様々なものを用いることができ、その同期コードの種類に応じた従来からある検出方式で検出できる。
There is a pen with a scanner (scanner type pen) for reading such an information image. FIG. 7 is an explanatory diagram showing a structure example of a pen 710 with a scanner that can read an information image. An information image is printed on the code print medium 701.
The pen 710 with a scanner has a core 711, an image reading module 712, and a control / transmission module 713. In accordance with the operation of the operator of the pen 710 with a scanner, characters or the like are written on the code print medium 701 by the core 711. Then, the image reading module 712 performs relatively high-speed continuous imaging at, for example, about several tens to hundreds of tens of frames per second, scans every frame, and then outputs the read image to the control / transmission module 713. In the image reading by the image reading module 712, only a color that absorbs infrared rays (for example, black) may be read. The information image is printed with a color that absorbs infrared rays. The control / transmission module 713 transmits the image read by the image reading module 712 to the information processing apparatus. The information processing apparatus (which may be built in the control / transmission module 713) that has received the read image detects the synchronization code 606 from the read image. In the case of the code pattern image as in the example of FIG. 6, a row and a column in which a right-up oblique line pattern continuously appears are detected as a row and a column of the synchronization code 606. As the synchronization code, various conventionally proposed codes other than those illustrated in FIG. 6 can be used, and detection can be performed by a conventional detection method corresponding to the type of the synchronization code.

読取画像から、位置コード画像602と識別コード画像604とが抽出される。コード読取装置は、それら位置コード画像602と識別コード画像604に対してコード認識処理を施すことで、位置情報と識別情報を再生する。ここで行われるコード認識処理は、大略的にいえば、情報画像の生成処理の逆の処理である。識別コード画像604を代表として説明すると、情報処理装置は、まず識別コード画像604から各斜線シンボルを認識することで、各シンボルの値を求め、各シンボルの値を識別コード画像604中での各シンボルの配列位置に合わせて配列した識別コード行列を求める。そして、この識別コード行列に対し、直列的(シリアル)な識別コードを求め、この識別コードに対し、符号化方式に対応した復号処理を施すことで、識別情報を復号する。位置コード画像602についても、同等の処理により、位置情報を復号できる。1フレームごとに前述の抽出及び認識の処理を行い、位置情報及び識別情報を求める。   A position code image 602 and an identification code image 604 are extracted from the read image. The code reader reproduces the position information and the identification information by performing a code recognition process on the position code image 602 and the identification code image 604. The code recognition process performed here is roughly the reverse of the information image generation process. To explain the identification code image 604 as a representative, the information processing apparatus first recognizes each hatched symbol from the identification code image 604 to obtain the value of each symbol, and determines the value of each symbol in each identification code image 604. An identification code matrix arranged in accordance with the symbol arrangement position is obtained. Then, a serial identification code is obtained for the identification code matrix, and the identification information is decoded by performing a decoding process corresponding to the encoding method on the identification code. With respect to the position code image 602, the position information can be decoded by the same process. The extraction and recognition processes described above are performed for each frame to obtain position information and identification information.

このようにして各フレームの読取画像から求められた位置情報及び識別情報は、これら情報を利用するアプリケーションソフトウェアに提供され、利用される。例えば、情報画像が印刷された用紙に対し、操作者がスキャナ付きペン710で書き込んだ筆記跡を電子情報として取り込むアプリケーションの場合、識別情報からその用紙を特定してその用紙の原画像を取得し、連続して読み取られる各フレームから取得した位置情報から操作者の筆記の軌跡を求め、その軌跡を示す画像を原画像に重畳して記録するなどの処理を行う。   The position information and the identification information obtained from the read image of each frame in this way are provided to and used by application software that uses these information. For example, in the case of an application that captures, as electronic information, a handwriting written by an operator using a pen 710 with a scanner on a sheet on which an information image is printed, the original image of the sheet is acquired by identifying the sheet from the identification information. Then, processing such as obtaining the trajectory of the operator's writing from the position information acquired from each frame that is continuously read and recording an image indicating the trajectory superimposed on the original image is performed.

例えば、指定された領域のみに情報画像を合成した場合、記入部分の領域の端部に筆記した情報を取得できないことがある。図7の例に示されるとおり、筆記情報を取得するスキャナ付きペン710は、ペン先の座標を直接求めているのではなく、ペン先とは少しずれた領域(スキャナ付きペン710の構造による)の画像を取得し、そこの情報画像から位置情報を取得し、ペン先と画像読取モジュール712との位置関係等から、ペン先の座標を推定しているためである。つまり、ペンの持ち方などによっては、記入部分の領域内にスキャナ付きペン710で筆記したとしても、画像読取モジュール712で撮像している部分に情報画像がない場合がある。特に、情報画像が合成された領域と情報画像が合成されていない領域の境界において発生しやすい。そして、撮像画像から位置情報が取得できないので、ペン先の座標の推定もできないこととなる。又は、記入部分の領域をはみ出て筆記が行われた場合等があるからである。また逆に、抽出すべきでない筆記情報を抽出してしまうことも起こりえる。情報画像が合成されていない領域に筆記しているにもかかわらず、ペンの持ち方などによっては、画像読取モジュール512で撮像している部分に情報画像がある場合があるからである。   For example, when an information image is synthesized only in a designated area, information written at the end of the entry area may not be acquired. As shown in the example of FIG. 7, the pen 710 with a scanner for acquiring writing information does not directly obtain the coordinates of the pen tip, but is an area slightly shifted from the pen tip (depending on the structure of the pen 710 with a scanner). This is because the position information is acquired from the information image, and the coordinates of the pen tip are estimated from the positional relationship between the pen tip and the image reading module 712 and the like. In other words, depending on how the pen is held, there is a case where there is no information image in the portion imaged by the image reading module 712 even if writing is performed with the pen 710 with a scanner in the area of the entry portion. In particular, it is likely to occur at the boundary between a region where the information image is combined and a region where the information image is not combined. Since position information cannot be acquired from the captured image, the coordinates of the pen tip cannot be estimated. Alternatively, there may be cases where writing is performed outside the area of the entry portion. Conversely, writing information that should not be extracted may be extracted. This is because the information image may be present in the part imaged by the image reading module 512, depending on how the pen is held, even though the information image is written in an unsynthesized area.

ここで、ステップS204、ステップS206が行われない場合について説明する。図8は、文書画像500に情報画像を合成した例を示す説明図である。文書画像500は、説明部分領域510、記入部分領域520、重畳領域810を有している。重畳領域810と文書画像500が同じであるので、情報画像が一面に合成されている。記入部分領域520には情報画像が合成されている必要があるが、筆記される可能性が低い領域である説明部分領域510に対しても情報画像が合成されてしまっている。これによって、説明部分領域510の判読性が落ちることになる。   Here, the case where step S204 and step S206 are not performed will be described. FIG. 8 is an explanatory diagram illustrating an example in which an information image is combined with the document image 500. The document image 500 has an explanation partial area 510, an entry partial area 520, and an overlapping area 810. Since the overlapping area 810 and the document image 500 are the same, the information image is combined on one side. Although the information image needs to be synthesized in the entry partial area 520, the information image is also synthesized in the explanation partial area 510, which is an area where the possibility of writing is low. As a result, the legibility of the explanation partial area 510 is lowered.

ステップS206では、領域変更モジュール130が、ステップS204で指定された領域を、その属性に基づいて変更する。
図9は、本実施の形態において、文書画像500に情報画像を合成する処理例を示す説明図である。説明部分領域510、記入部分領域520を含む文書画像500(図9(a))に対して、操作者の操作に応じて記入部分領域520を囲む指定領域920bが指定された場合であり、その指定領域920bの属性は筆記情報取得優先であるとする(図9(b))。この場合、領域変更モジュール130は、指定領域920bを少なくとも含む拡大を行い、指定領域920bを重畳領域920cに変更する(図9(c))。
In step S206, the area change module 130 changes the area specified in step S204 based on the attribute.
FIG. 9 is an explanatory diagram showing an example of processing for combining an information image with a document image 500 in the present embodiment. This is a case where a designated area 920b surrounding the entry partial area 520 is designated according to the operation of the operator for the document image 500 (FIG. 9A) including the explanation partial area 510 and the entry partial area 520. It is assumed that the attribute of the designation area 920b has priority to obtain writing information (FIG. 9B). In this case, the area change module 130 performs enlargement including at least the designated area 920b, and changes the designated area 920b to the overlapping area 920c (FIG. 9C).

図10は、本実施の形態において、文書画像500に情報画像を合成する処理例を示す説明図である。説明部分領域510を含む文書画像500(図10(a)、つまり説明部分領域510以外は自由な記載が許されているような場合)に対して、操作者の操作に応じて説明部分領域510を囲む指定領域1020bが指定された場合(非指定領域1010bは指定領域1020bを除いた領域となる)であり、その指定領域1020bの属性は筆記情報不取得Aであるとする(図10(b))。この場合、領域変更モジュール130は、指定領域1020bを少なくとも含む拡大を行い、指定領域1020bを非重畳領域1020c(情報画像を合成する領域である重畳領域1010cは非重畳領域1020cを除いた領域となる)に変更する(図10(c))。また、指定領域1020bの属性が筆記情報不取得Bである場合(図10(b))、領域変更モジュール130は、指定領域1020bの縮小を行い、指定領域1020bを非重畳領域1020d(情報画像を合成する領域である重畳領域1010dは非重畳領域1020dを除いた領域となる)に変更する(図10(d))。   FIG. 10 is an explanatory diagram showing a processing example of combining an information image with a document image 500 in the present embodiment. For the document image 500 including the explanation partial area 510 (FIG. 10A, that is, in the case where free description is permitted except for the explanation partial area 510), the explanation partial area 510 according to the operation of the operator. Is designated (the non-designated area 1010b is an area excluding the designated area 1020b), and the attribute of the designated area 1020b is writing information non-acquisition A (FIG. 10B). )). In this case, the area changing module 130 performs enlargement including at least the designated area 1020b, and converts the designated area 1020b into the non-overlapping area 1020c (the overlapping area 1010c, which is the area where the information image is synthesized, is an area excluding the non-overlapping area 1020c. (Fig. 10 (c)). Also, when the attribute of the designated area 1020b is the writing information non-acquisition B (FIG. 10 (b)), the area changing module 130 reduces the designated area 1020b and changes the designated area 1020b to the non-overlapping area 1020d (information image). The overlapping area 1010d, which is the area to be combined, is an area excluding the non-overlapping area 1020d) (FIG. 10D).

図11は、本実施の形態において、文書画像500に情報画像を合成する処理例を示す説明図である。図10の例と異なるところは、文書画像500が説明部分領域510以外に記入部分領域520を含んでいる点である。つまり、記入部分領域520だけでなく、その他の部分に対しても情報画像を合成するようにしてもよい例を示している。   FIG. 11 is an explanatory diagram showing a processing example of combining an information image with a document image 500 in the present embodiment. A difference from the example of FIG. 10 is that the document image 500 includes an entry partial area 520 in addition to the explanation partial area 510. That is, an example is shown in which the information image may be combined not only with the entry portion area 520 but also with other portions.

ステップS208では、重畳画像生成モジュール140が、ステップS206で変更された領域、属性に基づいて、対象画像に重畳する情報画像を生成する。つまり、例えば、識別情報、その領域内の各位置を示す位置情報から情報画像からなる重畳画像を生成する。
ステップS210では、色変換モジュール150が、ステップS206で変更された領域、属性に基づいて、対象画像内の色変換を行う。この処理については、図3、図4を用いて後述する。
ステップS212では、重畳画像合成モジュール160が、対象画像にステップS208で生成した重畳画像をステップS210で色変換された対象画像に合成する。
ステップS214では、画像出力モジュール170が、ステップS212で対象画像に重畳画像を合成した画像を出力する。
In step S208, the superimposed image generation module 140 generates an information image to be superimposed on the target image based on the region and attribute changed in step S206. That is, for example, a superimposed image including an information image is generated from the identification information and position information indicating each position in the area.
In step S210, the color conversion module 150 performs color conversion in the target image based on the region and attribute changed in step S206. This process will be described later with reference to FIGS.
In step S212, the superimposed image synthesis module 160 synthesizes the superimposed image generated in step S208 with the target image and the target image color-converted in step S210.
In step S214, the image output module 170 outputs an image obtained by combining the superimposed image with the target image in step S212.

図3は、本実施の形態の色変換モジュール150のより具体的なモジュール構成例を示す説明図である。
色変換モジュール150は、分配モジュール151、色変換Aモジュール152、色変換Bモジュール153を有している。
分配モジュール151は、色変換Aモジュール152、色変換Bモジュール153と接続されている。領域変更モジュール130から領域情報301(領域、その領域の属性)、対象画像302を受け取り、対象画像302内を色変換Aを行う領域と色変換Bを行う領域とに分ける。そして、色変換Aを行う領域を色変換Aモジュール152へ渡し、色変換Bを行う領域を色変換Bモジュール153へ渡す。つまり、領域情報301に応じて、対象画像302内の領域を分けて、色変換Aモジュール152へ渡すのか色変換Bモジュール153へ渡すのかを決定する。
FIG. 3 is an explanatory diagram showing a more specific module configuration example of the color conversion module 150 of the present embodiment.
The color conversion module 150 includes a distribution module 151, a color conversion A module 152, and a color conversion B module 153.
The distribution module 151 is connected to the color conversion A module 152 and the color conversion B module 153. The region information 301 (region, attribute of the region) and the target image 302 are received from the region change module 130, and the target image 302 is divided into a region for performing color conversion A and a region for performing color conversion B. Then, the area for performing color conversion A is transferred to the color conversion A module 152, and the area for performing color conversion B is transferred to the color conversion B module 153. That is, according to the area information 301, the area in the target image 302 is divided and determined to be passed to the color conversion A module 152 or the color conversion B module 153.

色変換Aモジュール152は、分配モジュール151と接続されている。分配モジュール151から領域内の画像を受け取り、前述した例のようにYMCK色空間におけるKを他のYMCで表現する色変換を行う。そして、YMC303で表現された領域の画像を重畳画像合成モジュール160へ渡す。
色変換Bモジュール153は、分配モジュール151と接続されている。分配モジュール151から領域内の画像を受け取り、前述した例のように通常の色変換の処理を行う。そして、YMCK304で表現された領域の画像を重畳画像合成モジュール160へ渡す。なお、色変換Bモジュール153は、色変換処理を行わなくてもよい。
また、色変換Aモジュール152による色変換は、色変換Bモジュール153による色変換と同等の処理をさらに行うようにしてもよい。ただし、出力としてKを含むような色変換は含まない。
The color conversion A module 152 is connected to the distribution module 151. An image in the area is received from the distribution module 151, and color conversion is performed in which K in the YMCK color space is expressed by another YMC as in the above-described example. Then, the image of the area expressed by YMC 303 is passed to the superimposed image synthesis module 160.
The color conversion B module 153 is connected to the distribution module 151. An image in the area is received from the distribution module 151, and normal color conversion processing is performed as in the above-described example. Then, the image of the area expressed by YMCK 304 is passed to the superimposed image synthesis module 160. Note that the color conversion B module 153 does not have to perform color conversion processing.
Further, the color conversion by the color conversion A module 152 may be further performed in the same manner as the color conversion by the color conversion B module 153. However, color conversion that includes K as an output is not included.

図4は、色変換モジュール150による処理例を示すフローチャートである。
ステップS402では、分配モジュール151が、領域変更モジュール130から、領域情報301、対象画像302を受け取る。
ステップS404では、分配モジュール151が、領域情報301に応じて、対象画像302内の領域の画像を色変換Aモジュール152又は色変換Bモジュール153へ分配する。
ステップS406では、色変換Aモジュール152が、情報画像と合成する対象画像内の領域をYMCで表現する色変換を行う。
ステップS408では、色変換Bモジュール153が、情報画像とは合成しない対象画像内の領域をYMCKで表現する色変換を行う。
FIG. 4 is a flowchart illustrating an example of processing performed by the color conversion module 150.
In step S <b> 402, the distribution module 151 receives the region information 301 and the target image 302 from the region change module 130.
In step S <b> 404, the distribution module 151 distributes the image of the area in the target image 302 to the color conversion A module 152 or the color conversion B module 153 according to the area information 301.
In step S406, the color conversion A module 152 performs color conversion in which the area in the target image to be combined with the information image is expressed in YMC.
In step S408, the color conversion B module 153 performs color conversion that expresses a region in the target image that is not combined with the information image in YMCK.

図12を参照して、本実施の形態の画像処理装置のハードウェア構成例について説明する。図12に示す構成は、例えばパーソナルコンピュータ(PC)などによって構成されるものであり、スキャナ等のデータ読み取り部1217と、プリンタなどのデータ出力部1218を備えたハードウェア構成例を示している。   A hardware configuration example of the image processing apparatus according to the present embodiment will be described with reference to FIG. The configuration illustrated in FIG. 12 is configured by, for example, a personal computer (PC), and illustrates a hardware configuration example including a data reading unit 1217 such as a scanner and a data output unit 1218 such as a printer.

CPU(Central Processing Unit)1201は、前述の実施の形態において説明した各種のモジュール、すなわち、領域指定モジュール120、領域変更モジュール130、重畳画像生成モジュール140、色変換モジュール150、重畳画像合成モジュール160等の各モジュールの実行シーケンスを記述したコンピュータ・プログラムにしたがった処理を実行する制御部である。   A CPU (Central Processing Unit) 1201 includes various modules described in the above-described embodiments, that is, an area designation module 120, an area change module 130, a superimposed image generation module 140, a color conversion module 150, a superimposed image composition module 160, and the like. It is a control part which performs the process according to the computer program which described the execution sequence of each module.

ROM(Read Only Memory)1202は、CPU1201が使用するプログラムや演算パラメータ等を格納する。RAM(Random Access Memory)1203は、CPU1201の実行において使用するプログラムや、その実行において適宜変化するパラメータ等を格納する。これらはCPUバスなどから構成されるホストバス1204により相互に接続されている。   A ROM (Read Only Memory) 1202 stores programs used by the CPU 1201, calculation parameters, and the like. A RAM (Random Access Memory) 1203 stores programs used in the execution of the CPU 1201, parameters that change as appropriate during the execution, and the like. These are connected to each other by a host bus 1204 including a CPU bus.

ホストバス1204は、ブリッジ1205を介して、PCI(Peripheral Component Interconnect/Interface)バスなどの外部バス1206に接続されている。   The host bus 1204 is connected to an external bus 1206 such as a PCI (Peripheral Component Interconnect / Interface) bus via a bridge 1205.

キーボード1208、マウス等のポインティングデバイス1209は、操作者により操作される入力デバイスである。ディスプレイ1210は、液晶表示装置又はCRT(Cathode Ray Tube)などがあり、各種情報をテキストやイメージ情報として表示する。   A keyboard 1208 and a pointing device 1209 such as a mouse are input devices operated by an operator. The display 1210 includes a liquid crystal display device or a CRT (Cathode Ray Tube), and displays various types of information as text or image information.

HDD(Hard Disk Drive)1211は、ハードディスクを内蔵し、ハードディスクを駆動し、CPU1201によって実行するプログラムや情報を記録又は再生させる。ハードディスクには、受け付けた対象画像などが格納される。さらに、その他の各種のデータ処理プログラム等、各種コンピュータ・プログラムが格納される。   An HDD (Hard Disk Drive) 1211 incorporates a hard disk, drives the hard disk, and records or reproduces a program executed by the CPU 1201 and information. The received target image is stored in the hard disk. Further, various computer programs such as various other data processing programs are stored.

ドライブ1212は、装着されている磁気ディスク、光ディスク、光磁気ディスク、又は半導体メモリ等のリムーバブル記録媒体1213に記録されているデータ又はプログラムを読み出して、そのデータ又はプログラムを、インタフェース1207、外部バス1206、ブリッジ1205、及びホストバス1204を介して接続されているRAM1203に供給する。リムーバブル記録媒体1213も、ハードディスクと同様のデータ記録領域として利用可能である。   The drive 1212 reads data or a program recorded in a removable recording medium 1213 such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory, and the data or program is read out to the interface 1207 and the external bus 1206. , The bridge 1205, and the RAM 1203 connected via the host bus 1204. The removable recording medium 1213 can also be used as a data recording area similar to a hard disk.

接続ポート1214は、外部接続機器1215を接続するポートであり、USB、IEEE1394等の接続部を持つ。接続ポート1214は、インタフェース1207、及び外部バス1206、ブリッジ1205、ホストバス1204等を介してCPU1201等に接続されている。通信部1216は、ネットワークに接続され、外部とのデータ通信処理を実行する。データ読み取り部1217は、例えばスキャナであり、ドキュメントの読み取り処理を実行する。データ出力部1218は、例えばプリンタであり、ドキュメントデータの出力処理を実行する。   The connection port 1214 is a port for connecting the external connection device 1215 and has a connection unit such as USB, IEEE1394. The connection port 1214 is connected to the CPU 1201 and the like via the interface 1207, the external bus 1206, the bridge 1205, the host bus 1204, and the like. The communication unit 1216 is connected to a network and executes data communication processing with the outside. The data reading unit 1217 is a scanner, for example, and executes document reading processing. The data output unit 1218 is a printer, for example, and executes document data output processing.

なお、図12に示す画像処理装置のハードウェア構成は、1つの構成例を示すものであり、本実施の形態は、図12に示す構成に限らず、本実施の形態において説明したモジュールを実行可能な構成であればよい。例えば、一部のモジュールを専用のハードウェア(例えば特定用途向け集積回路(Application Specific Integrated Circuit:ASIC)等)で構成してもよく、一部のモジュールは外部のシステム内にあり通信回線で接続しているような形態でもよく、さらに図12に示すシステムが複数互いに通信回線によって接続されていて互いに協調動作するようにしてもよい。また、複写機、ファックス、スキャナ、プリンタ、複合機(スキャナ、プリンタ、複写機、ファックス等のいずれか2つ以上の機能を有している画像処理装置)などに組み込まれていてもよい。
なお、前述の各モジュールの処理内容として背景技術で説明した技術を採用してもよい。
Note that the hardware configuration of the image processing apparatus illustrated in FIG. 12 illustrates one configuration example, and the present embodiment is not limited to the configuration illustrated in FIG. 12, and the modules described in the present embodiment are executed. Any configuration is possible. For example, some modules may be configured with dedicated hardware (for example, Application Specific Integrated Circuit (ASIC), etc.), and some modules are in an external system and connected via a communication line In addition, a plurality of systems shown in FIG. 12 may be connected to each other via communication lines so as to cooperate with each other. Further, it may be incorporated in a copying machine, a fax machine, a scanner, a printer, a multifunction machine (an image processing apparatus having any two or more functions of a scanner, a printer, a copying machine, a fax machine, etc.).
The technology described in the background art may be adopted as the processing content of each module described above.

前述の実施の形態においては、領域変更モジュール130によって領域を変更する場合を示したが、領域変更モジュール130がない構成であってもよい。つまり、領域指定モジュール120は、対象画像、指定された領域、その属性を重畳画像生成モジュール140、色変換モジュール150へ渡す。重畳画像生成モジュール140は、指定された領域、その領域の属性に基づいて、対象画像に対して合成すべき情報画像を生成する。そして、色変換モジュール150は、領域指定モジュール120によって指定された領域又はその指定された領域以外の領域を対象として、色変換を行う。なお、領域指定モジュール120から受け取った領域の属性に基づいて、色変換を行う対象の領域として、領域指定モジュール120によって指定された領域であるのか、その指定された領域以外の領域であるのかを決定する。   In the above-described embodiment, the case where the area is changed by the area changing module 130 has been described. However, the area changing module 130 may be omitted. That is, the area specifying module 120 passes the target image, the specified area, and its attributes to the superimposed image generation module 140 and the color conversion module 150. The superimposed image generation module 140 generates an information image to be combined with the target image based on the designated area and the attribute of the area. Then, the color conversion module 150 performs color conversion on an area specified by the area specifying module 120 or an area other than the specified area. Based on the attribute of the area received from the area specifying module 120, it is determined whether the area to be subjected to color conversion is an area specified by the area specifying module 120 or an area other than the specified area. decide.

なお、説明したプログラムについては、記録媒体に格納して提供してもよく、また、そのプログラムを通信手段によって提供してもよい。その場合、例えば、前記説明したプログラムについて、「プログラムを記録したコンピュータ読み取り可能な記録媒体」の発明として捉えてもよい。
「プログラムを記録したコンピュータ読み取り可能な記録媒体」とは、プログラムのインストール、実行、プログラムの流通などのために用いられる、プログラムが記録されたコンピュータで読み取り可能な記録媒体をいう。
なお、記録媒体としては、例えば、デジタル・バーサタイル・ディスク(DVD)であって、DVDフォーラムで策定された規格である「DVD−R、DVD−RW、DVD−RAM等」、DVD+RWで策定された規格である「DVD+R、DVD+RW等」、コンパクトディスク(CD)であって、読出し専用メモリ(CD−ROM)、CDレコーダブル(CD−R)、CDリライタブル(CD−RW)等、ブルーレイ・ディスク(Blu−ray Disc(登録商標))、光磁気ディスク(MO)、フレキシブルディスク(FD)、磁気テープ、ハードディスク、読出し専用メモリ(ROM)、電気的消去及び書換可能な読出し専用メモリ(EEPROM)、フラッシュ・メモリ、ランダム・アクセス・メモリ(RAM)等が含まれる。
そして、前記のプログラム又はその一部は、前記記録媒体に記録して保存や流通等させてもよい。また、通信によって、例えば、ローカル・エリア・ネットワーク(LAN)、メトロポリタン・エリア・ネットワーク(MAN)、ワイド・エリア・ネットワーク(WAN)、インターネット、イントラネット、エクストラネット等に用いられる有線ネットワーク、あるいは無線通信ネットワーク、さらにこれらの組み合わせ等の伝送媒体を用いて伝送させてもよく、また、搬送波に乗せて搬送させてもよい。
さらに、前記のプログラムは、他のプログラムの一部分であってもよく、あるいは別個のプログラムと共に記録媒体に記録されていてもよい。また、複数の記録媒体に分割して
記録されていてもよい。また、圧縮や暗号化など、復元可能であればどのような態様で記録されていてもよい。
The program described above may be provided by being stored in a recording medium, or the program may be provided by communication means. In that case, for example, the above-described program may be regarded as an invention of a “computer-readable recording medium recording the program”.
The “computer-readable recording medium on which a program is recorded” refers to a computer-readable recording medium on which a program is recorded, which is used for program installation, execution, program distribution, and the like.
The recording medium is, for example, a digital versatile disc (DVD), which is a standard established by the DVD Forum, such as “DVD-R, DVD-RW, DVD-RAM,” and DVD + RW. Standard “DVD + R, DVD + RW, etc.”, compact disc (CD), read-only memory (CD-ROM), CD recordable (CD-R), CD rewritable (CD-RW), Blu-ray disc ( Blu-ray Disc (registered trademark), magneto-optical disk (MO), flexible disk (FD), magnetic tape, hard disk, read-only memory (ROM), electrically erasable and rewritable read-only memory (EEPROM), flash Includes memory, random access memory (RAM), etc. .
The program or a part of the program may be recorded on the recording medium for storage or distribution. Also, by communication, for example, a local area network (LAN), a metropolitan area network (MAN), a wide area network (WAN), a wired network used for the Internet, an intranet, an extranet, etc., or wireless communication It may be transmitted using a transmission medium such as a network or a combination of these, or may be carried on a carrier wave.
Furthermore, the program may be a part of another program, or may be recorded on a recording medium together with a separate program. Moreover, it may be divided and recorded on a plurality of recording media. Further, it may be recorded in any manner as long as it can be restored, such as compression or encryption.

110…対象画像受付モジュール
120…領域指定モジュール
130…領域変更モジュール
140…重畳画像生成モジュール
150…色変換モジュール
151…分配モジュール
152…色変換Aモジュール
153…色変換Bモジュール
160…重畳画像合成モジュール
170…画像出力モジュール
701…コード印刷媒体
710…ペン
711…芯
712…画像読取モジュール
713…制御・送信モジュール
DESCRIPTION OF SYMBOLS 110 ... Object image reception module 120 ... Area specification module 130 ... Area change module 140 ... Superimposed image generation module 150 ... Color conversion module 151 ... Distribution module 152 ... Color conversion A module 153 ... Color conversion B module 160 ... Superimposed image composition module 170 Image output module 701 Code printing medium 710 Pen 711 Core 712 Image reading module 713 Control / transmission module

Claims (10)

操作者の操作に応じて、画像内の領域を指定する領域指定手段と、
前記領域指定手段により指定された領域を、当該領域に設定された属性に基づいて変更する領域変更手段と、
前記領域指定手段によって指定された領域又は該指定された領域以外の領域を対象として、色変換を行う色変換手段と、
前記色変換手段によって色変換された領域を少なくとも含めた領域内の画像に対して、位置情報を表す情報画像を合成する情報画像合成手段
を具備し、
前記色変換手段は、黒色を他の色の合成で表現する色変換を施す
ことを特徴とする画像処理装置。
An area specifying means for specifying an area in the image in accordance with an operation of the operator;
Area changing means for changing the area specified by the area specifying means based on the attribute set in the area;
Color conversion means for performing color conversion on an area designated by the area designation means or an area other than the designated area; and
The image color-converted at least including the area of the region by the color conversion means, comprising an information image combining means for combining the information image representing the position information,
The image processing apparatus according to claim 1, wherein the color conversion means performs color conversion that expresses black by combining other colors .
領域に属性を設定する設定手段、  Setting means for setting attributes in the area,
を有し、  Have
前記領域変更手段は、前記設定手段により設定された領域の属性に基づいて当該領域を変更する、  The area changing means changes the area based on the attribute of the area set by the setting means.
請求項1に記載の画像処理装置。  The image processing apparatus according to claim 1.
前記領域変更手段は、前記領域に設定された属性が記入領域を示す場合に、前記領域を拡大させ、  The area changing means enlarges the area when the attribute set in the area indicates an entry area,
前記情報画像合成手段は、  The information image synthesizing means includes
前記領域変更手段により拡大された前記領域に対して前記情報画像を合成する、  Combining the information image with the region enlarged by the region changing means;
請求項1又は2に記載の画像処理装置。  The image processing apparatus according to claim 1.
前記領域変更手段は、前記領域に設定された属性が前記記入領域でない領域を示す場合には、前記領域を拡大又は縮小させ、  The area changing means enlarges or reduces the area when the attribute set in the area indicates an area that is not the entry area,
前記情報画像合成手段は、前記領域に設定された属性が前記記入領域でない領域を示す場合に前記領域変更手段により拡大又は縮小された前記領域に対しては前記情報画像を合成しない、  The information image synthesizing means does not synthesize the information image for the area enlarged or reduced by the area changing means when the attribute set in the area indicates an area that is not the entry area;
請求項1から3のうちのいずれか一項に記載の画像処理装置。  The image processing apparatus according to any one of claims 1 to 3.
前記色変換手段は、前記領域変更手段によって変更された領域又は該変更された領域以外の領域を対象として、色変換を行い、
前記情報画像合成手段は、前記領域変更手段によって変更された領域に基づいて、前記色変換手段によって色変換された領域を少なくとも含めた領域内の画像に対して情報画像を合成する
ことを特徴とする請求項1に記載の画像処理装置。
The color conversion means performs color conversion on an area changed by the area changing means or an area other than the changed area,
The information image synthesizing unit synthesizes an information image with respect to an image in a region including at least the region color-converted by the color conversion unit based on the region changed by the region changing unit. The image processing apparatus according to claim 1 .
前記領域変更手段は、前記領域指定手段によって指定された領域を少なくとも含むように拡大する
ことを特徴とする請求項に記載の画像処理装置。
The image processing apparatus according to claim 5 , wherein the area changing unit enlarges the area so as to include at least the area specified by the area specifying unit.
前記領域変更手段は、前記領域指定手段によって指定された領域を縮小する
ことを特徴とする請求項に記載の画像処理装置。
The image processing apparatus according to claim 5 , wherein the area changing unit reduces the area specified by the area specifying unit.
前記情報画像合成手段は、前記領域変更手段によって変更された領域内に前記情報画像を合成する
ことを特徴とする請求項からうちのいずれか一項に記載の画像処理装置。
The information image synthesizing unit, the image processing apparatus according to any one of the seven claim 5, characterized in that combining the information image within the changed area by the area changing means.
前記情報画像合成手段は、前記領域変更手段によって変更された領域以外の領域に前記情報画像を合成する
ことを特徴とする請求項からうちのいずれか一項に記載の画像処理装置。
The information image synthesizing unit, the image processing apparatus according to any one of the seven claim 5, characterized in that combining the information image in the region other than the changed regions by the region changing means.
コンピュータを、
操作者の操作に応じて、画像内の領域を指定する領域指定手段と、
前記領域指定手段により指定された領域を、当該領域に設定された属性に基づいて変更する領域変更手段と、
前記領域指定手段によって指定された領域又は該指定された領域以外の領域を対象として、色変換を行う色変換手段と、
前記色変換手段によって色変換された領域を少なくとも含めた領域内の画像に対して、位置情報を表す情報画像を合成する情報画像合成手段
として機能させ
前記色変換手段は、黒色を他の色の合成で表現する色変換を施す
ことを特徴とする画像処理プログラム。
Computer
An area specifying means for specifying an area in the image in accordance with an operation of the operator;
Area changing means for changing the area specified by the area specifying means based on the attribute set in the area;
Color conversion means for performing color conversion on an area designated by the area designation means or an area other than the designated area; and
Functioning as an information image synthesizing unit that synthesizes an information image representing position information with respect to an image in a region including at least the region subjected to color conversion by the color converting unit ;
An image processing program characterized in that the color conversion means performs color conversion to express black by combining other colors .
JP2009128571A 2009-05-28 2009-05-28 Image processing apparatus and image processing program Active JP5434273B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009128571A JP5434273B2 (en) 2009-05-28 2009-05-28 Image processing apparatus and image processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009128571A JP5434273B2 (en) 2009-05-28 2009-05-28 Image processing apparatus and image processing program

Publications (2)

Publication Number Publication Date
JP2010278710A JP2010278710A (en) 2010-12-09
JP5434273B2 true JP5434273B2 (en) 2014-03-05

Family

ID=43425262

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009128571A Active JP5434273B2 (en) 2009-05-28 2009-05-28 Image processing apparatus and image processing program

Country Status (1)

Country Link
JP (1) JP5434273B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5742449B2 (en) * 2011-05-10 2015-07-01 富士ゼロックス株式会社 Image processing apparatus and image processing program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007072640A (en) * 2005-09-06 2007-03-22 Fuji Xerox Co Ltd Printing instruction device, printer, image formation device, print medium, printing instruction method and program
JP4386080B2 (en) * 2007-01-26 2009-12-16 富士ゼロックス株式会社 Image processing apparatus and program
JP5414154B2 (en) * 2007-03-29 2014-02-12 京セラ株式会社 Image transmission apparatus, image transmission method, and image transmission program
JP4962233B2 (en) * 2007-09-11 2012-06-27 富士ゼロックス株式会社 Image generation apparatus, document management system, document management program

Also Published As

Publication number Publication date
JP2010278710A (en) 2010-12-09

Similar Documents

Publication Publication Date Title
JP5887770B2 (en) Image processing apparatus and image processing program
JP5616308B2 (en) Document modification detection method by character comparison using character shape feature
JP4577421B2 (en) Image processing apparatus and image processing program
JP4904175B2 (en) Method and apparatus for creating high fidelity glyph prototypes from low resolution glyph images
US8391607B2 (en) Image processor and computer readable medium
JP4577419B2 (en) Image processing apparatus and image processing program
US8320673B2 (en) Image processing apparatus, image processing method and computer-readable medium
US20100020351A1 (en) Image processing apparatus, image processing method, and computer readable medium
JP2007134987A (en) Watermark information embedding device, watermark information embedding method, and computer program
JP6413542B2 (en) Image processing apparatus and image processing program
JP2005184685A (en) Image processing device, program, and recording medium
JP5434273B2 (en) Image processing apparatus and image processing program
JP5720182B2 (en) Image processing apparatus and image processing program
JP4469301B2 (en) Information embedding device, printing medium, and information reading device
JP5742283B2 (en) Image processing apparatus and image processing program
US20120249573A1 (en) Image processing apparatus, image processing method, and computer-readable medium
US7969618B2 (en) Image forming apparatus, image forming system, computer readable recording medium, and image forming method
JP5742449B2 (en) Image processing apparatus and image processing program
JP5434272B2 (en) Information processing apparatus and information processing program
JP5923981B2 (en) Image processing apparatus and image processing program
JP5476884B2 (en) Image processing apparatus and image processing program
JP2009060216A (en) Image processor, and image processing program
US20220343666A1 (en) Image processing apparatus, image processing method, and storage medium
JP6135349B2 (en) Image processing apparatus and image processing program
JP2010283536A (en) Image processor and image processing program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120418

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130121

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130205

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130402

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: 20131112

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131125

R150 Certificate of patent or registration of utility model

Ref document number: 5434273

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350