JP2009065402A - Gradation correction processing method, program for executing the same and gradation correction processing device - Google Patents

Gradation correction processing method, program for executing the same and gradation correction processing device Download PDF

Info

Publication number
JP2009065402A
JP2009065402A JP2007230885A JP2007230885A JP2009065402A JP 2009065402 A JP2009065402 A JP 2009065402A JP 2007230885 A JP2007230885 A JP 2007230885A JP 2007230885 A JP2007230885 A JP 2007230885A JP 2009065402 A JP2009065402 A JP 2009065402A
Authority
JP
Japan
Prior art keywords
density
change point
gradation correction
correction processing
point pixel
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
JP2007230885A
Other languages
Japanese (ja)
Other versions
JP4743899B2 (en
Inventor
Token Kin
東憲 金
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.)
NEC Engineering Ltd
Original Assignee
NEC Engineering 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 NEC Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP2007230885A priority Critical patent/JP4743899B2/en
Publication of JP2009065402A publication Critical patent/JP2009065402A/en
Application granted granted Critical
Publication of JP4743899B2 publication Critical patent/JP4743899B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To obtain a high quality binary image by solving a moire problem and an edge blur problem due to a tone jump. <P>SOLUTION: This gradation correction processing method for correcting the gradation of an inputted binary image comprises the steps for: detecting a change point pixel DE of a binary image; setting a density measurement region CE having the size of a screen region of 50 lines/inch centered on the detected change point pixel DE; measuring density Rin within the set density measurement region; calculating randomization probabilities K and K' by comparing the measured density value Rin with a target density value Rout; and changing the values of the change point pixel DE according to the calculated randomization probabilities K and K'. The gradation correction processing method sets the density measurement region CE in each change point pixel DE. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、2値画像の階調補正処理方法等に関し、特に、入力された2値画像について入力階調補正カーブに合わせて画像の階調情報の補正処理を行う方法等に関する。   The present invention relates to a tone correction processing method for a binary image, and more particularly to a method for correcting the tone information of an image in accordance with an input tone correction curve for an input binary image.

従来、写真等の2値画像をスキャナなどの入力機器で読み取り、読み取った画像の階調(濃度)を補正するなどの編集が広く行われている。画像の階調補正に際しては、濃淡の再現性が失われるのを避けるために、写真等の読み取り時に原画像の濃淡を正確に検出し、画像データの上でも濃淡情報を正確に把握することが求められる。   Conventionally, editing such as reading a binary image such as a photograph with an input device such as a scanner and correcting the gradation (density) of the read image has been widely performed. When correcting the gradation of an image, in order to avoid losing the reproducibility of the light and shade, it is possible to accurately detect the light and shade of the original image when reading a photograph or the like and to accurately grasp the light and shade information on the image data. Desired.

写真等の2値画像の濃淡は、一般に、網点の大きさによって表現され、また、濃淡表現の鮮明さは、網点の密度、すなわち、画像作成時に使用する網点のスクリーン線数によって決められる。こうした網点は、入力機器での読み取り時に黒色領域として認識され、入力機器からは、網点に相当する部分が黒画素データの集合体として出力される。   The density of binary images such as photographs is generally expressed by the size of halftone dots, and the sharpness of the density expression is determined by the density of the halftone dots, that is, the number of screen lines of the halftone dots used at the time of image creation. It is done. Such a halftone dot is recognized as a black area when read by the input device, and a portion corresponding to the halftone dot is output from the input device as an aggregate of black pixel data.

このため、理論上は、入力機器の出力データを参照して黒画素部分を検出することにより、原画像の濃度を割り出すことが可能である。しかしながら、実際の画像処理では、各網点の大きさを認識することはできても、原画像を作成する際に使用されたスクリーン情報(スクリーン中心位置やスクリーンサイズ)を導き出すことが容易ではないため、正確な濃度情報を作成するのが困難となっている。   Therefore, theoretically, it is possible to determine the density of the original image by detecting the black pixel portion with reference to the output data of the input device. However, in actual image processing, although it is possible to recognize the size of each halftone dot, it is not easy to derive screen information (screen center position and screen size) used when creating the original image. Therefore, it is difficult to create accurate density information.

そこで、従来の階調補正処理装置では、入力2値画像を所定の大きさのブロック単位に分割した後に、分割したブロック毎に、ブロック中のオン画素(黒画素)数をブロック中の総画素数で除算してブロックの平均濃度値を求めるように構成されている(例えば、特許文献1参照)。この方法では、図10に示すように、各ブロックのサイズが、多数の網点を含む大きさに定められ、そのブロックの平均濃度を用いて階調補正処理が行われる。この方法によれば、個々の網点を対象として原画像の濃度を測定するのではなく、ブロック単位で濃度を測定するため、各網点のスクリーン線数やスクリーン角度等を求めずとも、入力2値画像の濃度情報を取得して階調補正を行うことが可能になる。   Therefore, in the conventional gradation correction processing apparatus, after the input binary image is divided into blocks each having a predetermined size, the number of ON pixels (black pixels) in the block is calculated for each divided block. The average density value of the block is obtained by dividing by a number (see, for example, Patent Document 1). In this method, as shown in FIG. 10, the size of each block is determined to include a large number of halftone dots, and gradation correction processing is performed using the average density of the block. According to this method, since the density of the original image is not measured for each halftone dot, but the density is measured in units of blocks, it is possible to input without obtaining the screen line number or screen angle of each halftone dot. It is possible to perform gradation correction by acquiring density information of a binary image.

特開2006−72173号公報JP 2006-72173 A

従来の濃度測定方法では、一様に濃度分布している領域に対しては、濃度測定領域のサイズ(各ブロックのサイズ)が大きくなるほど、求めた平均濃度が原画像の実濃度に近似する。しかし、複数の濃度が混在している領域に対しては、濃度測定領域のサイズが大きくなるほど、濃淡情報が平滑化されるため、濃淡表現の鮮明さが失われていき、トーンジャンプによるモアレ問題やエッジボケ問題が発生する可能性がある。   In a conventional density measurement method, for a uniformly distributed area, as the density measurement area size (size of each block) increases, the obtained average density approximates the actual density of the original image. However, for areas where multiple densities are mixed, the density information becomes smoother as the size of the density measurement area increases. And edge blurring problems may occur.

尚、上記トーンジャンプとは、原画像上の連続した網点濃度に対して、一定領域内で濃度を平均化するため、領域の境界で階調の連続性が無くなってしまうことであり、隣接する領域間の測定濃度の差が大きい(隣接している領域の濃度の差分が目で認識できる程度)場合には、モアレ問題となる。また、エッジボケとは、測定領域内に複数の濃度領域が混在している場合に、濃淡の境目(エッジ部分)が濃度の平均化により、ぼやけてしまうことをいう。   Note that the tone jump means that the density is averaged within a certain area with respect to the continuous halftone dot density on the original image, so that the continuity of gradation is lost at the boundary of the area. When the difference in the measured density between the areas to be processed is large (to the extent that the difference in density between adjacent areas can be recognized with eyes), a moire problem occurs. Also, edge blur means that when a plurality of density regions are mixed in a measurement region, a light / dark boundary (edge portion) is blurred due to density averaging.

そこで、本発明は、上記従来の技術における問題点に鑑みてなされたものであって、トーンジャンプによるモアレ問題やエッジボケ問題を解決し、高画質な2値画像を得ることが可能な階調補正処理方法等を提供することを目的とする。   Therefore, the present invention has been made in view of the above-described problems in the prior art, and is a gradation correction capable of solving the moire problem and the edge blurring problem caused by tone jump and obtaining a high-quality binary image. An object is to provide a processing method and the like.

上記目的を達成するため、本発明は、入力された2値画像の階調を補正する階調補正処理方法であって、前記2値画像の変化点画素を検出するステップと、該検出した変化点画素を基準とし、前記2値画像で使用され得る最大のスクリーン線数のスクリーン領域サイズに対応するサイズを有する濃度測定領域を設定するステップと、該設定した濃度測定領域内の濃度を測定するステップと、該測定した濃度を用いて階調補正を行うステップとを有し、前記濃度測定領域を網点の外周に沿って複数設定することを特徴とする。   To achieve the above object, the present invention provides a gradation correction processing method for correcting gradation of an input binary image, the step of detecting change point pixels of the binary image, and the detected change. Setting a density measurement area having a size corresponding to the screen area size of the maximum number of screen lines that can be used in the binary image with reference to a point pixel, and measuring the density in the set density measurement area And a step of performing gradation correction using the measured density, wherein a plurality of density measurement areas are set along the outer periphery of a halftone dot.

そして、本発明によれば、入力2値画像に存在する濃度変化のエッジ部分を追従することができると同時に、トーンジャンプ問題やモアレ問題を解決することができ、高画質な2値画像を得ることが可能になる。   According to the present invention, the edge portion of the density change existing in the input binary image can be followed, and at the same time, the tone jump problem and the moire problem can be solved, and a high-quality binary image is obtained. It becomes possible.

上記階調補正処理方法において、前記濃度測定領域が前記変化点画素を中心位置とするように設定することができる。これによれば、注目網点の黒画素のみならず、注目画素の周辺に位置する網点の黒画素の一部も、濃度測定領域内に含ませることができるため、階調補正後の網点間の連続性を向上させることが可能になる。   In the gradation correction processing method, the density measurement region can be set so that the change point pixel is a center position. According to this, since not only the black pixel of the target halftone dot but also a part of the black pixel of the halftone dot located around the target pixel can be included in the density measurement region, It becomes possible to improve the continuity between points.

上記階調補正処理方法において、前記濃度測定領域の一辺の長さを前記最大のスクリーン線数のスクリーン領域の一辺の長さの1倍以上2倍以下とすることができる。これによれば、周辺に位置する網点の黒画素を適度に濃度測定領域内に含ませることができるため、階調補正後の画像の鮮明さを保ちながら、網点間の連続性を向上させることが可能になる。   In the gradation correction processing method, the length of one side of the density measurement region can be set to 1 to 2 times the length of one side of the screen region having the maximum screen line number. According to this, since black pixels with halftone dots located in the vicinity can be appropriately included in the density measurement region, continuity between halftone dots is improved while maintaining the sharpness of the image after gradation correction. It becomes possible to make it.

上記階調補正処理方法において、前記濃度測定領域を前記網点の変化点画素毎に設定することができる。これによれば、各網点に存在する全ての変化点画素に対して濃度値を得ることができるため、濃度測定誤差により発生するモアレを効果的に防止することが可能になる。   In the gradation correction processing method, the density measurement region can be set for each halftone dot change point pixel. According to this, since density values can be obtained for all change point pixels present in each halftone dot, it is possible to effectively prevent moire caused by density measurement errors.

上記階調補正処理方法において、ランダマイズ補正処理を用いて前記変化点画素の値を変換することにより、前記階調補正を行うことができる。   In the gradation correction processing method, the gradation correction can be performed by converting the value of the change point pixel using a randomization correction process.

上記階調補正処理方法において、前記測定した濃度と目標濃度との偏差を用いてランダマイズ確率を求め、該ランダマイズ確率を一様乱数と比較して前記変化点画素の値を変換するか否かを決定することができる。これによれば、値が変更された変化点画素を、網点の縁部分に離散的に分布させることができるため、階調の自然さを損なうことなく、階調調整を行うことが可能になる。   In the gradation correction processing method, a randomization probability is obtained using a deviation between the measured density and the target density, and whether or not the change point pixel value is converted by comparing the randomization probability with a uniform random number. Can be determined. According to this, since the change point pixels whose values have been changed can be discretely distributed in the edge portions of the halftone dots, it is possible to perform gradation adjustment without impairing the naturalness of the gradation. Become.

上記階調補正処理方法において、変化点画素を、輪郭点画素及び/又は境界点画素とすることができる。   In the gradation correction processing method, the change point pixel can be a contour point pixel and / or a boundary point pixel.

また、本発明は、入力された2値画像の階調を補正する階調補正処理を実行するためのプログラムであって、上記何れかの階調補正処理方法を実行するためのものであることを特徴とする。本発明によれば、前記発明と同様に、入力2値画像に存在する濃度変化のエッジ部分を追従することができると同時に、トーンジャンプ問題やモアレ問題を解決することができ、高画質な2値画像を得ることが可能になる。   Further, the present invention is a program for executing a gradation correction process for correcting the gradation of an input binary image, and for executing any one of the gradation correction processing methods described above. It is characterized by. According to the present invention, similar to the above-described invention, the edge portion of the density change existing in the input binary image can be tracked, and at the same time, the tone jump problem and the moire problem can be solved. A value image can be obtained.

さらに、本発明は、入力された2値画像の階調を補正する階調補正処理装置であって、前記2値画像の変化点画素を検出する変化点検出手段と、該変化点検出手段で検出された前記変化点画素を基準とし、前記2値画像で使用され得る最大のスクリーン線数のスクリーン領域サイズに対応するサイズを有する濃度測定領域を、網点の外周に沿って複数設定する測定領域設定手段と、該測定領域設定手段で設定された前記濃度測定領域内の濃度を測定する濃度測定手段と、該濃度測定手段で測定された濃度を用いて階調補正を行う階調補正手段とを備えることを特徴とする。本発明によれば、前記発明と同様に、入力2値画像に存在する濃度変化のエッジ部分を追従することができると同時に、トーンジャンプ問題やモアレ問題を解決することができ、高画質な2値画像を得ることが可能になる。   Furthermore, the present invention is a gradation correction processing device for correcting the gradation of an input binary image, comprising a change point detection means for detecting change point pixels of the binary image, and the change point detection means. Measurement in which a plurality of density measurement areas having a size corresponding to the screen area size of the maximum number of screen lines that can be used in the binary image are set along the outer periphery of the halftone dot, using the detected change point pixel as a reference. Area setting means, density measuring means for measuring the density in the density measuring area set by the measurement area setting means, and tone correcting means for performing tone correction using the density measured by the density measuring means It is characterized by providing. According to the present invention, similar to the above-described invention, the edge portion of the density change existing in the input binary image can be tracked, and at the same time, the tone jump problem and the moire problem can be solved. A value image can be obtained.

以上のように、本発明によれば、トーンジャンプによるモアレ問題やエッジボケ問題を解決し、高画質な2値画像を得ることが可能となる。   As described above, according to the present invention, it is possible to solve the moire problem due to tone jump and the edge blur problem and obtain a high-quality binary image.

次に、本発明の実施の形態について図面を参照して詳細に説明する。   Next, embodiments of the present invention will be described in detail with reference to the drawings.

図1は、本発明にかかる階調補正処理装置の一実施の形態を示すブロック図であり、この階調補正処理装置1は、大別して、変化点検出部2と、濃度測定部3と、ランダマイズ補正部4と、乱数発生部5とから構成される。   FIG. 1 is a block diagram showing an embodiment of a gradation correction processing apparatus according to the present invention. The gradation correction processing apparatus 1 is roughly divided into a change point detection unit 2, a density measurement unit 3, and The randomization correction unit 4 and the random number generation unit 5 are configured.

尚、図中のメモリ6は、スキャナなどの入力機器(図示せず)から出力された画像データを記憶したり、変化点検出部2、濃度測定部3及びランダマイズ補正部4で処理された処理値や画像データを記憶するための記憶媒体である。また、上記階調補正処理装置1において、変化点検出部2、濃度測定部3、ランダマイズ補正部4及び乱数発生部5は、必ずしもハードウェアによって構成される必要はなく、その一部又は全部がソフトウェア(プログラム)によって構成されてもよい。   Note that the memory 6 in the figure stores image data output from an input device (not shown) such as a scanner, or processes processed by the change point detection unit 2, the density measurement unit 3, and the randomization correction unit 4. It is a storage medium for storing values and image data. In the gradation correction processing apparatus 1, the change point detection unit 2, the density measurement unit 3, the randomization correction unit 4 and the random number generation unit 5 do not necessarily need to be configured by hardware, and part or all of them are included. It may be configured by software (program).

変化点検出部2は、入力機器から出力された入力2値画像データを用いて、該画像中の変化点を検出するものである。ここで、検出する変化点には、黒画素である輪郭点画像と、白画素である境界点画素とがある。輪郭点の検出に際しては、入力2値画像中の任意の黒画素を注目画素とし、例えば、その注目画素を中心とする3×3画素の範囲を参照する。そして、図2(a)に示すように、注目画素の周辺に位置する8画素中に1つでも白画素があれば、その注目画素を輪郭点として検出する。一方、境界点の検出に際しては、入力2値画像中の任意の白画素を注目画素とし、図2(b)に示すように、近傍の8画素中に1つでも黒画素があれば、その注目画素を境界点として検出する。   The change point detection unit 2 detects a change point in the image using the input binary image data output from the input device. Here, the change points to be detected include a contour point image that is a black pixel and a boundary point pixel that is a white pixel. When detecting a contour point, an arbitrary black pixel in the input binary image is set as a target pixel, and for example, a 3 × 3 pixel range centered on the target pixel is referred to. As shown in FIG. 2A, if at least one white pixel is present in the eight pixels located around the target pixel, the target pixel is detected as a contour point. On the other hand, when detecting a boundary point, an arbitrary white pixel in the input binary image is set as a target pixel, and if there is at least one black pixel in the neighboring eight pixels as shown in FIG. The pixel of interest is detected as a boundary point.

濃度測定部3は、変化点検出部2で検出された変化点を基準として、変化点画素の濃度を求めるものである。変化点画素の濃度を求めるに際しては、図3(a)に示すように、注目網点H0の変化点画素DEを中心とし、原画像で使用され得る最大の(最も粗い)スクリーン線数のスクリーン領域SEのサイズよりも若干大きなサイズを有する濃度測定領域CEを設定する。 The density measuring unit 3 obtains the density of the change point pixel with reference to the change point detected by the change point detection unit 2. When determining the density of the change point pixel, as shown in FIG. 3A, the maximum (coarse) screen line number that can be used in the original image with the change point pixel DE of the target halftone dot H 0 as the center. A density measurement region CE having a size slightly larger than the size of the screen region SE is set.

通常、網点画像の網点スクリーン線数には、50線/インチ〜300線/インチが用いられるが、実際の印刷物において、網点のスクリーン線数は、用紙、インク及び印刷機器等の印刷条件により60線/インチ以上となる。このため、上記の濃度測定領域CEのサイズは、60線/インチのスクリーン領域よりも一回り大きい50線/インチのスクリーン領域に相当するサイズとすることが好ましい。但し、濃度測定領域CEのサイズは、50線/インチのサイズに限られるものではなく、最大のスクリーン線数のスクリーン領域SEの一辺の長さをLとし、濃度測定領域CEの一辺の長さをL’とすると、長さL’は、1〜2×Lとすることができる(図3(b)参照)。   Usually, a halftone dot screen line number of a halftone dot image is 50 lines / inch to 300 lines / inch. However, in an actual printed matter, the halftone dot screen line number is used for printing on paper, ink, printing equipment, and the like. Depending on conditions, it is 60 lines / inch or more. Therefore, the size of the density measurement region CE is preferably a size corresponding to a screen region of 50 lines / inch, which is slightly larger than the screen region of 60 lines / inch. However, the size of the density measurement region CE is not limited to the size of 50 lines / inch. The length of one side of the screen region SE with the maximum number of screen lines is L, and the length of one side of the density measurement region CE. Is L ′, the length L ′ can be 1 to 2 × L (see FIG. 3B).

また、上記の濃度測定領域CEには、主として、注目網点H0に対応する黒画素が含まれるが、注目網点H0の縁部に存在する変化点画素DEを濃度測定領域CEの中心としているため、周辺の網点H1、H2、H3に対応する黒画素の一部も含まれる(図3(a)参照)。尚、変化点画素DEの位置と、濃度測定領域CEの中心位置とを完全に一致させる必要はなく、変化点画素DEが濃度測定領域CEの略々中心に位置すれば、両者の位置が多少ずれていてもよい。 The density measurement region CE mainly includes black pixels corresponding to the target halftone dot H 0 , but the change point pixel DE existing at the edge of the target halftone dot H 0 is the center of the density measurement region CE. Therefore, some of the black pixels corresponding to the surrounding halftone dots H 1 , H 2 , and H 3 are also included (see FIG. 3A). Note that the position of the change point pixel DE and the center position of the density measurement region CE do not need to be completely coincident. If the change point pixel DE is positioned substantially at the center of the density measurement region CE, the positions of the two are slightly different. It may be shifted.

濃度測定部3では、上記の濃度測定領域CEを設定すると、設定した濃度測定領域CEを対象に黒画素数を検出し、検出した黒画素数を濃度測定領域CEの総画素数で除算して濃度を測定する。   In the density measurement unit 3, when the density measurement area CE is set, the number of black pixels is detected for the set density measurement area CE, and the detected number of black pixels is divided by the total number of pixels in the density measurement area CE. Measure the concentration.

図1に戻り、ランダマイズ補正部4は、濃度測定部3で測定された変化点画素濃度に対してランダマイズ補正処理を行うためのものである。ランダマイズ補正処理にあたっては、先ず、測定された変化点画素濃度を階調補正カーブ上の目標濃度と比較し、変化点画素に対するランダマイズ補正の強さを表すランダマイズ確率を求める。その後、求めたランダマイズ確率に基づいて変化点画素の値を変更するか否かを判定し、判定結果に従って、黒画素から白画素への変換、又は白画素から黒画素への変換を行う。   Returning to FIG. 1, the randomization correction unit 4 is for performing a randomization correction process on the change point pixel density measured by the density measurement unit 3. In the randomization correction process, first, the measured change point pixel density is compared with the target density on the gradation correction curve to obtain a randomization probability representing the strength of randomization correction for the change point pixel. Thereafter, it is determined whether or not to change the value of the change point pixel based on the obtained randomization probability, and the conversion from the black pixel to the white pixel or the conversion from the white pixel to the black pixel is performed according to the determination result.

乱数発生部5は、一様乱数を発生させるためのものである。ここで、一様乱数とは、0.0から1.0までを全体発生値とした場合に、各発生値(0.0から1.0までの間の何れかの値)が何れも同じ頻度で発生する乱数を意味する。   The random number generator 5 is for generating uniform random numbers. Here, the uniform random number means that each generated value (any value between 0.0 and 1.0) is the same when the entire generated value is 0.0 to 1.0. It means a random number generated with frequency.

次に、上記階調補正処理装置1を用いた階調補正処理方法について、図4〜図9を参照して説明する。尚、ここでは、新聞印刷用のAMスクリーン製版を読み取り、読み取った2値画像を階調補正する場合を例にとって説明する。また、製版読み取り時の解像度(入力2値画像の解像度)は、1200dpiであるとする。   Next, a tone correction processing method using the tone correction processing apparatus 1 will be described with reference to FIGS. Here, an example will be described in which an AM screen plate making for newspaper printing is read and gradation of the read binary image is corrected. Further, it is assumed that the resolution at the time of plate making reading (resolution of the input binary image) is 1200 dpi.

階調補正処理にあたっては、図4に示すように、先ず、読み取られた製版の2値画像をメモリ6(図1参照)から読み出し、2値画像全体を対象として変化点画素を検出する(ステップS1)。次いで、検出した変化点画素の中から任意の画素を選択し(ステップS2)、選択した変化点画素DE0を中心とした濃度測定領域CEを設定して、変化点画素濃度Rinを算出する(ステップS3、図5参照)。 In the gradation correction process, as shown in FIG. 4, first, the read binary image of the plate making is read from the memory 6 (see FIG. 1), and change point pixels are detected for the entire binary image (step). S1). Next, an arbitrary pixel is selected from the detected change point pixels (step S2), a density measurement region CE centered on the selected change point pixel DE 0 is set, and a change point pixel density Rin is calculated ( Step S3, see FIG. 5).

変化点画素濃度Rinの算出に際しては、最初に、濃度測定領域CEのサイズ、すなわち、50線/インチのスクリーン領域のサイズを、入力2値画像の解像度に合わせて画素数S2に変換する。入力2値画像の解像度が1200dpiの場合、50線/インチのスクリーン領域の主走査方向及び副走査方向の画素数Sは、各々、1200/50=24画素となることから、濃度測定領域CEの画素数S2は、24×24となる(図5参照)。 In calculating the change point pixel density Rin, first, the size of the density measurement area CE, that is, the size of the screen area of 50 lines / inch is converted into the number of pixels S 2 in accordance with the resolution of the input binary image. When the resolution of the input binary image is 1200 dpi, the number S of pixels in the main scanning direction and the sub-scanning direction of the screen area of 50 lines / inch is 1200/50 = 24 pixels, respectively. The number of pixels S 2 is 24 × 24 (see FIG. 5).

次いで、ステップS2で選択した変化点画素DE0を中心に合わせ、画素数S2=24×24の濃度測定領域CEを設定し、濃度測定領域CE内で黒画素が占める比率Rinを算出する。濃度測定領域CE内の総画素数をPNとし、測定領域内の黒画素数をBNとすると、図5に示す例では、PN=576、BN=70であるから、変化点画素濃度Rinは、Rin=BN/PNより、約0.122(12.2%)となる。 Next, a density measurement region CE with the number of pixels S 2 = 24 × 24 is set centering on the change point pixel DE 0 selected in step S2, and a ratio Rin occupied by black pixels in the density measurement region CE is calculated. If the total number of pixels in the density measurement region CE is PN and the number of black pixels in the measurement region is BN, PN = 576 and BN = 70 in the example shown in FIG. From Rin = BN / PN, it is about 0.122 (12.2%).

図4に戻り、変化点画素濃度Rinの算出を終えると、算出した変化点画素Rinを、図6に示す階調補正カーブに代入し、目標濃度Routを取得する(ステップS4)。図6に示す階調補正カーブでは、目標濃度Routは、変化点画素濃度Rin≒12.2%のときに、10.0%となる。   Returning to FIG. 4, when the calculation of the change point pixel density Rin is completed, the calculated change point pixel Rin is substituted into the gradation correction curve shown in FIG. 6 to obtain the target density Rout (step S4). In the gradation correction curve shown in FIG. 6, the target density Rout is 10.0% when the change point pixel density Rin≈12.2%.

次いで、図4のステップS2で選択した変化点画素DE0が黒画素であるか否かを判定し(ステップS5)、変化点画素DE0が黒画素である場合には、算出した変化点画素濃度Rinが、目標濃度Routより大きいか否かを判定する(ステップS6)。 Next, it is determined whether or not the change point pixel DE 0 selected in step S2 in FIG. 4 is a black pixel (step S5). If the change point pixel DE 0 is a black pixel, the calculated change point pixel DE 0 is determined. It is determined whether or not the density Rin is larger than the target density Rout (step S6).

上記の例(変化点画素濃度Rin≒12.2%、目標濃度Rout=10.0%)のように、変化点画素濃度Rinが目標濃度Routよりも大きい場合には、濃度測定領域CE内の黒画素数を減少すべきであるため、その減少率に対応するランダマイズ確率Kを算出する(ステップS7)。   As in the above example (change point pixel density Rin≈12.2%, target density Rout = 10.0%), when the change point pixel density Rin is greater than the target density Rout, Since the number of black pixels should be reduced, a randomization probability K corresponding to the reduction rate is calculated (step S7).

具体的には、先ず、以下の式(1)を用いて、濃度測定領域CE内の黒画素を白画素に変換する画素数Nを求め、
N=(Rin−Rout)×PN ・・・(式1)
それとともに、濃度測定領域CE内に存在する黒画素の変化点(輪郭点画素)の総数PSを取得する。例えば、図5の入力2値画像から輪郭点のみを取り出した場合、図7に示すようになり、この場合の黒画素の変化点の総数PSは、52個となる。
Specifically, first, using the following formula (1), the number N of pixels for converting the black pixels in the density measurement region CE into white pixels is obtained,
N = (Rin−Rout) × PN (Formula 1)
At the same time, the total number PS of change points (contour point pixels) of black pixels existing in the density measurement region CE is acquired. For example, when only contour points are extracted from the input binary image of FIG. 5, the result is as shown in FIG. 7, and the total number PS of black pixel change points in this case is 52.

次いで、以下の式(2)を用いて、濃度測定領域CE内の輪郭点画素を白画素に変換する平均変換率σを求める。
σ=N/PS ・・・(式2)
Next, an average conversion rate σ for converting a contour point pixel in the density measurement region CE into a white pixel is obtained using the following equation (2).
σ = N / PS (Formula 2)

最後に、求めた平均変換率σを、濃度測定領域CEの中心にある変化点画素DE0(輪郭点画素)のランダマイズ確率Kに置き換え、
K=σ=((Rin−Rout)×PN)/PS ・・・(式3)
変化点画素DE0に対するランダマイズ確率K(≒0.244)を求める。
Finally, the obtained average conversion rate σ is replaced with the randomization probability K of the change point pixel DE 0 (contour point pixel) at the center of the density measurement region CE,
K = σ = ((Rin−Rout) × PN) / PS (Formula 3)
A randomization probability K (≈0.244) for the change point pixel DE 0 is obtained.

図4に戻り、ランダマイズ確率Kの算出を終えると、乱数発生部5(図1参照)より一様乱数を発生するとともに(ステップS8)、発生した乱数をランダマイズ確率Kと比較して発生値Qを取得する(ステップS9)。発生値Qの取得においては、発生した乱数がランダマイズ確率K以下の場合には、発生値Q=1とし、発生した乱数がランダマイズ確率Kより大きい場合には、発生値Q=0とする。   Returning to FIG. 4, when the calculation of the randomization probability K is finished, a uniform random number is generated from the random number generation unit 5 (see FIG. 1) (step S8), and the generated random number K is compared with the randomization probability K to generate the generated value Q. Is acquired (step S9). In the acquisition of the generated value Q, if the generated random number is less than or equal to the randomization probability K, the generated value Q = 1, and if the generated random number is greater than the randomized probability K, the generated value Q = 0.

ここで、乱数発生部5から0.24以下の値が出力される確率は、24%であるため、ランダマイズ確率Kが0.24(≒0.244)である場合の発生値Q=1となる確率は、24%となる。従って、発生値Qは、ランダマイズ確率Kと一致した確率で、値「1」を取ることになる。   Here, since the probability that a value of 0.24 or less is output from the random number generator 5 is 24%, the generated value Q = 1 when the randomization probability K is 0.24 (≈0.244). Probability is 24%. Therefore, the generated value Q takes the value “1” with a probability that matches the randomization probability K.

これらに対し、変化点画素濃度Rinが目標濃度Rout以下の場合には(ステップS6:No)、濃度測定領域CE内の黒画素数を減少する必要がないため、ランダマイズ確率Kを0に設定するとともに、発生値Qを0に設定する(ステップS10、S11)。   On the other hand, when the change point pixel density Rin is equal to or less than the target density Rout (step S6: No), it is not necessary to reduce the number of black pixels in the density measurement region CE, and therefore the randomization probability K is set to zero. At the same time, the generated value Q is set to 0 (steps S10 and S11).

発生値Qを取得すると、取得した発生値Qが1であるか否かを判定し(ステップS12)、発生値Qが1である場合には、変化点画素DE0の黒画素を白画素に変換する(ステップS13)。一方、発生値Qが0である場合には、変化点画素DE0を黒画素のままで維持する(ステップS14)。変換後の画素データは、メモリ6(図1参照)に記録され、これにより、ランダマイズ確率Kに従う確率で、変化点画素DE0が黒画素から白画素に変換される。 When the generated value Q is acquired, it is determined whether or not the acquired generated value Q is 1 (step S12). If the generated value Q is 1, the black pixel of the change point pixel DE 0 is changed to a white pixel. Conversion is performed (step S13). On the other hand, when the generated value Q is 0, the change point pixel DE 0 is maintained as a black pixel (step S14). The converted pixel data is recorded in the memory 6 (see FIG. 1), whereby the change point pixel DE 0 is converted from a black pixel to a white pixel with a probability according to the randomization probability K.

尚、変化点画素DE0が白画素であった場合には(ステップS5:No)、その変化点画素DE0は、境界点画素であるため、ステップS3で算出した変化点画素濃度Rinが、目標濃度Routより小さいか否かを判定する(ステップS15)。変化点画素濃度Rinが目標濃度Routより小さい場合には、濃度測定領域CE内の黒画素数を増大すべきであるため、以下の式(4)により、ランダマイズ確率K’を算出する(ステップS16)。
K’=((Rout−Rin)×PN)/PS ・・・(式4)
If the change point pixel DE 0 is a white pixel (step S5: No), the change point pixel DE 0 is a boundary point pixel, and therefore the change point pixel density Rin calculated in step S3 is It is determined whether it is smaller than the target density Rout (step S15). When the change point pixel density Rin is smaller than the target density Rout, the number of black pixels in the density measurement region CE should be increased. Therefore, the randomization probability K ′ is calculated by the following equation (4) (step S16). ).
K ′ = ((Rout−Rin) × PN) / PS (Formula 4)

その後は、変化点画素DE0が黒画素であった場合と同様に、求めたランダマイズ確率K’と一様乱数とに基づいて発生値Qを取得する。そして、発生値Q=1である場合にのみ、変化点画素DE0を白画素から黒画素に変換し、変換した画素データをメモリ6に記録する(ステップS17〜S23)。 Thereafter, similarly to the case where the change point pixel DE 0 is a black pixel, the generated value Q is acquired based on the obtained randomization probability K ′ and the uniform random number. Then, only when the generated value Q = 1, the change point pixel DE 0 is converted from a white pixel to a black pixel, and the converted pixel data is recorded in the memory 6 (steps S17 to S23).

こうして、変化点画素DE0に対する階調補正処理が終了すると、階調補正処理を行っていない変化点画素が存在するか否かを判定する(ステップS24)。階調補正処理を行っていない変化点画素が存在する場合には、次の変化点画素DE1(図5参照)を選択し(ステップS25)、選択した変化点画素DE1を対象として、ステップS3〜S23の処理を実行する。 Thus, when the gradation correction process for the change point pixel DE 0 is completed, it is determined whether or not there is a change point pixel that has not been subjected to the gradation correction process (step S24). If there is a change point pixel that has not been subjected to gradation correction processing, the next change point pixel DE 1 (see FIG. 5) is selected (step S25), and the selected change point pixel DE 1 is the target. The processes of S3 to S23 are executed.

以後、階調補正処理を行っていない変化点画素が存在しなくなるまで、他の変化点画素に対しても、ステップS3〜S23の処理を実行する。これにより、図8に示すように、注目網点H0の外周を辿るようにして、全ての変化点画素に対し、濃度測定領域CEの設定処理、濃度の測定処理及びランダマイズ補正処理が実行されるとともに、入力2値画像中の他の網点に対しても、同様の処理が実行される。 Thereafter, the processes of steps S3 to S23 are executed for other change point pixels until there is no change point pixel that has not been subjected to the gradation correction process. As a result, as shown in FIG. 8, the density measurement region CE setting process, the density measurement process, and the randomization correction process are executed for all change point pixels so as to follow the outer periphery of the target halftone dot H 0. At the same time, the same processing is executed for other halftone dots in the input binary image.

以上のような階調補正処理においては、入力2値画像内の全ての変化点画素DEを対象として画素濃度を測定するため、1つの注目網点Hに対して、この網点Hが有する変化点画素数と同数の画素濃度値Rinが取得される。この際、各濃度測定領域CEは、何れも同一のサイズを有し、また、その位置は、注目網点Hの外周に沿って少しずつ変化する。このため、注目網点Hにおける変化点画素濃度Rinは、図9に示すように、変化点画素濃度Rinの期待値(平均濃度値Rav)を中心とした正規分布を取ることになり、この場合の平均濃度値Ravは、注目網点Hの真の濃度値となる。   In the gradation correction process as described above, since the pixel density is measured for all the change point pixels DE in the input binary image, the change that the halftone dot H has for one target halftone dot H is provided. The same pixel density value Rin as the number of point pixels is acquired. At this time, each density measurement region CE has the same size, and its position changes little by little along the outer periphery of the target halftone dot H. Therefore, as shown in FIG. 9, the change point pixel density Rin at the target halftone dot H has a normal distribution centered on the expected value (average density value Rav) of the change point pixel density Rin. Is the true density value of the target halftone dot H.

その一方で、分布カーブ上の一点と平均濃度値Ravとの偏差ΔRは、真の濃度値に対する濃度誤差となり、変化点画素濃度Rinを基にして求められるランダマイズ確率K、K'にも誤差が生じることになる。しかしながら、前述の通り、変化点画素濃度Rinの平均値Ravは、その注目網点Hの真の濃度値となるため、ランダマイズ確率K、K'の平均値も、注目網点Hの真の濃度値に従ったものとなる。従って、個々のランダマイズ確率K、K'にばらつきが生じるとしても、全体的に見れば、注目網点Hの真の濃度値に略々従ったランダマイズ確率K、K'が得られることになり、注目網点Hの濃度を適切に補正することができる。   On the other hand, the deviation ΔR between one point on the distribution curve and the average density value Rav becomes a density error with respect to the true density value, and there is also an error in the randomization probabilities K and K ′ obtained based on the change point pixel density Rin. Will occur. However, as described above, since the average value Rav of the change point pixel density Rin is the true density value of the target halftone dot H, the average value of the randomization probabilities K and K ′ is also the true density of the target halftone dot H. According to the value. Accordingly, even if the individual randomization probabilities K and K ′ vary, the randomization probabilities K and K ′ substantially following the true density value of the target dot H can be obtained as a whole. The density of the target halftone dot H can be corrected appropriately.

以上のように、本実施の形態によれば、濃度測定領域CEのサイズを50線/インチのスクリーン領域の大きさに設定し、従来の階調補正処理に比して、小さい濃度測定領域で濃度を測定するため、入力2値画像に存在する濃度変化のエッジ部分を追従することができ、濃淡情報の鮮明さを向上させることが可能になる。   As described above, according to the present embodiment, the size of the density measurement area CE is set to the size of the screen area of 50 lines / inch, and the density measurement area is smaller than the conventional gradation correction processing. Since the density is measured, it is possible to follow the edge portion of the density change existing in the input binary image, and it is possible to improve the clearness of the density information.

尚、上記の濃度測定領域CEのサイズは、原画像で実際に使用されたスクリーン線数が60線/インチよりも高密度のものであっても、同じように50線/インチのスクリーン領域の大きさに設定される。この場合、濃度測定領域CE内には、複数の網点Hが含まれることになり、網点Hの濃度が平均化されることになるが、50線/インチのスクリーン領域の紙面寸法は、0.508mm×0.508mm≒0.258mm2と極めて小さく、人間の目では、絵柄情報を識別することはできないため、実用上の問題はない。 The size of the density measurement area CE is the same as that of the screen area of 50 lines / inch even if the number of screen lines actually used in the original image is higher than 60 lines / inch. Set to size. In this case, the density measurement region CE includes a plurality of halftone dots H, and the density of the halftone dots H is averaged. However, the paper size of the screen area of 50 lines / inch is as follows. Since it is extremely small as 0.508 mm × 0.508 mm≈0.258 mm 2 and the human eye cannot identify the pattern information, there is no practical problem.

また、本実施の形態によれば、変化点画素DEを中心として濃度測定領域CEを設定し、濃度測定領域CE内に、注目網点Hの黒画素以外にも、周辺の網点Hの黒画素を含ませるため、注目網点Hの階調補正を行う際に、周辺の網点Hの濃度情報を反映させることができる。これにより、階調補正後の画像における網点H間の階調連続性を向上させることができ、トーンジャンプ問題を防止することが可能になる。   Further, according to the present embodiment, the density measurement region CE is set with the change point pixel DE as the center, and the black of the surrounding halftone dot H in addition to the black pixel of the target halftone dot H in the density measurement region CE. Since the pixels are included, the density information of the surrounding halftone dots H can be reflected when the tone correction of the target halftone dot H is performed. Thereby, tone continuity between the halftone dots H in the image after tone correction can be improved, and the tone jump problem can be prevented.

尚、濃度測定領域CE内に周辺の網点Hの濃度情報を多く含ませると、網点H間の連続性が高められる反面、網点H同士の境界が平滑化され、階調補正後の画像の鮮明さが失われることになる。このため、周辺の網点Hの濃度情報の含有量は、画像の鮮明さと網点H間の連続性とが程度良くバランスされる範囲に抑えるのが望ましく、そのためには、濃度測定領域CEの一辺の長さL’を、最大のスクリーン線数のスクリーン領域SEの一辺の長さLの1〜2倍とすることが好ましい(図3(b)参照)。   If the density measurement region CE includes a lot of density information of the surrounding halftone dots H, the continuity between the halftone dots H is improved, but the boundary between the halftone dots H is smoothed, and the tone correction is completed. The sharpness of the image will be lost. For this reason, it is desirable that the content of the density information of the surrounding halftone dots H is suppressed to a range in which the sharpness of the image and the continuity between the halftone dots H are well balanced. The length L ′ of one side is preferably 1 to 2 times the length L of one side of the screen area SE having the maximum number of screen lines (see FIG. 3B).

さらに、本実施の形態によれば、注目網点Hに存在する全ての変化点画素DEに対して濃度測定を行い、複数の変化点画素濃度Rinを取得するため、濃度測定誤差により発生するモアレを効果的に防止することが可能になる。   Further, according to the present embodiment, density measurement is performed on all the change point pixels DE existing in the target halftone dot H, and a plurality of change point pixel densities Rin are obtained. Can be effectively prevented.

すなわち、濃度測定対象とする変化点画素を1つとし、その変化点画素の位置を全網点で共通させたとすると、濃度測定誤差に伴う階調補正の誤差は、画像上の全網点Hの同じ箇所に反映されることになる。この場合、隣り合う網点Hの境界部分の階調変化が他の部分よりも目立つようになり、モアレの要因となる。   That is, assuming that there is one change point pixel as a density measurement target and the positions of the change point pixels are common to all halftone dots, the tone correction error associated with the density measurement error is all halftone dots H on the image. It will be reflected in the same part. In this case, the gradation change at the boundary portion between adjacent halftone dots H becomes more conspicuous than the other portions, which causes moire.

これに対し、注目網点Hに存在する全ての変化点画素DEに対して、一様に濃度測定を行った場合には、濃度測定誤差に伴う階調補正の誤差は、網点H中の全変化点画素DEに反映され、大きな領域内で分散的に現れる。このため、隣り合う網点Hの境界部分の階調変化が他の部分よりも目立つことが無くなり、モアレが発生するのを防止することが可能になる。   On the other hand, when the density measurement is uniformly performed for all the change point pixels DE existing in the target halftone dot H, the gradation correction error due to the density measurement error is not included in the halftone dot H. It is reflected in all change point pixels DE and appears dispersively within a large region. For this reason, the gradation change at the boundary portion between the adjacent halftone dots H does not stand out more than other portions, and it is possible to prevent the occurrence of moire.

また、本実施の形態によれば、求めたランダマイズ確率K、K'と、一様乱数とを比較することにより、変化点画素DEを黒画素から白画素へ、又は、白画素から黒画素に変更するか否かを決定するため、値が変更される変化点画素DEの位置に偏りが生じるのを防止することができる。これにより、値が変更された変化点画素DEを、注目網点Hの縁部分に離散的に分布させることができるため、階調の自然さを損なうことなく、階調調整を行うことが可能になる。   Further, according to the present embodiment, the change point pixel DE is changed from a black pixel to a white pixel, or from a white pixel to a black pixel by comparing the obtained randomization probabilities K and K ′ with a uniform random number. Since it is determined whether or not to change, it is possible to prevent the occurrence of bias in the position of the change point pixel DE whose value is changed. As a result, since the change point pixels DE whose values have been changed can be discretely distributed on the edge portion of the target halftone dot H, gradation adjustment can be performed without impairing the naturalness of the gradation. become.

以上、本発明の実施の形態を説明したが、本発明は、上記構成に限定されるものではなく、特許請求の範囲に記載された発明の範囲内で種々の変更が可能である。   The embodiment of the present invention has been described above, but the present invention is not limited to the above-described configuration, and various modifications can be made within the scope of the invention described in the claims.

例えば、上記実施の形態においては、新聞印刷用のAMスクリーン製版を読み取る場合を例に挙げたが、本発明は、FMスクリーンの2値画像を階調補正する場合にも適用することができ、また、新聞印刷に限らず、写真等の階調補正を行う場合にも適用することが可能である。   For example, in the above-described embodiment, an example of reading AM screen plate making for newspaper printing has been described as an example, but the present invention can also be applied to the case of gradation correction of a binary image on an FM screen, Further, the present invention can be applied not only to newspaper printing but also to gradation correction of a photograph or the like.

また、上記実施の形態においては、網点Hの縁部に存在する変化点画素DEの全てを対象に濃度測定領域CEを設定し、濃度測定処理及び階調補正処理を行うが、複数の変化点画素濃度Rinが得られれば足りるため、必ずしも全ての変化点画素DEを対象に濃度測定領域CEを設定する必要はない。   Further, in the above embodiment, the density measurement region CE is set for all the change point pixels DE existing at the edge of the halftone dot H, and the density measurement process and the gradation correction process are performed. Since it is sufficient if the point pixel density Rin is obtained, it is not always necessary to set the density measurement region CE for all the change point pixels DE.

さらに、上記実施の形態においては、変化点画素DEの階調補正に、ランダマイズ補正処理を用いるが、例えば、誤差拡散法等の他の補正処理を用いてもよい。   Furthermore, in the above-described embodiment, randomization correction processing is used for gradation correction of the change point pixel DE, but other correction processing such as an error diffusion method may be used.

また、上記実施の形態においては、1つの変化点画素DEに対する変化点画素濃度Rinを算出する都度、その変化点画素DEに対するランダマイズ補正を行うが、全ての変化点画素DEの画素濃度Rinを算出した後に、各変化点画素DEに対するランダマイズ補正を行ってもよい。   In the above embodiment, each time the change point pixel density Rin for one change point pixel DE is calculated, randomization correction is performed for the change point pixel DE. However, the pixel densities Rin of all the change point pixels DE are calculated. After that, randomization correction may be performed on each change point pixel DE.

本発明にかかる階調補正処理装置の一実施の形態を示すブロック図である。It is a block diagram which shows one Embodiment of the gradation correction processing apparatus concerning this invention. 輪郭点画素及び境界点画素の説明図である。It is explanatory drawing of a contour point pixel and a boundary point pixel. 濃度測定領域の説明図である。It is explanatory drawing of a density | concentration measurement area | region. 本発明にかかる階調補正処理方法の手順を示すフローチャートである。It is a flowchart which shows the procedure of the gradation correction processing method concerning this invention. 入力2値画像の一例を示す図である。It is a figure which shows an example of an input binary image. 階調調整カーブの一例を示す図である。It is a figure which shows an example of a gradation adjustment curve. 入力2値画像から輪郭点画素のみを抽出した一例を示す図である。It is a figure which shows an example which extracted only the contour point pixel from the input binary image. 濃度測定領域の説明図である。It is explanatory drawing of a density | concentration measurement area | region. 注目網点における濃度分布の状態を示すヒストグラムである。It is a histogram which shows the state of the density distribution in an attention halftone dot. 従来の階調補正処理における濃度測定領域の設定方法を説明する図である。It is a figure explaining the setting method of the density | concentration measurement area | region in the conventional gradation correction process.

符号の説明Explanation of symbols

1 階調補正処理装置
2 変化点検出部
3 濃度測定部
4 ランダマイズ補正部
5 乱数発生部
6 メモリ
CE 濃度測定領域
DE 変化点画素
H 網点
Rin 変化点画素濃度
Rout 目標濃度
SE スクリーン領域
DESCRIPTION OF SYMBOLS 1 Gradation correction processing apparatus 2 Change point detection part 3 Density measurement part 4 Randomization correction part 5 Random number generation part 6 Memory CE Density measurement area DE Change point pixel H Halftone dot Rin Change point pixel density Rout Target density SE Screen area

Claims (9)

入力された2値画像の階調を補正する階調補正処理方法であって、
前記2値画像の変化点画素を検出するステップと、
該検出した変化点画素を基準とし、前記2値画像で使用され得る最大のスクリーン線数のスクリーン領域サイズに対応するサイズを有する濃度測定領域を設定するステップと、
該設定した濃度測定領域内の濃度を測定するステップと、
該測定した濃度を用いて階調補正を行うステップとを有し、
前記濃度測定領域を網点の外周に沿って複数設定することを特徴とする階調補正処理方法。
A gradation correction processing method for correcting the gradation of an input binary image,
Detecting a change point pixel of the binary image;
Setting a density measurement region having a size corresponding to a screen region size of the maximum number of screen lines that can be used in the binary image with reference to the detected change point pixel;
Measuring the concentration in the set concentration measurement region;
Performing gradation correction using the measured density,
A gradation correction processing method, wherein a plurality of the density measurement regions are set along the outer periphery of a halftone dot.
前記濃度測定領域は、前記変化点画素を中心位置とすることを特徴とする請求項1に記載の階調補正処理方法。   The gradation correction processing method according to claim 1, wherein the density measurement region is centered on the change point pixel. 前記濃度測定領域の一辺の長さは、前記最大のスクリーン線数のスクリーン領域の一辺の長さの1倍以上2倍以下であることを特徴とする請求項1又は2に記載の階調補正処理方法。   3. The gradation correction according to claim 1, wherein the length of one side of the density measurement region is 1 to 2 times the length of one side of the screen region of the maximum screen line number. Processing method. 前記濃度測定領域を前記網点の変化点画素毎に設定することを特徴とする請求項1、2又は3に記載の階調補正処理方法。   4. The gradation correction processing method according to claim 1, wherein the density measurement region is set for each change point pixel of the halftone dot. ランダマイズ補正処理を用いて前記変化点画素の値を変換することにより、前記階調補正を行うことを特徴とする請求項1乃至4のいずれかに記載の階調補正処理方法。   5. The gradation correction processing method according to claim 1, wherein the gradation correction is performed by converting a value of the change point pixel using a randomization correction process. 前記測定した濃度と目標濃度との偏差を用いてランダマイズ確率を求め、該ランダマイズ確率を一様乱数と比較して前記変化点画素の値を変換するか否かを決定することを特徴とする請求項5に記載の階調補正処理方法。   The randomization probability is obtained using a deviation between the measured density and the target density, and the randomization probability is compared with a uniform random number to determine whether or not to convert the value of the change point pixel. Item 6. The gradation correction processing method according to Item 5. 前記変化点画素は、輪郭点画素及び/又は境界点画素であることを特徴とする請求項1乃至6のいずれかに記載の階調補正処理方法。   7. The gradation correction processing method according to claim 1, wherein the change point pixel is a contour point pixel and / or a boundary point pixel. 入力された2値画像の階調を補正する階調補正処理を実行するためのプログラムであって、
請求項1乃至7のいずれかに記載の階調補正処理方法を実行するためのものであることを特徴とするプログラム。
A program for executing gradation correction processing for correcting the gradation of an input binary image,
A program for executing the gradation correction processing method according to claim 1.
入力された2値画像の階調を補正する階調補正処理装置であって、
前記2値画像の変化点画素を検出する変化点検出手段と、
該変化点検出手段で検出された前記変化点画素を基準とし、前記2値画像で使用され得る最大のスクリーン線数のスクリーン領域サイズに対応するサイズを有する濃度測定領域を、網点の外周に沿って複数設定する測定領域設定手段と、
該測定領域設定手段で設定された前記濃度測定領域内の濃度を測定する濃度測定手段と、
該濃度測定手段で測定された濃度を用いて階調補正を行う階調補正手段とを備えることを特徴とする階調補正処理装置。
A gradation correction processing device that corrects the gradation of an input binary image,
Change point detecting means for detecting change point pixels of the binary image;
A density measurement area having a size corresponding to the screen area size of the maximum number of screen lines that can be used in the binary image on the basis of the change point pixel detected by the change point detection means on the outer periphery of the halftone dot. A plurality of measurement area setting means for setting along,
Density measuring means for measuring the density in the density measuring area set by the measuring area setting means;
A gradation correction processing apparatus comprising gradation correction means for performing gradation correction using the density measured by the density measurement means.
JP2007230885A 2007-09-06 2007-09-06 Gradation correction processing method, program for executing the same, and gradation correction processing apparatus Active JP4743899B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007230885A JP4743899B2 (en) 2007-09-06 2007-09-06 Gradation correction processing method, program for executing the same, and gradation correction processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007230885A JP4743899B2 (en) 2007-09-06 2007-09-06 Gradation correction processing method, program for executing the same, and gradation correction processing apparatus

Publications (2)

Publication Number Publication Date
JP2009065402A true JP2009065402A (en) 2009-03-26
JP4743899B2 JP4743899B2 (en) 2011-08-10

Family

ID=40559588

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007230885A Active JP4743899B2 (en) 2007-09-06 2007-09-06 Gradation correction processing method, program for executing the same, and gradation correction processing apparatus

Country Status (1)

Country Link
JP (1) JP4743899B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103344651A (en) * 2013-05-08 2013-10-09 中北大学 Method of detecting glass defects based on phase image processing

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10257327A (en) * 1997-03-13 1998-09-25 Ricoh Co Ltd Image data processor
JP2000307849A (en) * 1999-04-26 2000-11-02 Ricoh Co Ltd Image processor
JP2006157539A (en) * 2004-11-30 2006-06-15 Kyocera Mita Corp Image processing apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10257327A (en) * 1997-03-13 1998-09-25 Ricoh Co Ltd Image data processor
JP2000307849A (en) * 1999-04-26 2000-11-02 Ricoh Co Ltd Image processor
JP2006157539A (en) * 2004-11-30 2006-06-15 Kyocera Mita Corp Image processing apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103344651A (en) * 2013-05-08 2013-10-09 中北大学 Method of detecting glass defects based on phase image processing

Also Published As

Publication number Publication date
JP4743899B2 (en) 2011-08-10

Similar Documents

Publication Publication Date Title
US7633650B2 (en) Apparatus and method for processing binary image produced by error diffusion according to character or line drawing detection
JPH06303429A (en) Dot image data correcting method and image processor with correcting function
US9456106B2 (en) Image processing apparatus and image processing method
JP6099952B2 (en) Gamma correction table creation method, or image processing method using gamma correction table and control method thereof
JP6331817B2 (en) Image processing apparatus, image processing method, and program
JP4743899B2 (en) Gradation correction processing method, program for executing the same, and gradation correction processing apparatus
US6204930B1 (en) Method of generating gradation-corrected image data, method of generating gradation-corrected halftone dot percentage data, method of generating gradation-corrected threshold data, image output apparatus, and method of calculating amount of exposure
TWI395466B (en) Method for auto-cropping image
JP4422128B2 (en) Method for correcting gradation of binary image
JP2006279152A (en) Calibration method and image conversion method
JP2018043403A (en) Image processing apparatus, image formation apparatus and program
JP4872108B2 (en) Density adjustment processing method, program for executing the method, and density adjustment processing apparatus
JPH0898025A (en) Image data processing method and its device
JP2010171689A (en) Image processor, image processing method, program, and recording medium
JP6790987B2 (en) Image processing equipment, image forming equipment, image processing methods and programs
JP2002292934A (en) Image processing apparatus
JP2004246110A (en) Plate inspection apparatus, printing system, method for inspecting printed data on plate, and program
JP4133168B2 (en) Image processing method, image processing apparatus, program, recording medium, and image forming apparatus
JP2007006271A (en) Image processing apparatus for binarization process, and image processing program
KR100544192B1 (en) Method and apparatus detecting a pixel distance for regulation of a threshold
JP2008252292A (en) Image processing method, image processing apparatus, image forming apparatus, computer program and recording medium
JP2006261976A (en) Gradation correction method and image forming apparatus using method
JP2011119904A (en) Image processing apparatus, image forming apparatus, and image processing method
JP2000354163A (en) Image processing method
JP2010136023A (en) Image processor, image processing method, image processing program, and recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090413

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101122

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110118

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110207

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110328

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110509

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

Free format text: PAYMENT UNTIL: 20140520

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4743899

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313114

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350