JP2000244734A - Image processor and multi-valuing processing method - Google Patents

Image processor and multi-valuing processing method

Info

Publication number
JP2000244734A
JP2000244734A JP11045061A JP4506199A JP2000244734A JP 2000244734 A JP2000244734 A JP 2000244734A JP 11045061 A JP11045061 A JP 11045061A JP 4506199 A JP4506199 A JP 4506199A JP 2000244734 A JP2000244734 A JP 2000244734A
Authority
JP
Japan
Prior art keywords
value
offset information
dither matrix
stored
matrix
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
JP11045061A
Other languages
Japanese (ja)
Other versions
JP3943747B2 (en
JP2000244734A5 (en
Inventor
Toshinori Igari
俊紀 猪狩
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP04506199A priority Critical patent/JP3943747B2/en
Publication of JP2000244734A publication Critical patent/JP2000244734A/en
Publication of JP2000244734A5 publication Critical patent/JP2000244734A5/ja
Application granted granted Critical
Publication of JP3943747B2 publication Critical patent/JP3943747B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To accelerate a multi-valuing processing and to simplify a structure. SOLUTION: Offset information set by a setting part 7 for setting offset information between one basic dither matrix value and a dither matrix is stored in an offset information storage memory 6, a multi-valuing table is prepared by a multi-valuing table preparation part 5 by the stored offset information and the prepared multi-valuing table is stored in a multi-valuing table storage memory 3. Then, by using a basic dither matrix and the stored multi-valuing table, input images are multi-valued by a multi-valuing part 1.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ディザの階調処理
が可能な画像処理装置に関するとともに、ディザによる
多値化処理方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus capable of performing dither gradation processing, and to a multi-value processing method using dither.

【0002】[0002]

【従来の技術】一般に、コード情報だけでなくイメージ
情報も扱える文書画像処理装置においては、スキャナ等
の画像読み取り手段で読み取った原稿に対して、ディザ
法などの疑似階調化手段によって2値化を行い、階調数
の少ないプリンタなどで出力するようになっている。一
方、ディザ2値法は入力画素あるいは閾値に周期的なデ
ィザ信号を加えることによって2値化を行うものであ
る。
2. Description of the Related Art Generally, in a document image processing apparatus capable of handling not only code information but also image information, a document read by an image reading means such as a scanner is binarized by a pseudo gradation converting means such as a dither method. And output it with a printer having a small number of gradations. On the other hand, the dither binary method performs binarization by adding a periodic dither signal to an input pixel or a threshold.

【0003】次に、周期的なディザ閾値を用いる2値化
ディザ法を図6を参照して説明する。入力画像(信号)
が比較器52によりディザ閾値と比較され、入力画像が
ディザ閾値以上の場合は1が出力され、小さい場合は0
が出力され、2値化の結果が出力画像として出力され
る。ディザ閾値は周期的なものであって、図6には、4
×4の例を示す。
Next, a binarization dither method using a periodic dither threshold will be described with reference to FIG. Input image (signal)
Is compared with the dither threshold by the comparator 52. If the input image is equal to or larger than the dither threshold, 1 is output.
Is output, and the result of binarization is output as an output image. The dither threshold is periodic, and in FIG.
An example of × 4 is shown.

【0004】多値ディザの場合、例えば、4値化の場合
は、入力値Inに対して出力値outを決定するため
に、3つのプレーンP0,P1,P2が与えられる。
In the case of multi-valued dither, for example, in the case of quaternary conversion, three planes P0, P1, and P2 are provided to determine an output value out with respect to an input value In.

【0005】図7に示した例を説明する。プレーンP0
とP1のオフセット値は15であり、P1とP2のオフ
セット値は20である。ある入力画像データInに対し
て、従来の多値化処理では、Value とP0,P1,P2
の対応する位置の閾値とがそれぞれ比較され、In<P
0の場合は、out=0が出力され、P0≦In<P1
の場合は、out=1が出力され、P1≦In<P2の
場合は、out=2が出力され、P2≦Inの場合は、
out=3が出力される。
An example shown in FIG. 7 will be described. Plane P0
The offset value of P1 and P1 is 15, and the offset value of P1 and P2 is 20. For a given input image data In, in the conventional multi-value processing, Value and P0, P1, P2
Are compared with the threshold values of the corresponding positions, respectively, and In <P
If 0, out = 0 is output, and P0 ≦ In <P1
, Out = 1 is output, if P1 ≦ In <P2, out = 2 is output, and if P2 ≦ In,
out = 3 is output.

【0006】このように、従来の多値化処理でP0,P
1,P2の順に比較した場合、最大3回の比較計算をす
る必要性がある。
As described above, P0, P
When the comparison is made in the order of 1, P2, it is necessary to perform the comparison calculation up to three times.

【0007】また、例えば、特開平6−253134号
に開示されているように、基本ディザパターンとオフセ
ット情報から全てのディザパターンを発生させるように
しても、予めディザパターンを記憶する記憶装置の容量
を減らすことができるが、多値化する際には、従来と同
様の容量の記憶装置を確保しなければならなかった。
For example, as disclosed in Japanese Patent Laid-Open No. 6-253134, even if all dither patterns are generated from the basic dither pattern and the offset information, the capacity of the storage device for storing the dither pattern in advance is also required. However, when multi-valued, it is necessary to secure a storage device having the same capacity as that of the related art.

【0008】[0008]

【発明が解決しようとする課題】従来のディザ方式を用
いる多値化処理においては、処理後の出力階調数が少な
い場合は複数のメモリ等でディザ閾値を記憶させること
ができたが、出力階調数が大きくなるほどディザ閾値を
記憶するメモリやレジスタが多く必要であった。
In the conventional multi-value processing using the dither method, when the number of output gradations after the processing is small, the dither threshold value can be stored in a plurality of memories. As the number of gradations increases, more memories and registers for storing the dither threshold are required.

【0009】また、出力階調数が大きくなるほど比較回
数も多くなるため処理時間がかかり、処理速度が低下す
るという問題点があった。
Further, the larger the number of output gradations, the greater the number of comparisons, so that processing time is required and the processing speed is reduced.

【0010】本発明の目的は、上記のような問題点を解
決し、多値化処理の高速化を図り、構造の簡略化を図る
ことができる画像処理装置および多値化処理方法を提供
することにある。
An object of the present invention is to provide an image processing apparatus and a multi-value processing method capable of solving the above problems, increasing the speed of the multi-value processing, and simplifying the structure. It is in.

【0011】[0011]

【課題を解決するための手段】請求項1の発明は、ディ
ザによる多値化処理を行う画像処理装置において、1つ
の基本ディザマトリクス値とデイザマトリクス間のオフ
セット情報を設定する設定手段と、該設定手段により設
定されたオフセット情報を記憶するオフセット情報記憶
手段と、該オフセット情報手段により記憶されたオフセ
ット情報により多値化テーブルを作成する多値化テーブ
ル作成手段と、該多値化テーブル作成手段より作成され
た多値化テーブルを記憶する多値化テーブル記憶手段
と、前記基本ディザマトリクスと、前記多値化テーブル
記憶手段により記憶された多値化テーブルとを使用して
入力画像の多値化を行う多値化手段とを具備することを
特徴とする。
According to a first aspect of the present invention, there is provided an image processing apparatus for performing multi-value processing using dither, setting means for setting offset information between one basic dither matrix value and dither matrix, Offset information storage means for storing offset information set by the setting means; multivalued table creation means for creating a multivalued table based on the offset information stored by the offset information means; Means for storing a multivalued table prepared by the means, a basic dither matrix, and a multivalued table stored by the multivalued table storage means. And a multivalued means for performing a value conversion.

【0012】請求項1において、基本ディザマトリクス
に代えて基本ディザオフセットマトリクスを使用するこ
とができる。
In the first aspect, a basic dither offset matrix can be used instead of the basic dither matrix.

【0013】請求項3の発明は、ディザによる多値化処
理方法において、1つの基本ディザマトリクス値とデイ
ザマトリクス間のオフセット情報が設定されたとき、設
定されたオフセット情報を記憶するオフセット情報記憶
ステップと、該オフセット情報ステップで記憶されたオ
フセット情報により多値化テーブルを作成する多値化テ
ーブル作成ステップと、作成された多値化テーブルを記
憶する多値化テーブル記憶ステップと、前記基本ディザ
マトリクスと、前記多値化テーブル記憶ステップで記憶
された多値化テーブルとを使用して入力画像の多値化を
行う多値化ステップとを具備することを特徴とする。
According to a third aspect of the present invention, in the multi-value processing method using dither, when offset information between one basic dither matrix value and the dither matrix is set, the offset information storage for storing the set offset information. A multi-level quantization table creating step of creating a multi-level quantization table based on the offset information stored in the offset information step; a multi-level quantization table storing step of storing the created multi-level quantization table; The image processing apparatus further includes a multi-level conversion step of performing multi-level conversion on the input image using the matrix and the multi-level conversion table stored in the multi-level conversion table storage step.

【0014】請求項3において、基本ディザマトリクス
に代えて基本ディザオフセットマトリクスを使用するこ
とができる。
In the present invention, a basic dither offset matrix can be used instead of the basic dither matrix.

【0015】コンピュータ読み取り可能な記録媒体に記
録した制御プログラムは、コンピュータに、1つの基本
ディザマトリクス値とデイザマトリクス間のオフセット
情報が設定されたとき、設定されたオフセット情報を記
憶させ、記憶されたオフセット情報により多値化テーブ
ルを作成させ、作成された多値化テーブルを記憶させ、
前記基本ディザマトリクスと、前記記憶された多値化テ
ーブルとを使用して入力画像の多値化を行せる。
The control program recorded on the computer-readable recording medium causes the computer to store the set offset information when the offset information between one basic dither matrix value and the dither matrix is set. A multi-valued table is created based on the offset information, and the created multi-valued table is stored.
The input image can be multi-valued using the basic dither matrix and the stored multi-value conversion table.

【0016】請求項5において、基本ディザマトリクス
に代えて基本ディザオフセットマトリクスを使用するこ
とができる。
In the present invention, a basic dither offset matrix can be used instead of the basic dither matrix.

【0017】[0017]

【発明の実施の形態】以下、本発明の実施例を図面を参
照して詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0018】<第1の実施の形態>図1は本発明の第1
の実施の形態を示す。これは画像処理装置の例であっ
て、この画像処理装置はイメージスキャナ等の画像読取
装置により読み取り後、入力された画像情報を例えば1
画素当たり8ビットのデジタルデータとして入力し、入
力された画素値をこの装置を用いてディザ多値化法によ
る階調処理を行うものである。この画像処理装置は、多
値化部1と、基本ディザマトリクス記憶メモリ2と、多
値化テーブル記憶メモリ3と、選択部4と、多値化テー
ブル発生部5と、オフセット情報記憶メモリ6と、情報
設定部7とを有する。
<First Embodiment> FIG. 1 shows a first embodiment of the present invention.
An embodiment will be described. This is an example of an image processing apparatus. This image processing apparatus reads input image information by, for example, one image reading device such as an image scanner.
The digital data is input as 8-bit data per pixel, and the input pixel value is subjected to gradation processing by a dither multi-value conversion method using this device. This image processing apparatus includes a multi-level conversion unit 1, a basic dither matrix storage memory 2, a multi-level conversion table storage memory 3, a selection unit 4, a multi-level conversion table generation unit 5, an offset information storage memory 6, And an information setting unit 7.

【0019】情報設定部7はキーボード等により構成し
てあり、使用するディザマトリクスのサイズと、内容
と、オフセット情報を設定するものである。選択部4は
情報設定部7から得られる設定によって、基本ディザマ
トリクス記憶メモリ2とオフセット情報記憶メモリ6に
アドレスと読み取り信号を送るものである。基本ディザ
マトリクス記憶メモリ2は選択部4から供給されるアド
レスと読み取り信号により、メモリ内の多数の基本ディ
ザ情報から使用する基本ディザ情報を選択、記憶し、多
値化部1に出力するものである。オフセット情報記憶メ
モリ6は予めプリンタ等の種類、階調数、メディア、出
力解像度などの情報に応じたオフセット情報を記憶して
おり、選択部4から得られるアドレスと読み取り信号に
よって多値化テーブル作成部5にオフセット情報を出力
するものである。
The information setting section 7 is constituted by a keyboard or the like, and sets the size, contents and offset information of the dither matrix to be used. The selection unit 4 sends an address and a read signal to the basic dither matrix storage memory 2 and the offset information storage memory 6 according to the settings obtained from the information setting unit 7. The basic dither matrix storage memory 2 selects and stores basic dither information to be used from a large number of basic dither information in the memory based on the address and read signal supplied from the selection unit 4, and outputs the basic dither information to the multi-value conversion unit 1. is there. The offset information storage memory 6 previously stores offset information corresponding to information such as the type of printer, etc., the number of gradations, the medium, the output resolution, and the like. The offset information is output to the unit 5.

【0020】多値化テーブル作成部5はオフセット情報
記憶メモリ6から出力されるオフセット情報に従って多
値化テーブルを作成し、作成した多値化テーブルを多値
化テーブル記憶メモリ3に出力するものである。多値化
テーブル記憶メモリ3は多値化テーブル作成部5から供
給された多値化テーブルを記憶し、多値化部1に出力す
るものである。多値化部1は基本ディザマトリクス記憶
メモリ2から供給された基本ディザ情報と、多値化テー
ブル記憶メモリ3から供給された多値化テーブルとに基
づき、入力画像(信号)の多値化を行い、その多値化情
報を出力画像(信号)として図示しないプリンタ等に出
力するものである。
The multivalued table creation section 5 creates a multivalued table according to the offset information output from the offset information storage memory 6 and outputs the created multivalued table to the multivalued table storage memory 3. is there. The multivalued table storage memory 3 stores the multivalued table supplied from the multivalued table creation unit 5 and outputs the table to the multivalued unit 1. The multi-level conversion unit 1 performs multi-level conversion of an input image (signal) based on the basic dither information supplied from the basic dither matrix storage memory 2 and the multi-level conversion table supplied from the multi-level table storage memory 3. Then, the multivalued information is output as an output image (signal) to a printer (not shown) or the like.

【0021】次に、多値化部1の動作を図2を参照して
説明する。多値化部1では、入力画像データの座標値に
よって基本ディザパターンから閾値(この場合、21
3)が得られ、得られた閾値が減算器21により例えば
255から減算され、その減算結果(この場合、42)
が加算器22により入力画像データの画素値と加算され
てデータValue が作られる。得られたデータValue は多
値化テーブルに送られ、多値化テーブルでは、入力値Va
lue から値outが出力画像データとして出力される。
Next, the operation of the multi-value conversion section 1 will be described with reference to FIG. In the multi-level conversion unit 1, a threshold value (in this case, 21
3) is obtained, and the obtained threshold value is subtracted from, for example, 255 by the subtracter 21, and the subtraction result (42 in this case) is obtained.
Is added to the pixel value of the input image data by the adder 22 to generate data Value. The obtained data Value is sent to the multi-value quantization table, where the input value Va
The value out is output from lue as output image data.

【0022】多値化テーブル作成部5に記憶されている
多値化テーブルは、入力画像データの画素値が8bit
の場合は512のインデックスを持っている。例えば4
値化の場合は、3つのディザマトリクスのディザ閾値を
使用するが、各プレーン間のディザ閾値の差分値が一定
となっており、この時のプレーンkとプレーンk+1
(k=0,1,2,3,…)の差分値をD(k)とす
る。テーブルのインデックス値0から254までは0で
埋められる。
The multi-value table stored in the multi-value table generation unit 5 has a pixel value of input image data of 8 bits.
Has 512 indexes. For example, 4
In the case of binarization, dither threshold values of three dither matrices are used. However, the difference value of the dither threshold value between each plane is constant, and plane k and plane k + 1 at this time are constant.
The difference value of (k = 0, 1, 2, 3,...) Is defined as D (k). Index values 0 to 254 of the table are filled with 0.

【0023】次に、255から254+D(0)までは
1で埋められる。以下、インデックス値が511まで、
同様に、D(k)の幅で値を1づつ増加させて多値化テ
ーブルを埋めていく。この多値化テーブルは予め設定さ
れていて記憶されていても情報設定部から入力された設
定で作成されても構わない。
Next, from 255 to 254 + D (0) is filled with 1. Hereinafter, until the index value reaches 511,
Similarly, the value is incremented by one within the width of D (k) to fill the multi-value quantization table. The multi-value table may be set in advance and stored, or may be created based on the settings input from the information setting unit.

【0024】次に、本発明の多値化部の理論を説明す
る。例えば、入力画像データを4値化する場合、3つの
ディザマトリクスのディザ閾値を用いる必要がある。各
ディザマトリクスのディザ閾値をP0,P1,P2と
し、各プレーン間のオフセット値をdl,d2とし、基
本ディザマトリクスの閾値をd0とした場合、
Next, the theory of the multi-value conversion unit of the present invention will be described. For example, when the input image data is quaternized, it is necessary to use dither thresholds of three dither matrices. When the dither thresholds of the respective dither matrices are P0, P1, and P2, the offset values between the planes are dl and d2, and the threshold of the basic dither matrix is d0,

【0025】[0025]

【数1】P0=d0、 P1=d0+dl、 P2=d0+dl+d2 となり、この場合、入力値Inと出力値outの関係は
次のようになる。
P0 = d0, P1 = d0 + dl, P2 = d0 + dl + d2 In this case, the relationship between the input value In and the output value out is as follows.

【0026】[0026]

【数2】In<P0の場合、out=0 P0≦In<P1の場合、out=1 P1≦In<P2の場合、out=2 P2≦In の場合、out=3 である。## EQU2 ## When In <P0, out = 0, when P0 ≦ In <P1, out = 1, when P1 ≦ In <P2, out = 2, when P2 ≦ In, out = 3.

【0027】そして、数2を数1を使用して書き換える
と、
Then, rewriting equation 2 using equation 1 gives

【0028】[0028]

【数3】 In<d0 の場合、out=0 d0≦In<(d0+dl)の場合、out=1 d0+dl≦In<(d0+dl+d2)の場合、out=2 d0+dl+d2≦In の場合、out=3 となる。そして、数3の両辺からd0を引くと、When In <d0, out = 0, when d0 ≦ In <(d0 + dl), out = 1, when d0 + dl ≦ In <(d0 + dl + d2), and when out = 2 d0 + dl + d2 ≦ In, out = 3. . Then, subtracting d0 from both sides of Equation 3 gives

【0029】[0029]

【数4】In−d0<0の場合、out=0 0≦In−d0<dlの場合、out=1 dl≦In−d0<dl+d2の場合、out=2 dl+d2≦In−d0の場合、out=3 となる。## EQU4 ## When In-d0 <0, out = 0, when 0.ltoreq.In-d0 <dl, out = 1, when dl.ltoreq.In-d0 <dl + d2, and when out = 2 dl + d2.ltoreq.In-d0, out. = 3.

【0030】入力画像データが8bitの場合に、Valu
e =In−d0とすると、In、d0ともに0から25
5の任意の値を独立して取ることができるので、Value
の取りうる値の範囲は−255以上255以下となる。
正の数で計算を行うため、
When the input image data is 8 bits, Valu
If e = In−d0, both In and d0 are from 0 to 25.
Since any value of 5 can be taken independently, Value
Is in a range from -255 to 255.
To calculate with a positive number,

【0031】[0031]

【数5】Value =In−d0+255 =In+(255−d0) とする。従って、0≦Value ≦510である。Equation 5 Value = In−d0 + 255 = In + (255−d0) Therefore, 0 ≦ Value ≦ 510.

【0032】この操作を行わずに負の数を含んだままで
計算を進めても構わない。このValue を用いると、数4
は、
It is also possible to proceed with the calculation while including a negative number without performing this operation. Using this Value,
Is

【0033】[0033]

【数6】Value <255の場合、out=0 255≦Value <255+d1の場合、out=1 255+d1≦Value <255+d1+d2の場合、o
ut=2 255+dl+d2≦ Valueの場合、out=3 のようになる。Value 以外の値は固定値なので数6を用
いてテーブルを作成する。この場合の多値化テーブルを
図3に示す。入力画像Inに対して基本ディザマトリク
スから閾値d0を得て、In+255−d0を計算して
得られたValue で、この多値化テーブルを引くことによ
り比較計算を行わずに多値化処理を行うことができる。
[Formula 6] When Value <255, out = 0 255 ≦ Value <255 + d1, when out = 1 255 + d1 ≦ Value <255 + d1 + d2, o
When ut = 2 255 + dl + d2 ≦ Value, out = 3. Since values other than Value are fixed values, a table is created using Equation 6. FIG. 3 shows a multivalued table in this case. The threshold value d0 is obtained from the basic dither matrix for the input image In, and the value obtained by calculating In + 255-d0 is subtracted from the multivalue table to perform the multivalue processing without performing the comparison calculation. be able to.

【0034】<第2の実施の形態>図4は本発明の第2
の実施の形態を示す。本実施の形態は、第1の実施の形
態の基本ディザマトリクス記憶メモリ2に代えて、基本
ディザオフセットマトリクス記憶メモリ42を用いてお
り、第1の実施の形態のように255−d0の計算を毎
回行わずに、d0’=255−d0の計算を予め行って
作成した基本デイザオフセットマトリクスを使用して多
値化部41により多値化処理を行うようにした。
<Second Embodiment> FIG. 4 shows a second embodiment of the present invention.
An embodiment will be described. This embodiment uses a basic dither offset matrix storage memory 42 instead of the basic dither matrix storage memory 2 of the first embodiment, and calculates 255-d0 as in the first embodiment. The multi-value processing is performed by the multi-value processing unit 41 using the basic dither offset matrix created by performing the calculation of d0 '= 255-d0 in advance without performing the calculation every time.

【0035】基本ディザオフセットマトリクス記憶メモ
リ42は選択部4から供給されるアドレスと読み取り信
号により、メモリ内の多数の基本ディザオフセット情報
から使用する基本ディザ情報を選択、記憶し、多値化部
1に出力する。ここで使用する基本デイザオフセット情
報は第1の実施の形態の多値化処理の手法のd0′をマ
トリクスとして保持しているものである。多値化部41
は入力画像データの座標値によって基本ディザオフセッ
トパターンから得たオフセット値を加算器へ送り、加算
器ではこの値と入力画像データの画素値を加算してデー
タValue を作る。データValue は多値化テーブルに送ら
れ、Value の値によってテーブルから出力画像データを
得る。具体例を図5を参照して説明すると、入力画像デ
ータの座標によって基本ディザオフセットマトリクスか
ら得たオフセット値の42を加算器52に供給し、加算
器52には入力画像データの画素値も同時に供給され、
これら2つの数値を加算したValue が多値化テーブルに
供給される。多値化テーブルでは入力値Value から値o
utを出力画像データとして出力する。
The basic dither offset matrix storage memory 42 selects and stores basic dither information to be used from a large number of basic dither offset information in the memory, based on the address and the read signal supplied from the selection unit 4, Output to The basic dither offset information used here holds the matrix d0 'of the multi-value processing method of the first embodiment. Multi-value conversion section 41
Sends the offset value obtained from the basic dither offset pattern according to the coordinate value of the input image data to the adder, and the adder adds this value to the pixel value of the input image data to generate data Value. Data Value is sent to the multi-value table, and output image data is obtained from the table according to the value of Value. A specific example will be described with reference to FIG. 5. The offset value 42 obtained from the basic dither offset matrix is supplied to the adder 52 according to the coordinates of the input image data, and the adder 52 simultaneously receives the pixel value of the input image data. Supplied,
The value obtained by adding these two numerical values is supplied to the multi-value conversion table. In multi-valued table, input value Value to value o
ut is output as output image data.

【0036】従って、ディザ方式を用いる多値化処理に
おいて、1つの基本ディザマトリクス値とディザマトリ
クス間のオフセット情報を格納または入力し、オフセッ
ト情報から多値化テーブルを発生させ、基本ディザマト
リクスと多値化テーブルを使用することにより、入力画
像データを比較演算なしで多値化することができる。
Therefore, in the multi-value processing using the dither method, one basic dither matrix value and offset information between the dither matrices are stored or input, a multi-value table is generated from the offset information, and the basic dither matrix is multiplied. By using the binarization table, input image data can be multi-valued without comparison operation.

【0037】これにより、ディザ方式を用いる多値化処
理において、基本のディザマトリクス情報と、オフセッ
ト情報から作成した多値化テーブルとを使用して、入力
画像データを多値化することができ、従来の方法と比較
して、記憶装置を簡略化することができ、処理の高速化
を図ることが可能である。
Thus, in the multi-value processing using the dither method, the input image data can be multi-valued using the basic dither matrix information and the multi-value conversion table created from the offset information. Compared with the conventional method, the storage device can be simplified, and the processing speed can be increased.

【0038】以上のように、上述した実施形態の機能を
実現するソフトウェアのプログラムコードを記録した記
憶媒体を、システムあるいは装置に供給し、そのシステ
ムあるいは装置のコンピュータ(または、CPUやMP
U)が記憶媒体に格納されたプログラムコードを読み出
し実行することによっても、本発明の目的が達成される
ことは言うまでもない。
As described above, the storage medium storing the program codes of the software for realizing the functions of the above-described embodiments is supplied to the system or the apparatus, and the computer (or CPU or MP) of the system or the apparatus is supplied.
It goes without saying that the object of the present invention is also achieved when U) reads out and executes the program code stored in the storage medium.

【0039】この場合、記憶媒体から読み出されたプロ
グラムコード自体が本発明の新規な機能を実現すること
になり、そのプログラムコードを記憶した記憶媒体は本
発明を構成することになる。
In this case, the program code itself read from the storage medium realizes the novel function of the present invention, and the storage medium storing the program code constitutes the present invention.

【0040】プログラムコードを供給するための記憶媒
体としては、例えば、フロッピーディスク、ハードディ
スク、光ディスク、光磁気ディスク、CD−ROM(com
pactdisk ROM)、CD−R(compact disk recordable)
、磁気テープ、不揮発性のメモリカード、ROM(rea
d only memory)、等々を用いることができる。
As a storage medium for supplying the program code, for example, a floppy disk, hard disk, optical disk, magneto-optical disk, CD-ROM (com
pactdisk ROM), CD-R (compact disk recordable)
, Magnetic tape, nonvolatile memory card, ROM (rea
d only memory), and so on.

【0041】また、コンピュータが読み出したプログラ
ムコードを実行することにより、上述した実施形態の機
能が実現されるだけでなく、そのプログラムコードの指
示に基づき、コンピュータ上で稼働しているOS(opera
ting system)などが実際の処理の一部または全部を行
い、その処理によって上述した実施形態の機能が実現さ
れる場合も含まれることは言うまでもない。
When the computer executes the readout program code, not only the functions of the above-described embodiment are realized, but also the operating system (OS) running on the computer based on the instruction of the program code.
Needless to say, a case in which the functions of the above-described embodiments are realized by performing part or all of the actual processing by a ting system or the like is also included.

【0042】さらに、記憶媒体から読み出されたプログ
ラムコードが、コンピュータに挿入された機能拡張ボー
ドやコンピュータに接続された機能拡張ユニットに備わ
るメモリに書き込まれた後、そのプログラムコードの指
示に基づき、その機能拡張ボードや機能拡張ユニットに
備わるCPUなどが実際の処理の一部または全部を行
い、その処理によって上述した実施形態の機能が実現さ
れる場合も含まれることは言うまでもない。
Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, based on the instructions of the program code, It goes without saying that the CPU provided in the function expansion board or the function expansion unit performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.

【0043】[0043]

【発明の効果】以上説明したように、本発明によれば、
上記のように構成したので、ディザ方式を用いる多値化
処理において、基本のディザマトリクス情報と多値化テ
ーブルを使用して、比較演算をすることなく入力画像デ
ータを多値化することにより、多値化処理の高速化、デ
ィザマトリクスを記憶するための記憶装置の簡略化を図
ることができる。
As described above, according to the present invention,
With the configuration as described above, in the multi-value processing using the dither method, by using the basic dither matrix information and the multi-value table, the input image data is multi-valued without performing a comparison operation. It is possible to speed up the multi-value processing and simplify the storage device for storing the dither matrix.

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

【図1】本発明の第1の実施の形態を示すブロック図で
ある。
FIG. 1 is a block diagram showing a first embodiment of the present invention.

【図2】第1の実施の形態を説明するための説明図であ
る。
FIG. 2 is an explanatory diagram for describing a first embodiment.

【図3】多値化テーブルの一例を示す図である。FIG. 3 is a diagram illustrating an example of a multi-value quantization table.

【図4】本発明の第2の実施の形態を示すブロック図で
ある。
FIG. 4 is a block diagram showing a second embodiment of the present invention.

【図5】第2の実施の形態を説明するための説明図であ
る。
FIG. 5 is an explanatory diagram for explaining a second embodiment.

【図6】従来のディザによる2値化の原理を説明するた
めの説明図である。
FIG. 6 is an explanatory diagram for explaining the principle of binarization using conventional dither.

【図7】従来の多値ディザパターンを説明するための説
明図である。
FIG. 7 is an explanatory diagram for explaining a conventional multilevel dither pattern.

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

1 多値化部 2 基本ディザマトリクス記憶メモリ 3 多値化テーブル記憶メモリ 4 選択部 5 多値化テーブル作成部 6 オフセット情報記憶メモリ 7 情報設定部 DESCRIPTION OF SYMBOLS 1 Multi-value part 2 Basic dither matrix storage memory 3 Multi-value table storage memory 4 Selection part 5 Multi-value table preparation part 6 Offset information storage memory 7 Information setting part

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 ディザによる多値化処理を行う画像処理
装置において、 1つの基本ディザマトリクス値とデイザマトリクス間の
オフセット情報を設定する設定手段と、 該設定手段により設定されたオフセット情報を記憶する
オフセット情報記憶手段と、 該オフセット情報手段により記憶されたオフセット情報
により多値化テーブルを作成する多値化テーブル作成手
段と、 該多値化テーブル作成手段より作成された多値化テーブ
ルを記憶する多値化テーブル記憶手段と、 前記基本ディザマトリクスと、前記多値化テーブル記憶
手段により記憶された多値化テーブルとを使用して入力
画像の多値化を行う多値化手段とを具備することを特徴
とする画像処理装置。
1. An image processing apparatus for performing multi-value processing using dither, a setting means for setting offset information between one basic dither matrix value and a dither matrix, and storing the offset information set by the setting means. Offset information storage means, a multi-valued table creation means for creating a multi-valued table based on the offset information stored by the offset information means, and a multi-valued table created by the multi-valued table creation means are stored. Multivalued table storage means, and a multivalued means for multivalued an input image using the basic dither matrix and the multivalued table stored by the multivalued table storage means. An image processing apparatus comprising:
【請求項2】 請求項1において、前記基本ディザマト
リクスに代えて基本ディザオフセットマトリクスを使用
することを特徴とする画像処理装置。
2. The image processing apparatus according to claim 1, wherein a basic dither offset matrix is used instead of the basic dither matrix.
【請求項3】 ディザによる多値化処理方法において、 1つの基本ディザマトリクス値とデイザマトリクス間の
オフセット情報が設定されたとき、設定されたオフセッ
ト情報を記憶するオフセット情報記憶ステップと、 該オフセット情報ステップで記憶されたオフセット情報
により多値化テーブルを作成する多値化テーブル作成ス
テップと、 作成された多値化テーブルを記憶する多値化テーブル記
憶ステップと、 前記基本ディザマトリクスと、前記多値化テーブル記憶
ステップで記憶された多値化テーブルとを使用して入力
画像の多値化を行う多値化ステップとを具備することを
特徴とする多値化処理方法。
3. A multi-value processing method using dither, wherein when offset information between one basic dither matrix value and a dither matrix is set, an offset information storing step of storing the set offset information; A multi-level quantization table creating step of creating a multi-level quantization table based on the offset information stored in the information step; a multi-level quantization table storing step of storing the created multi-level quantization table; the basic dither matrix; A multi-value processing step of performing multi-value processing on the input image using the multi-value table stored in the value table storage step.
【請求項4】 請求項3において、前記基本ディザマト
リクスに代えて基本ディザオフセットマトリクスを使用
することを特徴とする多値化処理方法。
4. The multivalue processing method according to claim 3, wherein a basic dither offset matrix is used instead of the basic dither matrix.
【請求項5】 コンピュータに、 1つの基本ディザマトリクス値とデイザマトリクス間の
オフセット情報が設定されたとき、設定されたオフセッ
ト情報を記憶させ、 記憶されたオフセット情報により多値化テーブルを作成
させ、 作成された多値化テーブルを記憶させ、 前記基本ディザマトリクスと、前記記憶された多値化テ
ーブルとを使用して入力画像の多値化を行せる制御プロ
グラムを記録したコンピュータ読み取り可能な記録媒
体。
5. When a computer sets offset information between one basic dither matrix value and a dither matrix, the set offset information is stored, and a multi-value table is created based on the stored offset information. A computer-readable recording that stores a created multi-level quantization table, and that records a control program that can perform multi-level quantization of an input image using the basic dither matrix and the stored multi-level quantization table. Medium.
【請求項6】 請求項5において、前記基本ディザマト
リクスに代えて基本ディザオフセットマトリクスを使用
する制御プログラムを記録したコンピュータ読み取り可
能な記録媒体。
6. The computer-readable recording medium according to claim 5, wherein a control program that uses a basic dither offset matrix instead of the basic dither matrix is recorded.
JP04506199A 1999-02-23 1999-02-23 Image processing apparatus and multi-value processing method Expired - Fee Related JP3943747B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04506199A JP3943747B2 (en) 1999-02-23 1999-02-23 Image processing apparatus and multi-value processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04506199A JP3943747B2 (en) 1999-02-23 1999-02-23 Image processing apparatus and multi-value processing method

Publications (3)

Publication Number Publication Date
JP2000244734A true JP2000244734A (en) 2000-09-08
JP2000244734A5 JP2000244734A5 (en) 2004-11-11
JP3943747B2 JP3943747B2 (en) 2007-07-11

Family

ID=12708853

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04506199A Expired - Fee Related JP3943747B2 (en) 1999-02-23 1999-02-23 Image processing apparatus and multi-value processing method

Country Status (1)

Country Link
JP (1) JP3943747B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8335018B2 (en) 2008-06-18 2012-12-18 Canon Kabushiki Kaisha Image forming method and apparatus for reducing input image gradation

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8335018B2 (en) 2008-06-18 2012-12-18 Canon Kabushiki Kaisha Image forming method and apparatus for reducing input image gradation

Also Published As

Publication number Publication date
JP3943747B2 (en) 2007-07-11

Similar Documents

Publication Publication Date Title
JP3830561B2 (en) Error diffusion method, error diffusion system, and error generation method
JPH02100575A (en) Picture processor
JP2006065834A (en) Image processing device and image processing method
JPH11187264A (en) Method and device for processing image
JP2000244734A (en) Image processor and multi-valuing processing method
JPH05183737A (en) Picture processor
JP3679522B2 (en) Image processing method and apparatus
JP3697027B2 (en) Image processing apparatus and method
JP3459725B2 (en) Image processing apparatus and method
JP2001285633A (en) Image processing apparatus and storage medium
JP2001144958A (en) Method and device for image processing, and recording medium
JPH01303869A (en) Picture processor
JPH11308448A (en) Image processor and image processing method
JP3950871B2 (en) Image processing method and apparatus
JPH11185035A (en) Image processing device and method
JP2000188685A (en) Image output device
JP2792581B2 (en) Image processing device
JPH11155064A (en) Picture processing method and device thereof
JP3179823B2 (en) Image processing device
JPH11154229A (en) Image processor and its method
JPH11328389A (en) Device and method for image processing
JPH11177816A (en) Image processor and method therefor
JPS63290070A (en) Picture processor
JPH11353475A (en) Image processor and its method
JPH06284290A (en) Picture information processor

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060411

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060414

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060613

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20061222

RD13 Notification of appointment of power of sub attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7433

Effective date: 20070123

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20070123

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070221

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20070305

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070406

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110413

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130413

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130413

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20140413

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees