JPH08114870A - Method and device interpolating multi-dimension - Google Patents
Method and device interpolating multi-dimensionInfo
- Publication number
- JPH08114870A JPH08114870A JP25192594A JP25192594A JPH08114870A JP H08114870 A JPH08114870 A JP H08114870A JP 25192594 A JP25192594 A JP 25192594A JP 25192594 A JP25192594 A JP 25192594A JP H08114870 A JPH08114870 A JP H08114870A
- Authority
- JP
- Japan
- Prior art keywords
- interpolation
- data
- lut
- dimensional
- bits
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims description 23
- 238000004364 calculation method Methods 0.000 claims description 58
- 239000003086 colorant Substances 0.000 claims description 25
- 238000010586 diagram Methods 0.000 description 13
- 230000015654 memory Effects 0.000 description 8
- 238000006243 chemical reaction Methods 0.000 description 4
- 101100021996 Arabidopsis thaliana CYP97C1 gene Proteins 0.000 description 2
- 230000010354 integration Effects 0.000 description 2
- 238000012935 Averaging Methods 0.000 description 1
- 230000035508 accumulation Effects 0.000 description 1
- 238000009825 accumulation Methods 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 239000013256 coordination polymer Substances 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Landscapes
- Control Of Exposure In Printing And Copying (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は多次元補間方法及び装置
に関する。FIELD OF THE INVENTION The present invention relates to a multidimensional interpolation method and apparatus.
【0002】[0002]
【従来の技術】カラー画像印刷装置等においては、印刷
された画像の視覚特性を向上させるために、読み取った
カラー画像データに色変換を行なって別の色系統に変換
することが行われている。この色変換装置としては、L
UT(ルックアップテーブル)と補間演算装置を用いる
ものがある。この装置は、入力画像データをアドレスと
してLUTをアクセスして変換画像データを出力し、L
UTに記憶されていない画像データについては、格子点
位置のLUTの出力に、補間演算装置である重み係数を
乗算する処理を行なって補間を行なうものである。2. Description of the Related Art In a color image printing apparatus or the like, in order to improve the visual characteristics of a printed image, the read color image data is color-converted to another color system. . As this color conversion device, L
Some use a UT (look-up table) and an interpolation calculation device. This device uses the input image data as an address to access the LUT, outputs the converted image data, and outputs L
For the image data not stored in the UT, the output of the LUT at the grid point position is multiplied by a weighting coefficient, which is an interpolation calculation device, to perform interpolation.
【0003】従来の色変換装置としては、以下のような
ものがある。 (1)立方体補間(8点補間。英国特許1369702
号)図6は立方体補間の説明図である。(a)は元の空
間、(b)は変換先の空間である。元の空間はR,G,
B空間、変換先の空間はY,M,C空間である。まず、
(a)に示す立方体内の任意の1点Pを軸として図に示
すように8個の直方体に分割する。分割されたそれぞれ
の空間の体積をVi(i=0〜7)とする。この時、変
換先の空間に写像される点P’の補間値は次式で与えら
れる。The following are conventional color conversion devices. (1) Cubic interpolation (8-point interpolation. British Patent 1369702)
No.) FIG. 6 is an explanatory diagram of cubic interpolation. (A) is the original space, and (b) is the conversion destination space. The original space is R, G,
The B space and the destination space are the Y, M, and C spaces. First,
As shown in the figure, it is divided into eight rectangular parallelepipeds with an arbitrary point P in the cube shown in (a) as an axis. The volume of each divided space is Vi (i = 0 to 7). At this time, the interpolated value of the point P'mapped in the conversion destination space is given by the following equation.
【0004】[0004]
【数1】 [Equation 1]
【0005】ここで、Piは既に求まっている元の空間
の値、Viは点Pにより分割された立方体Vを構成する
8個の直方体の体積、Vは元の直方体の体積である。 (2)三角錐補間(4点補間。特開昭53−12320
1号)図7は三角錐補間の説明図である。三角錐補間
は、3次元の画像データ入力に対応するデータが蓄積さ
れたメモリ空間に対して、画像データを入力して変換デ
ータを求めるに際し、前記メモリ空間アドレスを構成す
る立方体を複数個の三角錐に分割し、画像データ入力に
対して当該入力値に対応する点が分割された三角錐のい
ずれに含まれているか判別し、次に判別された三角錐の
各頂点における値(4個)を用いて、その内部の点を補
間により求めるものである。Here, Pi is the value of the original space that has already been obtained, Vi is the volume of the eight rectangular parallelepipeds forming the cube V divided by the point P, and V is the volume of the original rectangular parallelepiped. (2) Triangular pyramid interpolation (4-point interpolation. JP-A-53-12320)
(No. 1) FIG. 7 is an explanatory diagram of triangular pyramid interpolation. Triangular pyramid interpolation is a method of inputting image data into a memory space in which data corresponding to three-dimensional image data input is stored and obtaining converted data. Divide into pyramids, determine which of the divided triangular pyramids the point corresponding to the input value is included in the image data input, and then the value at each vertex of the determined triangular pyramids (4) Is used to find the internal points by interpolation.
【0006】図7において、(a)は1辺の長さLの立
方体を原点aから各頂点を結ぶ軸によって6個の三角錐
に分割した状態を示し、(b)はそれを分解した図であ
る。この時の、任意の三角錐内の点の補間値P’は次式
で与えられる。 P’=(L−A)×P1+(A−B)×P2+(B−C)×P3+C (2) ここで、A,B,Cは入力データの下位桁を示し、A>
B>Cの関係にあるものとし、Piは既に求まっている
相手の空間の値(3次元座標値)である。In FIG. 7, (a) shows a state in which a cube having one side length L is divided into six triangular pyramids by the axis connecting the respective vertices from the origin a, and (b) is an exploded view thereof. Is. At this time, the interpolation value P ′ of a point within an arbitrary triangular pyramid is given by the following equation. P ′ = (L−A) × P1 + (A−B) × P2 + (B−C) × P3 + C (2) Here, A, B, and C indicate the lower digits of the input data, and A>
It is assumed that B> C is satisfied, and Pi is a value (three-dimensional coordinate value) in the space of the other party already obtained.
【0007】(3)三角柱補間(6点補間。文献K.K
anamori,H.Kotera,O.Yamad
a,H.Motomura,R.Iikawa,T.F
umoto,Fast color processo
r with programmable inter
polation by small memory
(PRISM),Journal ofElectro
nic Imaging,2(3),213−224
(1993)) この補間方法は、(2)で示した三角錐3個を一つにし
て三角柱とし、計6点のデータから補間するようにした
ものである。(3) Triangular prism interpolation (6-point interpolation. Reference KK
anamori, H .; Kotera, O .; Yamad
a, H.A. Motomura, R .; Iikawa, T .; F
umoto, Fast color processo
r with programmable inter
Polation by small memory
(PRISM), Journal of Electro
nic Imaging, 2 (3), 213-224
(1993)) In this interpolation method, the three triangular pyramids shown in (2) are combined into one to form a triangular prism, and interpolation is performed from data of a total of 6 points.
【0008】(4)パラレル処理による補間(米国特許
4837722号)カラーLUTをパラレルに配置する
時、LUT毎に互い違いに必要な点だけのポジションで
持ち、トータルのLUTのサイズは、単独のLUTで持
つ時と同じにしたものである。また、重み係数全てをR
OMで記憶して保持している。(4) Interpolation by parallel processing (US Pat. No. 4,837,722) When arranging color LUTs in parallel, each LUT has only the necessary points alternately, and the total LUT size is a single LUT. It is the same as having it. In addition, all weighting factors are R
It is stored and held by the OM.
【0009】[0009]
【発明が解決しようとする課題】前記立方体補間の場
合、重み係数を求めたい点が区切る点の反対側の直方体
の体積を用いるため、最大補間間隔をMとした時M3 で
計算される重み係数を発生する必要があった。例えば、
M=17の場合、4913となりハードウェアで構成す
る場合には、13ビットものデータ線が必要となり、ま
た乗算器のビット幅を広げなくてはならなかったため、
コストやハードウェア規模の点で不利であった。更に、
補間演算する場合、1色を8ビットとすると、(8+1
3)ビット必要で、64ビットのレジスタで4色を同時
に演算することはできなかった。In the case of the cubic interpolation, since the volume of the rectangular parallelepiped on the opposite side of the point where the point for which the weighting coefficient is desired is divided is used, the weight calculated by M 3 when the maximum interpolation interval is M. It was necessary to generate a coefficient. For example,
When M = 17, it becomes 4913, and when it is configured by hardware, a data line of 13 bits is required, and since the bit width of the multiplier has to be widened,
It was disadvantageous in terms of cost and hardware scale. Furthermore,
When performing interpolation calculation, if one color has 8 bits, (8 + 1
3) Bits were required, and it was not possible to simultaneously calculate four colors with a 64-bit register.
【0010】前記三角錐補間の場合、重み係数の最大値
はM(補間間隔)となり、データ線の数は大幅に節約で
きる。しかしながら、補間係数の算出のために、純粋に
演算で行なう場合、単位立方体を5個乃至6個に分割す
るための判別を行なう必要があり、この判断が複雑にな
る。このような不具合を避けるために、予めLUTの形
で計算して記憶しておく方法もあるが、この場合、補間
間隔をMとした時にM3 となり、例えばM=17の場合
には4913ワードのデータを記憶する必要があった。
また、補間点数が少ないため(4点)、精度の点で問題
があった。In the case of the triangular pyramid interpolation, the maximum value of the weighting factor is M (interpolation interval), and the number of data lines can be greatly saved. However, when the calculation is performed purely for calculating the interpolation coefficient, it is necessary to make a determination for dividing the unit cube into 5 to 6, and this determination becomes complicated. In order to avoid such a problem, there is also a method of calculating and storing it in the form of an LUT in advance, but in this case, when the interpolation interval is M, it becomes M 3 , for example, when M = 17, 4913 words. Had to remember the data.
Further, since the number of interpolation points is small (4 points), there is a problem in accuracy.
【0011】前記三角柱補間の場合、異方性が高く、補
間方向に応じては、誤差が大きくなるという問題があっ
た。前記パラレル処理補間の場合、重み係数をLUTと
して持っているため、格子間隔Mが増大すると、LUT
サイズが増大するという問題があった。In the case of the triangular prism interpolation, there is a problem that the anisotropy is high and the error becomes large depending on the interpolation direction. In the case of the parallel processing interpolation, since the weight coefficient is provided as the LUT, when the lattice spacing M increases, the LUT
There was a problem that the size increased.
【0012】更に、これら従来技術に共通する問題とし
て、補間間隔Mが2のべき乗の時は、最終段での割算の
代わりにビットシフトを用いることができるが、Mが2
のべき乗でない場合は、ビットシフトは行えず最終段で
割算を行なう必要があり、このため回路規模が増大した
り、演算時間の増大を招いていた。Further, as a problem common to these prior arts, when the interpolation interval M is a power of 2, bit shift can be used instead of division at the final stage, but M is 2
If it is not a power of 0, bit shift cannot be performed and division must be performed at the final stage, resulting in an increase in circuit scale and an increase in operation time.
【0013】本発明はこのような課題に鑑みてなされた
ものであって、ハードウェア資源の節約と演算速度の高
速化を図ることができる多次元補間方法及び装置を提供
することを目的としている。The present invention has been made in view of the above problems, and an object of the present invention is to provide a multidimensional interpolation method and apparatus capable of saving hardware resources and increasing the operation speed. .
【0014】[0014]
【課題を解決するための手段】前記した課題を解決する
第1の発明は、N次元の補間を行なう場合において、補
間に対する重み係数の最大値を、補間間隔Mの時、M×
2N-1 で与え、多次元補間を行なうことを特徴としてい
る。According to a first invention for solving the above-mentioned problems, when N-dimensional interpolation is performed, the maximum value of the weighting coefficient for the interpolation is M ×
The feature is that it is given as 2 N-1 and multidimensional interpolation is performed.
【0015】この場合において、N次元のLUTの補間
演算を行なうに際し、LUTの3色乃至4色の値のう
ち、複数の色データに対して同時に重み係数を乗算する
ことが、ハードウェア資源を節約し、補間演算を高速化
する上で好ましい。In this case, when performing the interpolation calculation of the N-dimensional LUT, it is necessary to simultaneously multiply the weight data by a weighting factor for a plurality of color data among the values of three colors to four colors of the LUT, which requires a hardware resource. This is preferable in terms of saving and speeding up the interpolation calculation.
【0016】前記した課題を解決する第2の発明は、N
次元の補間を行なう場合において、重み係数を、補間間
隔Mに対して(M+1)/2のアドレスに対して発生
し、多次元補間を行なうことを特徴としている。A second invention for solving the above-mentioned problems is N
When dimensional interpolation is performed, a weighting factor is generated for an address of (M + 1) / 2 with respect to the interpolation interval M, and multidimensional interpolation is performed.
【0017】この場合において、N次元のLUTの補間
演算を行なうに際し、LUTの3色乃至4色の値のう
ち、複数の色データに対して同時に重み係数を乗算する
ことがハードウェア資源を節約し、補間演算を高速化す
る上で好ましい。In this case, when performing the interpolation calculation of the N-dimensional LUT, it is possible to save hardware resources by simultaneously multiplying a plurality of color data among the values of three colors to four colors of the LUT by a weighting coefficient. However, it is preferable for speeding up the interpolation calculation.
【0018】前記した課題を解決する第3の発明は、N
次元の補間を行なう場合において、最大重み係数が2の
べき乗にならない時、カラーLUTに格納するデータを
予め割算し、2のべき乗倍して格納することを特徴とし
ている。A third invention for solving the above-mentioned problems is N
In the case of performing dimension interpolation, when the maximum weighting coefficient does not become a power of 2, the data stored in the color LUT is divided in advance, and it is stored as a power of 2.
【0019】前記した課題を解決する第4の発明は、N
次元の補間装置において、補間に対する重み係数の最大
値を、補間間隔Mの時、M×2N-1 で与える手段を設け
たことを特徴としている。A fourth invention for solving the above-mentioned problems is N
The dimensional interpolating device is characterized in that it is provided with means for giving the maximum value of the weighting coefficient for interpolation at M × 2 N−1 at the interpolation interval M.
【0020】この場合において、N次元のLUTの補間
演算を行なうに際し、LUTの3色乃至4色の値のう
ち、複数の色データに対して同時に重み係数を乗算する
手段を設けることが、ハードウェア資源を節約し、補間
演算を高速化する上で好ましい。In this case, when performing the interpolation calculation of the N-dimensional LUT, it is hard to provide a means for multiplying a plurality of color data among the values of three colors to four colors of the LUT by the weighting coefficient at the same time. This is preferable for saving wear resources and speeding up the interpolation calculation.
【0021】前記した課題を解決する第5の発明は、N
次元の補間装置において、重み係数を、補間間隔Mに対
して(M+1)/2のアドレスに対して発生する手段を
設けたことを特徴としている。A fifth invention for solving the above-mentioned problems is N
The dimensional interpolating device is characterized by including means for generating a weighting coefficient for an address of (M + 1) / 2 with respect to the interpolation interval M.
【0022】この場合において、N次元のLUTの補間
演算を行なうに際し、LUTの3色乃至4色の値のう
ち、複数の色データに対して同時に重み係数を乗算する
手段を設けることが、ハードウェア資源を節約し、補間
演算を高速化する上で好ましい。In this case, when performing the interpolation calculation of the N-dimensional LUT, it is hard to provide a means for multiplying a plurality of color data among the three-color to four-color values of the LUT by the weighting factor at the same time. This is preferable for saving wear resources and speeding up the interpolation calculation.
【0023】前記した課題を解決する第6の発明は、N
次元の補間装置において、最大重み係数が2のべき乗に
ならない時、カラーLUTに格納するデータを予め割算
し、2のべき乗倍して格納する手段を設けたことを特徴
としている。A sixth invention for solving the above-mentioned problems is N
The dimensional interpolating device is characterized in that it has means for dividing the data to be stored in the color LUT in advance when the maximum weighting coefficient does not become a power of 2 and multiplying it by a power of 2 for storage.
【0024】[0024]
(第1の発明)補間に対する重み係数の最大値を、補間
間隔Mの時、M×2N-1 で与えるようにして、重み係数
の最大値を抑制するようにした。これにより、ハードウ
ェア資源の節約を図ることができ、演算時間の高速化を
図ることができる。(First invention) The maximum value of the weighting factor for the interpolation is given by M × 2 N−1 at the interpolation interval M so that the maximum value of the weighting factor is suppressed. As a result, it is possible to save hardware resources and speed up the calculation time.
【0025】ここで、M×2N-1 は、以下のようにして
求めた。本発明は、前記三角錐補間を拡張したものであ
る。図7の(a)では、立方体の対角を軸として6個の
三角錐に分割しているが、この軸について全ての組み合
わせを作る。つまり、図のa−g,b−h,c−e,d
−fそれぞれの軸を変えた時の三角錐補間での重み係数
を全部計算して平均をとると、前記したM×2N-1 が得
られる。本発明によれば、全方向の軸について重み係数
を求めて平均している結果、軸の方向性の影響がなくな
る。Here, M × 2 N-1 was obtained as follows. The present invention is an extension of the triangular pyramid interpolation. In FIG. 7A, the cube is divided into six triangular pyramids with the diagonal of the cube as the axis, but all combinations are made for this axis. That is, a-g, b-h, c-e, d in the figure
-F When the weight coefficients in the triangular pyramid interpolation when the respective axes are changed are all calculated and averaged, the above-mentioned M × 2 N-1 is obtained. According to the present invention, as a result of obtaining and averaging the weighting factors for the axes in all directions, the influence of the directionality of the axes is eliminated.
【0026】この場合において、N次元のLUTの補間
演算を行なうに際し、LUTの3色乃至4色の値のう
ち、複数の色データに対して同時に重み係数を乗算する
ことにより、ハードウェア資源を節約し、補間演算を高
速化することができる。In this case, when performing the interpolation calculation of the N-dimensional LUT, hardware resources are saved by multiplying a plurality of color data among the three-color to four-color values of the LUT by weighting factors at the same time. It is possible to save the cost and speed up the interpolation calculation.
【0027】(第2の発明)前記した課題を解決する第
2の発明は、N次元の補間を行なう場合において、重み
係数を、補間間隔Mに対して(M+1)/2のアドレス
に対して発生し、多次元補間を行なうことにより、重み
係数発生用のメモリ容量を削減し、ハードウェア資源を
節約することができる。(Second Invention) In the second invention for solving the above-mentioned problems, in the case of performing N-dimensional interpolation, the weighting coefficient is applied to the address of (M + 1) / 2 with respect to the interpolation interval M. By generating and performing multidimensional interpolation, it is possible to reduce the memory capacity for generating weighting factors and save hardware resources.
【0028】重み係数は、小空間内において格子点に対
して、どの方向にも線対称になるという性質がある。こ
のことを図で説明する。図8は重み係数の性質の説明図
(1次元の場合)である。縦軸は重み係数、横軸は格子
点Q1,Q2間の距離を示している。図において、f1
はQ1に対する重み特性、f2はQ2に対する重み特性
である。この時の距離を補間間隔Mとする。このMの中
心(M/2)を通る軸Sを考えると、重み係数はこの軸
Sに関して線対称になっている。The weighting factor has the property of being line-symmetric in any direction with respect to the lattice point in the small space. This will be described with reference to the drawings. FIG. 8 is an explanatory diagram (one-dimensional case) of the property of the weight coefficient. The vertical axis represents the weighting coefficient, and the horizontal axis represents the distance between the grid points Q1 and Q2. In the figure, f1
Is a weighting characteristic for Q1, and f2 is a weighting characteristic for Q2. The distance at this time is the interpolation interval M. Considering the axis S passing through the center (M / 2) of this M, the weighting factors are line-symmetric with respect to this axis S.
【0029】つまり、特性f1の右半分は、軸Sに関し
て折り返せば特性f2の左半分に重なり、特性f2の右
半分は、軸Sに関して折り返せば特性f1の左半分に重
なる。例えば、特性f1の右半分の重み係数W1,W
2,W3はそれぞれ特性f2の左半分の重み係数W
1’,W2’,W3’と等しくなり、特性f2の右半分
の重み係数W4,W5はそれぞれ特性f1の左半分の重
み係数W4’,W5’と等しくなる。アドレスは、図に
示すようにMのところまでくるが、Sを超えたらQ1と
Q2を切り替えるようにする。例えば、アドレスに応じ
て特性f1の重み係数を順次発生していき、アドレスが
M/2を超えたら特性をそれまでのf1からf2に切り
替え、f2の左半分の重み係数を用いるのである。That is, the right half of the characteristic f1 overlaps the left half of the characteristic f2 when folded back with respect to the axis S, and the right half of the characteristic f2 overlaps the left half of the characteristic f1 when folded back with respect to the axis S. For example, the weighting factors W1 and W of the right half of the characteristic f1
2 and W3 are the weighting factors W of the left half of the characteristic f2.
1 ′, W2 ′, W3 ′, and the right half weighting factors W4, W5 of the characteristic f2 become equal to the left half weighting factors W4 ′, W5 ′ of the characteristic f1, respectively. The address comes to M as shown in the figure, but when it exceeds S, Q1 and Q2 are switched. For example, the weighting coefficient of the characteristic f1 is sequentially generated according to the address, and when the address exceeds M / 2, the characteristic is switched from the previous f1 to f2 and the weighting coefficient of the left half of f2 is used.
【0030】従って、重み係数のデータとしては、軸S
より左側のデータのみ持てばよく、軸Sより右側のデー
タは持つ必要はないことになる。このようにして、重み
係数発生の数を減らすことができる。必要な重み係数の
データ量は、1次元の場合で1/2,2次元の場合で1
/4,3次元の場合で1/8となる。このように、本来
必要な重み係数データよりも少ないデータ量ですませる
ことができる。Therefore, as the data of the weight coefficient, the axis S
It is only necessary to have the data on the left side, and it is not necessary to have the data on the right side of the axis S. In this way, the number of weighting factor occurrences can be reduced. The data amount of the necessary weighting coefficient is 1/2 in the one-dimensional case and 1 in the two-dimensional case.
It becomes 1/8 in the case of / 4 and 3 dimensions. In this way, the amount of data can be smaller than the originally required weighting factor data.
【0031】なお、発生するアドレスとしては、軸S上
の値W0も含ませる必要があるので、Mが偶数である場
合を考慮して(M+1)/2のアドレスまでとしたもの
である。Since it is necessary to include the value W0 on the axis S as the address to be generated, the address is up to (M + 1) / 2 in consideration of the case where M is an even number.
【0032】この発明によれば、重み係数の数を減らす
ことができ、ハードウェア資源を節約することができ
る。この場合において、N次元のLUTの補間演算を行
なうに際し、LUTの3色乃至4色の値のうち、複数の
色データに対して同時に重み係数を乗算することによ
り、ハードウェア資源を節約し、補間演算を高速化する
ことができる。According to the present invention, it is possible to reduce the number of weighting factors and save hardware resources. In this case, when performing the interpolation calculation of the N-dimensional LUT, by multiplying a plurality of color data among the values of the three colors or four colors of the LUT by the weighting factor at the same time, the hardware resources are saved, The interpolation calculation can be speeded up.
【0033】(第3の発明)最大重み係数が2のべき乗
にならない時、カラーLUTに格納するデータを予め割
算し、2のべき乗倍して格納することようにした。これ
により、補間演算の最後で行なう重み係数による割算が
単にデータのシフト(右シフト)のみで行えることによ
り、演算時間を高速化することができる。(Third invention) When the maximum weighting coefficient does not become a power of 2, the data to be stored in the color LUT is divided in advance, and a power of 2 is multiplied and stored. As a result, the division by the weighting factor, which is performed at the end of the interpolation calculation, can be performed only by shifting the data (shifting to the right), and the calculation time can be shortened.
【0034】(第4の発明)補間に対する重み係数の最
大値を、補間間隔Mの時、M×2N-1 で与える手段を設
け、重み係数の最大値を抑制するようにした。これによ
り、ハードウェア資源の節約を図ることができ、演算時
間の高速化を図ることができる。M×2N-1 を求めた過
程は、第1の発明の場合と同じである。(Fourth Invention) A means for giving the maximum value of the weighting coefficient for the interpolation at the interpolation interval M by M × 2 N −1 is provided to suppress the maximum value of the weighting coefficient. As a result, it is possible to save hardware resources and speed up the calculation time. The process of obtaining M × 2 N−1 is the same as in the case of the first invention.
【0035】この場合において、N次元のLUTの補間
演算を行なうに際し、LUTの3色乃至4色の値のう
ち、複数の色データに対して同時に重み係数を乗算する
手段を設けることにより、ハードウェア資源を節約し、
補間演算を高速化することができる。In this case, when performing the interpolation calculation of the N-dimensional LUT, by providing means for multiplying a plurality of color data among the values of three colors to four colors of the LUT by the weighting coefficient at the same time, Saves wear resources,
The interpolation calculation can be speeded up.
【0036】(第5の発明)N次元の補間を行なう場合
において、重み係数を、補間間隔Mに対して(M+1)
/2のアドレスに対して発生する手段を設けた。その理
由は、前記第2の発明の場合と同じである。これによ
り、重み係数の数を減らすことができ、ハードウェア資
源を節約することができる。(Fifth Invention) When N-dimensional interpolation is performed, the weighting factor is (M + 1) for the interpolation interval M.
A means for generating an address of / 2 is provided. The reason is the same as in the case of the second invention. As a result, the number of weighting factors can be reduced, and hardware resources can be saved.
【0037】この場合において、N次元のLUTの補間
演算を行なうに際し、LUTの3色乃至4色の値のう
ち、複数の色データに対して同時に重み係数を乗算する
手段を設けることにより、ハードウェア資源を節約し、
補間演算を高速化することができる。In this case, when performing the interpolation calculation of the N-dimensional LUT, by providing means for simultaneously multiplying a plurality of color data among the values of the three colors to four colors of the LUT by the weight coefficient, Saves wear resources,
The interpolation calculation can be speeded up.
【0038】(第6の発明)最大重み係数が2のべき乗
にならない時、カラーLUTに格納するデータを予め割
算し、2のべき乗倍して格納する手段を設けた。その理
由は、前記第3の発明の場合と同じである。これによ
り、補間演算の最後で行なう重み係数による割算が単に
データのシフト(右シフト)のみで行えることにより、
演算時間を高速化することができる。(Sixth Invention) When the maximum weight coefficient does not become a power of 2, a means for dividing the data to be stored in the color LUT in advance and multiplying by 2 and storing the data is provided. The reason is the same as in the case of the third invention. As a result, the division by the weighting factor at the end of the interpolation calculation can be performed only by shifting the data (right shift),
The calculation time can be shortened.
【0039】[0039]
【実施例】以下、図面を参照して本発明の実施例を詳細
に説明する。図1は本発明の一実施例を示す構成ブロッ
ク図で、N=3、即ち3次元の補間の場合を示す。この
実施例は、R,G,Bデータを受けて、これらデータを
新たなRnew,Gnew,Bnewデータに変換する
ものである。図中のデータ線中の数字はビット数を示
す。Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a configuration block diagram showing an embodiment of the present invention, and shows a case of N = 3, that is, three-dimensional interpolation. This embodiment receives R, G, B data and converts these data into new Rnew, Gnew, Bnew data. The numbers in the data lines in the figure indicate the number of bits.
【0040】図において、1はR(Red)データ及び
カウンタ出力を受けて対応したアドレスを発生するRア
ドレス生成器、2はG(Green)データ及びカウン
タ出力を受けて対応したアドレスを発生するGアドレス
生成器、3はB(Blue)データを受けて対応したア
ドレスを発生するBアドレス生成器である。4はクロッ
クCLKをカウントする2ビット出力の4進カウンタで
ある。このカウンタ4の出力の上位ビットをC1、下位
ビットをC0とすると、C0はRアドレス生成器1に、
C1はGアドレス生成器2にそれぞれ入力される。Rア
ドレス生成器1とGアドレス生成器2は8ビットの出力
を発生し、Bアドレス生成器3はB軸に関してパラレル
処理するため、上位アドレスとして4ビットの2種類の
アドレスを発生している。その他のR軸,G軸は時系列
的に演算される。In the figure, 1 is an R address generator that receives R (Red) data and a counter output and generates a corresponding address, and 2 is G that receives G (Green) data and a counter output and generates a corresponding address. The address generator 3 is a B address generator that receives B (Blue) data and generates a corresponding address. Reference numeral 4 denotes a 2-bit output quaternary counter that counts the clock CLK. When the upper bit of the output of the counter 4 is C1 and the lower bit is C0, C0 is stored in the R address generator 1,
C1 is input to the G address generator 2, respectively. The R address generator 1 and the G address generator 2 generate an 8-bit output, and the B address generator 3 performs parallel processing on the B axis, so that two types of 4-bit addresses are generated as upper addresses. The other R and G axes are calculated in time series.
【0041】5はRアドレス生成器1の下位4ビット,
Gアドレス生成器2の下位4ビット,Bアドレス生成器
3の下位4ビット及び4進カウンタ4の出力を受けて7
ビットの重み係数を発生する近傍用の重み発生器、6は
同様にRアドレス生成器1の下位4ビット,Gアドレス
生成器2の下位4ビット,Bアドレス生成器3の下位4
ビット及び4進カウンタ4の出力を受けて7ビットの重
み係数を発生する遠方用の重み発生器である。近傍用,
遠方用とは、重み係数空間を2分割し、一方を近傍用、
他方を遠方用としたものである。本発明では、重み係数
の空間領域における線対称性を利用している結果、この
実施例の場合、3次元空間であるので必要な重み発生器
は、本来の容量の1/(23 )=1/8ですむ。従っ
て、メモリの容量が大幅に減少し、ハードウェア資源の
節約が図れる。5 is the lower 4 bits of the R address generator 1,
When the lower 4 bits of the G address generator 2, the lower 4 bits of the B address generator 3 and the output of the quaternary counter 4 are received, 7
A neighborhood weight generator for generating a bit weight coefficient, 6 is similarly the lower 4 bits of the R address generator 1, the lower 4 bits of the G address generator 2, and the lower 4 bits of the B address generator 3.
It is a weight generator for the distance, which receives the output of the bit and the quaternary counter 4 and generates a weight coefficient of 7 bits. For neighborhood,
For distant, the weighting factor space is divided into two, and one is for the neighborhood,
The other is for distance. In the present invention, as a result of using the line symmetry in the spatial area of the weighting factor, in the case of this embodiment, the required weight generator is 1 / (2 3 ) = the original capacity because it is a three-dimensional space. Only 1/8. Therefore, the memory capacity is significantly reduced, and the hardware resources can be saved.
【0042】10はRアドレス生成器1の上位4ビッ
ト,Gアドレス生成器2の上位4ビット,Bアドレス生
成器3の2種類の上位4ビット及び重み発生器5,6の
出力を受けて新しいRデータRnewを発生するR処理
部、20はRアドレス生成器1の上位4ビット,Gアド
レス生成器2の上位4ビット,Bアドレス生成器3の2
種類の上位4ビット及び重み発生器5,6の出力を受け
て新しいGデータGnewを発生するG処理部、30は
Rアドレス生成器1の上位4ビット,Gアドレス生成器
2の上位4ビット,Bアドレス生成器3の2種類の上位
4ビット及び重み発生器5,6の出力を受けて新しいB
データBnewを発生するB処理部である。G処理部2
0,B処理部30の構成は図示されていないが、カラー
LUTに記憶されるデータが異なるのみで、R処理部1
0の構成と同一である。The upper 10 bits of the R address generator 1, the upper 4 bits of the G address generator 2, the two upper 4 bits of the B address generator 3, and the outputs of the weight generators 5 and 6 are used as new signals. An R processing unit that generates R data Rnew, 20 is the upper 4 bits of the R address generator 1, the upper 4 bits of the G address generator 2, and the B address generator 2
A G processing unit which receives the upper 4 bits of the type and the outputs of the weight generators 5 and 6 and generates new G data Gnew, 30 is the upper 4 bits of the R address generator 1, the upper 4 bits of the G address generator 2, A new B is generated by receiving the two types of upper 4 bits of the B address generator 3 and the outputs of the weight generators 5 and 6.
The B processing unit generates data Bnew. G processing unit 2
Although the configuration of the 0 and B processing units 30 is not shown, only the data stored in the color LUT is different, and the R processing unit 1
The configuration is the same as 0.
【0043】R処理部10において、11はRアドレス
生成器1の上位4ビット,Gアドレス生成器2の上位4
ビット,Bアドレス生成器3の一方の上位4ビットを受
けるB近傍用のカラーLUT、12はRアドレス生成器
1の上位4ビット,Gアドレス生成器2の上位4ビッ
ト,Bアドレス生成器3の他方の上位4ビットを受ける
B遠方用のカラーLUTである。これらカラーLUT1
1,12は、例えば上下とも同じデータが格納されるメ
モリで構成される。例えば同時に2個のデータを読み出
せるデュアルポートRAMが用いられる。これらLUT
11,12はR,G,Bデータの入力0,17,34,
…238,255の組み合わせに対応する16×16×
16×10個のデータが格納される。そして、出力10
ビットのうち、1ビットは符号を、1ビットは255を
超える値を示す。In the R processing unit 10, 11 is the upper 4 bits of the R address generator 1 and the upper 4 bits of the G address generator 2.
B, a color LUT for B neighborhood that receives one of the upper 4 bits of the B address generator 3, 12 is the upper 4 bits of the R address generator 1, the upper 4 bits of the G address generator 2, and the B address generator 3 It is a color LUT for the far B that receives the other upper 4 bits. These color LUT1
Reference numerals 1 and 12 are composed of memories in which the same data is stored in the upper and lower sides, for example. For example, a dual port RAM that can read two pieces of data at the same time is used. These LUTs
11, 12 are input of R, G, B data 0, 17, 34,
... 16 × 16 × corresponding to the combination of 238 and 255
16 × 10 pieces of data are stored. And output 10
Of the bits, 1 bit indicates a sign and 1 bit indicates a value exceeding 255.
【0044】13はカラーLUT11の出力及び重み発
生器5の出力を乗算する乗算器、14はカラーLUT1
2の出力及び重み発生器6の出力を乗算する乗算器であ
る。これら乗算器13,14は、カラーLUT11,1
2の出力10ビット、重み発生器5,6の出力7ビット
を受け、16ビット出力(このうち1ビットは符号)の
ものが用いられる。15は乗算器13,14の出力を加
算する加算器である。該加算器15は、乗算器13,1
4の各16ビットを受けて16ビット(このうち1ビッ
トは符号)のデータを出力する。13 is a multiplier for multiplying the output of the color LUT 11 and the output of the weight generator 5, and 14 is the color LUT 1.
2 is a multiplier for multiplying the output of 2 and the output of the weight generator 6. These multipliers 13 and 14 have color LUTs 11 and 1
A 10-bit output of 2 and a 7-bit output of the weight generators 5 and 6 are received, and a 16-bit output (of which 1 bit is a sign) is used. Reference numeral 15 is an adder that adds the outputs of the multipliers 13 and 14. The adder 15 includes multipliers 1 and 1
Receiving each 16 bits of 4 and outputting 16 bits (of which 1 bit is a code) data.
【0045】16は加算器15の出力を積算する積算器
である。この積算器16は、4進カウンタの出力の値だ
けの、つまり4回の演算結果を積算する。17は積算器
16の出力を重み係数で割算するための割算器である。
該割算器17は、積算器16の出力16ビットを受けて
8ビットのデータを出力する。この割算器17の出力が
変換された新しいRデータRnewになる。このように
構成された回路の動作を説明すれば、以下のとおりであ
る。Reference numeral 16 is an integrator which integrates the outputs of the adder 15. The integrator 16 integrates only the value of the output of the quaternary counter, that is, the calculation result of four times. Reference numeral 17 is a divider for dividing the output of the integrator 16 by a weighting coefficient.
The divider 17 receives the 16-bit output of the integrator 16 and outputs 8-bit data. The output of the divider 17 becomes the converted new R data Rnew. The operation of the circuit thus configured will be described below.
【0046】画像データR,G,Bはそれぞれのアドレ
ス生成器1,2,3に入力され、各アドレス生成器1〜
3は、以下のアルゴリズムに従ったアドレスデータを生
成する。The image data R, G and B are input to the respective address generators 1, 2 and 3 and the respective address generators 1 to 1 are inputted.
3 generates address data according to the following algorithm.
【0047】 Rアドレス生成器 入力をA(0〜255)とし、出力の上位桁をX(0〜
15)、下位桁をY(0〜8)とし、カウンタ4の入力
の上位をC0(0,1)、下位をC1(0,1)とす
る。C言語で表したアルゴリズムは以下のとおりであ
る。Li(i=1〜8)はライン番号を示す。 上記アルゴリズムにおいて、 L1:Aを17で割った時の余り(A%17)が8以下
の時、 L2:Aを17で割った時の余りをYの値とする。 L3:Aを17で割った時の商にC0を加えたものをX
の値とする。 L4:この時において、Xが15よりも大きくなる時
は、Xの値を15に固定する。 L5:L1の条件が満たされない時、つまりAを17で
割った時の余りが9以上の時、 L6:17からAを17で割った時の余りを引いたもの
をYの値とする。 L7:入力Aを17で割った値と(1−C0)を加えた
ものをXの値とする。 L8:この時において、Xが15よりも大きくなる時
は、Xの値を15に固定する。R address generator The input is A (0 to 255), and the upper digit of the output is X (0 to
15), the lower digit is Y (0 to 8), the upper input of the counter 4 is C0 (0, 1), and the lower digit is C1 (0, 1). The algorithm expressed in C language is as follows. Li (i = 1 to 8) indicates a line number. In the above algorithm, the remainder when L1: A is divided by 17 (A% 17) is 8 or less, and the remainder when L2: A is divided by 17 is taken as the value of Y. L3: X when A is divided by 17 and C0 is added to the quotient
Value of. L4: At this time, when X becomes larger than 15, the value of X is fixed to 15. When the condition of L5: L1 is not satisfied, that is, when the remainder when A is divided by 17 is 9 or more, the value of Y is obtained by subtracting the remainder when L is divided by 17 from L6: 17. L7: A value obtained by dividing the input A by 17 and adding (1-C0) is set as the value of X. L8: At this time, when X becomes larger than 15, the value of X is fixed at 15.
【0048】このようなアルゴリズムにより、Rデータ
が入力される度にRアドレス生成器1の上位4ビットか
らXの値が出力され、下位4ビットからYの値が出力さ
れる。With such an algorithm, each time R data is input, the upper 4 bits of the R address generator 1 output the value of X and the lower 4 bits output the value of Y.
【0049】 Gアドレス生成器 その動作はRアドレス生成器1と同様である。つまり、
入力をA(0〜255)とし、出力の上位桁をX(0〜
15)、下位桁をY(0〜8)とし、カウンタ4の入力
の上位をC0(0,1)、下位をC1(0,1)とす
る。C言語で表したアルゴリズムは以下のとおりであ
る。 Bアドレス生成器 この場合は、Bに関してパラレル処理になるため、一度
に上位4ビットの2系統のアドレスを出力する。しか
も、切り分けの必要がないので、4進カウンタ4の出力
は入力されない。上位桁の近傍用をX0、上位桁の遠方
用をX1とすると、そのアドレス生成アルゴリズムは以
下のとおりである。 上記アルゴリズムにおいて、 L1:入力Aを17で割った時の余り(A%17)が8
以下の時、 L2:入力Aを17で割った時の余りをYの値とする。 L3:入力Aを17で割った時の商をX0とする。 L4:入力Aを17で割ったものに1を加えたものをX
1とする。 L5:この時において、X0が15よりも大きくなる時
は、X0の値を15に固定する。 L6:この時において、X1が15よりも大きくなる時
は、X1の値を15に固定する。 L7:L1の条件が満たされない時、つまりAを17で
割った時の余りが9以上の時、 L8:17からAを17で割った時の余りを引いたもの
をYの値とする。 L9:入力Aを17で割った商に1を加えたものをX0
の値とする。 L10:入力Aを17で割った値をX1の値とする。 L11:この時において、X0が15よりも大きくなる
時は、X0の値を15に固定する。 L12:この時において、X1が15よりも大きくなる
時は、X1の値を15に固定する。G address generator The operation is similar to that of the R address generator 1. That is,
The input is A (0 to 255) and the upper digit of the output is X (0 to
15), the lower digit is Y (0 to 8), the upper input of the counter 4 is C0 (0, 1), and the lower digit is C1 (0, 1). The algorithm expressed in C language is as follows. B address generator In this case, since parallel processing is performed for B, two higher-order 4-bit addresses are output at one time. In addition, the output of the quaternary counter 4 is not input because it is not necessary to divide it. The address generation algorithm is as follows, where X0 is for the vicinity of the upper digit and X1 is for the far portion of the upper digit. In the above algorithm, L1: the remainder (A% 17) when input A is divided by 17 is 8
In the following cases, L2: the remainder when the input A is divided by 17 is taken as the Y value. L3: X0 is the quotient when input A is divided by 17. L4: X of input A divided by 17 plus 1
Set to 1. L5: At this time, when X0 becomes larger than 15, the value of X0 is fixed to 15. L6: At this time, when X1 becomes larger than 15, the value of X1 is fixed to 15. When the condition of L7: L1 is not satisfied, that is, when the remainder when A is divided by 17 is 9 or more, the value of Y is obtained by subtracting the remainder when L is divided by 17 from L8: 17. L9: Input A is divided by 17, and 1 is added to X0.
Value of. L10: A value obtained by dividing the input A by 17 is set as the value of X1. L11: At this time, when X0 becomes larger than 15, the value of X0 is fixed to 15. L12: At this time, when X1 becomes larger than 15, the value of X1 is fixed to 15.
【0050】このようなアルゴリズムにより、Bデータ
が入力される度にBアドレス生成器3の上位4ビットか
ら2系統の値X0,X1の値が出力され、下位4ビット
からYの値が出力される。With such an algorithm, every time B data is input, the upper 4 bits of the B address generator 3 output the values of the two systems X0 and X1 and the lower 4 bits output the value of Y. It
【0051】このようにして発生される各アドレス生成
器1〜3の出力のうち、上位データはカラーLUT1
1,12に入り、下位データは重み発生器5,6に入
る。このうち、Bアドレス発生器3の一方の上位データ
は、カラーLUT11に入り、他方の上位データはカラ
ーLUT12に入る。Of the outputs of the address generators 1 to 3 thus generated, the upper data is the color LUT1.
1, 12 and the lower data enters the weight generators 5, 6. Of these, one upper data of the B address generator 3 enters the color LUT 11, and the other upper data enters the color LUT 12.
【0052】ここで、重み発生器5,6の動作について
詳細に説明する。重み発生器5,6には、重み係数の線
対称性により、本来の1/8の容量のデータしか記憶さ
れておらず、この1/8の容量のデータで全範囲をカバ
ーしている。このために、各アドレス生成器1〜は以下
のようにアドレスを発生する。Here, the operation of the weight generators 5 and 6 will be described in detail. Due to the line symmetry of the weighting factors, the weight generators 5 and 6 store only the original 1/8 capacity data, and the 1/8 capacity data covers the entire range. To this end, each of the address generators 1 to 1 generates an address as follows.
【0053】例えば重み間隔M=17の時には、本来の
下位データを0,1,2,3,4,5,6,7,8,
9,10,11,12,13,14,15,16と発生
するのに対して、本発明では0,1,2,3,4,5,
6,7,8,8,7,6,5,4,3,2,1と発生す
る。つまり、間隔Mの中点までアドレスを発生したら、
中点からアドレスを折り返して発生する。この結果、ア
ドレス生成器から発生される下位データは(M+1)/
2の種類となる。例えば、M=17の時には、(17+
1)/2=9通りの値を持ち、0から8の範囲のデータ
を持つ。ちなみに、M=16の時には(16+1)/2
=8.5となるが、小数点は無視され、8通りの値を持
つことになる。For example, when the weighting interval M = 17, the original lower data is 0, 1, 2, 3, 4, 5, 6, 7, 8,
9, 10, 11, 12, 13, 14, 15, 16 occur, whereas in the present invention, 0, 1, 2, 3, 4, 5,
6, 7, 8, 8, 7, 6, 5, 4, 3, 2, 1 occur. That is, if an address is generated up to the midpoint of the interval M,
It is generated by folding the address from the midpoint. As a result, the lower data generated by the address generator is (M + 1) /
There are two types. For example, when M = 17, (17+
1) / 2 = 9 different values and data in the range of 0 to 8. By the way, when M = 16, (16 + 1) / 2
= 8.5, the decimal point is ignored and there are 8 different values.
【0054】同時に、下位データが格子間隔の中点より
大きい場合には、上位データの出力を基準格子点に対し
て+0,+1の順ではなく、+1,+0の順になるよう
に逆転して発生させる。これにより、近傍の格子点には
近傍用の重み係数が与えられ、遠方の格子点には遠方用
の重み係数が与えられるようになる。なお、B用のアド
レス生成器3は、遠方用,近傍用の2種類のアドレスを
固定で内蔵しており、入力に応じたアドレスを発生す
る。At the same time, when the lower data is larger than the middle point of the lattice spacing, the output of the upper data is generated by reversing the reference lattice points in the order of +1, +0 instead of + 0, + 1. Let As a result, the weighting coefficient for the neighborhood is given to the neighboring grid points, and the weighting coefficient for the far distance is given to the distant lattice points. The address generator 3 for B has a fixed built-in two types of addresses for far and near, and generates an address according to an input.
【0055】このようなアドレスを受ける重み発生器
5,6は、上記の変換されたアドレス(下位データ)に
従い、表1,表2で計算される重み係数を発生する。表
1は重み計算のための係数(近傍用)、表2は重み計算
のための係数(遠方用)である。The weight generators 5 and 6 receiving such addresses generate the weighting factors calculated in Tables 1 and 2 according to the converted addresses (lower data). Table 1 shows coefficients for weight calculation (for neighborhood), and Table 2 shows coefficients for weight calculation (for distance).
【0056】[0056]
【表1】 [Table 1]
【0057】[0057]
【表2】 [Table 2]
【0058】これら表において、r,g,bは下位アド
レス(アドレス生成器1〜3から発生される下位データ
であり、rはRアドレス生成器から、gはGアドレス生
成器から、bはBアドレス生成器から発生される)で、
0〜8の値をとる。C,R,G,Bは重み係数を計算す
るための係数である。これら係数C,R,G,Bはr,
g,bの大小関係に応じて、4進カウンタ4の値に応じ
て、表に示すような値をとる。図2は、r,g,bの大
小関係に応じて適用される三角錐を示している(図7参
照)。発生すべき重み係数は、次式で表される。In these tables, r, g, and b are lower addresses (lower data generated from the address generators 1 to 3, r is from the R address generator, g is from the G address generator, and b is B. Generated from the address generator),
It takes a value of 0-8. C, R, G and B are coefficients for calculating weighting coefficients. These coefficients C, R, G, B are r,
The values shown in the table are taken according to the value of the quaternary counter 4 according to the magnitude relation between g and b. FIG. 2 shows a triangular pyramid applied according to the magnitude relation of r, g, and b (see FIG. 7). The weight coefficient to be generated is represented by the following equation.
【0059】 W=M×C+r×R+g×G+b×B (3) 例えば、表1の最初の組み合わせr>g>bでは、カウ
ンタ値=[00]の時、発生すべき重み係数は、(3)
式より W=4×17+(−4)×r+(−2)×g+(−1)×b で計算される。これから分かるように、重み係数Wは、
整数で0〜68の値をとり、8回の掛け合わせ(8点で
補間して空間の1点の値を求めるため)の際の重み係数
の総和は68となる。W = M × C + r × R + g × G + b × B (3) For example, in the first combination r>g> b in Table 1, when the counter value = [00], the weighting factor to be generated is (3 )
From the formula, W = 4 × 17 + (− 4) × r + (− 2) × g + (− 1) × b. As can be seen, the weighting factor W is
The value is an integer of 0 to 68, and the sum of the weighting factors in the case of eight times of multiplication (to interpolate at 8 points to obtain the value of one point in the space) is 68.
【0060】カラーLUT11,12は、前記したアド
レス生成器1〜3の出力をアドレスとして受けて、アド
レスに応じた値を出力する。カラーLUT11の出力は
乗算器13に入り、カラーLUT12の出力は乗算器1
4に入る。一方、これら乗算器13,14の他方の入力
には、前記重み発生器5,6の出力が入っている。これ
ら乗算器13,14は、カラーLUTの出力と重み発生
器の出力を同時に乗算する。本発明によれば、同時乗算
することにより、重み係数の総和が255以下となるた
め、従来の直方体の重み係数では64ビットのCPUで
はできなかった8点補間での3色同時処理が可能とな
る。これにより、演算速度を大幅に高速化することがで
きる。The color LUTs 11 and 12 receive the outputs of the above-mentioned address generators 1 to 3 as an address and output a value corresponding to the address. The output of the color LUT 11 enters the multiplier 13, and the output of the color LUT 12 outputs the multiplier 1.
Enter 4. On the other hand, the outputs of the weight generators 5 and 6 are input to the other inputs of the multipliers 13 and 14, respectively. These multipliers 13 and 14 simultaneously multiply the output of the color LUT and the output of the weight generator. According to the present invention, since the sum of the weighting factors becomes equal to or less than 255 by performing the simultaneous multiplication, it is possible to perform the three-color simultaneous processing by the 8-point interpolation which cannot be performed by the conventional 64-bit CPU with the weighting factor of the rectangular parallelepiped. Become. As a result, the calculation speed can be significantly increased.
【0061】これら乗算器13,14の出力は、加算器
15に入って加算される。該加算器15の出力は積算器
16に入って積算される。以上の動作をカウンタ4の出
力である00,01,10,11の4回繰り返して8点
の補間演算を行なう。積算器16はこの8点の補間演算
の総和を計算する。この積算器16で積算された値は、
(結果×重み係数の総和)であるため、続く割算器17
で重み係数(この場合68)で除算する。割算器17か
らは、補間演算を行なって変換されたRの新しいデータ
Rnewが出力される。The outputs of these multipliers 13 and 14 enter the adder 15 and are added. The output of the adder 15 enters the integrator 16 and is integrated. The above operation is repeated four times, ie, 00, 01, 10, 11 which are the outputs of the counter 4 to perform interpolation calculation of 8 points. The integrator 16 calculates the sum total of these eight interpolation operations. The value accumulated by this integrator 16 is
(Result × sum of weighting factors), the subsequent divider 17
Is divided by the weighting factor (68 in this case). From the divider 17, new data Rnew of R converted by the interpolation calculation is output.
【0062】この場合において、割算器17の重み係数
が2のべき乗でない時(前述の68もそうである)、割
算器による割算が必要である。ところが、重み係数が2
のべき乗である時には、単純にべき乗分右シフトするだ
けですむので、実質的に割算器は不要になる。そこで、
カラーLUT11,12に格納するデータを予め重み係
数68で割算し、2のべき乗倍して格納しておけば、割
算器17は不要となる。なお、カラーLUTにリニアな
データが保持されていれば、割算器を用いた最終結果と
前記動作による最終結果とには差異は生じない。In this case, when the weighting coefficient of the divider 17 is not a power of 2 (as is the case with the above 68), division by the divider is necessary. However, the weighting factor is 2
When it is a power of, it is simply shifted to the right by the power, so that the divider is virtually unnecessary. Therefore,
If the data to be stored in the color LUTs 11 and 12 is divided by the weighting coefficient 68 in advance and is multiplied by 2 and stored, the divider 17 becomes unnecessary. If linear data is held in the color LUT, there is no difference between the final result obtained by using the divider and the final result obtained by the above operation.
【0063】以上、Rデータを求める場合について説明
したが、Gデータ,Bデータを求める場合についても同
様である。なお、重み発生器による重み係数発生の方法
は、種々の形態が考えられる。前記(3)式を全て予め
行ない、その結果をROMの形で格納するか、又は実際
の演算をその都度行なうか、その中間的な方法をとるか
は、ハードウェアの構成に依存する。以下に実現方法を
いくつか示す。The case of obtaining R data has been described above, but the same applies to the case of obtaining G data and B data. Various methods can be considered for the method of generating the weight coefficient by the weight generator. Whether all of the above equation (3) is performed in advance and the result is stored in the form of ROM, or the actual calculation is performed each time, or an intermediate method is taken depends on the hardware configuration. The following are some implementation methods.
【0064】(1)全てROM化する方法 図3に示すように、入力アドレスとして各色4ビットず
つ16KBのROMを用いるものである。ROMには、
予め計算された重み係数が格納されている。そして、
r,g,b各4ビットのアドレスとカウンタの2ビット
出力を受けて、対応する番地に記憶されている7ビット
の重み係数データを出力する。(1) Method of Making All into ROM As shown in FIG. 3, a 16 KB ROM is used as an input address, 4 bits for each color. In ROM,
Pre-calculated weighting factors are stored. And
The 4-bit address of each of r, g, and b and the 2-bit output of the counter are received, and the 7-bit weight coefficient data stored in the corresponding address is output.
【0065】(2)エンコーダを利用する方法 図4はエンコーダを利用して重み係数を発生するもので
ある。下位桁の範囲が0〜8であることに着目し、8ビ
ット入力7ビット出力の第1のエンコーダ41でr,g
の入力に対応するデータを出力して7ビットの1個のデ
ータにまとめる。第1のエンコーダ41としては、例え
ばLUTが用いられる。この第1のエンコーダ41の出
力は、0〜80の値をとる。次に、この第1のエンコー
ダ41の出力とb入力とを入力とする第2のエンコーダ
42でエンコードして1個のデータにまとめる。最後
に、この第2のエンコーダ42の出力とカウンタ出力を
受けるROM43に入力して、7ビットの重み係数デー
タを出力する。このようにエンコードを2段行ない、0
〜728の値を出力範囲とすることにより、2段目のエ
ンコード出力は10ビットであるので、ROM43とし
ては、4KBのサイズですむ。エンコーダを用いること
により、図3に示す例では、ROMの容量が16KBで
あるのに比較して、ROM容量は1/4ですむ。(2) Method of using encoder FIG. 4 shows a method of generating a weighting coefficient using an encoder. Paying attention to the range of the lower digits being 0 to 8, the first encoder 41 with 8-bit input and 7-bit output outputs r, g
The data corresponding to the input of is output and combined into one 7-bit data. For example, an LUT is used as the first encoder 41. The output of the first encoder 41 takes a value of 0-80. Next, the output of the first encoder 41 and the b input are encoded by the second encoder 42 to be combined into one piece of data. Finally, the output of the second encoder 42 and the output of the counter are input to the ROM 43, which outputs 7-bit weighting coefficient data. In this way, encoding is performed in two stages, and 0
By setting the value of ˜728 to the output range, the encoded output of the second stage is 10 bits, so that the size of the ROM 43 is 4 KB. By using the encoder, in the example shown in FIG. 3, the ROM capacity is 16 KB as compared with the ROM capacity of 16 KB.
【0066】(3)全て計算で求める方法 この方法は、(3)式をその都度演算するものである。
ROMが不要となる代わりに、演算時間がかかるので、
高速化には向かない。(3) Method of obtaining all by calculation In this method, the equation (3) is calculated each time.
Since ROM is unnecessary, it takes a long time to calculate,
Not suitable for speeding up.
【0067】図5は本発明の他の実施例を示す構成図
で、中央演算装置を用いて補間を行なうようにしたもの
である。この場合も、3次元補間を示す。R,G,Bデ
ータを受けてアドレス発生手段50は、60に示すよう
な3次元のカラーLUTアドレスを発生する。カラーL
UTには、61に示すようなY,M,C,Kの4種類の
データが記憶されている。ここで、補間演算における最
後のシーケンスである割算をシフトのみで行なうため、
カラーLUTに記憶されているデータは、64/68倍
されて記憶されている。従って、この時の最大値は25
5ではなく、240となる。FIG. 5 is a block diagram showing another embodiment of the present invention, in which interpolation is performed using a central processing unit. Also in this case, three-dimensional interpolation is shown. Upon receiving the R, G, B data, the address generating means 50 generates a three-dimensional color LUT address as shown by 60. Color L
The UT stores four types of data of Y, M, C, and K as shown by 61. Here, since the last sequence in the interpolation calculation, division, is performed only by shifting,
The data stored in the color LUT is stored after being multiplied by 64/68. Therefore, the maximum value at this time is 25
It is 240 instead of 5.
【0068】直方体の体積の最大値は13ビット程度
(M=17の時、173 )になる。元のデータの8ビッ
トに対して13ビットを足すと21ビットの計算の幅が
必要となる。この場合に4色を同時に計算しようとする
と極めて大きいビット数のCPUが必要となる。本発明
の場合は最大で7ビットであるから、8ビットと7ビッ
トを乗算しても16ビットを超えることがない。従っ
て、16×3(3色の場合)であり、64ビットのCP
Uを用いれば、十分に8点補間での3色同時補間が可能
である。The maximum value of the volume of the rectangular parallelepiped is about 13 bits (17 3 when M = 17). If 13 bits are added to 8 bits of the original data, a calculation width of 21 bits is required. In this case, an attempt to calculate four colors at the same time requires a CPU with an extremely large number of bits. In the case of the present invention, since the maximum is 7 bits, multiplication of 8 bits and 7 bits does not exceed 16 bits. Therefore, it is 16 × 3 (in case of 3 colors) and CP of 64 bits
If U is used, it is possible to perform simultaneous 3-color simultaneous interpolation with 8-point interpolation.
【0069】R,G,B画像データがアドレス発生手段
50に入力すると、アドレス発生手段50は、前記実施
例の場合と同様に上位桁と下位桁が計算され、出力され
る。上位桁はカラーLUTを選び、下位桁は重み係数発
生手段51に入り、重み係数を発生させる。カラーLU
Tから読み出されたY,M,C,Kデータは、64ビッ
トレジスタ52に図に示すように再配置される。When the R, G and B image data are input to the address generating means 50, the address generating means 50 calculates and outputs the upper digit and the lower digit as in the case of the above embodiment. The upper digit selects the color LUT, and the lower digit enters the weighting factor generating means 51 to generate the weighting factor. Color LU
The Y, M, C, K data read from T is rearranged in the 64-bit register 52 as shown in the figure.
【0070】8回の乗算累積に必要なカラーLUTデー
タがレジスタ52に呼び込まれ、一方、対応する重み係
数データが与えられる。この重み係数の計算は、表1,
表2により与えられるもので、また、必要なカラーLU
Tの位置は下位ビットに依存し、アドレス発生手段50
の出力により変化する。The color LUT data required for eight multiplication accumulations is loaded into register 52, while the corresponding weighting factor data is provided. The calculation of this weighting factor is shown in Table 1.
Color LU as given by Table 2 and also required
The position of T depends on the lower bit, and the address generating means 50
It changes according to the output of.
【0071】i番目のLUTデータとi番目の重み係数
Wiが累算器(又はALU)53により乗算される。こ
の乗算結果は、積算用レジスタ54に送られる。この演
算を8回行ない、積算用レジスタ54で積算する。8回
の積算が終了したら、6ビット右シフトする。これで等
価的に1/64倍されたことになる。このシフトされた
変換後のデータを所定の画像フォーマットに修正するた
めに再配置する。The i-th LUT data and the i-th weighting factor Wi are multiplied by the accumulator (or ALU) 53. The multiplication result is sent to the integration register 54. This calculation is performed eight times, and the summation is performed by the summation register 54. When the integration of 8 times is completed, shift right by 6 bits. This is equivalently multiplied by 1/64. The shifted converted data is rearranged to correct it into a predetermined image format.
【0072】次に、本発明の変形・応用例について説明
する。 重み発生手段として、従来の格子点を区切る反対側
の直方体の体積を用いることもできる。但し、この場
合、厳密には重み係数の発生ビット数は実施例の7ビッ
トから13ビットに増大し、同時に乗算器,加算器等も
コストの高いビット幅の広いものを使用しなくてはなら
なくなる。Next, modifications and applications of the present invention will be described. As the weight generating means, it is possible to use the volume of a rectangular parallelepiped on the opposite side that divides the conventional grid points. However, in this case, strictly speaking, the number of generated bits of the weighting coefficient is increased from 7 bits in the embodiment to 13 bits, and at the same time, it is necessary to use a high cost and wide bit width for the multiplier and the adder. Disappear.
【0073】 重み係数が格子点に対称であることを
利用して節減しない方法も可能である。但し、この場
合、アドレス発生器にカウンタ入力が不要となるため、
ROMで構成する場合にはメモリ容量が半分(実施例の
512バイトから256バイトへ)、また計算が単純に
なる利点がある。しかしながら、重み発生器をROMで
作成する場合、実施例では2916(=93 ×4)ワー
ドから19652(=17 3 ×4)ワードへ増大するた
め、トータルのメモリ容量は増大することになる。It is confirmed that the weight coefficient is symmetric with respect to the grid point.
It is possible to use a method that does not save money. However, this place
In this case, the address generator does not need a counter input,
When the ROM is used, the memory capacity is half (in the embodiment
512 bytes to 256 bytes), and simple calculation
There are advantages. However, the weight generator in ROM
In the case of creating, in the embodiment, 2916 (= 93× 4) Work
From 19652 (= 17 3× 4) increase to words
Therefore, the total memory capacity will increase.
【0074】 実施例では、パラレル処理とシリアル
処理(時系列処理)の組み合わせで構成したが、完全な
パラレル処理も、また、シリアル処理(図5の例)も可
能である。In the embodiment, the parallel processing and the serial processing (time series processing) are combined, but complete parallel processing or serial processing (example in FIG. 5) is also possible.
【0075】 実施例では、N=3、つまり3次元の
補間の場合について示したが、本発明は4次元以上の場
合についても同様にして容易に拡張することができる。
4次元の場合、重み係数の場合分けは24通りになる。
但し、重み係数をROMで構成した時は1/16に削減
可能である。In the embodiment, the case of N = 3, that is, the case of three-dimensional interpolation has been shown, but the present invention can be easily expanded in the same manner in the case of four or more dimensions.
In the case of four dimensions, there are 24 types of weighting factors.
However, when the weighting coefficient is composed of ROM, it can be reduced to 1/16.
【0076】 中央演算装置で同時に補間演算を実行
する時、一度に64ビットで行わず、32ビットレジス
タを2回用いて行なうことも可能である。When the central processing unit simultaneously executes the interpolation calculation, it is possible to use the 32-bit register twice instead of the 64-bit at a time.
【0077】[0077]
【発明の効果】以上、詳細に説明したように、第1の発
明によれば、補間に対する重み係数の最大値を、補間間
隔Mの時、M×2N-1 で与えるようにして、重み係数の
最大値を抑制するようにした。これにより、ハードウェ
ア資源の節約を図ることができ、演算時間の高速化を図
ることができる。As described above in detail, according to the first aspect of the present invention, the maximum value of the weighting coefficient for interpolation is given as M × 2 N−1 at the interpolation interval M, and the weighting is performed. The maximum value of the coefficient is suppressed. As a result, it is possible to save hardware resources and speed up the calculation time.
【0078】この場合において、N次元のLUTの補間
演算を行なうに際し、LUTの3色乃至4色の値のう
ち、複数の色データに対して同時に重み係数を乗算する
ことにより、ハードウェア資源を節約し、補間演算を高
速化することができる。In this case, when performing the interpolation calculation of the N-dimensional LUT, hardware resources are saved by multiplying a plurality of color data among the values of three colors to four colors of the LUT at the same time. It is possible to save the cost and speed up the interpolation calculation.
【0079】第2の発明によれば、N次元の補間を行な
う場合において、重み係数を、補間間隔Mに対して(M
+1)/2のアドレスに対して発生し、多次元補間を行
なうことにより、重み係数発生用のメモリ容量を削減す
ることができ、ハードウェア資源を節約することができ
る。According to the second invention, when N-dimensional interpolation is performed, the weighting coefficient is (M
It is possible to reduce the memory capacity for generating the weighting factor and to save the hardware resources by performing the multidimensional interpolation for the +1) / 2 address.
【0080】この発明によれば、重み係数の数を減らす
ことができ、ハードウェア資源を節約することができ、
補間演算量も減らすことができる。この場合において、
N次元のLUTの補間演算を行なうに際し、LUTの3
色乃至4色の値のうち、複数の色データに対して同時に
重み係数を乗算することにより、ハードウェア資源を節
約し、補間演算を高速化することができる。According to the present invention, it is possible to reduce the number of weighting factors, save hardware resources,
The amount of interpolation calculation can also be reduced. In this case,
When performing the interpolation calculation of the N-dimensional LUT,
By multiplying a plurality of color data among the values of colors to four colors by the weighting factor at the same time, it is possible to save hardware resources and speed up the interpolation calculation.
【0081】第3の発明によれば、最大重み係数が2の
べき乗にならない時、カラーLUTに格納するデータを
予め割算し、2のべき乗倍して格納することようにし
た。これにより、補間演算の最後で行なう重み係数によ
る割算が単にデータのシフト(右シフト)のみで行える
ことにより、演算時間を高速化することができる。According to the third invention, when the maximum weighting coefficient does not become a power of 2, the data to be stored in the color LUT is divided in advance and is multiplied by a power of 2 and stored. As a result, the division by the weighting factor, which is performed at the end of the interpolation calculation, can be performed only by shifting the data (shifting to the right), and the calculation time can be shortened.
【0082】第4の発明によれば、補間に対する重み係
数の最大値を、補間間隔Mの時、M×2N-1 で与える手
段を設け、重み係数の最大値を抑制するようにした。こ
れにより、ハードウェア資源の節約を図ることができ、
演算時間の高速化を図ることができる。この場合におい
て、N次元のLUTの補間演算を行なうに際し、LUT
の3色乃至4色の値のうち、複数の色データに対して同
時に重み係数を乗算する手段を設けることにより、ハー
ドウェア資源を節約し、補間演算を高速化することがで
きる。According to the fourth aspect of the present invention, means for giving the maximum value of the weighting coefficient for interpolation at M × 2 N−1 at the interpolation interval M is provided to suppress the maximum value of the weighting coefficient. This can save hardware resources,
The calculation time can be shortened. In this case, when performing the interpolation calculation of the N-dimensional LUT, the LUT
By providing a means for simultaneously multiplying a plurality of color data by the weighting coefficient among the values of 3 to 4 colors, the hardware resources can be saved and the interpolation operation can be speeded up.
【0083】第5の発明によれば、N次元の補間を行な
う場合において、重み係数を、補間間隔Mに対して(M
+1)/2のアドレスに対して発生する手段を設けた。
その理由は、前記第2の発明の場合と同じである。これ
により、重み係数の数を減らすことができ、ハードウェ
ア資源を節約することができる。According to the fifth invention, when N-dimensional interpolation is performed, the weighting coefficient is set to (M
A means for generating +1) / 2 addresses is provided.
The reason is the same as in the case of the second invention. As a result, the number of weighting factors can be reduced, and hardware resources can be saved.
【0084】この場合において、N次元のLUTの補間
演算を行なうに際し、LUTの3色乃至4色の値のう
ち、複数の色データに対して同時に重み係数を乗算する
手段を設けることにより、ハードウェア資源を節約し、
補間演算を高速化することができる。In this case, when performing the interpolation calculation of the N-dimensional LUT, by providing means for simultaneously multiplying a plurality of color data among the values of the three to four colors of the LUT by the weighting factor, the hardware Saves wear resources,
The interpolation calculation can be speeded up.
【0085】第6の発明によれば、最大重み係数が2の
べき乗にならない時、カラーLUTに格納するデータを
予め割算し、2のべき乗倍して格納する手段を設けた。
その理由は、前記第3の発明の場合と同じである。これ
により、補間演算の最後で行なう重み係数による割算が
単にデータのシフト(右シフト)のみで行えることによ
り、演算時間を高速化することができる。According to the sixth aspect of the invention, when the maximum weighting coefficient does not become a power of 2, the data to be stored in the color LUT is divided in advance, and a means for storing a power of 2 is stored.
The reason is the same as in the case of the third invention. As a result, the division by the weighting factor, which is performed at the end of the interpolation calculation, can be performed only by shifting the data (shifting to the right), and the calculation time can be shortened.
【0086】このように、本発明によれば、ハードウェ
ア資源の節約と演算速度の高速化を図ることができる多
次元補間方法及び装置を提供することができ、実用上の
効果が極めて大きい。As described above, according to the present invention, it is possible to provide a multidimensional interpolation method and device which can save hardware resources and increase the operation speed, and are extremely effective in practice.
【図1】本発明の一実施例を示す構成ブロック図であ
る。FIG. 1 is a configuration block diagram showing an embodiment of the present invention.
【図2】r,g,bの大小関係に応じて適用される三角
錐を示す図である。FIG. 2 is a diagram showing a triangular pyramid applied according to the magnitude relationship of r, g, and b.
【図3】重み発生器としてROMを用いた時の構成図で
ある。FIG. 3 is a configuration diagram when a ROM is used as a weight generator.
【図4】重み発生器としてエンコーダを利用する時の構
成図である。FIG. 4 is a configuration diagram when an encoder is used as a weight generator.
【図5】本発明の他の実施例を示す構成図である。FIG. 5 is a configuration diagram showing another embodiment of the present invention.
【図6】立方体補間の説明図である。FIG. 6 is an explanatory diagram of cubic interpolation.
【図7】三角錐補間の説明図である。FIG. 7 is an explanatory diagram of triangular pyramid interpolation.
【図8】重み係数の性質の説明図である。FIG. 8 is an explanatory diagram of properties of weighting factors.
【符号の説明】 1 Rアドレス生成器 2 Gアドレス生成器 3 Bアドレス生成器 4 4進カウンタ 5 重み発生器 6 重み発生器 10 R処理部 11 カラーLUT 12 カラーLUT 13 乗算器 14 乗算器 15 加算器 16 積算器 17 割算器 20 G処理部 30 B処理部[Description of Reference Signs] 1 R address generator 2 G address generator 3 B address generator 4 quaternary counter 5 weight generator 6 weight generator 10 R processing unit 11 color LUT 12 color LUT 13 multiplier 14 multiplier 15 addition Device 16 Accumulator 17 Divider 20 G processing unit 30 B processing unit
Claims (10)
間に対する重み係数の最大値を、補間間隔Mの時、M×
2N-1 で与え、多次元補間を行なうことを特徴とする多
次元補間方法。1. When performing N-dimensional interpolation, the maximum value of the weighting coefficient for the interpolation is M ×, when the interpolation interval is M.
A multidimensional interpolation method characterized by performing multidimensional interpolation given by 2 N-1 .
し、LUTの3色乃至4色の値のうち、複数の色データ
に対して同時に重み係数を乗算することを特徴とする請
求項1記載の多次元補間方法。2. The method according to claim 1, wherein when performing the interpolation calculation of the N-dimensional LUT, a plurality of color data among the values of three colors to four colors of the LUT are simultaneously multiplied by a weighting coefficient. Multidimensional interpolation method.
み係数を、補間間隔Mに対して(M+1)/2のアドレ
スに対して発生し、多次元補間を行なうことを特徴とす
る多次元補間方法。3. When performing N-dimensional interpolation, a weighting coefficient is generated for an address of (M + 1) / 2 with respect to an interpolation interval M, and multidimensional interpolation is performed. Method.
し、LUTの3色乃至4色の値のうち、複数の色データ
に対して同時に重み係数を乗算することを特徴とする請
求項3記載の多次元補間方法。4. An interpolation calculation of an N-dimensional LUT, wherein a plurality of color data among the values of 3 to 4 colors of the LUT are simultaneously multiplied by a weighting factor. Multidimensional interpolation method.
大重み係数が2のべき乗にならない時、カラーLUTに
格納するデータを予め割算し、2のべき乗倍して格納す
ることを特徴とする多次元補間方法。5. When performing N-dimensional interpolation, when the maximum weighting coefficient does not become a power of 2, the data to be stored in the color LUT is divided in advance and stored as a power of 2. Multidimensional interpolation method.
る重み係数の最大値を、補間間隔Mの時、M×2N-1 で
与える手段を設けたことを特徴とする多次元補間装置。6. An N-dimensional interpolating apparatus, comprising means for giving a maximum value of a weighting coefficient for interpolation at M × 2 N−1 at an interpolation interval M.
し、LUTの3色乃至4色の値のうち、複数の色データ
に対して同時に重み係数を乗算する手段を設けたことを
特徴とする請求項6記載の多次元補間装置。7. A means for multiplying a plurality of color data among the three-color to four-color values of the LUT by a weighting factor at the same time when performing the interpolation calculation of the N-dimensional LUT. The multidimensional interpolation device according to claim 6.
を、補間間隔Mに対して(M+1)/2のアドレスに対
して発生する手段を設けたことを特徴とする多次元補間
装置。8. A multidimensional interpolating device, wherein in the N-dimensional interpolating device, means for generating a weighting coefficient for an address of (M + 1) / 2 with respect to an interpolation interval M is provided.
し、LUTの3色乃至4色の値のうち、複数の色データ
に対して同時に重み係数を乗算する手段を設けたことを
特徴とする請求項8記載の多次元補間装置。9. A means for multiplying a plurality of color data among the values of three to four colors of the LUT by a weighting factor at the same time when performing the interpolation calculation of the N-dimensional LUT. The multidimensional interpolation device according to claim 8.
係数が2のべき乗にならない時、カラーLUTに格納す
るデータを予め割算し、2のべき乗倍して格納する手段
を設けたことを特徴とする多次元補間装置。10. An N-dimensional interpolating device is provided with means for dividing the data to be stored in the color LUT in advance and multiplying it by a power of 2 when the maximum weight coefficient is not a power of 2. And a multi-dimensional interpolation device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP25192594A JP4001938B2 (en) | 1994-10-18 | 1994-10-18 | Multidimensional interpolation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP25192594A JP4001938B2 (en) | 1994-10-18 | 1994-10-18 | Multidimensional interpolation method |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006002947A Division JP4089728B2 (en) | 2006-01-10 | 2006-01-10 | Multidimensional interpolator |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH08114870A true JPH08114870A (en) | 1996-05-07 |
JP4001938B2 JP4001938B2 (en) | 2007-10-31 |
Family
ID=17230017
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP25192594A Expired - Lifetime JP4001938B2 (en) | 1994-10-18 | 1994-10-18 | Multidimensional interpolation method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4001938B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005266576A (en) * | 2004-03-19 | 2005-09-29 | Seiko Epson Corp | Image processing apparatus and image processing method |
-
1994
- 1994-10-18 JP JP25192594A patent/JP4001938B2/en not_active Expired - Lifetime
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005266576A (en) * | 2004-03-19 | 2005-09-29 | Seiko Epson Corp | Image processing apparatus and image processing method |
Also Published As
Publication number | Publication date |
---|---|
JP4001938B2 (en) | 2007-10-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6496609B1 (en) | Hybrid-linear-bicubic interpolation method and apparatus | |
US4602285A (en) | System and method for transforming and filtering a video image | |
US5241373A (en) | Apparatus for correction of color signal values | |
US10719576B2 (en) | Interpolating a sample value in a data array by linear interpolation of surrounding interpolated values | |
JP2821489B2 (en) | Still image compression processing apparatus and method | |
US5475510A (en) | Method for transforming color signals and apparatus for the method | |
JP2901213B2 (en) | Color space conversion method | |
CN101123080A (en) | A color gamut mapping real-time processing method and real-time processing circuit | |
JP2000083177A (en) | Image processing method and image processor | |
JP4089728B2 (en) | Multidimensional interpolator | |
US7397483B1 (en) | Image data conversion using interpolation | |
JP4001938B2 (en) | Multidimensional interpolation method | |
US6940520B2 (en) | Anisotropic texture filtering method and apparatus using area coverage weight of sub-texel precision | |
JPH09168097A (en) | Image processing unit | |
GB2333921A (en) | Non-symmetric radial and non-symmetric pruned radial interpolation | |
JPH0563967A (en) | Three-dimensional data transforming device | |
JPH03229573A (en) | Color conversion device | |
JP2627824B2 (en) | Image processing device | |
JP3547567B2 (en) | Discrete cosine transformer | |
JPH05153402A (en) | Discrete cosine transformation device | |
JPH07141325A (en) | Signal processor | |
JPH09172554A (en) | Color look up table | |
JPH02187374A (en) | Color correcting circuit | |
JPH08321956A (en) | Data converter and signal processing method for data converter | |
JPH05153403A (en) | Discrete cosine transformation device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20050201 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20050330 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20051108 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060110 |
|
A911 | Transfer of reconsideration by examiner before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20060119 |
|
A912 | Removal of reconsideration by examiner before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A912 Effective date: 20060623 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070710 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20070816 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100824 Year of fee payment: 3 |
|
R150 | Certificate of patent (=grant) or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100824 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110824 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110824 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120824 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130824 Year of fee payment: 6 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
EXPY | Cancellation because of completion of term |