JP2001008043A - Signal processor and signal processing method - Google Patents

Signal processor and signal processing method

Info

Publication number
JP2001008043A
JP2001008043A JP11173698A JP17369899A JP2001008043A JP 2001008043 A JP2001008043 A JP 2001008043A JP 11173698 A JP11173698 A JP 11173698A JP 17369899 A JP17369899 A JP 17369899A JP 2001008043 A JP2001008043 A JP 2001008043A
Authority
JP
Japan
Prior art keywords
signal
circuit
error
conversion
color
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.)
Pending
Application number
JP11173698A
Other languages
Japanese (ja)
Inventor
Tatsuki Inuzuka
達基 犬塚
Yasutaka Toyoda
康隆 豊田
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP11173698A priority Critical patent/JP2001008043A/en
Publication of JP2001008043A publication Critical patent/JP2001008043A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain a signal processor that can execute both conversion processing and error propagation processing of a color signal at a high speed with a small scale circuit configuration. SOLUTION: This signal processor 11 is provided with a signal correction circuit 13 that corrects an input signal C in eight bits per pixel sequentially received for every line by using a quantization error of peripheral pixels caused by quantization processing so far, a quantization circuit 24 that converts an input signal P after the circuit by the circuit 13 into an output signal Z in four bits per pixel, an error calculation circuit 15 that calculates a quantization error E by the quantization circuit 14, and an error feedback circuit 16 that feeds back the quantization error E to the signal correction circuit 13. Furthermore, a conversion table used for the quantization processing by the quantization circuit 14 and for the error calculation processing by the error calculation circuit 15 is integrated in a memory (a memory accessible from the quantization circuit 14).

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像信号の信号特
性を高速変換する信号処理装置及び信号処理方法に関す
る。
[0001] 1. Field of the Invention [0002] The present invention relates to a signal processing device and a signal processing method for converting signal characteristics of an image signal at high speed.

【0002】[0002]

【従来の技術】カラー画像を表すには、複数色の色信号
が必要とされる。RGB(赤緑青)信号,CMYK(シ
アン,マゼンタ,イエロー,黒)信号等が、その代表例
として挙げられる。例えば、CRT(カソードレイチュ
ーブ)のカラー表示には、色信号としてRGB信号が用
いられることが多い。また、プリンタのカラー印刷に
は、色信号としてCMYK信号が用いられることが多
い。
2. Description of the Related Art In order to represent a color image, color signals of a plurality of colors are required. RGB (red-green-blue) signals, CMYK (cyan, magenta, yellow, black) signals and the like are typical examples. For example, in a CRT (cathode ray tube) color display, an RGB signal is often used as a color signal. In color printing of a printer, a CMYK signal is often used as a color signal.

【0003】さて、CRT上のカラー表示画像をプリン
タから印刷する等、異なる色信号を用いる機器で色再現
を行う場合には、色信号の変換処理が必要となる。カラ
ー画像処理においては、1画素が複数の色信号で表され
ることから、色は、各色成分を座標軸とした色空間上の
座標として表される。したがって、色信号の変換とは、
ある色空間上の座標点を、それと異なる色空間上にマッ
ピングすることに相当する。このような異色空間上への
マッピングは、入力色空間上の座標と出力色空間上の座
標とを対応付けた変換表を用いて行われることが多い。
When color reproduction is performed by a device using different color signals, such as printing a color display image on a CRT from a printer, color signal conversion processing is required. In color image processing, since one pixel is represented by a plurality of color signals, a color is represented as coordinates in a color space using each color component as a coordinate axis. Therefore, the conversion of the color signal is
This corresponds to mapping a coordinate point on a certain color space on a different color space. Such mapping on a different color space is often performed using a conversion table that associates coordinates on an input color space with coordinates on an output color space.

【0004】ところが、RGB信号(各色信号が8ビッ
トデータ)をCMY信号(3バイト)に変換するための変
換表を格納するメモリには、224×3=約50メガバ
イトもの容量が必要となる。そこで、メモリ容量を削減
するための技術として、例えば、米国特許USP4837722が
提案されている。この技術は、色空間を粗く量子化した
代表格子点の座標およびそれら代表格子点間を補間する
ための補間係数を変換表に格納しておき、各代表格子点
間の入力については補間によって変換を行うものであ
る。そして、各色成分ごとにそれぞれ変換表および補間
手段を用意することによって、メモリ容量の削減を図り
つつ、高速かつ高精度な色信号の変換処理を実現してい
る。なお、この技術において用いられる変換表の作成方
法およびデータ構造に関しては、ICC(International
Color Consortium)が定めるICCプロファイルと呼ば
れる規格がある。
However, a memory for storing a conversion table for converting RGB signals (each color signal is 8-bit data) into CMY signals (3 bytes) requires a capacity of about 224 × 3 = about 50 megabytes. Therefore, as a technique for reducing the memory capacity, for example, US Pat. No. 4,783,722 has been proposed. In this technique, the coordinates of representative grid points obtained by coarsely quantizing the color space and interpolation coefficients for interpolating between the representative grid points are stored in a conversion table, and the input between the representative grid points is converted by interpolation. Is what you do. By preparing a conversion table and interpolation means for each color component, high-speed and high-precision color signal conversion processing is realized while reducing the memory capacity. Note that the conversion table creation method and data structure used in this technology are described in ICC (International
There is a standard called an ICC profile defined by the Color Consortium.

【0005】ところで画像出力装置は、1画素あたりの
表現階調数に様々な制限がある。例えば2レベルしか表
現できないプリンタ、あるいは256レベル表現できる
ディスプレーなどがある。このような画像出力装置にお
いて、入力信号と同じ階調数を表現させるためには、誤
差拡散法,ディザ法等の階調変換方式が用いられる。例
えば、インクジェットプリンタ等は、微小面積内への複
数画素の配置によって再現階調数を増加させる誤差拡散
法の採用によって、より滑らかな多値レベルの階調再現
を実現している。このような一般的な誤差拡散法につい
ては、「画像のデジタル信号処理」(吹抜著 日刊工業
新聞発行)に詳しい。
[0005] The image output apparatus has various restrictions on the number of expressed gradations per pixel. For example, there are a printer capable of expressing only two levels and a display capable of expressing 256 levels. In such an image output device, a gradation conversion method such as an error diffusion method or a dither method is used to express the same number of gradations as the input signal. For example, an ink jet printer or the like realizes smoother multi-level gradation reproduction by employing an error diffusion method that increases the number of reproduction gradations by arranging a plurality of pixels within a small area. Such a general error diffusion method is described in detail in “Digital Signal Processing of Images” (published by Nikkan Kogyo Shimbun).

【0006】[0006]

【発明が解決しようとする課題】ところが、上記従来の
インクジェットプリンタからCRT上の表示画像を出力
させるには、各画素ごとにそれぞれ色信号変換処理およ
び階調変換処理を行う必要がある。そのため、信号処理
装置に高負荷がかかり、信号処理装置の処理速度が遅く
なる。そして、高密度高階調記録により画質向上が図ら
れるほど、このような傾向が顕著となる。
However, in order to output a display image on a CRT from the above-described conventional inkjet printer, it is necessary to perform color signal conversion processing and gradation conversion processing for each pixel. Therefore, a heavy load is applied to the signal processing device, and the processing speed of the signal processing device is reduced. Such a tendency becomes more remarkable as the image quality is improved by high-density and high gradation recording.

【0007】また、色信号変換処理と誤差拡散処理とに
ついてそれぞれ個別に信号処理装置が必要となるため、
システムの構成が複雑になるという問題もある。
Further, since a signal processing device is required for each of the color signal conversion process and the error diffusion process,
There is also a problem that the configuration of the system becomes complicated.

【0008】そこで、本発明は、色信号の変換処理およ
び階調変換処理の双方を、小規模な回路構成で高速に実
行することができる信号処理装置を提供することを第1
の目的にする。また、色信号の変換処理および階調変換
処理の双方を高速に実行することができる信号処理方法
を提供することを第2の目的にする。
Therefore, the first object of the present invention is to provide a signal processing apparatus capable of executing both the color signal conversion processing and the gradation conversion processing at a high speed with a small-scale circuit configuration.
To the purpose. It is a second object of the present invention to provide a signal processing method capable of executing both color signal conversion processing and gradation conversion processing at high speed.

【0009】[0009]

【課題を解決するための手段】本発明は、互いに異なる
座標系の座標として表された2種類の信号を画素ごとに
対応付けた変換表が格納されたメモリと、前記各画素の
入力信号を、前記変換表において当該入力信号に対応付
けられた信号に逐次変換する量子化回路と、前記量子化
回路が1画素についての信号変換を行うごとに、当該信
号変換の誤差を逐次算出する誤差算出回路と、前記誤差
算出回路が算出した誤差を、前記信号変換回路による信
号変換前の入力信号に拡散させる信号補正回路とを有す
る構成とした。
According to the present invention, there is provided a memory for storing a conversion table in which two types of signals represented as coordinates of mutually different coordinate systems are associated with each pixel, and an input signal of each pixel. A quantization circuit for sequentially converting a signal corresponding to the input signal in the conversion table, and an error calculation for sequentially calculating an error of the signal conversion each time the quantization circuit performs signal conversion for one pixel. And a signal correction circuit for diffusing the error calculated by the error calculation circuit into an input signal before signal conversion by the signal conversion circuit.

【0010】このように従来別々の装置で完全に別個に
行われていた色変換処理と誤差拡散処理との間の重複し
ていた処理を、誤差拡散処理の繰り返し処理中に量子化
手段が変換表に基づき実行するようにしたため、回路規
模の縮小および処理の高速化を図ることができる。すな
わち、誤差拡散回路の繰り返し処理中に、量子化回路
が、補正信号を、それとは性質の異なる出力信号(補正
信号とは異なる座標系の座標として表される出力信号)
に信号変換するようにしたことによって、従来の色変換
処理を誤差拡散処理に組み込み、回路規模の縮小および
処理の高速化を図っている。
[0010] As described above, the quantization means converts the overlapping processing between the color conversion processing and the error diffusion processing, which were conventionally performed completely separately by separate devices, during the error diffusion processing repetition processing. Since the processing is performed based on the table, the circuit scale can be reduced and the processing speed can be increased. That is, during the repetitive processing of the error diffusion circuit, the quantization circuit converts the correction signal into an output signal having a different property from the correction signal (an output signal represented as coordinates in a coordinate system different from the correction signal).
As a result, the conventional color conversion processing is incorporated into the error diffusion processing to reduce the circuit scale and speed up the processing.

【0011】また、本発明は、量子化工程では、互いに
異なる座標系の座標として表された2種類の信号を画素
ごとに対応付けた変換表に基づき、前記各画素の入力信
号を、当該入力信号に対応付けられた信号に逐次変換
し、誤差算出工程では、1画素についての信号変換が行
われるごとに、当該信号変換の誤差を逐次算出し、信号
補正工程では、前記量子化工程による信号変換前の入力
信号に、前記誤差算出工程により算出された誤差を拡散
する方法とした。
According to the present invention, in the quantization step, the input signal of each pixel is converted into the input signal based on a conversion table in which two types of signals represented as coordinates of mutually different coordinate systems are associated with each pixel. In the error calculation step, every time signal conversion is performed for one pixel, an error of the signal conversion is sequentially calculated, and in the signal correction step, the signal by the quantization step is converted. The error calculated in the error calculating step is diffused to the input signal before conversion.

【0012】このような方法によれば、上記信号処理装
置の場合と同様に、処理の高速化を図ることができるこ
とは言うまでもない。
According to such a method, it goes without saying that the processing can be speeded up as in the case of the signal processing device.

【0013】[0013]

【発明の実施の形態】以下、添付の図面を参照しなが
ら、本発明に係る実施の一形態について説明する。ま
ず、白黒静止画像について画素単位の信号処理を例に挙
げて、本実施の形態に係る信号処理装置の基本構成につ
いて説明する。
Embodiments of the present invention will be described below with reference to the accompanying drawings. First, the basic configuration of the signal processing device according to the present embodiment will be described by taking, as an example, signal processing in units of pixels for a monochrome still image.

【0014】図25に示すように、本信号処理装置11
は、例えば、スキャナ等の画像入力装置およびプリンタ
等の画像出力装置が接続された情報処理制御装置51に
搭載することができる。その接続方法は、図25(1)
(2)のいずれに示した形態であっても構わない。ま
た、入力装置,出力装置の構成を限定するものではな
い。
As shown in FIG. 25, the present signal processing device 11
Can be mounted on the information processing control device 51 to which an image input device such as a scanner and an image output device such as a printer are connected. The connection method is shown in FIG.
The configuration shown in any of (2) may be used. Further, the configurations of the input device and the output device are not limited.

【0015】さて、本信号処理装置11は、図1に示す
ように、入力装置(不図示)から各ラインごとに逐次入
力されてくる1画素8ビット(256レベル)の白黒信
号(入力信号C)を補正する信号補正回路13,信号補
正回路13による補正後の入力信号P(以下、補正信号
Pと呼ぶ)を1画素4ビット(16レベル)の白黒信号
(出力信号Z)に信号変換する量子化回路14,量子化
部14による量子化誤差Eを算出する誤差算出回路1
5,誤差算出回路15が算出した量子化誤差Eを信号補
正回路13に帰還させる誤差帰還回路16とを備えてい
る。これら各部13,14,15,17の詳細は、以下
の通りである。
As shown in FIG. 1, the signal processing device 11 is a monochrome signal (input signal C) of 8 bits (256 levels) per pixel which is sequentially input for each line from an input device (not shown). ), And converts the input signal P (hereinafter, referred to as a correction signal P) corrected by the signal correction circuit 13 into a monochrome signal (output signal Z) of 4 bits (16 levels) per pixel. Error calculation circuit 1 for calculating quantization error E by quantization circuit 14 and quantization section 14
5, an error feedback circuit 16 for feeding back the quantization error E calculated by the error calculation circuit 15 to the signal correction circuit 13. Details of these units 13, 14, 15, 17 are as follows.

【0016】信号補正回路13は、次式(1)により、
入力装置から逐次入力されてくる入力信号Cを補正し、
補正信号Pを量子化回路14へと逐次出力する。
The signal correction circuit 13 uses the following equation (1)
The input signal C sequentially input from the input device is corrected,
The correction signal P is sequentially output to the quantization circuit 14.

【0017】 P=C+Σ(Ei・Fi) …(1) ここで、Cは、処理対象である注目画素の信号レベル、
具体的には、注目画素の濃度値であり、Eiは、後述の
誤差帰還回路16の内蔵ラインメモリから読み出された
参照画素についての誤差信号の信号レベル(初期値0)
であり、Fiは、画像上における注目画素と参照画素と
の位置関係に応じて定めた重み係数である。ここでいう
参照画像とは、図2に示すような、画像上において注目
画素Xと所定の位置関係にある複数の周辺画素Y0〜Y
4のことである。なお、出力画像の画質設定との関連
上、参照画素の数、および、参照画素と注目画素との位
置関係は、重み係数Fiの値とともに画面単位等で調整
可能であることが望ましい。このような信号補正回路1
3は、参照画素Y0〜Y4の誤差信号E0〜E4と重み
係数F0〜F4との積を算出する重み付け回路と、重み
付け回路の出力信号と入力信号Cとを加算する加算器と
によって構成することができる。
P = C + Σ (Ei · Fi) (1) where C is the signal level of the pixel of interest to be processed,
Specifically, it is the density value of the pixel of interest, and Ei is the signal level (initial value 0) of the error signal for the reference pixel read from the internal line memory of the error feedback circuit 16 described later.
Where Fi is a weight coefficient determined according to the positional relationship between the target pixel and the reference pixel on the image. The reference image referred to here is a plurality of peripheral pixels Y0 to Y having a predetermined positional relationship with the target pixel X on the image as shown in FIG.
4 Note that, in relation to the image quality setting of the output image, it is desirable that the number of reference pixels and the positional relationship between the reference pixels and the target pixel can be adjusted in units of screens together with the value of the weighting factor Fi. Such a signal correction circuit 1
Reference numeral 3 denotes a weighting circuit for calculating a product of the error signals E0 to E4 of the reference pixels Y0 to Y4 and the weighting coefficients F0 to F4, and an adder for adding the output signal of the weighting circuit and the input signal C. Can be.

【0018】量子化回路14の内蔵メモリには、プリン
タのガンマ特性を表す情報、具体的には、図3に示すよ
うな、入力信号Cと出力信号Zとの対応関係を表す非線
形のガンマ特性曲線が格納されている。入力信号Cと出
力信号Zの取り得る信号レベルは、限定するものではな
い。非線形の特性を演算式に置き換えるのは困難である
ため、この変換表は、入力信号Cに対するプリンタの階
調再現特性を実験的に確認しながら作成する必要があ
る。あるいは、一部のパソコンの色補正方式(Color Syn
cあるいはICM)に利用されている、ICC(Interna
tional ColorConsortium)が定めたデータ形式に基づき
設定された装置特有の変換データ(ICCプロファイル)を
利用してもよい。
In the built-in memory of the quantization circuit 14, information representing the gamma characteristic of the printer, specifically, a non-linear gamma characteristic representing the correspondence between the input signal C and the output signal Z as shown in FIG. Curves are stored. The possible signal levels of the input signal C and the output signal Z are not limited. Since it is difficult to replace the non-linear characteristic with an arithmetic expression, it is necessary to create this conversion table while experimentally confirming the tone reproduction characteristics of the printer for the input signal C. Alternatively, the color correction method (Color Syn
c or ICM), ICC (Interna
device-specific conversion data (ICC profile) set based on the data format defined by the National Color Consortium.

【0019】8ビットで表される白黒画像の場合には、
入力信号が256種類しかないため、このような特性曲
線をすべてテーブルとして装置化することもできる。し
かし、カラー画像の場合には、例えば8ビットのRGB
信号の組み合わせとなるため、入力信号は256の3乗
種類となり、テーブルとして装置化するのはコスト,装
置規模などの問題が多い。本発明は、このような多次元
信号の任意な特性曲線に基づく変換処理を高速に実行す
ることを目的としている。
In the case of a monochrome image represented by 8 bits,
Since there are only 256 types of input signals, all such characteristic curves can be realized as a table. However, in the case of a color image, for example, 8-bit RGB
Since the combination of signals is used, the input signals are of the 256th power type, and there are many problems in terms of cost, device scale, and the like when the device is configured as a table. An object of the present invention is to perform high-speed conversion processing of such a multidimensional signal based on an arbitrary characteristic curve.

【0020】なお、ここで示したガンマ特性曲線がステ
ップ状になっているのは、出力信号Zが16レベルであ
るのに対して入力信号が256レベルだからである。ま
た、ガンマ特性曲線は、その分割数が多いほど滑らかに
なるものであるが、例えばプリンタのガンマ特性曲線で
あれば、各座標軸がそれぞれ8〜16段階程度に分割さ
れていれば足りることが多い。
The gamma characteristic curve shown here is step-shaped because the output signal Z has 16 levels and the input signal has 256 levels. The gamma characteristic curve becomes smoother as the number of divisions increases. For example, in the case of a gamma characteristic curve of a printer, it is often sufficient if each coordinate axis is divided into about 8 to 16 steps. .

【0021】量子化回路14は、このような変換表によ
って、0〜255までの補正信号Pを、0〜16までの
出力信号Zに逐次ガンマ変換し、これを出力信号Zとし
て出力装置へと逐次出力する。例えば、注目画素の入力
信号Cの信号レベルが86である場合には、図4に示す
ように、その入力信号Cは、量子化ステップ幅80〜9
6に対応する信号レベル2の出力信号Zに変換される。
このように、本実施の形態に係るガンマ補正は、入力信
号Pを、変換表に設定されたN個の代表レベルに変換す
る処理であるため、以下、これを量子化とも呼ぶ。
The quantization circuit 14 sequentially gamma-converts the correction signal P from 0 to 255 into an output signal Z from 0 to 16 using such a conversion table, and outputs this to the output device as an output signal Z. Output sequentially. For example, when the signal level of the input signal C of the target pixel is 86, the input signal C has a quantization step width of 80 to 9 as shown in FIG.
6 is converted to an output signal Z of signal level 2 corresponding to 6.
As described above, the gamma correction according to the present embodiment is a process of converting the input signal P into the N representative levels set in the conversion table, and hence is hereinafter also referred to as quantization.

【0022】この量子化回路14は、信号補正回路13
からの補正信号Pの上位4bit(信号レベルを16分割す
る場合)を切り出すことによってメモリアドレスを生成
し、前述の変換表(図3参照)の入出力信号の対応関係
を記憶するメモリ等をアクセスする。
The quantizing circuit 14 includes a signal correcting circuit 13
A memory address is generated by cutting out the upper 4 bits (when the signal level is divided into 16) of the correction signal P from the memory, and accesses a memory or the like that stores the correspondence between the input and output signals of the above-mentioned conversion table (see FIG. 3) I do.

【0023】このような量子化回路14によれば、例え
ば、量子化ステップ幅80〜90に属する補正信号Pで
あれば、いずれも、同一の信号レベル2の出力信号Zに
変換される。したがって、この量子化ステップ幅80〜
90に属する最小の入力信号(=80)と、注目画素の
補正信号(=86)との差分を量子化誤差E(図4参
照)と考えることができる。そこで、誤差算出回路15
は、量子化回路14で量子化が行われるごとに、その量
子化による量子化誤差Eを次式(2)により算出し、そ
の量子化誤差Eを誤差帰還回路16に出力する。
According to such a quantization circuit 14, for example, any correction signal P belonging to a quantization step width of 80 to 90 is converted into an output signal Z of the same signal level 2. Therefore, this quantization step width 80 to
The difference between the minimum input signal (= 80) belonging to 90 and the correction signal (= 86) of the target pixel can be considered as the quantization error E (see FIG. 4). Therefore, the error calculation circuit 15
Calculates the quantization error E due to the quantization by the following equation (2) every time the quantization is performed by the quantization circuit 14, and outputs the quantization error E to the error feedback circuit 16.

【0024】 E=P−f(Z) …(2) ここで、f(Z)は、量子化回路14への入力信号が属
する量子化ステップ幅の交点信号である。
E = P−f (Z) (2) where f (Z) is an intersection signal of the quantization step width to which the input signal to the quantization circuit 14 belongs.

【0025】量子化回路14の変換表に、補正信号Pを
メモリアドレスとして、出力信号Zと共に交点信号f
(Z)が読み出されるようにすれば、メモリ出力f
(Z)と補正信号Pとの差分を算出する減算器だけでf
(Z)算出回路を構成することもできる。このようすれ
ば、量子化回路14と誤差算出回路15とで変換表の共
有できるため、回路規模の縮小化を図ることができると
共に、出力信号Zと交点信号f(Z)との同時算出によ
る処理の迅速化を図ることができる。なお、データ量削
減のため、メモリの格納データを圧縮してもよい。誤差
帰還回路16は、複数ライン分のラインメモリに量子化
誤差を書き込み、その誤差メモリから参照画素の量子化
誤差を読み出して、それを誤差信号として前述の信号補
正回路13へと帰還させる。具体的には、誤差帰還回路
16は、複数ライン分のラインメモリと、画素単位の遅
延を行うフリップフロップ回路を有する遅延回路とによ
って構成される。画像信号のスキャン入力動作に同期す
るカウンタ回路から制御タイミングを得れば、この構成
によって、注目画素Xと所定の位置関係(図2参照)に
ある参照画素Y0〜Y4の誤差信号E0〜E4を取り出
すことができる。
In the conversion table of the quantization circuit 14, the correction signal P is used as a memory address and the intersection signal f together with the output signal Z.
If (Z) is read, the memory output f
(Z) and only the subtractor that calculates the difference between the correction signal P and f
(Z) A calculation circuit may be configured. In this way, the conversion table can be shared by the quantization circuit 14 and the error calculation circuit 15, so that the circuit scale can be reduced and the output signal Z and the intersection signal f (Z) can be calculated simultaneously. Processing can be speeded up. The data stored in the memory may be compressed to reduce the data amount. The error feedback circuit 16 writes the quantization error into a plurality of line memories, reads the quantization error of the reference pixel from the error memory, and feeds it back to the signal correction circuit 13 as an error signal. More specifically, the error feedback circuit 16 includes a line memory for a plurality of lines and a delay circuit having a flip-flop circuit that performs a delay in pixel units. If the control timing is obtained from the counter circuit synchronized with the scan input operation of the image signal, this configuration allows the error signals E0 to E4 of the reference pixels Y0 to Y4 having a predetermined positional relationship (see FIG. 2) with the target pixel X to be obtained. Can be taken out.

【0026】本信号処理装置11によれば、従来別々の
装置で完全に別個に行われていた色変換処理と誤差拡散
処理との間に重複していた処理を、誤差拡散処理の繰り
返し処理中に量子化回路が変換表に基づき実行するよう
にしたため、回路規模の縮小および処理の高速化を図る
ことができる。すなわち、本信号処理装置11において
は、誤差拡散処理の繰り返し処理中に、量子化回路が、
補正信号を、それとは性質の異なる出力信号(誤差信号
や補正信号とは異なる座標系の座標として表される出力
信号)に信号変換するようにしたことによって、従来の
色変換処理を誤差拡散処理に組み込み、回路規模の縮小
および処理の高速化を実現している。
According to the signal processing apparatus 11, the processing which has been overlapped between the color conversion processing and the error diffusion processing, which has been performed completely separately by the conventional apparatuses, is now repeated during the error diffusion processing. Since the quantization circuit is configured to execute based on the conversion table, the circuit scale can be reduced and the processing speed can be increased. That is, in the signal processing device 11, during the repetitive processing of the error diffusion processing, the quantization circuit
By converting the correction signal into an output signal having a different property (an output signal represented as a coordinate in a coordinate system different from that of the error signal and the correction signal), the conventional color conversion processing is performed by an error diffusion processing. To reduce the circuit scale and speed up processing.

【0027】これらの数値データの利用方法について図
4を用いて説明する。ここでは、特性曲線が通過する格
子ブロックを拡大して示している。入力信号Cに対応す
る特性曲線がブロック1を通過している状態であり、ブ
ロック1の底辺に対応する出力信号Zが変換結果であ
る。ここで、入力信号Cと特性曲線との交点座標はブロ
ック1の底辺に位置していない。このズレを、入力信号
座標系における誤差信号Eとして算出するために、該当
ブロックの底辺と特性曲線との交点の信号f(Z)を準備
する。そして、誤差信号E=入力信号C−f(Z)で算
出する。ここで、該等ブロックにおいて、入力信号Cは
f(Z)よりも大きい場合も小さい場合もあるため、誤
差信号Eは±の符号をとることになる。
A method of using these numerical data will be described with reference to FIG. Here, the lattice block through which the characteristic curve passes is shown in an enlarged manner. The characteristic curve corresponding to the input signal C is passing through the block 1, and the output signal Z corresponding to the bottom of the block 1 is the conversion result. Here, the coordinates of the intersection of the input signal C and the characteristic curve are not located at the bottom of the block 1. In order to calculate this deviation as an error signal E in the input signal coordinate system, a signal f (Z) at the intersection of the characteristic curve and the base of the block is prepared. Then, the error signal E = the input signal C-f (Z). Here, in the same block, since the input signal C may be larger or smaller than f (Z), the error signal E has a sign of ±.

【0028】そして、この誤差信号Eを、以降の画素の
信号処理に反映させることで、画面全体としての入力信
号レベルの保存を実現する。例えば、次の画素の入力信
号Cに誤差信号Eを加算することで得られる補正信号P
=C+Eを利用する。このような補正処理を行うこと
で、本発明の説明では、入力信号Cと補正信号Pは、同
じ信号処理の対象として扱うことができる。このように
して、任意の特性曲線に基づく信号変換を、複数画素の
平均的な信号レベルとして実現する。
The error signal E is reflected in the subsequent pixel signal processing, thereby realizing the preservation of the input signal level of the entire screen. For example, a correction signal P obtained by adding the error signal E to the input signal C of the next pixel
= C + E. By performing such correction processing, in the description of the present invention, the input signal C and the correction signal P can be treated as the same signal processing target. In this way, signal conversion based on an arbitrary characteristic curve is realized as an average signal level of a plurality of pixels.

【0029】また、量子化において生じた量子化誤差を
重み付けし、これから信号変換される周辺画素に振り分
けることによって、全体としての量子化誤差の抑制を図
っているため、代表格子点間の補間を行う場合よりも小
規模な回路構成で迅速に、より優れた階調再現を実現す
ることができる。すなわち、1画素当たりの再現階調数
がせいぜい16レベル程度に制限されるカラープリンタ
等に適した粗い変換表を用いていても、長い処理時間と
大規模な演算回路とを必要とする補間処理を行うことな
く、画素の集合として、ガンマ特性曲線に漸近する優れ
た階調再現を得ることができる。例えば、図5に示すよ
うに、入力信号(=86)が入力装置から連続的に入力
された場合には、2番目の画素の入力信号(=86)に
は、最初の画素の入力信号(=86)の量子化によって
生じた量子化誤差E1(=6)が加算され、3番目の画
素の入力信号(=86)には、2番目の画素の入力信号
C(=86)の量子化によって生じた量子化誤差E2
(=12)が加算される。3番目の画素の補正信号(=
98)は、2番目の画素よりも一つ上位の量子化ステッ
プの出力信号Z(=3)に変換されるため、その量子化誤
差E3は、98−96=2となる。このように、量子化
で発生した量子化誤差を、順次、次の画素の入力信号の
量子化に反映させてゆくことによって、結果的に、出力
信号には、2種類の信号Z=2,3が5:3で混在する
ことになる。この比率5:3で、2種類の出力信号Z=
2,3に対応する交点信号C=80,96を平均化する
と入力信号C(=86)が得られることから、八つの画
素の集合によって、入力信号C(=86)の階調が再現
されていることは明らかである。
Further, since the quantization error generated in the quantization is weighted and assigned to neighboring pixels to be signal-converted from now on, the quantization error as a whole is suppressed. More excellent gradation reproduction can be realized quickly with a smaller circuit configuration than in the case of performing. That is, even if a coarse conversion table suitable for a color printer or the like in which the number of reproduced gradations per pixel is limited to at most about 16 levels is used, interpolation processing requiring a long processing time and a large-scale arithmetic circuit is required. , It is possible to obtain an excellent gradation reproduction asymptotic to a gamma characteristic curve as a set of pixels. For example, as shown in FIG. 5, when the input signal (= 86) is continuously input from the input device, the input signal (= 86) of the second pixel is replaced by the input signal (= 86) of the first pixel. = 86), and a quantization error E1 (= 6) caused by the quantization of the second pixel is added to the input signal (= 86) of the third pixel. Quantization error E2 caused by
(= 12) is added. The correction signal of the third pixel (=
98) is converted into an output signal Z (= 3) of a quantization step one level higher than the second pixel, and the quantization error E3 is 98−96 = 2. As described above, by sequentially reflecting the quantization error generated in the quantization on the quantization of the input signal of the next pixel, as a result, two types of signals Z = 2 3 are mixed at 5: 3. With this ratio of 5: 3, two types of output signals Z =
Since the input signal C (= 86) is obtained by averaging the intersection signals C = 80 and 96 corresponding to 2 and 3, the gradation of the input signal C (= 86) is reproduced by a set of eight pixels. It is clear that.

【0030】なお、本実施の形態において挙げた量子化
誤差の算出処理は、一例であり、本信号処理装置の量子
化回路による量子化誤差の算出処理は、必ずしも、これ
に限る必要はない。例えば、参照画素を同一ライン上に
隣接する画素に限定すれば、誤差帰還回路16のライン
メモリが不要とすることもできる。
The calculation processing of the quantization error described in the present embodiment is an example, and the calculation processing of the quantization error by the quantization circuit of the present signal processing apparatus is not necessarily limited to this. For example, if the reference pixels are limited to adjacent pixels on the same line, the line memory of the error feedback circuit 16 can be omitted.

【0031】本発明は図6に示すように、同一の画素に
対してN回の信号処理を繰り返して実行し、N回ループ
処理の処理結果の平均値を出力信号として利用できる。
図中の平均化回路20は、量子化回路14の出力信号Z
を入力し、N回の加算を行ったのち、平均化出力信号を
出力する。この同1画素についてのN回ループ処理は、
同一信号レベルのN画素に対する信号処理に置き換えて
みることが出来る。図7は、入力した二つの画素につい
てN=4回の繰り返し演算をする動作を示しているが、
個々のループの演算内容は図5に示した処理と同一であ
る。N回の演算時に発生する誤差信号は、次に画素の演
算に渡すことで、全体画像の信号レベルを保存できる。
図5に示した信号処理を、単1画素のN回ループ処理と
見なして、平均化出力をすることで、出力信号は図8に
示すように収束していく。ここで出力信号が十分に収束
していなくても、誤差を次の画素へ反映することで、画
像全体として誤差をほぼキャンセルすることができる。
したがって、図7に示すように、あらかじめ定めた繰り
返し回数N=4を利用して演算を行っても、画像全体の
信号レベルは保存されることになる。このようなN回ル
ープ処理と平均化出力によって、例えば、入力信号と出
力信号の階調数を同じ8ビットに設定することができ
る。この出力信号に対して、例えば、従来のディザ方
式,網点方式などの信号処理を行って印刷データとして
利用することができる。
In the present invention, as shown in FIG. 6, N times of signal processing are repeatedly performed on the same pixel, and an average value of the processing results of N times of loop processing can be used as an output signal.
The averaging circuit 20 in FIG.
, And after adding N times, an averaged output signal is output. The N times loop processing for the same pixel is
It can be replaced with signal processing for N pixels at the same signal level. FIG. 7 shows an operation of performing N = 4 repetitive calculations on two input pixels.
The operation content of each loop is the same as the processing shown in FIG. The error signal generated at the time of the N calculations is passed to the next pixel calculation, so that the signal level of the entire image can be preserved.
The output signal converges as shown in FIG. 8 by performing the averaged output by regarding the signal processing shown in FIG. 5 as N-times loop processing of a single pixel. Here, even if the output signal is not sufficiently converged, the error can be almost canceled as the whole image by reflecting the error to the next pixel.
Therefore, as shown in FIG. 7, even if the calculation is performed using the predetermined number of repetitions N = 4, the signal level of the entire image is preserved. By such N-time loop processing and averaging output, for example, the number of gradations of the input signal and the output signal can be set to the same 8 bits. The output signal can be used as print data by performing signal processing such as a conventional dither method or halftone method.

【0032】また、誤差拡散処理の量子化数とは異な
る、出力信号の量子化数を設定する場合には、上記平均
化出力信号に対して、設定数の量子化処理を行えば良
い。図9に示す平均化回路は、加算回路と割り算回路で
構成する例を示している。平均化回路20は、N回の加
算と、加算結果をNで割り算する回路で構成できるが、
例えばN=4などの2のべき乗を設定するならば、割り
算回路はビットシフトに置き換えられるため、基本的に
は加算回路のみで構成することが出来る。またリセット
信号は、N回ループの演算結果を消去するための信号で
あり、信号処理の対象画素を更新する毎にリセットを実
行する。これらの回路の動作は、シーケンス回路によっ
て制御することが出来る。図9に示すように、前記した
平均化回路20の出力段に出力量子化回路21を接続し
て出力信号を得る。そして、この出力量子化回路21に
よって生じる誤差を、前記誤差拡散処理の量子化誤差と
合わせて帰還信号として利用することができる。このよ
うな信号処理手段を用いることで、任意の出力階調数
(ビット数)を設定することが出来る。このようにし
て、入力信号が8ビット、出力信号が任意階調数の、色
信号変換と階調変換を行うことが出来る。入力装置と出
力装置の特性に依存すること無く、本発明を利用するこ
とができる。
When the quantization number of the output signal, which is different from the quantization number of the error diffusion process, is set, the set number of quantization processes may be performed on the averaged output signal. FIG. 9 shows an example in which the averaging circuit includes an adding circuit and a dividing circuit. The averaging circuit 20 can be configured by a circuit for adding N times and dividing the addition result by N.
For example, if a power of 2 such as N = 4 is set, the division circuit can be replaced by a bit shift, and thus can be basically configured only by an addition circuit. The reset signal is a signal for erasing the operation result of the loop N times, and resets each time the target pixel of the signal processing is updated. The operation of these circuits can be controlled by a sequence circuit. As shown in FIG. 9, an output signal is obtained by connecting an output quantization circuit 21 to the output stage of the averaging circuit 20 described above. The error generated by the output quantization circuit 21 can be used as a feedback signal together with the quantization error of the error diffusion processing. By using such a signal processing means, an arbitrary output gradation number (bit number) can be set. In this manner, color signal conversion and gradation conversion can be performed with an input signal of 8 bits and an output signal of an arbitrary number of gradations. The present invention can be used without depending on the characteristics of the input device and the output device.

【0033】以上説明した本信号処理装置11の機能
は、図10に示すように、ソフトウエアによって実現す
ることもできる。すなわち、以下に示すように、プロセ
ッサが、メモリに格納されたソフトウエアおよび変換表
によって、本信号処理装置11と同様な信号処理を実行
することもできる。まず、プロセッサは、誤差メモリを
初期化する(S110)。その後、プロセッサは、画面
上の全画素について、それぞれ、以下のS111からS
116までの処理を実行する。1画素の入力信号Cの入
力を受け付けると(S111)、参照画素についての量子
化誤差Eiを誤差メモリから読み出し、前述の数式(1)
によって入力信号Cを補正する(S112)。そして、こ
の補正により得られた補正信号Pに対応付けられた出力
信号Zおよび交点信号f(Z)を変換表からそれぞれ読
み出す(S113)。そして、出力信号Zを出力すると
共に、前述の数式(2)によって量子化誤差Eを算出す
る(S114)。そして、このとき算出された量子化誤
差Eを、以降の画素の入力信号の補正に使用すべく誤差
メモリに書き込んでおく(S115)。次に、該入力画
素についてN回ループ処理を実行する場合には、その繰
り返し回数を計測して(S116)、N回済みであれば
平均化信号を出力し(S117)、未処理ならばS11
2に戻って繰り返し演算を実行する。そして、注目画素
が画面上の最後の画素であるか否かを判断し、最後の画
素であった場合には処理を終了し(S118)、それ以
外の場合には、S111以下の処理を繰り返し実行す
る。このように、本信号処理装置の信号処理をソフトウ
エア化した場合であっても、従来完全に別個に行われて
いた色変換処理と誤差算出処理との間で重複していた処
理が、誤差拡散処理の繰り返し処理中に変換表に基づき
実行されることになるため、処理の高速化を図ることが
できることは言うまでもない。
The functions of the signal processing device 11 described above can also be realized by software, as shown in FIG. That is, as described below, the processor can execute the same signal processing as that of the signal processing device 11 using the software and the conversion table stored in the memory. First, the processor initializes the error memory (S110). Thereafter, the processor performs the following S111 to S111 for all pixels on the screen, respectively.
The processing up to 116 is executed. When the input of the input signal C of one pixel is received (S111), the quantization error Ei for the reference pixel is read from the error memory, and the aforementioned equation (1) is obtained.
To correct the input signal C (S112). Then, the output signal Z and the intersection signal f (Z) associated with the correction signal P obtained by the correction are read from the conversion table (S113). Then, the output signal Z is output, and the quantization error E is calculated by the above equation (2) (S114). Then, the quantization error E calculated at this time is written in the error memory so as to be used for correcting the input signal of the pixel thereafter (S115). Next, when the loop process is executed N times for the input pixel, the number of repetitions is measured (S116). If the process has been completed N times, an averaged signal is output (S117).
Returning to step 2, the operation is repeatedly executed. Then, it is determined whether or not the target pixel is the last pixel on the screen. If the target pixel is the last pixel, the process ends (S118). Otherwise, the processes from S111 onward are repeated. Execute. As described above, even when the signal processing of the present signal processing apparatus is implemented by software, the overlapping processing between the color conversion processing and the error calculation processing, which have been performed completely separately in the past, is reduced to an error. Since it is executed based on the conversion table during the repetition processing of the diffusion processing, it goes without saying that the processing can be sped up.

【0034】なお、通常の信号処理において、画像の左
右上下の端部に終端処理が施されるのと同様、本実施の
形態に係る信号処理でも終端処理を施す必要があるが、
どのような終端処理方法を採用しても構わない。
In the normal signal processing, the signal processing according to the present embodiment needs to be terminated in the same way as the termination processing is performed on the left, right, upper, and lower edges of an image.
Any termination processing method may be adopted.

【0035】以上においては、白黒静止画像についての
信号処理への本発明の適用例を挙げたが、本発明は、カ
ラー静止画像についての信号処理に適用することもでき
る。以下、(1)RGB信号からCMY信号への信号変
換処理への適用例を図面を用いて説明するが、(2)R
GB信号から多色信号(CMYK信号)への信号変換処
理への適用、(3)RGB信号からパレットカラーへの
信号変換処理への適用、(4)RGB信号から白黒信号
への信号変換処理への適用、などへの展開も同様の装置
構成で実現できる。なお、これらの適用例は、あくまで
も一例として挙げたものであり、本発明により、入力信
号を、LAB,LUV,XYZ等、ひろく色彩光学の分
野における他の色信号にすることを妨げるものではな
い。入力信号と出力信号の、信号種類の数を制約するも
のでもない。
In the above, an example of applying the present invention to signal processing for a black-and-white still image has been described. However, the present invention can also be applied to signal processing for a color still image. Hereinafter, (1) an example of application to signal conversion processing from an RGB signal to a CMY signal will be described with reference to the drawings.
Application to signal conversion processing from GB signal to multi-color signal (CMYK signal), (3) Application to signal conversion processing from RGB signal to palette color, (4) Signal conversion processing from RGB signal to black and white signal And the like can be realized with the same device configuration. It should be noted that these application examples are merely examples, and the present invention does not prevent an input signal from being another color signal in the field of color optics such as LAB, LUV, and XYZ. . It does not limit the number of signal types of the input signal and the output signal.

【0036】(1)RGB信号からCMY信号への信号
変換処理への適用例 3種類の色信号で形成される画素の色は、図11に示す
ような3次元色空間RGB上の座標によって表される。
入力信号が8ビットであれば、この色空間の座標点は2
563個となる。このような3次元色空間RGB上の座
標として表される色信号をスキャナで取り込んでカラー
プリンタから出力させた場合等における色信号レベルと
印字濃度との関係は、両機器の特性に依存するために線
形にはならず、3次元的な非線形な特性を示す。このよ
うな特性を表すため、図11の3次元色空間RGB上の
全座標に出力信号Zを対応付ける変換表を作成すると、
これを格納するメモリの容量が増大する。そこで、本実
施の形態では、量子化回路14のメモリ容量の削減を図
るため、3次元色空間RGBを16レベル程度に粗量子
化し、その代表格子点の座標に相当する有する入力信号
の3色成分の組みわ合わせ(R,G,B)とこれに対応
する出力信号の3色成分の組み合わせ(C,M,Y)と
が登録された変換表を作成し、この変換表を量子化回路
14からアクセスできるメモリに格納しておく。そし
て、入力信号(R,G,B)の信号レベルが保存される
ように誤差拡散処理を実行する。
(1) Example of application to signal conversion processing from RGB signals to CMY signals The colors of pixels formed by three types of color signals are represented by coordinates in a three-dimensional color space RGB as shown in FIG. Is done.
If the input signal is 8 bits, the coordinate point of this color space is 2
The number is 563. Since the relationship between the color signal level and the print density in the case where such a color signal represented as coordinates in the three-dimensional color space RGB is captured by a scanner and output from a color printer depends on the characteristics of both devices, Does not become linear, but exhibits three-dimensional nonlinear characteristics. In order to represent such characteristics, when a conversion table that associates the output signal Z with all coordinates in the three-dimensional color space RGB of FIG. 11 is created,
The capacity of the memory for storing this increases. Therefore, in the present embodiment, in order to reduce the memory capacity of the quantization circuit 14, the three-dimensional color space RGB is coarsely quantized to about 16 levels, and the three colors of the input signal corresponding to the coordinates of the representative lattice point are obtained. A conversion table in which a combination of components (R, G, B) and a corresponding combination of three color components (C, M, Y) of an output signal are created, and this conversion table is stored in a quantization circuit. 14 is stored in a memory that can be accessed. Then, an error diffusion process is performed so that the signal levels of the input signals (R, G, B) are preserved.

【0037】この場合の信号処理装置11には、図12
に示すように、入力信号の各色成分R,G,Bごとに、
それぞれ、前述の信号補正回路13を搭載する必要があ
る。そして前述の白黒画像の信号処理の場合とは異な
り、量子化回路14は、これら信号補正回路13からの
補正信号の3色成分(R,G,B)を組み合わせたメモ
リアドレスを用いて、内蔵メモリの変換表から、出力信
号の3色成分の組み合わせ(C,M,Y)を読み出し、
誤差算出回路15は、各色成分ごとにそれぞれ量子化誤
差を算出し、誤差帰還回路16は、各色成分ごとの信号
補正回路13に帰還させる。
In this case, the signal processing device 11
As shown in the following, for each color component R, G, B of the input signal,
In each case, it is necessary to mount the signal correction circuit 13 described above. Unlike the case of the above-described signal processing of a black-and-white image, the quantization circuit 14 uses a memory address obtained by combining the three color components (R, G, B) of the correction signal from the signal correction circuit 13 with a built-in memory. The combination (C, M, Y) of the three color components of the output signal is read from the conversion table of the memory,
The error calculation circuit 15 calculates a quantization error for each color component, and the error feedback circuit 16 feeds back to the signal correction circuit 13 for each color component.

【0038】図11に示すような変換表は、図13のよ
うに半導体メモリで構成することができる。該メモリ
は、例えば信号処理を実行する回路と同じチップ上に実
装することで、高速なアクセスを実現することが出来
る。同様に画像データを記憶するメモリを同じチップ上
に搭載することも出来る。該メモリの入出力信号とし
て、図14に示すように、入力信号の上位ビットの組み
合わせをアドレス信号として、変換結果をメモリ読み出
しデータとする。また図3で示した、交点信号f(Z)を
合わせて記憶して置き、同時に読み出しを行えるように
する。
The conversion table as shown in FIG. 11 can be constituted by a semiconductor memory as shown in FIG. The memory can realize high-speed access by being mounted on the same chip as a circuit that executes signal processing, for example. Similarly, a memory for storing image data can be mounted on the same chip. As an input / output signal of the memory, as shown in FIG. 14, a combination of upper bits of the input signal is set as an address signal, and a conversion result is set as memory read data. Also, the intersection signal f (Z) shown in FIG. 3 is stored and stored together so that reading can be performed simultaneously.

【0039】このような構成の信号処理装置11によれ
ば、1画素当たりの再現階調数がせいぜい16レベル程
度に制限されるカラープリンタ等に適した粗い変換表を
用いても、相当な処理時間および大規模な演算回路を必
要とする代表格子点間の補間処理を行わなくても、前述
の白黒信号の信号変換の場合と同様に、画素の集合とし
ては、ガンマ特性曲線に漸近する優れた階調再現を得る
ことができる。すなわち、階調再現性を低下させること
なく、回路規模の縮小と処理の迅速化を図ることができ
る。
According to the signal processing device 11 having such a configuration, even if a rough conversion table suitable for a color printer or the like in which the number of reproduced gradations per pixel is limited to at most about 16 levels is used, considerable processing is required. As in the case of the above-described signal conversion of a monochrome signal, a set of pixels is asymptotically close to a gamma characteristic curve, without performing interpolation between representative grid points requiring time and a large-scale arithmetic circuit. Tones can be reproduced. That is, it is possible to reduce the circuit scale and speed up the processing without reducing the tone reproducibility.

【0040】本実施の形態では、変換表の作成時に3次
元色空間RGBを等分に粗量子化を行っているが、必ず
しも、そのようにする必要はない。例えば人物の肌等、
画面上で目立つ色に該当する領域を他の領域よりも細分
割すれば、階調再現性がさらに向上する。すなわち、変
換表の作成に際しては、再現される色全体において視覚
的な誤差が一定以下に抑制されるように3次元色空間R
GBを分割することが望ましく、そのようにすると、結
果的には、3次元色空間RGBの分割に粗密が生じる。
In this embodiment, when the conversion table is created, the three-dimensional color space RGB is roughly quantized equally, but it is not always necessary to do so. For example, human skin
If a region corresponding to a color conspicuous on the screen is subdivided more than other regions, tone reproducibility is further improved. That is, when creating the conversion table, the three-dimensional color space R is adjusted so that the visual error in the entire reproduced color is suppressed to a certain level or less.
It is desirable to divide the GB, and as a result, the division of the three-dimensional color space RGB will be uneven.

【0041】そこで、さらなる階調再現性の向上を図る
には、3次元色空間RGB上の細分割領域については別
途作成した変換表を各量子化回路14に登録し、信号補
正装置13からの補正信号に基づき、3次元色空間RG
B上の細分割領域または複数の細分割領域のうちの何れ
かに含まれるか否かを判定する。そして、各色ごとの量
子化回路14が参照する変換表を、判定結果に応じた変
換表に切り替えるようにすれば、3次元色空間全体を細
分割することなく、すなわち、変換表のサイズを大幅に
増大させることなく、より優れた色再現性を得ることが
できる。具体的には、3色成分の変換表を単一の半導体
メモリで構成し、メモリアドレスの設定によって変換表
の切り替えを実現すればよい。
In order to further improve the gradation reproducibility, a separately prepared conversion table is registered in each quantization circuit 14 for the subdivision area in the three-dimensional color space RGB, 3D color space RG based on the correction signal
It is determined whether it is included in any of the subdivided regions on B or a plurality of subdivided regions. If the conversion table referred to by the quantization circuit 14 for each color is switched to a conversion table according to the determination result, the entire three-dimensional color space is not subdivided, that is, the size of the conversion table is significantly increased. The color reproducibility can be more excellent without increasing the color reproducibility. Specifically, the conversion table of the three color components may be configured by a single semiconductor memory, and the conversion table may be switched by setting the memory address.

【0042】ところで、入力信号の各色成分RGBは、
それぞれ、固有の変動要因を有している。このような各
色固有の変動を抑制するには、信号処理装置11の前段
(入力側)または後段(出力側)に、内蔵メモリに格納
された変換表によってガンマ変換を行うガンマ変換回路
を各色成分ごとに設けることが望ましい。あるいは、信
号処理装置11の前段および後段の双方にガンマ変換回
路を配置してもよい。各色の入力信号(8ビット)のガ
ンマ変換は、8ビットアドレス信号でアクセスされる8
ビットデータ幅の変換表によって実現されることから、
各ガンマ変換回路12の内蔵メモリには256バイトの
容量があれば足りる。
By the way, each color component RGB of the input signal is
Each has its own variable factors. In order to suppress such a variation unique to each color, a gamma conversion circuit for performing gamma conversion based on a conversion table stored in a built-in memory is provided at a preceding stage (input side) or a subsequent stage (output side) of the signal processing device 11. It is desirable to provide for each. Alternatively, a gamma conversion circuit may be arranged in both the former stage and the latter stage of the signal processing device 11. The gamma conversion of the input signal (8 bits) of each color is performed by an 8-bit address signal.
Because it is realized by the conversion table of bit data width,
It is sufficient that the built-in memory of each gamma conversion circuit 12 has a capacity of 256 bytes.

【0043】なお、ここでは、入力信号の各色成分を個
別のガンマ変換回路でガンマ変換しているが、1台のガ
ンマ変換回路で全色の入力信号をそれぞれガンマ変換す
る場合には、その変換表が格納される内蔵メモリには2
56バイト×3色×1入力=768バイトの容量があれ
ばよい。また、RGB信号からCMYK信号への信号変
換の場合であれば構成をその変換表を格納するメモリに
は1024バイトの容量があればよい。
Here, each color component of the input signal is gamma-converted by an individual gamma conversion circuit. However, when one gamma conversion circuit performs gamma conversion on all color input signals, the conversion is performed. The internal memory where the table is stored is 2
It is sufficient if there is a capacity of 56 bytes × 3 colors × 1 input = 768 bytes. In the case of signal conversion from an RGB signal to a CMYK signal, the configuration may be such that a memory for storing the conversion table has a capacity of 1024 bytes.

【0044】また、誤差拡散処理によって形成されるド
ットの配置には規則性がなく、カラープリンタによって
各色のインクのドットが同一位置に記録できるとは限ら
ない。一般に、ドット数の少ない低濃度画像にあっては
ドットが重なりにくく、ドット数の多い高濃度画像にあ
ってはドットの重なりは避けにくい。このようなドット
の重なり具合によって、観者の視覚への映り方が異なる
ことがある。そこで、このような問題を解決するため
に、同一位置のある最初の出力信号に応じて残りの出力
信号を調整するようにしてもよい。例えば、CMYKの
順番で出力信号の演算を行う場合には、色成分Cの出力
信号が高めに振れると高濃度のCインクでドットが記録
されるため、残りの色成分MYKの出力信号から、信号
レベルを抑制する抑制信号を差し引き、残りの色成分M
YKの出力信号を調整するようにしてもよい。誤差信号
を帰還することによって、抑制信号によって変動する信
号が他の画素において加算されることになり、画像全体
の信号レベルを維持することができる。これにより、ド
ットの重なりが生じにくくなり、インクの発色をよくす
ることができる。
The arrangement of the dots formed by the error diffusion process is not regular, and it is not always possible for a color printer to record the dots of each color ink at the same position. Generally, in a low-density image with a small number of dots, dots are hardly overlapped, and in a high-density image with a large number of dots, dot overlap is difficult to avoid. Depending on how such dots overlap, the way the viewer sees the image may differ. In order to solve such a problem, the remaining output signals may be adjusted according to the first output signal at the same position. For example, when calculating the output signals in the order of CMYK, if the output signal of the color component C fluctuates higher, dots are printed with high-density C ink. The suppression signal for suppressing the signal level is subtracted, and the remaining color components M
The output signal of YK may be adjusted. By feeding back the error signal, a signal that fluctuates due to the suppression signal is added in another pixel, and the signal level of the entire image can be maintained. This makes it difficult for dots to overlap, thereby improving the color development of the ink.

【0045】(1−1)さらに具体的な装置構成例 図15に本発明を実現する装置構成の一例を示す。(1-1) More Specific Example of Apparatus Configuration FIG. 15 shows an example of an apparatus configuration for realizing the present invention.

【0046】白黒画像の多値データを入力信号Cとし
て、変換表に記憶されている特性曲線に基づく信号変換
を行い、さらにN(Nは1以上)回ループ演算の結果を
平均化して出力信号Zを得るものである。同様な構成で
カラー画像に適用できることは既に述べた。
Using the multivalued data of the black-and-white image as an input signal C, signal conversion is performed based on the characteristic curve stored in the conversion table, and the result of the loop operation is averaged N (N is 1 or more) times to obtain an output signal. Z is obtained. It has already been described that a similar configuration can be applied to a color image.

【0047】入力信号Cは、メモリ33で一時的に蓄積
することができる。このメモリ33から処理対象とする
画素のデータを読み出して、加算回路34で誤差信号E
を用いた補正を行い、補正信号Pを算出して量子化装置
14に送る。変換表19は特性曲線データなどを記憶し
たメモリ装置であり、このメモリアドレスをアドレス生
成回路30で作る。変換表19は複数種類の特性曲線を
記憶させておくこともできる。そしてメモリ33から読
み出した画素データを用いて色種類を判定する色領域判
定回路18の判定結果をアドレス生成回路30に入力し
て、メモリアドレスを調整することで変換表を切り替え
ることができる。変換表19の出力は、出力信号Zと、
誤差信号を算出するための交点信号f(Z)である。誤
差算出装置15は、出力信号Zを出力する際に発生する
誤差信号を入力信号の座標系で求めるための装置であ
り、誤差算出回路71が補正信号Pと交点信号f(Z)
を入力して算出する。誤差伝播回路32は、算出した誤
差信号Eを誤差帰還装置16に出力する際の減衰器の役
割を果たす。通常は誤差信号Eを減衰させること無く出
力するが、例えば入力画像のエッジ部分に処理対象画素
が位置する場合には減衰させることでエッジの保存を実
現する。例えば減衰器の動作はオンオフスイッチとする
ことができる。エッジ検出回路31を用いて検出したエ
ッジ変化の先頭画素については、それ以前の処理で発生
した誤差信号Eを伝えないように誤差伝播回路32をオ
フすることで、該先頭画素の信号レベルを補正しないこ
とで、画像のエッジ部を保存することができる。出力信
号Zは、平均化回路20に入力し、平均化出力信号を出
力する。
The input signal C can be temporarily stored in the memory 33. The data of the pixel to be processed is read from the memory 33, and the error signal E
And a correction signal P is calculated and sent to the quantization device 14. The conversion table 19 is a memory device storing characteristic curve data and the like, and this memory address is created by the address generation circuit 30. The conversion table 19 can store a plurality of types of characteristic curves. The conversion table can be switched by inputting the determination result of the color area determination circuit 18 for determining the color type using the pixel data read from the memory 33 to the address generation circuit 30 and adjusting the memory address. The output of the conversion table 19 is an output signal Z,
This is an intersection signal f (Z) for calculating an error signal. The error calculating device 15 is a device for obtaining an error signal generated when outputting the output signal Z in the coordinate system of the input signal, and the error calculating circuit 71 uses the correction signal P and the intersection signal f (Z).
To calculate. The error propagation circuit 32 plays a role of an attenuator when outputting the calculated error signal E to the error feedback device 16. Normally, the error signal E is output without being attenuated. However, for example, when the pixel to be processed is located at an edge portion of the input image, the edge is preserved by attenuating the error signal E. For example, the operation of the attenuator can be an on / off switch. For the leading pixel of the edge change detected using the edge detecting circuit 31, the error propagation circuit 32 is turned off so as not to transmit the error signal E generated in the previous processing, thereby correcting the signal level of the leading pixel. By not doing so, the edge portion of the image can be preserved. The output signal Z is input to the averaging circuit 20, and outputs an averaged output signal.

【0048】誤差帰還装置16は、上記のように算出し
た誤差信号Eを用いて対象画素を補正するための補正信
号を算出する。このために、既に処理済の画素について
の誤差信号を保存するレジスタと、該レジスタの信号を
用いて補正信号を算出する誤差配分回路13から構成す
る。レジスタは、ライン上の画素についての誤差信号を
記憶するメモリとすることも出来るが、ここでは2種の
レジスタで構成する例を示している。一つは誤差算出回
路15を用いて算出した誤差信号Eを記憶する前画素誤
差レジスタ36であり、もう一つは補正処理の残差信号
を記憶する残差レジスタ35である。信号配分回路37
は、両者のレジスタに記憶されている信号を適当な係数
の重み付け加算した結果を信号補正装置13に伝える。
さらに信号配分回路37は、両者のレジスタに記憶され
ている誤差信号の合計と、信号補正装置13に伝えた誤
差信号の差分を算出して、これを補正のために使わなか
った誤差信号の残りとして、残差レジスタ35に記憶す
る。このように残差レジスタ35が必要になるのは、前
記したように適当な係数の重み付けをすることで、合計
値を全て補正に利用しないための結果である。さらに信
号配分回路37には、例えば乱数発生回路組み込んで該
係数値を変動設定することでテキスチャと呼ばれる模様
の発生を防止することができる。このように前画素誤差
レジスタ36と残差レジスタ35を組み合わせること
で、発生した誤差信号を余すこと無く帰還させることが
できる。これらのレジスタの構成は限定するものではな
く、前画素誤差と残差を加算した値を記憶するレジスタ
を利用する構成、あるいは対象画素を含むラインメモリ
を利用する構成を利用することも出来る。
The error feedback device 16 uses the error signal E calculated as described above to calculate a correction signal for correcting the target pixel. For this purpose, it comprises a register for storing an error signal for a pixel which has already been processed, and an error distribution circuit 13 for calculating a correction signal using the signal of the register. The register may be a memory for storing an error signal for a pixel on a line, but here, an example is shown in which the register is composed of two types of registers. One is a pre-pixel error register 36 for storing an error signal E calculated by using the error calculation circuit 15, and the other is a residual register 35 for storing a residual signal of a correction process. Signal distribution circuit 37
Transmits to the signal correction device 13 the result of weighting and adding the signals stored in both registers with appropriate coefficients.
Further, the signal distribution circuit 37 calculates the difference between the sum of the error signals stored in the two registers and the error signal transmitted to the signal correction device 13, and calculates the remainder of the error signal not used for correction. Is stored in the residual register 35. The need for the residual register 35 in this way is a result of not using the total value for correction by weighting appropriate coefficients as described above. Further, the signal distribution circuit 37 is incorporated with, for example, a random number generation circuit to variably set the coefficient value, thereby preventing a pattern called a texture from being generated. By combining the previous pixel error register 36 and the residual register 35 in this way, it is possible to feed back the generated error signal without leaving it. The configuration of these registers is not limited, and a configuration using a register that stores a value obtained by adding a previous pixel error and a residual, or a configuration using a line memory including a target pixel can also be used.

【0049】このようにして入力信号Cの信号レベルを
保存しながら、特性曲線に基づく変換結果としての出力
信号Zを出力することができる。
In this way, the output signal Z as a conversion result based on the characteristic curve can be output while the signal level of the input signal C is preserved.

【0050】なお上記の動作説明は白黒画像の場合につ
いて例示したが、複数の色信号の組み合わせで表現され
るカラー画像についても同様の動作を行う。ただし、入
力した色信号Cの組み合わせ(あるいは補正信号Pの組
み合わせ)で変換表をひくことになる。変換表には、こ
れら組み合わせ色信号に対応した、同様に組み合わされ
た変換結果が記憶されており、この値をメモリから読み
出して出力することになる。
Although the above description has been given of the case of a monochrome image, the same operation is performed for a color image expressed by a combination of a plurality of color signals. However, the conversion table is determined by the combination of the input color signals C (or the combination of the correction signals P). The conversion table stores conversion results that are similarly combined corresponding to these combination color signals, and this value is read out from the memory and output.

【0051】図16(1)に量子化装置の構成を示す。
入力する補正信号Pからアドレス生成回路を用いて変換
表をひくためのアドレス信号を信号を作る。変換表は、
出力信号Zとf(Z)信号を記憶するメモリ装置で構成
する。変換表の内容は、あらかじめ書き込んでおくこと
も、外部から書き換えることもできる。図16(2)に
アドレス生成回路の具体的な構成例を示す。入力したR
GBに関する補正信号Pr,Pg,Pbの上位ビットを
取り出して、変換表のメモリアドレスとして出力する。
また、複数種類の変換表を用意して、切り替えながら利
用することもできる。例えば補正信号Pr,Pg,Pb
の上位ビットを用いて領域判定回路によって変換表を切
り替えるためのアドレス信号を出力する。この領域判定
回路は、入力と出力をあらかじめ対応づけたメモリ装置
で構成することができ、内容を外部から書き換えられる
ようにすることもできる。このようにして、例えば肌色
のように違いに敏感な色種類については、演算誤差を少
なくするように動作させることが出来る。
FIG. 16A shows the structure of the quantization device.
From the input correction signal P, an address generation circuit is used to generate an address signal for obtaining a conversion table. The conversion table is
It is composed of a memory device that stores the output signal Z and the f (Z) signal. The contents of the conversion table can be written in advance or rewritten externally. FIG. 16B shows a specific configuration example of the address generation circuit. R entered
The upper bits of the correction signals Pr, Pg, Pb relating to GB are extracted and output as the memory addresses of the conversion table.
Also, a plurality of types of conversion tables can be prepared and used while switching. For example, the correction signals Pr, Pg, Pb
An address signal for switching the conversion table by the area determination circuit is output by using the upper bits of. This area determination circuit can be constituted by a memory device in which inputs and outputs are associated in advance, and the contents can be rewritten from outside. In this manner, for a color type sensitive to a difference, such as a skin color, the operation can be performed so as to reduce the calculation error.

【0052】図17に誤差帰還装置16の具体的な構成
を示す。
FIG. 17 shows a specific configuration of the error feedback device 16.

【0053】入力した誤差信号Eを一時的に前画素誤差
レジスタ36に記憶する。また残差レジスタ35を用意
する。そして、係数回路が設定する係数値F0,F1
(F0+F1=1)を用いて、両者のレジスタ内容の重
み付け加算を行う重み回路と加算回路の演算結果を、信
号補正装置13へ渡す。ここで係数回路は、誤差分配に
よるテクスチャ発生を防止する目的にして乱数発生回路
に基づき係数値F0,F1を設定することも出来る。両
方のレジスタに記憶されている誤差信号と、信号補正装
置13へ伝達した誤差信号の差分を、残差信号として算
出する残差回路を通して残差レジスタ35に書き込む。
こうして、入力した誤差信号Eは残すことなく補正信号
算出のために帰還させることが出来る。この回路のメリ
ットは、ラインメモリを利用すること無く誤差信号の帰
還ループを構成することである。従来多くの方式は、2
次元的に近接する複数画素間の演算を実現するため、ラ
インメモリを用いて信号を記憶する手段を利用してい
た。本実施例は、元々独立した画素の信号演算であるこ
とから、乱数発生回路を用いた係数設定によりテクスチ
ャ発生の防止を実現している。この結果、ラインメモリ
を不要として回路構成を簡略に実現できるメリットがあ
る。
The input error signal E is temporarily stored in the previous pixel error register 36. Further, a residual register 35 is prepared. Then, coefficient values F0, F1 set by the coefficient circuit
Using (F0 + F1 = 1), the calculation results of the weighting circuit and the adding circuit for performing weighted addition of the contents of both registers are passed to the signal correction device 13. Here, the coefficient circuit may set the coefficient values F0 and F1 based on a random number generation circuit for the purpose of preventing the occurrence of texture due to error distribution. The difference between the error signal stored in both registers and the error signal transmitted to the signal correction device 13 is written to the residual register 35 through a residual circuit that calculates the residual signal.
In this manner, the input error signal E can be fed back for calculating the correction signal without being left. An advantage of this circuit is that a feedback loop for an error signal is formed without using a line memory. Conventionally, many methods use two
In order to realize an operation between a plurality of pixels that are dimensionally close to each other, a unit that stores a signal using a line memory has been used. In the present embodiment, since the signal operation is originally performed for an independent pixel, texture generation is prevented by setting a coefficient using a random number generation circuit. As a result, there is an advantage that the circuit configuration can be simply realized without the need for the line memory.

【0054】上記のような装置構成を用いて、(1)一
定の周期で信号を入力し、この周期に合わせて各回路が
動作する。(2)入力信号Cに誤差信号Eを帰還して補
正信号Pを作成する。(3)補正信号Pからアドレス信
号を作成し(4)変換表をひくことで出力信号Zと交点
信号f(Z)を求める。(5)交点信号f(Z)と補正
信号Pから算出した誤差信号Eをエッジ検出結果に基づ
き伝達のオンオフをする。(6)誤差信号Eは前画素誤
差レジスタに書き込み、(7)その内容を用いて誤差配
分を行ったのち、(8)入力信号に加算することで補正
信号を算出する。(9)出力信号Zは前記の変換表をひ
くタイミングで出力できる。これらの基本的な動作タイ
ミングは、様々な効果に基づいて変更することができ
る。例えば各回路の動作が速ければ、上記のステップ数
を削減することもできる。いずれも、全体の動作タイミ
ングを管理するスケジューラを備えることで実現でき
る。また、当然ながらソフトウェアによる上記手順の信
号処理を実現でき、あるいはソフトとハードの混在した
動作を実現することもできる。
Using the device configuration as described above, (1) a signal is input at a constant cycle, and each circuit operates in accordance with this cycle. (2) The error signal E is fed back to the input signal C to generate the correction signal P. (3) An address signal is created from the correction signal P, and (4) an output signal Z and an intersection signal f (Z) are obtained by referring to a conversion table. (5) The transmission of the error signal E calculated from the intersection signal f (Z) and the correction signal P is turned on / off based on the edge detection result. (6) The error signal E is written into the previous pixel error register, (7) error distribution is performed using the content, and (8) the correction signal is calculated by adding the error signal to the input signal. (9) The output signal Z can be output at a timing according to the conversion table. These basic operation timings can be changed based on various effects. For example, if the operation of each circuit is fast, the number of steps can be reduced. Both can be realized by providing a scheduler for managing the overall operation timing. Also, the signal processing of the above procedure can be realized by software, or an operation in which software and hardware are mixed can be realized.

【0055】(2)RGB信号から多色信号(CMYK
信号等)への信号変換処理への適用例 RGB信号を、RGB信号よりも色成分数が多いCMY
K信号に変換する場合には、信号処理装置には、図18
に示すように、入力信号の各色成分RGBごとに、それ
ぞれ、前述の信号補正回路13を搭載する必要がある。
また、誤差算出処理および誤差帰還処理は、入力信号の
どの色成分RGBに関しても、その処理内容が変わらな
いため、前述の誤差算出回路15および誤差帰還回路1
6は、色別のものを要しない。量子化回路14は、図1
1に示したと同様に、入力信号で構成された3次元空間
上の各代表点の座標(R,G,B)に4色信号CMYK
を対応付けた変換表により、各色成分の補正信号Pの組
み合わせに対応付けられた黒信号Kを生成する。そし
て、入力信号(R,G,B)の信号レベルを保存するよ
うに誤差拡散処理を実行する。その結果、変換後の信号
(C,M,Y,K)を出力する。
(2) From a RGB signal to a multicolor signal (CMYK)
Application example of signal conversion processing to RGB signals) CMY having more color components than RGB signals
When converting to a K signal, the signal processing device
As shown in (1), it is necessary to mount the above-described signal correction circuit 13 for each of the color components RGB of the input signal.
The error calculation processing and the error feedback processing do not change for any of the color components RGB of the input signal.
6 does not require one for each color. The quantization circuit 14 has the configuration shown in FIG.
1, the four-color signal CMYK is added to the coordinates (R, G, B) of each representative point on the three-dimensional space composed of the input signals.
Are generated, a black signal K associated with the combination of the correction signals P of the respective color components is generated. Then, an error diffusion process is performed so as to preserve the signal levels of the input signals (R, G, B). As a result, the converted signal (C, M, Y, K) is output.

【0056】ここでは、変換表を読み出すためのアドレ
ス生成において入力信号(R,G,B)の補正信号を利
用する。このため、黒信号Kについては、誤差算出回路
15および誤差帰還回路16は不要である。つまり、出
力信号の色数にかかわらず、入力信号の色数に基づく演
算処理を行えばよいことになる。3色信号を5色以上の
多色信号に信号変換する場合にも、基本的には、これと
同様な構成で対応することができる。したがって、この
構成を利用すれば、互いに濃度の異なるインク,特別に
調色されたインク等、色再現範囲を広くするためのイン
クで記録を行うプリントに対応することができ、また、
いずれも場合も、変換表の内容をあらかじめ書き込んで
おくことによって、より滑らかな階調再現を実現するこ
とができる。
Here, a correction signal of the input signal (R, G, B) is used in generating an address for reading the conversion table. Therefore, for the black signal K, the error calculation circuit 15 and the error feedback circuit 16 are unnecessary. That is, regardless of the number of colors of the output signal, the arithmetic processing based on the number of colors of the input signal may be performed. Basically, a similar configuration can be used to convert a three-color signal into a multicolor signal of five or more colors. Therefore, if this configuration is used, it is possible to cope with printing in which recording is performed with inks having a wide color reproduction range, such as inks having different densities, specially toned inks, and the like.
In any case, smoother gradation reproduction can be realized by writing the contents of the conversion table in advance.

【0057】このようにして、多色インクを用いたイン
クジェットプリンタ等による画像記録に適した信号処理
装置が実現される。
In this manner, a signal processing apparatus suitable for image recording by an ink-jet printer or the like using multi-color ink is realized.

【0058】(3)高速化処理のための回路構成例 信号処理の高速化を実現する回路構成を示す。(3) Example of circuit configuration for high-speed processing The circuit configuration for realizing high-speed signal processing is shown below.

【0059】(a)圧縮データを対象にした信号処理 本発明は、複数画素をまとめたブロック単位に色変換と
階調変換を実行することができる。例えば、図19に示
すようにブロック内を含まれる画素数よりも少ない種類
の近似色信号で表すデータ圧縮方式と組み合わせること
ができる。図中の例では、4×4画素のブロックを単位
として、内部の画素の持つ色の種類を、C1=(R1,
G1,B1),C2=(R2,G2,B2)という2種
類に限定することで、データ量を圧縮できる。例えば、
カラープリンタなどでは、画素密度が高いために、この
ようにブロック単位で色信号を近似しても画質への影響
はほとんどない。カラープリンタなどでは、印刷に利用
するインクの性質に合わせて色信号を変換する必要があ
る。また、プリンタの特性によって、画素単位で印字で
きる階調レベルに制約がある。例えば、インクジェット
プリンタでは、インクの種類としてシアン,マゼンタ,
イエローを使って、インクドットの階調レベルはON/
OFFの2階調である場合が多い。本発明では、このよ
うな出力装置の特性に合わせた信号変換を、上記のよう
なブロック単位の近似色信号に対して、色変換と階調変
換を実行する。そして変換後の信号を用いて伸長処理す
ることにより、画素単位の信号変換結果を得ることが出
来る。本発明を利用することで、高速に信号処理を実行
することが出来る。
(A) Signal Processing for Compressed Data According to the present invention, color conversion and gradation conversion can be executed for each block in which a plurality of pixels are put together. For example, as shown in FIG. 19, it can be combined with a data compression method in which the number of pixels included in the block is smaller than that of the approximate color signal. In the example shown in the figure, the color type of the internal pixels is represented by C1 = (R1,
G1, B1) and C2 = (R2, G2, B2) can reduce the data amount. For example,
In a color printer or the like, since the pixel density is high, even if the color signals are approximated in block units, the image quality is hardly affected. In a color printer or the like, it is necessary to convert a color signal according to the properties of ink used for printing. Further, there are restrictions on the gradation levels that can be printed in pixel units due to the characteristics of the printer. For example, in an ink jet printer, cyan, magenta,
Using yellow, the gradation level of the ink dot is ON /
In many cases, there are two gradations of OFF. In the present invention, the signal conversion adapted to the characteristics of the output device is performed by performing color conversion and gradation conversion on the approximate color signal in block units as described above. Then, by performing expansion processing using the converted signal, a signal conversion result in pixel units can be obtained. By utilizing the present invention, high-speed signal processing can be performed.

【0060】図20に示すような装置構成を示す。基本
的な構成は前記したものと同じであり、ブロック毎の近
似色信号を入力して、色変換と階調変換を実行すること
で高速化を実現することが出来る。圧縮処理,伸長処理
は、別の回路で実行することが出来る。
An apparatus configuration as shown in FIG. 20 is shown. The basic configuration is the same as that described above, and high speed can be realized by inputting an approximate color signal for each block and executing color conversion and gradation conversion. The compression processing and the decompression processing can be executed by another circuit.

【0061】(b)並列処理 前記(a)で説明したようにブロック内を複数の近似色
信号で表す場合には、該複数の近似色信号を時間的に並
列して信号処理を実行することで高速化を実現できる。
(B) Parallel processing When the inside of a block is represented by a plurality of approximate color signals as described in (a), signal processing is performed by temporally parallelizing the plurality of approximate color signals. Speed can be realized.

【0062】例えば図21に示すように、2系統の回路
を用意して信号処理を実行することができる。ここで、
変換表(メモリ)14の内容は両者の演算に共通に利用
できるものであるから、アクセス時刻のずれを設定する
ことで、2系統の信号処理回路で共通に利用すること
で、回路規模の削減ができる。
For example, as shown in FIG. 21, two systems of circuits can be prepared to execute signal processing. here,
Since the contents of the conversion table (memory) 14 can be used in common for both operations, setting the shift of the access time allows the two signal processing circuits to use the common, thereby reducing the circuit scale. Can be.

【0063】さらに6系統の信号処理回路を用意して、
2種類のRGB色信号を同時に処理実行するように構成
するならば、前記(a)で説明したブロック内の2種類
の近似色信号C1,C2をすべて並列処理することがで
き、高速化に効果がある。
Further, six signal processing circuits are prepared.
If the configuration is such that two types of RGB color signals are processed and executed simultaneously, all the two types of approximate color signals C1 and C2 in the block described in (a) can be processed in parallel, which is effective for speeding up. There is.

【0064】(c)変換表アクセス回数の削減 画像データでは、近接する画素の色信号が同一である場
合がある。同一の入力信号については、基本的には変換
結果も同一になる。このように、入力信号を変換する前
に観測することにより、例えば前画素と同一レベルであ
る場合には、既に作成済みの前画素の変換結果を出力す
ることで、該入力画素についての信号処理を削除するこ
とができる。
(C) Reduction of Conversion Table Access Counts In image data, color signals of adjacent pixels may be the same. For the same input signal, the conversion result is basically the same. In this way, by observing the input signal before conversion, for example, when the input pixel is at the same level as the previous pixel, the conversion result of the previously generated previous pixel is output, thereby performing signal processing on the input pixel. Can be deleted.

【0065】上記処理を実行するためには、図22に示
すように、既に処理済の色信号をラッチに一時記憶して
おき、入力色信号が前画素の色信号と同じ値である場合
には、変換結果をラッチから読み出して出力する。該ラ
ッチの構成は任意であり、いわゆるキャッシュメモリと
同様に構成することができる。
In order to execute the above processing, as shown in FIG. 22, the already processed color signal is temporarily stored in a latch, and when the input color signal has the same value as the color signal of the previous pixel, Reads the conversion result from the latch and outputs it. The configuration of the latch is arbitrary, and can be configured similarly to a so-called cache memory.

【0066】あるいは、白,黒,赤,青,緑などの、頻
繁に利用される特定の色信号に対応した変換結果をあら
かじめメモリに用意しておくこともできる。
Alternatively, conversion results corresponding to frequently used specific color signals such as white, black, red, blue, and green can be prepared in a memory in advance.

【0067】(4)画素飛び越し変換処理 画像データは、一つの画素をRGBなどの色信号を組み
合わせて表現する場合が多い。しかし、例えば液晶表示
装置などは、液晶素子による光スイッチと色フィルタの
組み合わせで構成される。すなわち、一つの画素は一つ
の色しか表示できない。例えば図23に示すように、R
GBの色フィルタを持つ液晶表示装置などにおいては、
それぞれの色信号が色フィルタの配置に対応した飛び越
し画素で表示されることになる。一方、テレビジョンな
どで用いられている色信号の形式は、表示装置の構成に
制約を持たせないためにも、一つの画素には三つの色信
号(例えばRGBなど)で構成している。このようなテ
レビジョン信号を、前記の液晶表示装置で表示するに
は、画素の色配置に合わせて、色信号を飛び越しながら
利用することになる。表示装置構成に合わせて、色信号
を飛び飛びに利用することの考え方として、次の二つが
ある。
(4) Pixel Skip Conversion Image data is often represented by combining one pixel with a color signal such as RGB. However, for example, a liquid crystal display device or the like is configured by a combination of an optical switch using a liquid crystal element and a color filter. That is, one pixel can display only one color. For example, as shown in FIG.
In a liquid crystal display device having a GB color filter,
Each color signal is displayed as a skip pixel corresponding to the arrangement of the color filters. On the other hand, the format of the color signal used in a television or the like includes three color signals (for example, RGB) in one pixel so as not to restrict the configuration of the display device. In order to display such a television signal on the liquid crystal display device, the color signal is used while jumping in accordance with the color arrangement of the pixels. There are the following two ideas for using color signals at intervals according to the display device configuration.

【0068】(a)飛び越されたk個の画素は、隣接画
素と同じ信号レベルに制約された仮想的な画素とする。
視覚的な積分効果により、仮想画素を含めた(k+1)
個の画素が同じ色信号を持っているものと認識される。
(A) The skipped k pixels are virtual pixels restricted to the same signal level as the adjacent pixels.
(K + 1) including virtual pixels due to visual integration effect
It is recognized that the pixels have the same color signal.

【0069】(b)飛び越されたk個の画素は、出力レ
ベルがゼロに制約されているとする。視覚的な積分効果
により、ゼロ制約の仮想画素を含めて色信号を持ってい
るものと認識される。
(B) It is assumed that the output level of the skipped k pixels is restricted to zero. Due to the visual integration effect, it is recognized as having a color signal including the zero-constrained virtual pixel.

【0070】上記(a)(b)の信号処理は、(k+
1)個のなかで色信号を持つ画素が、(k+1)個か、
あるいは1個か、という相違になる。すなわち出力信号
の倍率の問題に帰着できるため、信号処理の手順は同じ
として扱える。
The signal processing of (a) and (b) is (k +
1) pixels having color signals are (k + 1) pixels,
Or one. That is, since the problem can be reduced to the problem of the magnification of the output signal, the signal processing procedure can be treated as the same.

【0071】このような表示装置の特性に合わせて、色
信号変換と階調変換を行うことで、処理時間の短縮と回
路規模の削減、および画質の改善を実現する。本発明で
は図24に示すように、表示に利用されない飛び越し位
置にあるk個の画素については、出力信号を平均化する
ことで階調数の増加を実現することが出来る。
By performing color signal conversion and gradation conversion in accordance with the characteristics of the display device, it is possible to reduce the processing time, reduce the circuit scale, and improve the image quality. In the present invention, as shown in FIG. 24, the number of gray scales can be increased by averaging the output signals for k pixels at the jump position not used for display.

【0072】前記した構成例では、単一画素についてN
回ループ処理を行うことで階調数の増加を実現していた
が、本実施例では、飛び越し画素についてのk回の演算
が、前記のループ処理と同じ効果を実現する。飛び越し
画素については、前画素の出力信号が維持されているも
のとして、誤差の算出を行い、帰還する。
In the above configuration example, N is set for a single pixel.
Although the number of gradations has been increased by performing the loop processing, in the present embodiment, k operations on the interlaced pixels achieve the same effect as the loop processing. For the skipped pixel, the error is calculated and the feedback is performed, assuming that the output signal of the previous pixel is maintained.

【0073】また、単一画素についてのN回ループ処理
と、k個の飛び越し画素の処理を組み合わせて、表示画
素で用いる色信号について(N+k)回の繰り返し演算
の平均化出力を利用することで、変換誤差の収束を素早
くすることもできる。
Further, by combining the loop processing of N times for a single pixel and the processing of k interlaced pixels, the average output of (N + k) repetition operations for the color signal used for the display pixel is used. In addition, the conversion error can be quickly converged.

【0074】この結果、表示装置の色配置に合わせた信
号変換と階調変換を行うことで、信号処理の負荷を削減
することが出来る。
As a result, by performing signal conversion and gradation conversion according to the color arrangement of the display device, the load of signal processing can be reduced.

【0075】また、飛び越し画素に対応した色信号に、
大きな信号レベルの変化がある場合には、該画素位置に
画像のエッジ部が位置するものと判断できる。このよう
な、信号変化が大きく出現した場合においては、誤差成
分を帰還することの意味は少ないため、スイッチ回路を
設けて帰還信号のオンオフを行うことが出来る。
Further, the color signal corresponding to the skipped pixel is
If there is a large change in the signal level, it can be determined that the edge of the image is located at the pixel position. In the case where such a signal change appears significantly, the feedback of the error component is of little significance, so that a switch circuit can be provided to turn on and off the feedback signal.

【0076】(6)変換表を作成・使用する手段 変換表の色較正について説明する。ただし、ここでは、
本発明に係る信号処理をソフトウエアで実現した場合を
例に挙げる。例えば、図25に示すように、スキャナ5
0から読み込んだカラー画像データを、プリンタ52で
出力する構成の場合をあげる。該装置の色補正装置58
は、あらかじめ入出力機器の特生息手の結果に基づく、
色変換表を用意しておく。しかし、予め作成した色信号
の再現特性に、何らかの要因によって変動が生じること
がある。例えば、カラーレーザープリンタにおいては、
温湿度による感光体の帯電特性の変化,トナーの帯電特
性の変化等が、色信号の再現特性の変動要因になる。
(6) Means for Creating and Using Conversion Table The color calibration of the conversion table will be described. However, here,
The case where the signal processing according to the present invention is realized by software will be described as an example. For example, as shown in FIG.
A case will be described in which the color image data read from 0 is output by the printer 52. Color correction device 58 of the device
Is based on the results of the special inhabitants of the input / output devices in advance.
Prepare a color conversion table. However, the reproduction characteristics of the color signals created in advance may fluctuate due to some factors. For example, in a color laser printer,
Changes in the charging characteristics of the photoconductor due to temperature and humidity, changes in the charging characteristics of the toner, and the like are factors that cause variations in the reproduction characteristics of color signals.

【0077】このような変動要因(例えば、温湿度等)
を直接測定し、その測定結果に基づいて、色信号の再現
特性の変動を抑制することができるが、色信号の再現特
性が経時的に変化する場合等、変動要因と因果関係が必
ずしも明らかとは言えない場合には、印刷結果を測定
し、その測定結果に基づいて、色信号の再現特性の変動
を抑制する必要がある。また、例えば工場出荷時の検査
結果に基づき、機器毎の特性ばらつきを補正する必要も
ある。
Factors such as these (eg, temperature and humidity)
Can be measured directly, and based on the measurement result, fluctuations in the reproduction characteristics of the color signal can be suppressed.However, when the reproduction characteristics of the color signal change over time, the cause of the fluctuation and the causal relationship are not always clear. If it cannot be said, it is necessary to measure the print result and suppress the fluctuation of the reproduction characteristics of the color signal based on the measurement result. Further, for example, it is necessary to correct the characteristic variation for each device based on the inspection result at the time of factory shipment.

【0078】これらの変動を抑制するには、表示装置や
印刷物の再現色を画像入力装置に入力してから、その入
力データに基づいて変換表を作成する必要がある。そこ
で、本実施の形態では、パソコンとプリンタを組み合わ
せて動作する較正モードを予め用意しておき、ユーザ
が、この較正モードの起動によって変換表を作成するこ
とができるようにしている。具体的には図26に示すよ
うに、較正モードが起動されると(S100)、パーソ
ナルコンピュータは、初期化の一つとして既存データを
変換表に仮設定する(S101)。
To suppress these fluctuations, it is necessary to input a reproduced color of a display device or a printed matter to an image input device, and then create a conversion table based on the input data. Thus, in the present embodiment, a calibration mode that operates by combining a personal computer and a printer is prepared in advance, and the user can create a conversion table by activating the calibration mode. Specifically, as shown in FIG. 26, when the calibration mode is activated (S100), the personal computer temporarily sets existing data in a conversion table as one of initializations (S101).

【0079】そして、予め準備された較正用カラーパッ
チの印字データをプリンタから出力し(S102)、こ
のプリンタ出力を分光光度計などの測定専用センサまた
は汎用入力装置(スキャナ,デジタルカメラ等)227に
よって測定する(S103)。測定結果を、較正用パッチ
データと比較して所望の色再現特性と誤差が少ないか否
かを判定して(S104)、小さいようであれば終了す
る。誤差が大きいようであれば、所望の色再現特性を実
現するために必要な変換表更新のための演算を実行する
(S105)。そして、パーソナルコンピュータは、こ
の変換表を、前述の信号処理が定義されたソフトウエア
の実行中に利用するための変換表として、フラッシュメ
モリ等の不揮発性メモリに格納してから、処理完了のメ
ッセージを出力する(S106)。上記手順は、場合に
よっては、誤差が収束していくまで複数回のループを繰
り返す。
Then, the print data of the calibration color patch prepared in advance is output from the printer (S102), and the output of the printer is output by a measurement-specific sensor such as a spectrophotometer or a general-purpose input device (scanner, digital camera, etc.) 227. The measurement is performed (S103). The measurement result is compared with the calibration patch data to determine whether or not the desired color reproduction characteristic and the error are small (S104). If the error is large, an operation for updating the conversion table necessary to realize the desired color reproduction characteristics is executed (S105). Then, the personal computer stores the conversion table in a non-volatile memory such as a flash memory as a conversion table to be used during execution of the software in which the above-described signal processing is defined. Is output (S106). In some cases, the above procedure repeats a plurality of loops until the error converges.

【0080】あるいは、あらかじめ複数種類の変換表を
作成し、メモリに蓄積しておき、プリンタなどの出力装
置からの特性信号の帰還信号に基づき、いずれかの変換
表を選択して使用することで、出力装置の特性に合わせ
た信号処理を実現することもできる。ここで、出力装置
の特性信号としては、機器の温度,環境湿度,環境照明
光,使用する紙などの信号を利用できる。温度,湿度な
どは、機器に組み込んだセンサからの信号をフィードバ
ックすることができる。このような、出力装置の特性に
基づき、本発明で述べた信号処理によって信号補正する
ことで、色の再現性を高めることができる。図27に示
すように、CPU60からアクセスできるメモリ63、
画像データ,色変換表のデータなどを配置して、処理実
行に伴いながらメモリデータを入出力しながら、本発明
の処理を実行する。これらのデータを同一のメモリ装置
に記憶して、アクセス時刻をずらしながら入出力するこ
とで処理を実行することが出来る。信号処理は、専用の
回路で構成しても良く、CPU60のソフトウェアで実
行できることは言うまでもない。上記の信号処理回路と
メモリ素子を、同一のLSIチップ上に搭載すること
で、メモリアクセス時間の短縮と入出力データ幅の拡大
を実現することで、信号処理の実行速度を向上させるこ
とができる。
Alternatively, a plurality of types of conversion tables are created in advance, stored in a memory, and one of the conversion tables is selected and used based on a feedback signal of a characteristic signal from an output device such as a printer. It is also possible to realize signal processing according to the characteristics of the output device. Here, as the characteristic signal of the output device, a signal of the temperature of the device, the environmental humidity, the environmental illumination light, the paper used, or the like can be used. For the temperature, humidity, and the like, a signal from a sensor incorporated in the device can be fed back. By performing signal correction by the signal processing described in the present invention based on such characteristics of the output device, color reproducibility can be improved. As shown in FIG. 27, a memory 63 accessible from the CPU 60,
The processing of the present invention is executed while arranging image data, data of a color conversion table, and the like, and inputting and outputting memory data as the processing is executed. The processing can be executed by storing these data in the same memory device and inputting and outputting the data while shifting the access time. The signal processing may be configured by a dedicated circuit, and it goes without saying that the signal processing can be executed by software of the CPU 60. By mounting the signal processing circuit and the memory element on the same LSI chip, it is possible to shorten the memory access time and increase the input / output data width, thereby improving the signal processing execution speed. .

【0081】[0081]

【発明の効果】本発明によれば、色信号の変換処理およ
び階調変換処理の双方を、小規模な回路構成で高速に実
行することができる信号処理方法および信号処理装置を
提供できる。
According to the present invention, it is possible to provide a signal processing method and a signal processing apparatus capable of executing both the color signal conversion processing and the gradation conversion processing at a high speed with a small-scale circuit configuration.

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

【図1】本発明の実施の一形態に係る信号処理装置の概
略回路構成図である。
FIG. 1 is a schematic circuit configuration diagram of a signal processing device according to an embodiment of the present invention.

【図2】本発明の実施の一形態に係る画素の配置例,注
目画素と参照画素との位置関係を示した図である。
FIG. 2 is a diagram showing a pixel arrangement example and a positional relationship between a target pixel and a reference pixel according to an embodiment of the present invention.

【図3】本発明の実施の一形態に係る変換表の内容を例
示した図である。
FIG. 3 is a diagram exemplifying the contents of a conversion table according to an embodiment of the present invention.

【図4】変換表の一部を拡大表示して、本発明の動作を
説明するための図である。
FIG. 4 is a diagram for explaining an operation of the present invention by enlarging and displaying a part of a conversion table.

【図5】誤差拡散処理の動作を数値例を用いて説明する
ための図である。
FIG. 5 is a diagram for explaining the operation of the error diffusion process using a numerical example.

【図6】本発明の実施の一形態に係る信号処理装置の概
略回路構成図であり、平均化回路の構成の一例を示した
図である。
FIG. 6 is a schematic circuit configuration diagram of a signal processing device according to an embodiment of the present invention, illustrating an example of the configuration of an averaging circuit.

【図7】本発明の回路構成の動作を数値例を用いて説明
するための図である。
FIG. 7 is a diagram for explaining the operation of the circuit configuration of the present invention using numerical examples.

【図8】本発明の回路構成の動作を数値例を用いて説明
するための図である。
FIG. 8 is a diagram for explaining the operation of the circuit configuration of the present invention using a numerical example.

【図9】本発明の実施の一形態に係る信号処理装置の概
略回路構成図であり、平均化回路と量子化回路の構成の
一例を示した図である。
FIG. 9 is a schematic circuit configuration diagram of a signal processing device according to an embodiment of the present invention, showing an example of the configuration of an averaging circuit and a quantization circuit.

【図10】本発明の実施の一形態に係る信号処理方法の
フローチャートを示した図である。
FIG. 10 is a diagram illustrating a flowchart of a signal processing method according to an embodiment of the present invention.

【図11】(A)は、3次元色空間を示した図であり、
(B)は、その変換表のデータ構造を説明するための図
である。
FIG. 11A is a diagram showing a three-dimensional color space;
(B) is a diagram for explaining the data structure of the conversion table.

【図12】本発明の実施の一形態に係る信号処理装置の
概略回路構成図である。
FIG. 12 is a schematic circuit configuration diagram of a signal processing device according to an embodiment of the present invention.

【図13】3次元色空間と、変換表を格納するメモリ構
成を示した図である。
FIG. 13 is a diagram showing a three-dimensional color space and a memory configuration for storing a conversion table.

【図14】変換表を格納するメモリの入出力信号の構成
例を示した図である。
FIG. 14 is a diagram illustrating a configuration example of input / output signals of a memory that stores a conversion table.

【図15】本発明の実施の一形態に係る信号処理装置の
概略回路構成図である。
FIG. 15 is a schematic circuit configuration diagram of a signal processing device according to an embodiment of the present invention.

【図16】量子化回路の回路構成の一例を示した図であ
る。
FIG. 16 is a diagram illustrating an example of a circuit configuration of a quantization circuit.

【図17】誤差算出回路の回路構成の一例を示した図で
ある。
FIG. 17 is a diagram illustrating an example of a circuit configuration of an error calculation circuit.

【図18】本発明の実施の一形態に係る信号処理装置の
概略回路構成図である。
FIG. 18 is a schematic circuit configuration diagram of a signal processing device according to an embodiment of the present invention.

【図19】カラー画像の圧縮方式と組み合わせた本発明
の実施の処理手順の説明図である。
FIG. 19 is an explanatory diagram of a processing procedure of the embodiment of the present invention in combination with a color image compression method.

【図20】カラー画像の圧縮方式と組み合わせた本発明
の実施の一形態に係る信号処理装置の概略回路構成図で
ある。
FIG. 20 is a schematic circuit configuration diagram of a signal processing device according to an embodiment of the present invention, which is combined with a color image compression method.

【図21】本発明の実施の一形態に係る信号処理装置の
概略回路構成図である。
FIG. 21 is a schematic circuit configuration diagram of a signal processing device according to an embodiment of the present invention.

【図22】本発明の実施の一形態に係る信号処理装置の
概略回路構成図である。
FIG. 22 is a schematic circuit configuration diagram of a signal processing device according to an embodiment of the present invention.

【図23】カラー画像の画素と色信号の対応を説明する
ための図である。
FIG. 23 is a diagram for explaining the correspondence between pixels of a color image and color signals.

【図24】カラー画像の表示装置特性対応した本発明の
動作タイミングを示す図である。
FIG. 24 is a diagram showing the operation timing of the present invention corresponding to the display device characteristics of a color image.

【図25】本発明の実施の一形態に係る画像処理システ
ムの概略構成図である。
FIG. 25 is a schematic configuration diagram of an image processing system according to an embodiment of the present invention.

【図26】本発明の実施の一形態に係る信号処理方法の
フローチャートを示した図である。
FIG. 26 is a view illustrating a flowchart of a signal processing method according to an embodiment of the present invention.

【図27】本発明の実施の一形態に係る画像処理システ
ムの概略構成図である。
FIG. 27 is a schematic configuration diagram of an image processing system according to an embodiment of the present invention.

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

11…信号処理回路、13…信号補正回路、14…量子
化回路、15…誤差算出回路、16…誤差帰還回路、1
8…色領域判定回路、20…平均化回路、21…出力量
子化回路。
11 signal processing circuit, 13 signal correction circuit, 14 quantization circuit, 15 error calculation circuit, 16 error feedback circuit, 1
8: color region determination circuit, 20: averaging circuit, 21: output quantization circuit.

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B057 CA01 CA02 CA08 CA12 CA16 CB01 CB02 CB08 CB12 CB16 CE11 CE17 CE18 CH01 CH07 CH11 CH18 DB02 DB05 DB06 DB09 DC25 5C077 LL17 LL18 MP01 MP08 NN11 NP01 PP15 PP32 PP33 PP37 PP46 PQ08 PQ12 PQ18 PQ23 5C079 HB01 HB03 HB12 LA12 LA31 LB02 LC09 MA04 MA11 NA09 NA11  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5B057 CA01 CA02 CA08 CA12 CA16 CB01 CB02 CB08 CB12 CB16 CE11 CE17 CE18 CH01 CH07 CH11 CH18 DB02 DB05 DB06 DB09 DC25 5C077 LL17 LL18 MP01 MP08 NN11 NP01 PP15 PP32 PP08 PQ23 5C079 HB01 HB03 HB12 LA12 LA31 LB02 LC09 MA04 MA11 NA09 NA11

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】互いに異なる座標系の座標として表された
2種類の信号を画素ごとに対応付けた変換表が格納され
たメモリと、 前記各画素の入力信号を、前記変換表において当該入力
信号に対応付けられた信号に逐次変換する量子化回路
と、 前記量子化回路が1画素についての信号変換を行うごと
に、当該信号変換の誤差を逐次算出する誤差算出回路
と、 前記誤差算出回路が算出した誤差を、前記信号変換回路
による信号変換前の入力信号に拡散させる信号補正回路
とを有する信号処理装置。
1. A memory storing a conversion table in which two types of signals represented as coordinates in mutually different coordinate systems are associated with each pixel, and an input signal of each pixel is stored in the conversion table. A quantization circuit that sequentially converts the signal into a signal associated with: an error calculation circuit that sequentially calculates an error of the signal conversion each time the quantization circuit performs signal conversion for one pixel; A signal correction circuit for spreading the calculated error to an input signal before signal conversion by the signal conversion circuit.
【請求項2】請求項1の信号処理装置であって、 前記入力信号の特性を判定する判定回路を有し、 前記メモリは、前記入力信号の特性ごとの変換表を記憶
し、 前記量子化回路は、前記判定回路の判定結果に応じた変
換表に基づき前記信号変換を行う信号処理装置。
2. The signal processing device according to claim 1, further comprising: a determination circuit for determining a characteristic of the input signal; wherein the memory stores a conversion table for each characteristic of the input signal; A signal processing device that performs the signal conversion based on a conversion table according to a determination result of the determination circuit.
【請求項3】請求項1または2記載の信号処理装置であ
って、 前記変換表は、前記入力信号を、当該入力信号の色成分
よりも多くの色成分を有する出力信号に対応付け、 前記量子化回路は、前記入力信号を、当該入力信号の数
よりも多い出力信号に変換する信号処理装置。
3. The signal processing device according to claim 1, wherein the conversion table associates the input signal with an output signal having more color components than the input signal. A signal processing device, wherein the quantization circuit converts the input signal into an output signal whose number is larger than the number of the input signals.
【請求項4】請求項1または2項記載の信号処理装置で
あって、 前記変換表は、出力信号の出力先である装置からの帰還
信号に基づき内容を書きかえる手段、もしくは複数の変
換表のいずれかを選択する手段を有する信号処理装置。
4. The signal processing device according to claim 1, wherein said conversion table is a means for rewriting contents based on a feedback signal from a device to which an output signal is output, or a plurality of conversion tables. A signal processing device having means for selecting any one of the following.
【請求項5】請求項1または2項記載の信号処理装置で
あって、 一つの入力信号を対象にしてN回の繰り返し演算を行
い、該N回の出力信号の平均化の結果を出力信号とする
信号処理装置。
5. The signal processing device according to claim 1, wherein N repetitive operations are performed on one input signal, and a result of averaging the N output signals is output. Signal processing device.
【請求項6】量子化工程では、互いに異なる座標系の座
標として表された2種類の信号を画素ごとに対応付けた
変換表に基づき、前記各画素の入力信号を、当該入力信
号に対応付けられた信号に逐次変換し、 誤差算出工程では、1画素についての信号変換が行われ
るごとに、当該信号変換の誤差を逐次算出し、 信号補正工程では、前記量子化工程による信号変換前の
入力信号に、前記誤差算出工程により算出された誤差を
拡散する信号処理方法。
6. A quantization step in which an input signal of each pixel is associated with the input signal based on a conversion table in which two types of signals represented as coordinates in mutually different coordinate systems are associated with each pixel. In the error calculation step, each time signal conversion is performed for one pixel, an error of the signal conversion is sequentially calculated. In the signal correction step, the input before the signal conversion by the quantization step is performed. A signal processing method for diffusing an error calculated in the error calculation step into a signal.
JP11173698A 1999-06-21 1999-06-21 Signal processor and signal processing method Pending JP2001008043A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11173698A JP2001008043A (en) 1999-06-21 1999-06-21 Signal processor and signal processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11173698A JP2001008043A (en) 1999-06-21 1999-06-21 Signal processor and signal processing method

Publications (1)

Publication Number Publication Date
JP2001008043A true JP2001008043A (en) 2001-01-12

Family

ID=15965473

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11173698A Pending JP2001008043A (en) 1999-06-21 1999-06-21 Signal processor and signal processing method

Country Status (1)

Country Link
JP (1) JP2001008043A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100444714B1 (en) * 2001-10-05 2004-08-16 가부시키가이샤 히타치세이사쿠쇼 Image processing apparatus and image processing method
JP2008211289A (en) * 2007-02-23 2008-09-11 Fuji Xerox Co Ltd Image processor, image processing system and program
JP2009027614A (en) * 2007-07-23 2009-02-05 Brother Ind Ltd Conversion table creation apparatus, conversion table creation program and conversion table creation method
JP2012080464A (en) * 2010-10-05 2012-04-19 Fuji Xerox Co Ltd Image processing device, image formation device, and image processing program
JP2012129849A (en) * 2010-12-16 2012-07-05 Nec Network & Sensor Systems Ltd Digital-to-analog conversion device and method of controlling the same

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100444714B1 (en) * 2001-10-05 2004-08-16 가부시키가이샤 히타치세이사쿠쇼 Image processing apparatus and image processing method
JP2008211289A (en) * 2007-02-23 2008-09-11 Fuji Xerox Co Ltd Image processor, image processing system and program
JP2009027614A (en) * 2007-07-23 2009-02-05 Brother Ind Ltd Conversion table creation apparatus, conversion table creation program and conversion table creation method
US8134574B2 (en) 2007-07-23 2012-03-13 Brother Kogyo Kabushiki Kaisha Conversion table creating device, storage medium storing conversion table creating program, and conversion table creating method
JP2012080464A (en) * 2010-10-05 2012-04-19 Fuji Xerox Co Ltd Image processing device, image formation device, and image processing program
JP2012129849A (en) * 2010-12-16 2012-07-05 Nec Network & Sensor Systems Ltd Digital-to-analog conversion device and method of controlling the same

Similar Documents

Publication Publication Date Title
US5553199A (en) Method and apparatus for calibrating a four color printer
KR100194988B1 (en) Image processing apparatus and method
US20010035989A1 (en) Method, apparatus and recording medium for color correction
US6185004B1 (en) Self-calibration for color image reproduction system
JP2000333033A (en) Method and device for compensation conversion and recording medium
US20020008762A1 (en) Method, apparatus and recording medium for image processing
JP2001128022A (en) Picture processor, picture processing method, recording medium and computer program
US7522309B2 (en) Image processing method, image processing apparatus and storage medium storing a program
US6160644A (en) Scanner calibration technique to overcome tone inversion
JP4062924B2 (en) Color image processing method and color image processing apparatus
JP2000056525A (en) Image forming device/method
JP5491073B2 (en) Image processing apparatus, image processing method, and program
JP5854066B2 (en) Color processing apparatus, image forming apparatus, and program
US7679783B2 (en) System and method for extracting grayscale data within a prescribed tolerance
JP2001008043A (en) Signal processor and signal processing method
JP4429439B2 (en) Color conversion method and conversion processor
JP2008113364A (en) Image processor, processing circuit, and processing method, and program
JP2007151055A6 (en) Image processing apparatus, image processing method, and image processing program
JP2007151055A (en) Image processing equipment, image processing method, and image processing program
JPH0946529A (en) Image processing unit and method
JP2000307881A (en) Device and method for signal processing
JP2002015314A (en) Image outputting method, device, and storage medium
JPH10198793A (en) Image processor
JP5408063B2 (en) Calibration method, program, and calibration system
JP2000253255A (en) Signal processor and signal processing system