JPH1166300A - Method for emphasizing sharpness - Google Patents

Method for emphasizing sharpness

Info

Publication number
JPH1166300A
JPH1166300A JP9228168A JP22816897A JPH1166300A JP H1166300 A JPH1166300 A JP H1166300A JP 9228168 A JP9228168 A JP 9228168A JP 22816897 A JP22816897 A JP 22816897A JP H1166300 A JPH1166300 A JP H1166300A
Authority
JP
Japan
Prior art keywords
signal
sharpness
image
value
difference
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.)
Pending
Application number
JP9228168A
Other languages
Japanese (ja)
Inventor
Tetsuya Takamori
哲弥 高森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film 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 Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP9228168A priority Critical patent/JPH1166300A/en
Priority to US09/133,403 priority patent/US6252995B1/en
Publication of JPH1166300A publication Critical patent/JPH1166300A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Image Analysis (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent grains and quantizing step differences from being emphasized in a sharpness. SOLUTION: A first averaging signal Sma and the second averaging signal Smb in two kinds of mask sizes M1=5×5 and M2=11×11 are calculated and, after that the absolute value signal absSd of their difference signal Sd is calculated. When the difference signal Sd is smaller than a threshold value th1, it is discriminated that a part is the flat part of the image, in other words, the flat part of an image density of the part with few density fluctuation so as to set the value of an emphasizing coefficient (h) to a zero value. In this case, unsharp masking signals (h) and (k)(S-U) is made to be the zero value so that a sharpness emphasizing signal S** is made to be S so as to output the signal without sharpness emphasis. The flat part of the picture is not sharpness-emphasized so that the particles and the quantizing step are not emphasized.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、イメージ(画
像)の強調に関し、たとえば、印刷製版用のスキャナ等
に適用して好適なシャープネス強調方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image (image) enhancement, and more particularly to a sharpness enhancement method suitable for application to a printing plate making scanner or the like.

【0002】[0002]

【従来の技術】従来から、画像処理の分野において、画
像の鮮鋭度を向上させるために、シャープネス強調手法
が採用されている。
2. Description of the Related Art Conventionally, in the field of image processing, a sharpness enhancement method has been adopted in order to improve the sharpness of an image.

【0003】このシャープネス強調手法は、周知のよう
に、例えば、被写体(画像原稿も含む)から得られたシ
ャープネス強調前の画像信号(符号をSとする。)の周
囲より、例えば、n×n個のマスクサイズで画像信号を
取り出し、これらを加算平均することによってアンシャ
ープ信号(局所平均信号ともいい、符号をUとする。)
を作成する。次に、前記の画像信号Sと前記のアンシャ
ープ信号Uとの差信号{アンシャープマスキング(US
M)信号ともいう。}S−Uを求め、この差信号S−U
に所定の係数k(kの値は、通常、0〜1の間の値に選
択される。)を乗算して、アンシャープマスキング(U
SM)信号(符号をUSMとする。)を作成する。
[0003] As is well known, this sharpness emphasizing method uses, for example, nxn from the periphery of an image signal (sign is S) before sharpness emphasis obtained from a subject (including an image original). Unsharp signals (also referred to as a local average signal, denoted by U) are obtained by taking out image signals with the number of mask sizes and averaging them.
Create Next, the difference signal between the image signal S and the unsharp signal U, ie, unsharp masking (US
M) Also called a signal. } S−U is obtained, and the difference signal S−U
Is multiplied by a predetermined coefficient k (the value of k is usually selected to be a value between 0 and 1) to obtain unsharp masking (U
Create an SM) signal (code is USM).

【0004】この結果、次の(1)式で定義されるシャ
ープネス強調処理の施された画像信号S* (シャープネ
ス強調信号という。)が得られる。
As a result, an image signal S * (referred to as a sharpness enhanced signal) subjected to a sharpness enhanced process defined by the following equation (1) is obtained.

【0005】 S* =S+USM=S+k・(S−U) …(1) そして、このシャープネス強調信号S* に基づいて、例
えば、2値化処理が行われた後、網点画像化処理が行わ
れ、網点画像がフイルム等の記録担体上に走査形成され
る。そして、フイルムから例えば刷版が作成され、刷版
が印刷機に装着されて網点画像の形成された印刷物が作
成される。
S * = S + USM = S + k · (SU) (1) Then, based on the sharpness enhancement signal S * , for example, after binarization processing is performed, halftone dot imaging processing is performed. The halftone image is scanned and formed on a record carrier such as a film. Then, for example, a printing plate is created from the film, and the printing plate is mounted on a printing press to create a printed matter on which a halftone image is formed.

【0006】[0006]

【発明が解決しようとする課題】ところで、画像信号に
上述の従来技術に係るシャープネス強調を施した場合、
画像上、画像濃度の平坦な部分、換言すれば、濃度が一
定か、なだらかに変化している部分において、いわゆる
粒状にシャープネス強調がかかってしまい、例えば、前
記印刷物上に形成された画像上でざらつき感が強調され
てしまうという問題があった。
By the way, when the image signal is subjected to the sharpness enhancement according to the prior art described above,
On the image, in a flat portion of the image density, in other words, in a portion where the density is constant or gently changing, so-called granular sharpness is applied, for example, on an image formed on the printed matter. There was a problem that the roughness was emphasized.

【0007】また、上述の従来技術に係るシャープネス
強調を施した場合、画像濃度がなだらかに変化している
部分における画像信号の量子化段差にシャープネス強調
がかかってしまい、前記印刷物上に形成された画像上で
トーンジャンプのような筋が現れてしまうという問題も
あった。
Further, when the sharpness enhancement according to the above-described prior art is performed, the sharpness enhancement is applied to the quantization step of the image signal in the portion where the image density changes gently, and the sharpness is formed on the printed matter. There was also a problem that streaks like tone jumps appeared on the image.

【0008】この問題を解決するために、量子化段差程
度の濃度変化部分には、シャープネス強調をかけないよ
うにすることも考えられるが、そのようにすると、織
物、皮膚、金属など被写体そのものの持つ材質感(素材
としての感じ)、いわゆるテクスチャー(質感またはテ
クスチャー感ともいう。)などにもシャープネス強調が
かからなくなり、テクスチャー感がなくなってしまうと
いう新たな問題が発生する。
In order to solve this problem, it is conceivable that sharpness enhancement is not applied to a portion where the density changes about the same as the quantization step, but in such a case, the object itself such as fabric, skin, metal, etc. There is a new problem that sharpness enhancement is not applied to the material texture (feeling as a material), so-called texture (also referred to as texture or texture texture), and the texture texture is lost.

【0009】この発明は、このような課題を考慮してな
されたものであり、粒状や量子化段差に対してシャープ
ネス強調がかかることなく、テクスチャー感等のコント
ラストの小さい画像を強調することを可能とするシャー
プネス強調方法を提供することを目的とする。
The present invention has been made in view of such a problem, and it is possible to enhance an image having a small contrast such as a texture feeling without sharpness enhancement being applied to granularity and quantization steps. The object of the present invention is to provide a sharpness emphasis method.

【0010】[0010]

【課題を解決するための手段】この発明は、入力画像信
号からアンシャープ信号を生成し、生成したアンシャー
プ信号と前記入力画像信号とからUSM(アンシャープ
マスキング)信号を生成し、生成したUSM信号と前記
入力画像信号とを合成してシャープネス強調処理後の画
像信号を生成するシャープネス強調方法において、前記
入力画像信号周囲の画像信号に対して2種類の範囲内で
の各平均値を求め、求めた平均値同士を比較することで
画像濃度の平坦性を判別し、判別した平坦性に応じて前
記USM信号の大きさを変化させて前記入力画像信号と
合成し、シャープネス強調処理後の画像信号を生成する
ようにしたことを特徴とする。
According to the present invention, an unsharp signal is generated from an input image signal, and a USM (unsharp masking) signal is generated from the generated unsharp signal and the input image signal. In a sharpness enhancement method for generating an image signal after sharpness enhancement processing by combining a signal and the input image signal, an average value in two kinds of ranges is obtained for an image signal around the input image signal, The flatness of the image density is determined by comparing the obtained average values, the magnitude of the USM signal is changed according to the determined flatness, and the USM signal is combined with the input image signal, and the image after the sharpness enhancement processing is performed. It is characterized in that a signal is generated.

【0011】この発明によれば、画像濃度の平坦性を簡
易に判別でき、判別結果の平坦性に応じてシャープネス
強調をかけることができる。
According to the present invention, the flatness of the image density can be easily determined, and the sharpness can be enhanced according to the flatness of the determination result.

【0012】この場合において、画像濃度の平坦性を判
別する際、求めた平均値同士の差の絶対値を求め、この
差の絶対値が予め定めた閾値よりも小さい場合には、U
SM信号の大きさをゼロ値とすることで、粒状や量子化
段差に対してシャープネス強調がかかることがなくな
る。
In this case, when determining the flatness of the image density, the absolute value of the difference between the obtained average values is determined, and if the absolute value of the difference is smaller than a predetermined threshold, U
By setting the magnitude of the SM signal to a zero value, sharpness enhancement is not applied to graininess and quantization steps.

【0013】また、第1の閾値と、この第1の閾値より
大きい第2の閾値とを予め設定し、画像濃度の平坦性を
判別する際、求めた平均値同士の差の絶対値を求め、こ
の差の絶対値が前記第1の閾値よりも小さい場合には、
USM信号の大きさをゼロ値とし、差の絶対値が第1の
閾値よりも大きくて第2の閾値よりも小さい場合には差
の絶対値に応じてUSM信号の大きさを徐々に大きく
し、差の絶対値が第2の閾値よりも大きい場合には、U
SM信号を一定の大きさとすることにより、粒状や量子
化段差に対してシャープネス強調がかかることなく、か
つテクスチャー感等のコントラストの小さい画像を強調
することができる。
In addition, a first threshold value and a second threshold value larger than the first threshold value are set in advance, and when determining the flatness of the image density, the absolute value of the difference between the obtained average values is determined. , When the absolute value of the difference is smaller than the first threshold,
The magnitude of the USM signal is set to a zero value, and when the absolute value of the difference is larger than the first threshold and smaller than the second threshold, the magnitude of the USM signal is gradually increased according to the absolute value of the difference. , If the absolute value of the difference is greater than a second threshold,
By setting the SM signal to a fixed size, it is possible to enhance an image having a small contrast such as a texture feeling without sharpness enhancement being applied to a granularity or a quantization step.

【0014】なお、入力画像信号周囲に対する2種類の
範囲を、画像信号の色に応じて適当な値に選択すること
により、色版毎に最適のシャープネス強調処理を行うこ
とができる。
By selecting two types of ranges around the input image signal to appropriate values according to the color of the image signal, it is possible to perform optimum sharpness enhancement processing for each color plate.

