JP2000242779A - Image processor and image processing method - Google Patents

Image processor and image processing method

Info

Publication number
JP2000242779A
JP2000242779A JP11045800A JP4580099A JP2000242779A JP 2000242779 A JP2000242779 A JP 2000242779A JP 11045800 A JP11045800 A JP 11045800A JP 4580099 A JP4580099 A JP 4580099A JP 2000242779 A JP2000242779 A JP 2000242779A
Authority
JP
Japan
Prior art keywords
pixel
density value
interest
pixel group
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP11045800A
Other languages
Japanese (ja)
Other versions
JP4215225B2 (en
Inventor
Kazuyo Kurabayashi
和代 倉林
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Data Corp
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 Oki Data Corp filed Critical Oki Data Corp
Priority to JP04580099A priority Critical patent/JP4215225B2/en
Publication of JP2000242779A publication Critical patent/JP2000242779A/en
Application granted granted Critical
Publication of JP4215225B2 publication Critical patent/JP4215225B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Abstract

PROBLEM TO BE SOLVED: To make preventible a noise isolated at a part whose density is flat from being regarded as an edge and being emphasized corrected. SOLUTION: An edge judging part 20 sets an image area including an attentional pixel in the neighborhood of the attentional pixel and judges whether a pixel group included in the image area can be divided or not into a set of pixel groups having large density values and a set of pixel groups having small density values. Next, it judges whether the attentional pixel is included or not in the pixel groups having large density values when the pixel groups can be divided into the set of the pixel groups having large pixel values and the set of the pixel groups having small density values. When the attentional pixel is judged to be included in the pixel groups having large density values, an edge emphasizingly processing part 30 performs edge emphasizing correction of the density value of the attentional pixel.

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 and an image processing method for highlighting an edge drawing portion in a gradation image.

【0002】[0002]

【従来の技術】従来から、画像信号を処理する技術分野
では、画像中の輪郭に相当する部分を鮮明にして画質を
向上させるために、エッジ描画部分の画素の濃度値を補
正して、強調表示する処理が行われている。この画像処
理のために、2次元フィルタが利用される。2次元フィ
ルタは、例えば注目画素の濃度値を補正するための、3
行3列のパラメータ群により構成される。
2. Description of the Related Art Conventionally, in the technical field of processing an image signal, in order to improve the image quality by sharpening a portion corresponding to an outline in an image, a density value of a pixel in an edge drawing portion is corrected and emphasized. Display processing is being performed. For this image processing, a two-dimensional filter is used. The two-dimensional filter includes, for example, a 3D filter for correcting the density value of the pixel of interest.
It is composed of a parameter group in the row 3 column.

【0003】2次元フィルタの3×3個のパラメータ
と、注目画素を中心とする3×3個の画素の濃度値との
積がそれぞれ計算され、その結果の総和が補正後の注目
画素の濃度値とされる。パラメータの値を適当に選定す
ると、注目画素の濃度値が周辺画素の濃度値より大きい
ときには、注目画素の濃度値がより大きくなるように補
正され、注目画素の濃度値が周辺画素の濃度値より小さ
いときには、注目画素の濃度値がより小さくなるように
補正される。注目画素の濃度値が周辺画素の濃度値と等
しいときは濃度値は補正されない。こうしたエッジ強調
補正に関する技術は、例えば「画像のディジタル信号処
理、吹抜敬彦著、日刊工業新聞社113ページ」等に紹
介されている。
The product of the 3 × 3 parameters of the two-dimensional filter and the density values of the 3 × 3 pixels centered on the target pixel is calculated, and the sum of the results is the corrected density of the target pixel. Value. When the value of the parameter is appropriately selected, when the density value of the target pixel is larger than the density value of the peripheral pixel, the density value of the target pixel is corrected so as to be larger, and the density value of the target pixel is larger than the density value of the peripheral pixel. When it is smaller, the correction is performed so that the density value of the target pixel becomes smaller. When the density value of the target pixel is equal to the density value of the peripheral pixel, the density value is not corrected. Such a technique related to edge enhancement correction is introduced in, for example, “Digital Signal Processing of Images, written by Takahiko Fukibuki, page 113 of Nikkan Kogyo Shimbun”.

【0004】[0004]

【発明が解決しようとする課題】ところで、上記のよう
な従来の技術には、次のような解決すべき課題があっ
た。注目画素の濃度値が周辺画素の濃度値と等しいの
は、画像中で濃度が平坦な背景中に注目画素が存在する
場合である。ところがこうした濃度の平坦な部分にノイ
ズが混入することがある。このノイズを注目画素として
上記の2次元フィルタによる処理をすると、ノイズの濃
度値が補正されて強調されてしまうという問題があっ
た。従って、注目画素がノイズかどうかを見分けた上で
エッジ強調補正を実行することが必要になる。
However, the above-mentioned prior art has the following problems to be solved. The density value of the target pixel is equal to the density value of the peripheral pixel when the target pixel exists in a background having a flat density in the image. However, noise may be mixed in such a flat portion of the density. When the noise is used as a pixel of interest and the processing is performed by the two-dimensional filter, there is a problem that the density value of the noise is corrected and emphasized. Therefore, it is necessary to execute the edge enhancement correction after determining whether or not the target pixel is noise.

【0005】[0005]

【課題を解決するための手段】本発明は以上の点を解決
するため次の構成を採用する。 〈構成1〉注目画素の近傍にこの注目画素が含まれる画
像領域を設定して、上記画像領域に含まれる画素群が、
濃度値の大きい画素群と濃度値の小さい画素群とに区分
できるかどうかを判定し、上記画素群が濃度値の大きい
画素群と濃度値の小さい画素群とに区分できる場合に
は、上記注目画素が上記濃度値の大きい画素群に含まれ
るかどうかを判定するエッジ判定部と、上記注目画素が
上記濃度値の大きい画素群に含まれると、上記エッジ判
定部が判定したときに、注目画素の濃度値をエッジ強調
補正するエッジ強調処理部を備えたことを特徴とする画
像処理装置。
The present invention employs the following structure to solve the above problems. <Structure 1> An image region including the target pixel is set near the target pixel, and a pixel group included in the image region is set as follows:
It is determined whether the pixel group can be divided into a pixel group having a large density value and a pixel group having a small density value. If the pixel group can be divided into a pixel group having a large density value and a pixel group having a small density value, An edge determination unit that determines whether a pixel is included in the pixel group having the large density value; and an edge determination unit that determines that the pixel of interest is included in the pixel group having the large density value. An image processing apparatus comprising an edge enhancement processing unit that performs edge enhancement correction on the density value of the image.

【0006】〈構成2〉構成1に記載の画像処理装置に
おいて、入力画像から各画素を順番に読み出すと共に、
注目画素と注目画素に隣接する画素の濃度差を算出し
て、この濃度差が一定の閾値以上である場合にエッジ判
定部にその注目画素に対するエッジ判定処理を要求する
進入退出状態検出部を備えたことを特徴とする画像処理
装置。
<Structure 2> In the image processing apparatus described in Structure 1, each pixel is sequentially read from an input image, and
An entry / exit state detection unit that calculates a density difference between the target pixel and a pixel adjacent to the target pixel and requests the edge determination unit to perform an edge determination process on the target pixel when the density difference is equal to or greater than a certain threshold value An image processing apparatus characterized in that:

【0007】〈構成3〉注目画素の近傍にこの注目画素
が含まれる画像領域を設定して、上記画像領域に含まれ
る画素群が、濃度値の大きい画素群と濃度値の小さい画
素群とに区分できるかどうかを判定し、上記画素群が濃
度値の大きい画素群と濃度値の小さい画素群とに区分で
きる場合には、上記注目画素が上記濃度値の大きい画素
群に含まれるかどうかを判定し、上記注目画素が上記濃
度値の大きい画素群に含まれると判定したときに、注目
画素の濃度値をエッジ強調補正することを特徴とする画
像処理方法。
<Structure 3> An image area including the pixel of interest is set near the pixel of interest, and the pixel group included in the image area is divided into a pixel group having a large density value and a pixel group having a small density value. It is determined whether or not the pixel group can be classified. If the pixel group can be divided into a pixel group having a large density value and a pixel group having a small density value, it is determined whether or not the pixel of interest is included in the pixel group having a large density value. An image processing method, comprising: performing edge enhancement correction on a density value of a target pixel when it is determined that the target pixel is included in the pixel group having a large density value.

【0008】〈構成4〉構成3に記載の画像処理方法に
おいて、入力画像から各画素を順番に読み出すと共に、
注目画素と注目画素に隣接する画素の濃度差を算出し
て、この濃度差が一定の閾値以上である場合にその注目
画素に対するエッジ判定処理を要求することを特徴とす
る画像処理方法。
<Structure 4> In the image processing method according to Structure 3, each pixel is sequentially read from the input image, and
An image processing method comprising: calculating a density difference between a target pixel and a pixel adjacent to the target pixel; and requesting edge determination processing for the target pixel when the density difference is equal to or greater than a predetermined threshold.

【0009】〈構成5〉注目画素の近傍にこの注目画素
が含まれる画像領域を設定して、上記画像領域に含まれ
る画素群が、濃度値の大きい画素群と濃度値の小さい画
素群とに区分できるかどうかを判定し、上記画素群が濃
度値の大きい画素群と濃度値の小さい画素群とに区分で
きる場合には、上記注目画素が上記濃度値の大きい画素
群に含まれるかどうかを判定し、上記注目画素が上記濃
度値の大きい画素群に含まれると判定したときに、注目
画素の濃度値をエッジ強調補正する処理とを実行するコ
ンピュータプログラムを記録したコンピュータ読み取り
可能な記録媒体。
<Structure 5> An image area including the target pixel is set near the target pixel, and the pixel groups included in the image area are divided into a pixel group having a large density value and a pixel group having a small density value. It is determined whether or not the pixel group can be classified. If the pixel group can be divided into a pixel group having a large density value and a pixel group having a small density value, it is determined whether or not the pixel of interest is included in the pixel group having a large density value. A computer-readable recording medium which stores a computer program for executing a process of performing edge enhancement correction on a density value of a target pixel when determining that the target pixel is included in the pixel group having a large density value.

【0010】[0010]

【発明の実施の形態】以下、本発明の実施の形態を具体
例を用いて説明する。 〈具体例1〉図1は、具体例1の画像処理装置のブロッ
ク図である。この装置は、入力画像メモリ11に記憶し
た入力画像のエッジ強調処理を行って出力画像メモリ1
2に出力する機能を持つ。このために、エッジ判定部2
0と、エッジ強調処理部30及び演算テーブル31が設
けられている。エッジ判定部20は、領域設定部21、
平均濃度値算出部22、濃度差算出部23、低濃度画素
数カウント部24、閾値算出部25及び比較判定部26
により構成されている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below using specific examples. <Example 1> FIG. 1 is a block diagram of an image processing apparatus according to Example 1. This apparatus performs an edge enhancement process on an input image stored in an input image memory 11 and
2 has the function of outputting to Therefore, the edge determination unit 2
0, an edge enhancement processing unit 30 and an operation table 31 are provided. The edge determination unit 20 includes a region setting unit 21,
Average density value calculation unit 22, density difference calculation unit 23, low density pixel count unit 24, threshold value calculation unit 25, and comparison determination unit 26
It consists of.

【0011】エッジ判定部20の領域設定部21は、入
力画像メモリ11から所定の画像領域中の各濃度値を読
み出す処理を行う部分である。画像領域は、注目画素の
近傍にこの注目画素が含まれるように設定した領域で、
例えば注目画素を中心とした3×3個の画素から成る領
域である。この画像領域に含まれる各画素の濃度値に基
づいて、注目画素についてエッジ強調処理を行うかどう
かの判定をする。エッジ強調処理を行う場合には、エッ
ジ強調処理部30において、2次元フィルタを用いた処
理を行う。エッジ強調処理が不要な場合には、注目画素
の濃度値を直接出力画像メモリ12に出力する。エッジ
判定部20は、この処理を入力画像に含まれる全ての画
素について行う。
The area setting section 21 of the edge judging section 20 is a section for performing processing for reading each density value in a predetermined image area from the input image memory 11. The image area is an area set so that the target pixel is included in the vicinity of the target pixel.
For example, it is an area composed of 3 × 3 pixels centered on the pixel of interest. Based on the density value of each pixel included in this image area, it is determined whether or not to perform edge enhancement processing on the target pixel. When performing edge enhancement processing, the edge enhancement processing unit 30 performs processing using a two-dimensional filter. When the edge enhancement processing is unnecessary, the density value of the target pixel is directly output to the output image memory 12. The edge determination unit 20 performs this processing for all pixels included in the input image.

【0012】平均濃度値算出部22は、設定された画像
領域に含まれる全ての画素の濃度値を累積しその平均値
を求める部分である。低濃度画素数カウント部24は、
この平均濃度値と各画素の濃度値とを比較し、平均濃度
値よりも低い画素の数をカウントする部分である。な
お、平均濃度値と等しい濃度値の画素は0.5画素とし
て画素の数をカウントする。濃度差算出部23は、注目
画素の濃度値と平均濃度値との差を算出する部分であ
る。
The average density value calculating section 22 is a section for accumulating the density values of all the pixels included in the set image area and obtaining the average value. The low-density pixel count section 24 includes:
This is a part that compares the average density value with the density value of each pixel and counts the number of pixels lower than the average density value. Note that pixels having a density value equal to the average density value are counted as 0.5 pixels and the number of pixels is counted. The density difference calculator 23 is a part that calculates the difference between the density value of the target pixel and the average density value.

【0013】閾値算出部25は、後で説明する要領で、
注目画素がエッジ部分にある画素かどうかを判定するた
めの閾値を算出する部分である。比較判定部26は、閾
値算出部25から出力される閾値と濃度差算出部23か
ら出力される濃度差とを比較し、閾値よりも濃度差が大
きい場合にはエッジ強調処理部30に対し注目画素の濃
度値を出力し、それ以外の場合は出力画像メモリ12に
注目画素の濃度値を出力する処理を行う部分である。
The threshold value calculating section 25 calculates the
This is a part for calculating a threshold value for determining whether or not the target pixel is a pixel at the edge portion. The comparison determination unit 26 compares the threshold value output from the threshold value calculation unit 25 with the density difference output from the density difference calculation unit 23, and pays attention to the edge enhancement processing unit 30 when the density difference is larger than the threshold value. This is a part for performing processing for outputting the density value of the pixel, and otherwise outputting the density value of the pixel of interest to the output image memory 12.

【0014】図2に、画像領域内の濃度分布の例説明図
を示す。この図を用いて本発明の動作原理を概略説明す
る。まず、図の(a)に示すように、入力画像がこの画
像領域1の部分において比較的平坦な濃度分布を示す場
合を考える。各画素の濃度値は、平均濃度値Aを中心に
ほぼ均一に分布している。図の横軸は各画素の濃度値、
縦軸は同一の濃度値を示す画素の数を示している。
(b)は、この画像領域1の分にエッジが存在する場合
を示す。横軸と縦軸の表示は(a)と同一である。
FIG. 2 is a diagram for explaining an example of the density distribution in the image area. The operation principle of the present invention will be schematically described with reference to FIG. First, consider a case where the input image shows a relatively flat density distribution in the image area 1 as shown in FIG. The density values of each pixel are distributed almost uniformly around the average density value A. The horizontal axis in the figure is the density value of each pixel,
The vertical axis indicates the number of pixels having the same density value.
(B) shows a case where an edge exists in the image area 1. The display of the horizontal axis and the vertical axis is the same as in (a).

【0015】(a)の場合も(b)の場合も、画像領域
1に含まれる画素群は、平均濃度値Aよりも濃度値の大
きい画素群と濃度値の小さい画素群に区分される。注目
画素が濃度値の大きい画素群に含まれる場合には、注目
画素の濃度値と平均濃度値Aとの差を求める。(a)の
場合その差は小さい。(b)の場合、その差は比較的大
きい。そこで、(b)の場合には注目画素がエッジにあ
ると判定する。(a)の場合エッジ強調補正はしない。
(a)の場合注目画素はノイズである可能性が大きいか
らである。
In both cases (a) and (b), the pixel group included in the image area 1 is divided into a pixel group having a higher density value than the average density value A and a pixel group having a lower density value. When the target pixel is included in a pixel group having a large density value, a difference between the density value of the target pixel and the average density value A is obtained. In the case of (a), the difference is small. In the case of (b), the difference is relatively large. Therefore, in the case of (b), it is determined that the target pixel is on the edge. In the case of (a), the edge enhancement correction is not performed.
This is because, in the case of (a), the pixel of interest is likely to be noise.

【0016】図1に示す演算テーブル31は、エッジ強
調処理部30が注目画素に対するエッジ強調補正を行う
場合の演算処理に利用される。これは、従来からよく知
られた2次元フィルタのデータである。その具体的な構
成は、後で図5を用いて説明する。出力画像メモリ12
には、該当箇所のエッジ強調補正がされた画像が記憶さ
れる。出力画像メモリ12に格納されたデータは、その
後、図示しない他の装置に出力される。
The calculation table 31 shown in FIG. 1 is used for calculation processing when the edge enhancement processing unit 30 performs edge enhancement correction on a target pixel. This is data of a conventionally well-known two-dimensional filter. The specific configuration will be described later with reference to FIG. Output image memory 12
Stores an image of the corresponding portion that has been subjected to edge enhancement correction. The data stored in the output image memory 12 is thereafter output to another device (not shown).

【0017】図3には、具体例1の画像処理装置の動作
フローチャートを示す。まず、ステップS1において、
図1に示す領域設定部21に対し、入力画像メモリ11
に記憶された各画素を順番に注目画素に設定するための
アドレス信号(画素位置P(i,j))が入力する。こ
の画素位置P(i,j)のパラメータiとjとは、ステ
ップS7,ステップS9によって順番にインクリメント
されていく。ステップS2では、エッジ判定処理を行
う。ここで、図1に示したエッジ判定部20の処理が実
行される。そして、ここで注目画素がエッジ構成要素か
どうかという判断が、図1に示した比較判定部26によ
り行われる。その詳細は図4で後述する
FIG. 3 is a flowchart showing the operation of the image processing apparatus according to the first embodiment. First, in step S1,
The area setting unit 21 shown in FIG.
The address signal (pixel position P (i, j)) for sequentially setting each pixel stored in the pixel as a target pixel is input. The parameters i and j of the pixel position P (i, j) are sequentially incremented in steps S7 and S9. In step S2, an edge determination process is performed. Here, the processing of the edge determination unit 20 shown in FIG. 1 is executed. Then, the determination whether the pixel of interest is an edge component is made by the comparison determination unit 26 shown in FIG. The details will be described later with reference to FIG.

【0018】エッジ構成要素であると判断されると、ス
テップS4に進み、図1に示したエッジ強調処理部30
によって、エッジ強調補正が行われる。ステップS5で
は、その結果が出力画像メモリ12に記憶される。ステ
ップS6とステップS7は、注目画素を入力画像のライ
ン方向に順にシフトしていく処理で、ステップS8とス
テップS9は、注目画素を含むラインを順に次のライン
に切り換えていく処理である。
If it is determined that the component is an edge component, the process proceeds to step S4, where the edge emphasis processing unit 30 shown in FIG.
Performs edge enhancement correction. In step S5, the result is stored in the output image memory 12. Steps S6 and S7 are processes for sequentially shifting the target pixel in the line direction of the input image. Steps S8 and S9 are processes for sequentially switching the line including the target pixel to the next line.

【0019】図4には、エッジ判定処理のフローチャー
トを示す。まず、ステップS11において、画像領域を
設定する。この画像領域は、例えば3×3画素の画素群
により構成される領域とする。ステップS12では、そ
の画素群の平均濃度値を算出する。そして、ステップS
13において、注目画素の濃度値と平均濃度値の濃度差
を求める。
FIG. 4 shows a flowchart of the edge determination process. First, in step S11, an image area is set. This image area is, for example, an area configured by a pixel group of 3 × 3 pixels. In step S12, an average density value of the pixel group is calculated. And step S
At 13, the density difference between the density value of the pixel of interest and the average density value is determined.

【0020】次に、ステップS14において、低濃度値
の画素数CNTをカウントする。即ち、平均濃度値より
も低い濃度値を持つ画素の数を数える。そして、ステッ
プS15において、閾値Thを算出する。閾値Thは次
の式により求める。 Th=(CNT/N)×Δd なお、Δdは実験により求めた最適値とする。このよう
に閾値を設定したのは次の理由による。
Next, in step S14, the number of pixels CNT having a low density value is counted. That is, the number of pixels having a density value lower than the average density value is counted. Then, in step S15, a threshold Th is calculated. The threshold Th is obtained by the following equation. Th = (CNT / N) × Δd Here, Δd is an optimum value obtained by an experiment. The reason for setting the threshold in this way is as follows.

【0021】まず、注目画素がノイズの場合であって、
注目画素の濃度値だけが周辺画素の濃度値よりも大きい
場合には、CNTが大きくなる。CNTは平均濃度値よ
り濃度値の小さい画素の数である。Nは画像領域に含ま
れる全画素数である。従って、Thはこの場合、十分に
大きな値になる。このため、平均濃度値と注目画素の濃
度値の差は、Thを超えることがない。従って、注目画
素の強調が行われない。
First, in the case where the pixel of interest is noise,
When only the density value of the target pixel is higher than the density values of the peripheral pixels, the CNT becomes larger. CNT is the number of pixels whose density value is smaller than the average density value. N is the total number of pixels included in the image area. Therefore, Th is a sufficiently large value in this case. Therefore, the difference between the average density value and the density value of the target pixel does not exceed Th. Therefore, the pixel of interest is not emphasized.

【0022】また、注目画素がノイズであって、注目画
素の濃度値が周辺画素の濃度値よりも小さい場合には、
CNTが十分小さい値をとるため、閾値Thは小さくな
る。しかし、注目画素の濃度値から平均濃度値を差し引
いた濃度差は負の値になる。従って、この場合にも濃度
差が閾値以下となり、注目画素は強調されない。
If the pixel of interest is noise and the density value of the pixel of interest is smaller than the density values of the surrounding pixels,
Since CNT takes a sufficiently small value, the threshold Th becomes small. However, the density difference obtained by subtracting the average density value from the density value of the target pixel is a negative value. Therefore, also in this case, the density difference becomes equal to or smaller than the threshold, and the pixel of interest is not emphasized.

【0023】一方、注目画素がエッジに存在し、注目画
素の濃度が平均濃度値よりも大きい場合には、注目画素
から平均濃度値を差し引いた濃度差が閾値Thよりも大
きくなる。従ってエッジ強調補正の対象となる。注目画
素がエッジにあって、注目画素が平均濃度値よりも濃度
値の小さい画素群に含まれる場合には、注目画素の濃度
値から平均濃度値を差し引くと負の値になる。この場合
は、濃度差が閾値Thよりも小さいから、エッジ強調の
対象にならない。注目画素が平均濃度値よりも濃度値の
小さい画素群に含まれる場合にエッジ強調補正をしない
のは、注目画素が平均濃度値よりも濃度値の大きい画素
群に含まれる場合にだけエッジ強調補正をすれば十分で
あるのと、エッジ強調補正は濃度値を大きくするように
補正する方が効果的なためである。
On the other hand, when the target pixel exists at the edge and the density of the target pixel is higher than the average density value, the density difference obtained by subtracting the average density value from the target pixel becomes larger than the threshold value Th. Therefore, it becomes a target of edge enhancement correction. If the target pixel is at the edge and the target pixel is included in a pixel group having a lower density value than the average density value, subtracting the average density value from the density value of the target pixel results in a negative value. In this case, since the density difference is smaller than the threshold Th, it is not targeted for edge enhancement. The reason why the edge enhancement correction is not performed when the target pixel is included in a pixel group having a density value lower than the average density value is that the edge enhancement correction is performed only when the target pixel is included in a pixel group having a density value higher than the average density value. Is sufficient because the edge enhancement correction is more effective when the density value is increased.

【0024】以上のような原理によって、例えば白黒画
像の場合には、黒色の画像と白色の画像の境界部分であ
って、黒色の画像のエッジに相当する部分の画素がその
濃度値をやや大きくなるように補正され、適切なエッジ
強調が可能になる。カラー画像についても同様で、濃度
値の大きな画像のエッジに相当する部分の画素がその濃
度値をやや大きくなるように補正される。
According to the above-described principle, for example, in the case of a black-and-white image, a pixel at a boundary portion between a black image and a white image and corresponding to an edge of the black image has a slightly larger density value. Is corrected so that appropriate edge enhancement can be performed. Similarly, the color image is corrected so that the pixel corresponding to the edge of the image having a large density value has a slightly larger density value.

【0025】再び図4に戻って、ステップS16では、
濃度差と閾値とを比較し、濃度差が閾値より大きい場合
にステップS17に進み、注目画素がエッジ構成要素で
あると判定する。その他の場合には注目画素はエッジ構
成要素でないと判定する。こうして、注目画素がエッジ
構成要素であると判定された場合には、エッジ強調補正
が行われる。
Referring back to FIG. 4, in step S16,
The density difference is compared with the threshold, and if the density difference is larger than the threshold, the process proceeds to step S17, where it is determined that the pixel of interest is an edge component. Otherwise, it is determined that the target pixel is not an edge component. In this way, when it is determined that the target pixel is an edge component, edge enhancement correction is performed.

【0026】図5には、具体例1の動作例説明図を示
す。図の(a)は、画像領域1aの内容例を示したもの
で、濃度値が120の画素が5個、濃度値が30の画素
が4個存在する。ここで、まず図4のステップS12に
おける平均濃度値を算出すると、120×5と30×4
を加えて画素数9で除算した値になる。この値は80で
ある。濃度値が80より小さい画素数は、ここでは4個
である。従って、閾値Thは、(4/9)×60とな
り、閾値Thは27となる。なお、このときΔdを例え
ば60に設定しておく。ここで、注目画素の濃度値は1
20であって、平均濃度値は80であるから、その濃度
差は40となる。この濃度差を閾値Thと比較した場合
には、濃度差の方が大きい。従って、注目画素について
エッジ強調補正を行うことになる。
FIG. 5 is an explanatory diagram of an operation example of the first embodiment. (A) of the figure shows an example of the content of the image area 1a, in which five pixels with a density value of 120 and four pixels with a density value of 30 exist. Here, first, when the average density value in step S12 of FIG. 4 is calculated, 120 × 5 and 30 × 4
And a value obtained by dividing by 9 pixels. This value is 80. The number of pixels having a density value smaller than 80 is four in this case. Therefore, the threshold Th is (4/9) × 60, and the threshold Th is 27. At this time, Δd is set to, for example, 60. Here, the density value of the target pixel is 1
20 and the average density value is 80, so the density difference is 40. When this density difference is compared with the threshold Th, the density difference is larger. Therefore, edge enhancement correction is performed on the target pixel.

【0027】(b)の画像領域1bは、中心部の注目画
素がノイズの例を示す。この場合も、(a)と同様の演
算処理をすると、平均濃度値は10×8と30×1を加
算し、これを9で除算した値となる。従って、平均濃度
値は12である。平均濃度値よりも濃度値の小さい画素
数は8である。従って、閾値Thは、(8/9)×6
0、即ち53となる。注目画素の濃度値は30であっ
て、平均濃度値は12であるから、濃度差は18であ
る。これは閾値Thよりも小さい。従って、エッジ強調
補正は行わない。このようにして、本発明の目的である
ノイズに相当する画素のエッジ強調補正は排除される。
In the image area 1b shown in (b), the pixel of interest at the center is an example of noise. Also in this case, when the same calculation processing as in (a) is performed, the average density value is a value obtained by adding 10 × 8 and 30 × 1 and dividing this by 9. Therefore, the average density value is 12. The number of pixels whose density value is smaller than the average density value is eight. Therefore, the threshold value Th is (8/9) × 6
0, that is, 53. Since the density value of the target pixel is 30 and the average density value is 12, the density difference is 18. This is smaller than the threshold Th. Therefore, no edge enhancement correction is performed. In this way, the edge emphasis correction of the pixel corresponding to the noise, which is the object of the present invention, is eliminated.

【0028】図6には、水平垂直強調2次元フィルタの
一例を示す。(a)はその一般形式で、例えば図5
(a)に示した画像領域1aの各画素に対応するよう
に、パラメータhや1+8hが設定されている。hはエ
ッジ強調補正用のパラメータで、状況に応じて適切な値
が選定される。
FIG. 6 shows an example of the horizontal and vertical emphasis two-dimensional filter. (A) is the general form, for example, FIG.
Parameters h and 1 + 8h are set so as to correspond to each pixel of the image area 1a shown in FIG. h is a parameter for edge enhancement correction, and an appropriate value is selected according to the situation.

【0029】例えばhを0.2とすると、(b)に示す
ように、パラメータは、注目画素に対応する場所が2.
6で、周辺画素に対応する部分が−0.2となる。注目
画素の濃度値には図の中心の数値2.6を掛け合わせ、
周辺画素には−0.2を掛け合わせ、その結果を累積加
算すると、図中に示したような式によって結果D(19
2)が得られる。この結果Dを注目画素の補正後の濃度
値とする。このような2次元フィルタの扱いは、従来技
術と同様である。この処理を図1に示すエッジ強調処理
部30において行うことによって、必要なエッジ強調が
可能になる。上記のような処理は、グラフィック画像、
ビットマップ画像、あるいは白黒のみならずカラー画像
についても同様に実現が可能である。
For example, if h is set to 0.2, as shown in FIG.
At 6, the portion corresponding to the peripheral pixels is -0.2. Multiply the density value of the pixel of interest by the numerical value 2.6 at the center of the figure,
When the peripheral pixels are multiplied by −0.2 and the results are cumulatively added, the result D (19) is obtained by the equation shown in FIG.
2) is obtained. The result D is set as the corrected density value of the target pixel. The handling of such a two-dimensional filter is the same as in the prior art. Performing this processing in the edge enhancement processing unit 30 shown in FIG. 1 enables necessary edge enhancement. The processing described above is for graphic images,
The same can be realized not only for a bitmap image or a monochrome image but also for a color image.

