JPH0766442B2 - Image edge enhancement method - Google Patents
Image edge enhancement methodInfo
- Publication number
- JPH0766442B2 JPH0766442B2 JP1181518A JP18151889A JPH0766442B2 JP H0766442 B2 JPH0766442 B2 JP H0766442B2 JP 1181518 A JP1181518 A JP 1181518A JP 18151889 A JP18151889 A JP 18151889A JP H0766442 B2 JPH0766442 B2 JP H0766442B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- pixel
- difference signal
- image
- sharp
- 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 - Lifetime
Links
Landscapes
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、製版用スキャナ(カラー用,白黒用)、フ
ァクシミリ等において、原画を光電走査してその原画の
画像データを読み取り、原画の画像に含まれる輪郭部を
強調する方法に関する。DETAILED DESCRIPTION OF THE INVENTION [Industrial field of application] The present invention relates to a plate-making scanner (for color, black and white), a facsimile, etc., by photoelectrically scanning an original image to read image data of the original image, The present invention relates to a method of emphasizing a contour part included in.
複製画像の輪郭強調にあたっては、注目画素の信号(以
下シャープ信号Sという)および注目画素の近傍領域
(注目画素を含んでも良い)の平均的な信号(以下アン
シャープ信号Uという)を、原画走査により取り出し
て、両者の差信号(S−U)から輪郭強調の原信号を作
り出している。そして、通常は輪郭強調の強さを適度な
ものにすべく、輪郭強調の原信号に適当な係数kを乗じ
て増幅したものを輪郭強調信号k×(S−U)とし、こ
れをもとのシャープ信号Sに加算して当該注目画素の画
像データとすることより画像の輪郭を強調している。In enhancing the contour of the duplicate image, a signal of the pixel of interest (hereinafter referred to as a sharp signal S) and an average signal (hereinafter referred to as unsharp signal U) of a region in the vicinity of the pixel of interest (which may include the pixel of interest) are scanned in the original image. , And the original signal for contour enhancement is generated from the difference signal (S−U) between the two. Usually, in order to make the strength of the contour enhancement appropriate, the original signal of the contour enhancement is multiplied by an appropriate coefficient k and amplified to obtain the contour enhancement signal k × (S−U). Is added to the sharp signal S to obtain the image data of the pixel of interest, thereby enhancing the contour of the image.
しかしながら、従来の輪郭強調処理は以上のように構成
されているので、全画素に対して画一的な処理を行って
いる。そのため、輪郭強調処理により不必要な規則性が
発生し、例えば走査方向とわずかな角度を持った直線部
分に発生する周期的なぎざぎざ(JAG)なども強調され
てしまうという問題があった。However, since the conventional contour enhancement processing is configured as described above, uniform processing is performed on all pixels. Therefore, there is a problem that unnecessary regularity is generated by the contour emphasis processing, and for example, periodic jagged edges (JAG) generated in a straight line portion having a slight angle with the scanning direction are also emphasized.
また、濃度差が大きく、濃度の変化の少ない境界部分に
おいて輪郭強調処理を行うと、例えば第11図に示す車の
絵柄のように、背景の黒い領域BRから車体の灰色の領域
GRにわずかに入った位置に白いスジが現れるなど、異な
る色相濃度の偽輪郭PLが発生するという問題点があっ
た。この偽輪郭PLは第11図のA−A′線の矢視図である
第12図に示すように、輪郭強調された信号のオーバーシ
ュート部分に対応している。Further, when the contour emphasis processing is performed in the boundary portion where the density difference is large and the density change is small, for example, as shown in the car pattern shown in FIG. 11, the background black area BR to the gray area of the vehicle body
There is a problem in that false contours PL having different hue densities are generated, such as white stripes appearing slightly in the GR. This false contour PL corresponds to the overshoot portion of the contour-enhanced signal, as shown in FIG. 12 which is an arrow view of the line AA 'in FIG.
この発明は以上のような事情を考慮してなされたもので
あり、輪郭強調処理による不必要な規則性の発生を抑制
することにより、JAGの強調や色相濃度の異なる偽輪郭
の発生を抑制し、視覚的に自然な印象の画像が得られる
画像輪郭強調方法を得ることを目的とする。The present invention has been made in consideration of the above circumstances, and suppresses the occurrence of unnecessary regularity due to the contour emphasis process, thereby suppressing the JAG emphasis and the occurrence of false contours having different hue densities. The purpose of the present invention is to obtain an image contour enhancement method that can obtain a visually natural image.
この発明に係る画像輪郭強調方法は、原画の画像を画素
ごとに読取って得られる原画の画像データに輪郭強調を
施す方法であって、まず原画上の各画素を順次に注目画
素として特定しつつ、注目画素からシャープ信号を取り
出す。An image contour emphasizing method according to the present invention is a method for emphasizing contours on image data of an original image obtained by reading an image of an original image for each pixel, and first, specifying each pixel on the original image as a target pixel in sequence. , The sharp signal is extracted from the pixel of interest.
次に、順次に特定した注目画素のそれぞれの近傍の領域
の画像データに基づいて、それによって注目画素のそれ
ぞれに対するアンシャープ信号を求める。Then, the unsharp signal for each of the target pixels is obtained based on the image data of the region in the vicinity of each of the sequentially specified target pixels.
そして、シャープ信号とアンシャープ信号との差を示す
第1の差信号を求め、さらに、第1の差信号に、0.5か
ら1.5までの範囲に限定され前記順次に特定した注目画
素のそれぞれに対応して異なって設定された乱数係数を
乗じて第2の差信号を求め、シャープ信号と第2の差信
号との線形加算によって強調済信号を求めて、この強調
済信号を注目画素の輪郭強調済の画像データとするもの
である。Then, a first difference signal indicating the difference between the sharp signal and the unsharp signal is obtained, and the first difference signal is limited to the range from 0.5 to 1.5 and corresponds to each of the sequentially specified target pixels. Then, the second difference signal is obtained by multiplying the differently set random number coefficient, the enhanced signal is obtained by linear addition of the sharp signal and the second difference signal, and the enhanced signal is used to enhance the contour of the pixel of interest. The image data is already used.
この発明によれば、第2の差信号は、注目画素のそれぞ
れに対応する異なる乱数係数を第1の差信号に乗じて得
られるので、強調済信号の空間的な規則性が抑制され
る。しかも、第1の差信号に乗じるための乱数係数を0.
5から1.5の範囲に限定しているので、第1の差信号の元
の大きさをある程度保ちながら、第2の差信号を画素ご
とにソフトに変化させることができる。According to the present invention, the second difference signal is obtained by multiplying the first difference signal by different random number coefficients corresponding to the respective target pixels, so that the spatial regularity of the emphasized signal is suppressed. Moreover, the random number coefficient for multiplying the first difference signal is 0.
Since the range is limited to 5 to 1.5, the second difference signal can be softly changed for each pixel while maintaining the original size of the first difference signal to some extent.
A.全体構成と概略動作 第2図は、この発明の一実施例を適用する製版用スキャ
ナの概略ブロック図である。同図において、原画100の
画像が走査読取装置200によって画素ごとに読取られ、
このようにして得られた画像信号が画像処理装置300に
転送される。画像処理装置300は、後述する機能を持っ
た輪郭強調装置400を備えており、入力された画像信号
に対して輪郭強調等の処理を行う。そして、処理後の画
像信号は走査記録装置500に与えられる。走査記録装置5
00は画像信号を網点信号へと変換し、それに基づいて、
感光フィルム600上に網点画像を露光記録する。A. Overall Configuration and Schematic Operation FIG. 2 is a schematic block diagram of a plate-making scanner to which an embodiment of the present invention is applied. In the figure, the image of the original image 100 is read for each pixel by the scanning reading device 200,
The image signal thus obtained is transferred to the image processing device 300. The image processing device 300 includes a contour enhancement device 400 having a function described below, and performs a process such as contour enhancement on an input image signal. Then, the processed image signal is given to the scanning recording apparatus 500. Scanning recorder 5
00 converts the image signal into a halftone dot signal, and based on that,
A halftone dot image is exposed and recorded on the photosensitive film 600.
B.関連する提案例 この発明の実施例を説明するのに先駆けて、関連する提
案例を説明する。第1A図は、この発明に関連した提案例
である画像輪郭強調方法を示すフローチャートである。
この処理は前述した第2図に示す輪郭強調装置400で行
われる。B. Related Proposed Example Prior to explaining the embodiments of the present invention, a related proposed example will be described. FIG. 1A is a flowchart showing an image contour enhancement method which is a proposed example related to the present invention.
This processing is performed by the contour emphasis device 400 shown in FIG.
まず第1A図のステップS11において、強調処理に先立つ
準備段階としてアンシャープ信号Uを形成するための複
数のマスキング行列を準備し、所定のメモリ領域に格納
しておく。First, in step S11 of FIG. 1A, a plurality of masking matrices for forming the unsharp signal U are prepared and stored in a predetermined memory area as a preparatory step prior to the emphasis processing.
このマスキング行列は、例えば第3A図に示すような一様
な重み付けW1を行う単純平均タイプのものや、第3B図に
示すような中央に近い画素ほど大きい重み付けW2を行う
ディファレンシャルタイプのような、さまざまなタイプ
のものが準備される。また、そのマスクが作用する範囲
についても、さまざまな幅の範囲について作用するもの
が準備される。実際にはデジタル処理のため第4A図〜第
4C図に示すような、さまざまな重み付けを行う複数のマ
スクが準備される。This masking matrix is, for example, a simple average type that performs uniform weighting W1 as shown in FIG. 3A, or a differential type that performs greater weighting W2 for pixels closer to the center as shown in FIG. 3B. Different types are prepared. Also, as for the range in which the mask operates, those operating in various width ranges are prepared. Actually digital processing
Multiple masks with different weights are prepared as shown in FIG. 4C.
次のステップS12においては、注目画素に対応するシャ
ープ信号Sを求めるとともに、ステップS11で用意した
複数のマスキング行列の中から順にまたは無作為にマス
キング行列を一つずつ抽出し、各画素に対して適用して
いく。このような処理により、隣接する画素のそれぞれ
に対して異なるマスキング行列を適用し、異なる特性を
有するそれぞれのアンシャープ信号Uが形成される。In the next step S12, the sharp signal S corresponding to the pixel of interest is obtained, and one or more masking matrices are sequentially or randomly extracted from the plurality of masking matrices prepared in step S11. Apply. By such processing, different masking matrices are applied to adjacent pixels to form respective unsharp signals U having different characteristics.
ステップS13では、ステップS12で求めたシャープ信号S
とアンシャープ信号Uとの差を示す差信号(S−U)を
求め、強調済信号S+k(S−U)を求める。In step S13, the sharp signal S obtained in step S12
And the unsharp signal U, the difference signal (S−U) is obtained, and the emphasized signal S + k (S−U) is obtained.
一般にマスキング行列をシャープ信号Sに作用させ、強
調済信号S+k(S−U)を求めると、第3A図および第
3B図に示すようにエッジの前後において、アンダーシュ
ートUSやオーバーシュートOSを形成する。ステップS11
で準備した複数のマスキング行列を用いれば、このアン
ダーシュートUS,オーバーシュートOSの形状,高さ,幅
はマスキング行列の違いによって様々に変化し、画素ご
とに異なる形状となる。またデジタル処理を示す第4A図
〜第4C図においても、アンダーシュートUS,オーバーシ
ェートOSの高さe1〜e3が、マスキング行列の違いによっ
て相互に異なっているのが示されている。Generally, when a masking matrix is applied to the sharp signal S to obtain the emphasized signal S + k (S−U), the sharpened signal S is obtained as shown in FIG.
Undershoot US and overshoot OS are formed before and after the edge as shown in FIG. 3B. Step S11
If a plurality of masking matrices prepared in step 1 are used, the shapes, heights, and widths of the undershoot US and the overshoot OS are variously changed depending on the difference in the masking matrix, and each pixel has a different shape. Also, in FIGS. 4A to 4C showing the digital processing, it is shown that the heights e1 to e3 of the undershoot US and the overshoot OS are different from each other due to the difference in the masking matrix.
ステップS14では、ステップS13で求めた強調済信号S+
k(S−U)を各画素に対応した新たな画像データとす
ることにより、輪郭強調処理を完了する。In step S14, the emphasized signal S + obtained in step S13
The contour enhancement processing is completed by setting k (SU) to new image data corresponding to each pixel.
この輪郭強調処理を行っても、オーバーシュートやアン
ダーシュートが隣接する画素について異なる形状を有し
ているので、強調処理による不必要な規則性の発生が抑
制される。準備するマスキング行列の数を増やせばこの
規則性を充分に低減でき、JAGの発生や、異なる色相濃
度の偽輪郭の発生が抑制できる。Even if this contour emphasis processing is performed, since overshoots and undershoots have different shapes for adjacent pixels, occurrence of unnecessary regularity due to the emphasis processing is suppressed. This regularity can be sufficiently reduced by increasing the number of masking matrices to be prepared, and it is possible to suppress the occurrence of JAG and the false contour of different hue density.
次に、以上のような処理を実現するための回路構成につ
いて説明する。第5図は第2図に示す輪郭強調装置400
の構成の一例を示す回路図である。Next, a circuit configuration for realizing the above processing will be described. FIG. 5 shows the contour enhancement device 400 shown in FIG.
3 is a circuit diagram showing an example of the configuration of FIG.
画素ごとに生成される各色版の信号Y,M,C,Kは図示しな
い色補正回路などを経て、輪郭強調装置400内の乗算器4
1Y,41M,41C,41Kのそれぞれに与えられ、所定の係数ay,a
m,ac,akを乗算される。また遅延回路51Y,51M,51C,51Mに
も信号Y,M,C,Kは与えられ、そこで後述する処理のため
のタイミング調整が行われる。The signals Y, M, C, and K of each color plate generated for each pixel are passed through a color correction circuit (not shown) or the like, and then the multiplier 4 in the contour enhancement device 400
1Y, 41M, 41C, 41K, given a predetermined coefficient a y , a
It is multiplied by m , a c , a k . The signals Y, M, C, and K are also given to the delay circuits 51Y, 51M, 51C, and 51M, and the timing adjustment for the processing described later is performed there.
乗算器41Y〜41Kの乗算結果は加算器61で相互に加算さ
れ、下記式(1)に示すように、各色版ごとの信号Y,M,
C,Kの加重平均によるシャープ信号Sが生成される。The multiplication results of the multipliers 41Y to 41K are mutually added by the adder 61, and as shown in the following formula (1), the signals Y, M, and
A sharp signal S is generated by the weighted average of C and K.
S=ay・Y+am・M +ac・C+ak・Kay+am+ac+ak=1 …(1) シャープ信号Sはラインバッファメモリ71に与えられ、
アドレス発生回路81からのアドレスApに応じて書き込ま
れる。ラインバッファメモリ71は第6図に示すように、
1回の走査で走査される画素数Nと後述するマスキング
のために必要な行数Lとによって決まるメモリ容量(N
+L)を有する。例えば5×5のマスキングを行う場合
にはL=5となる。 S = a y · Y + a m · M + a c · C + a k · Ka y + a m + a c + a k = 1 ... (1) sharp signal S is applied to the line buffer memory 71,
It is written according to the address A p from the address generation circuit 81. The line buffer memory 71 is, as shown in FIG.
The memory capacity (N, which is determined by the number of pixels N scanned in one scan and the number of rows L necessary for masking described later) (N
+ L). For example, when masking 5 × 5, L = 5.
以上のようにして書き込まれたシャープ信号Sは、例え
ば第7図に示す5×5の行列状の画素に対応したシャー
プ信号Sij(i,j=0〜4)としてラインバッファメモリ
71から読み出され、以下に示すような演算を施される。The sharp signal S written as described above is used as a sharp signal S ij (i, j = 0 to 4) corresponding to the pixels in the matrix of 5 × 5 shown in FIG. 7, for example, in the line buffer memory.
It is read from 71 and the following operations are performed.
係数メモリ91〜96のそれぞれには、相互に異なる6種類
のグループの重み付け係数nij(i,j=0〜4)が格納さ
れている。この係数nijはシャープ信号Sから直接、差
信号(S−U)を生成するためのものであり、アンシャ
ープ信号Uを生成するための重み付け係数mij(i,j=0
〜4)との関係は下記式(2),(3)によって与えら
れる。Each of the coefficient memories 91 to 96 stores weighting coefficients n ij (i, j = 0 to 4) of 6 different groups. The coefficient n ij is for directly generating the difference signal (S−U) from the sharp signal S, and the weighting coefficient m ij (i, j = 0) for generating the unsharp signal U is used.
~ 4) is given by the following equations (2) and (3).
このようにして、第8図に示すように係数nij(i,j=0
〜4)を生成し、差信号(S−U)を生成するために第
7図に示すシャープ信号Sij(i,j=0〜4)のそれぞれ
に作用させる。アドレス発生回路81からのアドレスA
Mは、例えば上位3ビットによって係数メモリ91〜96の
うちの1つを選択し、下位5ビットによってその中の係
数nijのうちの1つを選択する構成となっている。アド
レスAMの上位3ビットを隣接する画素ごとに変化させる
ことにより、係数メモリ91〜96のそれぞれをランダムに
または順番に選択することができる。そのため、画素ご
とに異なる特性を有する差信号(S−U)が生成され
る。 In this way, as shown in FIG. 8, the coefficients n ij (i, j = 0
.About.4) and act on each of the sharp signals S ij (i, j = 0 to 4) shown in FIG. 7 to generate a difference signal (S−U). Address A from address generation circuit 81
For example, M has a configuration in which one of the coefficient memories 91 to 96 is selected by the upper 3 bits and one of the coefficients n ij therein is selected by the lower 5 bits. Address by changing the upper three bits of the A M for each pixel adjacent, it is possible to select each of the coefficient memories 91 to 96 randomly or sequentially. Therefore, a difference signal (S-U) having different characteristics for each pixel is generated.
第5図において、シャープ信号Sijのそれぞれと、係数n
ijのそれぞれとは乗算器42で乗算される。5×5の行列
状の画素に対応した25個の乗算結果は加算器62において
累算加算される。In FIG. 5, each sharp signal S ij and coefficient n
Each of ij is multiplied by the multiplier 42. The 25 multiplication results corresponding to 5 × 5 matrix pixels are cumulatively added in the adder 62.
以上のようにして求められた差信号(S−U)は加算器
62から乗算器43Y,43M,43C,43Kのそれぞれに与えられ、
各色版ごとの強調係数by,bm,bc,bkが乗算される。The difference signal (SU) obtained as described above is added by the adder.
It is given to each of the multipliers 43Y, 43M, 43C, 43K from 62,
The enhancement factors b y , b m , b c , b k for each color plate are multiplied.
これらの乗算結果は加算器63Y,63M,63C,63Kのそれぞれ
に与えられ、遅延回路51Y〜51Kで遅延されたていた対応
する信号Y,M,C,Kのそれぞれと加算され、下記色(4a)
〜(4b)に示されるような強調済信号EY,EM,EC,EKが生
成される。These multiplication results are given to the adders 63Y, 63M, 63C, and 63K, respectively, and are added to the corresponding signals Y, M, C, and K delayed by the delay circuits 51Y to 51K, respectively, and the following colors ( 4a)
The enhanced signals EY, EM, EC, EK as shown in (4b) are generated.
EY=Y+by(S−U) …(4a) EM=M+bm(S−U) …(4b) EC=C+bc(S−U) …(4c) EK=K+bk(S−U) …(4d) 前述したように差信号(S−U)が画素ごとに異なる特
性を有するので、強調済信号EY,EM,EC,EKのオーバーシ
ュート部やアンダーシュート部も隣接する画素ごとに異
なる特性を有する。そのため輪郭強調を行いつつも、強
調処理に伴う不必要な規則性の発生が抑制され、JAGの
発生や色相濃度の異なる偽輪郭の発生が抑制される。ま
た、視覚的に自然な印象の画像が得られる。 EY = Y + b y (S -U) ... (4a) EM = M + b m (S-U) ... (4b) EC = C + b c (S-U) ... (4c) EK = K + b k (S-U) ... ( 4d) Since the difference signal (S−U) has different characteristics for each pixel as described above, the overshoot portion and undershoot portion of the emphasized signals EY, EM, EC, EK also have different characteristics for adjacent pixels. Have. Therefore, while the contour is emphasized, the occurrence of unnecessary regularity due to the emphasis processing is suppressed, and the occurrence of JAG and the false contour having different hue density are suppressed. Also, an image with a visually natural impression can be obtained.
なお、5×5の行列状の画素に対する輪郭強調処理につ
いて説明したが、他の大きさの領域の輪郭強調処理につ
いても同様に適用できる。また、あらかじめ用意する係
数nijの行列の大きさが相互に異なっていてもよく、つ
まり、3×3のマスキングや5×5のアンシャープマス
クを混在して用いてもよい。さらに係数メモリ91〜96に
格納される係数nijのグループの数は、複数であれば良
く、多いほどより充分な効果が得られる。In addition, although the edge enhancement processing for the 5 × 5 matrix of pixels has been described, the same can be applied to the edge enhancement processing for regions of other sizes. Further, the sizes of the matrixes of the coefficients n ij prepared in advance may be different from each other, that is, 3 × 3 masking and 5 × 5 unsharp mask may be mixed and used. Further, the number of groups of the coefficient n ij stored in the coefficient memories 91 to 96 may be plural, and the larger the number, the more sufficient effect can be obtained.
C.一実施例の詳細 次に、上記提案例をさらに改良したこの発明の一実施例
の詳細を説明する。第1B図は、この発明の一実施例であ
る輪郭強調方法を示すフローチャートである。この処理
も前述した第2図に示す輪郭強調装置400で行われる。C. Details of One Embodiment Next, details of one embodiment of the present invention in which the above-mentioned proposed example is further improved will be described. FIG. 1B is a flowchart showing a contour emphasizing method which is an embodiment of the present invention. This processing is also performed by the contour emphasizing device 400 shown in FIG.
まずステップS21で、注目画素からシャープ信号Sおよ
び注目画素の近傍領域からアンシャープ信号Uを求め
る。アンシャープ信号Uは所定のマスキング行列によっ
て与えられる。さらに、ステップS22でシャープ信号S
とアンシャープ信号Uとの差を示す第1の差信号(S−
U)を求める。First, in step S21, a sharp signal S is obtained from the pixel of interest and an unsharp signal U is obtained from a region near the pixel of interest. The unsharp signal U is given by a predetermined masking matrix. Further, in step S22, the sharp signal S
And a first difference signal (S-
U).
ステップS23では、第1の差信号(S−U)に画素ごと
に与えられる異なる係数rを乗じて第2の差信号r(S
−U)を求める。この係数rは不規則にまたは一定の順
序で変化するので、隣接する画素に対しても、充分に差
のある第2の差信号r(S−U)が生成される。In step S23, the first difference signal (S−U) is multiplied by a different coefficient r given to each pixel to obtain a second difference signal r (S
-U). Since the coefficient r changes irregularly or in a fixed order, a sufficiently different second difference signal r (S-U) is generated even for adjacent pixels.
ステップS24では第2の差信号r(S−U)に基づいた
強調済信号S+k・r(S−U)を求める。またステッ
プS25でこの強調済信号S+k・r(S−U)を各画素
に対応させることにより輪郭強調処理を完了する。第2
の差信号r(S−U)は隣接する画素に対しても充分な
差を有し、強調済信号S+k・r(S−U)のオーバー
シュート部やアンダーシュート部は隣接する画素ごとに
充分に差のある形状を有しているので、強調処理による
不必要な規則性の発生が抑制され、JAGの発生や異なる
色相濃度の偽輪郭の発生が抑制でき、視覚的に自然な印
象の画像が得られる。In step S24, the emphasized signal S + k · r (S−U) based on the second difference signal r (S−U) is obtained. Further, in step S25, the edge enhancement processing is completed by associating the enhanced signal S + k · r (S−U) with each pixel. Second
Difference signal r (S−U) has a sufficient difference between adjacent pixels, and the overshoot portion and undershoot portion of the emphasized signal S + k · r (S−U) are sufficient for each adjacent pixel. Since it has different shapes in the shape, unnecessary regularity due to emphasis processing is suppressed, JAG and false contours with different hue density can be suppressed, and an image with a visually natural impression can be suppressed. Is obtained.
次に、以上のような処理を実現するための回路構成につ
いて説明する。第9図は第2図に示す輪郭強調装置400
の構成の他の例を示す回路図である。Next, a circuit configuration for realizing the above processing will be described. FIG. 9 shows the contour enhancement device 400 shown in FIG.
3 is a circuit diagram showing another example of the configuration of FIG.
第5図に示す回路と同様にして、シャープ信号Sはライ
ンバッファメモリ71に与えられ、アドレス発生回路82か
らのアドレスAPに応じて書き込まれる。In the same manner as the circuit shown in FIG. 5, sharp signal S is applied to the line buffer memory 71, it is written according to the address A P from the address generating circuit 82.
ラインバッファメモリ71から読み出されたシャープ信号
Sijのそれぞれは、係数メモリ97から読み出される重み
付け係数nij(i,j=0〜4)のそれぞれと乗算器42で乗
算される。係数nijはアドレス発生回路82からのアドレ
スANによって指定される。さらにそれらの25個の乗算結
果は加算器62において累算加算され、第1の差信号(S
−U)が生成される。Sharp signal read from the line buffer memory 71
Each of the S ij is multiplied by each of the weighting coefficients n ij (i, j = 0 to 4) read from the coefficient memory 97 in the multiplier 42. The coefficient n ij is specified by the address A N from the address generation circuit 82. Further, those 25 multiplication results are cumulatively added in the adder 62 to obtain the first difference signal (S
-U) is generated.
第1の差信号(S−U)は第2差信号発生器52内の乗算
器44に与えられる。乗算器44には乱数メモリ98からの乱
数rも与えられ、それらの間の乗算結果である第2の差
信号r(S−U)を生成する。乱数メモリ98は画素ごと
に変化するアドレスARをアドレス発生回路82から与えら
れており、画素ごとに異なる乱数rを発生する。The first difference signal (SU) is provided to the multiplier 44 in the second difference signal generator 52. The multiplier 44 is also supplied with the random number r from the random number memory 98, and generates the second difference signal r (S−U) which is the multiplication result between them. The random number memory 98 is given an address A R that changes for each pixel from the address generation circuit 82, and generates a random number r that is different for each pixel.
ここで、乱数rとして0.5<r<1.5の範囲の数値を乱数
メモリ98に格納しておけば、第2の差信号r(S−U)
は0.5(S−U)<r(S−U)<1.5(S−U)の範囲
で変化することになり、第1の差信号(S−U)のもと
の大きさを保ちつつ画素ごとに変化する第2の差信号r
(S−U)が与えられる。If a numerical value in the range of 0.5 <r <1.5 is stored in the random number memory 98 as the random number r, the second difference signal r (S−U)
Changes in the range of 0.5 (S−U) <r (S−U) <1.5 (S−U), and the pixel size is maintained while maintaining the original magnitude of the first difference signal (S−U). The second difference signal r that changes with each
(SU) is given.
第2の差信号r(S−U)は第5図に示す乗算器43Y〜4
2Kに与えられ、以下、前述した提案例と同様の処理を受
ける。生成される強調済信号EY〜EKのそれぞれは、画素
ごとに異なる強調係数r・by,r・bm,r・bc,r・bkのそれ
ぞれを与えられているので、強調処理による不必要な規
則性の発生が抑制され、JAGの発生や色相濃度の異なる
偽輪郭の発生を抑制し、視覚的に自然な印象の画像が得
られる。The second difference signal r (SU) is multiplied by the multipliers 43Y-4 shown in FIG.
It is given to 2K, and is then subjected to the same processing as the above-mentioned proposed example. Each enhancement already signals EY~EK generated, enhancement coefficient different for each pixel r · b y, r · b m, r · b c, since given the respective r · b k, by enhancement processing The generation of unnecessary regularity is suppressed, the generation of JAG and false contours with different hue densities are suppressed, and a visually natural image is obtained.
第10図はルックアップテーブル(LUT)によって構成し
た第2差信号発生器の構成を示すブロック図である。第
2差信号発生器52aを構成するLUT44a内のメモリ領域M1
〜M8のそれぞれには、相互に異なる範囲の数値のグレー
プが格納されている。例えば上位のメモリ領域M1には入
力される乱数rに対して比較的大きい範囲の数値が格納
され、下位のメモリ領域M8に向うにしたがって、比較的
小さい値の範囲の数値が格納されているとする。各メモ
リ領域M1〜M8内の数値は、それぞれの範囲内で対応した
乱数rの定数倍になっている。FIG. 10 is a block diagram showing a configuration of a second difference signal generator configured by a look-up table (LUT). Memory area M1 in LUT44a that constitutes the second difference signal generator 52a
Each of ~ M8 stores a different range of grape values. For example, it is assumed that a numerical value in a relatively large range is stored in the upper memory area M1 with respect to the input random number r, and a numerical value in a relatively small value range is stored toward the lower memory area M8. To do. The numerical value in each memory area M1 to M8 is a constant multiple of the corresponding random number r within each range.
また、第1の差信号(S−U)はYデコーダDYに与えら
れ、メモリ領域M1〜M8のうちの一つを選択するためのY
アドレスとして機能する。第1の差信号(S−U)が比
較的大きい場合には、メモリ領域M1側の上位のメモリ領
域が選択され、比較的小さい場合にはメモリ領域M8側の
下位のメモリ領域が選択される。このようにして第1の
差信号(S−U)の大きさを反映した範囲の数値のグル
ープが選択される。Further, the first difference signal (S−U) is given to the Y decoder DY, and Y for selecting one of the memory areas M1 to M8 is selected.
Acts as an address. When the first difference signal (SU) is relatively large, the upper memory area on the memory area M1 side is selected, and when it is relatively small, the lower memory area on the memory area M8 side is selected. . In this way, a group of numerical values in the range that reflects the magnitude of the first difference signal (S-U) is selected.
乱数rはXデコーダDXに与えられ、選択されたメモリ領
域M1〜M8のうちの一つに格納されている、具体的な数値
を選択するためのXアドレスとして機能する。このよう
にして選択された数値は、第2の差信号R(S−U)と
して後段の第5図に示す乗算器43Y〜43Kに与えられる。
第2の差信号R(S−U)は第1の差信号(S−U)の
大きさを反映しつつ、各メモリ領域M1〜M8のそれぞれが
有する範囲内で変動するので、やはり強調による不必要
な規則性の発生が抑制され、JAGの発生や色相濃度の異
なる偽輪郭の発生を抑制し、視覚的に自然な印象の画像
が得られる。The random number r is given to the X decoder DX and functions as an X address for selecting a specific numerical value stored in one of the selected memory areas M1 to M8. The numerical value selected in this way is given to the multipliers 43Y to 43K shown in FIG. 5 in the subsequent stage as the second difference signal R (SU).
The second difference signal R (S-U) reflects the magnitude of the first difference signal (S-U) and varies within the range of each of the memory areas M1 to M8. The generation of unnecessary regularity is suppressed, the generation of JAG and false contours with different hue densities are suppressed, and a visually natural image is obtained.
なお、LUTを用いれば、第1の差信号(S−U)と第2
の差信号R(S−U)との間にさまざまな非線形な関係
を与えることができる。例えば第1の差信号(S−U)
が所定レベル以上になると、第2の差信号R(S−U)
が飽和するようにLUTを構成してもよい。If the LUT is used, the first difference signal (S−U) and the second difference signal (S−U)
Various non-linear relationships can be applied to the difference signal R (S-U). For example, the first difference signal (S-U)
Becomes a predetermined level or higher, the second difference signal R (S-U)
The LUT may be configured so that is saturated.
以上のようにこの発明によれば、第2の差信号は注目画
素のそれぞれに対応する異なる乱数係数を第1の差信号
に乗じて得られるので、強調済信号の空間的な規則性が
抑制される。As described above, according to the present invention, since the second difference signal is obtained by multiplying the first difference signal by different random number coefficients corresponding to the respective target pixels, the spatial regularity of the emphasized signal is suppressed. To be done.
そのため、強調済信号のエッジ両端部での強調処理によ
る不必要な規則性の発生を抑制することにより、JAGの
強調や色相濃度の異なる偽輪郭の発生を抑制し、視覚的
に自然な印象の画像が得られる画像輪郭強調方法を得る
ことができる。Therefore, by suppressing the occurrence of unnecessary regularity due to the emphasis processing at both edges of the emphasized signal, it is possible to suppress the JAG emphasis and the generation of false contours with different hue densities, and to create a visually natural impression. It is possible to obtain an image contour enhancement method by which an image is obtained.
しかも、第1の差信号に乗じるための乱数係数を0.5か
ら1.5の範囲に限定しているので、第1の差信号の元の
大きさをある程度保ちながら、第2の差信号を画素ごと
にソフトに変化させることができる。Moreover, since the random number coefficient for multiplying the first difference signal is limited to the range of 0.5 to 1.5, the second difference signal is pixel by pixel while maintaining the original size of the first difference signal to some extent. It can be changed softly.
第1A図はこの発明に関する提案例による輪郭強調方法の
フローチャート、第1B図はこの発明の一実施例による輪
郭強調方法のフローチャート、 第2図はこの発明の一実施例を適用する製版用スキャナ
のブロック図、 第3A図および第3B図はマスキング行列の重み付け分布を
示す図、 第4A図〜第4C図はデジタル的な重み付けのようすを示す
図、 第5図は輪郭強調装置の構成の一例を示す回路図、 第6図はラインバッファメモリの構成を示す図、 第7図は行列状のシャープ信号を示す図、 第8図は重み付け係数の分布を示す図、 第9図は輪郭強調装置の構成の他の例を示す回路図、 第10図は第2差信号発生器の構成を示すブロック図、 第11図は従来の輪郭強調の様子を示す図、 第12図は第11図に示す画像信号を示す図である。 400……輪郭強調装置、 S,Sij……シャープ信号、 U……アンシャープ信号、 mij,nij……重み付け係数、 91〜96……係数メモリ、 EY,EM,EC,EK……強調済信号、 S−U……第1の差信号、r……乱数、 r(S−U),R(S−U)……第2の差信号FIG. 1A is a flow chart of a contour enhancement method according to a proposed example of the present invention, FIG. 1B is a flow chart of a contour enhancement method according to an embodiment of the present invention, and FIG. 2 is a flowchart of a plate making scanner to which the embodiment of the present invention is applied. Block diagrams, FIGS. 3A and 3B are diagrams showing a weighting distribution of a masking matrix, FIGS. 4A to 4C are diagrams showing a digital weighting state, and FIG. 5 is an example of a configuration of a contour emphasis device. FIG. 6 is a circuit diagram showing the configuration of a line buffer memory, FIG. 7 is a diagram showing matrix-shaped sharp signals, FIG. 8 is a diagram showing distribution of weighting coefficients, and FIG. FIG. 10 is a circuit diagram showing another example of the configuration, FIG. 10 is a block diagram showing the configuration of the second difference signal generator, FIG. 11 is a diagram showing a state of conventional contour enhancement, and FIG. 12 is shown in FIG. It is a figure which shows an image signal. 400 …… Contour enhancement device, S, S ij …… Sharp signal, U …… Unsharp signal, m ij , n ij …… Weighting coefficient, 91 to 96 …… Coefficient memory, EY, EM, EC, EK …… Enhanced signal, S-U ... First difference signal, r ... Random number, r (S-U), R (S-U) ... Second difference signal
───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭61−121589(JP,A) 特開 昭63−155273(JP,A) 特開 昭59−141871(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A 61-121589 (JP, A) JP-A 63-155273 (JP, A) JP-A 59-141871 (JP, A)
Claims (1)
前記原画の画像データに輪郭強調を施す方法であって、 (a) 前記原画上の各画素を順次に注目画素として特
定しつつ、前記注目画素からシャープ信号を取り出す工
程と、 (b) 前記順次に特定した注目画素のそれぞれの近傍
の領域の画像データに基づいてアンシャープ信号を求め
る工程と、 (c) 前記シャープ信号と前記アンシャープ信号との
差を示す第1の差信号を求める工程と、 (d) 前記第1の差信号に、0.5から1.5までの範囲に
限定され前記順次に特定した注目画素のそれぞれに対応
して異なって設定された乱数係数を乗じて第2の差信号
を求める工程と、 (e) 前記シャープ信号と前記第2の差信号との線形
加算によって強調済信号を求め、前記強調済信号を前記
注目画素の輪郭強調済の画像データとする工程と、を含
む画像輪郭強調方法。1. A method of applying contour enhancement to image data of an original image obtained by reading an image of the original image pixel by pixel, comprising: (a) sequentially specifying each pixel on the original image as a pixel of interest, Extracting a sharp signal from the pixel of interest, (b) obtaining an unsharp signal based on image data of regions in the vicinity of each of the sequentially identified pixels of interest, (c) the sharp signal and the unsharp signal Obtaining a first difference signal indicating a difference from the sharp signal, and (d) corresponding to each of the sequentially specified pixels of interest limited to the range from 0.5 to 1.5 in the first difference signal. Multiplying differently set random number coefficients to obtain a second difference signal; (e) obtaining an enhanced signal by linear addition of the sharp signal and the second difference signal, and obtaining the enhanced signal Attention An image contour enhancement method including: a step of providing image data with pixel contour enhancement.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1181518A JPH0766442B2 (en) | 1989-07-13 | 1989-07-13 | Image edge enhancement method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1181518A JPH0766442B2 (en) | 1989-07-13 | 1989-07-13 | Image edge enhancement method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0346075A JPH0346075A (en) | 1991-02-27 |
| JPH0766442B2 true JPH0766442B2 (en) | 1995-07-19 |
Family
ID=16102159
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1181518A Expired - Lifetime JPH0766442B2 (en) | 1989-07-13 | 1989-07-13 | Image edge enhancement method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0766442B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100753011B1 (en) * | 2007-04-06 | 2007-09-10 | 이익규 | Road safety boundary stone base for easy height and inclination adjustment |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS59141871A (en) * | 1983-02-02 | 1984-08-14 | Dainippon Screen Mfg Co Ltd | Sharpness emphasizing method in picture scanning and recording mode |
| JPH0638658B2 (en) * | 1984-11-16 | 1994-05-18 | 日本電気株式会社 | Image signal decoding post-processing device |
| JPS63155273A (en) * | 1986-12-18 | 1988-06-28 | Fujitsu Ltd | Image processor |
-
1989
- 1989-07-13 JP JP1181518A patent/JPH0766442B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0346075A (en) | 1991-02-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0562813B1 (en) | System and method for converting halftone images to continuous-tone images | |
| DE69418684T2 (en) | Method for quantization of gray tone image data with extended distribution set | |
| US6707950B1 (en) | Method for modification of non-image data in an image processing chain | |
| DE69309409T2 (en) | Grouped halftone with point-to-point error diffusion | |
| US5343309A (en) | Image processing system and method employing adaptive filtering to provide improved reconstruction of continuous tone images from halftone images including those without a screen structure | |
| DE69108951T2 (en) | Digital halftone photographic reproduction. | |
| EP1396816B1 (en) | Method for sharpening a digital image | |
| US5970178A (en) | Adaptive halftoning based on image content | |
| EP1267564A2 (en) | Method of determining threshold array for generating gradation image | |
| DE69928775T2 (en) | METHOD AND DEVICE FOR INTERPOLATION OF IMAGE DATA AND MEDIUM FOR AN IMAGE DATA INTERPOLATION PROGRAM | |
| EP0454495A1 (en) | Half-tone image processing system | |
| EP1798951B1 (en) | Method, apparatus and computer program for halftoning digital images | |
| EP0525359A2 (en) | System and method for picture image processing | |
| JP2877356B2 (en) | Image data processing method | |
| EP0579177B1 (en) | Color image processing apparatus | |
| JP3814921B2 (en) | Grayscale image halftoning method and apparatus having grayscale image halftoning means | |
| DE69027870T2 (en) | Image processing device | |
| JPH0766442B2 (en) | Image edge enhancement method | |
| RU2405279C2 (en) | Method for descreening | |
| JP3015049B2 (en) | Image data processing method | |
| JPS60136478A (en) | Picture processor | |
| JPH03146996A (en) | Image processor | |
| JPH1188693A (en) | Pseudo gradation processor | |
| JPH11306344A (en) | Method and device for picture processing | |
| JP3787890B2 (en) | Image processing device |