JP3830385B2 - Image processing apparatus, image processing method, and storage medium storing image processing program - Google Patents

Image processing apparatus, image processing method, and storage medium storing image processing program Download PDF

Info

Publication number
JP3830385B2
JP3830385B2 JP2001386484A JP2001386484A JP3830385B2 JP 3830385 B2 JP3830385 B2 JP 3830385B2 JP 2001386484 A JP2001386484 A JP 2001386484A JP 2001386484 A JP2001386484 A JP 2001386484A JP 3830385 B2 JP3830385 B2 JP 3830385B2
Authority
JP
Japan
Prior art keywords
noise
spread
area
image data
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.)
Expired - Fee Related
Application number
JP2001386484A
Other languages
Japanese (ja)
Other versions
JP2003189080A (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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2001386484A priority Critical patent/JP3830385B2/en
Publication of JP2003189080A publication Critical patent/JP2003189080A/en
Application granted granted Critical
Publication of JP3830385B2 publication Critical patent/JP3830385B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Editing Of Facsimile Originals (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、原稿画像を光学的に読み取り、読み取った画像データをディジタル的に処理する機能を備えた電子複写機やスキャナ等の画像処理装置、画像処理方法および画像処理プログラムが記憶された記憶媒体に関する。
【0002】
【従来の技術】
近年の情報のディジタル化に伴い、絵や文字などの印刷された画像情報を読み取ってディジタル情報に変換する電子複写機やスキャナ等の画像入力装置が広く普及してきている。特に、ガラス面の原稿台上に原稿を置き、スキャナ側が読み取り部分を自動的に移動させて読み取るタイプの装置が代表的である。しかし、このタイプの画像入力装置を用いた電子複写機では、しばしば、入力原稿の周辺部から入力される不必要な情報により、電子複写機の出力画像の周辺部が不必要に黒くなることがある。このような必然的に生じる不必要な画像の形成により、電子複写機の出力画像の品質は低下してしまう。
この問題を解決するために、特開平5−153363号公報では、入力する原稿の周辺ノイズを除去する方法が提案されている。これによると、マージン(余白部)で囲まれた入力原稿において、不必要な情報に起因する出力画像の周辺領域に生じる不必要な画像形成を消去領域の指定作業を行わずに自動的に防ぐことができる。この発明において、入力する原稿の不必要な情報であるノイズは、入力する原稿の周辺部における黒色の帯状領域の有無で判断される。そして、ノイズであると判断された情報のみが除去される。
【0003】
【発明が解決しようとする課題】
ところで、スキャナを使用して図10(a)および(b)に示されるように、見開きの書籍等の原稿を片頁ずつ読み取る場合には、原稿の周辺部に上述したものとは別の問題が生じる。それは、原稿の置き方や原稿のサイズによっては、図10(c)で示すような本来入力したい頁の端に隣頁(もう片方の頁)の情報が入り込んでくることである。尚、ここでは、この入り込んできた隣頁の不必要な情報を隣頁入り込みノイズと表現する。
しかしながら、この隣頁入り込みノイズは、入力する原稿の周辺部に存在はするが黒色の帯状の領域ではないためノイズと判断されない。結果として、電子複写機の出力画像にこの隣頁入り込みノイズは出力されてしまう。
【0004】
そこで、本発明の第1の目的は、隣頁入り込みノイズを自動的に除去する画像処理装置を提供することである。
本発明の第2の目的は、隣頁入り込みノイズを探索する範囲が、入力された画像の情報に応じて可変する画像処理装置を提供することである。
本発明の第3の目的は、見開き部のノイズ領域が黒画素の連結領域の情報に応じて決定する画像処理装置を提供することである。
本発明の第4の目的は、隣頁入り込みノイズ領域が見開き部のノイズ領域との位置関係から決定される画像処理装置を提供することである。
本発明の第5の目的は、使用するパラメータを複数用意することにより、ノイズ領域の除去の強弱レベルを切り替え可能とした画像処理装置を提供することである。
本発明の第6の目的は、隣頁入り込みノイズを自動的に除去する画像処理方法を提供することである。
本発明の第7の目的は、上述した画像処理装置の機能を実現させるためのプログラムを記憶した、コンピュータで読み取り可能な画像処理プログラムが記憶された記憶媒体を提供することである。
【0005】
【課題を解決するための手段】
請求項1記載の発明では、画像データをディジタル的に処理する機能を備えた画像処理装置において、原稿画像を光学的に読み取った画像データを入力データとして受信するデータ受信手段と、前記データ受信手段により受信された画像データが見開き原稿の画像データであった場合、前記画像データに入り込んでくる隣頁のデータである隣頁の入り込みノイズを探索する範囲を決定するノイズ探索範囲決定手段と、前記ノイズ探索範囲決定手段より得られた範囲を対象に、見開き部のノイズ領域を検出する見開き部ノイズ領域検出手段と、前記見開き部ノイズ領域検出手段により得られた見開き部のノイズ領域を基に隣頁の入り込みノイズ領域を検出する隣頁入り込みノイズ領域検出手段と、前記見開き部ノイズ領域検出手段と前記隣頁入り込みノイズ領域検出手段により得られた領域をノイズ領域として除去するノイズ除去手段と、を備えることにより、前記第1の目的を達成する。
【0006】
請求項2記載の発明では、請求項1記載の発明において、前記ノイズ探索範囲決定手段で決定される隣頁の入り込みノイズの探索範囲は、前記データ受信手段で受信された画像データの配置方向に応じて可変することにより、前記第2の目的を達成する。
請求項3記載の発明では、請求項1記載の発明において、見開き部ノイズ領域検出手段で検出される見開き部のノイズ領域は、黒画素の連結領域のデータに応じて決定することにより、前記第3の目的を達成する。
【0007】
請求項4記載の発明では、請求項1記載の発明において、前記隣頁入り込みノイズ領域検出手段で検出される隣頁の入り込みノイズ領域は、前記見開き部ノイズ領域検出手段で検出された見開き部のノイズ領域との位置関係から決定することにより、前記第4の目的を達成する。
請求項5記載の発明では、請求項1、請求項2、請求項3または請求項4記載の発明において、前記ノイズ除去手段によるノイズ領域の除去の強弱レベルは、複数のパラメータから選択に応じて切り替え可能であることにより、前記第5の目的を達成する。
【0008】
請求項6記載の発明では、画像データをディジタル的に処理する画像処理方法であって、原稿画像を光学的に読み取った画像データを入力データとして受信する第1のステップと、前記第1のステップにより受信された画像データが見開き原稿の画像データであった場合、前記受信された画像データに入り込んでくる隣頁のデータである隣頁の入り込みノイズを探索する範囲を決定する第2のステップと、前記第2のステップより得られた範囲を対象に、見開きの書籍等の原稿を読み取る場合に生じる見開き部のノイズ領域を検出する第3のステップと、前記第3のステップにより得られた見開き部のノイズ領域を基に隣頁の入り込みノイズ領域を検出する第4のステップと、前記第3のステップと前記第4のステップにより得られた領域をノイズ領域として除去する第5のステップと、を含んだことにより、前記第6の目的を達成する。
【0009】
請求項7記載の発明では、画像データをディジタル的に処理する画像処理プログラムが記憶された記憶媒体であって、原稿画像を光学的に読み取った画像データを入力データとして受信する第1の機能と、前記第1の機能により受信された画像データが見開き原稿の画像データであった場合、前記受信された画像データに入り込んでくる隣頁のデータである隣頁の入り込みノイズを探索する範囲を決定する第2の機能と、前記第2の機能より得られた範囲を対象に、見開きの書籍等の原稿を読み取る場合に生じる見開き部のノイズ領域を検出する第3の機能と、前記第3の機能により得られた見開き部のノイズ領域を基に隣頁の入り込みノイズ領域を検出する第4の機能と、前記第3の機能と前記第4の機能により得られた領域をノイズ領域として除去する第5の機能と、を実現させるためのプログラムを記憶することにより、前記第7の目的を達成する。
【0010】
【発明の実施の形態】
以下、本発明の好適な実施の形態について図1ないし図9を参照して詳細に説明する。
図1は本実施例に係る画像処理装置の構成を示したブロック図である。この画像処理装置は、スキャナ等の画像機器1、中央演算処理装置2、プログラム格納ROM(リード・オンリー・メモリ)またはRAM(ランダム・アクセス・メモリ)3、ディスプレイ4、メモリ5、ワークエリアRAM(ランダム・アクセス・メモリ)6およびCD−ROM、FD(フレキシブル・ディスク)ドライブ等7からなり、互いにバス8を介して接続されている。
【0011】
図2は隣頁入り込みノイズ除去手順を示したフローチャートである。
まず、スキャナ等の画像機器1より入力された入力画像データから、隣頁入り込みノイズを探索する範囲を決定する(ステップ10)。探索範囲の決め方には、予め決めておいた固定値、予め読み取る原稿(画像)サイズに応じて決めておいた固定値、さらに、後述する画像情報に応じて動的に決まる値を利用する方法がある。ただし、図3に示すように、通常、隣頁の入り込みは、原稿の長手方向のみに発生するので、上下左右の4箇所に設定する必要はない。この時点では左右のどちらに隣頁の入り込みが発生しているのか不明なため、左右両方に設定する必要がある。
【0012】
隣頁の入り込みノイズの探索範囲が決定した後、その探索範囲に対して図5に示すような黒画素の連結領域の検出を行う(ステップ11)。ここで得られた領域が見開きノイズおよび隣頁入り込みノイズの候補となる。見開きノイズ領域を生成する際に必要となる黒画素の矩形(ランレングス)の抽出は図4に示す方向で行われる。この時点では、ノイズ以外に文字、罫線および写真等の一部が含まれている。さらに、見開きノイズ領域の情報を利用し、見開きノイズの候補を絞る。
ステップ11において検出された見開きノイズ領域との位置関係から隣頁入り込みノイズ領域を検出する(ステップ12)。
そして、最終的に決定した見開きノイズ領域と隣頁入り込みノイズ領域を除去し(ステップ13)、画像を出力する。ただし、見開きノイズ領域を単純に除去すると見開きノイズ領域に含まれている(入り込んでいる)必要な情報領域が削除されてしまう。そのため、見開きノイズ領域の除去は、図6に示すように見開きノイズ領域に所属するランレングスのレベルで除去する。従って、見開きノイズ領域に所属するランレングスを管理する必要がある。
【0013】
続いて図2のフローチャートの各ステップについて詳細に説明する。
図2のステップ10における隣頁の入り込みノイズの探索範囲を決定する方法は、入力される原稿の画像情報(サイズ、解像度等)に応じて可変する。
例えば、図7に示すように、入力画像がポートレートなのかランドスケープなのかを判断する。これは、入力画像の幅および高さ情報により判断する。入力画像の幅が高さ方向より長ければランドスケープ、逆に入力画像の高さが幅情報より長ければポートレートと判断する。それぞれ、長手方向(2箇所)のみを対象に範囲を設定する。
また、隣頁入り込みノイズの探索範囲は、画像の幅または高さの割合で決定することもできる。そのため、原稿のサイズが変わっても、それに応じた探索範囲を決定することが可能である。
【0014】
図2のステップ11における見開きノイズ領域は、黒画素の連結領域の情報より検出する。黒画素の連結領域の情報とは、例えば、見開きノイズ領域と探索範囲の位置関係のことを言い、探索範囲の上端から下端または左端から右端にかけて存在する帯状のものである。この黒画素の連結領域の情報のうち画像の上端、下端、左端または右端近くに存在するものを見開きノイズと判断する。見開きノイズ領域のサイズ(ある程度大きなサイズを見開きノイズとする)、縦横比(細長い領域を見開きノイズとする)等の情報を利用し、見開きノイズ領域の候補を絞る。また、見開きノイズは、画像の両端の片側にしか存在しないため、最終的には、設定した2つの探索範囲のどちらか一方のみに存在することになる。両方の探索範囲で見開きノイズが見つかることはない。
【0015】
図2のステップ12における隣頁入り込みノイズ領域は、図2のステップ11において検出された見開き部のノイズ領域との位置関係から領域を決定する。見開き部のノイズが見つかれば、単純にそのノイズより外側に位置する矩形は、隣頁入り込みノイズとなる。例えば、図8に示すようにポートレート画像の右側探索範囲にて見開きノイズが検出された場合、その見開きノイズ領域の水平方向にX軸をとった場合のX座標の所定の点(終点、始点、X座標の中点などが考えられる)より右側に位置する矩形が隣頁入り込みノイズと判断される。
この隣頁の入り込みノイズと判断された矩形に印(フラグ)をつける。そして、ノイズを除去する段階で、画像中から印がついている矩形を対象にその矩形の範囲を除去処理、具体的には白画素への置換えを行う。
【0016】
図2のステップ13におけるノイズ除去の強弱レベルをユーザ側で切り替えることを可能にするためにはパラメータを複数用意する。用意するパラメータには、隣頁入り込みノイズの探索範囲のパラメータおよび見開きノイズ領域の検出のパラメータがある。隣頁入り込みノイズの探索範囲パラメータは、探索範囲を狭めたり広げたりする指示を示したものである。また、見開きノイズ領域の検出のパラメータは、ノイズとして判断するための矩形の大きさの閾値を小さくしたり大きくしたりする指示を示したものと、画像の端からの距離を小さくしたり大きくしたりする指示を示したものがある。
ただし、ユーザ側に提示するパラメータは、上記のパラメータをそのまま提示するのではなく、まとめて使用した方が望ましい。例えば、図9に示すような形で提示する。
ノイズ除去のステップでは、画像の一部を除去する処理であるため、直接ユーザが介在してパラメータ指定をし、ノイズ除去の強弱レベルを切り替えることによって、ユーザが望む画像が得られるようにする方が望ましい。
【0017】
【発明の効果】
請求項1記載の発明によれば、不必要な画像である隣頁の入り込みノイズを除去することができ、出力画像の品質の低下を防ぐことができる。
請求項2記載の発明によれば、隣頁入り込みノイズの探索範囲を決定する方法は、入力される原稿の画像情報(サイズ、解像度等)に応じて変えることができる。
請求項3記載の発明によれば、見開きノイズ領域は、黒画素の連結領域の情報により検出することができる。
【0018】
請求項4記載の発明によれば、隣頁入り込みノイズ領域は、見開き部のノイズ領域との位置関係から決定することができる。
請求項5記載の発明によれば、ノイズ除去の強弱レベルを切り替えることができる。
【0019】
請求項6記載の発明によれば、不必要な画像である隣頁入り込みノイズを除去することができる。
【0020】
請求項7記載の発明によれば、不必要な画像である隣頁入り込みノイズを除去する機能を実現するためのプログラムを記憶したプログラム記憶媒体を提供することができる。
【図面の簡単な説明】
【図1】本実施例に係る画像処理装置の構成を示したブロック図である。
【図2】隣頁の入り込みノイズ除去の手順を示したフローチャートである。
【図3】隣頁入り込みノイズの探索範囲を示した図である。
【図4】矩形(ランレングス)の抽出方向を示した図である。
【図5】見開きノイズ領域の検出方法を示した図である。
【図6】見開きノイズ領域の除去方法を示した図である。
【図7】入力画像の判断方法を示した図である。
【図8】ポートレート画像の右側探索範囲を示した図である。
【図9】見開きノイズ領域の検出パラメータの提示例を示した図である。
【図10】隣頁入り込みノイズを説明した図である。
【符号の説明】
1 スキャナ等の画像機器
2 中央演算処理装置
3 プログラム格納ROM(リード・オンリー・メモリ)またはRAM(ランダム・アクセス・メモリ)
4 ディスプレイ
5 メモリ
6 ワークエリアRAM(ランダム・アクセス・メモリ)
7 CD−ROM、FD(フレキシブル・ディスク)ドライブ等
8 バス
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image processing apparatus such as an electronic copying machine or a scanner having a function of optically reading a document image and digitally processing the read image data, an image processing method, and a storage medium storing an image processing program. About.
[0002]
[Prior art]
With the recent digitization of information, image input devices such as electronic copying machines and scanners that read printed image information such as pictures and characters and convert them into digital information have become widespread. In particular, an apparatus of a type in which an original is placed on a glass platen and the scanner side automatically moves the reading portion to read is typical. However, in an electronic copying machine using this type of image input apparatus, the peripheral portion of the output image of the electronic copying machine often becomes unnecessarily black due to unnecessary information input from the peripheral portion of the input document. is there. Due to the formation of such an inevitable unnecessary image, the quality of the output image of the electronic copying machine is degraded.
In order to solve this problem, Japanese Patent Application Laid-Open No. 5-153363 proposes a method for removing peripheral noise of an input document. According to this, in the input document surrounded by margins (margins), unnecessary image formation that occurs in the peripheral area of the output image due to unnecessary information is automatically prevented without performing the erasing area designation operation. be able to. In the present invention, noise, which is unnecessary information of the input document, is determined by the presence or absence of a black belt-like region in the peripheral portion of the input document. Only information determined to be noise is removed.
[0003]
[Problems to be solved by the invention]
By the way, as shown in FIGS. 10A and 10B, when a document such as a double-page book is read one page at a time using a scanner, there is a problem different from the above-described problem at the periphery of the document. Occurs. That is, depending on how the document is placed and the size of the document, the information on the adjacent page (the other page) enters the edge of the page to be originally input as shown in FIG. Here, the unnecessary information on the adjacent page that has entered is expressed as adjacent page entering noise.
However, this adjacent page entering noise exists in the peripheral portion of the input document, but is not determined as noise because it is not a black belt-like region. As a result, this adjacent page entering noise is output to the output image of the electronic copying machine.
[0004]
Accordingly, a first object of the present invention is to provide an image processing apparatus that automatically removes adjacent page entering noise.
A second object of the present invention is to provide an image processing apparatus in which the range for searching for adjacent page entering noise is variable in accordance with input image information.
A third object of the present invention is to provide an image processing apparatus in which a noise area of a spread portion is determined according to information on a connection area of black pixels.
A fourth object of the present invention is to provide an image processing apparatus in which the adjacent page entering noise area is determined from the positional relationship with the noise area of the spread portion.
A fifth object of the present invention is to provide an image processing apparatus capable of switching the strength level of noise area removal by preparing a plurality of parameters to be used.
A sixth object of the present invention is to provide an image processing method for automatically removing adjacent page entering noise.
A seventh object of the present invention is to provide a storage medium storing a computer-readable image processing program storing a program for realizing the functions of the above-described image processing apparatus.
[0005]
[Means for Solving the Problems]
According to the first aspect of the present invention, in an image processing apparatus having a function of digitally processing image data, data receiving means for receiving image data obtained by optically reading a document image as input data, and the data receiving means If the image data received by the method is image data of a spread document, a noise search range determining means for determining a range for searching for incoming noise on an adjacent page that is data of an adjacent page that enters the image data; Based on the range obtained by the noise search range determining means, the spread area noise area detecting means for detecting the noise area of the spread area, and the adjacent area based on the spread area noise area obtained by the spread area noise area detecting means. Adjacent page entering noise area detecting means for detecting an entering noise area of the page, the spread noise area detecting means and the adjacent page entering And noise removing means for removing a region obtained by write noise region detecting means as a noise region, by providing, to achieve the first object.
[0006]
According to a second aspect of the present invention, in the first aspect of the present invention, the search range of the incoming noise on the adjacent page determined by the noise search range determination unit is in the arrangement direction of the image data received by the data reception unit. The second object can be achieved by varying it accordingly.
According to a third aspect of the present invention, in the first aspect of the invention, the noise region of the spread portion detected by the spread portion noise region detecting means is determined according to data of a connected region of black pixels, thereby Achieve the purpose of 3.
[0007]
According to a fourth aspect of the present invention, in the first aspect of the present invention, the incoming noise region of the adjacent page detected by the adjacent page incoming noise region detecting means is a spread portion detected by the spread portion noise region detecting means. The fourth object is achieved by determining the positional relationship with the noise region.
According to a fifth aspect of the present invention, in the first, second, third or fourth aspect of the present invention, the level of noise area removal by the noise removing means is selected from a plurality of parameters. The fifth object is achieved by being switchable.
[0008]
According to a sixth aspect of the present invention, there is provided an image processing method for digitally processing image data, the first step of receiving image data obtained by optically reading a document image as input data, and the first step. A second step of determining a search range for adjacent page incoming noise, which is adjacent page data entering the received image data, when the received image data is image data of a spread original; A third step for detecting a noise region of a spread portion that occurs when a document such as a spread book is read for the range obtained in the second step; and the spread obtained by the third step A fourth step of detecting an incoming noise region on an adjacent page based on a noise region of the part, and a region obtained by the third step and the fourth step A fifth step of removing a noise region, by including, to achieve the sixth object.
[0009]
According to the seventh aspect of the present invention, there is provided a storage medium storing an image processing program for digitally processing image data, wherein the image data obtained by optically reading a document image is received as input data; When the image data received by the first function is the image data of a spread document, the range for searching for the incoming noise of the adjacent page that is the data of the adjacent page that enters the received image data is determined. A third function for detecting a noise region of a spread portion that occurs when a document such as a spread book is read for the range obtained by the second function, and the third function A fourth function for detecting an intrusion noise area on an adjacent page based on a noise area of a spread part obtained by the function, and a region obtained by the third function and the fourth function as a noise area. By and storing a program for realizing the functions and the fifth removing, to achieve the seventh object of.
[0010]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, a preferred embodiment of the present invention will be described in detail with reference to FIGS.
FIG. 1 is a block diagram illustrating the configuration of the image processing apparatus according to the present embodiment. The image processing apparatus includes an image device 1 such as a scanner, a central processing unit 2, a program storage ROM (read-only memory) or RAM (random access memory) 3, a display 4, a memory 5, a work area RAM ( Random access memory) 6 and a CD-ROM, FD (flexible disk) drive, etc. 7 are connected to each other via a bus 8.
[0011]
FIG. 2 is a flowchart showing the noise removal procedure for adjacent pages.
First, from the input image data input from the image device 1 such as a scanner, a range for searching for adjacent page entering noise is determined (step 10). As a method of determining the search range, a method of using a fixed value determined in advance, a fixed value determined in accordance with a document (image) size to be read in advance, and a value dynamically determined in accordance with image information described later. There is. However, as shown in FIG. 3, the entry of the adjacent page usually occurs only in the longitudinal direction of the document, so it is not necessary to set it at four places, top, bottom, left and right. At this point in time, it is unclear whether the next page has entered the left or right side, so it is necessary to set both sides.
[0012]
After the search range of the incoming noise on the adjacent page is determined, a black pixel connected region as shown in FIG. 5 is detected for the search range (step 11). The region obtained here becomes a candidate for spread noise and adjacent page entering noise. Extraction of a black pixel rectangle (run length) necessary for generating a spread noise region is performed in the direction shown in FIG. At this time, in addition to noise, some characters, ruled lines, photographs, and the like are included. Further, the spread noise candidates are narrowed down using the information of the spread noise area.
An adjacent page entering noise area is detected from the positional relationship with the spread noise area detected in step 11 (step 12).
Then, the finally determined spread noise area and adjacent page entering noise area are removed (step 13), and an image is output. However, if the spread noise area is simply removed, a necessary information area included (entered) in the spread noise area is deleted. Therefore, the spread noise region is removed at the run length level belonging to the spread noise region as shown in FIG. Therefore, it is necessary to manage the run length belonging to the spread noise region.
[0013]
Next, each step of the flowchart of FIG. 2 will be described in detail.
The method for determining the search range for the incoming noise in the adjacent page in step 10 of FIG. 2 varies depending on the image information (size, resolution, etc.) of the input document.
For example, as shown in FIG. 7, it is determined whether the input image is a portrait or a landscape. This is determined based on the width and height information of the input image. If the width of the input image is longer than the height direction, the landscape is determined. If the input image is longer than the width information, the portrait is determined. A range is set for only the longitudinal direction (two locations).
Further, the search range for adjacent page entering noise can be determined by the ratio of the width or height of the image. Therefore, even if the size of the document changes, it is possible to determine a search range corresponding to the original size.
[0014]
The spread noise region in step 11 in FIG. 2 is detected from information on the connection region of black pixels. The information of the black pixel connection area refers to, for example, the positional relationship between the spread noise area and the search range, and is a band-shaped information that exists from the upper end to the lower end or from the left end to the right end of the search range. Among the information of the connected area of black pixels, information existing near the upper end, lower end, left end, or right end of the image is determined as spread noise. By using information such as the size of the spread noise area (a certain size of spread noise is assumed to be spread) and the aspect ratio (the elongated area is assumed to be spread noise), the spread noise area candidates are narrowed down. Further, since the spread noise exists only on one side of both ends of the image, it finally exists only in one of the two set search ranges. No spread noise is found in both search ranges.
[0015]
The adjacent page entering noise region in step 12 of FIG. 2 is determined from the positional relationship with the noise region of the spread portion detected in step 11 of FIG. If noise at the spread portion is found, a rectangle positioned outside the noise simply becomes adjacent page entering noise. For example, when spread noise is detected in the right search range of the portrait image as shown in FIG. 8, a predetermined point (end point, start point) of the X coordinate when the X axis is taken in the horizontal direction of the spread noise area. , The middle point of the X coordinate is considered) and the rectangle located on the right side is determined to be adjacent page entering noise.
A mark (flag) is attached to the rectangle that is determined to be the incoming noise on the adjacent page. Then, at the stage of removing noise, the rectangular range is removed from the marked rectangle in the image, specifically, the white pixel is replaced.
[0016]
A plurality of parameters are prepared in order to enable the user to switch the noise removal strength level in step 13 of FIG. The parameters to be prepared include a parameter for searching for adjacent page noise and a parameter for detecting a spread noise area. The search range parameter of the adjacent page incoming noise indicates an instruction to narrow or widen the search range. In addition, the parameters for detecting the spread noise area include an instruction to reduce or increase the threshold of the rectangle size for judging as noise, and the distance from the edge of the image to be reduced or increased. There is something that shows instructions.
However, it is desirable that the parameters presented to the user side should be used together rather than presenting the above parameters as they are. For example, it is presented in the form as shown in FIG.
Since the noise removal step is a process that removes part of the image, the user can directly specify the parameters and switch the noise removal strength level to obtain the desired image. Is desirable.
[0017]
【The invention's effect】
According to the first aspect of the present invention, it is possible to remove the incoming noise of the adjacent page, which is an unnecessary image, and to prevent degradation of the quality of the output image.
According to the second aspect of the present invention, the method for determining the search range of the adjacent page entering noise can be changed according to the image information (size, resolution, etc.) of the input document.
According to the third aspect of the present invention, the spread noise region can be detected from the information of the connected region of black pixels.
[0018]
According to the fourth aspect of the present invention, the adjacent page entering noise region can be determined from the positional relationship with the noise region of the spread portion.
According to the fifth aspect of the present invention, the level of noise removal can be switched.
[0019]
According to the sixth aspect of the present invention, it is possible to remove adjacent page entering noise which is an unnecessary image.
[0020]
According to the seventh aspect of the present invention, it is possible to provide a program storage medium storing a program for realizing a function of removing adjacent page entering noise which is an unnecessary image.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration of an image processing apparatus according to an embodiment.
FIG. 2 is a flowchart showing a procedure for removing incoming noise from adjacent pages.
FIG. 3 is a diagram showing a search range of adjacent page incoming noise.
FIG. 4 is a diagram illustrating a rectangular (run length) extraction direction;
FIG. 5 is a diagram illustrating a method of detecting a spread noise region.
FIG. 6 is a diagram illustrating a method of removing a spread noise region.
FIG. 7 is a diagram illustrating a method for determining an input image.
FIG. 8 is a diagram illustrating a right search range of a portrait image.
FIG. 9 is a diagram showing a presentation example of detection parameters for a spread noise region.
FIG. 10 is a diagram illustrating adjacent page entering noise.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Image equipment, such as a scanner 2 Central processing unit 3 Program storage ROM (read-only memory) or RAM (random access memory)
4 Display 5 Memory 6 Work area RAM (Random Access Memory)
7 CD-ROM, FD (flexible disk) drive, etc. 8 buses

Claims (7)

画像データをディジタル的に処理する機能を備えた画像処理装置において、
原稿画像を光学的に読み取った画像データを入力データとして受信するデータ受信手段と、
前記データ受信手段により受信された画像データが見開き原稿の画像データであった場合、前記画像データに入り込んでくる隣頁のデータである隣頁の入り込みノイズを探索する範囲を決定するノイズ探索範囲決定手段と、
前記ノイズ探索範囲決定手段より得られた範囲を対象に、見開き部のノイズ領域を検出する見開き部ノイズ領域検出手段と、
前記見開き部ノイズ領域検出手段により得られた見開き部のノイズ領域を基に隣頁の入り込みノイズ領域を検出する隣頁入り込みノイズ領域検出手段と、
前記見開き部ノイズ領域検出手段と前記隣頁入り込みノイズ領域検出手段により得られた領域をノイズ領域として除去するノイズ除去手段と、を備えたことを特徴とする画像処理装置。
In an image processing apparatus having a function of digitally processing image data,
Data receiving means for receiving, as input data, image data obtained by optically reading a document image;
When the image data received by the data receiving means is the image data of a spread document, a noise search range determination for determining a range for searching for incoming noise on the adjacent page, which is data of the adjacent page entering the image data Means,
For the range obtained from the noise search range determining means, the spread noise area detection means for detecting the noise area of the spread,
The adjacent page entering noise area detecting means for detecting the entering noise area of the adjacent page based on the noise area of the spread part obtained by the spread part noise area detecting means,
An image processing apparatus comprising: a spread noise region detecting unit; and a noise removing unit that removes a region obtained by the adjacent page entering noise region detecting unit as a noise region.
前記ノイズ探索範囲決定手段で決定される隣頁の入り込みノイズの探索範囲は、前記データ受信手段で受信された画像データの配置方向に応じて可変することを特徴とする請求項1記載の画像処理装置。2. The image processing according to claim 1, wherein a search range for incoming noise determined by the noise search range determination unit is variable in accordance with an arrangement direction of image data received by the data reception unit. apparatus. 見開き部ノイズ領域検出手段で検出される見開き部のノイズ領域は、黒画素の連結領域のデータに応じて決定することを特徴とする請求項1記載の画像処理装置。The image processing apparatus according to claim 1, wherein the noise area of the spread part detected by the spread part noise area detection unit is determined according to data of a connection area of black pixels. 前記隣頁入り込みノイズ領域検出手段で検出される隣頁の入り込みノイズ領域は、前記見開き部ノイズ領域検出手段で検出された見開き部のノイズ領域との位置関係から決定することを特徴とする請求項1記載の画像処理装置。The adjacent page entering noise area detected by the adjacent page entering noise area detecting means is determined from a positional relationship with the spread area noise area detected by the spread part noise area detecting means. The image processing apparatus according to 1. 前記ノイズ除去手段によるノイズ領域の除去の強弱レベルは、複数のパラメータから選択に応じて切り替え可能であることを特徴とする請求項1、請求項2、請求項3または請求項4記載の画像処理装置。The image processing according to claim 1, 2, 3, or 4, wherein the level of noise area removal by the noise removing means can be switched according to selection from a plurality of parameters. apparatus. 画像データをディジタル的に処理する画像処理方法であって、
原稿画像を光学的に読み取った画像データを入力データとして受信する第1のステップと、
前記第1のステップにより受信された画像データが見開き原稿の画像データであった場合、前記受信された画像データに入り込んでくる隣頁のデータである隣頁の入り込みノイズを探索する範囲を決定する第2のステップと、
前記第2のステップより得られた範囲を対象に、見開きの書籍等の原稿を読み取る場合に生じる見開き部のノイズ領域を検出する第3のステップと、
前記第3のステップにより得られた見開き部のノイズ領域を基に隣頁の入り込みノイズ領域を検出する第4のステップと、
前記第3のステップと前記第4のステップにより得られた領域をノイズ領域として除去する第5のステップと、を含んだことを特徴とする画像処理方法。
An image processing method for digitally processing image data,
A first step of receiving image data obtained by optically reading a document image as input data;
When the image data received in the first step is the image data of a spread document, the range for searching for the incoming noise of the adjacent page that is the data of the adjacent page that enters the received image data is determined. A second step;
A third step of detecting a noise region of a spread portion that occurs when a document such as a spread book is read for the range obtained from the second step;
A fourth step of detecting an intrusion noise region on the adjacent page based on the spread region noise region obtained by the third step;
An image processing method comprising the third step and a fifth step of removing the region obtained by the fourth step as a noise region.
画像データをディジタル的に処理する画像処理プログラムが記憶された記憶媒体であって、
原稿画像を光学的に読み取った画像データを入力データとして受信する第1の機能と、
前記第1の機能により受信された画像データが見開き原稿の画像データであった場合、前記受信された画像データに入り込んでくる隣頁のデータである隣頁の入り込みノイズを探索する範囲を決定する第2の機能と、
前記第2の機能より得られた範囲を対象に、見開きの書籍等の原稿を読み取る場合に生じる見開き部のノイズ領域を検出する第3の機能と、
前記第3の機能により得られた見開き部のノイズ領域を基に隣頁の入り込みノイズ領域を検出する第4の機能と、
前記第3の機能と前記第4の機能により得られた領域をノイズ領域として除去する第5の機能と、を実現させるためのプログラムを記憶したコンピュータで読み取り可能な画像処理プログラムが記憶された記憶媒体。
A storage medium storing an image processing program for digitally processing image data,
A first function for receiving, as input data, image data obtained by optically reading a document image;
When the image data received by the first function is the image data of a spread document, the range for searching for the incoming noise of the adjacent page that is the data of the adjacent page that enters the received image data is determined. The second function,
A third function for detecting a noise region of a spread portion that occurs when a document such as a spread book is read for the range obtained by the second function;
A fourth function for detecting an incoming noise area on an adjacent page based on a noise area of a spread portion obtained by the third function;
A memory storing a computer-readable image processing program storing a program for realizing the third function and a fifth function for removing the area obtained by the fourth function as a noise area Medium.
JP2001386484A 2001-12-19 2001-12-19 Image processing apparatus, image processing method, and storage medium storing image processing program Expired - Fee Related JP3830385B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001386484A JP3830385B2 (en) 2001-12-19 2001-12-19 Image processing apparatus, image processing method, and storage medium storing image processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001386484A JP3830385B2 (en) 2001-12-19 2001-12-19 Image processing apparatus, image processing method, and storage medium storing image processing program

Publications (2)

Publication Number Publication Date
JP2003189080A JP2003189080A (en) 2003-07-04
JP3830385B2 true JP3830385B2 (en) 2006-10-04

Family

ID=27595623

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001386484A Expired - Fee Related JP3830385B2 (en) 2001-12-19 2001-12-19 Image processing apparatus, image processing method, and storage medium storing image processing program

Country Status (1)

Country Link
JP (1) JP3830385B2 (en)

Also Published As

Publication number Publication date
JP2003189080A (en) 2003-07-04

Similar Documents

Publication Publication Date Title
JP4885789B2 (en) Image processing method, image region detection method, image processing program, image region detection program, image processing device, and image region detection device
JP2002135592A (en) Image processing apparatus and recording medium
CN101151639A (en) Image processing apparatus and image processing method
JP5834866B2 (en) Image processing apparatus, image generation method, and computer program
JP6021665B2 (en) Image processing apparatus, image processing method, and computer program
JP6885111B2 (en) Image processing equipment and image forming equipment
KR20040044858A (en) Image device having camera and image perspective correction and possibly rotation and staggering correction
JP2002142084A (en) Image reader
JP5407627B2 (en) Image processing apparatus, image processing method, and program
JP4277768B2 (en) Photo image area extraction device and copy device
JP4502001B2 (en) Image processing apparatus and image processing method
JP3830385B2 (en) Image processing apparatus, image processing method, and storage medium storing image processing program
US8368965B2 (en) Image cropping process
JP2007159065A (en) Image reading apparatus, and sticky note removing method thereof
JP2004080341A (en) Image processor, image processing method, program, and recording medium
JP2022066697A (en) Image processing device, image processing method and computer program
JP2009284190A (en) Image reading apparatus and image reading system
JP2733146B2 (en) Image processing device
JP3881455B2 (en) Image correction apparatus, image correction method, and medium on which image correction method is recorded
JP2002271629A (en) Image processing method and recording medium
JP3925851B2 (en) Image information crease noise removal device
JPH10336428A (en) Image processing unit
JP4623214B2 (en) Photo image area extraction device and copy device
JP2022025571A (en) Image processing device, image processing method, and program
JP2003274175A (en) Image processor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041125

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20050118

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060616

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060711

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090721

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100721

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110721

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120721

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120721

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130721

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees