JP2002354254A - Image processor, image processing method and program - Google Patents

Image processor, image processing method and program

Info

Publication number
JP2002354254A
JP2002354254A JP2001160754A JP2001160754A JP2002354254A JP 2002354254 A JP2002354254 A JP 2002354254A JP 2001160754 A JP2001160754 A JP 2001160754A JP 2001160754 A JP2001160754 A JP 2001160754A JP 2002354254 A JP2002354254 A JP 2002354254A
Authority
JP
Japan
Prior art keywords
image data
background
area
image
level
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2001160754A
Other languages
Japanese (ja)
Other versions
JP4134531B2 (en
Inventor
Kazuhiro Ishiguro
和宏 石黒
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.)
Minolta Co Ltd
Original Assignee
Minolta 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 Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP2001160754A priority Critical patent/JP4134531B2/en
Publication of JP2002354254A publication Critical patent/JP2002354254A/en
Application granted granted Critical
Publication of JP4134531B2 publication Critical patent/JP4134531B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To remove a base without generating a false contour. SOLUTION: A base area in input image data is discriminated from a non- base area (S2). The image data of respective pixels included in the base area are set up at a base level (S2). The image data of pixels included in a boundary area between the base area set up at the base level and the non-base area are smoothed (S6). An image is reproduced so that a false contour is not caused in the boundary area on the basis of the smoothed image data and the original input image data.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、下地除去を行う
画像処理装置、画像処理方法およびプログラムに関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus, an image processing method, and a program for removing a background.

【0002】この明細書において「下地除去」とは、下
地領域(画像が紙に印刷されたものであれば、紙地が現
れた領域)の各画素データの明度(階調値)を、白に相
当する最大値へ変換することを指す。
[0002] In this specification, "background removal" means that the brightness (tone value) of each pixel data in a background region (a region where a paper background appears if an image is printed on paper) is expressed in white. Means to convert to the maximum value corresponding to

【0003】[0003]

【従来の技術】従来、画像処理装置が行う下地除去処理
としては、図6(a)に示すように入力画像中の各画素
データが表す明度(階調値)のヒストグラムを作成し
て、明度の度数が最も多い階調レベルmを求め、その階
調レベルmよりも明度が高い領域(これを「下地領域」
とみなす。)では、図6(c)に示すように明度データ
Lを白に相当する最大値(255)へ変換するものが知
られている(特開平2000−253250号公報)。
または、図6(d)に示すように、下地領域では明度L
を最大値(255)へ変換するとともに、その階調レベ
ルm以下の領域(これを「非下地領域」と呼ぶ。)で
は、変換後の明度L′が連続するように、下地除去を行
わない場合の勾配α1(=1)よりも大きい勾配α2で
線形変換するものが知られている。なお、図6(b)は
下地除去を行わない場合の線形変換の態様を示してい
る。
2. Description of the Related Art Conventionally, as a background removal process performed by an image processing apparatus, a histogram of lightness (gradation value) represented by each pixel data in an input image is created as shown in FIG. Is obtained, and a region having a higher brightness than the gradation level m (this is referred to as a “background region”)
Consider ), It is known that brightness data L is converted into a maximum value (255) corresponding to white as shown in FIG. 6C (Japanese Patent Laid-Open No. 2000-253250).
Alternatively, as shown in FIG.
Is converted to the maximum value (255), and in a region having the gradation level m or less (this is referred to as a “non-background region”), the background is not removed so that the converted lightness L ′ is continuous. It is known that a linear conversion is performed with a gradient α2 larger than the gradient α1 (= 1) in the case. FIG. 6B shows a form of linear conversion in a case where background removal is not performed.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、図6
(c)の方法によれば、下地除去後に、下地領域と非下
地領域との間の境界で明度L′が不連続(K1で表す)
になるため、その境界に元の入力画像には存在しない擬
似輪郭が発生するという問題がある。また、図6(d)
の方法によれば、下地領域と非下地領域との間の境界で
明度L′が連続であるが、原画の階調レベル(勾配α1
の直線である)から勾配α2の直線の階調レベルへ変化
するため、下地除去後に、原画の画質と異なる画質にな
ってしまうという問題がある。
However, FIG.
According to the method (c), after the background is removed, the brightness L ′ is discontinuous at the boundary between the background region and the non-background region (represented by K1).
Therefore, there is a problem that a pseudo contour which does not exist in the original input image is generated at the boundary. FIG. 6 (d)
According to the method of (1), although the lightness L 'is continuous at the boundary between the background area and the non-base area, the gradation level (gradient α1
) To the gradation level of the straight line having the gradient α2, there is a problem that the image quality differs from that of the original image after the background is removed.

【0005】そこで、この発明の課題は、擬似輪郭の発
生を招くことなく、また原画の画質に変化を与えないよ
うに下地除去を行うことができる画像処理装置、画像処
理方法およびその画像処理方法を実行するためのプログ
ラムを提供することにある。
An object of the present invention is to provide an image processing apparatus, an image processing method, and an image processing method capable of removing a background without causing the generation of a false contour and without changing the image quality of an original image. To provide a program for executing the program.

【0006】[0006]

【課題を解決するための手段】上記課題を解決するた
め、請求項1に記載の画像処理装置は、入力画像データ
中の下地領域と非下地領域とを判別する領域判別手段
と、上記領域判別手段によって判別された上記下地領域
に含まれた各画素の画像データを下地レベルに設定する
下地レベル設定手段と、上記下地レベルに設定後の下地
領域と非下地領域との間の境界領域に含まれた画素の画
像データに対してスムージング処理を施すスムージング
手段と、上記スムージング手段によってスムージング処
理された画像データと元の入力画像データとに基づい
て、上記境界領域に擬似輪郭が生じないように画像を再
生する再生手段とを備えたことを特徴とする。
According to another aspect of the present invention, there is provided an image processing apparatus comprising: an area determining unit that determines a background area and a non-background area in input image data; Background level setting means for setting the image data of each pixel included in the background area determined by the means to the background level, and including the image data in the boundary area between the background area after setting the background level and the non-background area A smoothing means for performing a smoothing process on the image data of the extracted pixels, and an image for preventing a pseudo contour from being generated in the boundary area based on the image data smoothed by the smoothing means and the original input image data. And reproducing means for reproducing the data.

【0007】この請求項1の画像処理装置では、まず、
領域判別手段が、入力画像データ中の下地領域と非下地
領域とを判別する。次に、下地レベル設定手段は、上記
領域判別手段によって判別された上記下地領域に含まれ
た各画素の画像データを下地レベルに設定する。次に、
スムージング手段は、上記下地レベルに設定後の下地領
域と非下地領域との間の境界領域に含まれた画素の画像
データに対してスムージング処理を施す。そして、再生
手段は、上記スムージング手段によってスムージング処
理された画像データと元の入力画像データとに基づい
て、上記境界領域に擬似輪郭が生じないように画像を再
生する。
In the image processing apparatus according to the first aspect, first,
The area determining means determines a background area and a non-background area in the input image data. Next, the background level setting means sets the image data of each pixel included in the background area determined by the area determination means to the background level. next,
The smoothing means performs a smoothing process on the image data of the pixels included in the boundary region between the background region and the non-background region set at the background level. Then, the reproducing means reproduces the image based on the image data smoothed by the smoothing means and the original input image data so that a pseudo contour does not occur in the boundary area.

【0008】このように、この画像処理装置では、上記
スムージング処理された画像データと元の入力画像デー
タとに基づいて、下地領域と非下地領域との間の境界領
域に擬似輪郭が生じないように画像を再生しているの
で、擬似輪郭の発生を招くことなく下地除去を行うこと
ができる。また、上記スムージング処理は、境界領域に
含まれた画像の画像データに対して施されるだけである
から、非下地領域の画質、つまり原画の画質が変化する
ことがない。
As described above, in this image processing apparatus, based on the image data subjected to the smoothing processing and the original input image data, a pseudo contour is not generated in a boundary region between a background region and a non-background region. Since the image is reproduced at the same time, the background can be removed without causing the generation of the pseudo contour. Further, since the smoothing process is only performed on the image data of the image included in the boundary area, the image quality of the non-base area, that is, the image quality of the original image does not change.

【0009】請求項2に記載の画像処理装置は、請求項
1に記載の画像処理装置において、上記スムージング処
理前に上記非下地領域に含まれた各画素の画像データを
特定レベルに置換する非下地レベル設定手段を備え、上
記スムージング手段は、上記境界領域に含まれた画素の
画像データに対して、上記下地レベルと上記特定レベル
とを連続させるようにスムージング処理を施すことを特
徴とする。
According to a second aspect of the present invention, in the image processing apparatus according to the first aspect, the image data of each pixel included in the non-base area is replaced with a specific level before the smoothing processing. The image processing apparatus further includes a background level setting unit, wherein the smoothing unit performs a smoothing process on the image data of the pixels included in the boundary area so that the background level and the specific level are continuous.

【0010】この請求項2の画像処理装置では、上記ス
ムージング処理前に、非下地レベル設定手段は、上記非
下地領域に含まれた各画素の画像データを特定レベルに
置換する。そして、上記スムージング手段は、上記境界
領域に含まれた画素の画像データに対して、上記下地レ
ベルと特定レベルとを連続させるようにスムージング処
理を施す。このスムージング処理後の画像データは、下
地領域が下地レベル、非下地領域が特定レベルにそれぞ
れ設定され、上記下地領域と非下地領域との間の境界領
域で画像が連続したものとなっている。したがって、こ
のスムージング処理後の画像データと元の入力画像デー
タとを例えば加算したとき、上記境界領域に擬似輪郭が
発生することがない。また、単なる加算であれば、元の
入力画像データ(原画)の階調レベルが維持され、原画
の画質に変化を与えることなく画像が再生される。
In the image processing apparatus according to the second aspect, before the smoothing process, the non-background level setting means replaces the image data of each pixel included in the non-background area with a specific level. The smoothing means performs a smoothing process on the image data of the pixels included in the boundary area so that the background level and the specific level are continuous. In the image data after the smoothing process, the background area is set to the background level and the non-base area is set to the specific level, and the image is continuous at the boundary area between the base area and the non-base area. Therefore, when, for example, the image data after the smoothing process is added to the original input image data, a pseudo contour does not occur in the boundary area. In the case of simple addition, the gradation level of the original input image data (original image) is maintained, and the image is reproduced without changing the image quality of the original image.

【0011】請求項3に記載の画像処理装置は、請求項
2に記載の画像処理装置において、上記非下地レベル設
定手段は上記特定レベルを任意に設定し得ることを特徴
とする。
According to a third aspect of the present invention, in the image processing apparatus of the second aspect, the non-background level setting means can arbitrarily set the specific level.

【0012】この請求項3の画像処理装置では、上記非
下地レベル設定手段は上記特定レベルを任意に設定し得
る。例えば上記非下地レベル設定手段が上記特定レベル
をゼロレベルに設定した場合、上記スムージング処理後
の画像データと元の入力画像データとを例えば加算した
とき、上記非下地領域に含まれた各画素の画像データが
シフトすることがない。したがって、元の入力画像デー
タの非下地領域の画像を忠実に維持しながら、下地領域
の画像のみをシフトさせたのに相当する画像が得られ
る。
In the image processing apparatus according to the third aspect, the non-background level setting means can arbitrarily set the specific level. For example, when the non-background level setting unit sets the specific level to zero level, for example, when the image data after the smoothing process and the original input image data are added, for example, each of the pixels included in the non-background region is added. The image data does not shift. Therefore, an image equivalent to shifting only the image of the background region while maintaining the image of the non-background region of the original input image data faithfully is obtained.

【0013】請求項4に記載の画像処理装置は、請求項
1、2または3に記載の画像処理装置において、上記再
生手段は、上記スムージング処理後の画像データのレベ
ルを所定値だけシフトさせるオフセット手段と、このシ
フト後の画像データと元の入力画像データとを加算する
加算手段とを備えることを特徴とする。
According to a fourth aspect of the present invention, in the image processing apparatus of the first, second or third aspect, the reproduction means shifts the level of the image data after the smoothing processing by a predetermined value. Means for adding the shifted image data and the original input image data.

【0014】この請求項4の画像処理装置では、上記再
生手段は、上記スムージング処理後の画像データのレベ
ルをオフセット手段によって所定値だけシフトさせた
後、このシフト後の画像データと元の入力画像データと
を加算手段によって加算する。したがって、上記オフセ
ット手段によるシフト量を例えばユーザの好みに応じて
設定することによって、ユーザの好みに応じた画像が再
生される。
In the image processing apparatus according to the present invention, the reproducing means shifts the level of the image data after the smoothing processing by a predetermined value by the offset means, and thereafter, the shifted image data and the original input image The data and the data are added by adding means. Therefore, by setting the shift amount by the offset means according to the user's preference, for example, an image according to the user's preference is reproduced.

【0015】請求項5に記載の画像処理方法は、入力画
像データ中の下地領域と非下地領域とを判別するステッ
プと、上記下地領域に含まれた各画素の画像データを下
地レベルに設定するステップと、上記下地レベルに設定
後の下地領域と非下地領域との間の境界領域に含まれた
画素の画像データに対してスムージング処理を施すステ
ップと、上記スムージング処理された画像データと元の
入力画像データとに基づいて、上記境界領域に擬似輪郭
が生じないように画像を再生するステップとを備えたこ
とを特徴とする。
According to a fifth aspect of the present invention, in the image processing method, a background area and a non-background area in the input image data are determined, and the image data of each pixel included in the background area is set to a background level. Performing a smoothing process on the image data of the pixels included in the boundary region between the background region and the non-background region after setting the background level, and the image data subjected to the smoothing process and the original image data. Reproducing an image based on the input image data such that a pseudo contour does not occur in the boundary area.

【0016】この請求項5の画像処理方法では、まず、
入力画像データ中の下地領域と非下地領域とを判別す
る。次に、上記下地領域に含まれた各画素の画像データ
を下地レベルに設定する。次に、上記下地レベルに設定
後の下地領域と非下地領域との間の境界領域に含まれた
画素の画像データに対してスムージング処理を施す。そ
して、上記スムージング処理された画像データと元の入
力画像データとに基づいて、上記境界領域に擬似輪郭が
生じないように画像を再生する。
In the image processing method according to the fifth aspect, first,
A background area and a non-background area in the input image data are determined. Next, the image data of each pixel included in the background area is set to the background level. Next, a smoothing process is performed on the image data of the pixels included in the boundary region between the background region and the non-background region set at the background level. Then, an image is reproduced based on the smoothed image data and the original input image data so that a pseudo contour does not occur in the boundary area.

【0017】このように、この画像処理方法では、上記
スムージング処理された画像データと元の入力画像デー
タとに基づいて、下地領域と非下地領域との間の境界領
域に擬似輪郭が生じないように画像を再生しているの
で、擬似輪郭の発生を招くことなく下地除去を行うこと
ができる。
As described above, in this image processing method, based on the image data subjected to the smoothing process and the original input image data, a pseudo contour is not generated in the boundary region between the base region and the non-base region. Since the image is reproduced at the same time, the background can be removed without causing the generation of the pseudo contour.

【0018】請求項6に記載のプログラムは、入力画像
データ中の下地領域と非下地領域とを判別するステップ
と、上記下地領域に含まれた各画素の画像データを下地
レベルに設定するステップと、上記下地レベルに設定後
の下地領域と非下地領域との間の境界領域に含まれた画
素の画像データに対してスムージング処理を施すステッ
プと、上記スムージング処理された画像データと元の入
力画像データとに基づいて、上記境界領域に擬似輪郭が
生じないように画像を再生するステップとをコンピュー
タに実行させるためのプログラムである。
A program according to a sixth aspect of the present invention comprises the steps of: determining a background area and a non-background area in input image data; and setting image data of each pixel included in the background area to a background level. Performing a smoothing process on the image data of the pixels included in the boundary region between the background region and the non-background region after setting the background level; and performing the smoothing process on the image data and the original input image. A step of reproducing an image based on the data so that a pseudo contour does not occur in the boundary area.

【0019】この請求項6のプログラムによれば、請求
項5の画像処理方法をコンピュータに実行させることが
できる。
According to the program of claim 6, the computer can execute the image processing method of claim 5.

【0020】[0020]

【発明の実施の形態】以下、この発明を図示の実施の形
態により詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described in detail with reference to the illustrated embodiments.

【0021】図1は、この発明を適用した一実施形態の
画像読取装置300のブロック構成を示している。
FIG. 1 shows a block configuration of an image reading apparatus 300 according to an embodiment of the present invention.

【0022】この画像読取装置300は、ユーザが各種
設定・入力を受けるための操作パネル100と、この装
置全体を制御するCPU(中央演算処理装置)200
と、このCPU200が実行すべきプログラムを格納し
たROM(リード・オンリ・メモリ)を備えている。ま
た、この画像読取装置300は、原稿から画像データを
得るためのCCDセンサ111と、その画像データに画
像処理を施すためのA/D変換部310、シェーディン
グ補正部320、変倍・移動制御部330、Lab変換
部340、下地レベル調整部350、逆Lab変換部3
60、LOG補正部370A、色補正処理部370B、
領域判別部390およびMTF補正処理部380を備え
ている。
The image reading apparatus 300 includes an operation panel 100 for a user to receive various settings and inputs, and a CPU (central processing unit) 200 for controlling the entire apparatus.
And a ROM (Read Only Memory) storing a program to be executed by the CPU 200. The image reading apparatus 300 includes a CCD sensor 111 for obtaining image data from a document, an A / D conversion unit 310 for performing image processing on the image data, a shading correction unit 320, a scaling / movement control unit. 330, Lab conversion section 340, background level adjustment section 350, inverse Lab conversion section 3
60, a LOG correction unit 370A, a color correction processing unit 370B,
An area determination unit 390 and an MTF correction processing unit 380 are provided.

【0023】図示しない露光ランプによって原稿面が照
射され、原稿面からの反射光が光学系によって導かれて
CCDセンサ111に入射する。CCDセンサ111の
光電変換によって得られたアナログ信号は、A/D変換
部310で、R(レッド),G(グリーン),B(ブル
ー)の多値デジタル画像データに変換される。そのRG
B画像データは、シェーディング補正部320で、CC
Dセンサ111における画素間の濃度ムラおよび露光ラ
ンプの配光ムラ等によって生じた読取りバラツキが解消
するように補正された後、変倍・移動制御部330へ出
力される。
The original surface is illuminated by an exposure lamp (not shown), and the reflected light from the original surface is guided by the optical system and enters the CCD sensor 111. The analog signal obtained by the photoelectric conversion of the CCD sensor 111 is converted by the A / D converter 310 into multi-value digital image data of R (red), G (green), and B (blue). That RG
The B image data is processed by the shading corrector 320
After being corrected so as to eliminate variations in reading caused by unevenness in density between pixels in the D sensor 111 and uneven light distribution of the exposure lamp, the output is output to the scaling / movement control unit 330.

【0024】入力されたRGB画像データは、上記変倍
・移動制御部330において、予め操作者により指示さ
れていた倍率に変更されたり、画像の位置を移動された
りする処理を施された後、Lab変換部340へ出力さ
れる。
The input RGB image data is subjected to processing for changing the magnification or moving the position of the image in advance by the scaling / movement control unit 330 to the magnification designated by the operator. Output to Lab conversion section 340.

【0025】変倍・移動制御部330から出力されたR
GB画像データは、Lab変換部340でL(明度デー
タ)並びにaおよびb(色度データ)に表色系が変換さ
れる。この変換によって得られたLab画像データは下
地レベル調整部350へ出力される。
R output from scaling / movement control section 330
The color conversion system of the GB image data is converted into L (lightness data) and a and b (chromaticity data) by a Lab conversion unit 340. The Lab image data obtained by this conversion is output to the background level adjustment unit 350.

【0026】下地レベル調整部350は、入力されたL
ab画像データに対して下地調整を行って、原稿の裏写
り、下地かぶりを防止する。
The background level adjustment unit 350 receives the input L
The background adjustment is performed on the ab image data to prevent show-through of the document and background fog.

【0027】下地調整後のLab画像データは、逆La
b変換部360で再びRGB画像データに変換されて、
LOG補正部370Aおよび色補正処理部370Bへ出
力される。
The Lab image data after the background adjustment is inverse La
The image data is again converted into RGB image data by the b conversion unit 360,
Output to LOG correction section 370A and color correction processing section 370B.

【0028】LOG補正部370Aは、入力された輝度
データであるRGB画像データをトナー色に対応するY
(イエロー),M(マゼンタ),C(シアン)の濃度デ
ータヘ変換する。一方、色補正処理部370Bは、その
YMC濃度データからUCR(下色除去)処理や墨入れ
(BP)処理によってK(ブラック)の濃度データを生
成する。なお、濃度データは256(0〜255)階調
で表現される。
The LOG correction unit 370A converts the input RGB image data, which is the luminance data, into a Y color corresponding to the toner color.
(Yellow), M (magenta) and C (cyan). On the other hand, the color correction processing unit 370B generates K (black) density data from the YMC density data by UCR (under color removal) processing or inking (BP) processing. The density data is expressed in 256 (0 to 255) gradations.

【0029】濃度データであるCMYK画像データは、
MTF補正処理部380でエッジ処理を施された上で、
プリンタ(図示せず)へ出力される。
CMYK image data, which is density data,
After performing edge processing in the MTF correction processing unit 380,
Output to a printer (not shown).

【0030】一方、逆Lab変換部360から出力され
たRGB画像データは、領域判別部390にも入力され
る。この領域判別部390は、入力されたRGB画像デ
ータに基づいて、対応する画素がエッジ部のものか否か
などの判別をする。
On the other hand, the RGB image data output from the inverse Lab conversion section 360 is also input to the area determination section 390. The area determination unit 390 determines whether or not the corresponding pixel is an edge part based on the input RGB image data.

【0031】さて、図2は下地レベル調整部350のブ
ロック構成を示している。この下地レベル調整部350
は、入力されたLab画像データのうち明度データLに
対して順次所定の処理を実行する乗算部351、白領域
判別部352、エッジ判別部353、スムージング処理
部354およびオフセット調整部355を備えるととも
に、オフセット調整部355が出力した明度データと元
の明度データとを加算する画像合成部356を備えてい
る。
FIG. 2 shows the block configuration of the background level adjustment unit 350. This background level adjustment unit 350
Includes a multiplying unit 351, a white region discriminating unit 352, an edge discriminating unit 353, a smoothing processing unit 354, and an offset adjusting unit 355, which sequentially perform a predetermined process on the brightness data L of the input Lab image data. And an image synthesizing unit 356 for adding the brightness data output from the offset adjusting unit 355 and the original brightness data.

【0032】この下地レベル調整部350の動作は、C
PU200(図2)によって図3に示すフローに従って
制御される。以下、下地レベル調整部350の動作を、
図3のフローと、図4(a)〜図5(f)に例示した画
像データ(ビットマップイメージで表す。)および明度
プロファイルを参照しながら説明する。なお、図4
(a)〜図5(f)では、それぞれ上段が処理過程にあ
る画像データを表し、下段が対応する各画像データの中
央線Cに沿った明度プロファイルを表している。
The operation of the background level adjustment section 350 is C
It is controlled by the PU 200 (FIG. 2) according to the flow shown in FIG. Hereinafter, the operation of the background level adjustment unit 350 will be described.
This will be described with reference to the flow of FIG. 3, the image data (represented by a bitmap image) and the brightness profile illustrated in FIGS. 4 (a) to 5 (f). FIG.
5A to 5F, the upper row represents the image data in the process of being processed, and the lower row represents the brightness profile of the corresponding image data along the center line C.

【0033】図4(a)は入力画像データ(原画)を例
示している。この入力画像データには、背景である下地
領域1と、ドーナツ状の非下地領域3とが存在してい
る。明度データは、下地領域1ではL=200、非下地
領域3ではL≒120になっている。
FIG. 4A illustrates input image data (original image). The input image data includes a background area 1 as a background and a donut-shaped non-base area 3. The brightness data is L = 200 in the background area 1 and L ≒ 120 in the non-base area 3.

【0034】この入力画像データのうちのLデータに対
して、まず乗算部351が予め定められた定数a(ただ
し、a>1である。)を乗算する(図3のS1)。この
乗算によって、図4(b)に示すような画像データが得
られる。なお、Lデータが255を超えた領域は、次に
述べる下地レベル設定の便宜上、一律にL=255とし
て表している。
First, the multiplication unit 351 multiplies the L data in the input image data by a predetermined constant a (where a> 1) (S1 in FIG. 3). By this multiplication, image data as shown in FIG. 4B is obtained. Note that the region where the L data exceeds 255 is uniformly represented as L = 255 for convenience of setting the background level described below.

【0035】次に、白領域判別部352が領域判別手段
として働いて、乗算後にLデータが255である領域を
下地領域(白領域)1、それ以外の領域を非下地領域3
であると判別する(図3のS2)。これとともに、白領
域判別部352が下地レベル設定手段として働いて、L
データが255を超えた領域については、超えた分をカ
ットして、一律に下地レベルとしてのL=255に設定
する。
Next, the white area discriminating section 352 functions as an area discriminating means, and the area in which the L data is 255 after multiplication is the base area (white area) 1,
Is determined (S2 in FIG. 3). At the same time, the white area determination unit 352 functions as a background level setting unit,
For the area where the data exceeds 255, the excess is cut and L = 255 is uniformly set as the background level.

【0036】次に、エッジ判別部353は、画像データ
に含まれた各画素がエッジであるか否かを判別する(S
3)。エッジであれば、その画素のLデータをL=25
5に設定して、白領域に包含する(S4)。これによ
り、エッジのぼけ、にじみを防止することができる。
Next, the edge determining section 353 determines whether or not each pixel included in the image data is an edge (S
3). If it is an edge, the L data of the pixel is L = 25
5 and included in the white area (S4). Thereby, blurring and bleeding of the edge can be prevented.

【0037】次に、図4(c)に示すように、スムージ
ング処理部354が非下地レベル設定手段として働い
て、非下地領域3に含まれた各画素のLデータを特定レ
ベルとしてのゼロレベルに設定する(図3のS5)。
Next, as shown in FIG. 4C, the smoothing processing section 354 operates as a non-background level setting means to set the L data of each pixel included in the non-background area 3 to a zero level as a specific level. (S5 in FIG. 3).

【0038】そして、図5(d)に示すように、スムー
ジング処理部354は、上記下地レベルL=255に設
定後の下地領域1と上記ゼロレベルL=0に設定後の非
下地領域3との間の境界領域2に含まれた画素のLデー
タに対して、上記下地レベルL=255と上記ゼロレベ
ルL=0とを連続させるようにスムージング処理を施す
(図3のS6)。
Then, as shown in FIG. 5 (d), the smoothing processing unit 354 compares the background area 1 after the background level L = 255 and the non-background area 3 after the zero level L = 0. The smoothing process is performed on the L data of the pixels included in the boundary region 2 between S and S so that the background level L = 255 and the zero level L = 0 are continuous (S6 in FIG. 3).

【0039】次に、図5(e)に示すように、オフセッ
ト調整部355がオフセット手段として働いて、上記ス
ムージング処理後のLデータを所定値だけシフトさせる
(図3のS7)。このシフト量は、次に述べる加算処理
で、下地領域1のLデータが狙いの下地レベルL=25
5になるように設定する。この例では、上記スムージン
グ処理後の各画素のLデータを200だけ一律に減じて
いる。このオフセット調整後のLデータは、下地領域1
ではL=55、非下地領域3ではL=0、境界領域2で
は下地領域1から非下地領域3へ向かってL=55から
L=0へ連続的に変化するものとなる。
Next, as shown in FIG. 5E, the offset adjusting section 355 works as an offset means to shift the L data after the smoothing processing by a predetermined value (S7 in FIG. 3). This shift amount is obtained by adding the L data of the base region 1 to the target base level L = 25 in the addition process described below.
Set to 5 In this example, the L data of each pixel after the smoothing process is uniformly reduced by 200. The L data after the offset adjustment is applied to the background area 1
L = 55, L = 0 in the non-base area 3, and L = 55 from the base area 1 to the non-base area 3 in the boundary area 2, continuously changing from L = 55 to L = 0.

【0040】次に、図5(f)に示すように、画像合成
部356が加算手段として働いて、上記オフセット調整
後のLデータと元の入力画像(原画像)のLデータとを
加算する(図3のS8)。この加算処理後の明度データ
は、下地領域1では、上記オフセット調整後のデータL
=55と原画像のL=200とが加算されてL=255
になる。つまり、下地除去が適切に行われた状態とな
る。非下地領域3では、上記オフセット調整後のデータ
はL=0であるから、原画像のL≒120が維持され
る。したがって、原画像の画質に変化を与えることな
く、原画像を忠実に再生することができる。また、境界
領域2では下地領域1から非下地領域3へ向かって明度
データがL=255からL≒200へ連続的に変化する
ものとなる。したがって、境界領域2に擬似輪郭が生じ
ることがない。
Next, as shown in FIG. 5 (f), the image synthesizing unit 356 works as an adding means to add the L data after the offset adjustment and the L data of the original input image (original image). (S8 in FIG. 3). The brightness data after the addition processing is the data L after the offset adjustment in the background area 1.
= 55 and L = 200 of the original image are added, and L = 255
become. That is, a state in which the background removal is appropriately performed is obtained. In the non-base area 3, since the data after the offset adjustment is L = 0, L ≒ 120 of the original image is maintained. Therefore, the original image can be faithfully reproduced without changing the image quality of the original image. In the boundary region 2, the brightness data continuously changes from L = 255 to L ≒ 200 from the base region 1 to the non-base region 3. Therefore, a pseudo contour does not occur in the boundary region 2.

【0041】なお、図3のステップS5(非下地レベル
設定処理)では、非下地領域3に含まれた各画素のLデ
ータをゼロレベルに設定したが、これに限られるもので
はなく、ユーザの好みに応じて他のレベルに設定しても
良い。その場合、その設定したレベルに応じて、上記加
算処理(図3のS8)後の非下地領域3の明度を変化さ
せることができる。同様に、図3のステップS7(オフ
セット調整処理)でも、ユーザの好みに応じて、上記加
算処理(図3のS8)後に下地領域1のLデータがL=
255以外のレベルになるように設定しても良い。その
場合、その設定したレベルに応じて、上記加算処理(図
3のS8)後の下地領域1の明度を変化させることがで
きる。このようにして、ユーザの好みに応じた画像を再
生できる。
In step S5 (non-background level setting process) in FIG. 3, the L data of each pixel included in the non-background area 3 is set to zero level. However, the present invention is not limited to this. Other levels may be set as desired. In this case, the brightness of the non-base area 3 after the addition processing (S8 in FIG. 3) can be changed according to the set level. Similarly, in step S7 (offset adjustment processing) in FIG. 3, the L data of the background region 1 is L =
The level may be set to a level other than 255. In this case, the brightness of the background region 1 after the addition processing (S8 in FIG. 3) can be changed according to the set level. In this way, an image according to the user's preference can be reproduced.

【0042】[0042]

【発明の効果】以上より明らかなように、この発明の画
像処理装置によれば、擬似輪郭の発生を招くことなく、
かつ原画の画質に変化を与えないように下地除去を行う
ことができる。
As is clear from the above, according to the image processing apparatus of the present invention, the occurrence of a false contour can be prevented.
In addition, the background can be removed so as not to change the image quality of the original image.

【0043】この発明の画像処理方法によれば、擬似輪
郭の発生を招くことなく、下地除去を行うことができ
る。
According to the image processing method of the present invention, the background can be removed without causing the generation of a false contour.

【0044】また、この発明のプログラムによれば、こ
の発明の画像処理方法をコンピュータに実行させること
ができる。
According to the program of the present invention, the computer can execute the image processing method of the present invention.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 この発明を適用した一実施形態の画像読取装
置300のブロック構成を示す図である。
FIG. 1 is a diagram illustrating a block configuration of an image reading apparatus according to an embodiment of the present invention;

【図2】 下地レベル調整部350のブロック構成を示
す図である。
FIG. 2 is a diagram showing a block configuration of a base level adjustment unit 350.

【図3】 下地レベル調整部350の動作フローを示す
図である。
FIG. 3 is a diagram showing an operation flow of a background level adjustment unit 350.

【図4】 処理過程にある画像データおよび明度プロフ
ァイルを示す図である。
FIG. 4 is a diagram showing image data and a brightness profile in a processing process.

【図5】 処理過程にある画像データおよび明度プロフ
ァイルを示す図である。
FIG. 5 is a diagram showing image data and a brightness profile in a processing process.

【図6】 従来の下地除去処理とその問題点を説明する
図である。
FIG. 6 is a diagram illustrating a conventional background removal process and its problems.

【符号の説明】[Explanation of symbols]

1 下地領域 2 境界領域 3 非下地領域 300 画像読取装置 350 下地レベル調整部 DESCRIPTION OF SYMBOLS 1 Background area 2 Boundary area 3 Non-background area 300 Image reading device 350 Background level adjustment unit

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B057 AA11 BA02 CA01 CA08 CA12 CA16 CB01 CB08 CB12 CB16 CE05 CE08 DA08 DB02 DB06 DB09 DC22 5C077 LL05 MP01 PP02 PP12 PP25 PP48 PQ12 PQ19 PQ20 SS01 ──────────────────────────────────────────────────の Continued on the front page F term (reference) 5B057 AA11 BA02 CA01 CA08 CA12 CA16 CB01 CB08 CB12 CB16 CE05 CE08 DA08 DB02 DB06 DB09 DC22 5C077 LL05 MP01 PP02 PP12 PP25 PP48 PQ12 PQ19 PQ20 SS01

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 入力画像データ中の下地領域と非下地領
域とを判別する領域判別手段と、 上記領域判別手段によって判別された上記下地領域に含
まれた各画素の画像データを下地レベルに設定する下地
レベル設定手段と、 上記下地レベルに設定後の下地領域と非下地領域との間
の境界領域に含まれた画素の画像データに対してスムー
ジング処理を施すスムージング手段と、 上記スムージング手段によってスムージング処理された
画像データと元の入力画像データとに基づいて、上記境
界領域に擬似輪郭が生じないように画像を再生する再生
手段とを備えたことを特徴とする画像処理装置。
1. An area discriminating means for discriminating a background area and a non-background area in input image data, and setting image data of each pixel included in the background area discriminated by the area discriminating means to a background level. Background level setting means for performing, smoothing means for performing smoothing processing on image data of pixels included in a boundary area between the background area and the non-background area after setting the background level, and smoothing by the smoothing means. An image processing apparatus, comprising: reproduction means for reproducing an image based on processed image data and original input image data so that a pseudo contour does not occur in the boundary area.
【請求項2】 請求項1に記載の画像処理装置におい
て、 上記スムージング処理前に上記非下地領域に含まれた各
画素の画像データを特定レベルに置換する非下地レベル
設定手段を備え、 上記スムージング手段は、上記境界領域に含まれた画素
の画像データに対して、上記下地レベルと上記特定レベ
ルとを連続させるようにスムージング処理を施すことを
特徴とする画像処理装置。
2. The image processing apparatus according to claim 1, further comprising a non-background level setting unit that replaces image data of each pixel included in the non-background area with a specific level before the smoothing processing. The image processing apparatus, wherein the means performs a smoothing process on the image data of the pixels included in the boundary area so that the background level and the specific level are continuous.
【請求項3】 請求項2に記載の画像処理装置におい
て、 上記非下地レベル設定手段は上記特定レベルを任意に設
定し得ることを特徴とする画像処理装置。
3. The image processing apparatus according to claim 2, wherein said non-background level setting means can arbitrarily set said specific level.
【請求項4】 請求項1、2または3に記載の画像処理
装置において、 上記再生手段は、上記スムージング処理後の画像データ
のレベルを所定値だけシフトさせるオフセット手段と、
このシフト後の画像データと元の入力画像データとを加
算する加算手段とを備えることを特徴とする画像処理装
置。
4. The image processing apparatus according to claim 1, wherein said reproducing means shifts a level of the image data after the smoothing processing by a predetermined value, and
An image processing apparatus comprising: an adding unit that adds the shifted image data and the original input image data.
【請求項5】 入力画像データ中の下地領域と非下地領
域とを判別するステップと、 上記下地領域に含まれた各画素の画像データを下地レベ
ルに設定するステップと、 上記下地レベルに設定後の下地領域と非下地領域との間
の境界領域に含まれた画素の画像データに対してスムー
ジング処理を施すステップと、 上記スムージング処理された画像データと元の入力画像
データとに基づいて、上記境界領域に擬似輪郭が生じな
いように画像を再生するステップとを備えたことを特徴
とする画像処理方法。
5. A step of determining a background area and a non-background area in input image data; setting image data of each pixel included in the background area to a background level; Performing a smoothing process on the image data of the pixels included in the boundary region between the background region and the non-background region, based on the smoothed image data and the original input image data, Reproducing the image so that a pseudo contour does not occur in the boundary area.
【請求項6】 入力画像データ中の下地領域と非下地領
域とを判別するステップと、 上記下地領域に含まれた各画素の画像データを下地レベ
ルに設定するステップと、 上記下地レベルに設定後の下地領域と非下地領域との間
の境界領域に含まれた画素の画像データに対してスムー
ジング処理を施すステップと、 上記スムージング処理された画像データと元の入力画像
データとに基づいて、上記境界領域に擬似輪郭が生じな
いように画像を再生するステップとをコンピュータに実
行させるためのプログラム。
6. A step of determining a background area and a non-background area in the input image data; setting image data of each pixel included in the background area to a background level; Performing a smoothing process on the image data of the pixels included in the boundary region between the background region and the non-background region, based on the smoothed image data and the original input image data, Reproducing an image so that a pseudo contour does not occur in the boundary area.
JP2001160754A 2001-05-29 2001-05-29 Image processing apparatus, image processing method, and program Expired - Fee Related JP4134531B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001160754A JP4134531B2 (en) 2001-05-29 2001-05-29 Image processing apparatus, image processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001160754A JP4134531B2 (en) 2001-05-29 2001-05-29 Image processing apparatus, image processing method, and program

Publications (2)

Publication Number Publication Date
JP2002354254A true JP2002354254A (en) 2002-12-06
JP4134531B2 JP4134531B2 (en) 2008-08-20

Family

ID=19004119

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001160754A Expired - Fee Related JP4134531B2 (en) 2001-05-29 2001-05-29 Image processing apparatus, image processing method, and program

Country Status (1)

Country Link
JP (1) JP4134531B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9025870B2 (en) 2012-05-31 2015-05-05 Brother Kogyo Kabushiki Kaisha Image processing device correcting color of border region between object and background in image

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9025870B2 (en) 2012-05-31 2015-05-05 Brother Kogyo Kabushiki Kaisha Image processing device correcting color of border region between object and background in image

Also Published As

Publication number Publication date
JP4134531B2 (en) 2008-08-20

Similar Documents

Publication Publication Date Title
US5347374A (en) Cascaded image processing using histogram prediction
US8363125B2 (en) Image processing apparatus, image processing method, and computer program product
US6919924B1 (en) Image processing method and image processing apparatus
JP4197346B2 (en) Image processing apparatus, image processing method, image forming apparatus, image processing program, and recording medium
EP0457537A2 (en) Color image processing apparatus
JPH06197216A (en) Texture soil eliminating method
US6563602B1 (en) Image processing apparatus and method, and recording medium
JPH09168091A (en) Image processor and method
JP2002358513A (en) Method and device for correcting position dependence on photograph image data, computer program, recording medium and photograph image recording device
JP2002016818A (en) Color correction method and device, and recording medium
JP3679469B2 (en) Color correction method
JPH0832827A (en) Gradation correction divice for digital image
JPH04336870A (en) Color picture recorder
JP2003101773A (en) Image processing equipment
US7034959B1 (en) Method, apparatus and recording medium for image processing
JPH10283470A (en) Image processor, image processing method and recording medium
JP2003134354A (en) Image processing apparatus and method therefor
JP2002354254A (en) Image processor, image processing method and program
JP2002135614A (en) Image processor
JP2008227959A (en) Image processing device, image processing method and image processing system
KR20070063411A (en) Noise reduction for primary tones for image replication systems
JP2008048189A (en) Image processor, image processing method, image forming apparatus, image processing program, and recording medium
JPH09247483A (en) Picture emphasizing device
JP2000187722A (en) Deciding method for picture processing parameter and recording medium recording program for executing its processing
JP2890456B2 (en) Image processing device

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20050614

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060323

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20060421

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20060421

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071012

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071016

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071207

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080219

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080410

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080520

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

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees