JP2003067182A - Arithmetic unit and operation method - Google Patents

Arithmetic unit and operation method

Info

Publication number
JP2003067182A
JP2003067182A JP2001258728A JP2001258728A JP2003067182A JP 2003067182 A JP2003067182 A JP 2003067182A JP 2001258728 A JP2001258728 A JP 2001258728A JP 2001258728 A JP2001258728 A JP 2001258728A JP 2003067182 A JP2003067182 A JP 2003067182A
Authority
JP
Japan
Prior art keywords
value
bits
arithmetic unit
multiplier
calculation
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
JP2001258728A
Other languages
Japanese (ja)
Inventor
Masatoshi Fujiwara
正年 藤原
Tatsuo Masuda
達男 増田
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.)
Panasonic Electric Works Co Ltd
Original Assignee
Matsushita Electric Works 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 Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP2001258728A priority Critical patent/JP2003067182A/en
Publication of JP2003067182A publication Critical patent/JP2003067182A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To realize high-speed processing by dispensing with floating-point operation to reduce the number of steps required for operation in operation including point number operation. SOLUTION: This arithmetic unit is provided with a multiplier 31a for performing multiplication in which one of two input values is a constant value of point number smaller than 1. The constant is expressed by a binary fixed- point number and a plurality of high order bits are consecutively zero. The multiplier 31a performs multiplication taking low order bits except the high order bits 0 in the constant as integer values. An adder 32a at the next step takes an output value of the multiplier 31a for bit number of the constant from the low order bits as a decimal part, and takes the high order bits except the decimal part in the output value of the multiplier 31a as an integer part.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、生産ラインなどに
おいて対象物を撮像したカラー画像から指定色の画素を
抽出する際の演算に用いる演算装置および演算方法に関
するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an arithmetic unit and an arithmetic method used for an arithmetic operation when extracting a pixel of a designated color from a color image obtained by imaging an object in a production line or the like.

【0002】[0002]

【従来の技術】一般に、カラー画像から指定色の画素を
抽出するには、カラー画像の各画素の色と指定色との色
差を求める技術が採用されている。たとえば、特公平7
−92401号公報には、カラー画像から得られる赤
(R)緑(G)青(B)の三刺激値を色相、彩度、明
度、色調角、色調長に変換し、これらの5成分のうち色
相と色調角とを含む少なくとも3成分について範囲を設
定することにより、範囲内の色を同色と判断する技術が
記載されている。この公報においては、色相、彩度、明
度を表すために、L* * * 表色系を採用できること
が記載されている。
2. Description of the Related Art Generally, in order to extract a pixel of a designated color from a color image, a technique for obtaining a color difference between the color of each pixel of the color image and the designated color is adopted. For example, Japanese Examination 7
In Japanese Patent Publication No. 92401, red (R) green (G) blue (B) tristimulus values obtained from a color image are converted into hue, saturation, lightness, hue angle, and hue length, and these five components are There is described a technique of determining a color within the range as the same color by setting a range for at least three components including a hue and a hue angle. In this publication, it is described that the L * a * b * color system can be adopted in order to express hue, saturation, and lightness.

【0003】ただし、L* * * 表色系に基づいて色
差を求めると人の色に対する感覚尺度とは若干のずれを
生じるから、人の色に対する感覚尺度により近い色差を
表すために、本発明者は先にXYZ表色系の三刺激値を
補正する形の表色系を用い、この表色系で色相、明度、
彩度を求めて色差を求めることを提案した(特願200
0−327738)。
However, when the color difference is obtained based on the L * a * b * color system, there is a slight deviation from the human sensation scale with respect to the human color. Therefore, in order to represent the color difference closer to the human sensation scale with respect to the human color, The present inventor previously used a color system in which tristimulus values of the XYZ color system are corrected, and the hue, lightness,
We proposed to obtain the color difference by obtaining the saturation (Japanese Patent Application 200
0-327738).

【0004】ところで、上述のようにカラー画像の各画
素と指定色との色差を求めて指定色と同色とみなせる範
囲の画素を抽出する構成としては、たとえば図11に示
す構成が考えられる。図示する構成では、カラーTVカ
メラ11により対象物を含む空間領域を撮像し、カラー
TVカメラ11により撮像したカラー画像をRGBの各
刺激値別に取込用画像メモリ12R,12G,12Bに
一時的に記憶させ、取込用画像メモリ12R,12G,
12BにバスBを介して接続されているCPU10にカ
ラー画像を入力することによって、入力装置13から与
えられた指定色との色差をCPU10において求める。
CPU10では演算の高速化のためにバスBを介して接
続されたルックアップテーブル14を参照する。つま
り、RGBの三刺激値を異なる表色系の表色値に変換す
る際に、RGBの三刺激値の組合せと表色値との対応関
係をルックアップテーブル14に登録しておくことによ
って、表色系の変換を瞬時に行うことが可能になってい
る。CPU10では色差の演算によってカラー画像から
指定色の画素を抽出すると、結果を表示用画像メモリ1
5に格納し、表示用画像メモリ15の内容をCRTや液
晶ディスプレイのような表示装置に表示させる。
A configuration shown in FIG. 11, for example, is conceivable as a configuration for obtaining the color difference between each pixel of the color image and the designated color and extracting the pixels in the range that can be regarded as the same color as the designated color as described above. In the configuration shown in the figure, the color TV camera 11 captures an image of a spatial area including an object, and the color image captured by the color TV camera 11 is temporarily stored in the capture image memories 12R, 12G, and 12B for each RGB stimulus value. The image memories 12R, 12G for storing are stored.
By inputting a color image to the CPU 10 connected to the 12B via the bus B, the CPU 10 obtains the color difference from the designated color given from the input device 13.
The CPU 10 refers to the lookup table 14 connected via the bus B in order to speed up the calculation. That is, when converting the RGB tristimulus values into the colorimetric values of different color systems, by registering the correspondence relationship between the combination of the RGB tristimulus values and the colorimetric values in the lookup table 14, It is possible to convert the color system instantly. When the CPU 10 extracts the pixels of the specified color from the color image by calculating the color difference, the result is displayed in the image memory 1 for display.
5, and the contents of the display image memory 15 are displayed on a display device such as a CRT or a liquid crystal display.

【0005】[0005]

【発明が解決しようとする課題】ところで、CPU10
は、整数演算および論理演算のためのALU10aと、
浮動小数点演算のためのFPU10bとを備えており、
色差を求める際に必要となる小数点数の演算に際しては
FPU10bが用いられる。しかしながら、浮動小数点
演算は演算精度が高いものの、整数演算ないし整数演算
を準用する固定小数点演算に比較すると、符号と仮数部
と指数部との3種類の演算および結果の正規化の過程を
要するから、整数演算や固定小数点演算に比較すると演
算処理に要するステップ数が大幅に多くなる。たとえ
ば、処理対象であるカラー画像が640×480画素の
動画であってフルモーション(30フレーム/s)の処
理を行うとすれば、きわめて高速なCPU10を必要と
することになる。
By the way, the CPU 10
Is an ALU 10a for integer and logical operations,
Equipped with an FPU 10b for floating point arithmetic,
The FPU 10b is used in the calculation of the number of decimal points required when obtaining the color difference. However, although the floating-point arithmetic has high arithmetic precision, it requires three kinds of arithmetic operations of a sign, a mantissa part, and an exponent part and a process of normalizing the result when compared with a fixed-point arithmetic which applies the integer arithmetic or the integer arithmetic. The number of steps required for arithmetic processing is significantly increased as compared with integer arithmetic and fixed-point arithmetic. For example, if the color image to be processed is a moving image of 640 × 480 pixels and full-motion processing (30 frames / s) is to be performed, the CPU 10 having an extremely high speed is required.

【0006】本発明は上記事由に鑑みて為されたもので
あり、その目的は、カラー画像から指定色と同色の画素
を抽出する演算のような小数点演算を含む演算において
浮動小数点演算を不要として演算に要するステップ数を
低減し、もって高速な演算処理を実現した演算装置およ
び演算方法を提供することにある。
The present invention has been made in view of the above reasons, and an object thereof is to eliminate the need for floating point arithmetic in arithmetic including decimal point arithmetic such as arithmetic for extracting pixels of the same color as a designated color from a color image. An object of the present invention is to provide an arithmetic device and an arithmetic method that reduce the number of steps required for arithmetic operation and thereby realize high-speed arithmetic processing.

【0007】[0007]

【課題を解決するための手段】請求項1の発明は、2つ
の入力値のうちの一方が1より小さい小数点数の定数値
である乗算を行う乗算器を備え、前記定数が2進数の固
定小数点数で表されるとともに複数の上位ビットが連続
して0であるときに、前記定数のうち0である上位ビッ
トを除いた下位ビットを整数値とみなして乗算器での乗
算を行い、乗算器の出力値の下位ビットから前記定数の
ビット数分を小数部とし、かつ乗算器の出力値のうち小
数部を除く上位ビットを整数部として次処理に引き渡す
ことを特徴とする。
According to a first aspect of the present invention, there is provided a multiplier for performing multiplication in which one of two input values is a constant value of a decimal point number smaller than 1, and the constant is a fixed binary number. When a plurality of high-order bits are represented by a decimal point and are consecutively 0, the lower bits of the constant except for the high-order bits that are 0 are regarded as integer values, and multiplication by a multiplier is performed. The number of bits of the constant from the lower bit of the output value of the multiplier is set as the decimal part, and the upper bit of the output value of the multiplier excluding the decimal part is passed as the integer part to the next process.