【0030】〈具体例1の効果〉以上のように、注目画
素が含まれる画像領域中の各画素を濃度値の大きい画素
群と濃度値の小さい画素群に区分し、注目画素が濃度値
の大きい画素群に含まれるかどうかを判定して、エッジ
構成画素のみの濃度値を補正するようにしたので、ノイ
ズやエッジでない部分の画像を誤って強調処理するとい
った動作を防止できる。これによって、高画質な出力画
像が得られる。
<Effect of Specific Example 1> As described above, each pixel in the image area including the target pixel is divided into a pixel group having a high density value and a pixel group having a low density value. Since it is determined whether or not the pixel is included in a large pixel group and the density value of only the edge-constituting pixels is corrected, it is possible to prevent an operation of erroneously enhancing a noise or an image of a portion other than an edge. As a result, a high-quality output image can be obtained.

【0031】〈具体例2〉上記の例では、入力画像中の
全ての画素について順にエッジ判定を行い、必要に応じ
てエッジ強調補正を行うようにした。しかしながら、上
記のような演算処理を全ての画素について行うと、解像
度の大きな画像の場合、演算処理量が膨大になり、演算
処理負荷が大きくなる。そこで、この具体例では、予め
注目画素がエッジ判定をすべき画素かどうかの判断を
し、必要な画素のみについて具体例1の処理をするよう
にした。
<Specific Example 2> In the above-described example, edge determination is sequentially performed for all pixels in the input image, and edge enhancement correction is performed as necessary. However, if the above-described arithmetic processing is performed on all pixels, the amount of arithmetic processing becomes enormous and an arithmetic processing load increases in the case of an image having a large resolution. Therefore, in this specific example, it is determined in advance whether the pixel of interest is a pixel for which edge determination is to be performed, and the processing of the specific example 1 is performed only on a necessary pixel.

【0032】図7には、具体例2の画像処理装置のブロ
ック図を示す。この装置は、入力画像メモリ11から注
目画素を読み出して処理する進入退出状態検出部40を
備える。この進入退出状態検出部40の出力は、具体例
1を用いて説明したエッジ判定部20に入力する。その
他の演算テーブル31、エッジ強調処理部30、出力画
像メモリ12の構成は、具体例1と同一である。
FIG. 7 is a block diagram of an image processing apparatus according to the second embodiment. This device includes an entry / exit state detection unit 40 that reads out and processes a target pixel from the input image memory 11. The output of the entry / exit state detection unit 40 is input to the edge determination unit 20 described using the first specific example. Other configurations of the operation table 31, the edge enhancement processing unit 30, and the output image memory 12 are the same as those in the first embodiment.

【0033】進入退出状態検出部40は、注目画素読み
出し部41、濃度差検出部42、状態判定部43及び状
態フラグ44から構成される。注目画素読み出し部41
は、入力画像メモリ11に記憶された各画素を順番に読
み出すと共に、その注目画素と注目画素の直前の画素の
濃度値を濃度差算出部42に出力する機能を持つ。濃度
差算出部42は、注目画素の濃度値と、注目画素の直前
即ち注目画素の左側にある画素の濃度差を算出する部分
である。
The entering / leaving state detecting section 40 includes a target pixel reading section 41, a density difference detecting section 42, a state determining section 43, and a state flag 44. Attention pixel readout unit 41
Has a function of sequentially reading out each pixel stored in the input image memory 11 and outputting the density value of the pixel of interest and the pixel immediately before the pixel of interest to the density difference calculation unit 42. The density difference calculation unit 42 is a part that calculates the density value of the target pixel and the density difference of the pixel immediately before the target pixel, that is, the pixel on the left side of the target pixel.

【0034】状態判定部43は、濃度差が一定の閾値以
上かどうかを判定し、濃度差が閾値以上であればエッジ
判定部20にその注目画素に対するエッジ判定処理を要
求する。また、それ以外の場合には、その注目画素はエ
ッジ判定処理しないとして濃度値を出力画像メモリ12
に転送する。なお、これらの動作中所定のタイミング
で、後で説明する状態フラグ44を状態判定部43が設
定し、これに応じて進入退出状態検出部40の動作が行
われる。
The state judging section 43 judges whether the density difference is equal to or larger than a certain threshold value. Otherwise, the pixel of interest is not subjected to edge determination processing, and the density value is output to the output image memory 12.
Transfer to At a predetermined timing during these operations, the state determination unit 43 sets a state flag 44 described later, and the operation of the entry / exit state detection unit 40 is performed in response thereto.

【0035】図8には、進入退出判定例説明図を示す。
図8(a)に示すような入力画像が存在するとした場合
に、左側の画素から順にその濃度値を調べ、注目画素を
含む互いに隣接する2個の画素の濃度差を求める。例え
ば注目画素が黒画素で、その左側の画素が白画素の場合
には、白色の背景画像側から黒色に描画された画像中に
進入したと判断する。この場合には、注目画素がエッジ
判定すべき画素と判断して、その画素値をエッジ判定部
に出力する。また、注目画素が白画素で、その左側の画
素が黒画素の場合には、黒色に描画された画像中から白
色の背景画像側に退出したと判断する。この場合にも、
注目画素がエッジ判定すべき画素と判断して、その画素
値をエッジ判定部に出力する。
FIG. 8 is a diagram for explaining an example of approach / exit determination.
If there is an input image as shown in FIG. 8A, the density values are examined in order from the left pixel, and the density difference between two adjacent pixels including the target pixel is obtained. For example, if the target pixel is a black pixel and the left pixel is a white pixel, it is determined that the pixel of interest has entered the image drawn in black from the white background image side. In this case, the target pixel is determined to be a pixel to be edge-determined, and the pixel value is output to the edge determination unit. When the pixel of interest is a white pixel and the pixel on the left is a black pixel, it is determined that the image has drawn out of the image drawn in black toward the white background image. Again, in this case,
The pixel of interest is determined to be a pixel to be edge-determined, and the pixel value is output to the edge determination unit.

【0036】注目画素が背景画像側にある場合には、フ
ラグ値を“0”とする。そして、注目画素が背景画像側
から描画領域中に進入した場合には、フラグ値を“0”
から“1”に変更する。従って、例えば注目画素が図の
(1)から(2)の位置に移った場合には、フラグ値が
“0”から“1”に変更される。また、注目画素が図の
(7)から(8)の位置に移った場合には、フラグ値が
“1”から“0”に変更される。状態フラグのフラグ値
はこのように取り扱われる。
When the target pixel is on the background image side, the flag value is set to "0". Then, when the target pixel enters the drawing area from the background image side, the flag value is set to “0”.
From "1" to "1". Therefore, for example, when the target pixel moves from the position (1) to the position (2) in the figure, the flag value is changed from “0” to “1”. When the pixel of interest moves from the position (7) to the position (8) in the figure, the flag value is changed from “1” to “0”. The flag value of the status flag is handled in this way.

【0037】図8(b)は、フラグ値を利用した判断の
基準例を示すもので、1つ前の注目画素の位置が外部即
ち背景領域側の場合であって、現在の注目画素の濃度値
が小さい場合には、まだ注目画素は背景領域側にあると
してエッジ判定の対象としない。また、1つ前の注目画
素の位置が外部即ち背景領域側の場合であって、現在の
注目画素の濃度値が大きい場合には、背景画像側から描
画領域中に進入したと判断する。従って注目画素をエッ
ジ判定処理の対象とする。なお、濃度値が大きいか小さ
いかは、所定の閾値と比較して判断する。
FIG. 8 (b) shows an example of a criterion for determination using a flag value, in which the position of the immediately preceding pixel of interest is on the outside, that is, on the background area side, and the density of the current pixel of interest is If the value is small, the target pixel is still on the background area side and is not subjected to edge determination. If the previous pixel of interest is located outside, that is, on the side of the background area, and the density value of the current pixel of interest is large, it is determined that the pixel of interest has entered the drawing area from the background image side. Therefore, the target pixel is set as a target of the edge determination processing. Note that whether the density value is large or small is determined by comparing with a predetermined threshold value.

【0038】1つ前の注目画素の位置が内部即ち描画領
域中の場合であって、現在の注目画素の濃度値が小さい
場合には、描画領域中から背景画像側へ退出したと判断
する。従って注目画素をエッジ判定処理の対象とする。
1つ前の注目画素の位置が内部即ち描画領域中の場合で
あって、現在の注目画素の濃度値が大きい場合には、注
目画素がまだ描画領域中にあると判断し、注目画素をエ
ッジ判定処理の対象としない。
If the position of the immediately preceding pixel of interest is inside, that is, in the drawing area, and if the current density value of the pixel of interest is small, it is determined that the pixel has retreated from the drawing area to the background image side. Therefore, the target pixel is set as a target of the edge determination processing.
If the position of the previous pixel of interest is inside, that is, in the drawing area, and the density value of the current pixel of interest is large, it is determined that the pixel of interest is still in the drawing area, and the pixel of interest is set to the edge. Not subject to judgment processing.

【0039】図9には、具体例2の画像処理装置の動作
フローチャートを示す。まず、ステップS21におい
て、図7に示す注目画素読み出し部41には、注目画素
の画素位置P(i,j)が入力する。これによって、入
力画像メモリ中の該当する画素が注目画素として読み出
される。そして、更にその画素の左側の画素の濃度値も
読み出される。ステップS22では、進入状態の判定処
理が行われる。これは、後で図10を用いて詳細に説明
する。
FIG. 9 is a flowchart showing the operation of the image processing apparatus according to the second embodiment. First, in step S21, the pixel position P (i, j) of the target pixel is input to the target pixel reading unit 41 illustrated in FIG. As a result, the corresponding pixel in the input image memory is read as the target pixel. Then, the density value of the pixel on the left side of the pixel is also read. In step S22, a determination process of the approach state is performed. This will be described later in detail with reference to FIG.

【0040】次のステップS23では、注目画素が進入
状態か退出状態かという判断結果に応じて処理を分岐す
る。進入状態あるいは退出状態であれば、ステップS2
4に進む。そして、具体例1を用いて説明したエッジ判
定処理を行い、ステップS25において、注目画素がエ
ッジ構成要素かどうかを判断する。エッジ構成要素であ
ればステップS26に進み、エッジ強調処理が行われ
る。
In the next step S23, the process branches according to the result of the determination as to whether the target pixel is in the entering state or the leaving state. If it is the entry state or the exit state, step S2
Proceed to 4. Then, the edge determination processing described using the first specific example is performed, and in step S25, it is determined whether the pixel of interest is an edge component. If it is an edge component, the process proceeds to step S26, where edge enhancement processing is performed.

【0041】そして、その後、ステップS27に進み、
出力画像が記憶される。ステップS28とステップS2
9は、注目画素を入力画像のライン方向に順にシフトし
ていく処理で、ステップS8とステップS9は、注目画
素を含むラインを順に次のラインに切り換えていく処理
である。
Then, the process proceeds to step S27,
The output image is stored. Step S28 and Step S2
9 is a process for sequentially shifting the target pixel in the line direction of the input image. Steps S8 and S9 are processes for sequentially switching the line including the target pixel to the next line.

【0042】図10には、進入状態判定処理のフローチ
ャートを示す。まず、ステップS41において、注目画
素の濃度値d(i,j)とその直前即ち左側の画素の濃
度値d(i−1,j)の読み出しが行われる。そして、
ステップS42で、フラグが“0”かどうかを判断す
る。フラグが“0”であれば、注目画素は、図8(a)
に示した描画領域の外部にあり、フラグが“0”でなけ
れば注目画素は内部にある。
FIG. 10 shows a flowchart of the approach state determination processing. First, in step S41, the density value d (i, j) of the target pixel and the density value d (i-1, j) of the pixel immediately before it, that is, the left pixel, are read. And
In step S42, it is determined whether the flag is "0". If the flag is “0”, the target pixel is as shown in FIG.
And the target pixel is inside unless the flag is “0”.

【0043】ステップS43において、注目画素と、そ
の左側の画素との濃度値の差を算出する。ステップS4
4では、その濃度値の差が所定の閾値よりも大きいかど
うかを判断する。所定の閾値よりも大きければ、既に説
明した進入状態であるので、フラグを“0”から“1”
にして、ステップS46で、進入状態と判定する。即
ち、この判定の結果、図9のステップS24に進む。
In step S43, the difference between the density value of the pixel of interest and the pixel on the left side is calculated. Step S4
At 4, it is determined whether or not the difference between the density values is larger than a predetermined threshold. If the value is larger than the predetermined threshold value, the entry state has already been described, and the flag is changed from “0” to “1”.
Then, in step S46, it is determined that the vehicle is approaching. That is, as a result of this determination, the process proceeds to step S24 in FIG.

【0044】一方、ステップS42で、内部と判定され
ると、ステップS47に進み、同様に、濃度値の差を算
出し、ステップS48で閾値との比較が行われる。この
場合には、内部から外部への退出であって、その濃度差
が一定以上かどうかを判断するため、ステップS44と
は項順が逆の引き算となっている。
On the other hand, if it is determined in step S42 that the inside is inside, the process proceeds to step S47, and similarly, a difference in density value is calculated, and in step S48, comparison with a threshold value is performed. In this case, subtraction is performed in the reverse order of step S44 in order to determine whether or not the concentration difference is equal to or more than the predetermined value because the exit is from the inside to the outside.

【0045】ステップS49では、この判定結果に従っ
て、退出状態の場合、フラグを“1”から“0”に変更
する。そして、ステップS50で、退出状態と判定し、
図9のステップS24に進む。なお、ステップS44,
ステップS48で、濃度値の差が閾値よりも大きくない
場合には、エッジ強調補正は不要であるから、直接図9
のステップS27へ進む制御となる。その他の処理は具
体例1と同様である。
In step S49, the flag is changed from "1" to "0" in the case of the leaving state according to the result of this determination. Then, in step S50, it is determined that the vehicle is in the leaving state,
The process proceeds to step S24 in FIG. Step S44,
If the difference between the density values is not larger than the threshold value in step S48, since the edge enhancement correction is not necessary, FIG.
The control proceeds to step S27. Other processes are the same as those in the first embodiment.

【0046】なお、以上の説明において、注目画素の画
素値の変化をラインに沿う方向に調べて、進入状態と退
出状態とを判定し、エッジ判定の対象となる画素を選択
した。しかしながら、図8(a)に示すように、ライン
と垂直の方向に同様の判断を行えば、この方向に見たと
き、エッジ判定の対象となる画素を選択することが可能
になる。また、上記のような画素の選択を行った結果に
より、入力画像中のエッジ判定の対象となる画素を指定
するデータを生成していったんバッファメモリに記憶
し、その後、エッジ判定処理を開始するようにしてもよ
い。
In the above description, the change of the pixel value of the target pixel is examined in the direction along the line to determine the approach state and the exit state, and a pixel to be subjected to edge determination is selected. However, as shown in FIG. 8A, if a similar determination is made in a direction perpendicular to the line, it is possible to select a pixel to be subjected to edge determination when viewed in this direction. Also, based on the result of the above-described pixel selection, data specifying a pixel to be subjected to edge determination in an input image is generated and temporarily stored in a buffer memory, and thereafter, edge determination processing is started. It may be.

【0047】なお、以上のような本発明は、画像処理の
ためのコンピュータを制御するプログラムによって実現
することが可能である。各ブロック図の機能ブロック
は、それぞれプログラムの実行のためのモジュールによ
って構成することができる。これらは、いずれもフレキ
シブルディスク、ハードディスク等の記憶媒体に記憶
し、情報処理装置にインストールして実行させることが
できる。
The present invention as described above can be realized by a program for controlling a computer for image processing. The functional blocks in each block diagram can be configured by modules for executing programs. All of these can be stored in a storage medium such as a flexible disk or a hard disk, and installed and executed in an information processing apparatus.

【0048】〈具体例2の効果〉この例では、着目画素
が、進入位置にある画素か、退出位置にある画素か、そ
れ以外の画素かを判断し、エッジ強調処理が不要な着目
が装置をエッジ判定部の注目画素にしないように制御し
たので、エッジ強調処理を効率よく、高速で行うことが
可能になる。上記のような装置は、例えば、プリンタに
おいて、擬似的に階調画像を再現する2値化処理の前
に、エッジ部分の解像度を保つための前処理等に広く利
用することができる。
<Effect of Specific Example 2> In this example, it is determined whether the pixel of interest is a pixel at the entry position, a pixel at the exit position, or any other pixel. Is controlled not to be the target pixel of the edge determination unit, so that the edge enhancement processing can be performed efficiently and at high speed. Such a device as described above can be widely used, for example, in a printer, for example, in pre-processing for maintaining the resolution of an edge portion, prior to binarization processing for reproducing a gradation image in a pseudo manner.

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

【図1】具体例1の画像処理装置のブロック図である。FIG. 1 is a block diagram of an image processing apparatus according to a specific example 1.

【図2】画像領域内の濃度分布の例説明図である。FIG. 2 is an explanatory diagram of an example of a density distribution in an image area.

【図3】具体例1の画像処理装置の動作フローチャート
である。
FIG. 3 is an operation flowchart of the image processing apparatus according to the first embodiment.

【図4】エッジ判定処理のフローチャートである。FIG. 4 is a flowchart of an edge determination process.

【図5】具体例1の動作例説明図である。FIG. 5 is an explanatory diagram of an operation example of a specific example 1.

【図6】水平垂直強調2次元フィルタの一例説明図であ
る。
FIG. 6 is an explanatory diagram of an example of a horizontal / vertical emphasis two-dimensional filter.

【図7】具体例2の画像処理装置のブロック図である。FIG. 7 is a block diagram of an image processing apparatus according to a specific example 2.

【図8】進入退出判定例説明図である。FIG. 8 is an explanatory diagram of an example of entry / exit determination.

【図9】具体例2の画像処理装置の動作フローチャート
である。
FIG. 9 is an operation flowchart of the image processing apparatus according to the second embodiment.

【図10】進入状態判定処理のフローチャートである。FIG. 10 is a flowchart of an approach state determination process.

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

11 入力画像メモリ 12 出力画像メモリ 20 エッジ判定部 21 領域設定部 22 平均濃度値算出部 23 濃度差算出部 24 低濃度画素数カウント部 25 閾値算出部 26 比較判定部 30 エッジ強調処理部 31 演算テーブル DESCRIPTION OF SYMBOLS 11 Input image memory 12 Output image memory 20 Edge determination part 21 Area setting part 22 Average density value calculation part 23 Density difference calculation part 24 Low density pixel count part 25 Threshold calculation part 26 Comparison judgment part 30 Edge enhancement processing part 31 Calculation table

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 注目画素の近傍にこの注目画素が含まれ
る画像領域を設定して、前記画像領域に含まれる画素群
が、濃度値の大きい画素群と濃度値の小さい画素群とに
区分できるかどうかを判定し、前記画素群が濃度値の大
きい画素群と濃度値の小さい画素群とに区分できる場合
には、前記注目画素が前記濃度値の大きい画素群に含ま
れるかどうかを判定するエッジ判定部と、 前記注目画素が前記濃度値の大きい画素群に含まれる
と、前記エッジ判定部が判定したときに、注目画素の濃
度値をエッジ強調補正するエッジ強調処理部を備えたこ
とを特徴とする画像処理装置。
1. An image region including a pixel of interest in the vicinity of the pixel of interest is set, and a group of pixels included in the image region can be divided into a pixel group having a high density value and a pixel group having a low density value. If the pixel group can be divided into a pixel group having a large density value and a pixel group having a small density value, it is determined whether the pixel of interest is included in the pixel group having a large density value. An edge determination unit; and an edge enhancement processing unit that performs edge enhancement correction on the density value of the pixel of interest when the edge determination unit determines that the pixel of interest is included in a pixel group having a large density value. Characteristic image processing device.
【請求項2】 請求項1に記載の画像処理装置におい
て、 入力画像から各画素を順番に読み出すと共に、注目画素
と注目画素に隣接する画素の濃度差を算出して、この濃
度差が一定の閾値以上である場合にエッジ判定部にその
注目画素に対するエッジ判定処理を要求する進入退出状
態検出部を備えたことを特徴とする画像処理装置。
2. The image processing apparatus according to claim 1, wherein each pixel is sequentially read from the input image, and a density difference between a target pixel and a pixel adjacent to the target pixel is calculated, and the density difference is fixed. An image processing apparatus comprising: an entry / exit state detection unit that requests an edge determination unit to perform an edge determination process on a pixel of interest when the threshold value is equal to or greater than a threshold value.
【請求項3】 注目画素の近傍にこの注目画素が含まれ
る画像領域を設定して、 前記画像領域に含まれる画素群が、濃度値の大きい画素
群と濃度値の小さい画素群とに区分できるかどうかを判
定し、 前記画素群が濃度値の大きい画素群と濃度値の小さい画
素群とに区分できる場合には、前記注目画素が前記濃度
値の大きい画素群に含まれるかどうかを判定し、 前記注目画素が前記濃度値の大きい画素群に含まれると
判定したときに、注目画素の濃度値をエッジ強調補正す
ることを特徴とする画像処理方法。
3. An image area including the target pixel is set in the vicinity of the target pixel, and the pixel group included in the image area can be divided into a pixel group having a high density value and a pixel group having a low density value. If the pixel group can be divided into a pixel group having a large density value and a pixel group having a small density value, it is determined whether or not the pixel of interest is included in the pixel group having a large density value. An image processing method comprising: performing edge enhancement correction on a density value of a target pixel when it is determined that the target pixel is included in the pixel group having a large density value.
【請求項4】 請求項3に記載の画像処理方法におい
て、 入力画像から各画素を順番に読み出すと共に、注目画素
と注目画素に隣接する画素の濃度差を算出して、この濃
度差が一定の閾値以上である場合にその注目画素に対す
るエッジ判定処理を要求することを特徴とする画像処理
方法。
4. The image processing method according to claim 3, wherein each pixel is sequentially read from the input image, a density difference between the target pixel and a pixel adjacent to the target pixel is calculated, and the density difference is fixed. An image processing method characterized by requesting an edge determination process for a target pixel when the difference is equal to or larger than a threshold value.
【請求項5】 注目画素の近傍にこの注目画素が含まれ
る画像領域を設定して、 前記画像領域に含まれる画素群が、濃度値の大きい画素
群と濃度値の小さい画素群とに区分できるかどうかを判
定し、 前記画素群が濃度値の大きい画素群と濃度値の小さい画
素群とに区分できる場合には、前記注目画素が前記濃度
値の大きい画素群に含まれるかどうかを判定し、 前記注目画素が前記濃度値の大きい画素群に含まれると
判定したときに、注目画素の濃度値をエッジ強調補正す
る処理とを実行するコンピュータプログラムを記録した
コンピュータ読み取り可能な記録媒体。
5. An image area including the pixel of interest in the vicinity of the pixel of interest is set, and a group of pixels included in the image area can be divided into a pixel group having a high density value and a pixel group having a low density value. If the pixel group can be divided into a pixel group having a large density value and a pixel group having a small density value, it is determined whether or not the pixel of interest is included in the pixel group having a large density value. A computer-readable recording medium storing a computer program for executing, when it is determined that the pixel of interest is included in the pixel group having a large density value, a process of performing edge enhancement correction on the density value of the pixel of interest.
JP04580099A 1999-02-24 1999-02-24 Image processing apparatus and image processing method Expired - Fee Related JP4215225B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04580099A JP4215225B2 (en) 1999-02-24 1999-02-24 Image processing apparatus and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04580099A JP4215225B2 (en) 1999-02-24 1999-02-24 Image processing apparatus and image processing method

Publications (2)

Publication Number Publication Date
JP2000242779A true JP2000242779A (en) 2000-09-08
JP4215225B2 JP4215225B2 (en) 2009-01-28

Family

ID=12729358

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04580099A Expired - Fee Related JP4215225B2 (en) 1999-02-24 1999-02-24 Image processing apparatus and image processing method

Country Status (1)

Country Link
JP (1) JP4215225B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010016818A (en) * 2008-06-30 2010-01-21 Intel Corp Color enhancement for graphic images

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010016818A (en) * 2008-06-30 2010-01-21 Intel Corp Color enhancement for graphic images

Also Published As

Publication number Publication date
JP4215225B2 (en) 2009-01-28

Similar Documents

Publication Publication Date Title
JP3092024B2 (en) Image processing method
JP2001113754A (en) Apparatus and method for processing image
JP3762019B2 (en) Image processing method
US7916970B2 (en) Image processing apparatus, method of same, and program for same
JP3989341B2 (en) Image processing device
JP4215225B2 (en) Image processing apparatus and image processing method
JP2006270897A (en) Image processing device, method and program
JP3881455B2 (en) Image correction apparatus, image correction method, and medium on which image correction method is recorded
JP3830269B2 (en) Image correction processing method
JPH11150659A (en) Method for processing image
CN111080550B (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
JP3524261B2 (en) Image processing device
US7145700B1 (en) Image processing system including synchronous type processing unit and asynchronous type processing unit and image processing method
JP3115065B2 (en) Image information edge enhancement device
JPH01156069A (en) Image processor
JP2585872B2 (en) Image noise removal device
JP5201058B2 (en) Outline enhancement processing program, outline enhancement processing method, and outline enhancement processing apparatus
JP3935648B2 (en) Isolated point remover
JPH09130612A (en) Image processing unit
JPH01123569A (en) Picture signal processor
JP2000011186A (en) Character edge detector
JPH0832802A (en) Image processing unit
JPH0969942A (en) Method and device for image processing
JPH11150658A (en) Method for processing image
JPH05145747A (en) Image processor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050830

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051124

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080527

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080724

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080909

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080926

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

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

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20111114

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20121114

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20121114

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20131114

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees