JP3830269B2 - Image correction processing method - Google Patents
Image correction processing method Download PDFInfo
- Publication number
- JP3830269B2 JP3830269B2 JP09668098A JP9668098A JP3830269B2 JP 3830269 B2 JP3830269 B2 JP 3830269B2 JP 09668098 A JP09668098 A JP 09668098A JP 9668098 A JP9668098 A JP 9668098A JP 3830269 B2 JP3830269 B2 JP 3830269B2
- Authority
- JP
- Japan
- Prior art keywords
- pixel
- target pixel
- image
- correction
- processing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000003702 image correction Methods 0.000 title claims description 24
- 238000003672 processing method Methods 0.000 title claims description 11
- 238000009499 grossing Methods 0.000 claims description 29
- 238000000034 method Methods 0.000 claims description 18
- 238000001514 detection method Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 8
- 239000002131 composite material Substances 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 230000002411 adverse Effects 0.000 description 2
- 230000000873 masking effect Effects 0.000 description 1
Images
Description
【0001】
【発明の属する技術分野】
本発明は、レーザプリンタ、デジタル複写機などに利用される画像補正処理方法に関し、特に、多値の階調を持つ画素を含むビットマップ状の画像データを入力し、画像のエッジ部分を検出して必要があればスムージング処理などの画像補正処理を行う画像補正処理方法に関する。
【0002】
【従来の技術】
特開平9−20550号公報には、モノトーン画像と多階調画像とを重ね合わせたような複合画像をレーザプリンタで印刷する場合、モノトーンのキャラクタの輪郭に対するスムージング処理と、多階調画像の忠実な美しい再生とを両立させて、画像全体にわたって望ましい印刷結果が得られるようにする技術が提案されている。
【0003】
すなわち、図6において、複合画像2を入力すると、一方で複合画像2の各画素値を2値化部4で2値化してモノトーン画像8を再生し、他方で複合画像2から多階調のN倍密画像10を再生する。
【0004】
次に、モノトーン画像8にスムージング処理を施してキャラクタの輪郭を滑らかに修正する。また、N倍密画像10のモノトーン画像8の修正部分17に対応する画素にはマスキングを掛けて白のデータに変換する。この後、スムージング処理されたモノトーン画像16とマスキングされたN倍密画像18と重ね合わせて、最終的な画像22を得るようにしたものである。符号6は倍密画像処理部、12はスムージング処理部、13は補正信号、14はマスク処理部、20は論理和部を示す。
【0005】
【発明が解決しようとする課題】
上記従来技術では、入力画像が1ドット当たり0h〜fhまでの16段階の階調を持つものとする場合、補正対象となるような画素は高い濃度(fhに近い値)と、低い濃度(0hに近い値)の境界部分で目立ち易いため、図7のように、任意の濃度以上の画素を画像データ有り、それ以下の濃度をデータ無しのように、2値化変換し、この2値データに対してスムージング補正処理を行い、補正後の画素は補正処理を行わなかった画素に優先して出力されることで、補正出力結果を反映させている。
【0006】
すなわち、スムージング処理による補正対象となった画素に関しては、スムージングの結果を優先し、元の多値データをマスキングにより白データに変換している。このため、この時点で入力画像の情報の一部を失うことになる。
これにより、図6のように、本来中間濃度で「01」のデータが出力されなければならない画像の右下部分で、データとして「00」と同様な画素が出現し、その結果、この部分が入力データにはない1ドット分以上白く抜けた画素となってしまっている。
【0007】
画像のジャギーは画素のコントラストが高い部分、すなわち、白ドットと黒ドットの境界部分では目立ち易いが、多値階調画像中では目立ちにくいため、スムージング補正を行うよりも、中間調濃度の画素の再現を優先させた方が画像として良質に見える場合が多い。
【0008】
本発明は、スムージング補正の対象画素であっても、周囲の画素との関係により補正処理機能を停止させることにより、多値階調画像の階調再現性に悪影響を及ぼす処理を減少させ、スムージング機能を持ちながら、多値階調の再現性に優れた画像補正処理方法を提供することを目的とする。
【0009】
【課題を解決するための手段】
上記目的を達成するために、請求項1記載の発明は、多値の階調を持つ画像データを入力し、スムージング処理などの画像補正処理を行う画像補正処理方法において、注目画素がスムージングの補正対象画素か否か判断する第1の処理工程と、補正対象画素の周囲に中間濃度の階調を持つ画素があるか否か判断する第2の処理工程と、中間濃度の画素がある場合に入力された画像データを出力し、中間濃度の画素がない場合にはスムージング処理後の画像データを出力する第3の処理工程と、を有することを特徴とするものである。
【0010】
また上記目的を達成するために、請求項2記載の発明は、多値の階調を持つ画像データを入力し、スムージング処理などの画像補正処理を行う画像補正処理方法において、注目画素がスムージングの補正対象画素か否か判断する第1の処理工程と、補正対象画素が白データ以上の濃度を持ち、かつ、2値化の結果が白ドットとなるか否か判定する第2の処理工程と、前記第2の処理工程により、補正対象画素が白データ以上の濃度を持ち、かつ、2値化の結果が白ドットとなると判定された場合に、入力された画像データを出力し、それ以外の場合にはスムージング処理後の画像データを出力する第3の工程と、を有することを特徴とするものである
【0011】
また上記目的を達成するために、請求項3記載の発明は、請求項2に記載の画像補正処理方法において、前記第2の処理工程において、更に、前記補正対象画素の上下または左右のどちら側かに他の補正対象画素が並ぶかを判定し、他の補正対象画素が並ぶ場合には入力された画像データを出力する、ことを特徴とするものである。また、請求項4記載の発明は、請求項1〜3のいずれか1項に記載した方法を実行するためのプログラムを記憶したコンピュータ読取可能な記憶媒体である。
【0012】
【発明の実施の形態】
以下、本発明の実施の形態を添付図面を参照しながら説明する。
まず、第1の実施の形態を説明する。
図1は注目画素とその周囲の中間濃度検出領域の一例を示す図、図2は第1の画像補正処理例を示すフローチャートである。
図1において、符号101は注目画素、102は中間濃度検出領域(参照領域)を示す。
【0013】
図2において、まず、注目画素101が補正対象画素か否か判断する(S1)。注目画素101が補正対象画素であれば(S1でYES)、次に注目画素101の周囲の中間濃度検出領域102に中間濃度の画素があるか否か判定する(S2)。
【0014】
すなわち、中間濃度検出領域102中に濃度データ無し(0h)以上で、かつ、2値化の際に画像データ無しと判定される中間濃度の画素が有るかを判定する(S2)。この低レベルの中間濃度画素が存在する場合は(S2でYES)、補正後の画像データに優先して、スムージング補正前のデータ、すなわち入力画像の濃度データを出力する処理を行う(S3)。
【0015】
また、中間濃度検出領域に中間濃度の画素が無い場合は(S2でNO)、従前通りスムージング処理を行う(S4)。
【0016】
次に第2の実施の形態を説明する。
第1の実施の形態の処理において、中間濃度画素を検出する領域を注目画素101の周辺以外に拡大し、補正対象画素が中間濃度画素の集まりの中に有るか否かの判定を行って、中間濃度画素中に有る場合は、濃度階調表現の再現性を優先するため、スムージング補正処理に優先して入力画素データを出力するか、もしくはスムージング処理機能を動作させないといった処理を行う。
【0017】
次に第3の実施の形態を説明する。
図3は第2の画像補正処理例を示すフローチャートである。
注目画素(対象画素)101が補正対象画素と判定された場合で(S11でYES)、注目画素101の濃度データが濃度検出閾値である0h(白データ)以上の濃度を持ち(S12でYES)、かつ、2値化の際にデータ無し(白ドット)と判定される(S13でYES)ような中間濃度の場合、周囲の画素の画像濃度にかかわらず、スムージング処理が行われていない入力画素データ濃度で画素データを出力する(S14)。
【0018】
また、S12でN、S13でNの場合は従前通りスムージング処理を行う(S15)。
【0019】
次に、第4の実施の形態を説明する。図4は補正対象画素とその周囲の中間濃度検出領域の第1の例を示す図、図5は同じく第2の例を示す図である。注目画素101が、補正対象画素103と判定された場合で、スムージング補正対象画素の上下または左右のどちら側かに他の補正対象画素(補正処理データ)が並ぶか判定する。図4のように、垂直に近い境界線を補正する場合は、補正対象画素は垂直方向に並ぶことになる。この場合、補正対象画素103の上下方向に白データ以上の濃度を持ち、かつ、2値化の際にデータ無しと判定されるような中間濃度画素が存在する場合には、スムージング処理が行われていない入力画素データ濃度で画素データを出力する。
【0020】
また、水平に近い境界線の場合は、図5のように、補正対象画素103の左右方向に並ぶ入力画素を参照し、垂直の場合と同様な処理を行う。
【0021】
【発明の効果】
請求項1記載の発明によれば、補正対象画素周囲に中間濃度の画素がある場合に、入力データをそのまま印字することで、言い換えると、画像のエッジスムージング処理を行わないことで、イメージ画像に悪影響を与える画像補正処理を避け、濃度階調再現性を優先させたイメージ画像出力処理が可能になる。
【0023】
請求項2記載の発明によれば、補正対象画素が低濃度画像である場合、スムージング処理を行わないようにすることで、高い濃度の画素の周囲にある低濃度画素の階調が補正データに置き変わってしまうことを防ぎ、イメージ画像の階調再現性を高めることができる。また、この場合、判定のための領域が注目画素のみの1ドットで済み、回路構成を単純化することが可能となる。
【0024】
請求項3記載の発明によれば、補正対象画素周囲の画素の配列により、中間濃度検出の領域を特定方向のみ参照することで、請求項2記載の発明と同様な効果を奏すると同時に、回路構成をより小さい規模で実現可能とすることができる。
【図面の簡単な説明】
【図1】注目画素とその周囲の中間濃度検出領域の一例を示す図である。
【図2】第1の画像補正処理例を示すフローチャートである。
【図3】第2の画像補正処理例を示すフローチャートである。
【図4】補正対象画素とその周囲の中間濃度検出領域の第1の例を示す図である。
【図5】補正対象画素とその周囲の中間濃度検出領域の第2の例を示す図である。
【図6】従来例の画像補正処理ブロック図である。
【図7】従来例の画像補正処理例を示す図である。
【符号の説明】
101 注目画素
102 中間濃度検出領域
103 補正対象画素[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image correction processing method used for a laser printer, a digital copying machine, and the like, and in particular, inputs bitmap image data including pixels having multi-value gradations and detects an edge portion of the image. The present invention relates to an image correction processing method for performing image correction processing such as smoothing processing if necessary.
[0002]
[Prior art]
In Japanese Patent Laid-Open No. 9-20550, when a composite image in which a monotone image and a multi-tone image are superimposed is printed by a laser printer, smoothing processing for the contour of the monotone character and faithfulness of the multi-tone image are disclosed. There has been proposed a technique that achieves a desired print result over the entire image while achieving both beautiful reproduction and the like.
[0003]
That is, in FIG. 6, when the
[0004]
Next, a smoothing process is performed on the monotone image 8 to smoothly correct the outline of the character. Further, the pixel corresponding to the corrected portion 17 of the monotone image 8 of the N double
[0005]
[Problems to be solved by the invention]
In the above prior art, when the input image has 16 gradation levels from 0h to fh per dot, the pixel to be corrected has a high density (a value close to fh) and a low density (0h). As shown in FIG. 7, the binary data is converted into binary data such that pixels with an arbitrary density or higher are provided with image data, and density lower than that is provided with no data, as shown in FIG. The smoothing correction process is performed on the pixel, and the corrected pixel is output with priority over the pixel that has not been subjected to the correction process, thereby reflecting the correction output result.
[0006]
That is, with respect to a pixel that is a correction target by the smoothing process, the smoothing result is prioritized and the original multi-value data is converted into white data by masking. For this reason, a part of the information of the input image is lost at this point.
As a result, as shown in FIG. 6, a pixel similar to “00” appears as data at the lower right portion of the image where data “01” should be output at an intermediate density. A pixel that is not white in the input data is missing one dot or more.
[0007]
Image jaggies are conspicuous in areas where the pixel contrast is high, that is, the boundary between white dots and black dots, but are less noticeable in multi-valued gradation images. In many cases, reproduction is prioritized and the image looks better.
[0008]
The present invention reduces the processing that adversely affects the gradation reproducibility of a multi-value gradation image by stopping the correction processing function depending on the relationship with surrounding pixels even if the target pixel is subjected to smoothing correction. An object of the present invention is to provide an image correction processing method having functions and excellent multi-level gradation reproducibility.
[0009]
[Means for Solving the Problems]
To achieve the above object, the invention according to claim 1 inputs the image data having a gradation of multivalued, in the image correction processing method for performing image correction processing such Smoothing processing, the target pixel is a smoothing When there is a first processing step for determining whether or not there is a correction target pixel, a second processing step for determining whether or not there is a pixel having an intermediate density gradation around the correction target pixel, and an intermediate density pixel outputs input image data to, if there is no pixel in the intermediate concentration is characterized in that it has a, a third processing step of outputting the image data after the smoothing processing.
[0010]
To achieve the above object, an invention according to
In order to achieve the above object, according to a third aspect of the present invention, in the image correction processing method according to the second aspect, in the second processing step, either the upper or lower side or the left or right side of the correction target pixel. It is determined whether other correction target pixels are arranged, and when the other correction target pixels are arranged, the input image data is output. The invention according to
[0012]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings.
First, a first embodiment will be described.
FIG. 1 is a diagram illustrating an example of a pixel of interest and an intermediate density detection region around it, and FIG. 2 is a flowchart illustrating a first image correction processing example.
In FIG. 1, reference numeral 101 denotes a target pixel, and 102 denotes an intermediate density detection area (reference area).
[0013]
In FIG. 2, it is first determined whether or not the target pixel 101 is a correction target pixel (S1). If the target pixel 101 is a correction target pixel (YES in S1), it is next determined whether or not there is an intermediate density pixel in the intermediate
[0014]
That is, it is determined whether or not there is a pixel having an intermediate density in the intermediate
[0015]
If there is no intermediate density pixel in the intermediate density detection area (NO in S2), the smoothing process is performed as before (S4).
[0016]
Next, a second embodiment will be described.
In the process of the first embodiment, the region for detecting the intermediate density pixel is expanded to a region other than the periphery of the target pixel 101, and it is determined whether or not the correction target pixel is in the collection of intermediate density pixels. If it exists in the intermediate density pixel, priority is given to the reproducibility of the density gradation expression, so that the input pixel data is output prior to the smoothing correction process or the smoothing function is not operated.
[0017]
Next, a third embodiment will be described.
FIG. 3 is a flowchart showing a second image correction processing example.
When the target pixel (target pixel) 101 is determined to be a correction target pixel (YES in S11), the density data of the target pixel 101 has a density equal to or higher than 0h (white data) that is a density detection threshold (YES in S12). In the case of an intermediate density that is determined to have no data (white dots) at the time of binarization (YES in S13), an input pixel that has not been subjected to smoothing processing regardless of the image density of surrounding pixels Pixel data is output at the data density (S14).
[0018]
In the case of N in S12 and N in S13, the smoothing process is performed as before (S15).
[0019]
Next, a fourth embodiment will be described. FIG. 4 is a diagram showing a first example of the correction target pixel and the surrounding intermediate density detection region, and FIG. 5 is a diagram showing a second example. When it is determined that the target pixel 101 is the
[0020]
Further, in the case of a border line close to the horizontal, as shown in FIG. 5, the input pixels arranged in the left-right direction of the
[0021]
【The invention's effect】
According to the first aspect of the present invention, when there is an intermediate density pixel around the correction target pixel, the input data is printed as it is, in other words, the edge smoothing processing of the image is not performed, so that the image image is displayed. Image correction processing giving priority to density gradation reproducibility can be performed while avoiding image correction processing that has an adverse effect.
[0023]
According to the second aspect of the present invention, when the correction target pixel is a low density image, the gradation of the low density pixel around the high density pixel is corrected data by not performing the smoothing process. It is possible to prevent the change and improve the gradation reproducibility of the image. Further, in this case, the area for determination is only one dot of the target pixel, and the circuit configuration can be simplified.
[0024]
According to the invention described in
[Brief description of the drawings]
FIG. 1 is a diagram illustrating an example of a target pixel and an intermediate density detection region around it.
FIG. 2 is a flowchart illustrating a first image correction processing example.
FIG. 3 is a flowchart illustrating a second image correction processing example.
FIG. 4 is a diagram illustrating a first example of a correction target pixel and an intermediate density detection region around the correction target pixel.
FIG. 5 is a diagram illustrating a second example of a correction target pixel and an intermediate density detection region around the correction target pixel.
FIG. 6 is a block diagram of a conventional image correction process.
FIG. 7 is a diagram illustrating an example of a conventional image correction process.
[Explanation of symbols]
101
Claims (4)
注目画素がスムージングの補正対象画素か否か判断する第1の処理工程と、
補正対象画素の周囲に中間濃度の階調を持つ画素があるか否か判断する第2の処理工程と、
中間濃度の画素がある場合に入力された画像データを出力し、中間濃度の画素がない場合にはスムージング処理後の画像データを出力する第3の処理工程と、
を有することを特徴とする画像補正処理方法。In an image correction processing method for inputting image data having multi-value gradations and performing image correction processing such as smoothing processing,
A first processing step for determining whether the target pixel is a pixel to be corrected for smoothing;
A second processing step of determining whether or not there is a pixel having an intermediate density gradation around the correction target pixel;
A third processing step of outputting the input image data when there is an intermediate density pixel, and outputting the image data after the smoothing process when there is no intermediate density pixel;
An image correction processing method characterized by comprising:
注目画素がスムージングの補正対象画素か否か判断する第1の処理工程と、
補正対象画素が白データ以上の濃度を持ち、かつ、2値化の結果が白ドットとなるか否か判定する第2の処理工程と、
前記第2の処理工程により、補正対象画素が白データ以上の濃度を持ち、かつ、2値化の結果が白ドットとなると判定された場合に、入力された画像データを出力し、それ以外の場合にはスムージング処理後の画像データを出力する第3の工程と、を有することを特徴とする画像補正処理方法。In an image correction processing method for inputting image data having multi-value gradations and performing image correction processing such as smoothing processing,
A first processing step for determining whether the target pixel is a pixel to be corrected for smoothing;
A second processing step of determining whether or not the correction target pixel has a density equal to or higher than white data and whether the binarization result is a white dot;
When it is determined by the second processing step that the correction target pixel has a density equal to or higher than white data and the binarization result is white dots, the input image data is output, And a third step of outputting the image data after the smoothing process in some cases.
更に、前記補正対象画素の上下または左右のどちら側かに他の補正対象画素が並ぶかを判定し、他の補正対象画素が並ぶ場合には入力された画像データを出力する、
ことを特徴とする請求項2に記載の画像補正処理方法。In the second processing step,
Further, it is determined whether another correction target pixel is arranged on the upper or lower side or the left or right side of the correction target pixel, and when the other correction target pixel is arranged, the input image data is output.
The image correction processing method according to claim 2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP09668098A JP3830269B2 (en) | 1998-03-25 | 1998-03-25 | Image correction processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP09668098A JP3830269B2 (en) | 1998-03-25 | 1998-03-25 | Image correction processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH11275368A JPH11275368A (en) | 1999-10-08 |
JP3830269B2 true JP3830269B2 (en) | 2006-10-04 |
Family
ID=14171519
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP09668098A Expired - Fee Related JP3830269B2 (en) | 1998-03-25 | 1998-03-25 | Image correction processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3830269B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003051949A (en) * | 2001-08-08 | 2003-02-21 | Fujitsu Ltd | Image processing method and image output device |
JP2010252194A (en) * | 2009-04-17 | 2010-11-04 | Canon Inc | Image processing apparatus and image processing method |
-
1998
- 1998-03-25 JP JP09668098A patent/JP3830269B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPH11275368A (en) | 1999-10-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2001238074A (en) | Method and device for discriminating picture attribute | |
JPH05328121A (en) | Method and device for picture processing | |
JP2004538673A (en) | Method and system for enhancing an input digital image with color features | |
JP2008092447A (en) | Image processing apparatus, image output device, and image processing method | |
JP3604902B2 (en) | Image processing device | |
JP3830269B2 (en) | Image correction processing method | |
JP4228466B2 (en) | Image processing apparatus, image processing method, and computer-readable storage medium storing image processing procedure | |
JP3073837B2 (en) | Image region separation device and image region separation method | |
JPH10145601A (en) | Image processing unit | |
JPH0818785A (en) | Image output device | |
JP2874592B2 (en) | Image processing device for distinguishing text / photo / dot area | |
JP3789243B2 (en) | Image processing apparatus and method | |
JP3334779B2 (en) | Compound image processing method and method | |
JP2003230009A (en) | Image forming device | |
JP3115065B2 (en) | Image information edge enhancement device | |
JP2812401B2 (en) | Image processing device | |
JP4035696B2 (en) | Line segment detection apparatus and image processing apparatus | |
JP2001169099A (en) | Picture reproducing device | |
JPH0662230A (en) | Image forming device | |
JP2581049B2 (en) | Image area determination device | |
JPH0644800B2 (en) | Image processing device | |
JP2978550B2 (en) | Mark detection device | |
JP3304108B2 (en) | Image processing method and apparatus | |
JP4454879B2 (en) | Image processing apparatus, image processing method, and recording medium | |
JPH05176168A (en) | Adaptive halftone processing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20051214 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20051220 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060216 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060322 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060428 |
|
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: 20060704 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20060711 |
|
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: 20090721 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100721 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110721 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120721 Year of fee payment: 6 |
|
LAPS | Cancellation because of no payment of annual fees |