【0015】[0015]

【発明の実施の形態】以下、この発明の一実施の形態に
ついて図面を参照して説明する。
An embodiment of the present invention will be described below with reference to the drawings.

【0016】図1は、この発明が適用された画像走査読
取再生システムの例としての印刷用スキャナ10の基本
的な構成を示している。印刷用スキャナ10は、入力部
12を有し、この入力部12において、図示しない画像
原稿が光源からの光により走査され、画像原稿からの反
射光または透過光が、例えば、それぞれ、3原色のフィ
ルタを通じて色分解され、CCDリニアイメージセンサ
等の光電変換素子に導かれ、その光電変換素子を通じて
電気信号である画像信号(画素信号)に変換される。
FIG. 1 shows a basic configuration of a printing scanner 10 as an example of an image scanning reading and reproducing system to which the present invention is applied. The printing scanner 10 has an input unit 12 in which an image original (not shown) is scanned by light from a light source, and reflected light or transmitted light from the image original is, for example, three primary colors, respectively. The color is separated through a filter, guided to a photoelectric conversion element such as a CCD linear image sensor, and converted into an image signal (pixel signal) as an electric signal through the photoelectric conversion element.

【0017】入力部12から出力された画像信号は、A
/D変換器および制御手段としてのコンピュータを有す
る制御部14において、デジタルデータである画像信号
(画素信号)に変換された後、その制御部14におい
て、輝度信号である画像信号から濃度信号である画像信
号への変換処理、階調補正処理、シャープネス強調処
理、色修正処理等が行われた後、網点化画像処理等の種
々の画像処理が行われる。
The image signal output from the input unit 12 is A
After being converted into an image signal (pixel signal) as digital data by a control unit 14 having a / D converter and a computer as control means, the control unit 14 converts the image signal as a luminance signal into a density signal. After performing a conversion process to an image signal, a gradation correction process, a sharpness enhancement process, a color correction process, and the like, various image processes such as a halftone image process are performed.

【0018】制御部14から出力された網点化画像信号
は、出力部16において、電光変換され、レーザ光等の
光ビームにより感光材料上が走査されることで、フイル
ム上に潜像が形成される。潜像が形成されたフイルム
は、現像機により現像されて、画像が形成されたフイル
ムが完成する。
The halftone image signal output from the control unit 14 is electro-optically converted in the output unit 16 and the photosensitive material is scanned with a light beam such as a laser beam to form a latent image on the film. Is done. The film on which the latent image is formed is developed by a developing machine to complete the film on which the image is formed.

【0019】この画像が形成されたフイルムから刷版作
成装置により刷版が作成され、作成された刷版が印刷機
に装着される。印刷機において、刷版から印画紙にイン
キが転写されること、および多色刷りが行われること
で、カラー画像が形成された印刷物が完成する。
From the film on which the image is formed, a printing plate is prepared by a printing plate preparation device, and the prepared printing plate is mounted on a printing press. In the printing press, the transfer of the ink from the printing plate to the printing paper and the multicolor printing are performed, thereby completing a printed matter on which a color image is formed.

【0020】図2は、制御部14中、この発明の要部に
かかわるシャープネス強調処理部20の構成例を示すブ
ロック図である。このシャープネス強調処理部20にお
ける処理は、ソフトウエアに基づいて制御手段としての
CPU(図示していない)により実行してもよく、ハー
ドウエアとして実行してもよい。なお、以下の説明にお
いて、用語「〜部」は、「〜回路」または「〜器」と考
えることができる。
FIG. 2 is a block diagram showing an example of the configuration of the sharpness enhancement processing unit 20 in the control unit 14 according to the main part of the present invention. The processing in the sharpness enhancement processing section 20 may be executed by a CPU (not shown) as control means based on software, or may be executed as hardware. In the following description, the term "-unit" can be considered as "-circuit" or "-unit".

【0021】図2において、例えば、10ビット程度
(約1000階調)の分解能を有する画像信号(入力画
像信号)Sが、ポート22を通じてアンシャープ信号生
成部24、減算部(減算信号生成部)26、加算部(加
算信号生成部)28、第1平均化部(第1平均化信号生
成部)30、および第2平均化部(第2平均化信号生成
部)32に供給される。
In FIG. 2, for example, an image signal (input image signal) S having a resolution of about 10 bits (approximately 1000 gradations) is passed through a port 22 to an unsharp signal generation section 24 and a subtraction section (subtraction signal generation section). 26, an addition unit (addition signal generation unit) 28, a first averaging unit (first averaged signal generation unit) 30, and a second averaging unit (second averaged signal generation unit) 32.

【0022】アンシャープ信号生成部24では、ポート
34から供給される所望のマスクサイズMuに応じてア
ンシャープ信号Uを作成して、減算部(減算信号生成
部)26に供給する。
The unsharp signal generator 24 generates an unsharp signal U in accordance with the desired mask size Mu supplied from the port 34 and supplies it to the subtractor 26 (subtraction signal generator).

【0023】第1平均化部30、第2平均化部32は、
ポート36、38から供給される所定のマスクサイズ
(画像信号S周囲の画像信号に対して2種類の範囲)M
1、M2に基づいて、画像信号Sを平均化した信号Sm
a、Smb(Smaを第1平均化信号、Smbを第2平
均化信号という。)を減算部(減算信号生成部)40に
出力する。この実施の形態において、マスクサイズM1
は、5×5画素分に選択され、マスクサイズM2は、1
1×11画素分に選択されている。マスクサイズM1、
M2は、色版毎に粒状性が異なることを考慮して色版毎
に異なる値としてもよい。
The first averaging unit 30 and the second averaging unit 32
A predetermined mask size (two types of ranges for the image signal around the image signal S) supplied from the ports 36 and 38 M
1, a signal Sm obtained by averaging the image signal S based on M2
a, Smb (Sma is referred to as a first averaged signal, and Smb is referred to as a second averaged signal) to a subtraction unit (subtraction signal generation unit) 40. In this embodiment, the mask size M1
Is selected for 5 × 5 pixels, and the mask size M2 is 1
It is selected for 1 × 11 pixels. Mask size M1,
M2 may be a different value for each color plate in consideration of the fact that the graininess differs for each color plate.

【0024】なお、画像信号Sは、後に説明するよう
に、マスクサイズMu、およびマスクサイズM1、M2
における中心に位置する画素信号を意味する。この実施
の形態において、画素信号Sの大きさ、すなわち1ドッ
トは、約5μm角である。したがって、マスクサイズM
1の大きさは25μm角、マスクサイズM2の大きさは
55μm角である。ぼけマスク用のマスクサイズMu
は、これらのマスクサイズM1、M2とは独立に、適当
な値に選択することができる。この実施の形態では、3
×3画素分、すなわち15μm角としている。
The image signal S has a mask size Mu and mask sizes M1 and M2 as described later.
Means the pixel signal located at the center of In this embodiment, the size of the pixel signal S, that is, one dot is about 5 μm square. Therefore, the mask size M
The size of 1 is 25 μm square, and the size of the mask size M2 is 55 μm square. Mask size Mu for blur mask
Can be selected to an appropriate value independently of these mask sizes M1 and M2. In this embodiment, 3
× 3 pixels, that is, 15 μm square.

【0025】減算部40では、第1平均化信号Smaと
第2平均化信号Smbとの差信号Sd(Sd=Sma−
Smb)を作成する。この差信号Sdの絶対値信号ab
sSd(absSd=|Sd|=|Sma−Smb|)
が、絶対値部(絶対値信号生成部または絶対値計算部と
もいう。)42により作成されてルックアップテーブル
(参照用テーブルまたは探索表ともいう。)44に供給
される。
In the subtracting section 40, a difference signal Sd between the first averaged signal Sma and the second averaged signal Smb (Sd = Sma-
Smb) is created. Absolute value signal ab of this difference signal Sd
sSd (absSd = | Sd | = | Sma-Smb |)
Is generated by an absolute value section (also referred to as an absolute value signal generating section or an absolute value calculating section) 42 and supplied to a look-up table (also referred to as a reference table or a search table) 44.

【0026】この場合、第1および第2平均化部30、
32、減算部40、および絶対値部42は、画像の平坦
性を判別する平坦性判別部29を構成している。
In this case, the first and second averaging units 30,
The subtraction unit 32, the subtraction unit 40, and the absolute value unit 42 constitute a flatness determination unit 29 that determines the flatness of an image.

【0027】図3はルックアップテーブル44の構成例
を示している。横軸は、入力としての絶対値信号abs
Sdであり、縦軸は、出力としての値0から値1までの
値をとる係数(強調係数)hである。絶対値信号abs
Sdの値が第1の閾値th1よりも小さい値であるとき
には、係数hはh=0とされる。また、絶対値信号ab
sSdの値が第1の閾値th1よりも大きく、第2の閾
値th2よりも小さい値であるときには、係数hは、h
=0からh=1まで徐々に大きくなる値とされ、絶対値
信号absSdの値に比例した係数hの値が出力され
る。一方、絶対値信号absSdの値が第2の閾値th
2よりも大きい値であるときには、係数hはh=1とさ
れる。閾値th1、th2は、ポート46を通じて供給
され、値を変えることも可能である。ルックアップテー
ブル44は、画像の平坦性に依存したシャープネス強調
係数の発生部43と言い換えることができる。
FIG. 3 shows a configuration example of the lookup table 44. The horizontal axis is the absolute value signal abs as input.
Sd, and the vertical axis is a coefficient (emphasis coefficient) h that takes a value from 0 to 1 as an output. Absolute value signal abs
When the value of Sd is smaller than the first threshold th1, the coefficient h is set to h = 0. Also, the absolute value signal ab
When the value of sSd is larger than the first threshold th1 and smaller than the second threshold th2, the coefficient h becomes h
From 0 to h = 1, the value gradually increases, and the value of the coefficient h proportional to the value of the absolute value signal absSd is output. On the other hand, the value of the absolute value signal absSd is equal to the second threshold th.
When the value is larger than 2, the coefficient h is set to h = 1. The threshold values th1 and th2 are supplied through the port 46, and the values can be changed. The look-up table 44 can be rephrased as the generation unit 43 of the sharpness enhancement coefficient depending on the flatness of the image.

【0028】ルックアップテーブル44から絶対値信号
absSdの値に応じた値として出力される係数hは、
図2に示すように、乗算部(乗算信号生成部)48に供
給される。
The coefficient h output from the lookup table 44 as a value corresponding to the value of the absolute value signal absSd is:
As shown in FIG. 2, the signal is supplied to a multiplier (multiplier signal generator) 48.

【0029】一方、減算部26では、画像信号Sとアン
シャープ信号Uとから差信号であるアンシャープマスキ
ング(USM)信号S−Uが作成されて乗算部(乗算信
号生成部)50に供給される。なお、アンシャープマス
キング信号S−Uは、画像信号Sのラプラシアンを計算
することで算出することもできる。ラプラシアンを計算
する場合には、アンシャープ信号生成部24と減算器2
6を2次微分信号生成部としてのラプラシアン生成部に
代えればよい。
On the other hand, in the subtraction unit 26, an unsharp masking (USM) signal SU, which is a difference signal, is created from the image signal S and the unsharp signal U, and supplied to the multiplication unit (multiplication signal generation unit) 50. You. Note that the unsharp masking signal SU can also be calculated by calculating the Laplacian of the image signal S. When calculating the Laplacian, the unsharp signal generator 24 and the subtractor 2
6 may be replaced by a Laplacian generator as a secondary differential signal generator.

【0030】乗算部50では、ポート52から供給され
る係数(シャープネス強調係数ともいう。)kとアンシ
ャープマスキング信号S−Uとを乗算してアンシャープ
マスキング信号k(S−U)を生成する。
The multiplication unit 50 multiplies the coefficient (also referred to as a sharpness enhancement coefficient) k supplied from the port 52 by the unsharp masking signal SU to generate an unsharp masking signal k (SU). .

【0031】前記の乗算部48では、アンシャープマス
キング信号k(S−U)と係数hとを乗算して新たなア
ンシャープマスキング信号h・k(S−U)を作成し
て、加算部28に供給する。
The multiplication section 48 multiplies the unsharp masking signal k (SU) by the coefficient h to create a new unsharp masking signal h · k (SU). To supply.

【0032】加算部28は、入力信号としての画像信号
Sにアンシャープマスキング信号h・k(S−U)を加
算して、次の(2)式に示すシャープネス強調信号S**
を作成し、ポート54に出力する。
The adder 28 adds the unsharp masking signal h · k (SU) to the image signal S as an input signal, and adds a sharpness enhancement signal S ** shown in the following equation (2).
And outputs it to the port 54.

【0033】 S**=S+h・k(S−U) …(2) 図2において、ポート34、36、38、46、52か
ら供給されるマスクサイズMu、M1、M2、閾値th
1、th2、および係数kの値は、通常、CPU(図示
していない)を通じてデフォルト値が設定されるが、そ
れぞれ、ユーザが図示しないキーボード等の入力手段を
使用し、CPUを通じて所望の値に設定することも可能
である。
S ** = S + h · k (S−U) (2) In FIG. 2, the mask sizes Mu, M1, M2 supplied from the ports 34, 36, 38, 46, and 52, and the threshold value th
Normally, default values are set for the values of 1, th2, and coefficient k through a CPU (not shown). However, the user uses input means such as a keyboard (not shown) to set desired values through the CPU. It is also possible to set.

【0034】なお、デフォルト値を決定するためには、
原稿画像の種類、例えば、リバーサル原稿であるか、デ
ジタルカメラの信号であるか等、また、解像度、あるい
は被写体の種類等に応じて、出力部16から画像を出力
させることで、予め、最適なマスクサイズMu、M1、
M2、閾値th1、th2、および係数kの値を決定す
ることができ、図示していないROM(書き込み専用メ
モリ)に記憶させておくこともできる。
To determine the default value,
By outputting an image from the output unit 16 in accordance with the type of the original image, for example, whether it is a reversal original or a digital camera signal, the resolution, or the type of the subject, etc. Mask size Mu, M1,
The values of M2, thresholds th1 and th2, and coefficient k can be determined, and can be stored in a ROM (write-only memory) (not shown).

【0035】次に、上記実施の形態の要部の動作につい
てさらに詳しく説明する。
Next, the operation of the main part of the above embodiment will be described in more detail.

【0036】画像信号Sが、図4に示すような画素デー
タ(画像原稿が画素分解されたデータ)から構成されて
いると仮定して、所望の画像信号S=a66の最適なシ
ャープネス強調について考察する。なお、図4に示す画
像信号Sは、画素(1画素の大きさは、例えば、上述の
ように5μm角とする。)分解後の画像原稿に模式的に
対応している。
Assuming that the image signal S is composed of pixel data as shown in FIG. 4 (data obtained by decomposing an image original into pixels), consideration will be given to the optimal sharpness enhancement of the desired image signal S = a66. I do. It should be noted that the image signal S shown in FIG. 4 schematically corresponds to an image original after decomposition of pixels (the size of one pixel is, for example, 5 μm square as described above).

【0037】上述したように、アンシャープ信号Uを形
成するためのマスクサイズMuをMu=3×3に設定し
た場合、アンシャープ信号Uは、画像信号S=a66の
回り(a66を含む。)のS=a55、a56、a5
7、a65、a66、a67、a75、a76、a77
の9個の画素データの、例えば、平均値として計算する
ことができる。
As described above, when the mask size Mu for forming the unsharp signal U is set to Mu = 3 × 3, the unsharp signal U surrounds the image signal S = a66 (including a66). S = a55, a56, a5
7, a65, a66, a67, a75, a76, a77
Can be calculated, for example, as an average value of the nine pixel data.

【0038】また、第1平均化部30では、マスクサイ
ズM1をM1=5×5に設定しているので、第1平均化
信号Smaは、4隅の画素データa44、a48、a8
4、a88で囲まれた25個の画素データの平均値とし
て計算することができる。
In the first averaging section 30, since the mask size M1 is set to M1 = 5 × 5, the first averaging signal Sma includes the pixel data a44, a48, a8 at the four corners.
4, can be calculated as an average value of 25 pixel data surrounded by a88.

【0039】さらに、第2平均化部32では、マスクサ
イズM2をM2=11×11に設定しているので、第2
平均化信号Smbは、4隅の画素データa11、a11
1、a111、a1111で囲まれた121個の画素デ
ータの平均値として計算することができる。
Further, in the second averaging section 32, the mask size M2 is set to M2 = 11 × 11.
The averaged signal Smb includes pixel data a11, a11 at the four corners.
It can be calculated as an average value of 121 pieces of pixel data surrounded by 1, a111, and a1111.

【0040】この第1平均化信号Smaと第2平均化信
号Smbの差信号の絶対値absSdを減算部40と絶
対値計算部42により計算する。
The absolute value absSd of the difference signal between the first averaged signal Sma and the second averaged signal Smb is calculated by the subtractor 40 and the absolute value calculator 42.

【0041】そして、差信号の絶対値absSdが、閾
値th1より小さい場合には、図3に示すルックアップ
テーブル44から、強調係数hの値がh=0値に設定さ
れる。この場合には、アンシャープマスキング信号h・
k(S−U)が、ゼロ値とされるので、シャープネス強
調信号S**は、S**=Sとされて、シャープネス強調の
かからない信号が出力される。すなわち、第1平均化信
号Smaと第2平均化信号Smbの差信号の絶対値ab
sSdが、閾値th1より小さい場合には、画像の平坦
部、換言すれば、画像濃度の平坦部あるいは濃度変動の
少ない部分であると判別して、シャープネス強調をかけ
ないことで、粒状や量子化段差にシャープネスがかから
ないようにしている。これにより出力画像のざらつきを
低減することができる。
If the absolute value absSd of the difference signal is smaller than the threshold th1, the value of the emphasis coefficient h is set to h = 0 from the look-up table 44 shown in FIG. In this case, the unsharp masking signal h.
Since k (SU) is set to a zero value, the sharpness-enhanced signal S ** is set to S ** = S, and a signal that is not sharpened is output. That is, the absolute value ab of the difference signal between the first averaged signal Sma and the second averaged signal Smb
If sSd is smaller than the threshold th1, the image is determined to be a flat portion of the image, in other words, a flat portion of the image density or a portion where the density variation is small, and the sharpness is not enhanced, so that the granularity or quantization is reduced. Sharpness is not applied to steps. Thereby, the roughness of the output image can be reduced.

【0042】一方、第1平均化信号Smaと第2平均化
信号Smbの差信号の絶対値absSdが、閾値th1
よりも大きい場合には、強調係数hの値が、0を超え1
までの値に設定されるので、シャープネス強調信号S**
は、(2)式の右辺第2項h・k(S−U)が有限の値
を持つことになり、シャープネス強調がかかることにな
る。この場合、すなわち、absSd>th1の場合に
は、画像のコントラスト部、例えば、テクスチャー部で
あると判別して、画像信号Sにシャープネス強調がかか
るようになるので、例えば、テクスチャー部等、細かな
コントラストを有する部分に有効にシャープネスがかか
ることになる。
On the other hand, the absolute value absSd of the difference signal between the first averaged signal Sma and the second averaged signal Smb is equal to the threshold th1.
If the value is greater than 0, the value of the enhancement coefficient
The sharpness enhancement signal S **
Means that the second term h · k (SU) on the right side of the equation (2) has a finite value, and sharpness enhancement is applied. In this case, that is, when absSd> th1, the image signal S is determined to be a contrast portion, for example, a texture portion, and sharpness enhancement is applied to the image signal S. Sharpness is effectively applied to a portion having contrast.

【0043】このように、上述の実施の形態によれば、
2種類のマスクサイズM1、M2により計算される各画
像の平均値の差に基づいて画像濃度の平坦性(平坦度)
を判別し、コントラストの小さい画像に対しては、シャ
ープネス強調を有効にかけながら、ざらつきや量子化段
差についてはシャープネス強調がかかることを防止する
ことができるという効果が達成される。
As described above, according to the above-described embodiment,
Flatness (flatness) of image density based on the difference between the average values of each image calculated by two types of mask sizes M1 and M2
Thus, it is possible to achieve an effect that sharpness enhancement can be effectively applied to an image having a small contrast while sharpness enhancement can be prevented from being applied to roughness and quantization steps.

【0044】なお、図2例においては、画像濃度の平坦
性を、2種類のマスクサイズM1、M2により計算され
る各画像の平均値差に基づいて判別するようにしている
が、これに代替して、2種類のマスクサイズM1、M2
により計算される各画像の平均値の比に基づいて画像濃
度の平坦性(平坦度)を判別し、比の値が1に近い場合
には、平坦部分である、比の値が1の値から所定値以上
離れた値である場合には、平坦部分ではないと判断し
て、係数hの値を決めることができる。
In the example shown in FIG. 2, the flatness of the image density is determined based on the average value difference between the images calculated by the two types of mask sizes M1 and M2. Then, two types of mask sizes M1 and M2
The flatness (flatness) of the image density is determined based on the ratio of the average values of the images calculated by the following formula. If the value of the ratio is close to 1, the value of the ratio is 1 which is a flat portion. If the value is more than a predetermined value away from, it is determined that it is not a flat portion, and the value of the coefficient h can be determined.

【0045】結局のところ、画像濃度の平坦性は、2種
類のマスクサイズM1、M2により計算される平均値の
大きさを比較することで判別することができる。
After all, the flatness of the image density can be determined by comparing the average values calculated by the two types of mask sizes M1 and M2.

【0046】なお、この発明は、上述の実施の形態に限
らず、この発明の要旨を逸脱することなく、種々の構成
を採り得ることはもちろんである。
The present invention is not limited to the above-described embodiment, but can adopt various configurations without departing from the gist of the present invention.

【0047】[0047]

【発明の効果】以上説明したように、この発明によれ
ば、入力画像信号周囲の画像信号に対して2種類の範囲
内での平均値を求め、求めた平均値同士を比較すること
で画像濃度の平坦性を判別し、判別した平坦性に応じて
USM信号の大きさを変化させて前記入力画像信号と合
成してシャープネス強調処理後の画像信号を生成するよ
うにしている。
As described above, according to the present invention, an image signal around an input image signal is averaged in two types of ranges, and the calculated averages are compared with each other. The flatness of the density is determined, and the magnitude of the USM signal is changed according to the determined flatness, and the USM signal is combined with the input image signal to generate an image signal after sharpness enhancement processing.

【0048】このため、画像濃度の平坦性を簡易に判別
することができる。したがって、この判別結果の平坦性
に応じて、所望のシャープネス強調をかけることができ
る。
Therefore, the flatness of the image density can be easily determined. Therefore, desired sharpness enhancement can be applied according to the flatness of the determination result.

【0049】例えば、粒状(ざらつき感)や量子化段差
に対してシャープネス強調がかかることを防止しなが
ら、テクスチャー感等、コントラストの小さな画像に対
してシャープネス強調を施すことができる。結果とし
て、ざらつき感やトーンジャンプに係わる筋の発生しな
い高画質の画像出力を得ることができる。
For example, sharpness enhancement can be performed on an image having a small contrast such as texture, while preventing sharpness enhancement from being applied to graininess (roughness) and quantization steps. As a result, it is possible to obtain a high-quality image output free from a feeling of roughness or a line related to tone jump.

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

【図1】この発明が適用された印刷用スキャナの基本的
な構成を示すブロック図である。
FIG. 1 is a block diagram showing a basic configuration of a printing scanner to which the present invention is applied.

【図2】シャープネス強調処理部の構成例を示すブロッ
ク図である。
FIG. 2 is a block diagram illustrating a configuration example of a sharpness enhancement processing unit.

【図3】図2例中のルックアップテーブルの内容を説明
する線図である。
FIG. 3 is a diagram illustrating the contents of a look-up table in the example of FIG. 2;

【図4】画像データの模式図である。FIG. 4 is a schematic diagram of image data.

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

10…印刷用スキャナ 12…入力部 14…制御部 16…出力部 20…シャープネス強調処理部 29…画像の平坦
性判別部 30…第1平均化部 32…第2平均化
部 42…絶対値部 43…画像の平坦性に依存したシャープネス強調係数の
発生部 44…ルックアップテーブル absSd…差信
号の絶対値信号 h、k…シャープネス強調係数 M1、M2、Mn
…マスクサイズ S…画像信号 Sd…差信号 Sma…第1平均化信号 Smb…第2平均
化信号 S−U、k(S−U)、h・k(S−U)…アンシャー
プマスキング(USM)信号 S* 、S**…シャープネス強調信号 U…アンシャープ
信号
DESCRIPTION OF SYMBOLS 10 ... Printing scanner 12 ... Input part 14 ... Control part 16 ... Output part 20 ... Sharpness enhancement processing part 29 ... Image flatness determination part 30 ... First averaging part 32 ... Second averaging part 42 ... Absolute value part 43: a generation unit of a sharpness enhancement coefficient depending on the flatness of an image 44: a lookup table absSd: an absolute value signal of a difference signal h, k: a sharpness enhancement coefficient M1, M2, Mn
... Mask size S ... Image signal Sd ... Difference signal Sma ... First averaged signal Smb ... Second averaged signal SU, k (SU), hk (SU) ... Unsharp masking (USM) ) Signal S * , S ** ... Sharpness emphasis signal U ... Unsharp signal

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】入力画像信号からアンシャープ信号を生成
し、生成したアンシャープ信号と前記入力画像信号とか
らUSM信号を生成し、生成したUSM信号と前記入力
画像信号とを合成してシャープネス強調処理後の画像信
号を生成するシャープネス強調方法において、 前記入力画像信号周囲の画像信号に対して2種類の範囲
内での各平均値を求め、求めた平均値同士を比較するこ
とで画像濃度の平坦性を判別し、 判別した平坦性に応じて前記USM信号の大きさを変化
させて前記入力画像信号と合成し、シャープネス強調処
理後の画像信号を生成するようにしたことを特徴とする
シャープネス強調方法。
An unsharp signal is generated from an input image signal, a USM signal is generated from the generated unsharp signal and the input image signal, and the generated USM signal and the input image signal are combined to enhance sharpness. In a sharpness enhancement method for generating an image signal after processing, an image signal around the input image signal is averaged in two types of ranges, and the calculated averages are compared with each other. Sharpness, wherein the flatness is determined, the magnitude of the USM signal is changed in accordance with the determined flatness, and the USM signal is combined with the input image signal to generate an image signal after sharpness enhancement processing. Emphasis method.
【請求項2】請求項1記載のシャープネス強調方法にお
いて、 前記画像濃度の平坦性を判別する際、前記求めた平均値
同士の差の絶対値を求め、この差の絶対値が予め定めた
閾値よりも小さい場合には、前記USM信号の大きさを
ゼロ値とすることを特徴とするシャープネス強調方法。
2. The sharpness enhancement method according to claim 1, wherein when determining the flatness of the image density, an absolute value of a difference between the obtained average values is obtained, and the absolute value of the difference is determined by a predetermined threshold value. If it is smaller than the threshold value, the magnitude of the USM signal is set to a zero value.
【請求項3】請求項1記載のシャープネス強調方法にお
いて、 第1の閾値と、この第1の閾値より大きい第2の閾値と
を予め設定し、 前記画像濃度の平坦性を判別する際、前記求めた平均値
同士の差の絶対値を求め、この差の絶対値が前記第1の
閾値よりも小さい場合には、前記USM信号の大きさを
ゼロ値とし、前記差の絶対値が前記第1の閾値よりも大
きくて前記第2の閾値よりも小さい場合には前記差の絶
対値に応じて前記USM信号の大きさを徐々に大きく
し、前記差の絶対値が前記第2の閾値よりも大きい場合
には、前記USM信号を一定の大きさとすることを特徴
とするシャープネス強調方法。
3. The sharpness enhancing method according to claim 1, wherein a first threshold value and a second threshold value larger than the first threshold value are set in advance, and when determining the flatness of the image density, The absolute value of the difference between the determined average values is determined. If the absolute value of the difference is smaller than the first threshold, the magnitude of the USM signal is set to a zero value, and the absolute value of the difference is determined by the absolute value of the difference. When the difference is larger than the first threshold and smaller than the second threshold, the magnitude of the USM signal is gradually increased according to the absolute value of the difference, and the absolute value of the difference is larger than the second threshold. The USM signal has a constant magnitude when the magnitude is also large.
【請求項4】請求項1〜3のいずれか1項に記載のシャ
ープネス強調方法において、 前記入力画像信号周囲の画像信号に対する2種類の範囲
は、前記画像信号の色に応じて適当な値に選択すること
を特徴とするシャープネス強調方法。
4. The sharpness enhancing method according to claim 1, wherein the two ranges of the image signal around the input image signal are set to appropriate values according to the color of the image signal. A sharpness enhancement method characterized by selecting.
JP9228168A 1997-08-25 1997-08-25 Method for emphasizing sharpness Pending JPH1166300A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP9228168A JPH1166300A (en) 1997-08-25 1997-08-25 Method for emphasizing sharpness
US09/133,403 US6252995B1 (en) 1997-08-25 1998-08-13 Method of and apparatus for enhancing image sharpness

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9228168A JPH1166300A (en) 1997-08-25 1997-08-25 Method for emphasizing sharpness

Publications (1)

Publication Number Publication Date
JPH1166300A true JPH1166300A (en) 1999-03-09

Family

ID=16872299

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9228168A Pending JPH1166300A (en) 1997-08-25 1997-08-25 Method for emphasizing sharpness

Country Status (1)

Country Link
JP (1) JPH1166300A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100438565C (en) * 2001-06-06 2008-11-26 夏普株式会社 Image encoding method and image device
KR20200096398A (en) * 2019-02-01 2020-08-12 삼성전자주식회사 Method and apparatus for image sharpening using edge-preserving filters

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100438565C (en) * 2001-06-06 2008-11-26 夏普株式会社 Image encoding method and image device
KR20200096398A (en) * 2019-02-01 2020-08-12 삼성전자주식회사 Method and apparatus for image sharpening using edge-preserving filters

Similar Documents

Publication Publication Date Title
US6252995B1 (en) Method of and apparatus for enhancing image sharpness
JP2500837B2 (en) Pixel value quantization method
JP4902837B2 (en) How to convert to monochrome image
US5870503A (en) Image processing apparatus using error diffusion technique
JP3676402B2 (en) Method and apparatus for cascading natural scene images
US8477324B2 (en) Image processor and image processing method that uses s-shaped gamma curve
US6118547A (en) Image processing method and apparatus
JPH08107500A (en) Error diffusion halfton processing system and method of using homogeneous response of high/low brightness picture area
JP2008227759A (en) Image processing device, image forming device, image processing method, image processing program, and computer readable recording medium
JPH05268462A (en) Picture processor
US5835238A (en) Phantom level edge enhanced error diffusion
JPH0983824A (en) Color correction method
JPH1075362A (en) Electronic image processing system and processing method
JPH10112801A (en) Input image processing method
JP2003134339A (en) Image forming apparatus
JPH10233928A (en) Image processor
US7072072B1 (en) Color rendering optimized for text and line art
JP3360476B2 (en) Image processing method and apparatus
JP2000333014A (en) Image processing unit, image processing method, and computer-readable storage medium storing image processing procedure
JPH08317229A (en) Color image processor
JP3455123B2 (en) Image sharpness enhancement method and recording medium recording program for executing the processing
JPH1166300A (en) Method for emphasizing sharpness
Bonnier et al. Spatial and color adaptive gamut mapping: A mathematical framework and two new algorithms
JPH1166299A (en) Method for emphasizing sharpness
JP2006231867A (en) Image processor and image processing method

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060711

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060911

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20061207

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070109