JPH1127530A - Image processing apparatus and method, and storage medium - Google Patents
Image processing apparatus and method, and storage mediumInfo
- Publication number
- JPH1127530A JPH1127530A JP9180028A JP18002897A JPH1127530A JP H1127530 A JPH1127530 A JP H1127530A JP 9180028 A JP9180028 A JP 9180028A JP 18002897 A JP18002897 A JP 18002897A JP H1127530 A JPH1127530 A JP H1127530A
- Authority
- JP
- Japan
- Prior art keywords
- image data
- specific pattern
- pattern
- image processing
- density
- 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.)
- Withdrawn
Links
Landscapes
- Image Processing (AREA)
- Editing Of Facsimile Originals (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color, Gradation (AREA)
Abstract
(57)【要約】
【課題】 ディザ処理を施した画像データのマトリック
スの濃度パターンとその画像データに付加する特定パタ
ーンが似ている場合、ディザ処理後の画像データに付加
した特定パターンを識別することができない。
【解決手段】 入力された画像データは、第一γテーブ
ル1で、出力特性の非線形が補正され、比較処理部2
で、第一γテーブル1の出力結果と閾値メモリ3に格納
された閾値とを比較し、第二γテーブル4で画素変調強
度を求める。加算器5は、第二γテーブルの結果と特定
パターン発生部6に格納された特定パターンとを加算
し、その結果は、画素変調部7および印刷部8を経て記
録紙等の媒体へ印刷を行う。
(57) [Problem] To identify a specific pattern added to image data after dither processing when a density pattern of a matrix of image data subjected to dither processing is similar to a specific pattern added to the image data. Can not do. SOLUTION: Non-linear output characteristics of input image data are corrected in a first γ table 1 and a comparison processing unit 2
Then, the output result of the first γ table 1 is compared with the threshold value stored in the threshold value memory 3, and the pixel modulation intensity is obtained by the second γ table 4. The adder 5 adds the result of the second γ table and the specific pattern stored in the specific pattern generation unit 6 and prints the result on a medium such as recording paper via the pixel modulation unit 7 and the printing unit 8. Do.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、画像処理装置およ
び方法並びに記憶媒体に関し、例えば、ディザ処理を施
した画像データに対し、画像を出力した装置の装置番号
等を特定パターンとして付加するための画像処理装置お
よび方法およびこの方法を記憶した記憶媒体に関するも
のである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus and method, and a storage medium, for example, for adding, as a specific pattern, a device number or the like of an apparatus that has output an image to dithered image data. The present invention relates to an image processing apparatus and method, and a storage medium storing the method.
【0002】[0002]
【従来の技術】写真等の自然画に対応するためのハーフ
トーン処理技術の一つにディザ処理として知られる擬似
中間調処理がある。まず、この原理動作について図1を
基に説明する。2. Description of the Related Art Pseudo halftone processing known as dither processing is one of halftone processing techniques for dealing with natural images such as photographs. First, the principle operation will be described with reference to FIG.
【0003】例えば、白と黒のいずれかしか表現できな
い画素でハーフトーンを表現するためにいくつかの画素
を一つのブロックとしてまとめ、そのブロック単位で濃
度処理を行う。つまり、ブロック単位で黒画素の数を変
えて、あたかもハーフトーンの濃淡が得られたようにす
る。For example, in order to express a halftone with pixels that can express either white or black, some pixels are combined into one block, and density processing is performed for each block. That is, the number of black pixels is changed for each block so that halftone shading is obtained.
【0004】例えば、図1に示すように4×4画素で階
調濃度を表現する場合、図1(B)に示すようにそのブ
ロック内の各画素に対応した閾値をそれぞれ異なった値
にし、図1(A)に示すように入力画像データの各画素
に対応する値と比較する。次に、濃度レベルが閾値より
大きい画素を黒画素とし、濃度レベルが閾値より小さい
画素を白画素とする。このように閾値をバラバラに配置
することによって、出力画像の中間調を擬似的に表す処
理がディザ処理である。For example, when the gradation density is expressed by 4 × 4 pixels as shown in FIG. 1, the threshold values corresponding to each pixel in the block are set to different values as shown in FIG. As shown in FIG. 1A, the input image data is compared with the value corresponding to each pixel. Next, a pixel whose density level is higher than the threshold value is a black pixel, and a pixel whose density level is lower than the threshold value is a white pixel. Dither processing is a process in which halftones of an output image are simulated by arranging the threshold values differently in this way.
【0005】一方、プリンタや複写機等の画像処理装置
の高画質化、カラーに伴い、紙幣や有価証券等、本来複
写されるべきでない特定原稿が複写され、使用されると
いう社会問題が発生する恐れがある。On the other hand, with the improvement of image quality and color of image processing apparatuses such as printers and copiers, there is a social problem that specific documents such as banknotes and securities that should not be copied are copied and used. There is fear.
【0006】この問題を防止するために、特開平4−2
94682に示されるように、画像処理装置の出力画像
に、装置番号などを表す特定パターンを付加することに
より、画像を出力した画像処理装置を特定するという技
術が提案されている。In order to prevent this problem, Japanese Patent Laid-Open No.
As shown in U.S. Pat. No. 94682, a technique has been proposed in which a specific pattern representing a device number or the like is added to an output image of an image processing device to specify the image processing device that has output the image.
【0007】図2に特定パターンを付加する装置の構成
例を示す。FIG. 2 shows a configuration example of an apparatus for adding a specific pattern.
【0008】R,G,Bの各入力信号は、画像データ処
理部201に入力され、ここで、Y,M,C,K成分の
信号レベルを表す画像データに変換される。画像データ
処理部201より出力された画像データと特定パターン
発生器6にあらかじめ記憶された所定の特定パターンと
を加算器5で加算し、画像変調部7および印刷部8を経
て画像が出力される。The R, G, and B input signals are input to an image data processing unit 201, where they are converted into image data representing signal levels of Y, M, C, and K components. The adder 5 adds the image data output from the image data processing unit 201 and a predetermined specific pattern stored in the specific pattern generator 6 in advance, and outputs an image via the image modulation unit 7 and the printing unit 8. .
【0009】[0009]
【発明が解決しようとする課題】しかし、上述した技術
においては、次のような問題がある。ディザ処理を施し
た画像データのマトリクスの濃度パターンとその画像デ
ータに付加する特定パターンが似ている場合、ディザ処
理後の画像データに付加した特定パターンを識別するこ
とが難しい。However, the above technique has the following problems. When the density pattern of the matrix of the image data subjected to the dither processing is similar to the specific pattern added to the image data, it is difficult to identify the specific pattern added to the image data after the dither processing.
【0010】本発明は、上記の問題を解決するものであ
り、ディザ処理後の画像データの濃度パターンに応じた
マトリクスサイズの特定パターンを設定することによ
り、ディザ処理後の画像データに付加した特定パターン
の識別を容易にする画像処理装置および方法並びに記憶
媒体を提供することを目的とする。SUMMARY OF THE INVENTION The present invention solves the above-mentioned problem. By setting a specific pattern having a matrix size corresponding to the density pattern of image data after dither processing, the specific pattern added to the image data after dither processing is specified. It is an object of the present invention to provide an image processing apparatus and method and a storage medium that facilitate pattern identification.
【0011】[0011]
【課題を解決するための手段】本発明は、前記の目的を
達成する一手段として、以下の構成を備える。The present invention has the following configuration as one means for achieving the above object.
【0012】本発明にかかる画像処理装置は、入力画像
データの濃度パターンに応じて設定されたマトリクスサ
イズの特定パターンを記憶手段から読み出す読出手段
と、読み出された特定パターンを前記入力画像データに
付加する付加手段とを有することを特徴とする。[0012] An image processing apparatus according to the present invention comprises a reading means for reading a specific pattern of a matrix size set according to a density pattern of input image data from a storage means, and a read specific pattern for the input image data. And an adding means for adding.
【0013】また、第一の記憶手段から読み出した閾値
に基づき、入力画像データにディザ処理を施す処理手段
と、ディザ処理された画像データの濃度パターンに応じ
て設定されたマトリクスサイズの特定パターンを第二の
記憶手段から読み出す読出手段と、読み出された特定パ
ターンを前記ディザ処理された画像データに付加する手
段とを有することを特徴とする。Further, processing means for performing dither processing on the input image data based on the threshold value read from the first storage means, and a specific pattern having a matrix size set according to the density pattern of the dither-processed image data, It is characterized by comprising reading means for reading from the second storage means, and means for adding the read specific pattern to the dither-processed image data.
【0014】本発明にかかる画像処理方法は、入力画像
データの濃度パターンに応じて設定されたマトリクスサ
イズの特定パターンを記憶手段から読み出し、読み出さ
れた特定パターンを前記入力画像データに付加すること
を特徴とする。According to the image processing method of the present invention, a specific pattern of a matrix size set according to a density pattern of input image data is read from a storage means, and the read specific pattern is added to the input image data. It is characterized by.
【0015】また、第一の記憶手段から読み出した閾値
に基づき、入力画像データにディザ処理を施し、ディザ
処理された画像データの濃度パターンに応じて設定され
たマトリクスサイズの特定パターンを第二の記憶手段か
ら読み出し、読み出された特定パターンを前記ディザ処
理された画像データに付加することを特徴とする。The input image data is subjected to dither processing based on the threshold value read from the first storage means, and a specific pattern having a matrix size set in accordance with the density pattern of the dither-processed image data is stored in a second pattern. It is characterized in that the specific pattern read from the storage means is added to the dither-processed image data.
【0016】[0016]
【発明の実施の形態】まず、モワレ稿およびそれを除去
する方法について説明する。カラー画像処理装置等でト
ナーを重ねる方式の場合、Y,M,C,K各色の重なり
方によって、画像ドットが完全に重なり合う場合は減法
混色的となり、逆にずれている場合は加法混色的とな
る。更に画像処理過程において、色のモワレ稿の除去を
行うため、各色毎に異なったスクリーン角を設ける。各
色に同じスクリーン角を持たせた場合、わずかな角度変
動によってモワレ稿(ビート)が生じるので、あらかじ
め、各色毎に異なったスクリーン角を設けることで、モ
ワレ周波数が高周波になるようにし、目につきやすい低
周波のモワレ稿を除去する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS First, a description will be given of a moiré manuscript and a method of removing it. In the case of a method in which toners are overlapped by a color image processing device or the like, depending on how the respective colors of Y, M, C, and K overlap, subtractive color mixing occurs when image dots completely overlap, and additive color mixing occurs when image dots are shifted. Become. Further, in the image processing process, a different screen angle is provided for each color in order to remove the moiré manuscript of the color. When the same screen angle is given to each color, a slight angle variation causes a moiré draft (beat). By setting a different screen angle for each color in advance, the moiré frequency becomes higher, Easily remove low frequency moiré manuscripts.
【0017】図3は、基本網点を表す概念図である。FIG. 3 is a conceptual diagram showing a basic halftone dot.
【0018】a×aの画素からなる基本網点を適当にず
らして配列することにより、スクリーン角をもった網点
ドットが形成される。この時生じる隙間Cの部分は適当
にどこかの網点ドットに対応するセルにつければよい。A halftone dot having a screen angle is formed by arranging the basic halftone dots composed of a × a pixels with appropriate displacement. The portion of the gap C generated at this time may be appropriately attached to a cell corresponding to some halftone dot.
【0019】ここで、変位ベクトル(基本網点のずれ)
をu=(a,b)とすると、スクリーン角θは、θ=a
rctan(a/b)より求められる。この変位ベクト
ルuの各成分の値(a,b)を用いて基本網点の1周期
に相当する正方閾値マトリクスサイズは、N=LCM
(a,b)×(b/a+a/b)となる。ただし、LC
M(a,b)は、aとbの最小公倍数を表わす。Here, displacement vector (deviation of basic halftone dot)
Is u = (a, b), the screen angle θ is θ = a
It is determined from rctan (a / b). Using the values (a, b) of the components of the displacement vector u, the square threshold matrix size corresponding to one cycle of the basic halftone dot is N = LCM
(A, b) × (b / a + a / b). However, LC
M (a, b) represents the least common multiple of a and b.
【0020】また、図4に基本網点サイズ2×2〜5×
5までの正方閾値マトリクスサイズN、スクリーン角
θ、変位ベクトルu、基本網点内に含まれる画素数No
=a×a+b×bを示す。FIG. 4 shows basic dot sizes 2 × 2 to 5 ×.
Square threshold matrix size N up to 5, screen angle θ, displacement vector u, number of pixels included in basic halftone dot No
= A × a + b × b.
【0021】図5は、正方閾値マトリクスを表す概念図
である。FIG. 5 is a conceptual diagram showing a square threshold matrix.
【0022】a=3,b=1の場合、網点の1周期に相
当する正方閾値マトリクスサイズ(N)は、図4に示す
ようにN=10となり、セル内に含まれる画素数もNo
=10となる。即ち、閾値(図4では画素番号をふって
いる)をX方向に10画素分発生させればよい。When a = 3 and b = 1, the square threshold matrix size (N) corresponding to one cycle of a halftone dot is N = 10, as shown in FIG. 4, and the number of pixels contained in the cell is No.
= 10. That is, a threshold (pixel numbers are added in FIG. 4) may be generated for 10 pixels in the X direction.
【0023】以上により、各色の基本網点にスクリーン
角を持たせることによって、モワレ稿を除去することが
できる。As described above, the moiré manuscript can be eliminated by giving the screen dots to the basic halftone dots of each color.
【0024】以下、本発明にかかる一実施形態の画像処
理装置および画像処理方法を図を参照して詳細に説明す
る。Hereinafter, an image processing apparatus and an image processing method according to an embodiment of the present invention will be described in detail with reference to the drawings.
【0025】[基本構成]図6は、本発明にかかる一実
施形態として、レーザビームプリンタをプリンタエンジ
ンとして備えた画像処理装置の構成例である。[Basic Configuration] FIG. 6 shows an example of the configuration of an image processing apparatus having a laser beam printer as a printer engine as an embodiment according to the present invention.
【0026】第一γテーブル1は、画像出力装置の出力
特性の非線形を補正するために用いられるγテーブルで
ある。この第一γテーブル1は、ROMで構成されてお
り、デフォルトのγテーブルが記憶されている。比較処
理部2は、第一γテーブル1の出力結果と閾値を比較し
てその結果を出力する。閾値メモリ3は、入力画像デー
タの各画素値と比較するために用いる所定の閾値をマト
リクス形式で格納する。The first γ table 1 is a γ table used for correcting non-linear output characteristics of the image output device. The first γ table 1 is configured by a ROM, and stores a default γ table. The comparison processing unit 2 compares the output result of the first γ table 1 with a threshold and outputs the result. The threshold memory 3 stores a predetermined threshold used for comparison with each pixel value of the input image data in a matrix format.
【0027】第二γテーブル4は、上記比較処理部2で
得られた比較結果から実際の画素変調強度を得るための
γテーブルである。加算器5は、第二γテーブルの処理
結果と特定パターン発生部6に格納されている特定パタ
ーンとを加算する。特定パターン発生部6は、特定パタ
ーンが格納されているメモリである。画素変調部7は、
画素の変調を行うためであり、印刷部8は、記録紙等の
媒体へ印刷を行う。カウンタ制御部9は、閾値メモリ3
を制御するために画素の水平方向の数と垂直方向の数を
数えるカウンタ(それぞれHカウンタ101a、Vカウ
ンタ102a)の制御回路である。The second γ table 4 is a γ table for obtaining an actual pixel modulation intensity from the comparison result obtained by the comparison processing section 2. The adder 5 adds the processing result of the second γ table and the specific pattern stored in the specific pattern generator 6. The specific pattern generator 6 is a memory that stores a specific pattern. The pixel modulation unit 7
The printing unit 8 performs printing on a medium such as a recording sheet, for performing modulation of pixels. The counter control unit 9 includes the threshold memory 3
Is a control circuit of counters (H counter 101a and V counter 102a, respectively) that count the number of pixels in the horizontal direction and the number of pixels in the vertical direction to control the number of pixels.
【0028】カウンタ制御部9の動作を説明すると次の
ようになる。まず、初期状態では、Hカウンタ101a
およびVカウンタ102aのカウンタ値(H,V)が
(H,V)=(0,0)に初期化されている。閾値マト
リクスのサイズをM×N(ただし、Mは水平方向の画素
数、Nは垂直方向のライン数である。)、1画素の階調
表現数をPとすると、前記閾値メモリ3からは、アドレ
ス(0,0)に相当するP種類の閾値が比較処理部2に
ロードされる。比較処理部2にはP個のコンパレータが
並列に置かれており、これらのリファレンス値としてP
個の閾値が入力される。The operation of the counter control unit 9 will be described as follows. First, in the initial state, the H counter 101a
And the counter value (H, V) of the V counter 102a is initialized to (H, V) = (0, 0). Assuming that the size of the threshold matrix is M × N (where M is the number of pixels in the horizontal direction and N is the number of lines in the vertical direction), and if the number of gradation representations of one pixel is P, the threshold memory 3 P types of thresholds corresponding to the address (0, 0) are loaded into the comparison processing unit 2. In the comparison processing unit 2, P comparators are placed in parallel.
Thresholds are input.
【0029】次に、入力画像データが第一γテーブル1
でγ変換された後、比較処理部2に送られる。比較処理
部2ではγ変換された値と閾値メモリ3から与えられた
閾値との比較がP個のコンパレータで並列に行われる。
ここでγ変換された値が閾値より大きい場合に「Tru
e」を出力するようにコンパレータが設定されていると
すると、比較処理部2では出力された「True」の数
を数えて0から(P−1)の数値に変換する。比較処理
部2から出力された数値は、第二γテーブル4へ入力さ
れ、1画素nビットの画素変調強度信号に変換されて加
算器5に送られる。Next, the input image data is stored in the first γ table 1
Are sent to the comparison processing unit 2 after the γ conversion. In the comparison processing unit 2, the comparison between the γ-converted value and the threshold value provided from the threshold value memory 3 is performed in parallel by P comparators.
Here, when the value obtained by the γ conversion is larger than the threshold, “Tru
Assuming that the comparator is set to output “e”, the comparison processing unit 2 counts the number of “True” output and converts the number from 0 to (P−1). The numerical value output from the comparison processing unit 2 is input to the second γ table 4, converted into an n-bit pixel modulation intensity signal for one pixel, and sent to the adder 5.
【0030】カウンタ制御部9が、Hカウンタ101a
およびVカウンタ102aを制御するタイミングについ
て図7に基づき説明する。The counter control unit 9 operates as an H counter 101a.
The timing for controlling the V counter 102a will be described with reference to FIG.
【0031】水平同期信号(Lsync)は、画像形成
における1走査の区切り毎に発生するライン同期信号で
ある。垂直同期信号(TOP)は、Y,M,C,K成分
それぞれについての画像形成が終了する毎に発生する信
号である。Hカウンタ101aは、水平同期信号(Ls
ync)を受け取ると内部のHカウンタ101aを0に
リセットする。これ以降、Hカウンタ101aは画像ク
ロック信号(CLK)をカウントする。ただし、Hカウ
ンタ101aは、M画素カウントしたら次にまた0とな
る周期Mの巡回カウンタである。The horizontal synchronizing signal (Lsync) is a line synchronizing signal which is generated at every one scanning break in image formation. The vertical synchronization signal (TOP) is a signal generated each time image formation for each of the Y, M, C, and K components is completed. The H counter 101a outputs a horizontal synchronization signal (Ls
Upon receipt of (ync), the internal H counter 101a is reset to 0. Thereafter, the H counter 101a counts the image clock signal (CLK). However, the H counter 101a is a cyclic counter having a cycle M that becomes 0 again after counting M pixels.
【0032】また、Vカウンタ102aは垂直同期信号
(TOP)を受け取ると内部のVカウンタ102aを0
にリセットする。ただし、Vカウンタ102aは、Nラ
インカウントしたら次にまた0となる周期Nの巡回カウ
ンタである。したがって、カウンタの出力(H,V)は
閾値マトリクス内部における注目画素の局所的な座標を
表わしている。こうして1ページ分の画像処理が終了す
ると印刷部8から画像データが出力される。When receiving the vertical synchronizing signal (TOP), the V counter 102a resets the internal V counter 102a to 0.
Reset to. However, the V counter 102a is a cyclic counter having a cycle N that becomes 0 again after counting N lines. Therefore, the output (H, V) of the counter represents the local coordinates of the pixel of interest in the threshold matrix. When the image processing for one page is completed, image data is output from the printing unit 8.
【0033】カウンタ制御部10において、特定パター
ン発生部6にあらかじめ格納された特定パターンのアド
レスは、カウンタ制御部10内のHカウンタ101bお
よびVカウンタ102bによって制御され、M×N(た
だし、Mは水平方向の画素数、Nは垂直方向のライン数
である。)の画像を形成する。In the counter control unit 10, the address of the specific pattern stored in the specific pattern generation unit 6 in advance is controlled by the H counter 101b and the V counter 102b in the counter control unit 10, and M × N (where M is The number of pixels in the horizontal direction, and N is the number of lines in the vertical direction.)
【0034】詳細は次のようになる。Hカウンタ101
bに主走査方向の基準信号である画像クロック信号(C
LK)が入力される。また、Hカウンタ101bは、水
平同期信号(Lsync)を受け取ると内部のHカウン
タ101bを0にリセットする。The details are as follows. H counter 101
b shows an image clock signal (C) which is a reference signal in the main scanning direction.
LK) is input. When receiving the horizontal synchronization signal (Lsync), the H counter 101b resets the internal H counter 101b to zero.
【0035】ビデオエンコーダ信号(VideoEN)
は、画像データが入力される区間だけLoとなる信号で
あり、その区間、Hカウンタ101bを動作可能とし、
画像クロック信号(CLK)に同期してHカウンタ10
1bがカウントアップする。次に、濃度HV変換部11
からの情報に応じ所定のカウント値(この場合Mカウン
ト)を検出し、Hカウンタ101bを0にリセットする
巡回カウンタを構成する。Video encoder signal (VideoEN)
Is a signal that becomes Lo only during a section where image data is input, and enables the H counter 101b to operate during that section.
H counter 10 in synchronization with the image clock signal (CLK)
1b counts up. Next, the density HV converter 11
, A predetermined count value (M count in this case) is detected in accordance with the information from the H.sub.1, and a cyclic counter for resetting the H counter 101b to 0 is formed.
【0036】Vカウンタ102bは、副走査方向の基準
信号であるTOP信号にてリセットされ前記Hカウンタ
101b同様、水平同期信号(LSync)を基準クロ
ック(CLK)とする巡回カウンタ構成し、所定のカウ
ント値(この場合Nカウント)を検出し、Vカウンタ1
02bを0にリセットする。The V counter 102b is reset by a TOP signal, which is a reference signal in the sub-scanning direction, and forms a cyclic counter using the horizontal synchronizing signal (LSync) as a reference clock (CLK) similarly to the H counter 101b. Value (in this case, N count) is detected and the V counter 1
02b is reset to 0.
【0037】上記の操作により形成された特定パターン
は、規則的な周期で繰り返し画像全体に付加される。ま
た、特定パターンと入力画像データが加算器5によって
付加されることにより、入力画像データ本来の色味が変
らないように面積階調による濃度の平均化を施してい
る。The specific pattern formed by the above operation is repeatedly added to the entire image at regular intervals. The addition of the specific pattern and the input image data by the adder 5 averages the density by area gradation so that the original color of the input image data does not change.
【0038】図8は、ディザ処理後のマトリクス濃度に
基づいて、特定のパターンを付加するマトリクスサイズ
を設定する動作について説明する図である。FIG. 8 is a diagram for explaining an operation for setting a matrix size to which a specific pattern is added based on the matrix density after dither processing.
【0039】図8(A)は、ディザ処理後のマトリクス
の濃度の一例を示す。図8(B)は、ディザ処理後のマ
トリクス濃度に基づいて、特定パターンを付加するマト
リクスサイズを設定する一例を示す。例えば、ディザ処
理後のマトリクス濃度が00Hに対応する時は、特定パ
ターンを付加するマトリクスのサイズを4×4とし、同
様に濃度01Hに対応する時は、マトリクスのサイズを
5×5、濃度02Hに対応する時は、マトリクスのサイ
ズを6×6とする。FIG. 8A shows an example of the matrix density after dither processing. FIG. 8B shows an example in which a matrix size to which a specific pattern is added is set based on the matrix density after dither processing. For example, when the matrix density after dither processing corresponds to 00H, the size of the matrix to which the specific pattern is added is 4 × 4, and when the matrix density corresponds to 01H, the matrix size is 5 × 5 and the density is 02H. , The size of the matrix is set to 6 × 6.
【0040】このように、特定パターンを付加するマト
リクスサイズは、ディザ処理後のマトリクス濃度に基づ
いて設定されるが、そのサイズはディザ処理後のマトリ
クスサイズよりも小さい場合も有り得るし、大きい場合
も有り得る、また等しい場合も有り得る。As described above, the matrix size to which a specific pattern is added is set based on the matrix density after dither processing. The size may be smaller than the matrix size after dither processing, and may be larger. It is possible and even equal.
【0041】図9および図10では、ディザ処理後のマ
トリクスに対し、大きさの異なる特定パターンを付加し
たマトリクスを加算する処理について説明する。FIGS. 9 and 10 illustrate a process of adding a matrix to which a specific pattern having a different size is added to the matrix after the dither processing.
【0042】ディザ処理後のマトリクス濃度と特定パタ
ーンを付加したマトリクスサイズの関係を図9のように
仮定する。Assume that the relationship between the matrix density after dither processing and the matrix size to which a specific pattern is added is as shown in FIG.
【0043】例えば、ディザ処理後のマトリクス濃度
(黒画素数)が0の場合は、特定パターンを付加したマ
トリクスサイズは2×2、同様に、ディザ処理後のマト
リクス濃度(黒画素数)が2の場合は、特定パターンを
付加したマトリクスサイズは4×4、ディザ処理後のマ
トリクス濃度(黒画素数)が10の場合は、特定パター
ンを付加したマトリクスサイズは12×12となる。加
算後のマトリクスは図10のようになる。For example, when the matrix density (the number of black pixels) after the dither processing is 0, the matrix size to which the specific pattern is added is 2 × 2, and similarly, the matrix density (the number of black pixels) after the dither processing is 2 In the case of, the matrix size to which the specific pattern is added is 4 × 4, and when the matrix density (the number of black pixels) after dither processing is 10, the matrix size to which the specific pattern is added is 12 × 12. The matrix after the addition is as shown in FIG.
【0044】また、特定パターンは、あらかじめ図6の
特定パターン発生部6に格納され、人間の目がY(イエ
ロー)の濃度成分に対して識別能力が低いことを利用
し、Y(イエロー)の画像を形成する際に付加される。The specific pattern is stored in advance in the specific pattern generating section 6 of FIG. 6 and utilizes the fact that the human eye has a low discriminating ability with respect to the density component of Y (yellow). It is added when an image is formed.
【0045】図11は、特定パターンのマトリクス濃度
の平均化を説明する図である。FIG. 11 is a diagram for explaining the averaging of the matrix density of a specific pattern.
【0046】図11(A)は、特定パターンのマトリク
スの画素エリア(M画素)×(Nライン)を示す。図1
1(B)において、画素エリアM1は、画素の濃度がプ
ラスとなるように変調され、画素エリアM2は、画素の
濃度がマイナスとなるように変調される。そして、特定
パターンのマトリクス濃度が平均化される。図11
(C)は、このように画像処理された特定パターンが所
定の周期(L)で繰り返し、画像データに対し付加され
るようすを示す。この特定パターンを含んだ画像データ
は、画素変調部7および印刷部8を経て出力される。FIG. 11A shows a pixel area (M pixels) × (N lines) of a matrix of a specific pattern. FIG.
In 1 (B), the pixel area M1 is modulated so that the pixel density becomes positive, and the pixel area M2 is modulated so that the pixel density becomes negative. Then, the matrix density of the specific pattern is averaged. FIG.
(C) shows that the specific pattern subjected to the image processing is repeated at a predetermined cycle (L) and added to the image data. The image data including the specific pattern is output via the pixel modulation unit 7 and the printing unit 8.
【0047】以上説明した実施形態ではレーザービーム
プリンタを備えた画像処理装置を例としたが、本発明は
これに限定されるものではなく、複写装置およびファク
シミリ等の他の擬似中間処理を適用した画像処理装置に
も適用できることは言うまでもない。In the embodiment described above, an image processing apparatus provided with a laser beam printer is taken as an example. However, the present invention is not limited to this, and other pseudo intermediate processing such as a copying apparatus and a facsimile is applied. It goes without saying that the present invention can be applied to an image processing apparatus.
【0048】さらに、本発明は入力画像データに対しデ
ィザ処理を行った後のマトリクスが、多値で表現される
場合にも適用できることは言うまでもない。Further, it is needless to say that the present invention can be applied to a case where the matrix after dithering the input image data is represented by multi-values.
【0049】[0049]
【他の実施形態】なお、本発明は、複数の機器(例えば
ホストコンピュータ、インタフェイス機器、リーダ、プ
リンタなど)から構成されるシステムに適用しても、一
つの機器からなる装置(例えば、複写機、ファクシミリ
装置など)に適用してもよい。[Other Embodiments] Even if the present invention is applied to a system including a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), an apparatus (for example, a copying machine) Machine, facsimile machine, etc.).
【0050】また、本発明の目的は、前述した実施形態
の機能を実現するソフトウェアのプログラムコードを記
録した記憶媒体を、システムあるいは装置に供給し、そ
のシステムあるいは装置のコンピュータ(またはCPU
やMPU)が記憶媒体に格納されたプログラムコードを
読出し実行することによっても、達成されることは言う
までもない。この場合、記憶媒体から読出されたプログ
ラムコード自体が前述した実施形態の機能を実現するこ
とになり、そのプログラムコードを記憶した記憶媒体は
本発明を構成することになる。プログラムコードを供給
するための記憶媒体としては、例えば、フロッピディス
ク、ハードディスク、光ディスク、光磁気ディスク、C
D−ROM、CD−R、磁気テープ、不揮発性のメモリ
カード、ROMなどを用いることができる。Another object of the present invention is to provide a system or an apparatus with a storage medium storing software program codes for realizing the functions of the above-described embodiments,
And MPU) read and execute the program code stored in the storage medium. In this case, the program code itself read from the storage medium implements the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention. As a storage medium for supplying the program code, for example, a floppy disk, a hard disk, an optical disk, a magneto-optical disk,
A D-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.
【0051】また、コンピュータが読出したプログラム
コードを実行することにより、前述した実施形態の機能
が実現されるだけでなく、そのプログラムコードの指示
に基づき、コンピュータ上で稼動しているOS(オペレ
ーションシステム)などが実際の処理の一部または全部
を行い、その処理によって前述した実施形態の機能が実
現される場合も含まれることは言うまでもない。When the computer executes the readout program code, not only the functions of the above-described embodiment are realized, but also the OS (Operating System) running on the computer based on the instruction of the program code. ) May perform some or all of the actual processing, and the processing may realize the functions of the above-described embodiments.
【0052】さらに、記憶媒体から読出されたプログラ
ムコードが、コンピュータに挿入された機能拡張カード
やコンピュータに接続された機能拡張ユニットに備わる
メモリに書込まれた後、そのプログラムコードの指示に
基づき、その機能拡張カードや機能拡張ユニットに備わ
るCPUなどが実際の処理の一部または全部を行い、そ
の処理によって前述した実施形態の機能が実現される場
合も含まれることは言うまでもない。Further, after the program code read from the storage medium is written into a memory provided in a function expansion card inserted into the computer or a function expansion unit connected to the computer, based on the instruction of the program code, It goes without saying that a CPU or the like provided in the function expansion card or the function expansion unit performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.
【0053】[0053]
【発明の効果】以上説明したように本発明によれば、デ
ィザ処理後の画像データの濃度パターンに応じたマトリ
クスサイズの特定パターンを設定することにより、ディ
ザ処理後の画像データに付加した特定パターンの識別を
容易にする画像処理装置および方法並びに記憶媒体を提
供することができる。As described above, according to the present invention, by setting a specific pattern having a matrix size corresponding to the density pattern of the image data after dither processing, the specific pattern added to the image data after dither processing can be obtained. An image processing apparatus and method and a storage medium that facilitate the identification of a document can be provided.
【0054】[0054]
【図1】一般的な擬似中間調処理(ディザ法)を説明す
るための図、FIG. 1 is a diagram for explaining general pseudo halftone processing (dither method);
【図2】一般的な特定パターンを付加する装置の構成例
を示す図、FIG. 2 is a diagram showing a configuration example of a device for adding a general specific pattern,
【図3】本発明にかかる一実施形態の基本網点の変位ベ
クトルを説明するための図、FIG. 3 is a diagram for explaining a displacement vector of a basic halftone dot according to one embodiment of the present invention;
【図4】本発明にかかる一実施形態の基本セルサイズを
変化させた場合の各パラメータ値を示す図、FIG. 4 is a diagram showing parameter values when a basic cell size is changed according to an embodiment of the present invention;
【図5】本発明にかかる一実施形態の正方閾値マトリク
スサイズの大きさおよびその中に含まれる画素数の求め
方を説明するための図、FIG. 5 is a diagram for explaining a method of determining the size of a square threshold matrix size and the number of pixels included therein according to an embodiment of the present invention;
【図6】本発明にかかる一実施形態の画像処理装置の構
成例を示す図、FIG. 6 is a diagram illustrating a configuration example of an image processing apparatus according to an embodiment of the present invention;
【図7】本発明にかかる一実施形態の画像データマトリ
クスのアドレスを制御する各信号のタイミングチャー
ト、FIG. 7 is a timing chart of each signal for controlling an address of an image data matrix according to an embodiment of the present invention;
【図8】本発明にかかる一実施形態のディザパターンお
よび画像濃度変換後のマトリクスサイズを説明するため
の図、FIG. 8 is a diagram for explaining a dither pattern and a matrix size after image density conversion according to one embodiment of the present invention;
【図9】本発明にかかる一実施形態のディザ処理後のマ
トリクス濃度と特定パターンを付加したマトリクスサイ
ズとの関係の一例を説明するための図、FIG. 9 is a view for explaining an example of the relationship between the matrix density after dither processing and the matrix size to which a specific pattern is added according to an embodiment of the present invention;
【図10】本発明にかかる一実施形態のディザ処理後の
マトリクスと特定パターンを付加したマトリクスサイズ
との加算結果を説明するための図、FIG. 10 is a diagram for explaining an addition result of a matrix after dither processing and a matrix size to which a specific pattern is added according to an embodiment of the present invention;
【図11】本発明にかかる一実施形態の画像データに特
定パターンを付加する処理を説明するための図である。FIG. 11 is a diagram illustrating a process of adding a specific pattern to image data according to an embodiment of the present invention.
Claims (13)
設定されたマトリクスサイズの特定パターンを記憶手段
から読み出す読出手段と、 読み出された特定パターンを前記入力画像データに付加
する付加手段とを有することを特徴とする画像処理装
置。1. A reading unit for reading a specific pattern of a matrix size set according to a density pattern of input image data from a storage unit, and an adding unit for adding the read specific pattern to the input image data. An image processing apparatus characterized by the above-mentioned.
クスの濃度パターンに応じて前記マトリクスサイズを設
定する設定手段を有することを特徴とする請求項1に記
載された画像処理装置。2. The image processing apparatus according to claim 1, further comprising setting means for setting the matrix size according to a density pattern of a dither matrix of the input image data.
づき、入力画像データにディザ処理を施す処理手段と、 ディザ処理された画像データの濃度パターンに応じて設
定されたマトリクスサイズの特定パターンを第二の記憶
手段から読み出す読出手段と、 読み出された特定パターンを前記ディザ処理された画像
データに付加する手段とを有することを特徴とする画像
処理装置。3. A processing means for performing dither processing on input image data based on a threshold value read from the first storage means, and a specific pattern having a matrix size set according to a density pattern of the dithered image data. An image processing apparatus comprising: reading means for reading from a second storage means; and means for adding a read specific pattern to the dither-processed image data.
マトリクスの濃度パターンに応じて前記マトリクスサイ
ズを設定する設定手段を有することを特徴とする請求項
3に記載された画像処理装置。4. The image processing apparatus according to claim 3, further comprising setting means for setting the matrix size according to a density pattern of a dither matrix used for the dither processing.
スサイズは、前記濃度パターンが表す画像濃度に略比例
することを特徴とする請求項1から請求項4の何れか1
つに記載された画像処理装置。5. The apparatus according to claim 1, wherein a matrix size set by said setting means is substantially proportional to an image density represented by said density pattern.
An image processing apparatus described in any one of the above.
定の周期で繰り返し付加することを特徴とする請求項1
から請求項5の何れか1つに記載された画像処理装置。6. The apparatus according to claim 1, wherein the adding unit repeatedly adds the specific pattern at a predetermined cycle.
The image processing apparatus according to claim 1.
エロー成分の濃度データとして付加することを特徴とし
た請求項1から請求項6の何れか1つに記載された画像
処理装置。7. The image processing apparatus according to claim 1, wherein the adding unit adds the specific pattern as density data of a yellow component.
ーンであることを特徴とする請求項1から請求項7の何
れか1つに記載された画像処理装置。8. The image processing apparatus according to claim 1, wherein the specific pattern is a pattern unique to the apparatus.
像データに基づき、記録媒体に可視像を形成する形成手
段を有することを特徴とする請求項1から請求項8の何
れか1つに記載された画像処理装置。9. The image forming apparatus according to claim 1, further comprising a forming unit configured to form a visible image on a recording medium based on the image data output from the adding unit. The described image processing device.
て設定されたマトリクスサイズの特定パターンを記憶手
段から読み出し、 読み出された特定パターンを前記入力画像データに付加
することを特徴とする画像処理方法。10. An image processing method, wherein a specific pattern of a matrix size set according to a density pattern of input image data is read from a storage means, and the read specific pattern is added to the input image data. .
基づき、入力画像データにディザ処理を施し、 ディザ処理された画像データの濃度パターンに応じて設
定されたマトリクスサイズの特定パターンを第二の記憶
手段から読み出し、 読み出された特定パターンを前記ディザ処理された画像
データに付加することを特徴とする画像処理方法。11. A dither process is performed on input image data based on a threshold value read from the first storage means, and a specific pattern of a matrix size set according to a density pattern of the dither-processed image data is converted to a second pattern. An image processing method comprising: reading out from a storage unit; and adding the read-out specific pattern to the dither-processed image data.
れた記憶媒体であって、 入力画像データの濃度パターンに応じて設定されたマト
リクスサイズの特定パターンを記憶手段から読み出すス
テップのプログラムコードと、 読み出された特定パターンを前記入力画像データに付加
するステップのプログラムコードとを有することを特徴
とする記憶媒体。12. A storage medium storing a program code for image processing, the program code including a step of reading a specific pattern of a matrix size set according to a density pattern of input image data from a storage unit. And a program code for adding the specified pattern to the input image data.
れた記憶媒体であって、 第一の記憶手段から読み出した閾値に基づき、入力画像
データにディザ処理を施すステップのプログラムコード
と、 ディザ処理された画像データの濃度パターンに応じて設
定されたマトリクスサイズの特定パターンを第二の記憶
手段から読み出すステップのプログラムコードとを有す
ることを特徴とする記憶媒体。13. A storage medium storing a program code for image processing, the program code being for dithering input image data based on a threshold value read out from a first storage means; A program code for reading out a specific pattern of a matrix size set according to the density pattern of the image data from the second storage means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9180028A JPH1127530A (en) | 1997-07-04 | 1997-07-04 | Image processing apparatus and method, and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9180028A JPH1127530A (en) | 1997-07-04 | 1997-07-04 | Image processing apparatus and method, and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH1127530A true JPH1127530A (en) | 1999-01-29 |
Family
ID=16076216
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP9180028A Withdrawn JPH1127530A (en) | 1997-07-04 | 1997-07-04 | Image processing apparatus and method, and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH1127530A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7123383B2 (en) | 1999-12-06 | 2006-10-17 | Brother Kogyo Kabushiki Kaisha | Dither pattern for image forming device |
| US7372594B1 (en) | 1999-09-30 | 2008-05-13 | Canon Kabushiki Kaisha | Image processing apparatus and method, and storage medium |
-
1997
- 1997-07-04 JP JP9180028A patent/JPH1127530A/en not_active Withdrawn
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7372594B1 (en) | 1999-09-30 | 2008-05-13 | Canon Kabushiki Kaisha | Image processing apparatus and method, and storage medium |
| US7123383B2 (en) | 1999-12-06 | 2006-10-17 | Brother Kogyo Kabushiki Kaisha | Dither pattern for image forming device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7319548B2 (en) | Image processing device having functions for detecting specified images | |
| KR100805594B1 (en) | Density Determination Method, Image Forming Apparatus, and Image Processing System | |
| US20140355010A1 (en) | Image processing apparatus and method thereof | |
| EP1341369A2 (en) | Image processing apparatus and image forming apparatus | |
| US5327258A (en) | Image processing apparatus | |
| CN101197912A (en) | Image processing apparatus and image processing method | |
| JP3332435B2 (en) | Image processing apparatus and method | |
| JP5264412B2 (en) | Image processing apparatus and image processing method | |
| JP4497684B2 (en) | Image processing apparatus and method | |
| JP2000255120A (en) | Printer control device | |
| JPH1127531A (en) | Image processing apparatus and method, and storage medium | |
| JP3247446B2 (en) | Image processing apparatus and image processing method | |
| JP3193098B2 (en) | Image processing apparatus and method | |
| JP3715946B2 (en) | Image processing apparatus and method | |
| JPH05219353A (en) | Picture processor and its processing method | |
| JP3619120B2 (en) | Image processing apparatus and method | |
| JP2001309169A (en) | Image processing apparatus and control method thereof | |
| JP3046034B2 (en) | Image forming device | |
| JP2003305883A (en) | Imaging apparatus | |
| JP3039662B2 (en) | Recording device | |
| JP3313778B2 (en) | Image processing apparatus and image processing method | |
| JPH117529A (en) | Image processing apparatus and image processing method | |
| JP2721347B2 (en) | Image processing device | |
| JP2001353905A (en) | Printing apparatus, resolution conversion method thereof, and computer-readable storage medium | |
| JP2002354257A (en) | Image processing apparatus, image processing method, recording medium, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20040907 |