【0008】請求項2の発明は、請求項1の発明におい
て、画像の画素値から得られる整数値である第1数と、
指定値として与えられる整数値である第2数との比較に
用いる値を求める演算装置であって、第1数と第2数と
の差の2乗を演算結果とする第1の演算部と、前記乗算
器による1より小さい小数点数の定数値と第1数との乗
算を含んだ演算の演算結果とする第2の演算部と、第1
の演算部の演算結果を第2の演算部の演算結果により除
算する除算器とを備えることを特徴とする。
According to a second aspect of the invention, in the first aspect of the invention, a first number which is an integer value obtained from the pixel values of the image,
An arithmetic unit for obtaining a value used for comparison with a second number which is an integer value given as a designated value, the first arithmetic unit having a square of a difference between the first number and the second number as an arithmetic result. A second arithmetic unit that obtains an arithmetic result of an arithmetic operation including multiplication of a constant value of a decimal point number smaller than 1 by the multiplier and a first number;
And a divider that divides the calculation result of the calculation unit by the calculation result of the second calculation unit.

【0009】請求項3の発明は、請求項2の発明におい
て、前記第2の演算部の演算結果は固定小数点数であっ
て、前記除算器では第2の演算部の演算結果のうち整数
部のみを用いることを特徴とする。
According to a third aspect of the present invention, in the second aspect of the present invention, the arithmetic result of the second arithmetic unit is a fixed point number, and the integer part of the arithmetic result of the second arithmetic unit in the divider. It is characterized by using only.

【0010】請求項4の発明は、請求項2または請求項
3の発明において、前記除算器の2つの入力値をそれぞ
れ2の巾乗で除算する除算手段を第1の演算部および第
2の演算部と除算器との間にそれぞれ設けたことを特徴
とする。
According to a fourth aspect of the present invention, in the second or third aspect of the invention, the dividing means for dividing the two input values of the divider by the power of 2 is used as the first arithmetic unit and the second arithmetic unit. It is characterized in that it is provided between the arithmetic unit and the divider.

【0011】請求項5の発明は、画像の画素値から得ら
れる整数値である第1数と、指定値として与えられる整
数値である第2数との比較に用いる値を求める演算装置
であって、第1数と第2数との差の2乗を演算結果とす
る第1の演算部と、1より小さい小数点数の定数値と第
1数との乗算を含んだ演算の演算結果の逆数に相当する
値を第1数に対応付けたルックアップテーブルと、第1
数に対応する値としてルックアップテーブルから抽出し
た値を第1の演算部の演算結果に乗算する乗算器とを備
えることを特徴とする。
A fifth aspect of the present invention is an arithmetic device for obtaining a value used for comparison between a first number, which is an integer value obtained from pixel values of an image, and a second number, which is an integer value given as a designated value. Of the calculation result of the calculation including the multiplication of the first number by the constant value of the decimal point number smaller than 1 and the first calculation unit that calculates the square of the difference between the first number and the second number. A lookup table in which a value corresponding to the reciprocal number is associated with the first number;
A multiplier for multiplying the calculation result of the first calculation unit by a value extracted from the lookup table as a value corresponding to the number.

【0012】請求項6の発明は、請求項2ないし請求項
4の発明において、少なくとも前記除算器による除算過
程においてパイプラインレジスタを挿入してパイプライ
ン処理を行うことを特徴とする。
The invention of claim 6 is characterized in that, in the inventions of claims 2 to 4, at least a pipeline register is inserted in the division process by the divider to perform pipeline processing.

【0013】請求項7の発明は、請求項1ないし請求項
6の発明において、FPGAにより構成されていること
を特徴とする。
The invention of claim 7 is characterized in that, in the invention of claims 1 to 6, it is constituted by an FPGA.

【0014】請求項8の発明は、2つの入力値のうちの
一方が1より小さい小数点数の定数値である乗算を行う
にあたり、前記定数が2進数の固定小数点数で表される
とともに複数の上位ビットが連続して0であるときに、
前記定数のうち0である上位ビットを除いた下位ビット
を整数値とみなして乗算を行い、乗算結果の下位ビット
から前記定数のビット数分を小数部とし、かつ乗算結果
のうち小数部を除く上位ビットを整数部として次処理に
引き渡すことを特徴とする。
According to the eighth aspect of the present invention, when performing multiplication in which one of the two input values is a constant value of a decimal number smaller than 1, the constant is represented by a binary fixed point number and a plurality of constant values are expressed. When the upper bits are 0 in succession,
Of the constants, the lower bits excluding the upper bits, which are 0, are regarded as integer values, and multiplication is performed. From the lower bits of the multiplication result, the number of bits of the constant is set as a decimal part, and the decimal part of the multiplication result is excluded. It is characterized in that the upper bits are passed to the next process as an integer part.

【0015】[0015]

【発明の実施の形態】(第1の実施の形態)本実施形態
では、図11に示した構成に対して、演算手段としての
CPU10で色差を求める演算に際して浮動小数点演算
を行わずに固定小数点演算を用いることによって、色差
を求める演算のステップ数を削減する構成を採用してい
る。さらに、図11に示した構成では、CPU10と取
込用画像メモリ12R,12G,12Bとルックアップ
テーブル14と表示用画像メモリ15とがバスBを共用
しているから、取込用画像メモリ12R,12G,12
Bから画像データを読み込む処理と、ルックアップテー
ブル14に画像データを照合する処理と、演算を実行す
る処理と、演算結果を表示用画像メモリ15に書き出す
処理とを順次行うことになり、取込用画像メモリ12
R,12G,12Bからの画像データの読み込みと、表
示用画像メモリ15への演算結果の書き込みは同時に行
うことができず、バスBがボトルネックになっていたの
に対して、本実施形態では、取込用画像メモリ12R,
12G,12Bからの画像データの取り込みと、表示用
画像メモリ15への演算結果の書き出しとを同時に行う
ことを可能にしている。
BEST MODE FOR CARRYING OUT THE INVENTION (First Embodiment) In the present embodiment, in comparison with the configuration shown in FIG. By using the calculation, the number of steps for calculating the color difference is reduced. Further, in the configuration shown in FIG. 11, the CPU 10, the capture image memories 12R, 12G, 12B, the look-up table 14, and the display image memory 15 share the bus B, so that the capture image memory 12R is used. , 12G, 12
The process of reading the image data from B, the process of collating the image data with the look-up table 14, the process of executing the calculation, and the process of writing the calculation result to the display image memory 15 are sequentially performed. Image memory 12
The image data from R, 12G, and 12B cannot be read at the same time, and the calculation result cannot be written to the display image memory 15, and the bus B becomes a bottleneck. , Image memory for capture 12R,
It is possible to take in the image data from 12G and 12B and write the calculation result to the display image memory 15 at the same time.

【0016】すなわち、図2に示すように、取込用画像
メモリ12R,12G,12B、ルックアップテーブル
14、表示用画像メモリ15をCPU10の異なる部位
に接続するとともに、CPU10において表色系の変換
のための前処理を行う副演算部10cと、変換後の表色
系において色差を求めるための演算を行う主演算部10
dとを設けている。この構成により、副演算部10cに
おいて取込用画像メモリ12R,12G,12Bから画
像データを取り込むとともに、主演算部10dがルック
アップテーブル14に演算結果を書き出す処理とが同時
に行えるようにしてある。さらに、色差を求める演算に
おいて浮動小数点演算を行うためのFPU10bは用い
ずに、固定小数点演算を行うことによって整数演算と同
じ手順で少数点数の演算を行い、結果的に浮動小数点演
算を行う場合よりも高速化を可能とし、かつまた浮動小
数点演算を行うためのFPU10bを省略することによ
って回路規模を縮小している。
That is, as shown in FIG. 2, the capture image memories 12R, 12G, 12B, the look-up table 14, and the display image memory 15 are connected to different parts of the CPU 10, and the CPU 10 converts the color system. And a main calculation unit 10 for performing a calculation for obtaining a color difference in the converted color system.
d and are provided. With this configuration, the sub-calculation unit 10c can simultaneously capture the image data from the capture image memories 12R, 12G, and 12B and write the calculation result to the lookup table 14 by the main calculation unit 10d. Further, rather than using the FPU 10b for performing the floating point operation in the color difference calculation, by performing the fixed point operation, the decimal point operation is performed in the same procedure as the integer operation, and as a result, the floating point operation is performed. Also, the circuit scale is reduced by omitting the FPU 10b for performing the floating-point calculation.

【0017】本実施形態では、取込用画像メモリ12
R,12G,12Bから入力されたカラー画像の画素値
(つまり、三刺激値RGB)に対する副演算部10cで
の演算結果をルックアップテーブル14に与えることに
よって、CIELAB色空間(L* * * 色空間)で
のL* * * に対応する各値Lm,am,bmと彩度
Smとをルックアップテーブル14から主演算部10d
に入力するように構成してある。
In this embodiment, the capturing image memory 12 is used.
By giving the lookup table 14 the calculation result of the sub-calculation unit 10c for the pixel values (that is, tristimulus values RGB) of the color image input from R, 12G, and 12B, the CIELAB color space (L * a * b The values Lm, am, bm corresponding to L * a * b * in the ( * color space) and the saturation Sm are calculated from the look-up table 14 to the main calculation unit 10d.
It is configured to input to.

【0018】図3に主演算部10dの構成を示す。上述
したように、主演算部10dにはカラー画像に関する値
Lm,am,bm,Smが入力されるから、主演算部1
0dに対して入力装置13からは指定色に対応した各値
Li,ai,bi,Siが入力される。主演算部10d
では、これらの値Lm,am,bm,Sm,Li,a
i,bi,Siに基づいて、次式の形で色差を求める。 色差={(ΔH/TH)2 +(ΔS/TS)2 +(Δ
L)2 1/2 ただし、 ΔH2 =Δa2 +Δb2 −ΔS2 ΔS=Sm−Si ΔL=Lm−Li Δa=am−ai Δb=bm−bi TH=1+0.015×Si TS=1+0.045×Si ここにおいて、値Lm,am,bm,Sm,Li,a
i,bi,Siはいずれも整数であるが、値TH,TS
が小数点数であるから、色差の演算には小数点演算が必
要になっている。
FIG. 3 shows the configuration of the main arithmetic unit 10d. As described above, the values Lm, am, bm, and Sm related to the color image are input to the main calculation unit 10d, so the main calculation unit 1
With respect to 0d, the values Li, ai, bi, and Si corresponding to the designated color are input from the input device 13. Main operation unit 10d
Then, these values Lm, am, bm, Sm, Li, a
A color difference is obtained based on i, bi, and Si in the form of the following equation. Color difference = {(ΔH / TH) 2 + (ΔS / TS) 2 + (Δ
L) 2 } 1/2 where ΔH 2 = Δa 2 + Δb 2 −ΔS 2 ΔS = Sm-Si ΔL = Lm-Li Δa = am-ai Δb = bm-bi TH = 1 + 0.015 × Si TS = 1 + 0. 045 × Si where the values Lm, am, bm, Sm, Li, a
i, bi, and Si are all integers, but the values TH and TS
Is a decimal point number, a decimal point operation is required to calculate the color difference.

【0019】図3に示す構成では、値Lm,Liを9ビ
ットの符号なし整数とし、値am,bm,Sm,ai,
bi,Siについては10ビットの符号無し整数を用い
るものとする。値am,aiの組、値bm,biの組、
値Sm,Siの組、値Lm,Liの組はそれぞれ減算器
21a,22a,23a,24aに入力され、Δa(=
am−ai),Δb(=bm−bi),ΔS(=Sm−
Si),ΔL(=Lm−Li)がそれぞれ求められる。
また、各減算器21a,22a,23a,24aの出力
は、それぞれ乗算器21b,22b,23b,24bに
入力されて2乗した値Δa2 ,Δb2 ,ΔS2 ,ΔL2
が求められる。また、値Siは、後述する2つの小数点
演算器25a,25bに入力され、値TH,TSがそれ
ぞれ求められるとともに、各値TH,TSを2乗した値
TH2 ,TS2 が求められる。乗算器21b,22b,
23bの出力は加減算器25cに入力されて、値ΔH2
(=Δa2 +Δb2 −ΔS2 )が求められる。加減算器
25cの出力値ΔH2 と乗算器23bの出力値ΔS2
はそれぞれ除算器26a,26bに入力され、それぞれ
小数点演算器25a,25bの出力値TH2 ,TS2
より除算される。つまり、除算器26aの出力値は(Δ
H/TH)2 になり、除算器26bの出力値は(ΔS/
TS)2 になる。両除算器26a,26bの出力(ΔH
/TH)2 ,(ΔS/TS)2 は乗算器24bの出力Δ
2 とともに加算器27aに入力され、加算器27aの
出力が平方根演算部27bに入力されることによって上
式の色差が求められる。平方根演算部27bの出力値は
正規化部27cに入力されて正規化され、正規化部27
cの出力値が主演算部10dの出力になる。すなわち、
値ai,biあるいは値Siが第1数に相当し、値a
m,bmあるいは値Smが第2数に相当する。また、減
算器22a,23aと乗算器22b,23bと加減算器
25c、あるいは減算器24aと乗算器24bにより第
1の演算部が構成される。さらに、小数点演算部25
a,25bが第2の演算部として機能する。
In the configuration shown in FIG. 3, the values Lm and Li are 9-bit unsigned integers, and the values am, bm, Sm, ai, and
For bi and Si, a 10-bit unsigned integer is used. A set of values am and ai, a set of values bm and bi,
The set of values Sm and Si and the set of values Lm and Li are input to subtractors 21a, 22a, 23a and 24a, respectively, and Δa (=
am-ai), Δb (= bm-bi), ΔS (= Sm-
Si) and ΔL (= Lm-Li) are obtained respectively.
The outputs of the subtractors 21a, 22a, 23a, and 24a are input to the multipliers 21b, 22b, 23b, and 24b, respectively, and squared values Δa 2 , Δb 2 , ΔS 2 , and ΔL 2
Is required. The value Si is below two point unit 25a, is input to 25b, the value TH, with TS are obtained, respectively, each value TH, the value TH 2, TS 2 of the squared TS obtained. Multipliers 21b, 22b,
The output of 23b is input to the adder / subtractor 25c, and the value ΔH 2
(= Δa 2 + Δb 2 −ΔS 2 ) is obtained. The output value ΔH 2 of the adder / subtractor 25c and the output value ΔS 2 of the multiplier 23b are input to the dividers 26a and 26b, respectively, and are divided by the output values TH 2 and TS 2 of the decimal point arithmetic units 25a and 25b, respectively. That is, the output value of the divider 26a is (Δ
H / TH) 2 , and the output value of the divider 26b is (ΔS /
TS) 2 . Outputs of both dividers 26a and 26b (ΔH
/ TH) 2 , (ΔS / TS) 2 is the output Δ of the multiplier 24b.
The color difference in the above equation is obtained by inputting the output of the adder 27a together with L 2 to the square root calculating unit 27b. The output value of the square root calculation unit 27b is input to the normalization unit 27c and normalized, and the normalization unit 27c
The output value of c becomes the output of the main calculation unit 10d. That is,
The value ai, bi or the value Si corresponds to the first number, and the value a
The m, bm or the value Sm corresponds to the second number. Further, the subtractors 22a and 23a, the multipliers 22b and 23b, and the adder / subtractor 25c, or the subtractor 24a and the multiplier 24b constitute a first arithmetic unit. Furthermore, the decimal point calculation unit 25
a and 25b function as a second computing unit.

【0020】ところで、本発明の特徴の一つは、上述し
た値TH2 ,TS2 を求めるにあたって固定小数点演算
を行う点にある。以下に、本実施形態における各値TH
2 ,TS2 の演算技術について説明する。
By the way, one of the features of the present invention is that fixed-point arithmetic is performed in obtaining the above-mentioned values TH 2 and TS 2 . Below, each value TH in the present embodiment
2 and TS 2 calculation technology will be described.

【0021】まず、値TH2 を求める演算について説明
する。値THは上述したように、(1+0.015×S
i)であって、本発明では小数点数の演算にあたって固
定小数点演算を適用することにより、小数点数の演算を
整数演算と同じ手順で行えるようにして高速な演算を可
能とするものであるから、Siの係数である0.015
に固定小数点表現を用いなければならない。しかしなが
ら、値Siの係数0.015は2進数の固定小数点表現
では正確に表すことはできない。すなわち、固定小数点
表現を用いると、表1に示すように小数点以下のビット
幅を大きくしても正確に0.015に一致させることは
できない。なお、表1では10進数表記において0.0
15を超えないように2進数表記を行う場合について、
2進数の小数点以下のビット幅と2進数表記と10進数
表記との関係を示している。
First, the calculation for obtaining the value TH 2 will be described. The value TH is (1 + 0.015 × S
In the present invention, since the fixed point arithmetic is applied to the arithmetic of the decimal point in the present invention, the arithmetic of the decimal point can be performed in the same procedure as that of the integer arithmetic, which enables high speed arithmetic. 0.015 which is the coefficient of Si
Must use fixed-point notation. However, the coefficient 0.015 of the value Si cannot be accurately represented by a binary fixed point representation. That is, using the fixed-point representation, as shown in Table 1, even if the bit width below the decimal point is increased, it is not possible to exactly match 0.015. In Table 1, the decimal notation is 0.0
Regarding the binary notation so that it does not exceed 15,
The relationship between the bit width below the decimal point of a binary number, the binary number notation, and the decimal number notation is shown.

【0022】[0022]

【表1】 [Table 1]

【0023】表1によれば、10進数表記の0.015
<d>(以下では数値に<b>を付加した場合は2進数
表記、<d>を付加した場合は10進数表記を意味する
こととする)に対してたとえば誤差が1%以内になるよ
うに2進数表記を選択するとすれば、2進数表記で小数
点以下のデータが12ビットあればよいことがわかる。
一方、色差を求める演算において1%程度の誤差は実用
上では問題にならないから、値THを求める際の値Si
の係数である0.015<d>に対応する2進数表記と
して0.000000111101<b>を採用するこ
とにする。
According to Table 1, 0.015 in decimal notation
For <d> (below, when <b> is added to the numerical value, it means binary notation, and when <d> is added, it means decimal notation), for example, the error is within 1%. If the binary number notation is selected for, it will be understood that the binary number notation requires only 12 bits of data after the decimal point.
On the other hand, an error of about 1% in the calculation for obtaining the color difference does not pose a problem in practical use, so the value Si when the value TH is obtained is
0.000000011101 <b> will be adopted as the binary notation corresponding to the coefficient of 0.015 <d>.

【0024】値TH2 を求める構成としては図4に示す
構成が考えられる。値Siは10ビットの符号無し整数
であり、上述のように値Siの係数は固定小数点表現で
表した12ビットの符号なし小数点数である。図4では
数値を長方形で表しており、長方形の下に付加したドッ
トは小数点の位置を示している。また、長方形の上に示
した数値は値のビット幅を示している。両値は乗算器3
1aに入力され乗算されることによって0.015×S
iに相当する値が求められる。この値は22ビットにな
る。次に、乗算器31aの出力値に1が加算される。こ
こに、値0.015<d>の2進数表記では小数点以下
12ビットで表しているから、1にも小数点以下12ビ
ットを付加して13ビットとしてある。乗算器31aの
出力値と13ビットで表された1とは加算器32aによ
り加算されて値THが求められ、さらに乗算器33aに
より2乗されることにより値TH2 が求められる。2進
数表記の値は2乗すれば整数部と小数部とがそれぞれ入
力値の2倍のビット幅になるから、上述の過程で求めた
値TH2 は整数部が20ビット、小数部が24ビットに
なり、ビット幅が44ビットの出力値が得られることに
なる。ところで、値TH2 は上述のように除算器26a
に入力されるのであって、44ビットのデータを除算器
25aに入力するとすれば、除算器26aの規模が大き
くなり、演算の高速化を妨げることになる。
A configuration shown in FIG. 4 is conceivable as a configuration for obtaining the value TH 2 . The value Si is a 10-bit unsigned integer, and as described above, the coefficient of the value Si is a 12-bit unsigned decimal point number expressed in fixed point representation. In FIG. 4, the numerical values are represented by rectangles, and the dots added below the rectangles indicate the positions of decimal points. Also, the numerical value above the rectangle indicates the bit width of the value. Both values are multiplier 3
0.015 × S by being input to 1a and being multiplied
A value corresponding to i is obtained. This value is 22 bits. Next, 1 is added to the output value of the multiplier 31a. Here, in the binary notation of the value 0.015 <d>, it is represented by 12 bits after the decimal point, so that 12 bits after the decimal point is added to 1 as 13 bits. The output value of the multiplier 31a and 1 represented by 13 bits are added by the adder 32a to obtain the value TH, and further squared by the multiplier 33a to obtain the value TH 2 . If the value in binary notation is squared, the integer part and the fractional part each have a bit width twice the input value. Therefore, the value TH 2 obtained in the above process has an integer part of 20 bits and a decimal part of 24. Thus, an output value having a bit width of 44 bits is obtained. By the way, the value TH 2 is calculated by the divider 26a as described above.
If 44-bit data is input to the divider 25a, the scale of the divider 26a becomes large, which hinders high-speed operation.

【0025】そこで、除算器26aに入力するビット数
を低減するために、図1に示す構成を採用する。図1に
示す構成では、演算結果である値TH2 と演算過程にお
ける各値のビット幅を削減してあり、この構成を採用す
ることによって主演算部10dの回路規模を小さくする
とともに演算処理を高速化することが可能になる。
Therefore, in order to reduce the number of bits input to the divider 26a, the configuration shown in FIG. 1 is adopted. In the configuration shown in FIG. 1, the value TH 2 as the operation result and the bit width of each value in the operation process are reduced. By adopting this configuration, the circuit scale of the main operation unit 10d is reduced and the operation processing is performed. It becomes possible to speed up.

【0026】すなわち、図1に示す構成では、係数0.
015<d>の2進数表記である0.00000011
1101<b>において、小数部の上位6桁がすべて0
である点に着目し、小数点以下7桁目から12桁目まで
の6ビットについてのみ実質的な演算を行う構成を採用
してある。そこで、まず係数については12ビット左シ
フトを行って係数の小数点を右端に移動させたものとし
て扱い、下位6ビットのみを乗算器31aに入力する。
乗算器31aには6ビットの係数とともに10ビットの
値Siが入力され、16ビットの値を出力する。乗算器
31aの出力値は一方の入力値が12ビット左シフトさ
れた値として扱っており、真の値を4096倍した値で
あるから、真の値を得るために乗算器31aの出力値に
対して12ビット右シフトを行った形で以後の処理を行
う。つまり、乗算器31aの出力のうち上位4ビットを
整数部として用い、下位12ビットを小数部として扱う
のである。このように、図4に示した構成では乗算器3
1aにおける演算結果のビット数が6ビット削減される
から、小規模な乗算器31aを用いることが可能にな
る。また、上述のように左シフトや右シフトは実際にシ
フト演算を行うのではなく、乗算器31aの入出力値を
シフト演算した値として扱うだけであるから、シフト演
算器は不要である。このように、係数を2進数表記した
ときに小数点から0が複数ビット連続して存在する場合
には、係数をビットシフトした形で扱うことにより演算
に用いる値のビット幅を削減することが可能になり、結
果的に主演算部10dの規模を小さくするとともに演算
速度を向上させることができる。
That is, in the configuration shown in FIG.
0.000000011, which is the binary notation of 015 <d>
In 1101 <b>, the upper 6 digits of the decimal part are all 0
Paying attention to this point, a configuration is adopted in which substantial calculation is performed only on 6 bits from the 7th digit to the 12th digit after the decimal point. Therefore, the coefficient is first treated as if the decimal point of the coefficient is moved to the right end by performing a 12-bit left shift, and only the lower 6 bits are input to the multiplier 31a.
A 10-bit value Si is input to the multiplier 31a together with a 6-bit coefficient, and a 16-bit value is output. The output value of the multiplier 31a is treated as a value obtained by shifting one input value to the left by 12 bits and is a value obtained by multiplying the true value by 4096. Therefore, the output value of the multiplier 31a is set to obtain the true value. Thereafter, the subsequent processing is performed in the form of performing a 12-bit right shift. That is, the upper 4 bits of the output of the multiplier 31a are used as the integer part, and the lower 12 bits are treated as the decimal part. As described above, in the configuration shown in FIG.
Since the number of bits of the operation result in 1a is reduced by 6 bits, it becomes possible to use a small scale multiplier 31a. Further, as described above, the left shift and the right shift do not actually perform the shift operation, but only handle the input / output value of the multiplier 31a as the value obtained by the shift operation, and thus the shift operation unit is not necessary. As described above, when the coefficient is expressed in binary notation and there are consecutive 0s from the decimal point, it is possible to reduce the bit width of the value used in the calculation by handling the coefficient in a bit-shifted form. As a result, the scale of the main arithmetic unit 10d can be reduced and the arithmetic speed can be improved.

【0027】乗算器31aの出力は図4に示した構成と
同様に加算器32aに入力されて1と加算され、さらに
乗算器33aに入力されて2乗される。図1に示す構成
では乗算器33aにおいて16ビットの乗算を行ってお
り、乗算器33aへの入力値の整数部が4ビット、小数
部が12ビットであるから、乗算器33aの出力値は整
数部が8ビット、小数部が24ビットになり、合計32
ビットの出力値になる。このことは図4に示した構成に
比較して乗算器33aで扱うビット数を削減したことに
はなるが、さらにビット数を削減するために、以後の処
理には小数部の上位8ビットのみを用いることとし、値
TH2 を16ビットで除算器26aに与えるようにして
いる。ここに、小数部の下位8ビットを無視しても色差
の演算に与える影響は比較的小さいから、除算器26a
に与える有効桁数を16ビットとすることによって、主
演算部10dの規模の縮小化および処理の高速化を図っ
ている。
The output of the multiplier 31a is input to the adder 32a and added with 1, similarly to the configuration shown in FIG. 4, and further input to the multiplier 33a to be squared. In the configuration shown in FIG. 1, the multiplier 33a performs 16-bit multiplication, and since the integer part of the input value to the multiplier 33a is 4 bits and the decimal part is 12 bits, the output value of the multiplier 33a is an integer. 8 bits for the part and 24 bits for the decimal part, for a total of 32
It becomes the output value of the bit. This means that the number of bits handled by the multiplier 33a is reduced as compared with the configuration shown in FIG. 4, but in order to further reduce the number of bits, only the upper 8 bits of the decimal part are used for the subsequent processing. Is used, and the value TH 2 is given to the divider 26a in 16 bits. Here, since the influence on the calculation of the color difference is relatively small even if the lower 8 bits of the decimal part are ignored, the divider 26a
By making the number of significant digits given to 16 bits, the scale of the main arithmetic unit 10d is reduced and the processing speed is increased.

【0028】値TS2 を求める演算は値TH2 を求める
演算とは値Siの係数値が異なるだけであるから、図5
に示すように図1に示した構成と同様の構成を採用する
ことができる。ただし、係数0.045<d>に相当す
る2進数表記の値は、誤差が1%以下という条件で0.
000010111<b>を採用した。この値は、10
進数表記では0.044921875<d>になる。つ
まり、係数は9ビットであり、小数点以下の上位4ビッ
トが0であることから、小数点以下の下位5ビットを有
効な値として用いた。すなわち、値Siに係数を乗算す
る乗算器31bには、10ビットの値Siと係数のうち
の下位5ビットを入力し、乗算器31bから15ビット
の出力値を得る。乗算器31bの出力値は9ビット左シ
フトした形で扱っているから、下位9ビットを小数部と
して扱い、上位6ビットを整数部として扱う。
The calculation of the value TS 2 differs from the calculation of the value TH 2 only in the coefficient value of the value Si.
A configuration similar to that shown in FIG. 1 can be employed as shown in FIG. However, the value in binary notation corresponding to the coefficient 0.045 <d> is 0.
0000111111 <b> was adopted. This value is 10
In decimal notation, it is 0.044921875 <d>. That is, since the coefficient is 9 bits and the upper 4 bits below the decimal point are 0, the lower 5 bits below the decimal point are used as valid values. That is, the 10-bit value Si and the lower 5 bits of the coefficient are input to the multiplier 31b that multiplies the value Si by the coefficient, and a 15-bit output value is obtained from the multiplier 31b. Since the output value of the multiplier 31b is handled by shifting it by 9 bits to the left, the lower 9 bits are treated as a decimal part and the upper 6 bits are treated as an integer part.

【0029】乗算器31bの出力は加算器32bにおい
て1と加算されて値TSが求められ、さらにこの値TS
が乗算器33bに入力されて2乗される。乗算器33b
の出力は上位12ビットが整数部、下位18ビットが小
数部である30ビットの値であるから、値THとビット
幅を揃えるために、下位14ビットを無視して上位16
ビットのみを用いる。つまり、16ビットのうち上位1
2ビットが整数部になり、残りの4ビットが小数部にな
る。
The output of the multiplier 31b is added with 1 in the adder 32b to obtain the value TS, and the value TS is further obtained.
Is input to the multiplier 33b and squared. Multiplier 33b
Since the output is a 30-bit value in which the upper 12 bits are the integer part and the lower 18 bits are the decimal part, the lower 16 bits are ignored and the upper 16 bits are set in order to match the bit width with value TH.
Only use bits. In other words, the upper 1 of 16 bits
2 bits become the integer part and the remaining 4 bits become the decimal part.

【0030】しかして、図2に示した主演算部10dに
おいて図5に示した構成を値TS2を求めるための小数
点演算器25bとして用い、色差式における彩度に関す
る項(ΔS/TS)2 の演算を行う部分を抽出すると図
6のようになる。減算器23aには10ビットの符号な
し整数である値Si,Smが入力され、減算によって1
1ビットの符号付き整数が出力される。乗算器23bで
は減算器23aの出力値が2乗され、この出力は22ビ
ットであるが上位1ビットは符号ビットであり2乗した
値に符号は不要であるから上位1ビットを無視して下位
21ビットを扱う。ただし、上述したように小数演算器
25bは16ビットの出力値のうち下位4ビットが小数
部であるから、乗算器23bから出力される22ビット
の正数値にも桁合わせのためには小数部として4ビット
を付加する。つまり、乗算器23bから除算器26bに
は25ビット(=22ビット−1ビット+4ビット)の
値が入力され、小数点演算器25bから除算器26bに
は16ビットの値が入力される。したがって、除算器2
6bの出力は25ビットになる。
Therefore, in the main arithmetic unit 10d shown in FIG. 2, the configuration shown in FIG. 5 is used as the decimal point arithmetic unit 25b for obtaining the value TS 2, and the term (ΔS / TS) 2 relating to the saturation in the color difference formula is used. When the portion for performing the calculation of is extracted, it becomes as shown in FIG. The values Si and Sm, which are unsigned integers of 10 bits, are input to the subtractor 23a, and 1 is obtained by subtraction.
A 1-bit signed integer is output. In the multiplier 23b, the output value of the subtractor 23a is squared, and this output is 22 bits, but the upper 1 bit is a sign bit and the squared value does not require a sign. Handles 21 bits. However, as described above, since the lower 4 bits of the 16-bit output value of the decimal arithmetic unit 25b are the decimal part, the 22-bit positive value output from the multiplier 23b is also a decimal part for digit alignment. 4 bits are added as. That is, a value of 25 bits (= 22 bits-1 bit + 4 bits) is input from the multiplier 23b to the divider 26b, and a 16-bit value is input from the decimal point calculator 25b to the divider 26b. Therefore, the divider 2
The output of 6b becomes 25 bits.

【0031】ところで、図6に示した構成から明らかな
ように、主演算部10dにおいては、除算器26a,2
6bにおいて25ビットのデータを扱っており、扱うビ
ット数が他の構成よりも大きくなっている。すなわち、
回路規模においては除算器26a,26bがもっとも大
きく、また除算に要する処理時間は他の処理よりも長く
なる。そこで、除算器26a,26bにおいて扱うビッ
ト数を削減するために小数点演算器25bの出力値のう
ちの小数部を無視し、除算器26a,26bへの入力値
を整数値とすれば、除算器26a,26bの回路規模お
よび処理時間を短縮することが可能である。この構成を
採用した例を図7に示す。図7に示す構成例では、除算
器26bでは小数点演算部25bの出力値のうちの上位
12ビットのみを採用して小数部を無視することによっ
て、小数点演算部25bの出力値を12ビットとして扱
っている。このように小数点演算部25bの小数部を無
視したことによって乗算器23bの出力値に小数部を付
加する必要がないから、乗算器23bから除算器26b
への入力値は上位1ビットを除いた21ビットになって
いる。その結果、除算器26bの出力値も21ビットに
なり、図6に示した構成例よりもさらにビット数が削減
され、除算器26bの回路規模が図6の構成よりも縮小
されるとともに演算処理に要する時間も短縮される。
By the way, as is apparent from the configuration shown in FIG. 6, in the main arithmetic unit 10d, the dividers 26a and 2a are divided.
In 6b, 25-bit data is handled, and the number of bits handled is larger than in other configurations. That is,
The dividers 26a and 26b are the largest in terms of circuit scale, and the processing time required for division is longer than other processing. Therefore, in order to reduce the number of bits handled by the dividers 26a and 26b, the decimal part of the output value of the decimal point calculator 25b is ignored, and the input values to the dividers 26a and 26b are integer values. It is possible to reduce the circuit scale and processing time of 26a and 26b. An example of adopting this configuration is shown in FIG. In the configuration example shown in FIG. 7, the divider 26b treats the output value of the decimal point operation unit 25b as 12 bits by adopting only the upper 12 bits of the output value of the decimal point operation unit 25b and ignoring the fractional part. ing. Since it is not necessary to add the decimal part to the output value of the multiplier 23b by ignoring the decimal part of the decimal point operation part 25b in this way, the multiplier 23b to the divider 26b
The input value to is 21 bits excluding the upper 1 bit. As a result, the output value of the divider 26b also becomes 21 bits, the number of bits is further reduced as compared with the configuration example shown in FIG. 6, the circuit scale of the divider 26b is reduced as compared with the configuration of FIG. The time required for is also reduced.

【0032】除算器26a,26bの回路規模をさらに
縮小するには、各除算器26a,26bにそれぞれ入力
される2つの値を同じ値であらかじめ除算する技術を採
用することができる。たとえば、図8に示すように、除
算器26bに入力される2つの値をそれぞれ2で除算し
てから除算器26bに入力すれば、除算器26bで扱う
値は1ビット少なくなり、除算器26bの出力値を20
ビットとすることが可能になる。除算する値は必ずしも
2である必要はないが、2の巾乗で除算することによっ
て1ビット単位でビット数を削減することが可能にな
る。たとえば、4で除算すれば2ビット削減され、8で
除算すれば3ビット削減される。
In order to further reduce the circuit scale of the dividers 26a and 26b, it is possible to employ a technique of previously dividing the two values respectively inputted to the dividers 26a and 26b by the same value. For example, as shown in FIG. 8, if the two values input to the divider 26b are each divided by 2 and then input to the divider 26b, the value handled by the divider 26b is reduced by one bit, and the divider 26b Output value of 20
Can be a bit. The value to be divided does not necessarily have to be 2, but division by a power of 2 makes it possible to reduce the number of bits in 1-bit units. For example, dividing by 4 reduces 2 bits, and dividing by 8 reduces 3 bits.

【0033】上述のような手法を採用して除算器26
a,26bへの入力値のビット数を削減すると、演算精
度が低下するおそれもあるが、図8に示す構成を採用し
た場合の主演算部10dでの演算結果は、同じ入力値に
ついて浮動小数点演算を行った場合の演算結果と比較し
て比較的小さい誤差しかなく、この程度の誤差は色差を
求める演算においては実用上での問題は生じないもので
あった。ちなみに、主演算部10dで求めた色差が0〜
260程度の範囲で変化するとすれば、図8に示す構成
を採用した演算結果は浮動小数点演算を行う場合に対し
て1〜2程度の誤差にとどまっており、実用上で差し支
えのない程度の誤差であった。
The divider 26 is adopted by using the above-mentioned method.
If the number of bits of the input values to a and 26b is reduced, the calculation accuracy may decrease, but the calculation result in the main calculation unit 10d when the configuration shown in FIG. There is only a comparatively small error compared with the calculation result when the calculation is performed, and such an error does not cause a practical problem in the calculation for obtaining the color difference. By the way, the color difference obtained by the main calculation unit 10d is 0
If it changes in the range of about 260, the operation result adopting the configuration shown in FIG. 8 has an error of about 1 to 2 as compared with the case of performing the floating point operation, and the error is of a level that is practically acceptable. Met.

【0034】(第2の実施の形態)第1の実施の形態で
は、色差を求めるために除算器26a,26bを用いる
構成を採用していたが、本実施形態は、図9に示すよう
に、除算器26a,26bに代えて乗算器26を用い、
除数である値TH2 ,TS2 の逆数を乗算器23bの出
力値に乗算する構成を採用している。
(Second Embodiment) In the first embodiment, a configuration in which the dividers 26a and 26b are used to obtain the color difference is adopted, but in the present embodiment, as shown in FIG. , A multiplier 26 is used instead of the dividers 26a and 26b,
A configuration is adopted in which the output value of the multiplier 23b is multiplied by the reciprocal of the values TH 2 and TS 2 that are divisors.

【0035】この構成では、主演算部10dでは値TH
2 ,TS2 の演算を行わず、主演算部10dの外部でこ
れらの値TH2 ,TS2 の逆数を求める必要がある。た
だし、値TH2 ,TS2 は、値Siに対して定数の乗算
および加算を行う演算であり、値Siに対して一義的に
決定される値であるから、値Siが取りうる数値に対し
て値TH2 ,TS2 の値をあらかじめ演算しておくこと
が可能であって、値Siに値TH2 ,TS2 の逆数を対
応付けてルックアップテーブル14に格納しておけば、
特別な演算を行うことなくルックアップテーブル14か
ら対応する値を読み出すだけの処理になる。
In this configuration, the main calculation unit 10d has the value TH.
2, without operation of the TS 2, it is necessary to obtain the inverse of these values TH 2, TS 2 outside the main operation portion 10d. However, the values TH 2 and TS 2 are operations for multiplying and adding a constant to the value Si and are values uniquely determined for the value Si. The values TH 2 and TS 2 can be calculated in advance, and if the value Si is associated with the reciprocal of the values TH 2 and TS 2 and stored in the lookup table 14,
This is a process of reading the corresponding value from the lookup table 14 without performing a special calculation.

【0036】上述した構成を採用すれば、除算器26
a,26bが不要になり、乗算器26は除算器26a,
26bに比較すると回路構成が簡単であるから、結果的
に主演算部10dの回路規模を縮小することが可能にな
る。また、ルックアップテーブル14を設けることによ
って値Siから値TH2 ,TS2 を求めるための演算が
不要になるから、ルックアップテーブル14は規模が比
較的大きくなるものの演算処理の一部が不要になること
によって処理速度が高速化されることになる。他の構成
および動作は第1の実施の形態と同様である。
If the above-mentioned configuration is adopted, the divider 26
a and 26b are no longer necessary, and the multiplier 26 is a divider 26a,
Since the circuit configuration is simple as compared with 26b, it is possible to reduce the circuit scale of the main calculation unit 10d as a result. Further, by providing the look-up table 14, the calculation for obtaining the values TH 2 and TS 2 from the value Si becomes unnecessary, so that the look-up table 14 becomes relatively large in scale, but a part of the calculation processing becomes unnecessary. As a result, the processing speed is increased. Other configurations and operations are similar to those of the first embodiment.

【0037】(第3の実施の形態)上述した実施形態で
は、主演算部10dの演算が必要な時間内に完了するも
のと仮定して説明したが、実際には演算が許容された演
算時間に間に合わない場合も生じる可能性がある。そこ
で、必要なスループットを実現できるように、主演算部
10dを複数のブロックに分割してパイプライン化する
ことによって、この種の問題を回避することができる。
(Third Embodiment) In the above-described embodiment, the explanation has been made on the assumption that the arithmetic operation of the main arithmetic unit 10d is completed within a necessary time. There is a possibility that it will not be in time. Therefore, this kind of problem can be avoided by dividing the main arithmetic unit 10d into a plurality of blocks and pipelining them so that the required throughput can be realized.

【0038】たとえば、除算器26a,26bを設けて
いる構成において、除算の実行だけで許容された演算時
間をほとんど費やしてしまい、しかも全体の演算時間の
中で除算が占める割合が大きい場合がある。このような
場合には、図10に示すように、図2に示した主演算部
10dにおいて、除算と、除算前の演算,除算後の演算
の3つのブロックに分割し、各ブロック間にそれぞれパ
イプラインレジスタ28を挿入し、3段パイプライン構
成にすることで所望の演算速度を達成することが可能に
なる。なお、パイプライン構成とするための分割数や分
割位置は図10の構成に限定されるものではなく、たと
えば、除算に要する演算時間が長すぎる場合には、除算
器としてパイプライン構成のものを用いる構成を採用す
ることも可能である。他の構成および動作は第1の実施
の形態と同様であり、この構成においても第2の実施の
形態と同様の構成を採用することが可能である。
For example, in the configuration in which the dividers 26a and 26b are provided, there is a case in which the operation time allowed for executing only the division is almost spent, and the division accounts for a large proportion of the entire operation time. . In such a case, as shown in FIG. 10, the main operation unit 10d shown in FIG. 2 is divided into three blocks of division, operation before division, and operation after division, and each block is divided into three blocks. A desired arithmetic speed can be achieved by inserting the pipeline register 28 and adopting a three-stage pipeline configuration. Note that the number of divisions and division positions for forming a pipeline configuration are not limited to the configuration of FIG. 10. For example, when the operation time required for division is too long, a divider with a pipeline configuration is used. It is also possible to adopt the configuration used. Other configurations and operations are the same as those of the first embodiment, and it is possible to adopt the same configuration as that of the second embodiment also in this configuration.

【0039】上述した各種構成は、必要に応じて採用す
ればよく、たとえば、FPGA(Field Programmable
Gate Allay)を用いて主演算部10dを構成すれ
ば、主演算部10dの実装後であっても機能を必要に応
じて変更することが可能になり、上述した各種構成を適
宜に採用可能とするように主演算部10dの機能を変更
することが可能になる。
The above-mentioned various configurations may be adopted as needed. For example, FPGA (Field Programmable)
If the main operation unit 10d is configured by using Gate Allay), the function can be changed as necessary even after the main operation unit 10d is mounted, and the various configurations described above can be appropriately adopted. It becomes possible to change the function of the main arithmetic unit 10d so that.

【0040】[0040]

【発明の効果】請求項1の発明は、2つの入力値のうち
の一方が1より小さい小数点数の定数値である乗算を行
う乗算器を備え、前記定数が2進数の固定小数点数で表
されるとともに複数の上位ビットが連続して0であると
きに、前記定数のうち0である上位ビットを除いた下位
ビットを整数値とみなして乗算器での乗算を行い、乗算
器の出力値の下位ビットから前記定数のビット数分を小
数部とし、かつ乗算器の出力値のうち小数部を除く上位
ビットを整数部として次処理に引き渡すものであり、乗
算器において小数点数の乗算を行うにもかかわらず浮動
小数点演算が不要であって、小規模の回路構成で高速な
演算処理が可能になる。
According to the invention of claim 1, one of the two input values is provided with a multiplier for performing multiplication, which is a constant value of a decimal point number smaller than 1, and the constant is represented by a binary fixed point number. When a plurality of high-order bits are continuously 0, the low-order bits other than the high-order bit that is 0 in the constant are regarded as an integer value for multiplication by the multiplier, and the output value of the multiplier The number of bits of the constant from the lower bits of the above is set as the decimal part, and the upper bits of the output value of the multiplier excluding the decimal part are passed to the next process as the integer part, and the multiplication of the decimal point number is performed in the multiplier. Nevertheless, floating-point arithmetic is unnecessary, and high-speed arithmetic processing is possible with a small circuit configuration.

【0041】請求項2の発明は、請求項1の発明におい
て、画像の画素値から得られる整数値である第1数と、
指定値として与えられる整数値である第2数との比較に
用いる値を求める演算装置であって、第1数と第2数と
の差の2乗を演算結果とする第1の演算部と、前記乗算
器による1より小さい小数点数の定数値と第1数との乗
算を含んだ演算の演算結果とする第2の演算部と、第1
の演算部の演算結果を第2の演算部の演算結果により除
算する除算器とを備えるものであり、浮動小数点演算を
行う必要がないから、回路規模を小さくすることが可能
であり、しかも浮動小数点演算に比較して複雑な手順を
要しないから、処理時間を短縮することが可能になる。
According to a second aspect of the invention, in the first aspect of the invention, a first number which is an integer value obtained from the pixel values of the image,
An arithmetic unit for obtaining a value used for comparison with a second number which is an integer value given as a designated value, the first arithmetic unit having a square of a difference between the first number and the second number as an arithmetic result. A second arithmetic unit that obtains an arithmetic result of an arithmetic operation including multiplication of a constant value of a decimal point number smaller than 1 by the multiplier and a first number;
And a divider that divides the calculation result of the calculation unit of the second calculation unit by the calculation result of the second calculation unit. Since it is not necessary to perform floating point calculation, the circuit scale can be reduced and Since a complicated procedure is not required as compared with the decimal point calculation, the processing time can be shortened.

【0042】請求項3の発明は、請求項2の発明におい
て、前記第2の演算部の演算結果は固定小数点数であっ
て、前記除算器では第2の演算部の演算結果のうち整数
部のみを用いるものであり、除算器の入力値として小数
点数を用いないから、回路規模を縮小することができ、
しかも複雑な演算を必要としないから演算速度も向上す
る。つまり、最終的な演算結果の精度において実用上に
問題がない範囲であれば演算精度を落とすことによって
回路規模と演算時間を削減することが可能になる。
According to a third aspect of the present invention, in the second aspect of the present invention, the arithmetic result of the second arithmetic unit is a fixed-point number, and the integer part of the arithmetic result of the second arithmetic unit in the divider. Since only the decimal point number is used as the input value of the divider, it is possible to reduce the circuit scale.
Moreover, since no complicated calculation is required, the calculation speed is also improved. That is, it is possible to reduce the circuit scale and the calculation time by lowering the calculation accuracy as long as the accuracy of the final calculation result is within a practically acceptable range.

【0043】請求項4の発明は、請求項2または請求項
3の発明において、前記除算器の2つの入力値をそれぞ
れ2の巾乗で除算する除算手段を第1の演算部および第
2の演算部と除算器との間にそれぞれ設けたものであ
り、除算器への入力値の桁数を少なくすることができ、
結果的に回路規模を縮小することができる。
According to a fourth aspect of the present invention, in the second or third aspect of the invention, the dividing means for dividing the two input values of the divider by the power of 2 is used as the first arithmetic unit and the second arithmetic unit. The number of digits of the input value to the divider can be reduced because it is provided between the arithmetic unit and the divider.
As a result, the circuit scale can be reduced.

【0044】請求項5の発明は、画像の画素値から得ら
れる整数値である第1数と、指定値として与えられる整
数値である第2数との比較に用いる値を求める演算装置
であって、第1数と第2数との差の2乗を演算結果とす
る第1の演算部と、1より小さい小数点数の定数値と第
1数との乗算を含んだ演算の演算結果の逆数に相当する
値を第1数に対応付けたルックアップテーブルと、第1
数に対応する値としてルックアップテーブルから抽出し
た値を第1の演算部の演算結果に乗算する乗算器とを備
えるものであり、ルックアップテーブルの規模は大きく
なるものの除算が不要になるとともに第1数に対する演
算が不要であるから高速な処理が期待できる。
The invention of claim 5 is an arithmetic device for obtaining a value used for comparison between a first number which is an integer value obtained from pixel values of an image and a second number which is an integer value given as a designated value. Of the calculation result of the calculation including the multiplication of the first number by the constant value of the decimal point number smaller than 1 and the first calculation unit that calculates the square of the difference between the first number and the second number. A lookup table in which a value corresponding to the reciprocal number is associated with the first number;
And a multiplier that multiplies the calculation result of the first calculation unit by the value extracted from the look-up table as a value corresponding to the number. High-speed processing can be expected because an operation for one number is unnecessary.

【0045】請求項6の発明は、請求項2ないし請求項
4の発明において、少なくとも前記除算器による除算過
程においてパイプラインレジスタを挿入してパイプライ
ン処理を行うので、所望の演算時間を達成するだけの実
効演算速度を高速化することが可能になる。
According to a sixth aspect of the invention, in the second to fourth aspects of the invention, at least the pipeline register is inserted in the division process by the divider to perform pipeline processing, so that a desired operation time is achieved. Only the effective calculation speed can be increased.

【0046】請求項7の発明は、請求項1ないし請求項
6の発明において、FPGAにより構成されているの
で、仕様の変更が容易になる。
Since the invention of claim 7 is the same as the invention of claims 1 to 6 and is constituted by an FPGA, the specification can be easily changed.

【0047】請求項8の発明は、2つの入力値のうちの
一方が1より小さい小数点数の定数値である乗算を行う
にあたり、前記定数が2進数の固定小数点数で表される
とともに複数の上位ビットが連続して0であるときに、
前記定数のうち0である上位ビットを除いた下位ビット
を整数値とみなして乗算を行い、乗算結果の下位ビット
から前記定数のビット数分を小数部とし、かつ乗算結果
のうち小数部を除く上位ビットを整数部として次処理に
引き渡すことを特徴としており、小数点数の乗算を行う
にもかかわらず浮動小数点演算が不要であって、小規模
の回路構成で高速な演算処理が可能になる。
According to the eighth aspect of the present invention, when one of the two input values is a constant value of a decimal point number smaller than 1, the constant is represented by a binary fixed point number and a plurality of constant values are expressed. When the upper bits are 0 in succession,
Of the constants, the lower bits excluding the upper bits, which are 0, are regarded as integer values, and multiplication is performed. From the lower bits of the multiplication result, the number of bits of the constant is set as a decimal part, and the decimal part of the multiplication result is excluded. It is characterized in that the high-order bits are passed to the next process as an integer part. Floating-point arithmetic is not required even though the decimal point is multiplied, and high-speed arithmetic processing is possible with a small-scale circuit configuration.

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

【図1】本発明の第1の実施の形態に用いる主演算部の
要部ブロック図である。
FIG. 1 is a block diagram of a main part of a main arithmetic unit used in a first embodiment of the present invention.

【図2】同上の全体構成を示すブロック図である。FIG. 2 is a block diagram showing an overall configuration of the above.

【図3】同上に用いる主演算部を示すブロック図であ
る。
FIG. 3 is a block diagram showing a main calculation unit used in the above.

【図4】比較例に用いる主演算部の要部ブロック図であ
る。
FIG. 4 is a block diagram of a main part of a main calculation unit used in a comparative example.

【図5】本発明の第1の実施の形態に用いる主演算部の
要部ブロック図である。
FIG. 5 is a block diagram of a main part of a main arithmetic unit used in the first embodiment of the present invention.

【図6】同上の動作説明図である。FIG. 6 is an operation explanatory diagram of the above.

【図7】同上の動作説明図である。FIG. 7 is an operation explanatory diagram of the above.

【図8】同上の動作説明図である。FIG. 8 is an operation explanatory diagram of the above.

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

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

【図11】従来例を示すブロック図である。FIG. 11 is a block diagram showing a conventional example.

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

21a,22a,23a,24a 減算器 21b,22b,23b,24b 乗算器 25c 加減算器 26a,26b 除算器 31a 乗算器 31b 乗算器 21a, 22a, 23a, 24a Subtractor 21b, 22b, 23b, 24b Multiplier 25c adder / subtractor 26a, 26b divider 31a multiplier 31b multiplier

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B016 AA01 BA06 BA07 CA01 EA15 5B022 AA00 BA02 CA03 DA01 EA04 FA01    ─────────────────────────────────────────────────── ─── Continued front page    F-term (reference) 5B016 AA01 BA06 BA07 CA01 EA15                 5B022 AA00 BA02 CA03 DA01 EA04                       FA01

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 2つの入力値のうちの一方が1より小さ
い小数点数の定数値である乗算を行う乗算器を備え、前
記定数が2進数の固定小数点数で表されるとともに複数
の上位ビットが連続して0であるときに、前記定数のう
ち0である上位ビットを除いた下位ビットを整数値とみ
なして乗算器での乗算を行い、乗算器の出力値の下位ビ
ットから前記定数のビット数分を小数部とし、かつ乗算
器の出力値のうち小数部を除く上位ビットを整数部とし
て次処理に引き渡すことを特徴とする演算装置。
1. A multiplier for performing multiplication, wherein one of two input values is a constant value of a decimal point number smaller than 1, wherein the constant is represented by a binary fixed point number, and a plurality of upper bits are provided. Is consecutively 0, the lower bits of the constant except for the upper bits that are 0 are regarded as integer values, and multiplication is performed by the multiplier. An arithmetic unit, wherein the number of bits is a fractional part, and the upper bits of the output value of the multiplier excluding the fractional part are passed to the next process as an integer part.
【請求項2】 画像の画素値から得られる整数値である
第1数と、指定値として与えられる整数値である第2数
との比較に用いる値を求める演算装置であって、第1数
と第2数との差の2乗を演算結果とする第1の演算部
と、前記乗算器による1より小さい小数点数の定数値と
第1数との乗算を含んだ演算の演算結果とする第2の演
算部と、第1の演算部の演算結果を第2の演算部の演算
結果により除算する除算器とを備えることを特徴とする
請求項1記載の演算装置。
2. An arithmetic unit for calculating a value used for comparison between a first number, which is an integer value obtained from pixel values of an image, and a second number, which is an integer value given as a designated value, which is a first number. And a second number as a calculation result, and a calculation result including a multiplication of a constant value of a decimal point number smaller than 1 by the multiplier and the first number. The arithmetic unit according to claim 1, further comprising a second arithmetic unit and a divider that divides the arithmetic result of the first arithmetic unit by the arithmetic result of the second arithmetic unit.
【請求項3】 前記第2の演算部の演算結果は固定小数
点数であって、前記除算器では第2の演算部の演算結果
のうち整数部のみを用いることを特徴とする請求項2記
載の演算装置。
3. The calculation result of the second calculation unit is a fixed point number, and the divider uses only the integer part of the calculation result of the second calculation unit. Computing device.
【請求項4】 前記除算器の2つの入力値をそれぞれ2
の巾乗で除算する除算手段を第1の演算部および第2の
演算部と除算器との間にそれぞれ設けたことを特徴とす
る請求項2または請求項3記載の演算装置。
4. The two input values of the divider are respectively 2
4. The arithmetic unit according to claim 2 or 3, characterized in that division means for dividing by the power of is provided between the first arithmetic unit and the second arithmetic unit and the divider, respectively.
【請求項5】 画像の画素値から得られる整数値である
第1数と、指定値として与えられる整数値である第2数
との比較に用いる値を求める演算装置であって、第1数
と第2数との差の2乗を演算結果とする第1の演算部
と、1より小さい小数点数の定数値と第1数との乗算を
含んだ演算の演算結果の逆数に相当する値を第1数に対
応付けたルックアップテーブルと、第1数に対応する値
としてルックアップテーブルから抽出した値を第1の演
算部の演算結果に乗算する乗算器とを備えることを特徴
とする演算装置。
5. An arithmetic unit for calculating a value used for comparing a first number, which is an integer value obtained from pixel values of an image, with a second number, which is an integer value given as a designated value, and which is a first number. And a value corresponding to the reciprocal of the calculation result of the calculation including the multiplication of the first number and the constant value of the decimal point number smaller than 1 And a multiplier that multiplies the calculation result of the first calculation unit by the value extracted from the lookup table as the value corresponding to the first number. Arithmetic unit.
【請求項6】 少なくとも前記除算器による除算過程に
おいてパイプラインレジスタを挿入してパイプライン処
理を行うことを特徴とする請求項2ないし請求項4のい
ずれか1項に記載の演算装置。
6. The arithmetic unit according to claim 2, wherein a pipeline register is inserted at least in the division process by the divider to perform pipeline processing.
【請求項7】 FPGAにより構成されていることを特
徴とする請求項1ないし請求項6のいずれか1項に記載
の演算装置。
7. The arithmetic unit according to claim 1, wherein the arithmetic unit comprises an FPGA.
【請求項8】 2つの入力値のうちの一方が1より小さ
い小数点数の定数値である乗算を行うにあたり、前記定
数が2進数の固定小数点数で表されるとともに複数の上
位ビットが連続して0であるときに、前記定数のうち0
である上位ビットを除いた下位ビットを整数値とみなし
て乗算を行い、乗算結果の下位ビットから前記定数のビ
ット数分を小数部とし、かつ乗算結果のうち小数部を除
く上位ビットを整数部として次処理に引き渡すことを特
徴とする演算方法。
8. When performing multiplication in which one of two input values is a constant value of a decimal point number smaller than 1, the constant is represented by a binary fixed point number and a plurality of high-order bits are consecutive. Is 0, among the above constants,
The lower bits other than the upper bits are regarded as integer values and the multiplication is performed. From the lower bits of the multiplication result, the number of bits of the constant is set as the decimal part, and the upper bits of the multiplication result excluding the decimal part are the integer parts. The calculation method is characterized in that it is handed over to the next process as.
JP2001258728A 2001-08-28 2001-08-28 Arithmetic unit and operation method Pending JP2003067182A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001258728A JP2003067182A (en) 2001-08-28 2001-08-28 Arithmetic unit and operation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001258728A JP2003067182A (en) 2001-08-28 2001-08-28 Arithmetic unit and operation method

Publications (1)

Publication Number Publication Date
JP2003067182A true JP2003067182A (en) 2003-03-07

Family

ID=19086198

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001258728A Pending JP2003067182A (en) 2001-08-28 2001-08-28 Arithmetic unit and operation method

Country Status (1)

Country Link
JP (1) JP2003067182A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005034512A1 (en) * 2003-10-06 2005-04-14 Sony Corporation Image projection system and image projection system drive circuit
KR101787821B1 (en) 2015-03-09 2017-10-19 단국대학교 산학협력단 Apparatus and method for base converting object having integer and fraction
KR20200018237A (en) * 2018-08-10 2020-02-19 베이징 바이두 넷컴 사이언스 앤 테크놀로지 코., 엘티디. Data processing method and apparatus for neural network
CN112292663A (en) * 2018-06-19 2021-01-29 罗伯特·博世有限公司 Computing unit, method and computer program for multiplying at least two multiplicands
CN113128673A (en) * 2019-12-31 2021-07-16 Oppo广东移动通信有限公司 Data processing method, storage medium, neural network processor and electronic device
US11669304B2 (en) 2021-02-08 2023-06-06 Kioxia Corporation Arithmetic device and arithmetic circuit for performing multiplication and division

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005034512A1 (en) * 2003-10-06 2005-04-14 Sony Corporation Image projection system and image projection system drive circuit
KR101787821B1 (en) 2015-03-09 2017-10-19 단국대학교 산학협력단 Apparatus and method for base converting object having integer and fraction
US11537361B2 (en) 2018-06-19 2022-12-27 Robert Bosch Gmbh Processing unit, method and computer program for multiplying at least two multiplicands
CN112292663A (en) * 2018-06-19 2021-01-29 罗伯特·博世有限公司 Computing unit, method and computer program for multiplying at least two multiplicands
JP2021528756A (en) * 2018-06-19 2021-10-21 ローベルト ボツシユ ゲゼルシヤフト ミツト ベシユレンクテル ハフツングRobert Bosch Gmbh Computational units, methods and computer programs for multiplying at least two multiplicands
JP7136937B2 (en) 2018-06-19 2022-09-13 ローベルト ボツシユ ゲゼルシヤフト ミツト ベシユレンクテル ハフツング Computing unit, method and computer program for multiplying at least two multiplicands
CN112292663B (en) * 2018-06-19 2023-12-12 罗伯特·博世有限公司 Computing unit, method and computer program for multiplying at least two multiplicands
JP2020027611A (en) * 2018-08-10 2020-02-20 ベイジン バイドゥ ネットコム サイエンス アンド テクノロジー カンパニー リミテッド Data processing method and apparatus for neural network
KR102420661B1 (en) * 2018-08-10 2022-07-14 베이징 바이두 넷컴 사이언스 앤 테크놀로지 코., 엘티디. Data processing method and apparatus for neural network
KR20200018237A (en) * 2018-08-10 2020-02-19 베이징 바이두 넷컴 사이언스 앤 테크놀로지 코., 엘티디. Data processing method and apparatus for neural network
US11651198B2 (en) 2018-08-10 2023-05-16 Beijing Baidu Netcom Science And Technology Co., Ltd. Data processing method and apparatus for neural network
CN113128673A (en) * 2019-12-31 2021-07-16 Oppo广东移动通信有限公司 Data processing method, storage medium, neural network processor and electronic device
CN113128673B (en) * 2019-12-31 2023-08-11 Oppo广东移动通信有限公司 Data processing method, storage medium, neural network processor and electronic device
US11669304B2 (en) 2021-02-08 2023-06-06 Kioxia Corporation Arithmetic device and arithmetic circuit for performing multiplication and division

Similar Documents

Publication Publication Date Title
US5798767A (en) Method and apparatus for performing color space conversion using blend logic
US20060077211A1 (en) Embedded device with image rotation
JP2610095B2 (en) Image display apparatus and method
US7890558B2 (en) Apparatus and method for precision binary numbers and numerical operations
US7813003B2 (en) Method and apparatus of color conversion
EP3451294B1 (en) Luminance-normalised colour spaces
US6694061B1 (en) Memory based VLSI architecture for image compression
JP2003067182A (en) Arithmetic unit and operation method
CN102271251A (en) Lossless image compression method
Nnolim Design and implementation of novel, fast, pipelined HSI2RGB and log-hybrid RGB2HSI colour converter architectures for image enhancement
Liu et al. A fast algorithm for color space conversion and rounding error analysis based on fixed-point digital signal processors
CA2022655C (en) Number conversion apparatus
US10261754B2 (en) Data processing systems
US10447983B2 (en) Reciprocal approximation circuit
US5831687A (en) Color video signal processing method and apparatus for converting digital color difference component signals into digital RGB component signals by a digital conversion
JPH01121930A (en) Data processor
JP2011035596A (en) Apparatus and method for processing image
WO2020087377A1 (en) Method and device for processing image data
Swenson et al. A universal colour transformation architecture
JP3952804B2 (en) Data processing method and data processing apparatus
JP2605754B2 (en) Color image processing method
JP4023267B2 (en) Color image processing apparatus and color image processing method
Andreadis A real-time color space converter for the measurement of appearance
KR100602249B1 (en) Video Processing Device and the Method thereof
Liua et al. A fast algorithm for color space conversion and rounding error analysis based on fixed-point digital signal processorsq

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060802

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090216

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090224

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090427

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091104

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100302