JP2000115540A - Image processing unit - Google Patents

Image processing unit

Info

Publication number
JP2000115540A
JP2000115540A JP10281001A JP28100198A JP2000115540A JP 2000115540 A JP2000115540 A JP 2000115540A JP 10281001 A JP10281001 A JP 10281001A JP 28100198 A JP28100198 A JP 28100198A JP 2000115540 A JP2000115540 A JP 2000115540A
Authority
JP
Japan
Prior art keywords
pixel
density
edge
interest
density level
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP10281001A
Other languages
Japanese (ja)
Other versions
JP3823562B2 (en
Inventor
Keisuke Hashimoto
圭介 橋本
Yoshihiko Hirota
好彦 廣田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Minolta Co Ltd
Original Assignee
Minolta Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP28100198A priority Critical patent/JP3823562B2/en
Priority to US09/408,366 priority patent/US6978045B1/en
Publication of JP2000115540A publication Critical patent/JP2000115540A/en
Application granted granted Critical
Publication of JP3823562B2 publication Critical patent/JP3823562B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To reproduce more smoothly a character edge section by identifying the edge direction of a pixel of interest based on the difference of a density level among the pixel of interest and its surrounding pixels and setting the density level to a plurality of sub areas in the pixel of interest so as to change density distribution in each pixel of interest. SOLUTION: An edge discrimination section 12 uses gradation data outputted from an image data output device 10 obtain the gradation difference between a pixel of interest and its surrounding pixels so as to identify an edge direction in the main scanning direction. A density level control section 14 generates a parameter signal to control density gravity center in each pixel in the unit of sub pixels resulting from dividing the pixel of interest in the main scanning direction. Then a density level setting section 18 controls a density level as to data corrected by a gamma correction section 16 by using a density control parameter signal generated by the density level control section 14 to change the density gravity center in the pixel. Thus, the density is controlled in the unit of sub pixels to convert the density into a density level for print.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、デジタル画像デー
タの処理、特に文字画像のエッジ処理に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to processing of digital image data, and more particularly to edge processing of a character image.

【0002】[0002]

【従来の技術】画像処理装置は、原稿を読み取って得ら
れたデジタル画像データを処理し、印字用のデジタル印
字データを出力する。画像は、デジタル印字データに基
づいて再現される。画像処理装置は、原稿の画像をより
よく再現するため、原稿の画像を読み取ったデジタル画
像データについて、種々の処理をおこなう。文字原稿に
ついては、文字画像の再現のため、文字のエッジを強調
することが望ましい。このため、種々のエッジ判定手法
や、エッジ判定結果に基づくデータ強調手法が提案され
ている。
2. Description of the Related Art An image processing apparatus processes digital image data obtained by reading a document and outputs digital print data for printing. The image is reproduced based on the digital print data. The image processing apparatus performs various processes on digital image data obtained by reading the image of the document in order to better reproduce the image of the document. For a character document, it is desirable to emphasize the edges of the character in order to reproduce the character image. For this reason, various edge determination methods and data enhancement methods based on edge determination results have been proposed.

【0003】[0003]

【発明が解決しようとする課題】文字画像に特に斜め方
向にあるエッジを含む場合、そのようなエッジを強調す
ると、得られた画像はぎざぎざになる。このため、原画
像に比べて、再現画像の品位が悪くなる。これは、画像
が画素単位で読み取られ再現されるためである。しか
し、文字のエッジ部は滑らかに再現されることが望まし
い。
When a character image contains an edge which is particularly oblique, if such an edge is emphasized, the obtained image becomes jagged. For this reason, the quality of the reproduced image is lower than that of the original image. This is because the image is read and reproduced in pixel units. However, it is desirable that the edge portion of the character be reproduced smoothly.

【0004】本発明の目的は、文字エッジ部をより滑ら
かに再現できる画像処理装置を提供することである。
An object of the present invention is to provide an image processing apparatus capable of reproducing a character edge portion more smoothly.

【0005】[0005]

【課題を解決するための手段】本発明に係る画像処理装
置は、多値画像データに基づいて、画素を主走査方向に
複数のサブ領域に分割しサブ領域の単位で画像を形成す
るためのデジタル画像データを出力する画像処理装置で
ある。この画像処理装置は、多値画像データに基づい
て、注目画素とその周辺画素の濃度レベルの差から注目
画素のエッジ方向を識別するエッジ判定手段と、上記エ
ッジ判定手段によって判定された注目画素のエッジ方向
にしたがって、注目画素内の複数のサブ領域に濃度レベ
ルを設定して各注目画素内の濃度分布を変化させる濃度
制御手段とを備える。ここで、注目画素の濃度分布の重
心を変化させるため、1画素を主走査方向に複数のサブ
画素に分割して、注目画素の濃度分布をサブ画素単位で
制御する。エッジ判定手段により識別されたエッジ方向
を基に、濃度制御手段は、注目画素に与える濃度をサブ
画素単位で変化させ、注目画素に与えられる濃度分布
(濃度重心を含む)を変化できる。これによって注目画
素の解像度を向上させ、文字エッジ部を滑らかに再現す
る。また、前記の濃度制御手段は、上記エッジ判定手段
によって判定された注目画素のエッジ方向にしたがっ
て、注目画素内のサブ領域ごとに濃度レベル設定用パラ
メータを設定する濃度レベル制御手段と、濃度レベル制
御手段により設定された濃度レベル設定用パラメータを
用いて、注目画素の濃度レベルを基に、注目画素内の複
数のサブ領域それぞれに濃度レベルを設定する濃度レベ
ル設定手段とからなる。濃度レベル設定用パラメータ
は、入力される多値画像データを印字用の画像データに
変換するために用いられ、画素内の各サブ画素に対して
設定される。また、前記のエッジ判定手段が識別するエ
ッジ方向は、主走査方向のいずれかの方向のエッジおよ
び細線エッジを含む。また、前記のエッジ判定手段は、
注目画素に対しエッジ方向に隣接する画素の濃度レベル
がしきい値よりも高い場合、判定されたエッジ方向をキ
ャンセルする。
An image processing apparatus according to the present invention divides a pixel into a plurality of sub-regions in the main scanning direction based on multi-valued image data and forms an image in units of sub-regions. An image processing device that outputs digital image data. The image processing apparatus includes: an edge determining unit that identifies an edge direction of the target pixel from a difference in density level between the target pixel and peripheral pixels based on the multi-valued image data; Density control means for setting a density level in a plurality of sub-regions in the target pixel in accordance with the edge direction to change a density distribution in each target pixel. Here, in order to change the center of the density distribution of the target pixel, one pixel is divided into a plurality of sub-pixels in the main scanning direction, and the density distribution of the target pixel is controlled in sub-pixel units. Based on the edge direction identified by the edge determination unit, the density control unit can change the density given to the target pixel in sub-pixel units, and change the density distribution (including the density centroid) given to the target pixel. Thereby, the resolution of the pixel of interest is improved, and the character edge portion is smoothly reproduced. Further, the density control means includes density level control means for setting a density level setting parameter for each sub-region in the pixel of interest according to the edge direction of the pixel of interest determined by the edge determination means; Density level setting means for setting a density level for each of a plurality of sub-regions in the target pixel based on the density level of the target pixel using the density level setting parameters set by the means. The density level setting parameter is used to convert input multi-valued image data into image data for printing, and is set for each sub-pixel in a pixel. Further, the edge direction identified by the edge determination means includes an edge in any one of the main scanning directions and a thin line edge. In addition, the edge determination means includes:
If the density level of a pixel adjacent to the target pixel in the edge direction is higher than the threshold value, the determined edge direction is canceled.

【0006】[0006]

【発明の実施の形態】以下、添付の図面を参照して本発
明の実施形態の画像処理装置について説明する。なお、
図面において同一の参照記号は、同一または同等のもの
をさす。図1は、本発明の画像処理装置の1実施形態を
示す。この画像処理装置は、原稿読取装置、コンピュー
タなどから入力されるデジタル画像データに基づいて、
感光体を露光することにより感光体上に画像を形成する
ためのデジタル画像データを生成し、プリンタに出力す
る。ここで、注目画素とその周辺の画素との階調差を求
め、その階調差の組合わせによって主走査方向でのエッ
ジ方向を識別する。そして、識別されたエッジ方向にし
たがって注目画素内の濃度分布の重心を変化して、エッ
ジを滑らかに再現する。ここで、注目画素の濃度分布の
重心を変化させるため、画像読取の単位である1画素
を、画像形成における主走査方向に複数のサブ画素に分
割して、注目画素に与える濃度レベルをサブ画素の単位
で変化させて注目画素内の濃度分布を制御する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An image processing apparatus according to an embodiment of the present invention will be described below with reference to the accompanying drawings. In addition,
In the drawings, identical reference symbols indicate identical or equivalent items. FIG. 1 shows an embodiment of the image processing apparatus of the present invention. This image processing apparatus, based on digital image data input from a document reading device, a computer, etc.,
By exposing the photoconductor, digital image data for forming an image on the photoconductor is generated and output to a printer. Here, a gradation difference between the target pixel and its surrounding pixels is obtained, and an edge direction in the main scanning direction is identified by a combination of the gradation differences. Then, the center of the density distribution in the target pixel is changed according to the identified edge direction, and the edge is smoothly reproduced. Here, in order to change the center of gravity of the density distribution of the pixel of interest, one pixel, which is a unit of image reading, is divided into a plurality of sub-pixels in the main scanning direction in image formation, and the density level given to the pixel of interest is To control the density distribution in the pixel of interest.

【0007】具体的に説明すると、画像データ出力装置
10は、ここでは図示されていない原稿読取装置、コン
ピュータなどから入力されるデジタル画像データを出力
する。ここでは、画像データを、1画素あたり8ビット
の階調データとして出力する。エッジ判定部12は、画
像データ出力装置10から出力される階調データを用い
て、注目画素とその周辺の画素との階調差を求め、その
階調差の組合わせによって主走査方向でのエッジ方向を
識別する。そして、エッジ判定部12の判定結果を基
に、濃度レベル制御部14は、画素内の濃度重心を制御
するためのパラメータ信号を、注目画素を主走査方向に
分割したサブ画素の単位で生成する。一方、ガンマ補正
部16は、階調データの非線形変換をし、プリント部2
2における階調性の非線形ひずみを補正する。次に、濃
度レベル設定部18は、ガンマ補正部12により補正さ
れたデータについて、濃度レベル制御部16により生成
された濃度制御パラメータ信号を用いて濃度レベルを制
御して、画素内の濃度重心を変化させる。こうして、濃
度レベル制御部14と濃度レベル設定部18によりサブ
画素単位で濃度が制御され、ガンマ補正部16により補
正されたデータがサブ画素単位で印字用の濃度レベル
(デジタル階調データ)に変換される。D/A変換器2
0は、濃度レベル設定部18により得られたデジタル階
調データをアナログ信号に変換し、プリント部22のレ
ーザー駆動回路に出力する。プリント部22は、入力信
号に基づいてレーザービームの強度をサブ画素の単位で
変調し、中間調画像をラスター走査で記録媒体上に形成
する。
More specifically, the image data output device 10 outputs digital image data input from a document reading device, a computer, or the like (not shown). Here, the image data is output as 8-bit gradation data per pixel. The edge determination unit 12 uses the grayscale data output from the image data output device 10 to determine the grayscale difference between the target pixel and the peripheral pixels, and determines the grayscale difference in the main scanning direction by combining the grayscale differences. Identify the edge direction. Then, based on the determination result of the edge determination unit 12, the density level control unit 14 generates a parameter signal for controlling the density centroid in the pixel in units of sub-pixels obtained by dividing the target pixel in the main scanning direction. . On the other hand, the gamma correction unit 16 performs a non-linear conversion of the gradation data, and
2 is corrected. Next, the density level setting unit 18 controls the density level of the data corrected by the gamma correction unit 12 using the density control parameter signal generated by the density level control unit 16 to set the density centroid in the pixel. Change. In this way, the density is controlled in units of sub-pixels by the density level control unit 14 and the density level setting unit 18, and the data corrected by the gamma correction unit 16 is converted into a print density level (digital gradation data) in sub-pixel units. Is done. D / A converter 2
“0” converts the digital gradation data obtained by the density level setting unit 18 into an analog signal and outputs the analog signal to the laser drive circuit of the printing unit 22. The printing unit 22 modulates the intensity of the laser beam in units of sub-pixels based on the input signal, and forms a halftone image on a recording medium by raster scanning.

【0008】エッジ判定部12は、注目画素の主走査方
向でのエッジ方向を次の4つの場合に区分して判定す
る。この判定結果に基づいてエッジをどの方向に寄せる
かが判断される。ここでは、主走査方向を左右方向とす
る。「右エッジ」とは、文字の右側にあるエッジ、すな
わち、注目画素の左側に文字部がある場合のエッジをい
う。「左エッジ」とは、文字の左側にあるエッジ、すな
わち、注目画素の右側に文字部がある場合のエッジをい
う。また、「細線エッジ」とは、注目画素の中央に文字
部がある場合、すなわち、1つの注目画素内に右エッジ
と左エッジがある場合のエッジをいう。なお、以上のい
ずれにも該当しない場合は、「非エッジ部」である。
The edge judging section 12 judges the edge direction of the pixel of interest in the main scanning direction in the following four cases. Based on the result of the determination, it is determined in which direction the edge is to be shifted. Here, the main scanning direction is the left-right direction. The “right edge” refers to an edge on the right side of a character, that is, an edge when a character portion is on the left side of the pixel of interest. The “left edge” refers to an edge on the left side of a character, that is, an edge in the case where a character portion is on the right side of a target pixel. The “thin line edge” refers to an edge in the case where a character portion is located at the center of the pixel of interest, that is, a right edge and a left edge in one pixel of interest. If none of the above applies, it is a “non-edge portion”.

【0009】図2は、エッジ判定部12のブロック図で
ある。エッジは、たとえば3×3の画素マトリクスを用
いて判定される。まず、注目画素とその周辺の8画素と
の階調差を計算し、注目画素より濃度の高い画素と濃度
の低い画素に分ける。図3に示すように、3×3の画素
マトリクスにおいて、V33は注目画素の階調データを
表し、V22,V23,V24,V32,V34,V4
2,V43,V44は注目画素に隣接する8個の画素の
階調データを表す。図2に示すエッジ判定部12におい
て、8個の階調差信号発生回路120は、注目画素の階
調データV33とその周辺の8画素の階調データV2
2,V23,V24,V32,V34,V42,V4
3,V44を入力し、周辺画素と注目画素との階調デー
タの差(階調差信号)を求める。組合せ判定回路122
は、注目画素と周辺画素との階調差を入力し、その階調
差の組合わせによってエッジ方向を判別する。すなわ
ち、注目画素とその周辺の8画素との階調差を計算し、
注目画素より濃度の高い画素と濃度の低い画素に分け
る。そして、注目画素と周囲画素との濃度値の関係から
エッジ方向を識別する。具体的には、組合せ判定回路1
22は、これらの8つの階調差信号の組合わせによって
主走査方向でのエッジ方向(右エッジ、左エッジなど)
を判別し、右寄せ信号MARKRと左寄せ信号MARK
Lを生成する。右寄せ信号MARKRは、右エッジが存
在することを示し、左寄せ信号MARKLは左エッジが
存在することを示す。そして、NANDゲート、2個の
ANDゲートおよび3個のセレクタ(S=LでAを選択
する)からなる論理回路124は、これらの右寄せ信号
MARKRと左寄せ信号MARKLからエッジ方向を判
断し、エッジ方向信号EDGを出力する。すなわち、M
ARKRとMARKLがともに出力されていれば、ED
G="01"(細線エッジ)が出力され、MARKRまた
はMARKLが出力されていれば、EDG="03"(右
エッジ)またはEDG="02"(左エッジ)が出力さ
れ、MARKRとMARKLがいずれも出力されていな
ければ、EDG="00"(非エッジ部)が出力される。
FIG. 2 is a block diagram of the edge determination unit 12. The edge is determined using, for example, a 3 × 3 pixel matrix. First, the tone difference between the target pixel and the eight surrounding pixels is calculated, and the target pixel is divided into pixels with higher density and pixels with lower density. As shown in FIG. 3, in the 3 × 3 pixel matrix, V33 represents the gradation data of the target pixel, and V22, V23, V24, V32, V34, V4
2, V43 and V44 represent gradation data of eight pixels adjacent to the target pixel. In the edge determination unit 12 shown in FIG. 2, the eight gradation difference signal generation circuits 120 include the gradation data V33 of the target pixel and the gradation data V2 of the eight surrounding pixels.
2, V23, V24, V32, V34, V42, V4
3, V44, and the difference (gradation difference signal) between the gradation data of the peripheral pixel and the target pixel is obtained. Combination determination circuit 122
Inputs a gradation difference between a target pixel and a peripheral pixel, and determines an edge direction based on a combination of the gradation differences. That is, the tone difference between the target pixel and the eight surrounding pixels is calculated,
The pixel is divided into a pixel having a higher density and a pixel having a lower density than the target pixel. Then, the edge direction is identified from the relationship between the density value of the target pixel and the surrounding pixels. Specifically, the combination determination circuit 1
Reference numeral 22 denotes an edge direction (right edge, left edge, etc.) in the main scanning direction based on a combination of these eight gradation difference signals.
Is determined, and the right-aligned signal MARKR and the left-aligned signal MARK are determined.
Generate L. The right alignment signal MARKR indicates that a right edge exists, and the left alignment signal MARKL indicates that a left edge exists. The logic circuit 124 including the NAND gate, the two AND gates, and the three selectors (selecting A when S = L) determines the edge direction from the right alignment signal MARKR and the left alignment signal MARKL, and determines the edge direction. The signal EDG is output. That is, M
If both ARKR and MARKL are output, ED
If G = “01” (fine line edge) is output and MARKR or MARKL is output, EDG = “03” (right edge) or EDG = “02” (left edge) is output, and MARKR and MARKL are output. If neither is output, EDG = "00" (non-edge portion) is output.

【0010】図4は、濃度レベル制御部14のブロック
図である。エッジ判定部12の出力であるエッジ方向信
号EDGをアドレス信号として入力し、8個のパラメー
タRAM140に記憶されたテーブルより8個の濃度制
御パラメータ信号A1,A2,A3,A4,B1,B
2,B3,B4を得る。得られた濃度制御パラメータ
は、濃度レベル設定部18に送られる。
FIG. 4 is a block diagram of the density level control unit 14. An edge direction signal EDG output from the edge determination unit 12 is input as an address signal, and eight density control parameter signals A1, A2, A3, A4, B1, and B are obtained from a table stored in eight parameter RAMs 140.
2, B3 and B4 are obtained. The obtained density control parameters are sent to the density level setting unit 18.

【0011】図5は、濃度レベル設定部18のブロック
図である。4個の濃度レベル演算部180では、ガンマ
補正部12で非線形変換された階調データVGに対し、
濃度制御パラメータ信号の4種の組合せA1とB1、A
2とB2、A3とB3、A4とB4を用いて、それぞ
れ、ブロック内に示されるような1次演算(VH=A*
(VG−B))を行う。この結果、VGから4つの階調
信号VH1,VH2,VH3,VH4が得られる。次
に、セレクタ182は、画素クロックCLKと画素クロ
ックの倍の周波数を持つ倍速クロックXCLKとを用い
て、濃度レベル演算部180において1次演算で得られ
た4つの階調信号VH1,VH2,VH3,VH4を1
画素内でサブ画素ごとに切り換えて、信号VDを生成す
る。これにより、1画素を4サブ画素に分割し、サブ画
素ごとにデジタル階調データVDを出力する。
FIG. 5 is a block diagram of the density level setting section 18. The four density level calculators 180 apply the gradation data VG nonlinearly converted by the gamma corrector 12 to the grayscale data VG.
Four combinations of density control parameter signals A1, B1, and A
2 and B2, A3 and B3, and A4 and B4, respectively, the primary operation as shown in the block (VH = A *
(VG-B)). As a result, four gradation signals VH1, VH2, VH3, and VH4 are obtained from VG. Next, the selector 182 uses the pixel clock CLK and the double-speed clock XCLK having a frequency twice as high as the pixel clock to output the four gradation signals VH1, VH2, and VH3 obtained by the primary operation in the density level operation unit 180. , VH4 to 1
The signal VD is generated by switching every sub-pixel within the pixel. Thus, one pixel is divided into four sub-pixels, and digital gradation data VD is output for each sub-pixel.

【0012】図6から図9は、エッジ判定部12で判定
されたエッジ種類のそれぞれについて、1画素内の濃度
がどのように変化するかを示したものである。ガンマ補
正部16で非線形変換された階調データの階調が増加す
るにつれ、1画素内の4つのサブ画素に与えられるデジ
タル階調データがそれぞれそのように変化していくかを
示す。図において、各サブ画素における黒部分の高さ
は、濃度レベルを表す。図6は、右エッジの場合の変化
を示す。ここで濃度制御パラメータ信号は、次のとおり
である。A1=A2=A3=A4=4。B1=0。B2
=64。B3=128。B4=192。図には、階調レ
ベルが0、32、64、96、128、160、19
2、224、255の場合を示す。図において明らかな
ように、右エッジであるので、濃度は左側のサブ画素か
ら順に増加される。こうして、画素の濃度の重心は左か
ら順次中央に移動していく。
FIGS. 6 to 9 show how the density within one pixel changes for each of the edge types determined by the edge determination unit 12. FIG. This indicates whether the digital gradation data given to the four sub-pixels in one pixel changes as the gradation of the gradation data nonlinearly converted by the gamma correction unit 16 increases. In the figure, the height of the black portion in each sub-pixel indicates the density level. FIG. 6 shows the change for the right edge. Here, the density control parameter signal is as follows. A1 = A2 = A3 = A4 = 4. B1 = 0. B2
= 64. B3 = 128. B4 = 192. In the figure, the gradation levels are 0, 32, 64, 96, 128, 160, 19
2, 224 and 255 are shown. As is clear from the figure, the density is increased in order from the left sub-pixel because of the right edge. In this way, the center of gravity of the pixel density moves sequentially from the left to the center.

【0013】図7は、左エッジの場合の変化を示す。こ
れは、図6の右エッジの場合と左右対称である。ここで
濃度制御パラメータ信号は、次の通りである。A1=A
2=A3=A4=4。B1=192。B2=128。B
3=64。B4=0。図は、階調レベルが0、32、6
4、96、128、160、192、224、255の
場合を示す。図において明らかなように、左エッジであ
るので、濃度は右側のサブ画素から順に増加される。こ
うして、画素の濃度の重心は右から順次中央に移動して
いく。
FIG. 7 shows a change in the case of the left edge. This is symmetric with the right edge in FIG. Here, the density control parameter signal is as follows. A1 = A
2 = A3 = A4 = 4. B1 = 192. B2 = 128. B
3 = 64. B4 = 0. The figure shows that the gradation levels are 0, 32, 6
4, 96, 128, 160, 192, 224, 255 are shown. As is clear from the figure, the density is increased in order from the right sub-pixel because of the left edge. In this way, the center of gravity of the density of the pixel sequentially moves from the right to the center.

【0014】図8は、非エッジの場合の変化を示す。こ
こで濃度制御パラメータ信号は、次の通りである。A1
=A2=A3=A4=1。B1=B2=B3=B4=
0。図は、階調レベルが0、32、64、96、12
8、160、192、224、255の場合を示す。図
において明らかなように、エッジが存在しないので、4
個のサブ画素はいずれも同じ濃度とし、したがって、画
素の濃度の重心は常に中央にある。濃度は、階調レベル
に対応して増加する。
FIG. 8 shows the change in the case of non-edge. Here, the density control parameter signal is as follows. A1
= A2 = A3 = A4 = 1. B1 = B2 = B3 = B4 =
0. In the figure, the gradation levels are 0, 32, 64, 96, 12
8, 160, 192, 224 and 255 are shown. As is apparent from the figure, since no edge exists, 4
Each of the sub-pixels has the same density, and thus the center of gravity of the pixel density is always at the center. The density increases corresponding to the gradation level.

【0015】図9は、細線エッジの場合の変化を示す。
ここで濃度制御パラメータ信号は、次のとおりである。
A1=A2=A3=A4=2。B1=128、B2=B
3=0。B4=128。図は、階調レベルが0、32、
64、96、128、160、192、224、255
の場合を示す。右エッジと左エッジが同時に存在する細
線エッジであるので、図において明らかなように、まず
中央の2個のサブ画素の濃度が、階調レベルに対応して
増加する。画素の濃度の重心は常に中央にある。次に、
両側の2個のサブ画素の濃度が階調レベルに対応して増
加する。画素の濃度の重心は常に中央にあるが、濃度分
布は、階調レベル128を越えると、しだいに左右に広
がっていく。図6〜図9では、主に濃度の重心の変化に
ついて説明したが、図9に示すように、注目画素内にお
いて濃度は端から増加させていくとは限らない。また、
変化させるのは重心だけではなく、濃度分布である。
FIG. 9 shows a change in the case of a thin line edge.
Here, the density control parameter signal is as follows.
A1 = A2 = A3 = A4 = 2. B1 = 128, B2 = B
3 = 0. B4 = 128. The figure shows that the gradation levels are 0, 32,
64, 96, 128, 160, 192, 224, 255
The case of is shown. Since the right edge and the left edge are thin line edges that exist at the same time, as is apparent from the figure, first, the density of the two central sub-pixels increases in accordance with the gradation level. The center of gravity of the pixel density is always at the center. next,
The densities of the two sub-pixels on both sides increase according to the gradation level. The center of gravity of the density of the pixel is always at the center, but the density distribution gradually expands to the left and right when the gradation level exceeds 128. 6 to 9, mainly the change in the center of gravity of the density has been described. However, as shown in FIG. 9, the density does not always increase from the end in the target pixel. Also,
What is changed is not only the center of gravity but also the concentration distribution.

【0016】図10は、実際の画像に適用した場合、ど
のような効果が得られるかを図式的に示す。画像読取装
置から読み込んだ画像データは、左側に示すように、斜
め線のエッジ部に濃淡部分を含んでいる。このエッジ
は、左エッジである。この濃淡を濃度レベルとして用い
て、エッジ方向を検出し、サブ画素の単位で濃度を制御
して、エッジ部分の画素の濃度重心を変化させる。その
結果、右側に示すように、エッジを高解像度化して、エ
ッジが滑らかに変化する画像が得られる。
FIG. 10 schematically shows what effect can be obtained when applied to an actual image. The image data read from the image reading device includes a shaded portion at an oblique line edge as shown on the left side. This edge is the left edge. Using this density as a density level, the edge direction is detected, and the density is controlled in units of sub-pixels to change the density centroid of the pixels in the edge portion. As a result, as shown on the right side, the resolution of the edge is increased, and an image in which the edge changes smoothly is obtained.

【0017】図11は、エッジ判定部の変形例を示す。
注目画素に対しエッジ方向と反対側に隣接する画素の濃
度レベルがしきい値よりも高い場合、注目画素内で濃度
重心を一方に寄せたために、濃度重心がない側で白抜け
が目立つことがある。エッジ判定部は、そのような場合
にエッジ判定結果をキャンセルし、注目画素内の濃度重
心を変化させないようにするものである。ここでは、左
右それぞれに対して判定する。図11は、図2の左側部
分に示した構成に、2個の比較器146、148と2個
のANDゲート1410、1412が追加されたもので
ある。比較器146は、左エッジのときに、注目画素の
左側画素の信号V32をしきい値と比較し、その比較結
果の信号は、左エッジ信号MARKLとともにANDゲ
ート1410に入力される。これにより、注目画素の左
側画素の信号V32がしきい値より大きい場合、左エッ
ジ信号MARKLを出力せず、エッジ判定結果をキャン
セルする。また、比較器148は、右エッジのときに、
注目画素の右側画素の信号V34をしきい値と比較し、
その比較結果の信号は、右エッジ信号MARKRととも
にANDゲート1412に入力される。これにより、注
目画素の右側画素の信号V34がしきい値より大きい場
合、右エッジ信号MARKRを出力せず、エッジ判定結
果をキャンセルする。こうして、注目画素に対しエッジ
方向と同じ側に隣接する画素の濃度レベルがしきい値よ
りも高い場合、判定されたエッジ方向をキャンセルす
る。この場合、上述の非エッジ部として濃度が制御され
る。図12に示す例において、左側に示すように、中央
の画素が右エッジの画素であっても、その右隣の画素の
濃度レベルがしきい値よりも高い場合、右側に示すよう
に、右エッジとの判定結果をキャンセルし、中央の画素
における白抜けを防止する。
FIG. 11 shows a modification of the edge judging section.
If the density level of the pixel adjacent to the target pixel on the opposite side to the edge direction is higher than the threshold value, the density centroid is shifted to one side in the target pixel, and white spots may be conspicuous on the side without the density centroid. is there. The edge determination unit cancels the edge determination result in such a case, so that the density center of gravity in the target pixel is not changed. Here, the determination is made for each of the left and right. FIG. 11 is obtained by adding two comparators 146 and 148 and two AND gates 1410 and 1412 to the configuration shown in the left part of FIG. At the left edge, the comparator 146 compares the signal V32 of the left pixel of the target pixel with a threshold value, and the comparison result signal is input to the AND gate 1410 together with the left edge signal MARKL. Accordingly, when the signal V32 of the left pixel of the target pixel is larger than the threshold value, the left edge signal MARKL is not output, and the edge determination result is canceled. Also, the comparator 148 outputs
The signal V34 of the right pixel of the target pixel is compared with a threshold value,
The signal of the comparison result is input to the AND gate 1412 together with the right edge signal MARKR. Accordingly, when the signal V34 of the pixel on the right side of the target pixel is larger than the threshold value, the right edge signal MARKR is not output, and the edge determination result is canceled. Thus, if the density level of a pixel adjacent to the target pixel on the same side as the edge direction is higher than the threshold value, the determined edge direction is canceled. In this case, the density is controlled as the non-edge portion described above. In the example shown in FIG. 12, as shown on the left side, even if the central pixel is a pixel on the right edge, if the density level of the pixel on the right is higher than the threshold value, The edge determination result is canceled, and white spots in the center pixel are prevented.

【0018】[0018]

【発明の効果】画像処理装置において、注目画素内で濃
度分布を変化させることにより文字エッジ部をより滑ら
かに再現できる。
In the image processing apparatus, the character edge can be reproduced more smoothly by changing the density distribution in the target pixel.

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

【図1】 画像処理装置の1実施形態のブロック図。FIG. 1 is a block diagram of an embodiment of an image processing apparatus.

【図2】 エッジ判定部のブロック図。FIG. 2 is a block diagram of an edge determination unit.

【図3】 エッジ判定用の9個の画素の信号の分布を示
す図。
FIG. 3 is a diagram showing a distribution of signals of nine pixels for edge determination.

【図4】 濃度レベル制御部のブロック図。FIG. 4 is a block diagram of a density level control unit.

【図5】 濃度レベル設定部のブロック図。FIG. 5 is a block diagram of a density level setting unit.

【図6】 右エッジの場合の階調レベルに対する濃度の
変化を示す図。
FIG. 6 is a diagram showing a change in density with respect to a gradation level in the case of a right edge.

【図7】 左エッジの場合の階調レベルに対する濃度の
変化を示す図。
FIG. 7 is a diagram showing a change in density with respect to a gradation level in the case of a left edge.

【図8】 非エッジ部の場合の階調レベルに対する濃度
の変化を示す図。
FIG. 8 is a diagram showing a change in density with respect to a gradation level in the case of a non-edge portion.

【図9】 細線エッジの場合の階調レベルに対する濃度
の変化を示す図。
FIG. 9 is a diagram showing a change in density with respect to a gradation level in the case of a thin line edge.

【図10】 処理後の実際の画像データを示す図。FIG. 10 is a view showing actual image data after processing.

【図11】 変形例におけるエッジ判定部の1部のブロ
ック図。
FIG. 11 is a block diagram of a part of an edge determination unit according to a modified example.

【図12】 白抜け防止の1例の図。FIG. 12 is a view showing an example of white spot prevention.

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

10 画像データ出力装置、 12 ガンマ補正部、
14 エッジ判定部、 16 濃度レベル制御部、
18 濃度レベル設定部。
10 image data output device, 12 gamma correction unit,
14 edge determination unit, 16 density level control unit,
18 Density level setting section.

フロントページの続き Fターム(参考) 5B057 CA08 CA12 CA16 CB08 CB12 CB16 CC03 CE03 CE11 DA08 DA17 DB02 DB09 DC16 DC22 5C077 LL19 NN07 PP15 PP47 PP54 PQ12 Continued on the front page F term (reference) 5B057 CA08 CA12 CA16 CB08 CB12 CB16 CC03 CE03 CE11 DA08 DA17 DB02 DB09 DC16 DC22 5C077 LL19 NN07 PP15 PP47 PP54 PQ12

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 多値画像データに基づいて、画素を主走
査方向に複数のサブ領域に分割しサブ領域の単位で画像
を形成するためのデジタル画像データを出力する画像処
理装置であり、 多値画像データに基づいて、注目画素とその周辺画素の
濃度レベルの差から注目画素のエッジ方向を識別するエ
ッジ判定手段と、 上記エッジ判定手段によって判定された注目画素のエッ
ジ方向にしたがって、注目画素内の複数のサブ領域に濃
度レベルを設定して各注目画素内の濃度分布を変化させ
る濃度制御手段とを備えることを特徴とした画像処理装
置。
1. An image processing apparatus which divides a pixel into a plurality of sub-regions in a main scanning direction based on multi-valued image data and outputs digital image data for forming an image in units of sub-regions. Edge determining means for identifying the edge direction of the pixel of interest from the difference between the density levels of the pixel of interest and its surrounding pixels based on the value image data; and a pixel of interest according to the edge direction of the pixel of interest determined by the edge determining means. And a density control means for setting a density level in a plurality of sub-regions within the pixel and changing a density distribution in each pixel of interest.
【請求項2】 前記の濃度制御手段は、 上記エッジ判定手段によって判定された注目画素のエッ
ジ方向にしたがって、注目画素内のサブ領域ごとに濃度
レベル設定用パラメータを設定する濃度レベル制御手段
と濃度レベル制御手段により設定された濃度レベル設定
用パラメータを用いて、注目画素の濃度レベルを基に、
注目画素内の複数のサブ領域それぞれに濃度レベルを設
定する濃度レベル設定手段とからなることを特徴とした
請求項1に記載された画像処理装置。
2. A density level control unit for setting a density level setting parameter for each sub-region in a pixel of interest according to an edge direction of the pixel of interest determined by the edge determination unit. Using the density level setting parameter set by the level control means, based on the density level of the pixel of interest,
2. The image processing apparatus according to claim 1, further comprising density level setting means for setting a density level for each of the plurality of sub-regions in the pixel of interest.
【請求項3】 前記のエッジ判定手段が識別するエッジ
方向は、主走査方向のいずれかの方向のエッジおよび細
線エッジを含むことを特徴とする請求項1又は請求項2
に記載された画像処理装置。
3. The edge direction identified by the edge determination means includes an edge in any one of a main scanning direction and a thin line edge.
An image processing apparatus according to claim 1.
【請求項4】 前記のエッジ判定手段は、注目画素に対
しエッジ方向に隣接する画素の濃度レベルがしきい値よ
りも高い場合、判定されたエッジ方向をキャンセルする
ことを特徴とする請求項1から請求項3までのいずれか
に記載された画像処理装置。
4. The apparatus according to claim 1, wherein the edge determining means cancels the determined edge direction when the density level of a pixel adjacent to the target pixel in the edge direction is higher than a threshold value. An image processing apparatus according to any one of claims 1 to 3.
JP28100198A 1998-10-02 1998-10-02 Image processing device Expired - Fee Related JP3823562B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP28100198A JP3823562B2 (en) 1998-10-02 1998-10-02 Image processing device
US09/408,366 US6978045B1 (en) 1998-10-02 1999-09-29 Image-processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28100198A JP3823562B2 (en) 1998-10-02 1998-10-02 Image processing device

Publications (2)

Publication Number Publication Date
JP2000115540A true JP2000115540A (en) 2000-04-21
JP3823562B2 JP3823562B2 (en) 2006-09-20

Family

ID=17632896

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28100198A Expired - Fee Related JP3823562B2 (en) 1998-10-02 1998-10-02 Image processing device

Country Status (1)

Country Link
JP (1) JP3823562B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100698284B1 (en) 2004-12-16 2007-03-22 삼성전자주식회사 Apparatus and method for color error reduction in display of subpixel structure
KR100772906B1 (en) 2005-08-12 2007-11-05 삼성전자주식회사 Method and apparatus for displaying image signal
KR100818988B1 (en) 2006-09-05 2008-04-04 삼성전자주식회사 Method and apparatus for processing image signal
JP2009100228A (en) * 2007-10-16 2009-05-07 Canon Inc Image processing apparatus and control method therefor

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100698284B1 (en) 2004-12-16 2007-03-22 삼성전자주식회사 Apparatus and method for color error reduction in display of subpixel structure
KR100772906B1 (en) 2005-08-12 2007-11-05 삼성전자주식회사 Method and apparatus for displaying image signal
US8063913B2 (en) 2005-08-12 2011-11-22 Samsung Electronics Co., Ltd. Method and apparatus for displaying image signal
KR100818988B1 (en) 2006-09-05 2008-04-04 삼성전자주식회사 Method and apparatus for processing image signal
JP2009100228A (en) * 2007-10-16 2009-05-07 Canon Inc Image processing apparatus and control method therefor

Also Published As

Publication number Publication date
JP3823562B2 (en) 2006-09-20

Similar Documents

Publication Publication Date Title
US6181438B1 (en) Method and apparatus for digital image darkness control using quantized fractional pixels
JP3490729B2 (en) Image fidelity enhancement reproduction by hierarchical template matching
JP3339725B2 (en) Higher addressable image generation method using pseudo-interpolation of video and screen data
JPH1070659A (en) Error spread method and system
EP0337427A2 (en) Method of and apparatus for recording halftone image
JPS5945765A (en) Picture processor
US20060285167A1 (en) Image processing method and a recording medium storing image processing program
JP3810826B2 (en) Half-bit pixel rendering method and half-bit pixel rendering apparatus
US6978045B1 (en) Image-processing apparatus
US5805304A (en) Image processing apparatus
JPH1070660A (en) Error spread method and error spread system
JP3823562B2 (en) Image processing device
JP4058823B2 (en) Image processing device
JP2562432B2 (en) Image processing device
JP3757644B2 (en) Image processing device
JPH1075360A (en) Level number reduction method and system for multi-level gradation picture element value
JP4281126B2 (en) Image processing device
US6356360B1 (en) Apparatus and method for rendering halftone dot structures using grey level dots
JPH08125860A (en) Image recorder
JP3111734B2 (en) Image processing device
JPH09331439A (en) Image forming device
KR100490244B1 (en) Error diffusion method using variable threshold value in image processing system
JP3950871B2 (en) Image processing method and apparatus
JPH05130402A (en) Picture processor
JP3070884B2 (en) Binary image identification device

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20050614

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20050712

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20050712

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051110

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051206

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060202

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060619

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100707

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110707

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120707

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130707

Year of fee payment: 7

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees