JP7197830B2 - Image processing system and image processing program - Google Patents

Image processing system and image processing program Download PDF

Info

Publication number
JP7197830B2
JP7197830B2 JP2018247122A JP2018247122A JP7197830B2 JP 7197830 B2 JP7197830 B2 JP 7197830B2 JP 2018247122 A JP2018247122 A JP 2018247122A JP 2018247122 A JP2018247122 A JP 2018247122A JP 7197830 B2 JP7197830 B2 JP 7197830B2
Authority
JP
Japan
Prior art keywords
image
mark
filled
marked
mark image
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
JP2018247122A
Other languages
Japanese (ja)
Other versions
JP2020108068A (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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Document Solutions Inc
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 Kyocera Document Solutions Inc filed Critical Kyocera Document Solutions Inc
Priority to JP2018247122A priority Critical patent/JP7197830B2/en
Publication of JP2020108068A publication Critical patent/JP2020108068A/en
Application granted granted Critical
Publication of JP7197830B2 publication Critical patent/JP7197830B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、マークが付与されたマーク付与画像からマークを抽出する画像処理システムおよび画像処理プログラムに関する。 The present invention relates to an image processing system and an image processing program for extracting marks from marked images to which marks have been added.

従来、マークが付与されたマーク付与画像からマークを抽出する画像処理システムが知られている(例えば、特許文献1参照。)。 2. Description of the Related Art Conventionally, there is known an image processing system that extracts a mark from a marked image to which a mark has been added (see, for example, Japanese Unexamined Patent Application Publication No. 2002-100003).

白色などの淡色の部分の上だけでなく黒色などの濃色の文字の上にも半透明のマークが付与されたマーク付与画像から、例えば色相、明度および彩度の少なくとも1つに基づいてマークが抽出される場合、マークのうち、濃色の文字の上に付与された部分が抽出されず、マークに途切れが生じることがある。 Marking based on, for example, at least one of hue, lightness and saturation from a marked image in which translucent marks are applied not only over light-colored parts such as white, but also over dark-colored characters such as black is extracted, the part of the mark that is given above the dark-colored characters is not extracted, and the mark may be interrupted.

特許文献1に記載された画像処理システムは、マークが付与された画像としてのマーク付与画像から、マーク部分の画像と、マーク以外の記載部分としての文字の画像とを抽出し、マーク部分の画像と、文字の画像との論理和の画像としての論理和画像を生成し、マーク部分の画像を、文字の画像に応じた量、すなわち、文字の幅に応じた量で膨張および収縮させた画像としての膨張収縮済みマーク画像を生成し、論理和画像と、膨張収縮済みマーク画像との論理積の画像としての穴埋め済みマーク画像を生成する。 The image processing system described in Patent Document 1 extracts an image of a marked portion and an image of characters as a description portion other than the mark from a marked image as an image to which a mark is added, and extracts an image of the marked portion. and the image of the character, and the image of the mark portion is expanded and shrunk by an amount corresponding to the image of the character, that is, the width of the character. and generates a hole-filled mark image as a logical product image of the logical sum image and the expanded and shrunk mark image.

特許文献1に記載された画像処理システムは、マーク部分の画像を、文字の幅に応じた量で膨張および収縮させた画像を生成することによって、マークに生じる途切れを穴埋めすることができる。 The image processing system described in Patent Document 1 can fill in gaps in the mark by expanding and contracting the image of the mark portion by an amount corresponding to the width of the character.

また、特許文献1に記載された画像処理システムは、マーク部分の画像と、文字の画像との論理和の画像としての論理和画像と、膨張収縮済みマーク画像との論理積の画像としての穴埋め済みマーク画像を生成するので、マーク付与画像においてマーク同士が近接している場合に、近接しているマーク同士の間の隙間を途切れとして穴埋めしたとしても、最終的に、近接しているマーク同士の間の隙間を適切に隙間として処理することができる。 Further, the image processing system described in Patent Document 1 provides a logical sum image as a logical sum image of a mark portion image and a character image, and a hole filling image as a logical product image of an expanded and shrunk mark image. Since a completed mark image is generated, when the marks are close to each other in the marked image, even if the gaps between the close marks are filled as discontinuities, the close marks will eventually be separated from each other. The gap between can be properly treated as a gap.

特開2016-039525号公報JP 2016-039525 A

しかしながら、従来の特許文献1に記載された画像処理システムにおいては、マーク付与画像においてマーク同士が近接している場合に、近接しているマーク同士の間の隙間に文字が存在するとき、この文字が穴埋め済みマーク画像に含まれてしまう可能性があるという問題がある。 However, in the conventional image processing system described in Patent Document 1, when marks are close to each other in a marked image, if a character exists in a gap between the marks that are close to each other, this character is included in the filled-in mark image.

そこで、本発明は、マークが付与されたマーク付与画像からのマークの抽出の精度を向上することができる画像処理システムおよび画像処理プログラムを提供することを目的とする。 SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide an image processing system and an image processing program capable of improving the accuracy of extracting a mark from a marked image to which a mark has been added.

本発明の画像処理システムは、マークが付与された画像としてのマーク付与画像から、前記マーク部分の画像と、前記マーク以外の記載部分の画像としての非マーク部分画像とを色に基づいて抽出する画像抽出部と、前記画像抽出部によって抽出された、前記マーク部分の画像としての前記色抽出マーク画像において前記マーク以外の記載部分によって生じた途切れを穴埋めした穴埋め済みマーク画像を、前記色抽出マーク画像と、前記非マーク部分画像とに基づいて、画像の膨張および収縮と、画像の論理和と、画像の論理積とを使用して生成する穴埋め済みマーク画像生成部と、前記穴埋め済みマーク画像のうち、前記色抽出マーク画像の領域と全く重複しない連続領域を除去することによって、不要な領域が除去された前記マーク部分の画像としての不要領域除去済みマーク画像を生成する不要領域除去済みマーク画像生成部とを備えることを特徴とする。 The image processing system of the present invention extracts an image of the marked part and a non-marked part image as an image of the written part other than the mark from the marked image as the marked image based on the color. and an image extracting section, wherein the filled mark image obtained by filling the discontinuity caused by the written portion other than the mark in the color extraction mark image as the image of the mark portion extracted by the image extracting portion is the color extraction mark. a hole-filled mark image generator for generating an image and the non-marked partial image using image expansion and contraction, image logical sum, and image logical product; and the hole-filled mark image. An unnecessary area-removed mark for generating an unnecessary area-removed mark image as an image of the mark part from which the unnecessary area has been removed by removing a continuous area that does not overlap at all with the area of the color extraction mark image. and an image generator.

この構成により、本発明の画像処理システムは、穴埋め済みマーク画像のうち、色抽出マーク画像の領域と全く重複しない連続領域を除去することによって、不要な領域が除去されたマーク部分の画像としての不要領域除去済みマーク画像を生成するので、マーク付与画像においてマーク同士が近接している場合に、近接しているマーク同士の間の隙間に罫線や文字などの記載部分が存在するとき、この記載部分が不要領域除去済みマーク画像に含まれてしまう可能性を低減することができる。したがって、本発明の画像処理システムは、マーク付与画像からのマークの抽出の精度を向上することができる。 With this configuration, the image processing system of the present invention removes, from the hole-filled mark image, continuous areas that do not overlap with the area of the color extraction mark image. Since the mark image with the unnecessary area removed is generated, when the marks are close to each other in the marked image, if there is a description part such as a ruled line or a character in the gap between the marks that are close to each other, this description It is possible to reduce the possibility that the part is included in the unnecessary area removed mark image. Therefore, the image processing system of the present invention can improve the accuracy of extracting marks from marked images.

本発明の画像処理システムにおいて、前記画像抽出部は、前記非マーク部分画像として、罫線部分の画像としての罫線画像と、文字部分の画像としての文字画像とを抽出し、前記穴埋め済みマーク画像生成部は、前記色抽出マーク画像と、前記罫線画像および前記文字画像のうち一方の画像との論理和の画像としての第1の論理和画像を生成し、前記穴埋め済みマーク画像生成部は、前記色抽出マーク画像を、前記一方の画像に応じた量で膨張および収縮させた第1の膨張収縮済みマーク画像を生成し、前記穴埋め済みマーク画像生成部は、前記第1の論理和画像と、前記第1の膨張収縮済みマーク画像との論理積の画像としての第1の穴埋め済みマーク画像を生成し、前記穴埋め済みマーク画像生成部は、前記第1の穴埋め済みマーク画像と、前記罫線画像および前記文字画像のうち前記一方の画像ではない他方の画像との論理和の画像としての第2の論理和画像を生成し、前記穴埋め済みマーク画像生成部は、前記第1の穴埋め済みマーク画像を、前記他方の画像に応じた量で膨張および収縮させた第2の膨張収縮済みマーク画像を生成し、前記穴埋め済みマーク画像生成部は、前記第2の論理和画像と、前記第2の膨張収縮済みマーク画像との論理積の画像としての第2の穴埋め済みマーク画像を前記穴埋め済みマーク画像として生成しても良い。 In the image processing system of the present invention, the image extraction unit extracts a ruled line image as an image of a ruled line portion and a character image as an image of a character portion as the non-marked portion images, and generates the filled mark image. generates a first logical sum image as an image obtained by logically summing the color extraction mark image and one of the ruled line image and the character image; generating a first dilated and shrunk mark image by dilating and shrinking the color extraction mark image by an amount corresponding to the one image, the hole-filled mark image generating unit generating the first logical sum image; generating a first filled-in mark image as an image of a logical AND with the first expanded/shrinked mark image, and the filled-in mark image generation unit generates the first filled-in mark image and the ruled line image; and a second logical sum image as an image obtained by logical sum of the character image and the other image that is not the one image, and the filled-in mark image generation unit generates the first filled-in mark image is expanded and shrunk by an amount corresponding to the other image to generate a second expanded and contracted mark image, and the hole-filled mark image generation unit generates the second logical OR image and the second A second hole-filled mark image may be generated as the hole-filled mark image as a logical product image with the expanded and contracted mark image.

この構成により、本発明の画像処理システムは、マークに対する影響が互いに異なる、罫線と、文字とを区別して処理するので、マーク付与画像からのマークの抽出の精度を向上することができる。 With this configuration, the image processing system of the present invention distinguishes between ruled lines and characters, which have different influences on marks, and thus can improve the accuracy of extracting marks from a marked image.

本発明の画像処理プログラムは、マークが付与された画像としてのマーク付与画像から、前記マーク部分の画像と、前記マーク以外の記載部分の画像としての非マーク部分画像とを色に基づいて抽出する画像抽出部と、前記画像抽出部によって抽出された、前記マーク部分の画像としての前記色抽出マーク画像において前記マーク以外の記載部分によって生じた途切れを穴埋めした穴埋め済みマーク画像を、前記色抽出マーク画像と、前記非マーク部分画像とに基づいて、画像の膨張および収縮と、画像の論理和と、画像の論理積とを使用して生成する穴埋め済みマーク画像生成部と、前記穴埋め済みマーク画像のうち、前記色抽出マーク画像の領域と全く重複しない連続領域を除去することによって、不要な領域が除去された前記マーク部分の画像としての不要領域除去済みマーク画像を生成する不要領域除去済みマーク画像生成部とをコンピューターに実現させることを特徴とする。 The image processing program of the present invention extracts an image of the marked portion and a non-marked portion image as an image of the written portion other than the mark from the marked image as the marked image based on the color. and an image extracting section, wherein the filled mark image obtained by filling the discontinuity caused by the written portion other than the mark in the color extraction mark image as the image of the mark portion extracted by the image extracting portion is the color extraction mark. a hole-filled mark image generator for generating an image and the non-marked partial image using image expansion and contraction, image logical sum, and image logical product; and the hole-filled mark image. An unnecessary area-removed mark for generating an unnecessary area-removed mark image as an image of the mark part from which the unnecessary area has been removed by removing a continuous area that does not overlap at all with the area of the color extraction mark image. It is characterized in that the image generating section is implemented by a computer.

この構成により、本発明の画像処理プログラムを実行するコンピューターは、穴埋め済みマーク画像のうち、色抽出マーク画像の領域と全く重複しない連続領域を除去することによって、不要な領域が除去されたマーク部分の画像としての不要領域除去済みマーク画像を生成するので、マーク付与画像においてマーク同士が近接している場合に、近接しているマーク同士の間の隙間に罫線や文字などの記載部分が存在するとき、この記載部分が不要領域除去済みマーク画像に含まれてしまう可能性を低減することができる。したがって、本発明の画像処理プログラムを実行するコンピューターは、マーク付与画像からのマークの抽出の精度を向上することができる。 With this configuration, the computer that executes the image processing program of the present invention removes the continuous area that does not overlap the area of the color extraction mark image from the hole-filled mark image. Therefore, when the marks are close to each other in the marked image, there are written parts such as ruled lines and characters in the gaps between the marks that are close to each other. In this case, it is possible to reduce the possibility that this written portion is included in the unnecessary area-removed mark image. Therefore, the computer executing the image processing program of the present invention can improve the accuracy of extracting the marks from the marked image.

本発明の画像処理システムおよび画像処理プログラムは、マークが付与されたマーク付与画像からのマークの抽出の精度を向上することができる。 The image processing system and image processing program of the present invention can improve the accuracy of extracting marks from marked images to which marks have been added.

本発明の一実施の形態に係るMFPのブロック図である。1 is a block diagram of an MFP according to an embodiment of the invention; FIG. 図1に示すMFPの動作のフローチャートである。2 is a flowchart of the operation of the MFP shown in FIG. 1; 図2に示す動作において取得されるマーク付与画像の一例を示す図である。3 is a diagram showing an example of a marked image acquired in the operation shown in FIG. 2; FIG. (a)図3に示すマーク付与画像から色に基づいて抽出される色抽出マーク画像を示す図である。 (b)図3に示すマーク付与画像から抽出される非マーク部分画像を示す図である。4(a) is a diagram showing a color-extracted mark image extracted based on color from the marked image shown in FIG. 3; FIG. 4(b) shows a non-marked partial image extracted from the marked image shown in FIG. 3; FIG. (a)図4(b)に示す非マーク部分画像から抽出される罫線画像を示す図である。 (b)図4(b)に示す非マーク部分画像から抽出される文字画像を示す図である。5A is a diagram showing a ruled line image extracted from the non-marked partial image shown in FIG. 4B; FIG. 4B is a diagram showing a character image extracted from the non-marked partial image shown in FIG. 4B; FIG. 図5(a)に示す罫線の一例を示す図である。It is a figure which shows an example of the ruled line shown to Fig.5 (a). 図4(a)に示す色抽出マーク画像を膨張および収縮させた第1の膨張収縮済みマーク画像を示す図である。5 is a diagram showing a first dilated and shrunk mark image obtained by dilating and shrinking the color extraction mark image shown in FIG. 4(a); FIG. (a)図4(a)に示す色抽出マーク画像と、罫線画像との論理和の画像である第1の論理和画像を示す図である。 (b)図4(a)に示す色抽出マーク画像において罫線によって生じた途切れを穴埋めした第1の穴埋め済みマーク画像を示す図である。(a) A diagram showing a first logical sum image, which is a logical sum image of the color extraction mark image and the ruled line image shown in FIG. 4(a). (b) A diagram showing a first filled-in mark image in which discontinuities caused by ruled lines in the color extraction mark image shown in FIG. 4(a) are filled. 図8(b)に示す第1の穴埋め済みマーク画像を膨張および収縮させた第2の膨張収縮済みマーク画像を示す図である。FIG. 9B is a diagram showing a second expanded and contracted mark image obtained by expanding and contracting the first hole-filled mark image shown in FIG. 8B; (a)文字画像と、図8(b)に示す第1の穴埋め済みマーク画像との論理和の画像である第2の論理和画像を示す図である。 (b)図4(a)に示す色抽出マーク画像において文字によって生じた途切れを穴埋めした第2の穴埋め済みマーク画像を示す図である。8A is a diagram showing a second logical sum image, which is a logical sum image of the character image and the first hole-filled mark image shown in FIG. 8B; FIG. 4(b) is a diagram showing a second filled-in mark image in which discontinuities caused by characters in the color extraction mark image shown in FIG. 4(a) are filled. 図10(b)に示す第2の穴埋め済みマーク画像から生成される不要領域除去済みマーク画像を示す図である。FIG. 11B is a diagram showing an unnecessary area-removed mark image generated from the second hole-filled mark image shown in FIG. 10B; 図2に示す例とは異なる例での、図1に示すMFPの動作のフローチャートである。3 is a flowchart of the operation of the MFP shown in FIG. 1 in an example different from the example shown in FIG. 2;

以下、本発明の実施の形態について、図面を用いて説明する。 BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, embodiments of the present invention will be described with reference to the drawings.

まず、本発明の一実施の形態に係る画像処理システムとしてのMFP(Multifunction Peripheral)の構成について説明する。 First, the configuration of an MFP (Multifunction Peripheral) as an image processing system according to one embodiment of the present invention will be described.

図1は、本実施の形態に係るMFP10のブロック図である。 FIG. 1 is a block diagram of MFP 10 according to this embodiment.

図1に示すように、MFP10は、種々の操作が入力される例えばボタンなどの入力デバイスである操作部11と、種々の情報を表示する例えばLCD(Liquid Crystal Display)などの表示デバイスである表示部12と、用紙などの記録媒体に画像を印刷する印刷デバイスであるプリンター13と、原稿から画像を読み取る読取デバイスであるスキャナー14と、図示していない外部のファクシミリ装置と公衆電話回線などの通信回線経由でファックス通信を行うファックスデバイスであるファックス通信部15と、LAN(Local Area Network)、インターネットなどのネットワーク経由で、または、ネットワークを介さずに有線または無線によって直接に、外部の装置と通信を行う通信デバイスである通信部16と、各種の情報を記憶する例えば半導体メモリー、HDD(Hard Disk Drive)などの不揮発性の記憶デバイスである記憶部17と、MFP10全体を制御する制御部18とを備えている。 As shown in FIG. 1, the MFP 10 includes an operation unit 11, which is an input device such as a button for inputting various operations, and a display device such as an LCD (Liquid Crystal Display) for displaying various information. A unit 12, a printer 13 that is a printing device that prints an image on a recording medium such as paper, a scanner 14 that is a reading device that reads an image from a document, and communication with an external facsimile device (not shown) and a public telephone line. A fax communication unit 15, which is a fax device that performs fax communication via a line, communicates with an external device via a network such as a LAN (Local Area Network) or the Internet, or directly by wire or wirelessly without a network. a communication unit 16 that is a communication device that performs the above operations, a storage unit 17 that is a non-volatile storage device such as a semiconductor memory or HDD (Hard Disk Drive) that stores various information, and a control unit 18 that controls the entire MFP 10 It has

記憶部17は、マークが付与されたマーク付与画像からマークを抽出するための画像処理プログラム17aを記憶している。画像処理プログラム17aは、例えば、MFP10の製造段階でMFP10にインストールされていても良いし、USB(Universal Serial Bus)メモリーなどの外部記憶媒体からMFP10に追加でインストールされても良いし、ネットワーク上からMFP10に追加でインストールされても良い。 The storage unit 17 stores an image processing program 17a for extracting marks from marked images to which marks have been added. The image processing program 17a may be installed in the MFP 10 at the manufacturing stage of the MFP 10, may be additionally installed in the MFP 10 from an external storage medium such as a USB (Universal Serial Bus) memory, or may be installed from a network. It may be additionally installed in the MFP 10 .

制御部18は、例えば、CPU(Central Processing Unit)と、プログラムおよび各種のデータを記憶しているROM(Read Only Memory)と、CPUの作業領域として用いられるメモリーとしてのRAM(Random Access Memory)とを備えている。CPUは、記憶部17またはROMに記憶されているプログラムを実行する。MFP10は、コンピューターを構成している。 The control unit 18 includes, for example, a CPU (Central Processing Unit), a ROM (Read Only Memory) that stores programs and various data, and a RAM (Random Access Memory) that serves as a work area for the CPU. It has The CPU executes programs stored in the storage unit 17 or ROM. The MFP 10 constitutes a computer.

制御部18は、画像処理プログラム17aを実行することによって、マーク付与画像から、マーク部分の画像と、マーク以外の記載部分の画像としての非マーク部分画像とを色に基づいて抽出する画像抽出部18aと、画像抽出部18aによって抽出された、マーク部分の画像としての色抽出マーク画像においてマーク以外の記載部分によって生じた途切れを穴埋めした穴埋め済みマーク画像を、色抽出マーク画像と、非マーク部分画像とに基づいて、画像の膨張および収縮と、画像の論理和と、画像の論理積とを使用して生成する穴埋め済みマーク画像生成部18bと、穴埋め済みマーク画像のうち、色抽出マーク画像の領域と全く重複しない連続領域を除去することによって、不要な領域が除去されたマーク部分の画像としての不要領域除去済みマーク画像を生成する不要領域除去済みマーク画像生成部18cとを実現する。 The control unit 18 is an image extracting unit that extracts an image of the marked portion and a non-marked portion image as an image of the written portion other than the mark from the marked image based on the color by executing the image processing program 17a. 18a, a filled mark image obtained by filling discontinuities caused by description portions other than the mark in the color extraction mark image as an image of the mark portion extracted by the image extracting unit 18a, and extracting the color extraction mark image and the non-mark portion; a hole-filled mark image generation unit 18b that generates a hole-filled mark image generation unit 18b based on the image using image dilation and contraction, image logical sum, and image logical product; and an unnecessary area-removed mark image generation unit 18c for generating an unnecessary area-removed mark image as an image of the mark portion from which the unnecessary area has been removed by removing a continuous area that does not overlap with the area of .

次に、MFP10の動作について説明する。 Next, operations of the MFP 10 will be described.

図2は、MFP10の動作のフローチャートである。 FIG. 2 is a flow chart of the operation of the MFP 10. As shown in FIG.

制御部18は、文書に付与されたマークに応じた特定の処理の実行が操作部11または通信部16を介して指示されると、画像処理プログラム17aを実行することによって、図2に示す動作を実行する。なお、この文書は、例えば、蛍光ペンなどのマーカーによってマークが付与されたものである。 When the control unit 18 is instructed via the operation unit 11 or the communication unit 16 to execute a specific process corresponding to the mark given to the document, the control unit 18 executes the image processing program 17a to perform the operation shown in FIG. to run. This document is marked with a marker such as a highlighter pen.

図2に示すように、制御部18は、例えば、文書がスキャナー14にセットされている場合に、この文書をスキャナー14によって読み取ることによって、マーク付与画像を取得する(S101)。なお、マーク付与画像の取得方法は、スキャナー14によって文書を読み取る方法以外の方法でも良い。 As shown in FIG. 2, for example, when a document is set in the scanner 14, the control unit 18 acquires a marked image by reading the document with the scanner 14 (S101). Note that a method other than the method of reading the document by the scanner 14 may be used as the method of acquiring the marked image.

図3は、図2に示す動作において取得されるマーク付与画像の一例を示す図である。 FIG. 3 is a diagram showing an example of a marked image acquired in the operation shown in FIG.

図3に示すマーク付与画像30は、白色などの淡色の部分の上だけでなく黒色などの濃色の罫線31や文字32の上にも半透明のマーク33が付与された画像である。以下、S101において取得されたマーク付与画像が図3に示すマーク付与画像30であるものとして説明する。 A mark-applied image 30 shown in FIG. 3 is an image in which translucent marks 33 are applied not only on light-colored parts such as white but also on dark-colored ruled lines 31 and characters 32 such as black. In the following description, it is assumed that the marked image acquired in S101 is the marked image 30 shown in FIG.

図4(a)は、マーク付与画像30から色に基づいて抽出される色抽出マーク画像41を示す図である。図4(b)は、マーク付与画像30から抽出される非マーク部分画像42を示す図である。 FIG. 4(a) is a diagram showing a color-extracted mark image 41 extracted from the mark-applied image 30 based on the color. FIG. 4(b) shows a non-marked partial image 42 extracted from the marked image 30. As shown in FIG.

図2に示すように、画像抽出部18aは、S101の処理の後、マーク付与画像30から、例えば色相、明度および彩度の少なくとも1つなど、色に基づいて、図4(a)に示す色抽出マーク画像41と、図4(b)に示す非マーク部分画像42とを抽出する(S102)。ここで、色抽出マーク画像41は、マーク付与画像30に付与されたマーク33のうち、罫線31や文字32など、マーク33以外の記載部分に重なる部分を除いた部分である。非マーク部分画像42には、罫線31と、文字32とが含まれている。 As shown in FIG. 2, after the process of S101, the image extraction unit 18a extracts the image shown in FIG. A color extraction mark image 41 and a non-mark partial image 42 shown in FIG. 4B are extracted (S102). Here, the color extraction mark image 41 is a portion of the marks 33 added to the mark-attached image 30, excluding portions overlapping description portions other than the marks 33, such as the ruled lines 31 and the characters 32. FIG. The non-marked partial image 42 includes ruled lines 31 and characters 32 .

図5(a)は、非マーク部分画像42から抽出される、罫線31部分の画像(以下「罫線画像」という。)43を示す図である。図5(b)は、非マーク部分画像42から抽出される、文字32部分の画像(以下「文字画像」という。)44を示す図である。 FIG. 5A is a diagram showing an image 43 of the ruled line 31 portion (hereinafter referred to as "ruled line image") 43 extracted from the non-marked partial image 42. FIG. FIG. 5B is a diagram showing an image 44 of the character 32 portion (hereinafter referred to as "character image") 44 extracted from the non-marked portion image 42. As shown in FIG.

図2に示すように、画像抽出部18aは、S102の処理の後、非マーク部分画像42から、図5(a)に示す罫線画像43と、図5(b)に示す文字画像44とを抽出する(S103)。罫線を含む画像から罫線を抽出する方法としては、公知の任意の方法が採用されることが可能である。同様に、文字を含む画像から文字を抽出する方法としては、公知の任意の方法が採用されることが可能である。例えば、マーク付与画像30に含まれる可能性がある文字の最大のサイズが、例えば72ポイントなど、特定のサイズとして想定される場合、この最大のサイズで描かれる文字に含まれる可能性がある線の最大の長さが特定されるので、この最大の長さより長い線を、画像抽出部18aは、罫線31として抽出しても良い。 As shown in FIG. 2, after the process of S102, the image extraction unit 18a extracts the ruled line image 43 shown in FIG. 5A and the character image 44 shown in FIG. 5B from the non-marked partial image 42. Extract (S103). Any known method can be adopted as a method for extracting ruled lines from an image including ruled lines. Similarly, any known method can be adopted as a method for extracting characters from an image containing characters. For example, if the maximum size of a character that may be included in the markup image 30 is assumed to be a particular size, such as 72 points, then the lines that characters drawn at this maximum size may include. Since the maximum length of is specified, the image extraction unit 18a may extract a line longer than this maximum length as the ruled line 31. FIG.

図6は、罫線31の一例を示す図である。 FIG. 6 is a diagram showing an example of the ruled line 31. As shown in FIG.

図2に示すように、穴埋め済みマーク画像生成部18bは、S103の処理の後、罫線31によって生じたマーク33の途切れを穴埋めするための、色抽出マーク画像41の膨張の量を決定するために、矢印30aで示すマーク33の延在方向における罫線31の幅31aを、S103において抽出した罫線画像43から罫線31毎に取得する(S104)。なお、罫線31は、矢印30aで示す方向に直交する矢印30bで示す方向に常に延在しているとは限らない。例えば、罫線31は、図6に示すように、矢印30bで示す方向から傾いた方向に延在している場合もある。したがって、穴埋め済みマーク画像生成部18bは、罫線31の延在方向に直交する方向における幅31bと、矢印30bで示す方向に対する罫線31の傾き31cとを罫線画像43から取得し、これらの情報から、矢印30aで示す方向における罫線31の幅31aを取得しても良い。 As shown in FIG. 2, after the process of S103, the filled mark image generating unit 18b determines the amount of expansion of the color extraction mark image 41 for filling the discontinuity of the mark 33 caused by the ruled line 31. Next, the width 31a of the ruled line 31 in the extending direction of the mark 33 indicated by the arrow 30a is obtained for each ruled line 31 from the ruled line image 43 extracted in S103 (S104). Note that the ruled line 31 does not always extend in the direction indicated by the arrow 30b orthogonal to the direction indicated by the arrow 30a. For example, as shown in FIG. 6, the ruled line 31 may extend in a direction inclined from the direction indicated by the arrow 30b. Therefore, the hole-filled mark image generation unit 18b acquires from the ruled line image 43 the width 31b in the direction orthogonal to the extending direction of the ruled line 31 and the inclination 31c of the ruled line 31 with respect to the direction indicated by the arrow 30b, and from this information, , the width 31a of the ruled line 31 in the direction indicated by the arrow 30a.

図7は、色抽出マーク画像41を膨張および収縮させた画像(以下「第1の膨張収縮済みマーク画像」という。)45を示す図である。 FIG. 7 is a diagram showing an image 45 obtained by dilating and shrinking the color extraction mark image 41 (hereinafter referred to as "first dilated and shrunk mark image").

図2に示すように、穴埋め済みマーク画像生成部18bは、S104の処理の後、罫線31によって生じた途切れを穴埋めするために、S104において取得した矢印30aで示す方向における罫線31の幅31aに応じた量で矢印30aで示す方向に色抽出マーク画像41を膨張させて(S105)、S105において膨張させた画像をS105における矢印30aで示す方向の膨張の量と同一の量で矢印30aで示す方向に収縮させることによって、図7に示す第1の膨張収縮済みマーク画像45を生成する(S106)。ここで、穴埋め済みマーク画像生成部18bは、罫線画像43に複数の罫線31が含まれる場合には、罫線画像43に含まれる全ての罫線31の、矢印30aで示す方向における、最大の幅に応じた量で矢印30aで示す方向に、色抽出マーク画像41を膨張および収縮させても良いし、罫線31毎に、この罫線31の矢印30aで示す方向における幅31aに応じた量で矢印30aで示す方向に、色抽出マーク画像41のうち、この罫線31の近傍の箇所に相当する箇所を膨張および収縮させても良い。 As shown in FIG. 2, after the process of S104, the filled-in mark image generation unit 18b adjusts the width 31a of the ruled line 31 in the direction indicated by the arrow 30a acquired in S104 to fill the discontinuity caused by the ruled line 31. The color extraction mark image 41 is expanded in the direction indicated by the arrow 30a by the corresponding amount (S105), and the image expanded in S105 is indicated by the arrow 30a by the same amount as the expansion amount in the direction indicated by the arrow 30a in S105. By contracting in the direction, the first expanded and contracted mark image 45 shown in FIG. 7 is generated (S106). Here, when the ruled line image 43 includes a plurality of ruled lines 31, the hole-filled mark image generation unit 18b adjusts the width of all the ruled lines 31 included in the ruled line image 43 to the maximum width in the direction indicated by the arrow 30a. The color extraction mark image 41 may be expanded or shrunk in the direction indicated by the arrow 30a by a corresponding amount, or each ruled line 31 may be expanded or shrunk by an amount corresponding to the width 31a of the ruled line 31 in the direction indicated by the arrow 30a. A portion of the color extraction mark image 41 corresponding to a portion in the vicinity of the ruled line 31 may be expanded and shrunk in the direction indicated by .

図8(a)は、色抽出マーク画像41と、罫線画像43との論理和の画像(以下「第1の論理和画像」という。)46を示す図である。図8(b)は、色抽出マーク画像41において罫線31によって生じた途切れを穴埋めした画像(以下「第1の穴埋め済みマーク画像」という。)47を示す図である。 FIG. 8A is a diagram showing an image 46 of the logical sum of the color extraction mark image 41 and the ruled line image 43 (hereinafter referred to as "first logical sum image") 46. FIG. FIG. 8(b) is a diagram showing an image (hereinafter referred to as a "first filled mark image") 47 in which discontinuities caused by the ruled lines 31 in the color extraction mark image 41 are filled.

マーク付与画像30においてマーク33同士が近接している場合、第1の膨張収縮済みマーク画像45は、罫線31によって生じたマーク33の途切れだけでなく、マーク付与画像30において単にマーク33同士が近接していた部分も穴埋めされている可能性がある。したがって、穴埋め済みマーク画像生成部18bは、罫線31によって生じたマーク33の途切れ以外の部分の穴埋めを第1の膨張収縮済みマーク画像45から除去するために、図2に示すように、S106の処理の後、S102において抽出した色抽出マーク画像41と、S103において抽出した罫線画像43との論理和の画像である、図8(a)に示す第1の論理和画像46を生成し(S107)、S106において生成した第1の膨張収縮済みマーク画像45と、S107において生成した第1の論理和画像46との論理積の画像である、図8(b)に示す第1の穴埋め済みマーク画像47を生成する(S108)。 When the marks 33 are close to each other in the marked image 30 , the first dilated and shrunk mark image 45 has not only a discontinuity of the marks 33 caused by the ruled line 31 , but also the marks 33 are simply close to each other in the marked image 30 . There is a possibility that the part that was doing is also filled in. Therefore, the filled-in mark image generating unit 18b removes the filled-in portions other than the discontinuities of the marks 33 caused by the ruled lines 31 from the first expanded/shrinked mark image 45, as shown in FIG. After the processing, a first logical sum image 46 shown in FIG. 8A, which is a logical sum image of the color extraction mark image 41 extracted in S102 and the ruled line image 43 extracted in S103, is generated (S107 ), the first filled mark shown in FIG. An image 47 is generated (S108).

穴埋め済みマーク画像生成部18bは、S108の処理の後、文字32によって生じたマーク33の途切れを穴埋めするための、第1の穴埋め済みマーク画像47の膨張の量を決定するために、矢印30aで示す方向における文字32の幅と、矢印30bで示す方向における文字32の高さとを、S103において抽出した文字画像44から文字32毎に取得する(S109)。 After the process of S108, the filled-in mark image generation unit 18b uses the arrow 30a and the height of the character 32 in the direction indicated by the arrow 30b are acquired for each character 32 from the character image 44 extracted in S103 (S109).

図9は、第1の穴埋め済みマーク画像47を膨張および収縮させた画像(以下「第2の膨張収縮済みマーク画像」という。)48を示す図である。 FIG. 9 is a diagram showing an image 48 obtained by expanding and contracting the first hole-filled mark image 47 (hereinafter referred to as "second expanded and contracted mark image").

図2に示すように、穴埋め済みマーク画像生成部18bは、S109の処理の後、文字32によって生じた途切れを穴埋めするために、S109において取得した矢印30aで示す方向における文字32の幅に応じた量で矢印30aで示す方向に、S109において取得した矢印30bで示す方向における文字32の高さに応じた量で矢印30bで示す方向に、それぞれ、第1の穴埋め済みマーク画像47を膨張させて(S110)、S110において膨張させた画像を、S110における矢印30aで示す方向の膨張の量と同一の量で矢印30aで示す方向に、S110における矢印30bで示す方向の膨張の量と同一の量で矢印30bで示す方向に、それぞれ、収縮させることによって、図9に示す第2の膨張収縮済みマーク画像48を生成する(S111)。ここで、穴埋め済みマーク画像生成部18bは、文字画像44に複数の文字32が含まれる場合には、文字画像44に含まれる全ての文字32の、矢印30aで示す方向における、最大の幅に応じた量で矢印30aで示す方向に、文字画像44に含まれる全ての文字32の、矢印30bで示す方向における、最大の高さに応じた量で矢印30bで示す方向に、それぞれ、第1の穴埋め済みマーク画像47を膨張および収縮させても良いし、文字32毎に、この文字32の矢印30aで示す方向における幅に応じた量で矢印30aで示す方向に、この文字32の矢印30bで示す方向における高さに応じた量で矢印30bで示す方向に、それぞれ、第1の穴埋め済みマーク画像47のうち、この文字32の近傍の箇所に相当する箇所を膨張および収縮させても良い。 As shown in FIG. 2, after the process of S109, the filled-in mark image generation unit 18b fills the discontinuity caused by the character 32 according to the width of the character 32 in the direction indicated by the arrow 30a acquired in S109. The first hole-filled mark image 47 is expanded in the direction indicated by the arrow 30a by an amount corresponding to the height of the character 32 in the direction indicated by the arrow 30b obtained in S109, respectively. (S110), the image expanded in S110 is expanded in the direction indicated by arrow 30a by the same amount as the amount of expansion in the direction indicated by arrow 30a in S110, and by the same amount as the expansion amount in the direction indicated by arrow 30b in S110. The second dilated and shrunk mark image 48 shown in FIG. 9 is generated by shrinking by an amount in the direction indicated by the arrow 30b (S111). Here, when the character image 44 includes a plurality of characters 32, the fill-in-the-blank mark image generation unit 18b reduces the width of all the characters 32 included in the character image 44 to the maximum width in the direction indicated by the arrow 30a. In the direction indicated by the arrow 30a by an amount corresponding to the maximum height of all the characters 32 included in the character image 44 in the direction indicated by the arrow 30b, in the direction indicated by the arrow 30b by an amount corresponding to the first The filled mark image 47 may be expanded and contracted, and each character 32 may be expanded and contracted in the direction indicated by the arrow 30a by an amount corresponding to the width of the character 32 in the direction indicated by the arrow 30a. A portion of the first hole-filled mark image 47 corresponding to a portion near the character 32 may be expanded and contracted in the direction indicated by the arrow 30b by an amount corresponding to the height in the direction indicated by . .

図10(a)は、文字画像44と、第1の穴埋め済みマーク画像47との論理和の画像(以下「第2の論理和画像」という。)49を示す図である。図10(b)は、マーク付与画像30において文字32によって生じた途切れを穴埋めした画像(以下「第2の穴埋め済みマーク画像」という。)50を示す図である。 FIG. 10A is a diagram showing an image 49 of the logical sum of the character image 44 and the first fill-in mark image 47 (hereinafter referred to as "second logical sum image"). FIG. 10(b) is a diagram showing an image 50 in which discontinuities caused by characters 32 in the marked image 30 are filled (hereinafter referred to as "second filled mark image").

マーク付与画像30においてマーク33同士が近接している場合、第2の膨張収縮済みマーク画像48は、文字32によって生じたマーク33の途切れだけでなく、マーク付与画像30において単にマーク33同士が近接していた部分も穴埋めされている可能性がある。したがって、穴埋め済みマーク画像生成部18bは、文字32によって生じたマーク33の途切れ以外の部分の穴埋めを第2の膨張収縮済みマーク画像48から除去するために、図2に示すように、S111の処理の後、S103において抽出した文字画像44と、S108において抽出した第1の穴埋め済みマーク画像47との論理和の画像である、図10(a)に示す第2の論理和画像49を生成し(S112)、S111において生成した第2の膨張収縮済みマーク画像48と、S112において生成した第2の論理和画像49との論理積の画像である、図10(b)に示す第2の穴埋め済みマーク画像50を生成する(S113)。 If the marks 33 are close together in the marked image 30 , the second dilated and shrunk mark image 48 will not only show the discontinuity of the marks 33 caused by the character 32 , but also simply the marks 33 close together in the marked image 30 . There is a possibility that the part that was doing is also filled in. Therefore, the filled-in mark image generation unit 18b removes the filled-in portion of the mark 33 other than the discontinuity caused by the characters 32 from the second dilated and shrunk mark image 48, as shown in FIG. After the processing, a second logical sum image 49 shown in FIG. 10(a), which is a logical sum image of the character image 44 extracted in S103 and the first hole-filled mark image 47 extracted in S108, is generated. (S112), and the second image shown in FIG. A filled mark image 50 is generated (S113).

図11は、第2の穴埋め済みマーク画像50から生成される不要領域除去済みマーク画像60を示す図である。 FIG. 11 is a diagram showing an unnecessary area-removed mark image 60 generated from the second hole-filled mark image 50 .

マーク付与画像30においてマーク33と、文字32とが近接している場合、第2の穴埋め済みマーク画像50は、文字32が残っている可能性がある。例えば、図10(b)に示す第2の穴埋め済みマーク画像50においては、文字「T」が残っている。したがって、不要領域除去済みマーク画像生成部18cは、図2に示すように、S113の処理の後、S113において生成した第2の穴埋め済みマーク画像50のうち、S102において抽出した色抽出マーク画像41の領域と全く重複しない連続領域を除去することによって、図11に示す不要領域除去済みマーク画像60を生成する(S114)。 If the marks 33 and the characters 32 are close to each other in the marked image 30 , there is a possibility that the characters 32 remain in the second filled-in mark image 50 . For example, in the second hole-filled mark image 50 shown in FIG. 10(b), the letter "T" remains. Therefore, as shown in FIG. 2, after the process of S113, the unnecessary area removed mark image generation unit 18c generates the color extracted mark image 41 extracted in S102 from the second hole-filled mark image 50 generated in S113. By removing continuous areas that do not overlap with the area of , an unnecessary area-removed mark image 60 shown in FIG. 11 is generated (S114).

制御部18は、S114の処理の後、S114において生成した不要領域除去済みマーク画像60によって示されるマーク33に応じた特定の処理を実行して(S115)、図2に示す動作を終了する。ここで、特定の処理とは、例えば、マーク付与画像30からのマーク33の除去、マーク付与画像30に対するマーク33部分の墨塗り、マーク付与画像30においてマーク33で囲まれた部分の文字32の抽出などである。 After the processing of S114, the control unit 18 executes specific processing according to the mark 33 indicated by the unnecessary area removed mark image 60 generated in S114 (S115), and ends the operation shown in FIG. Here, the specific processing includes, for example, removal of the mark 33 from the marked image 30, redaction of the portion of the mark 33 in the marked image 30, and deletion of the characters 32 in the portion surrounded by the mark 33 in the marked image 30. extraction and so on.

以上に説明したように、MFP10は、第2の穴埋め済みマーク画像50のうち、色抽出マーク画像41の領域と全く重複しない連続領域を除去することによって、不要な領域が除去されたマーク33部分の画像としての不要領域除去済みマーク画像60を生成する(S114)ので、マーク付与画像30においてマーク33同士が近接している場合に、近接しているマーク33同士の間の隙間に罫線や文字などの記載部分が存在するとき、この記載部分が不要領域除去済みマーク画像60に含まれてしまう可能性を低減することができる。したがって、MFP10は、マーク付与画像30からのマーク33の抽出の精度を向上することができる。 As described above, the MFP 10 removes, from the second hole-filled mark image 50, a continuous area that does not overlap the area of the color extraction mark image 41 at all, thereby removing the unnecessary area from the mark 33 portion. Since the unnecessary area-removed mark image 60 is generated as an image of (S114), when the marks 33 are close to each other in the mark-added image 30, ruled lines and characters , etc. exists, the possibility that this described portion is included in the unnecessary area-removed mark image 60 can be reduced. Therefore, the MFP 10 can improve the accuracy of extracting the mark 33 from the marked image 30 .

MFP10は、マーク33に対する影響が互いに異なる、罫線と、文字とを区別して処理する(S104~S113)ので、マーク付与画像30からのマーク33の抽出の精度を向上することができる。 Since the MFP 10 distinguishes between ruled lines and characters, which have different influences on the mark 33 (S104 to S113), the accuracy of extracting the mark 33 from the marked image 30 can be improved.

MFP10は、本実施の形態において、S110における膨張の量と、S111における収縮の量とに関して、矢印30aで示す方向における膨張や収縮の量を矢印30aで示す方向における文字32の幅に応じたものとし、矢印30bで示す方向における膨張や収縮の量を矢印30bで示す方向における文字32の高さに応じたものとしている。しかしながら、MFP10は、S110における膨張の量と、S111における収縮の量とに関して、膨張や収縮の方向に関わらず、矢印30aで示す方向における文字32の幅と、矢印30bで示す方向における文字32の高さとのうち、大きい方に応じたものを膨張や収縮の量としても良い。 In the present embodiment, the MFP 10 determines the amount of expansion or contraction in the direction indicated by the arrow 30a in relation to the amount of expansion in S110 and the amount of contraction in S111 according to the width of the characters 32 in the direction indicated by the arrow 30a. , and the amount of expansion or contraction in the direction indicated by the arrow 30b is set according to the height of the character 32 in the direction indicated by the arrow 30b. However, regarding the amount of expansion in S110 and the amount of contraction in S111, the MFP 10 determines the width of the character 32 in the direction indicated by the arrow 30a and the width of the character 32 in the direction indicated by the arrow 30b regardless of the direction of expansion or contraction. The amount of expansion or contraction may be the amount corresponding to the larger one of the heights.

文字は、罫線とは異なり、1つの文字に複数のマーク33がかかる場合が少ないと考えられる。したがって、文字は、罫線とは異なり、適切な量以上の量で画像の膨張および収縮が行われたとしても、S112~S114の処理によって不要な部分が適切に除去される可能性が高いと考えられる。そこで、MFP10は、図2に示す動作に代えて、図12に示す動作を実行しても良い。図12に示す動作は、図2に示す動作においてS109の処理に代えてS129の処理を実行したものと同一である。穴埋め済みマーク画像生成部18bは、S129において、矢印30aで示す方向における文字32の幅、および、矢印30bで示す方向における文字32の高さとして、例えば72ポイントなど、マーク付与画像30に含まれる可能性がある最大のサイズの文字の幅および高さを取得する。図12に示す動作は、図2に示す動作と比較して、文字画像44から文字32の幅および高さを文字32毎に取得する必要がなく、固定値である幅および高さを常に取得するので、制御部18の処理負担を軽くすることができる。 Unlike ruled lines, characters are considered to be less likely to be covered by a plurality of marks 33 . Therefore, unlike ruled lines, even if the image is expanded or shrunk by an amount greater than the appropriate amount, there is a high possibility that unnecessary portions will be appropriately removed by the processing of S112 to S114. be done. Therefore, the MFP 10 may perform the operation shown in FIG. 12 instead of the operation shown in FIG. The operation shown in FIG. 12 is the same as the operation shown in FIG. 2 in which the process of S129 is executed instead of the process of S109. In S129, the hole-filled mark image generation unit 18b sets the width of the character 32 in the direction indicated by the arrow 30a and the height of the character 32 in the direction indicated by the arrow 30b to 72 points, for example, which is included in the marked image 30. Get the width and height of the largest possible size character. Compared to the operation shown in FIG. 2, the operation shown in FIG. 12 eliminates the need to obtain the width and height of each character 32 from the character image 44, and always obtains fixed width and height values. Therefore, the processing load on the control unit 18 can be reduced.

MFP10は、本実施の形態において、罫線に起因するマーク33の途切れの穴埋めを、文字に起因するマーク33の途切れの穴埋めより先に処理する。しかしながら、MFP10は、文字に起因するマーク33の途切れの穴埋めを、罫線に起因するマーク33の途切れの穴埋めより先に処理しても良い。 In the present embodiment, the MFP 10 fills in the discontinuities of the marks 33 caused by ruled lines before filling in the discontinuities of the marks 33 caused by characters. However, the MFP 10 may fill in the discontinuities of the marks 33 caused by characters before filling in the discontinuities of the marks 33 caused by ruled lines.

MFP10は、本実施の形態において、罫線に起因するマーク33の途切れの穴埋めと、文字に起因するマーク33の途切れの穴埋めとを別々に処理する。しかしながら、MFP10は、罫線と、文字とを区別せずに、マーク33の途切れの穴埋めを実行しても良い。 In the present embodiment, the MFP 10 separately fills in gaps in the mark 33 caused by ruled lines and fills in gaps in the mark 33 caused by characters. However, the MFP 10 may fill in gaps in the marks 33 without distinguishing between ruled lines and characters.

MFP10は、本実施の形態において、マーク付与画像から抽出される、マーク33以外の記載部分として、文字および罫線を採用している。しかしながら、本発明の画像処理システムは、マーク付与画像から抽出される、マーク33以外の記載部分として、文字および罫線のいずれか1つのみを採用しても良い。また、本発明の画像処理システムは、マーク付与画像から抽出される、マーク33以外の記載部分として、文字および罫線の少なくとも1つに代えて、または、文字および罫線に加えて、例えば図など、文字および罫線のいずれでもない記載部分を採用しても良い。 In the present embodiment, the MFP 10 employs characters and ruled lines as description portions other than the marks 33 extracted from the marked image. However, the image processing system of the present invention may employ only one of characters and ruled lines as the description part other than the mark 33 extracted from the marked image. In addition, the image processing system of the present invention extracts description parts other than the marks 33 from the marked image, instead of at least one of characters and ruled lines, or in addition to characters and ruled lines, for example, figures, etc. A written portion that is neither characters nor ruled lines may be employed.

本発明の画像処理システムは、本実施の形態においてMFPであるが、プリンター専用機など、MFP以外の画像形成装置でも良いし、PC(Personal Computer)など、画像形成装置以外のコンピューターでも良い。本発明の画像処理システムは、1台のコンピューターによって構成されても良いし、複数台のコンピューターによって構成されても良い。 Although the image processing system of the present invention is an MFP in this embodiment, it may be an image forming apparatus other than an MFP such as a dedicated printer, or a computer other than an image forming apparatus such as a PC (Personal Computer). The image processing system of the present invention may be composed of one computer or may be composed of a plurality of computers.

10 MFP(画像処理システム、コンピューター)
17a 画像処理プログラム
18a 画像抽出部
18b 穴埋め済みマーク画像生成部
18c 不要領域除去済みマーク画像生成部
30 マーク付与画像
31 罫線(記載部分)
32 文字(記載部分)
33 マーク
41 色抽出マーク画像
42 非マーク部分画像
43 罫線画像
44 文字画像
45 第1の膨張収縮済みマーク画像
46 第1の論理和画像
47 第1の穴埋め済みマーク画像
48 第2の膨張収縮済みマーク画像
49 第2の論理和画像
50 第2の穴埋め済みマーク画像(穴埋め済みマーク画像)
60 不要領域除去済みマーク画像
10 MFP (image processing system, computer)
17a image processing program 18a image extractor 18b hole-filled mark image generator 18c unnecessary area-removed mark image generator 30 mark-added image 31 ruled line (description portion)
32 characters (description part)
33 mark 41 color extraction mark image 42 non-mark partial image 43 ruled line image 44 character image 45 first inflated and shrunk mark image 46 first logical sum image 47 first hole-filled mark image 48 second inflated and shrunk mark Image 49 Second OR image 50 Second hole-filled mark image (hole-filled mark image)
60 Unnecessary area removed mark image

Claims (3)

マークが付与された画像としてのマーク付与画像から、前記マーク部分の画像と、前記マーク以外の記載部分の画像としての非マーク部分画像とを色に基づいて抽出する画像抽出部と、
前記画像抽出部によって抽出された、前記マーク部分の画像としての抽出マーク画像において前記マーク以外の記載部分によって生じた途切れを穴埋めした穴埋め済みマーク画像を、前記色抽出マーク画像と、前記非マーク部分画像とに基づいて、画像の膨張および収縮と、画像の論理和と、画像の論理積とを使用して生成する穴埋め済みマーク画像生成部と、
前記穴埋め済みマーク画像のうち、前記色抽出マーク画像の領域と全く重複しない連続領域を除去することによって、不要な領域が除去された前記マーク部分の画像としての不要領域除去済みマーク画像を生成する不要領域除去済みマーク画像生成部と
を備えることを特徴とする画像処理システム。
an image extracting unit for extracting an image of the marked portion and a non-marked partial image as an image of the written portion other than the mark, based on colors from the marked image as the marked image;
The color extraction mark image and the non-filled mark image obtained by filling discontinuities caused by portions other than the mark in the color extraction mark image as the image of the mark portion extracted by the image extraction unit. a hole-filled mark image generating unit for generating based on the mark partial image using image expansion and contraction, image logical sum, and image logical product;
An unnecessary area-removed mark image is generated as an image of the mark portion from which the unnecessary area has been removed by removing a continuous area that does not overlap at all with the area of the color extraction mark image from the hole-filled mark image. and an unnecessary area-removed mark image generator.
前記画像抽出部は、前記非マーク部分画像として、罫線部分の画像としての罫線画像と、文字部分の画像としての文字画像とを抽出し、
前記穴埋め済みマーク画像生成部は、前記色抽出マーク画像と、前記罫線画像および前記文字画像のうち一方の画像との論理和の画像としての第1の論理和画像を生成し、
前記穴埋め済みマーク画像生成部は、前記色抽出マーク画像を、前記一方の画像に応じた量で膨張および収縮させた第1の膨張収縮済みマーク画像を生成し、
前記穴埋め済みマーク画像生成部は、前記第1の論理和画像と、前記第1の膨張収縮済みマーク画像との論理積の画像としての第1の穴埋め済みマーク画像を生成し、
前記穴埋め済みマーク画像生成部は、前記第1の穴埋め済みマーク画像と、前記罫線画像および前記文字画像のうち前記一方の画像ではない他方の画像との論理和の画像としての第2の論理和画像を生成し、
前記穴埋め済みマーク画像生成部は、前記第1の穴埋め済みマーク画像を、前記他方の画像に応じた量で膨張および収縮させた第2の膨張収縮済みマーク画像を生成し、
前記穴埋め済みマーク画像生成部は、前記第2の論理和画像と、前記第2の膨張収縮済みマーク画像との論理積の画像としての第2の穴埋め済みマーク画像を前記穴埋め済みマーク画像として生成することを特徴とする請求項1に記載の画像処理システム。
The image extracting unit extracts, as the non-marked partial images, a ruled line image as an image of a ruled line portion and a character image as an image of a character portion,
The filled-in mark image generation unit generates a first logical sum image as an image of a logical sum of the color extraction mark image and one of the ruled line image and the character image,
The filled mark image generation unit generates a first expanded and contracted mark image by expanding and contracting the color extraction mark image by an amount corresponding to the one image,
The hole-filled mark image generation unit generates a first hole-filled mark image as an image of a logical product of the first logical sum image and the first expanded and contracted mark image,
The filled-in mark image generation unit generates a second logical sum as an image of a logical sum of the first filled-in mark image and the other image of the ruled line image and the character image that is not the one image. generate the image,
The hole-filled mark image generating unit generates a second expanded/shrinked mark image by expanding and contracting the first filled-in mark image by an amount corresponding to the other image,
The filled-in mark image generation unit generates a second filled-in mark image as an image of a logical product of the second logical sum image and the second dilated/contracted mark image as the filled-in mark image. 2. The image processing system according to claim 1, wherein:
マークが付与された画像としてのマーク付与画像から、前記マーク部分の画像と、前記マーク以外の記載部分の画像としての非マーク部分画像とを色に基づいて抽出する画像抽出部と、
前記画像抽出部によって抽出された、前記マーク部分の画像としての抽出マーク画像において前記マーク以外の記載部分によって生じた途切れを穴埋めした穴埋め済みマーク画像を、前記色抽出マーク画像と、前記非マーク部分画像とに基づいて、画像の膨張および収縮と、画像の論理和と、画像の論理積とを使用して生成する穴埋め済みマーク画像生成部と、
前記穴埋め済みマーク画像のうち、前記色抽出マーク画像の領域と全く重複しない連続領域を除去することによって、不要な領域が除去された前記マーク部分の画像としての不要領域除去済みマーク画像を生成する不要領域除去済みマーク画像生成部と
をコンピューターに実現させることを特徴とする画像処理プログラム。
an image extracting unit for extracting an image of the marked portion and a non-marked partial image as an image of the written portion other than the mark, based on colors from the marked image as the marked image;
The color extraction mark image and the non-filled mark image obtained by filling discontinuities caused by portions other than the mark in the color extraction mark image as the image of the mark portion extracted by the image extraction unit. a hole-filled mark image generating unit for generating based on the mark partial image using image expansion and contraction, image logical sum, and image logical product;
An unnecessary area-removed mark image is generated as an image of the mark portion from which the unnecessary area has been removed by removing a continuous area that does not overlap at all with the area of the color extraction mark image from the hole-filled mark image. and an unnecessary area-removed mark image generation unit for generating an image processing program that causes a computer to realize.
JP2018247122A 2018-12-28 2018-12-28 Image processing system and image processing program Active JP7197830B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018247122A JP7197830B2 (en) 2018-12-28 2018-12-28 Image processing system and image processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018247122A JP7197830B2 (en) 2018-12-28 2018-12-28 Image processing system and image processing program

Publications (2)

Publication Number Publication Date
JP2020108068A JP2020108068A (en) 2020-07-09
JP7197830B2 true JP7197830B2 (en) 2022-12-28

Family

ID=71449541

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018247122A Active JP7197830B2 (en) 2018-12-28 2018-12-28 Image processing system and image processing program

Country Status (1)

Country Link
JP (1) JP7197830B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006350680A (en) 2005-06-16 2006-12-28 Fuji Xerox Co Ltd Image processing apparatus, image processing method, and computer program
JP2007174037A (en) 2005-12-20 2007-07-05 Fuji Xerox Co Ltd Unit and method for processing image, and computer program
JP2016039525A (en) 2014-08-08 2016-03-22 富士ゼロックス株式会社 Image processing system, image processing apparatus, program and image processing method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5048109A (en) * 1989-12-08 1991-09-10 Xerox Corporation Detection of highlighted regions

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006350680A (en) 2005-06-16 2006-12-28 Fuji Xerox Co Ltd Image processing apparatus, image processing method, and computer program
JP2007174037A (en) 2005-12-20 2007-07-05 Fuji Xerox Co Ltd Unit and method for processing image, and computer program
JP2016039525A (en) 2014-08-08 2016-03-22 富士ゼロックス株式会社 Image processing system, image processing apparatus, program and image processing method

Also Published As

Publication number Publication date
JP2020108068A (en) 2020-07-09

Similar Documents

Publication Publication Date Title
JP4903034B2 (en) Image processing apparatus, image processing method, and computer program
US7596271B2 (en) Image processing system and image processing method
US7869075B2 (en) Image processing apparatus and method thereof
US20060008113A1 (en) Image processing system and image processing method
JP5920293B2 (en) Image processing apparatus and program
US8477988B2 (en) Image processing apparatus, image forming apparatus and computer readable medium
JP5293328B2 (en) Image processing apparatus and program
US9277074B2 (en) Image processing apparatus, method, and medium determining whether image data of a page to be processed is blank and contains a foreground object and transmitting the foreground object obtained by removing a background object
JP2008276677A (en) Support device for character recognition, character recognition device and program
JP7197830B2 (en) Image processing system and image processing program
US20180035007A1 (en) Image forming apparatus, storage medium, and method for digitizing document
JP4165435B2 (en) Image forming apparatus and program
JP5696394B2 (en) Image processing apparatus, image processing method, and image processing program
JP4310023B2 (en) Reduced image creation method and apparatus, and storage medium
JP7048275B2 (en) Image processing equipment
JP4941157B2 (en) Coloring production apparatus, coloring production method and program thereof
JP6058042B2 (en) Image processing device
JP2003046746A (en) Method and apparatus for processing image
US20020031270A1 (en) Image processing apparatus, image processing method, and computer readable storage medium
JP2013172260A (en) Image processing apparatus and program
JP5464157B2 (en) Image processing apparatus and image processing program
US9729756B2 (en) Image forming system that restrains increase of print data amount, image forming apparatus, and recording medium
JP2009141525A (en) Apparatus and method of processing image
JP4904911B2 (en) Image processing apparatus and control method thereof
JP4241014B2 (en) Image processing apparatus, image processing method, program thereof, and recording medium recording the program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20211130

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220830

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220907

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221031

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221129

R150 Certificate of patent or registration of utility model

Ref document number: 7197830

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150