JP3102113B2 - Electronic camera - Google Patents

Electronic camera

Info

Publication number
JP3102113B2
JP3102113B2 JP35493491A JP35493491A JP3102113B2 JP 3102113 B2 JP3102113 B2 JP 3102113B2 JP 35493491 A JP35493491 A JP 35493491A JP 35493491 A JP35493491 A JP 35493491A JP 3102113 B2 JP3102113 B2 JP 3102113B2
Authority
JP
Japan
Prior art keywords
data
lot
unit
stage
block
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.)
Expired - Fee Related
Application number
JP35493491A
Other languages
Japanese (ja)
Other versions
JPH0591460A (en
Inventor
俊明 荒井
優 小林
正洋 尾家
亨 渡邉
成明 富田
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Publication of JPH0591460A publication Critical patent/JPH0591460A/en
Application granted granted Critical
Publication of JP3102113B2 publication Critical patent/JP3102113B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、電子カメラに係り、詳
細には符号化/復号化の際の画質改善を図った電子カメ
ラに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic camera, and more particularly, to an electronic camera for improving image quality at the time of encoding / decoding.

【0002】[0002]

【従来の技術】近年、フロッピディスクに撮影画像を記
録する電子スチルカメラが実用化されている。また、半
導体メモリを使用したメモリカード等に画像を記録する
デジタル電子スチルカメラも開発されている。しかし
て、現在では1枚のフロッピディスクに記録できる画像
は50枚程度であり、メモリカードでは1メガバイトの
ものを用いても10〜20枚程度しか記録できない。し
かもメモリカードは極めて高価である。従って、電子ス
チルカメラにおいては画像圧縮技術の向上が必須であ
り、現在主流の圧縮方法としてはDCT(Discrete Cos
ine Transform:離散コサイン変換)等がある。
2. Description of the Related Art In recent years, electronic still cameras for recording photographed images on floppy disks have been put to practical use. Digital electronic still cameras that record images on a memory card or the like using a semiconductor memory have also been developed. However, at present, about 50 images can be recorded on one floppy disk, and only about 10 to 20 images can be recorded with a memory card of 1 megabyte. Moreover, memory cards are extremely expensive. Therefore, improvement in image compression technology is essential for electronic still cameras, and DCT (Discrete Cos
ine Transform: discrete cosine transform).

【0003】[0003]

【発明が解決しようとする課題】しかしながら、このよ
うな従来の電子カメラにあっては、画像の圧縮、伸長部
にDCT装置を用いて画像圧縮を行なっていたため、図
48の再生画面に示すように、背景などの濃淡の少ない
部分で、正方形のブロック状のノイズ(ブロック歪み)
が発生し、画品質が劣化するという問題点があった。図
49に図48のノイズ部を拡大したものを示すように、
このノイズではDCT装置の処理単位である8×8画素
の境界部に発生し、このブロック歪みは圧伸の際、DC
T/逆DCT演算で発生した演算誤差がブロックの境界
部に不連続を生じさせるためである。そこで本発明は、
簡単な回路構成により画質を大幅に向上することができ
る電子カメラを提供すること目的としている。
However, in such a conventional electronic camera, image compression is performed by using a DCT device in the image compression / decompression unit. And square block-like noise (block distortion) in low density areas such as background
And the image quality is degraded. As shown in FIG. 49 in which the noise portion of FIG. 48 is enlarged,
This noise occurs at the boundary of 8 × 8 pixels, which is the processing unit of the DCT device, and this block distortion is generated by DCT at the time of companding.
This is because a calculation error generated in the T / inverse DCT calculation causes discontinuity at a block boundary. Therefore, the present invention
It is an object of the present invention to provide an electronic camera capable of greatly improving image quality with a simple circuit configuration.

【0004】[0004]

【課題を解決するための手段】上記目的達成のため、請
求項1記載の発明は、撮像した画像データを基関数を直
交関数とする直交変換によりブロック単位で符号化処理
を行ない画像メモリに記憶する電子カメラにおいて、前
記符号化処理時に、水平方向に隣接するブロックに対し
て基関数の補償演算を行なう第1演算手段と、垂直方向
に隣接するブロックに対して基関数の補償演算を行なう
第2演算手段とを備えている。前記第1演算手段及び第
2演算手段は、例えば、請求項2に記載するように、画
像データの隣接ブロック間のデータを重ね合わせる基関
数を用いて該画像データを重合直交変換(LOT)及び
逆重合直交変換(ILOT)する。
In order to achieve the above object, according to the first aspect of the present invention, a basic function is directly converted from captured image data.
Encoding processing in block units by orthogonal transformation as an intersection function
In an electronic camera that performs
During the encoding process, blocks adjacent in the horizontal direction
First computing means for performing a compensation operation for a fundamental function,
Perform base function compensation on blocks adjacent to
A second calculating means. The first calculating means and the
The two calculation means may be, for example, an image
A base function that superimposes data between adjacent blocks of image data
The image data is superimposed orthogonally using a number (LOT) and
Perform inverse polymerization orthogonal transformation (ILOT).

【0005】[0005]

【作用】請求項1及び2記載の発明では、符号化処理時
に、第1演算手段により水平方向に隣接するブロックに
対して基関数の補償演算が行なわれ、第2演算手段によ
り、垂直方向に隣接するブロックに対して基関数の補償
演算が行なわれる。従って、隣接するブロックに対する
歪みが適切に除去される。
According to the first and second aspects of the present invention, at the time of encoding processing,
In addition, the first arithmetic means converts the blocks adjacent in the horizontal direction to
A compensation operation of the fundamental function is performed on the
Primitive compensation for vertically adjacent blocks
An operation is performed. Therefore, for adjacent blocks
The distortion is properly removed.

【0006】[0006]

【実施例】以下、本発明を図面に基づいて説明する。図
1〜図19は本発明に係る電子カメラの一実施例を示す
図であり、ディジタルスチルカメラに適用した例であ
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings. 1 to 19 show an embodiment of an electronic camera according to the present invention, which is an example applied to a digital still camera.

【0007】先ず、構成を説明する。図1は電子カメラ
を示すブロック図である。図1において、511は電子
カメラ、521はレンズ系であり、このレンズ系521
は、フォーカスモータ522によりその光軸上に沿って
移動可能にしている。そして、レンズ系521の光軸上
にCCD523を配置し、レンズ系521を介して被写
体の撮影像をCCD523の撮像面に結像するようにし
ている。ここで、CCD523は、タイミング発生器6
31により動作タイミングが計られるCCDドライバ6
32によりその撮像動作を制御されるようになってい
る。
First, the configuration will be described. FIG. 1 is a block diagram showing an electronic camera. In FIG. 1, reference numeral 511 denotes an electronic camera, and 521 denotes a lens system.
Is movable along its optical axis by a focus motor 522. The CCD 523 is arranged on the optical axis of the lens system 521, and a photographed image of a subject is formed on the imaging surface of the CCD 523 via the lens system 521. Here, the CCD 523 is connected to the timing generator 6.
CCD driver 6 whose operation timing is measured by 31
32 controls the imaging operation.

【0008】上記CCD523により撮像された画像信
号はプロセス回路524に出力される。プロセス回路5
24では、入力された画像信号を輝度信号YHと色信号
Cに分離して抽出するようにしている。
An image signal picked up by the CCD 523 is output to a process circuit 524. Process circuit 5
In 24, the input image signal is separated and extracted into a luminance signal YH and a chrominance signal C.

【0009】プロセス回路524からの輝度信号YHと
色信号Cは、A/D変換器525に出力され、ここでデ
ジタル化される。そして、デジタル化された輝度信号Y
Hは、加算器526,527の一方の入力端子にそれぞ
れ与えられる。加算器526は、その加算出力をスイッ
チ528を介してフィールドメモリ529に出力し、こ
のフィールドメモリ529の出力が加算器526の他方
の入力端子に与えられる。また、加算器527は、その
加算出力をスイッチ530を介してフィールドメモリ5
31に出力し、このフィールドメモリ531の出力が加
算器527の他方の入力端子に与えられる。この場合、
各ライン毎の輝度信号YHのデータとして、A,B,
C,D,E,F,…が与えられるとすると、フィールド
メモリ529では、A+B,C+D,E+F,…の内容
のフィールドデータが記憶され、また、フィールドメモ
リ531では、B+C,D+E,+F+G,…の内容の
フィールドデータが記憶される。
[0009] The luminance signal YH and the chrominance signal C from the process circuit 524 are output to an A / D converter 525, where they are digitized. Then, the digitized luminance signal Y
H is applied to one input terminal of adders 526 and 527, respectively. Adder 526 outputs the added output to field memory 529 via switch 528, and the output of field memory 529 is provided to the other input terminal of adder 526. The adder 527 outputs the added output to the field memory 5 via the switch 530.
31 and the output of the field memory 531 is provided to the other input terminal of the adder 527. in this case,
As data of the luminance signal YH for each line, A, B,
Given field data C, D, E, F,..., Field memory 529 stores field data of A + B, C + D, E + F,..., And field memory 531 stores field data B + C, D + E, + F + G,. Is stored.

【0010】ここで、ビデオスルーの場合(ビューファ
インダでCCDからの画像を見る場合)は、フィールド
メモリ531の出力がスイッチ523を介して取出さ
れ、ガンマ補正部533にてガンマ補正された後、エン
ハンサ部534にて輪郭強調され、スイッチ535を通
して出力される。一方、これと同時にA/D変換器52
5でデジタル化された色信号Cは、スイッチ536、輝
度信号YHとのタイミングを合わせるための同時化部5
37を介して色差生成部538に与えられ、R−Y,B
−Yの色差信号として生成され、スイッチ539,54
0を介してフィールドメモリ541,542にそれぞれ
記憶される。そして、これらフィールドメモリ541,
542より取出されるR−Y,B−Yの色差信号は、ス
イッチ535を通して出力される輝度信号YHとともに
カラービューファインダROMテーブル543に与えら
れる。これにより、ドライバ544の制御によりROM
テーブル543より対応表示データが出力され、カラー
ビューファインダ545にビデオスルー画像として表示
される。このROMテーブル543は輝度信号YH、色
差信号R−Y,B−YからRGB信号を作るものであ
る。
Here, in the case of video through (when an image from a CCD is viewed with a view finder), the output of the field memory 531 is taken out via a switch 523 and after being gamma-corrected by a gamma correction unit 533, The outline is emphasized by the enhancer 534 and output through the switch 535. On the other hand, at the same time, the A / D converter 52
The chrominance signal C digitized in 5 is supplied to a switch 536 and a synchronizing unit 5 for adjusting the timing with the luminance signal YH.
37 to the color difference generation unit 538,
-Y color difference signal, and switches 539 and 54
0 are stored in the field memories 541 and 542, respectively. These field memories 541,
The RY and BY color difference signals extracted from the 542 are supplied to the color view finder ROM table 543 together with the luminance signal YH output through the switch 535. Thereby, the ROM is controlled by the driver 544.
The corresponding display data is output from the table 543 and displayed on the color view finder 545 as a video through image. This ROM table 543 is for generating RGB signals from the luminance signal YH and the color difference signals RY and BY.

【0011】また、スチル画撮像の場合は、フィールド
メモリ529の出力が1Hメモリ546に与えられ、こ
の1Hメモリ546の出力を加算器547の一方の入力
端子に与える。この加算器547は、他方の入力端子に
フィールドメモリ529からの出力が与えられ、これら
の加算結果を出力する。そして、加算器547の出力は
スイッチ532を介して取出され、ガンマ補正部533
にてガンマ補正され、エンハンサ部534にて輪郭強調
され、再びフィールドメモリ529に戻される。また、
これと同時にA/D変換器525でデジタル化された色
信号Cは、フィールドメモリ548に与えられるととも
に、加算器549の一方の入力端子に与えられる。この
加算器549は他方の入力端子にフィールドメモリ54
8からの出力が与えられ、これらの加算結果を出力す
る。そして、加算器549の出力は、スイッチ536、
同時化部537を介して色差生成部538に与えられ、
R−Y,B−Yの色差信号として生成され、スイッチ5
39,540を介してフィールドメモリ541,542
にそれぞれ記憶される。そして、これらのフィールドメ
モリ529の輝度信号YHとフィールドメモリ541,
542の色差信号R−Y,B−Yは、フレームスチル画
像として画像圧縮伸長回路600に入力され、画像圧縮
伸長回路600で画像データ圧縮されて外部メモリ55
0に記憶されるようになる。
In the case of still image pickup, the output of the field memory 529 is supplied to a 1H memory 546, and the output of the 1H memory 546 is supplied to one input terminal of an adder 547. The adder 547 receives the output from the field memory 529 at the other input terminal, and outputs the addition result. Then, the output of the adder 547 is taken out via the switch 532, and is output to the gamma correction unit 533.
, And the outline is enhanced by the enhancer section 534, and is returned to the field memory 529 again. Also,
At the same time, the color signal C digitized by the A / D converter 525 is supplied to the field memory 548 and to one input terminal of the adder 549. The adder 549 has the other input terminal connected to the field memory 54.
8 and outputs the result of addition. The output of the adder 549 is the switch 536,
It is provided to the color difference generation unit 538 via the synchronization unit 537,
Are generated as RY and BY color difference signals,
Field memories 541 and 542 through 39 and 540
Respectively. Then, the luminance signal YH of the field memory 529 and the field memory 541,
The color difference signals RY and BY 542 are input to the image compression / expansion circuit 600 as a frame still image, and the image data is compressed by the image compression / expansion circuit 600 so that the external memory 55
0 is stored.

【0012】上記画像圧縮伸長回路600は、DCT装
置と画像データを圧縮する際のブロック歪みを減少させ
るLOT(Lapped Orthogonal Transform:重合直交変
換)演算を実行するLOT演算装置を備えた回路であ
り、本画像圧縮伸長回路600を用いるとブロック歪み
を減少させながら画像データを高能率で圧縮/伸長する
ことが可能になる。この画像圧縮伸長回路600の詳細
については後述する。
The image compression / expansion circuit 600 is a circuit including a DCT device and a LOT operation device for executing a LOT (Lapped Orthogonal Transform) operation for reducing block distortion when image data is compressed, The use of the image compression / expansion circuit 600 makes it possible to compress / expand image data with high efficiency while reducing block distortion. The details of the image compression / expansion circuit 600 will be described later.

【0013】また、画像再生の場合は、外部メモリ55
0から輝度信号YHが読み出され、画像圧縮伸長回路6
00で画像データ伸長された後、スイッチ530を介し
てフィールドメモリ531に書き込まれ、色差信号R−
Y,B−Yも同様に画像圧縮伸長回路600で画像デー
タ伸長された後スイッチ539,540を介してフィー
ルドメモリ541,542に書き込まれる。そして、フ
ィールドメモリ531の出力はスイッチ532,535
を介して取出され、フィールドメモリ541,542か
らの出力とともにROMテーブル551に与えられる。
これにより、エンコーダ/タイミング発生器552の制
御によりROMテーブル551より対応表示データが出
力され、D/A変換器553でアナログ信号に変換さ
れ、アンプ/バッファ554を介してビデオ再生信号と
して出力されるようになる。
In the case of image reproduction, the external memory 55
0, the luminance signal YH is read out, and the image compression / decompression circuit 6
After the image data is decompressed at 00, the data is written to the field memory 531 via the switch 530, and the color difference signal R-
Similarly, Y and BY are decompressed by the image compression / decompression circuit 600 and then written into the field memories 541 and 542 via the switches 539 and 540. The output of the field memory 531 is supplied to switches 532 and 535.
And supplied to the ROM table 551 together with the outputs from the field memories 541 and 542.
Accordingly, the corresponding display data is output from the ROM table 551 under the control of the encoder / timing generator 552, converted into an analog signal by the D / A converter 553, and output as a video reproduction signal via the amplifier / buffer 554. Become like

【0014】一方、上述のプロセス回路524には、コ
ントラスト検出部555を接続している。このコントラ
スト検出部555は、プロセス回路524より出力され
る輝度信号YHが与えられ、この輝度信号YHより撮像コ
ントラストを検出するようにしている。そして、このよ
うなコントラスト検出部555のコントラスト信号は、
メインコントローラ556に与えられる。
On the other hand, a contrast detection unit 555 is connected to the process circuit 524 described above. The contrast detection unit 555 is provided with a luminance signal YH output from the process circuit 524, and detects an imaging contrast from the luminance signal YH. Then, such a contrast signal of the contrast detection unit 555 is
It is provided to the main controller 556.

【0015】メインコントローラ556は、コントラス
ト検出部555からの出力に応じてフォーカス駆動回路
557を制御する。
The main controller 556 controls the focus drive circuit 557 according to the output from the contrast detector 555.

【0016】フォーカス駆動回路557は、メインコン
トローラ556の制御に従ってフォーカスモータ522
を駆動し、レンズ系521を∞端から至近端まで移動す
ることでCCD523に対する合焦位置を調整するよう
にしている。
A focus drive circuit 557 is provided with a focus motor 522 under the control of the main controller 556.
And the lens system 521 is moved from the ∞ end to the closest end to adjust the focus position with respect to the CCD 523.

【0017】図2は電子カメラの画面構成を示す図であ
る。図2において輝度信号YHは横768ドット、縦4
80ラインであり、色差信号R−Y,B−Yは各々横1
92ドット、縦240ラインとなっている。1画素を
1.5ビットに圧縮したとすれば外部メモリ550とし
ての2MBメモリカードに24枚記録することができ
る。
FIG. 2 is a diagram showing a screen configuration of the electronic camera. In FIG. 2, the luminance signal YH is 768 dots wide and 4 dots long.
80 lines, and each of the color difference signals RY and BY
It has 92 dots and 240 vertical lines. If one pixel is compressed to 1.5 bits, 24 images can be recorded on a 2 MB memory card as the external memory 550.

【0018】ところで、前述したようにDCT装置に限
らず、高能率符号化して画素当たりの平均ビット数を減
らすと、画像の品質は落ち、圧縮率を上げると、画質の
劣化を引き起こす。現行の標準テレビ信号を1.5Mビ
ット/秒に圧縮した場合に問題となるのは、輪郭部分の
劣化とDCT装置で処理するブロック単位(例えば8×
8画素)に発生するブロック歪みである。逆変換して画
素を再生するときに、ブロック内のDCT出力をすべて
線形和することになるが、8×8画素から成るブロック
のDCT出力64個のうち、一つでも情報損失がある
と、ブロック内全体の再生画素に劣化が生じる。
By the way, as described above, not only the DCT apparatus but also high-efficiency coding to reduce the average number of bits per pixel lowers the image quality, and raises the compression ratio to deteriorate the image quality. Problems that occur when the current standard television signal is compressed to 1.5 Mbit / s are deterioration of the contour part and block units (for example, 8 ×) which are processed by the DCT device.
(8 pixels). When a pixel is reproduced by performing an inverse transformation, all the DCT outputs in the block are linearly summed. However, if any one of 64 DCT outputs of a block including 8 × 8 pixels has information loss, Degradation occurs in the reproduced pixels in the entire block.

【0019】そこで、本実施例ではこのようなブロック
歪みを軽減するため、以下に詳述するようにLOT演算
をDCT装置と共に使用した画像圧縮伸長回路600を
設けている。画像圧縮伸長装置600は、DCT部と、
LOT部と、作業用メモリからなる。以下、図3〜図1
9を用いてLOT演算処理について説明する。図3は、
画像圧縮伸長回路600において、LOT演算処理を行
なうLOT演算装置100を示すものであり、1次元L
OTのブロック図を示している。図3において、100
はLOT演算装置、101,102はDCT装置であ
り、DCT装置101,102には図4〜図7に示す各
種演算器が接続されている。ここで、図4は減算c=a
+(−b)を示す演算を、図5は加算c=a+bを示す
演算を、図6は所定のゲイン(例えば、1/2)を調整
する演算を、図7はベクトル回転を行なう演算をそれぞ
れ示している。DCT装置101,102の出力はイー
ブン(even:偶数)出力0,2,4,6とオッド
(odd:奇数)出力1,3,5,7とに分けて加減算
され、最後に奇数成分のみが図7に示すバタフライ演算
器でベクトル回転されてLOTデータとなる。図3に示
す1次元LOT構成ではLOT演算装置と共に画像圧縮
伸長回路600を構成するDCT装置101,102に
16画素(X0〜X7,X0’〜X7’)を入力すればLO
T演算によって8データ(Y0〜Y7)の出力が得られ
る。すなわち、入力初段では1次元のDCT演算を行な
って、16データを得、この16データを各種演算を行
なった後ベクトル回転して最終的に8データを得る。こ
のLOT演算は1次元であるため、16×16の入力画
素に対し8×16出力となっており、これを再び縦横を
入れ替えて同様のLOT演算を行なって8×8のデータ
を得る。
Therefore, in this embodiment, in order to reduce such block distortion, an image compression / decompression circuit 600 using a LOT operation together with a DCT device is provided as described in detail below. The image compression / decompression device 600 includes a DCT unit,
It comprises a LOT section and a working memory. Hereinafter, FIGS.
9, the LOT calculation processing will be described. FIG.
In the image compression / expansion circuit 600, a LOT operation device 100 that performs LOT operation processing is shown.
FIG. 3 shows a block diagram of the OT. In FIG. 3, 100
Denotes a LOT operation device, 101 and 102 denote DCT devices, and various operation units shown in FIGS. 4 to 7 are connected to the DCT devices 101 and 102. Here, FIG.
5 shows an operation indicating addition c = a + b, FIG. 6 shows an operation for adjusting a predetermined gain (for example, 1/2), and FIG. 7 shows an operation for performing vector rotation. Each is shown. The outputs of the DCT devices 101 and 102 are separately added and subtracted into even outputs 0, 2, 4, and 6 and odd outputs 1, 3, 5, and 7, and finally only odd components are output. Vector rotation is performed by the butterfly operation unit shown in FIG. 7 to become LOT data. In the one-dimensional LOT configuration shown in FIG. 3, if 16 pixels (X 0 to X 7 , X 0 ′ to X 7 ′) are input to the DCT devices 101 and 102 which constitute the image compression / decompression circuit 600 together with the LOT operation device, the LO becomes low.
The output of the 8 data by T operation (Y 0 ~Y 7) is obtained. That is, at the input first stage, one-dimensional DCT operation is performed to obtain 16 data, and after performing various operations on the 16 data, vector rotation is performed to finally obtain 8 data. Since this LOT operation is one-dimensional, the output is 8 × 16 for a 16 × 16 input pixel, and the same LOT operation is performed again by exchanging the length and width to obtain 8 × 8 data.

【0020】なお、図3ではDCT装置が2つ示されて
いるが、ハードウェア上は、DCT装置は1つであり、
1つのDCT装置に異なったタイミングでデータX,
X’(X0〜X7,X0’〜X7’)が供給される。
Although two DCT devices are shown in FIG. 3, there is only one DCT device in hardware.
The data X,
X ′ (X 0 to X 7 , X 0 ′ to X 7 ′) are supplied.

【0021】図8はLOT演算装置100の入出力画素
を示す図である。LOT演算装置は従来のDCT装置を
拡張したものであり、DCT装置と同様に2次元のブロ
ック処理を行なう。DCT装置では、入力を8×8画素
とすれば8×8のデータが得られたのに対し、LOT演
算装置では8×8の出力を得るためには図8の破線部に
示すようにその8×8を含む16×16画素が必要であ
る。図8の破線部がLOT入力画素であり、実線部が出
力データである。
FIG. 8 is a diagram showing input / output pixels of the LOT arithmetic unit 100. The LOT operation device is an extension of the conventional DCT device, and performs two-dimensional block processing similarly to the DCT device. In the DCT device, if the input is 8 × 8 pixels, 8 × 8 data is obtained. On the other hand, in the LOT operation device, in order to obtain the 8 × 8 output, as shown by the broken line in FIG. 16 × 16 pixels including 8 × 8 are required. The broken line in FIG. 8 is the LOT input pixel, and the solid line is the output data.

【0022】以下、画像圧縮伸長回路600のLOT演
算装置について詳細に説明する。図9はLOT演算装置
の演算部を示すブロック図である。図9において、LO
T演算装置21は、ある1つのブロックのデータのみを
用いて(閉じて)演算(アダマール変換)が可能なY1
ステージ22と、2つのブロックのデータが揃って初め
て演算(アダマール変換)ができるY2ステージ23
と、このY1ステージ22とY2ステージ23のオッド間
に挿入され、次のブロックラインの演算が終了するまで
一時的にY1ステージからのオッド成分のデータ(逆L
OT時はY2ステージからのオッド成分のデータ)を蓄
える1ブロックラインメモリ24と、ベクトル回転を行
なうためのZステージ25と、データの流れを切換える
スイッチ26〜33と、スイッチ切り替え回路40とに
より構成されている。
Hereinafter, the LOT operation device of the image compression / decompression circuit 600 will be described in detail. FIG. 9 is a block diagram illustrating a calculation unit of the LOT calculation device. In FIG.
The T operation device 21 is capable of performing (closed) operation (Hadamard transform) using only data of one certain block Y 1
A stage 22 and a Y 2 stage 23 that can perform an operation (Hadamard transform) only when the data of the two blocks are complete
When, the Y 1 is inserted between odd stage 22 and Y 2 stage 23, data (reverse L of odd components from temporarily Y 1 stage until the operation of the next block line is completed
OT at the time of one block line memory 24 for storing data) in the odd component from Y 2 stage, a Z stage 25 for performing the vector rotation, a switch 26-33 for switching the flow of data by a switch switching circuit 40 It is configured.

【0023】上記スイッチ切換回路40は、スイッチ2
6〜33を切換えてLOT時とILOT時でデータの流
れを切換える。スイッチ26〜33は例えばバスの切換
えでデータの流れを切り換えるものであり、物理的又は
電気的にバスの接続関係を切換えることができれば、そ
の構成は特に限定されない。例えば、トランジスタスイ
ッチ等を使用できる。
The switch switching circuit 40 includes a switch 2
6 to 33 are switched to switch the data flow between LOT and ILOT. The switches 26 to 33 are for switching the data flow by, for example, switching the bus, and the configuration is not particularly limited as long as the connection relation of the bus can be switched physically or electrically. For example, a transistor switch or the like can be used.

【0024】以下、Y1ステージ22、Y2ステージ23
及びZステージ25について図10〜図19を用いて具
体的に説明する。上記Zステージ25はLOT時の演算
を図10に、逆LOT時の演算を図11に示すように入
力されたデータの奇数成分を回転させるためのもので、
そのバタフライ演算は図15に示される。図15中のk
はベクトル回転を与えるための係数で例えば0.13,
0.16に設定される。このZステージ25は、従来の
Zステージと同様のものであるが、個数は1つだけであ
る。また、上記Y1ステージ22及びY2ステージ23
は、図10に示すYステージを図16及び図17に示す
ような2つのステージに分割したものであり、LOT時
に1つのブロックの中で閉じて(1つのブロックのデー
タのみを用いて)演算(アダマール変換)できる演算ユ
ニットがY1ステージ22(第1演算処理部)、LOT
時に異なるブロックのデータについてのY1ステージ2
2による演算結果が揃って初めて演算(アダマール変
換)できる演算ユニットがY2ステージ23(第2演算
処理部)である。1ブロックラインメモリ24にはある
ブロックにおけるY1ステージの演算結果を次のブロッ
クにおけるY1ステージの演算が終了するまで一時的に
蓄えておくためのメモリである。なお、図12〜図15
は各ステージにおける各種バタフライ演算を示すもので
あり、前記図4〜図7のバタフライ演算と同様の演算内
容を表している。
[0024] In the following, Y 1 stage 22, Y 2 stage 23
The Z stage 25 will be specifically described with reference to FIGS. The Z stage 25 is used to rotate the odd component of the input data as shown in FIG. 10 for the operation at the time of LOT and as shown in FIG. 11 for the operation at the time of reverse LOT.
The butterfly operation is shown in FIG. K in FIG.
Is a coefficient for giving a vector rotation, for example, 0.13
It is set to 0.16. The Z stage 25 is the same as the conventional Z stage, but the number is only one. Further, the Y 1 stage 22 and Y 2 stage 23
Is obtained by dividing the Y stage shown in FIG. 10 into two stages as shown in FIG. 16 and FIG. 17, and closes in one block during LOT (using only data of one block). (Hadamard transform) can be calculated unit Y 1 stage 22 (first processing unit), LOT
Sometimes Y 1 stage 2 for different blocks of data
2 by the operation result is aligned is the first operation (Hadamard transform) can be calculated units Y 2 stage 23 (second processing unit). The Y 1 stage operation results in one block line in the memory 24 is block is a memory for temporarily storing until calculation of Y 1 stage in the next block ends. 12 to 15.
Shows various butterfly operations in each stage, and shows the same operation contents as the butterfly operations in FIGS. 4 to 7.

【0025】次に、本実施例の動作を説明する。ディジタルスチルカメラ511の動作 先ず、スチル画撮像時には、フィールドメモリ529の
出力が1Hメモリ546に出力され、この1Hメモリ5
46の出力は加算器547の一方の入力端子に出力され
る。加算器547は、入力された1Hメモリ546の出
力にフィールドメモリ529からの出力を加算してこれ
らの加算結果を出力する。そして、加算器547の出力
はスイッチ532を介して取り出され、ガンマ補正部5
33にてガンマ補正され、エンハンサ部534にて輪郭
強調され、再びフィールドメモリ529に戻される。ま
た、これと同時にA/D変換器525でデジタル化され
た色信号Cは、フィールドメモリ548に与えられると
ともに、加算器549の一方の入力端子に与えられる。
この加算器549は他方の入力端子にフィールドメモリ
548からの出力が与えられ、これらの加算結果を出力
する。そして、加算器549の出力は、スイッチ53
6、同時化部537を介して色差生成部538に与えら
れ、R−Y,B−Yの色差信号として生成され、スイッ
チ539,540を介してフィールドメモリ541,5
42にそれぞれ記憶される。そして、これらのフィール
ドメモリ529の輝度信号YHとフィールドメモリ54
1,542の色差信号R−Y,B−Yは、フレームスチ
ル画像として画像圧縮伸長回路600に入力される。画
像圧縮伸長回路600に入力された画像データ(輝度信
号YH及び色差信号R−Y,B−Y)は、DCT装置1
001,1002及びLOT演算装置1000を含んで
構成された画像圧縮伸長回路600により重合直交変換
されてブロック歪みが低減されると共に、画像データ圧
縮された後、外部メモリ550に記憶される。
Next, the operation of this embodiment will be described. Operation of Digital Still Camera 511 First, when a still image is captured, the output of the field memory 529 is output to the 1H memory 546.
The output of 46 is output to one input terminal of the adder 547. The adder 547 adds the output of the field memory 529 to the input output of the 1H memory 546 and outputs the result of the addition. Then, the output of the adder 547 is taken out via the switch 532, and
The gamma correction is performed in 33, the outline is enhanced in the enhancer 534, and the image is returned to the field memory 529 again. At the same time, the color signal C digitized by the A / D converter 525 is supplied to the field memory 548 and to one input terminal of the adder 549.
The adder 549 receives the output from the field memory 548 at the other input terminal, and outputs the result of addition. The output of the adder 549 is
6. The data is supplied to the color difference generation unit 538 via the synchronization unit 537, is generated as RY, BY color difference signals, and is supplied to the field memories 541, 5 via the switches 539, 540.
42 respectively. The luminance signal YH of the field memory 529 and the field memory 54
The 1,542 color difference signals RY and BY are input to the image compression / expansion circuit 600 as frame still images. The image data (the luminance signal YH and the color difference signals RY and BY) input to the image compression / expansion circuit 600 is transmitted to the DCT device 1.
001, 1002 and the LOT operation device 1000 are subjected to overlapping orthogonal transformation by the image compression / decompression circuit 600 to reduce block distortion, and are compressed and stored in the external memory 550.

【0026】一方、画像再生時には、外部メモリ550
に記憶された画像データのうち輝度信号YHが画像圧縮
伸長回路600により画像データ伸長されると共にLO
T演算装置により逆重合直交変換されてブロック歪みが
低減された後、スイッチ530を介してフィールドメモ
リ531に書き込まれる。また、外部メモリ550に記
憶された色差信号R−Y,B−Yも同様に画像圧縮伸長
回路600により画像データ伸長されると共にLOT演
算装置により逆重合直交変換されてブロック歪みが低減
された後、スイッチ539,540を介してフィールド
メモリ541,542に書込まれる。そして、フィール
ドメモリ531の出力はスイッチ532,535を介し
て取出され、フィールドメモリ541,542からの出
力とともにROMテーブル551に与えられる。これに
より、エンコーダ/タイミング発生器552の制御によ
りROMテーブル551より対応表示データが出力さ
れ、D/A変換器553でアナログ信号に変換され、ア
ンプ/バッファ554を介してビデオ再生信号として出
力されるようになる。
On the other hand, when reproducing images, the external memory 550
The luminance signal YH of the image data stored in the image data is expanded by the image
After the block distortion is reduced by the inverse superposition orthogonal transform by the T arithmetic unit, the data is written to the field memory 531 via the switch 530. Similarly, the color difference signals RY and BY stored in the external memory 550 are also subjected to image data expansion by the image compression / expansion circuit 600 and are subjected to inverse polymerization orthogonal transformation by the LOT arithmetic unit to reduce block distortion. , Are written into the field memories 541 and 542 via the switches 539 and 540. Then, the output of the field memory 531 is taken out via the switches 532 and 535, and supplied to the ROM table 551 together with the outputs from the field memories 541 and 542. Accordingly, the corresponding display data is output from the ROM table 551 under the control of the encoder / timing generator 552, converted into an analog signal by the D / A converter 553, and output as a video reproduction signal via the amplifier / buffer 554. Become like

【0027】また、LOT演算装置の動作は以下のよう
なものである。LOT演算時の動作(図18参照) 図18はLOT時のデータの流れを示す図である。先
ず、図10に示すようにDCT演算出力のF0〜F7は、
1ステージ22によってアダマール変換され、G0〜G
7となる。このうちイーブン側G0,G2,G4,G6(以
下、Geと表す)は、直接Y2ステージ23に入力され
る。また、オッド側G1,G3,G5,G7(以下、Goと
表す)は、次のブロックを演算したときのイーブンと加
減算しなければならないからY2ステージ23における
演算の時点を揃えるために一時的に1ブロックラインメ
モリ24の中に蓄えておく。続いて、次のタイミングで
DCT演算出力に基づくブロックデータF0’〜F7
が、Y1ステージ22によってアダマール変換されて、
0’〜G7’となる。Ge,Goと同様にGe’は直接
2ステージ23に入力され、Go’は、1ブロックラ
インメモリ24に蓄えられる。Ge’をY2ステージ2
3に入力すると同時に1ブロックラインメモリ24に記
憶されていたGoをY2ステージ23に入力し、Y2ステ
ージ23がGoとGe’にアダマール変換を実行する。
すなわち、異なったブロックのデータ間の演算はLOT
時には、Y2ステージ23で行なう。そして、Y2ステー
ジ23の出力H0〜H7をZステージ25に入力し、Zス
テージ25でLOT演算の結果であるY0〜Y7を得る
(図10参照)。ところで、Y2ステージ23にY1ステ
ージ22出力が入力されるときにメモリアクセスが加わ
った分だけ、実行時間が遅くなるように考えられるが、
実際にはLOT演算は、上記演算の繰り返しであるた
め、トータル時間としては、従来と殆ど変化がない。
The operation of the LOT arithmetic unit is as follows. Operation at LOT Calculation (See FIG . 18) FIG. 18 is a diagram showing the flow of data at the time of LOT. First, F 0 to F 7 of the DCT operation output as shown in FIG. 10,
Is Hadamard converted by Y 1 stage 22, G 0 ~G
It becomes 7 . Among them, the even sides G 0 , G 2 , G 4 , G 6 (hereinafter, referred to as Ge) are directly input to the Y 2 stage 23. Also, the odd sides G 1 , G 3 , G 5 , and G 7 (hereinafter, referred to as Go) must add and subtract with the even when the next block is operated, so that the operation times in the Y 2 stage 23 are aligned. For this purpose, it is temporarily stored in the one block line memory 24. Subsequently, the block data F 0 ′ to F 7 ′ based on the DCT operation output at the next timing
But is Hadamard converted by Y 1 stage 22,
G 0 ′ to G 7 ′. Ge, like the Go Ge 'is input directly to Y 2-stage 23, Go' is stored in 1 block line memory 24. The Ge 'Y 2 Stage 2
If you enter a 3 Go which was stored in 1 block line memory 24 at the same time inputted to Y 2 stage 23, Y 2 stage 23 performs a Hadamard transform on the Go and Ge '.
That is, the operation between data of different blocks is LOT
Sometimes, it performed in Y 2 stage 23. Then, the outputs H 0 to H 7 of the Y 2 stage 23 are input to the Z stage 25, and the Z stage 25 obtains Y 0 to Y 7 which are the results of the LOT operation (see FIG. 10). Meanwhile, Y 2 on the stage 23 by the amount of memory access is applied when Y 1 stage 22 output is input is considered as the execution time becomes slow,
Actually, since the LOT operation is a repetition of the above operation, the total time hardly changes from the conventional one.

【0028】逆LOT演算時の動作(図19参照) 図19は逆LOT時のデータの流れを示す図である。入
力データY0’〜Y7’は、Zステージ25によって
0’〜J7’に変換され、Y2ステージ23はさらに、
0’〜J7’をK0’〜K7’に変換する。Zステージ2
5で回転を行なうのはオッド側データだけでイーブン側
のデータはそのまま出力される。ILOT時のZステー
ジ25では、奇数番のデータ入力及び出力を1→7,3
→5,5→3,7→1のように捻ってやると、LOT時
のハードウェアと同一のハードウェアでILOT時のデ
ータを処理できる。そして、Zステージ25により回転
されたオッド側のデータと、そのまま供給されるイーブ
ン側のデータに対してY2ステージ23による演算(ア
ダマール変換)を行なう。ここで、Zステージではイー
ブン側のデータには何も演算を行っていないのだが、便
宜上図19ではZステージ25にはイーブン側のデータ
も入力されている。そして、前記LOT時のY1ステー
ジ22の出力と同じように、Ke’は、直接Y1ステー
ジ22に入力し、Ko’は1ブロックラインメモリ24
に蓄えておく。同様に、続く入力データをZステージ2
5、Y2ステージ23によってK0〜K7に変換し、Ke
は、直接Y1ステージ22へ入力し、Koは1ブロック
ラインメモリ24に蓄えてやる。Keと共にメモリ24
に蓄えておいたKo’データをY1ステージ22に入力
する。そしてY1ステージ22の演算を実行させること
によって、ILOT出力F0〜F7を得る。すなわち、I
LOT時には、異なったブロック間の演算はY1ステー
ジ22が受け持つこととなる。
Operation during reverse LOT operation (see FIG . 19) FIG. 19 is a diagram showing the flow of data during reverse LOT. Input data Y 0 '~Y 7' is converted to J 0 '~J 7' by Z stage 25, Y 2 stage 23 further
Convert J 0 ′ to J 7 ′ to K 0 ′ to K 7 ′. Z stage 2
Only the odd side data is rotated at 5 and the even side data is output as it is. In the Z stage 25 at the time of ILOT, the odd-numbered data input and output are changed from 1 → 7,3
If the twist is performed in the order of → 5, 5 → 3, 7 → 1, the data at the time of ILOT can be processed by the same hardware as the hardware at the time of LOT. Then, perform the odd side of the data rotated by the Z stage 25, computation by Y 2-stage 23 with respect to the even side of the data supplied as the (Hadamard transform). Here, no operation is performed on the data on the even side in the Z stage, but the data on the even side is also input to the Z stage 25 in FIG. 19 for convenience. Then, the as same as the output of the Y 1 stage 22 at the time of LOT, Ke 'is directly input to the Y 1 stage 22, Ko' is 1 block line memory 24
Store in. Similarly, the subsequent input data is transferred to Z stage 2
5. Converted to K 0 to K 7 by the Y 2 stage 23 and Ke
Inputs directly Y 1 stage 22, Ko gonna stored in 1 block line memory 24. Memory 24 with Ke
Inputting the Ko 'data that has been stored in the Y 1 stage 22. And by executing the calculation of Y 1 stage 22 to obtain the ILOT output F 0 to F 7. That is, I
LOT Sometimes, operations between different blocks so that the charge of the Y 1 stage 22.

【0029】以上説明したように、本実施例では画像デ
ータの圧縮等をLOT演算装置を含む画像圧縮伸長回路
600を用いて実行するようにしているので、隣接ブロ
ック間のデータが例えば16×6画素から8×8のデー
タを得るようにして適切に重ね合わせられることにな
り、ブロック歪みの少ない高画質な電子カメラ511を
構築することができる。また、本実施例のLOT演算装
置は、LOT演算のYステージをY1ステージ22とY2
ステージ23に分割するとともに、Y1ステージ22と
2ステージ23の間に次のブロックラインの演算が終
了するまでデータを蓄える1ブロックラインメモリ24
を設けるようにしているので、Y1ステージ22、Y2
テージ23における処理が8入力単位で完結する。ま
た、LOT時とILOT時とでそれぞれ異なったステー
ジによってブロック間の演算が行われるのでZステージ
25を1つにすることができる。従って、Zステージの
回路規模を従来に比して半減させることができる。ま
た、1ブロックラインメモリ24もイーブン側のデータ
のみを蓄えればよいのでメモリ容量も減少させることが
できる。
As described above, in the present embodiment, image data compression and the like are executed using the image compression / decompression circuit 600 including the LOT arithmetic unit, so that data between adjacent blocks is, for example, 16 × 6. As a result, 8 × 8 data is obtained from the pixels and the images are appropriately superimposed, so that a high-quality electronic camera 511 with less block distortion can be constructed. Further, LOT calculation device of this embodiment, the Y stage of the LOT calculation Y 1 stage 22 and Y 2
With divided into the stage 23, 1 block line memory 24 for storing data until the operation of the next block line between Y 1 stage 22 and Y 2 stage 23 is completed
Because be provided with a processing in the Y 1 stage 22, Y 2 stage 23 is completed at 8 input units. In addition, since operations between blocks are performed by different stages at the time of LOT and at the time of ILOT, the number of Z stages 25 can be reduced to one. Therefore, the circuit size of the Z stage can be reduced by half compared to the related art. Further, since the one block line memory 24 also needs to store only the data on the even side, the memory capacity can be reduced.

【0030】なお、本実施例では、本発明を電子カメラ
に適用した例を述べたが、ビデオカメラなどにも適用す
ることができる。
In this embodiment, an example in which the present invention is applied to an electronic camera has been described. However, the present invention can be applied to a video camera and the like.

【0031】また、本実施例では電気信号に変換された
画像信号を輝度記号Y、色差記号R−Y、B−Yに分離
してフレームメモリに記憶するようにしているが、電気
信号に変換された画像信号を所定の形態で記憶するもの
であれば何でもよく、例えばRGB信号の形で記憶して
もよいし、電気信号に変換された画像信号をそのまま記
憶するようにしてもよい。
Further, in this embodiment, the image signal converted into the electric signal is separated into the luminance symbol Y, the color difference symbols RY and BY and stored in the frame memory. Any method may be used as long as the image signal is stored in a predetermined form. For example, the image signal may be stored in the form of an RGB signal, or the image signal converted into an electric signal may be stored as it is.

【0032】(第2実施例)図9〜図19に示す画像デ
ータ処理装置は、LOT演算を行なう際、1次元(横)
LOT演算(LOTは基本的に1次元である)を行った
後、得られたデータについて再び1次元(縦)LOT演
算を行って2次元の画像データを得る。このため、2次
元DCT演算部から出力されたデータを量子化演算部で
量子化する前に、LOT演算部で1次元処理を2回繰り
返さなければならない。そのため2次元DCT演算部の
動作を1次元LOT演算が2次元目の処理を終了するま
で休ませなければならないこととなり演算時間の短縮化
が図れないばかりかタイミングのとり方が難しいという
問題点がある。そこで第2の実施例では、画像処理時間
を大幅に短縮することができる画像圧縮伸長回路を提供
する。
(Second Embodiment) The image data processing apparatus shown in FIGS. 9 to 19 performs one-dimensional (horizontal)
After performing a LOT operation (LOT is basically one-dimensional), one-dimensional (vertical) LOT operation is performed again on the obtained data to obtain two-dimensional image data. Therefore, before the data output from the two-dimensional DCT operation unit is quantized by the quantization operation unit, the one-dimensional processing must be repeated twice by the LOT operation unit. Therefore, the operation of the two-dimensional DCT operation unit must be rested until the one-dimensional LOT operation completes the processing of the second dimension, so that not only the operation time cannot be reduced but also the timing is difficult. . Therefore, the second embodiment provides an image compression / decompression circuit that can significantly reduce the image processing time.

【0033】以下、本実施例を図面に基づいて説明す
る。原理説明 先ず、本実施例の基本的な考え方を説明する。本実施例
は、画像圧縮伸長回路のLOT演算装置を1つのブロッ
クの中で閉じて(1つのブロックのデータを用いて)演
算(アダマール変換)可能な第1演算処理部Xと、複数
のブロックのデータを用いて演算を行なう第2演算処理
部Yと、ベクトル回転を行なう第3演算処理部Zとに3
分割し、その夫々の演算処理部で2次元演算を行なうよ
うにして高速データ処理を実現しようとするものであ
る。このため、LOT演算装置を図20に示すようにX
演算部、Y演算部、Z演算部の3つの部分に分割して夫
々の部分で2次元の演算を行なうようにする。また、図
21はZ演算部における回転処理の演算内容(1次元
分)を示す図であり、図22及び図23は図20におけ
るX演算部、Y演算部の詳細(1次元分)を示す構成図
である。
This embodiment will be described below with reference to the drawings. Rationale First, the basic concept of the present embodiment. In the present embodiment, a first operation processing unit X capable of performing an operation (Hadamard transform) by closing (using data of one block) a LOT operation device of an image compression / expansion circuit, and a plurality of blocks A second operation processing unit Y that performs an operation using the data of FIG.
It is intended to realize high-speed data processing by dividing the data into two-dimensional calculations in the respective processing units. Therefore, as shown in FIG.
The operation unit, the Y operation unit, and the Z operation unit are divided into three parts, and two-dimensional operation is performed in each part. FIG. 21 is a diagram showing the operation contents (for one dimension) of the rotation processing in the Z operation unit, and FIGS. 22 and 23 show the details (for one dimension) of the X operation unit and the Y operation unit in FIG. It is a block diagram.

【0034】次に、図24〜図29を参照して本実施例
に係る画像圧縮伸長回路の具体的な構成と動作を説明す
る。図24は画像データ処理装置のLOT演算装置を示
すブロック図である。図24において、LOT演算装置
121は、2次元のアダマール変換を行なう2次元X演
算部122と、2次元のアダマール変換を行なう2次元
Y演算部123と、この2次元X演算部122と2次元
Y演算部123との間に挿入され、2次元X演算部12
2と2次元Y演算部123とのデータのやりとりを制御
すると共にデータを1ブロックライン分ディレイするた
めの1ブロックラインメモリA124,B125,C1
26と、ベクトル回転を行なうための2次元Z演算部1
27とにより構成されている。上記2次元X演算部12
2は、LOT時には、1つの画像ブロックのデータにつ
いての加減算を行なうので、DCTの出力を直接処理す
ることができる。また、逆方向時には2つのブロックラ
インのデータに対し演算を行なうため、ブロックライン
メモリのデータを読み込んでデータ演算処理を行なう。
2次元Y演算部123は、順方向時には、2つのブロッ
クラインのデータに対して演算を行い、2次元Z演算部
127にデータを出力し、逆方向時には、2次元Z演算
部127からの出力を直接処理してブロックラインメモ
リA124,B125,C126にデータを書き込む。
2次元Z演算部127は、順方向時には、2次元Y演算
部123からのデータを、逆方向時には量子化装置から
の量子化データを処理する。
Next, a specific configuration and operation of the image compression / decompression circuit according to the present embodiment will be described with reference to FIGS. FIG. 24 is a block diagram showing the LOT operation device of the image data processing device. In FIG. 24, LOT operation device 121 includes two-dimensional X operation unit 122 that performs two-dimensional Hadamard transform, two-dimensional Y operation unit 123 that performs two-dimensional Hadamard transform, and two-dimensional X operation unit 122 Inserted between the Y operation unit 123 and the two-dimensional X operation unit 12
One-block line memories A124, B125, and C1 for controlling data exchange between the two-dimensional and two-dimensional Y operation units 123 and delaying data by one block line.
26 and a two-dimensional Z operation unit 1 for performing vector rotation
27. The two-dimensional X operation unit 12
2 performs addition and subtraction on the data of one image block at the time of LOT, so that the output of the DCT can be directly processed. Also, in the reverse direction, to perform an operation on the data of the two block lines, the data of the block line memory is read and the data operation is performed.
The two-dimensional Y operation unit 123 performs an operation on data of two block lines in the forward direction and outputs data to the two-dimensional Z operation unit 127, and outputs the data from the two-dimensional Z operation unit 127 in the reverse direction. Is directly processed to write data into the block line memories A124, B125, and C126.
The two-dimensional Z operation unit 127 processes the data from the two-dimensional Y operation unit 123 in the forward direction, and processes the quantized data from the quantization device in the backward direction.

【0035】図22は2次元X演算部122の構成図で
あり、2次元Y演算部123も同一の回路構成となって
いる。図22において、2次元X演算部122は、デー
タを一時的に保持するデータラッチA131,B13
2,C133,D134と、データラッチA131,B
132,C133,D134にラッチされたデータを加
減算する加減算器135,136と、加減算器135,
136の出力を加算する加算器137と、加減算器13
5,136の出力を減算する減算器138と、加算器1
37からのデータと減算器138からのデータを選択し
て出力するデータセレクタ139とにより構成されてい
る。上記データセレクタ139は入力されたデータを選
択して出力する機能に加えて入力されたデータを1/2
倍する演算機能を備えている。
FIG. 22 is a block diagram of the two-dimensional X operation unit 122. The two-dimensional Y operation unit 123 has the same circuit configuration. In FIG. 22, two-dimensional X operation unit 122 includes data latches A131 and B13 for temporarily holding data.
2, C133, D134 and data latches A131, B
132, C133, and D134, adders / subtractors 135 and 136 for adding / subtracting the data latched by D134;
An adder 137 for adding the output of the adder 136;
Subtractor 138 for subtracting the output of 5,136, and adder 1
37, and a data selector 139 for selecting and outputting data from the subtractor 138. The data selector 139 has a function of selecting and outputting input data, and further reduces input data by 1 /.
It has a multiplying operation function.

【0036】8×8画素のブロックに対してDCTの出
力は64個となる。このため、X演算部122において
は、図22の構成が16セット配置され、それぞれ、D
CTの出力のうち、対応する4つを入力する。同様に、
Y演算部123においても、図22の構成が16セット
配置される。なお、X,Y演算部122,123におい
て、図22の回路を所定数配置し、入力データを時分割
処理しても良い。
There are 64 DCT outputs for an 8 × 8 pixel block. Therefore, in the X operation unit 122, 16 sets of the configuration of FIG.
The corresponding four of the outputs of the CT are input. Similarly,
Also in Y operation section 123, 16 sets of the configuration in FIG. 22 are arranged. In the X and Y calculation units 122 and 123, a predetermined number of circuits shown in FIG. 22 may be arranged and input data may be subjected to time division processing.

【0037】図27は2次元Z演算部127の構成図で
ある。上記2次元Z演算部127は入力されたデータの
奇数成分を回転させるためのもので、そのバタフライ演
算は前記図21に示される。図21中のθはベクトル回
転を与えるための係数で例えば0.13,0.16に設
定される。この2次元Z演算部127は、具体的には、
図24に示すように2つの1次元Z演算部141,14
2と、2つのブロックラインメモリA143,B144
から構成されており、それぞれのZ演算部141,14
2が縦方向と横方向のZ演算を受け持つ。2つのブロッ
クラインメモリA143,B144は2次元目の演算を
行なう場合に必要なデータを保持するために設けられて
いるものである。ブロックラインメモリA143とブロ
ックラインメモリB144はZ演算部141の出力夫々
を1ブロック毎に切り換えて記憶する。ブロックライン
メモリA143又はブロックラインメモリB144にZ
演算部141の出力データを記憶している際に、Z演算
部142はバッファ144B又は143Aに記憶された
データに対し、2次元目のZ演算を施す。ここで、Z演
算は、逆方向時には入力されたデータの奇数成分1,
3,5,7を1⇔7,3⇔5というように切り換えて行
われる。
FIG. 27 is a configuration diagram of the two-dimensional Z calculation section 127. The two-dimensional Z operation unit 127 is for rotating the odd component of the input data, and the butterfly operation is shown in FIG. Θ in FIG. 21 is a coefficient for giving a vector rotation, and is set to, for example, 0.13, 0.16. The two-dimensional Z operation unit 127 is, specifically,
As shown in FIG. 24, two one-dimensional Z operation units 141 and 14
2 and two block line memories A143 and B144
And each of the Z operation units 141 and 14
2 is responsible for vertical and horizontal Z operations. The two block line memories A143 and B144 are provided to hold data necessary for performing a second-dimensional operation. The block line memory A 143 and the block line memory B 144 switch and store the output of the Z operation unit 141 for each block. Z is assigned to the block line memory A 143 or the block line memory B 144.
While storing the output data of the operation unit 141, the Z operation unit 142 performs the second-dimensional Z operation on the data stored in the buffer 144B or 143A. Here, in the Z operation, the odd component 1,
3, 5, 7 are switched to 1⇔7, 3⇔5.

【0038】次に、本実施例の動作を説明する。LOT演算装置全体の動作 上記順方向及び逆方向の各ブロックの動作は図28及び
図29で示される。例えば、順方向の場合、図28に示
すように2次元X演算部122は、DCT装置からの入
力をブロックラインメモリA124,B125,C12
6に順番に書き込む。2次元Y演算部123は、ブロッ
クラインメモリ2つからデータを読み込み、2次元処理
を行って2次元Z演算部127へと出力する。なお、リ
ード・ライトが一度にできるメモリを使用する場合は必
ずしも上記動作による必要はない。
Next, the operation of this embodiment will be described. Operations of the forward and reverse of each block of the entire LOT computing device is shown in FIGS. 28 and 29. For example, in the case of the forward direction, as shown in FIG. 28, the two-dimensional X operation unit 122 outputs the input from the DCT device to the block line memories A124, B125, and C12.
Write to 6 in order. The two-dimensional Y operation unit 123 reads data from the two block line memories, performs two-dimensional processing, and outputs the result to the two-dimensional Z operation unit 127. When a memory that can be read and written at once is used, the above operation is not necessarily required.

【0039】2次元X演算部及び2次元Y演算部の動作
(図25参照) 先ず、順方向時を説明する。データラッチA131にa
(i,j)データがラッチされ、またデータラッチB1
32にa(i,j+1)、データラッチC133にa
(i+1,j)、データラッチD134にa(i+1,
j+1)の各データがラッチされ、加減算器135,1
36は共に加算器として動作するものとすると、加減算
器135,136から夫々a(i,j)+a(i,j+
1),+a(i+1,j)+a(i+1,j+1)が出
力され、加算器137及び減算器138からは、夫々a
(i,j)+a(i,j+1)+a(i+1,j)+a
(i+1,j+1)とa(i,j)+a(i,j+1)
−a(i+1,j)−a(i+1,j+1)が出力され
る。加算器137の出力が変換後のb(i,j)成分で
あり、減算器138のデータがb(i+1,j)成分で
ある。次いで、加減算器135,136を減算器として
動作させた時には加算器137及び減算器138からの
出力はb(i+,j+1),b(i+1,j+1)とな
る。なお、上記i,jは偶数とする。
Operation of two-dimensional X operation part and two-dimensional Y operation part
(See FIG. 25) First, the forward direction will be described. Data latch A131 has a
(I, j) data is latched, and data latch B1
32, a (i, j + 1), and the data latch C133 have a
(I + 1, j), and a (i + 1, j) is stored in the data latch D134.
j + 1) are latched, and the adder / subtractor 135, 1
36 operate as adders, a (i, j) + a (i, j +
1), + a (i + 1, j) + a (i + 1, j + 1) are output from the adder 137 and the subtractor 138, respectively.
(I, j) + a (i, j + 1) + a (i + 1, j) + a
(I + 1, j + 1) and a (i, j) + a (i, j + 1)
-A (i + 1, j) -a (i + 1, j + 1) is output. The output of the adder 137 is the converted b (i, j) component, and the data of the subtractor 138 is the b (i + 1, j) component. Next, when the adders / subtractors 135 and 136 are operated as subtractors, the outputs from the adder 137 and the subtractor 138 are b (i +, j + 1) and b (i + 1, j + 1). Note that i and j are even numbers.

【0040】具体的に説明すると、例えば、あるブロッ
クのデータa00,a01,a10,a11(i=0,j=0)はX演算部1
22により次式に従ってa00′,a01′,a10′,a11′に
変換される。 a00′=(a00+a01+a10+a11)/2 a01′=(a00+a01−a10−a11)/2 a10′=(a00−a01+a10−a11)/2 a11′=(a00−a01−a10+a11)/2 さらに、上記動作を1つのブロック内の全てのiとj
(共に偶数)について実行することにより、例えば、図
26に示される4つのブロックA〜DはブロックA′〜
D′に変換される。
More specifically, for example, the data a00, a01, a10, and a11 (i = 0, j = 0) of a certain block are stored in the X operation unit 1
The data is converted into a00 ', a01', a10 ', and a11' according to the following equation. a00 '= (a00 + a01 + a10 + a11) / 2 a01' = (a00 + a01-a10-a11) / 2 a10 '= (a00-a01 + a10-a11) / 2 a11' = (a00-a01-a10 + a11) / 2 All i and j in one block
By performing the processing for (both even numbers), for example, the four blocks A to D shown in FIG.
Converted to D '.

【0041】図28に示されるように、X演算部122
の出力はブロックライン単位で、ブロックラインメモリ
124〜126に記憶される。そして、次の、ブロック
ラインについてX演算部122が動作している際に、Y
演算部123はブロックラインメモリ124〜126か
ら4つのブロックA′〜D′により得られるブロック
H′を読み出す。ブロックH′は次のように表せる。 a11′,a13′,a15′,a17′,b10′,b12′,b14′,b16′ a31′,a33′,a35′,a37′,b30′,b32′,b34′,b36′ a51′,a55′,a55′,a57′,b50′,b52′,b54′,b56′ a71′,a77′,a75′,a77′,b70′,b72′,b74′,b76′ H′=c11′,c13′,c15′,c17′,d10′,d12′,d14′,d16′ c31′,c33′,c35′,c37′,d30′,d32′,d34′,d36′ c51′,c53′,c55′,c57′,d50′,d52′,d54′,d56′ c71′,c73′,c75′,c77′,d70′,d72′,d74′,d76′
As shown in FIG. 28, X operation unit 122
Are stored in block line memories 124 to 126 in block line units. Then, when the X operation unit 122 is operating for the next block line, Y
The operation unit 123 reads a block H 'obtained from the four blocks A' to D 'from the block line memories 124 to 126. Block H 'can be expressed as follows. a11 ', a13', a15 ', a17', b10 ', b12', b14 ', b16' a31 ', a33', a35 ', a37', b30 ', b32', b34 ', b36' a51 ', a55 ', A55', a57 ', b50', b52 ', b54', b56 'a71', a77 ', a75', a77 ', b70', b72 ', b74', b76 'H' = c11 ', c13' , c15 ', c17', d10 ', d12', d14 ', d16' c31 ', c33', c35 ', c37', d30 ', d32', d34 ', d36' c51 ', c53', c55 ', c57 ', d50', d52 ', d54', d56 'c71', c73 ', c75', c77 ', d70', d72 ', d74', d76 '

【0042】Y演算部123は読み出したブロックH′
に対し、2次元のアダマール変換を実行する。その具体
的な変換動作は上述のX演算部122の動作と同一であ
る。Yステージの出力はZ演算部127に供給される。
このようにして、隣接する4つのブロックについて、X
演算部122、Y演算部123、Z演算部127による
処理が順次実行される。
The Y operation unit 123 reads the read block H '.
, A two-dimensional Hadamard transform is performed. The specific conversion operation is the same as the operation of the X operation unit 122 described above. The output of the Y stage is supplied to the Z operation unit 127.
In this way, for four adjacent blocks, X
The processing by the arithmetic unit 122, the Y arithmetic unit 123, and the Z arithmetic unit 127 is sequentially executed.

【0043】一方、逆方向時は上記a(i,j)を(i
−1,j+1)に、上記a(i,j+1)をa(i−
1,j+8)に、上記a(i+1,j)をa(i,j+
1)に、上記a(i+1,j+1)をa(i,j+8)
に夫々変更する。ここで、加算器137及び減算器13
8の出力はデータラッチA131〜D134の入力に対
して2倍のレンジとなっているので、データセレクタ1
39において1/2倍してゲンイ調整の演算を行なう必
要がある。すなわち、2次元X演算部22及び2次元X
演算部123の夫々の演算部において2次元演算を行っ
ているので、各演算部から整数の形で演算結果が出力さ
れることとなる。また、2次元X演算部122と2次元
Y演算部123は同一の回路で構成できる。従って、何
れか1つの演算部についてのみデバッグを行えばよくデ
バッグが非常に効率良くできる。
On the other hand, in the reverse direction, the above a (i, j) is changed to (i
−1, j + 1), the above a (i, j + 1) is replaced by a (i−
1, (j + 8) is replaced with the above a (i + 1, j) by a (i, j +
1), the above a (i + 1, j + 1) is converted into a (i, j + 8)
Change to each. Here, the adder 137 and the subtractor 13
8 has a range twice as large as the inputs of the data latches A131 to D134.
In 39, it is necessary to perform a half-adjustment calculation by multiplying by 1/2. That is, the two-dimensional X operation unit 22 and the two-dimensional X
Since the two-dimensional operation is performed in each operation unit of the operation unit 123, the operation result is output from each operation unit in the form of an integer. Further, the two-dimensional X operation unit 122 and the two-dimensional Y operation unit 123 can be configured by the same circuit. Therefore, it is sufficient to debug only one of the operation units, and the debugging can be performed very efficiently.

【0044】以上説明したように、第2実施例ではDC
T装置と共に画像圧縮伸長回路を構成するLOT演算装
置を、1つのブロックの中で閉じて演算可能な2次元X
演算部122と、複数のブロックによって演算可能な2
次元Y演算部123と、ベクトル回転を行なう2次元Z
演算部127とに3分割し、その夫々の演算処理部で2
次元演算を行なうようにしているので、2次元DCT装
置から出力されたデータをそのまま2次元でLOT演算
して量子化装置に出力することができ、DCT装置の動
作を1次元LOT演算が2次元目の処理を終了するまで
休ませなければならないといったデータの滞りを防止し
て演算処理を格段に向上させることができる。また、D
CT装置、LOT演算装置、量子化装置を同時に動作さ
せることが可能であるからタイミング的に非常に調整が
容易となり高速な画像圧縮装置が実現できる。なお、上
述した効果は逆方向、すなわちデータ伸長でも生ずるこ
とはいうまでもなく、画像データの圧縮・伸長を行なう
画像データ処理装置に適用するとその画像処理時間を大
幅に短縮することができる。
As described above, in the second embodiment, DC
The two-dimensional X that can be operated by closing the LOT operation device that constitutes the image compression / decompression circuit together with the T device in one block
The arithmetic unit 122 and two units that can be operated by a plurality of blocks
Dimension Y operation unit 123 and two-dimensional Z that performs vector rotation
It is divided into three by the operation unit 127, and each of the operation processing units
Since the two-dimensional operation is performed, the data output from the two-dimensional DCT device can be directly subjected to the two-dimensional LOT operation and output to the quantization device. It is possible to prevent data stagnation such as having to rest until the eye processing is completed, thereby significantly improving arithmetic processing. Also, D
Since the CT device, the LOT operation device, and the quantization device can be operated at the same time, timing adjustment is very easy, and a high-speed image compression device can be realized. It goes without saying that the above-mentioned effect is also generated in the reverse direction, that is, in data expansion, and when applied to an image data processing apparatus for compressing / expanding image data, the image processing time can be greatly reduced.

【0045】(第3実施例)前記LOT演算装置にあっ
ては、上述したように比較的小さな回路で高速に符号化
データを処理することができるが、ALUを用いてLO
T演算を行なう構成となっていたため、メモリへのアク
セス回数が多くなり、またそれに伴って、アドレス、バ
ス等の制御が複雑となって結果として回路規模がまだ大
きいという問題点があった。そこで第3の実施例による
電子カメラでは、所定クロックによってデータを順次移
動させるシリアル演算によってLOT演算、逆LOT演
算を実行して、更に小さな回路規模で、LOT処理を行
なう画像圧縮伸長回路を提供する。
(Third Embodiment) In the above-described LOT arithmetic unit, encoded data can be processed at a high speed with a relatively small circuit as described above.
Since the configuration is such that the T operation is performed, the number of accesses to the memory increases, and the control of the address and the bus becomes complicated, resulting in a problem that the circuit scale is still large. Therefore, the electronic camera according to the third embodiment provides an image compression / decompression circuit that performs LOT processing and LOT processing with a smaller circuit scale by executing a LOT operation and an inverse LOT operation by a serial operation for sequentially moving data at a predetermined clock. .

【0046】以下、本実施例を図面に基づいて説明す
る。図30〜図47は本実施例に係る画像圧縮伸長回路
の具体的な構成と動作を示す図である。先ず、構成を説
明する。図30は画像圧縮伸長回路のLOT演算装置の
データ演算部を示す構成図である。図30において、2
31は所定の加減算処理を行なうYステージ、232は
ベクトル回転を行なうためのZステージである。Zステ
ージ232はLOT時の演算を図30に、逆LOT(I
LOT)時の演算を図31に示すように入力されたデー
タの奇数成分を回転させるためのもので、そのバタフラ
イ演算は前述の図15で示される。図15中のkはベク
トル回転を与えるための係数で例えば0.13,0.1
6に設定される。
Hereinafter, this embodiment will be described with reference to the drawings. FIGS. 30 to 47 are diagrams showing the specific configuration and operation of the image compression / decompression circuit according to this embodiment. First, the configuration will be described. FIG. 30 is a configuration diagram showing a data operation unit of the LOT operation device of the image compression / decompression circuit. In FIG. 30, 2
Reference numeral 31 denotes a Y stage for performing a predetermined addition / subtraction process, and 232 denotes a Z stage for performing vector rotation. The Z stage 232 performs the LOT operation in FIG.
The operation at the time of (LOT) is for rotating the odd component of the input data as shown in FIG. 31, and the butterfly operation is shown in FIG. 15 described above. K in FIG. 15 is a coefficient for giving a vector rotation, for example, 0.13, 0.1
6 is set.

【0047】図32〜図44は、本実施例に係る画像圧
縮伸長回路のデータ変換部及び量子化部を示す構成図で
ある。図32において、241はLOT演算装置240
のデータ変換部、242はその量子化部であり、データ
変換部241の演算係数(同図中○で囲んだ数値)であ
るcos0.13πとsin0.13π,cos0.16πとsin
0.16πの比は数1に示すような整数の比によって近
似される。
FIGS. 32 to 44 are block diagrams showing the data conversion unit and the quantization unit of the image compression / decompression circuit according to the present embodiment. In FIG. 32, 241 is a LOT operation device 240
And 242 are data quantization units, and are quantization units thereof, and are cos0.13π and sin0.13π, cos0.16π and sin which are operation coefficients (numerical values circled in the figure) of the data conversion unit 241.
The ratio of 0.16π is approximated by an integer ratio as shown in Equation 1.

【数1】 (Equation 1)

【0048】なお、整数の比は必ずしもこのような比で
ある必要はなく、もっと桁数の多い比を用いて、より正
確な比に置き換えるようにしてもよい。また、整数比に
よる演算では、本来行われるべき演算とは、ゲインが異
なってしまうので量子化演算によってそのゲインの差を
吸収するようにする。例えば、x1及びx2によって作ら
れる値zは、72+32=58であるから、実際にsin,co
sを用いて計算したよりも、(58)1/2倍された数2に
示す値となっている。
It should be noted that the ratio of the integers does not necessarily need to be such a ratio, and a ratio having a larger number of digits may be used and replaced with a more accurate ratio. In addition, in the calculation based on the integer ratio, the gain differs from the calculation that should be performed, so that the difference in the gain is absorbed by the quantization calculation. For example, the value z formed by x 1 and x 2 is 7 2 +3 2 = 58, so actually sin, co
The value shown in Expression 2 is obtained by multiplying (58) 1/2 times as compared with the calculation using s.

【数2】 なお、この補正数値は数2に示すような近似から作られ
たものであり、必ずしもこの値である必要はない。
(Equation 2) Note that the correction value is created by approximation as shown in Expression 2, and does not necessarily need to be this value.

【0049】本実施例の場合では、このような演算の出
力が次段の演算の入力となっているため、図32の
1,z2,z3でゲインあわせの演算を一度行ってい
る。なお、この場合のゲイン合わせとは入力データ同士
のゲインが一致しているということであって出力データ
のゲインがあっているという意味ではない。この入力同
士のゲインの比は数3、数4で示される。
In the case of the present embodiment, since the output of such an operation is an input of the operation of the next stage, the operation for adjusting the gain is performed once at z 1 , z 2 and z 3 in FIG. . Note that in this case, the gain adjustment means that the gains of the input data are the same, and does not mean that the gains of the output data are the same. The gain ratio between the inputs is given by Equations 3 and 4.

【数3】 (Equation 3)

【数4】 (Equation 4)

【0050】上記数3、数4を満たす例として図32で
はz1:z2:z3=5:38:392と設定している。
なお、これは、一つの例であって必ずしもこのような数
値とする必要はない。
In FIG. 32, z 1 : z 2 : z 3 = 5: 38: 392 is set as an example satisfying the above equations 3 and 4.
Note that this is only an example, and does not necessarily need to be set to such a numerical value.

【0051】また、ゲインを整数の比として表したこと
によって生ずる各出力ゲインの変化分は量子化部242
において吸収する。すなわち、データ変換部241の演
算係数を整数の比に置き換え、これによって変化したゲ
インを量子化部242で修正するようにする。
The change in each output gain caused by expressing the gain as an integer ratio is calculated by the quantization unit 242.
Absorb in That is, the operation coefficient of the data conversion unit 241 is replaced by an integer ratio, and the gain changed by this is corrected by the quantization unit 242.

【0052】図33はデータ圧縮装置の逆変換における
逆データ変換部及び量子化部を示す図であり、図32の
逆変換を行なう例を示している。図33において、25
1はLOT演算装置240の逆量子化部、252は逆デ
ータ変換部である。逆変換の場合も図32の場合と同様
に逆データ変換部252の演算係数を図25中○で囲ん
だ数値で示すように整数の比に置き換え、これにより生
じたゲインの変化を逆量子化部251で吸収(補償)す
るように調整する。
FIG. 33 is a diagram showing an inverse data transformation unit and a quantization unit in the inverse transformation of the data compression apparatus, and shows an example in which the inverse transformation of FIG. 32 is performed. In FIG. 33, 25
1 is an inverse quantization unit of the LOT arithmetic unit 240, and 252 is an inverse data conversion unit. In the case of the inverse transform as well, as in the case of FIG. 32, the operation coefficient of the inverse data transform unit 252 is replaced with an integer ratio as indicated by a numerical value circled in FIG. 25, and the resulting change in gain is inversely quantized. Adjustment is made so that the part 251 absorbs (compensates).

【0053】本実施例はLOT及び逆LOT演算を以下
に説明するシリアル演算によって行なう。先ず、基本的
な考え方として数1に示すように整数の比で示された値
を、数5に示すように2つのべき(すなわち、2のn
乗)の和又は差で表すようにする。
In this embodiment, the LOT and inverse LOT operations are performed by serial operations described below. First, as a basic idea, a value represented by a ratio of integers as shown in Expression 1 is converted to a power of two as shown in Expression 5 (that is, n of 2).
To the sum or difference of the powers).

【数5】 数5に示すように数値を2のべきで表現する理由はシリ
アルの回路による演算を実現するためである。すなわ
ち、図34において、符号271は、クロック入力信号
に応答し、入力信号を1クロック遅れた出力とするFF
(フリップフロップ)からなる1タイムディレイユニッ
トを表すものとすると、1タイムディレイユニット27
1を通って出てくる出力と1タイムディレイユニット2
71を通らずに直接出てくる出力とを比較すると前者が
後者より1クロック分遅い。ここで、1タイムディレイ
ユニット271はシフトレジスタが並んだようなもので
あり、例えばLSB側から順にデータが入力されている
ものとすると、1クロック遅く出てくるということは2
倍されたことを意味する。同様に、8倍しようとする場
合には上記1タイムディレイユニット271を図35に
示すように3つ並べて3クロック遅らせるようにすれば
3で8倍となる。本実施例では上記ユニットを組み合
わせて加減算を行なうことでシリアル演算回路を実現す
る。
(Equation 5) The reason why the numerical value is expressed by a power of 2 as shown in Expression 5 is to realize an operation by a serial circuit. That is, in FIG. 34, reference numeral 271 denotes an FF that responds to a clock input signal and outputs the input signal delayed by one clock.
(Flip-flop), one time delay unit 27
Output coming out through 1 and 1 time delay unit 2
Compared with the output directly coming out without passing through 71, the former is one clock later than the latter. Here, the one time delay unit 271 has a structure in which shift registers are arranged. For example, if data is sequentially input from the LSB side, it means that one data delay comes out one clock later.
Means doubled. Similarly, the 8-fold in 2 3 If to delay three side by side three clocks, as shown in FIG. 35 the one time delay unit 271 when to be eight times. In this embodiment, a serial operation circuit is realized by performing addition and subtraction by combining the above units.

【0054】図36は乗算部のシリアル演算構成を示し
たものであり、図36は入力データを38倍する場合の
例である。先ず、38を数6の形に分解する。
FIG. 36 shows a serial operation configuration of the multiplication unit. FIG. 36 shows an example in which input data is multiplied by 38. First, 38 is decomposed into the form of Equation 6.

【数6】 数6において、ある数値xを32倍するということは、
xを左(MBS方向)へ5回シフトすることであり、図
36では、5段の1タイムディレイユニット271を通
過させることによって実現される。また、数6で示され
る2×(2+1)は、実際には、6であるから、4+2
と表してもよい。しかし、図36のフルアダー272が
1タイムディレイユニットを持っており、入力データを
2倍するため、2×(2+1)という表現形式を採用し
た。以上のような回路構成をZステージ全体に対してと
ったのが図37であり、図32のデータ変換部241を
シリアル演算で行なうための回路構成図である。また、
図38〜図40は図37中の各ユニットを示す図であ
り、図38はFFからなる1タイムディレイユニット2
71を、図39は加算(a+b)を行なう1タイムディ
レイユニットフルアダー(内部Carry Type)272を、
図40は減算(a−b)を行なう1タイムディレイユニ
ットフルサブストラクタ(内部Borrow type)273を
それぞれ示している。また、図37には、小数点の位置
合わせのために、演算に関係しない1タイムディレイユ
ニットが付け加えてある。例えば、前記図32のデータ
変換部241のx1における整数値7は(4+2+1)
で表されるから図37では1つの1タイムディレイユニ
ット271及び2つのフルアダー272を組み合わせて
構成されている。同様に、前記図32に示した数値は全
て図37に示すようなシリアル回路にて実現でき、LO
Tをシリアル演算により実現することができる。この場
合の各ユニット271,272,273はFFが1つ程
度の極めて小さい回路で実現できることからLOT演算
装置全体の回路規模も小さくすることができる。
(Equation 6) In Equation 6, multiplying a certain numerical value x by 32 means that
This means that x is shifted to the left (in the MBS direction) five times. In FIG. 36, this is realized by passing through one time delay unit 271 of five stages. In addition, since 2 × (2 + 1) shown in Expression 6 is actually 6, 4 + 2
May be expressed as However, the full adder 272 in FIG. 36 has one time delay unit, and employs the expression form 2 × (2 + 1) to double the input data. FIG. 37 shows the circuit configuration as described above applied to the entire Z stage, and is a circuit configuration diagram for performing serial operation on the data conversion unit 241 in FIG. Also,
38 to 40 are diagrams showing each unit in FIG. 37. FIG. 38 is a diagram showing one time delay unit 2 composed of FF.
FIG. 39 shows a one time delay unit full adder (internal carry type) 272 for performing addition (a + b),
FIG. 40 shows one time delay unit full subtractor (internal Borrow type) 273 for performing subtraction (ab). In FIG. 37, a one-time delay unit not related to the calculation is added for the purpose of positioning the decimal point. For example, the integer value 7 in x 1 data conversion unit 241 of FIG. 32 (4 + 2 + 1)
In FIG. 37, one time delay unit 271 and two full adders 272 are combined. Similarly, all the numerical values shown in FIG. 32 can be realized by a serial circuit as shown in FIG.
T can be realized by a serial operation. In this case, since each of the units 271, 272, and 273 can be realized by an extremely small circuit having about one FF, the circuit scale of the entire LOT arithmetic device can be reduced.

【0055】また、逆LOT時も上述したLOT時と同
様のシリアル演算を行なうことができる。図41は前記
図33の逆データ変換部252をシリアル演算で行なう
ようにした回路構成図であり、図37と同様のシリアル
演算が実行される。
Also, the same serial operation can be performed at the time of reverse LOT as at the time of LOT. FIG. 41 is a circuit configuration diagram in which the inverse data conversion unit 252 of FIG. 33 is performed by a serial operation, and the same serial operation as in FIG. 37 is executed.

【0056】図42は図37のシリアル演算回路に図4
3に示す9ビット(sign+Data8)のデータを入力した
時のタイミングチャートである。図42に示すように9
ビットデータの入力時には、24(9+15)タイムユ
ニット経過後次の9ビットデータを入力できる。従って
データ入力の一周期は24タイムユニットとなる。一般
的には、nビット入力に対して、n+15タイムユニッ
ト周期でデータを入力できる。
FIG. 42 is a circuit diagram of the serial operation circuit of FIG.
7 is a timing chart when 9-bit (sign + Data8) data shown in FIG. 3 is input. As shown in FIG.
At the time of inputting bit data, the next 9-bit data can be input after 24 (9 + 15) time units have elapsed. Therefore, one cycle of data input is 24 time units. In general, data can be input at an n + 15 time unit cycle for an n-bit input.

【0057】逆LOT時について説明すると、逆LOT
自体は前記図30のLOTのフローグラフでデータが右
から左へと流れると考えればよい(図29参照)。また
Zステージ232、Yステージ231について考えてみ
ると、Zステージ232とYステージ231はZステー
ジ232のゲインを除いて、対称であるから、Yステー
ジ231とZステージ232の間の1/2及びZステー
ジ232のゲインは、LOT時と同様に、予め逆量子化
時に吸収しておくようにすれば、Zステージ232とY
ステージ231を図44に示すように組み合わせればよ
い。但し、前記図37においてx1であった入力にy
7を、x3にy5を、x5にy3を、x7にy1をそれぞれ入
力し、出力時にも同様に捻ってやるようにする。また、
逆LOT時を考えた全体の構成図が図45及び図46に
示され、図45はLOT時のデータの流れを、図46は
逆LOT時のデータの流れを示している。
The reverse LOT will be described.
It can be considered that the data itself flows from right to left in the LOT flow graph of FIG. 30 (see FIG. 29). Considering the Z stage 232 and the Y stage 231, the Z stage 232 and the Y stage 231 are symmetric except for the gain of the Z stage 232. If the gain of the Z stage 232 is previously absorbed at the time of inverse quantization as in the case of LOT, the Z stage 232 and Y
The stages 231 may be combined as shown in FIG. However, y input was x 1 in FIG. 37
7, a y 5 in x 3, the y 3 in x 5, the y 1 is input to the x 7, so that'll twisted equally to the output. Also,
FIGS. 45 and 46 show the overall configuration considering the reverse LOT. FIG. 45 shows the data flow at the time of LOT, and FIG. 46 shows the data flow at the time of reverse LOT.

【0058】上述したように本実施例においては、逆L
OT時を考慮して、Zステージを2つ持つようにしてい
るが、図47に示すように、Zステージを1つにして、
その部分にメモリを持たせるようにすれば、回路規模を
小さくすることができる。この場合、上記メモリに一度
データを蓄えるという動作が加わるため、動作の高速性
が失われるようにも考えられるが、LOT演算を連続し
て動作される場合には常に一つ前のZステージ通過デー
タを保持していることとなるので実行時間自体にはほと
んど変化はない。
As described above, in this embodiment, the inverse L
In consideration of the time of OT, two Z stages are provided, but as shown in FIG.
If a memory is provided in that portion, the circuit scale can be reduced. In this case, an operation of temporarily storing data in the memory is added, so that high-speed operation may be lost. However, when the LOT operation is continuously performed, the data always passes through the previous Z stage. Since the data is held, the execution time itself hardly changes.

【0059】なお、本実施例では係数を例えば、7:3
の整数の比とする例を示したが、これには限定されず、
整数の比で表されるものであればどのような整数比でも
よい。
In this embodiment, the coefficient is, for example, 7: 3
Although an example in which the ratio is an integer of is shown, the present invention is not limited to this.
Any integer ratio may be used as long as it is represented by an integer ratio.

【0060】また、演算係数を2のべき(2のn乗)の
和(差)で表現して図37に示すようなシリアルの回路
により演算を行っているが、シリアルデータ処理が行わ
れるものであればどのようなユニットの組合せでもよい
ことは勿論である。
The operation coefficient is expressed by a sum (difference) of a power of 2 (2 to the n-th power), and the operation is performed by a serial circuit as shown in FIG. 37. Of course, any combination of units may be used.

【0061】以上説明したように、第3実施例では画像
圧縮伸長回路におけるLOT及び逆LOT演算をシリア
ル演算によって行なうようにしているので、従来ALU
を用いてLOT演算を行なう場合非常に回路規模が大き
く、実行時間も長かったものが、極めて小さなFF等の
組合せからなるシリアル回路によって実現されることに
なることから回路規模を大幅に小さくすることができ、
かつ高速に処理を行なうことが可能になる。このように
小さな回路規模で高速なLOT演算処理を画像圧縮や音
声圧縮を行なう符号化データ処理装置に適用して好適で
ある。
As described above, in the third embodiment, the LOT operation and the inverse LOT operation in the image compression / decompression circuit are performed by serial operation.
When the LOT operation is performed by using a circuit, the circuit scale is very large and the execution time is long. However, the circuit scale is significantly reduced because a serial circuit including a combination of extremely small FFs or the like is realized. Can be
In addition, processing can be performed at high speed. It is suitable to apply such a high-speed LOT calculation process with a small circuit scale to an encoded data processing device that performs image compression and audio compression.

【0062】また、本実施例ではデータ変換部214、
逆データ変換部252の演算係数を整数の比に置き換え
るとともに、そのゲインの変化を量子化部、逆量子化部
により吸収させるようにしているので、誤差を含んだ係
数による演算は量子化部において一度行われるのみであ
りそれ以外の演算は丸め誤差を含まない整数の比によっ
て行なうことができ、小さなバス幅で高い演算精度を得
ることができるという効果がある。
In this embodiment, the data converter 214,
The operation coefficient of the inverse data conversion unit 252 is replaced with an integer ratio, and the change in the gain is absorbed by the quantization unit and the inverse quantization unit. The other operations are performed only once, and the other operations can be performed by an integer ratio that does not include a rounding error. This has an effect that high operation accuracy can be obtained with a small bus width.

【0063】なお、上記各実施例では、画像圧縮伸長回
路にDCT、アダマール変換を適用しているが、これら
符号化方式には限定されず、LOT演算を行なうもので
あればどのような装置にも適用できることは言うまでも
ない。例えば、ハール(Harr)変換、傾斜変換(スラン
ト変換)、対称性サイン変換などを用いた符号化データ
処理装置に適用することができる。
In each of the above embodiments, the DCT and the Hadamard transform are applied to the image compression / decompression circuit. However, the present invention is not limited to these encoding methods, and any apparatus that performs the LOT operation can be used. Needless to say, this can also be applied. For example, the present invention can be applied to an encoded data processing device using a Harr transform, a gradient transform (slant transform), a symmetric sine transform, or the like.

【0064】[0064]

【発明の効果】請求項1記載の発明によれば、符号化処
理時に、第1演算手段により水平方向に隣接するブロッ
クに対して基関数の補償演算を行ない、第2演算手段に
より垂直方向に隣接するブロックに対して基関数の補償
演算を行なうようにしているので、隣接するブロックに
対する歪みが適切に除去することができる。
According to the first aspect of the present invention, the encoding process
At the time of processing, the first computing means
To perform the basic function compensation operation on the
Primitive compensation for more vertically adjacent blocks
The operation is performed, so the adjacent block
Distortion can be appropriately removed.

【0065】[0065]

【0066】[0066]

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

【図1】本発明に係る電子カメラのブロック図である。FIG. 1 is a block diagram of an electronic camera according to the present invention.

【図2】本発明に係る電子カメラの画面構成図である。FIG. 2 is a screen configuration diagram of the electronic camera according to the present invention.

【図3】本発明に係る電子カメラのLOT演算装置の構
成図である。
FIG. 3 is a configuration diagram of a LOT calculation device of the electronic camera according to the present invention.

【図4】本発明に係る電子カメラのLOT演算装置のバ
タフライ演算のための演算器を示す図である。
FIG. 4 is a diagram showing a computing unit for butterfly computation of the LOT computing device of the electronic camera according to the present invention.

【図5】本発明に係る電子カメラのLOT演算装置のバ
タフライ演算のための演算器を示す図である。
FIG. 5 is a diagram illustrating a computing unit for butterfly computation of the LOT computing device of the electronic camera according to the present invention.

【図6】本発明に係る電子カメラのLOT演算装置のバ
タフライ演算のための演算器を示す図である。
FIG. 6 is a diagram showing a computing unit for butterfly computation of the LOT computing device of the electronic camera according to the present invention.

【図7】本発明に係る電子カメラのLOT演算装置のバ
タフライ演算のための演算器を示す図である。
FIG. 7 is a diagram showing a computing unit for butterfly computation of the LOT computing device of the electronic camera according to the present invention.

【図8】本発明に係る電子カメラのLOT演算装置の入
出力画素を示す図である。
FIG. 8 is a diagram showing input / output pixels of the LOT calculation device of the electronic camera according to the present invention.

【図9】第1実施例に係るLOT演算装置のブロック図
である。
FIG. 9 is a block diagram of the LOT operation device according to the first embodiment.

【図10】第1実施例に係るLOT演算装置のLOT時
の演算を説明するための図である。
FIG. 10 is a diagram for explaining LOT calculation of the LOT calculation device according to the first embodiment.

【図11】第1実施例に係るLOT演算装置のILOT
時の演算を説明するための図である。
FIG. 11 is a diagram showing an ILOT of the LOT operation device according to the first embodiment;
It is a figure for explaining operation at the time.

【図12】第1実施例に係るLOT演算装置の演算素子
を示す図である。
FIG. 12 is a diagram illustrating an arithmetic element of the LOT arithmetic device according to the first embodiment.

【図13】第1実施例に係るLOT演算装置の演算素子
を示す図である。
FIG. 13 is a diagram illustrating an arithmetic element of the LOT arithmetic device according to the first embodiment.

【図14】第1実施例に係るLOT演算装置の演算素子
を示す図である。
FIG. 14 is a diagram illustrating an arithmetic element of the LOT arithmetic device according to the first embodiment.

【図15】第1実施例に係るLOT演算装置の演算素子
を示す図である。
FIG. 15 is a diagram illustrating an arithmetic element of the LOT arithmetic device according to the first embodiment.

【図16】第1実施例に係るLOT演算装置のY1ステ
ージの構成図である。
16 is a block diagram of a Y 1 stage LOT computation device according to the first embodiment.

【図17】第1実施例に係るLOT演算装置のY2ステ
ージの構成図である。
17 is a block diagram of a Y 2 stage LOT computation device according to the first embodiment.

【図18】第1実施例に係るLOT演算装置のLOT時
のデータの流れを説明するためのブロック図である。
FIG. 18 is a block diagram for explaining a data flow at the time of LOT of the LOT operation device according to the first embodiment.

【図19】第1実施例に係るLOT演算装置のILOT
時のデータの流れを説明するためのブロック図である。
FIG. 19 is a diagram showing ILOT of the LOT calculation device according to the first embodiment;
FIG. 3 is a block diagram for explaining a data flow at the time.

【図20】第2実施例に係るLOT演算装置のブロック
図である。
FIG. 20 is a block diagram of a LOT operation device according to a second embodiment.

【図21】第2実施例に係るLOT演算装置のバタフラ
イ演算の演算器を示す図である。
FIG. 21 is a diagram illustrating a computing unit for butterfly computation of a LOT computing device according to a second embodiment.

【図22】第2実施例に係るLOT演算装置のX演算部
の構成図である。
FIG. 22 is a configuration diagram of an X operation unit of the LOT operation device according to the second embodiment.

【図23】第2実施例に係るLOT演算装置のY演算部
の構成図である。
FIG. 23 is a configuration diagram of a Y operation unit of the LOT operation device according to the second embodiment.

【図24】第2実施例に係るLOT演算装置のブロック
図である。
FIG. 24 is a block diagram of a LOT operation device according to a second embodiment.

【図25】第2実施例に係るLOT演算装置の2次元X
演算部の回路構成図である。
FIG. 25 shows a two-dimensional X of the LOT calculation device according to the second embodiment.
FIG. 3 is a circuit configuration diagram of a calculation unit.

【図26】第2実施例に係るLOT演算装置の2次元X
演算部による変換動作を説明する図である。
FIG. 26 shows a two-dimensional X of the LOT calculation device according to the second embodiment.
FIG. 4 is a diagram illustrating a conversion operation by a calculation unit.

【図27】第2実施例に係るLOT演算装置の2次元Z
演算部の構成図である。
FIG. 27 shows a two-dimensional Z of the LOT calculation device according to the second embodiment.
FIG. 3 is a configuration diagram of a calculation unit.

【図28】第2実施例に係るLOT演算装置の順方向の
各ブロックの動作を説明するための図である。
FIG. 28 is a diagram for explaining the operation of each block in the forward direction of the LOT operation device according to the second embodiment.

【図29】第2実施例に係るLOT演算装置の逆方向の
各ブロックの動作を説明するための図である。
FIG. 29 is a diagram for explaining the operation of each block in the reverse direction of the LOT operation device according to the second embodiment.

【図30】第3実施例に係るLOT演算装置のLOT時
の演算を説明するための構成図である。
FIG. 30 is a configuration diagram for explaining a calculation at the time of LOT of the LOT calculation device according to the third embodiment.

【図31】第3実施例に係るLOT演算装置のILOT
時の演算を説明するための構成図である。
FIG. 31 is a diagram showing ILOT of the LOT calculation device according to the third embodiment;
FIG. 3 is a configuration diagram for explaining a calculation at the time.

【図32】第3実施例に係るLOT演算装置のデータ変
換及び量子化部を示す構成図である。
FIG. 32 is a configuration diagram illustrating a data conversion and quantization unit of the LOT operation device according to the third embodiment.

【図33】第3実施例に係る逆LOT演算装置の逆デー
タ変換及び逆量子化部を示す構成図である。
FIG. 33 is a configuration diagram illustrating an inverse data conversion and inverse quantization unit of the inverse LOT operation device according to the third embodiment.

【図34】第3実施例に係るLOT演算装置におけるシ
リアル演算を説明するための図である。
FIG. 34 is a diagram for explaining a serial operation in the LOT operation device according to the third embodiment.

【図35】第3実施例に係るLOT演算装置におけるシ
リアル演算を説明するための図である。
FIG. 35 is a diagram for explaining a serial operation in the LOT operation device according to the third embodiment.

【図36】第3実施例に係るLOT演算装置におけるシ
リアル演算を説明するための図である。
FIG. 36 is a diagram for explaining a serial operation in the LOT operation device according to the third embodiment.

【図37】第3実施例に係るLOT演算装置のデータ変
換部をシリアル演算回路で構成した場合の回路構成図で
ある。
FIG. 37 is a circuit configuration diagram when the data conversion unit of the LOT operation device according to the third embodiment is configured by a serial operation circuit.

【図38】第3実施例に係るシリアル演算素子を説明す
る図である。
FIG. 38 is a diagram illustrating a serial operation element according to a third embodiment.

【図39】第3実施例に係るシリアル演算素子を説明す
る図である。
FIG. 39 is a diagram illustrating a serial operation element according to a third embodiment.

【図40】第3実施例に係るシリアル演算素子を説明す
る図である。
FIG. 40 is a diagram illustrating a serial operation element according to a third embodiment.

【図41】第3実施例発明に係るLOT演算装置のシリ
アル演算するための回路構成を示すブロック図である。
FIG. 41 is a block diagram showing a circuit configuration for performing a serial operation of the LOT operation device according to the third embodiment of the present invention.

【図42】第3実施例に発明に係るLOT演算装置のシ
リアル演算のタイミングチャートである。
FIG. 42 is a timing chart of a serial operation of the LOT operation device according to the third embodiment.

【図43】第3実施例に係るLOT演算装置のシリアル
演算素子への入力データの形式を示す図である。
FIG. 43 is a diagram illustrating a format of input data to a serial operation element of the LOT operation device according to the third embodiment.

【図44】第3実施例に係るLOT演算装置の逆LOT
時のYステージ、Zステージの組合せを示す図である。
FIG. 44 is an inverse LOT of the LOT calculation device according to the third embodiment;
FIG. 9 is a diagram showing a combination of a Y stage and a Z stage at the time.

【図45】第3実施例に係るLOT演算装置のLOT時
のYステージ、Zステージのデータの流れを示すブロッ
ク図である。
FIG. 45 is a block diagram showing a flow of data in a Y stage and a Z stage at the time of LOT of the LOT operation device according to the third embodiment.

【図46】LOT演算装置の逆LOT時のYステージ、
Zステージのデータの流れを示すブロック図である。
FIG. 46 shows a Y stage at the time of reverse LOT of the LOT calculation device.
FIG. 3 is a block diagram illustrating a flow of data in a Z stage.

【図47】LOT演算装置のZステージを1つにした場
合の逆LOT時のデータの流れを示すブロック図であ
る。
FIG. 47 is a block diagram showing a data flow at the time of reverse LOT when the number of Z stages of the LOT operation device is one;

【図48】従来の電子カメラの再生画面のブロック歪み
を説明するための図である。
FIG. 48 is a diagram for explaining block distortion on a playback screen of a conventional electronic camera.

【図49】従来の電子カメラのブロック歪みを説明する
ためのノイズ部の拡大図である。
FIG. 49 is an enlarged view of a noise portion for explaining block distortion of a conventional electronic camera.

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

21,100 LOT演算装置 22 Y1ステージ(第1演算処理部) 23 Y2ステージ(第2演算処理部) 24 1ブロックラインメモリ 25 Zステージ 26〜33 スイッチ 40 スイッチ切換回路 101,102 DCT装置 121 LOT演算装置 122 2次元X演算部(第1演算処理部) 123 2次元Y演算部(第2演算処理部) 124〜126 1ブロックラインメモリ 127 2次元Z演算部 131〜134 データラッチ 135,136 加減算器 137 加算器 138 減算器 139 データセレクタ 141,142 1次元Z演算部 143,144 ブロックバッファ 231 Yステージ 232 Zステージ 240 LOT演算装置 241 データ変換部 242 量子化部 251 逆量子化部 252 逆データ変換部 271 1タイムユニットディレイ 272 1タイムユニットディレイフルアダー 273 1タイムユニットディレイフルサブストラクタ 511 電子カメラ 521 レンズ系 523 CCD 631 タイミング発生器 632 CCDドライバ 524 プロセス回路 525 A/D変換器 526,527,547,549 加算器 529,531,541,542,548 フィールド
メモリ 533 ガンマ補正部533 534 エンハンサ部 537 同時化部 538 色差生成部 543 カラービューファインダROMテーブル 544 ドライバ 545 カラービューファインダ 546 1Hメモリ 550 外部メモリ 551 ROMテーブル 552 エンコーダ/タイミング発生器 553 D/A変換器 554 アンプ/バッファ 555 コントラスト検出部 600 画像圧縮伸長回路
21, 100 LOT arithmetic unit 22 Y 1 stage (first arithmetic processing unit) 23 Y 2 stage (second arithmetic processing unit) 24 1 block line memory 25 Z stage 26-33 switch 40 switch switching circuit 101, 102 DCT device 121 LOT operation device 122 Two-dimensional X operation unit (first operation processing unit) 123 Two-dimensional Y operation unit (second operation processing unit) 124 to 126 1 block line memory 127 Two-dimensional Z operation unit 131 to 134 Data latch 135, 136 Adder / subtracter 137 Adder 138 Subtractor 139 Data selector 141, 142 One-dimensional Z operation unit 143, 144 Block buffer 231 Y stage 232 Z stage 240 LOT operation device 241 Data conversion unit 242 Quantization unit 251 Inverse quantization unit 252 Inverse data Conversion unit 271 1 tie Unit delay 272 1 time unit delay full adder 273 1 time unit delay full subtractor 511 Electronic camera 521 Lens system 523 CCD 631 Timing generator 632 CCD driver 524 Process circuit 525 A / D converter 526, 527, 547, 549 Adder 529, 531, 541, 542, 548 Field memory 533 Gamma correction unit 533 534 Enhancer unit 537 Synchronization unit 538 Color difference generation unit 543 Color view finder ROM table 544 Driver 545 Color view finder 546 1H memory 550 External memory 551 ROM table 552 Encoder / Timing generator 553 D / A converter 554 amplifier / buffer 555 contrast detector 600 image Contraction and expansion circuit

───────────────────────────────────────────────────── フロントページの続き (31)優先権主張番号 特願平2−413515 (32)優先日 平成2年12月21日(1990.12.21) (33)優先権主張国 日本(JP) (72)発明者 渡邉 亨 東京都羽村市栄町3丁目2番1号 カシ オ計算機株式会社 羽村技術センター内 (72)発明者 富田 成明 東京都羽村市栄町3丁目2番1号 カシ オ計算機株式会社 羽村技術センター内 (56)参考文献 特開 平4−145727(JP,A) 特開 平3−295379(JP,A) 特開 平2−226984(JP,A) 特開 平1−225293(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04N 5/76 - 5/956 H03M 7/30 H04N 5/232 H04N 7/24 - 7/68 ──────────────────────────────────────────────────続 き Continued on the front page (31) Priority claim number Japanese Patent Application No. 2-413515 (32) Priority date December 21, 1990 (December 21, 1990) (33) Priority claim country Japan (JP) (72) Inventor Toru Watanabe 3-2-1, Sakaemachi, Hamura-shi, Tokyo Casio Computer Co., Ltd. Hamura Technical Center (72) Inventor Shigeaki Tomita 3-2-1, Sakaemachi, Hamura-shi, Tokyo Casio Computer Stock (56) References JP-A-4-145727 (JP, A) JP-A-3-295379 (JP, A) JP-A-2-226984 (JP, A) JP-A-1-225293 ( JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) H04N 5/76-5/956 H03M 7/30 H04N 5/232 H04N 7/ 24-7/68

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 撮像した画像データを基関数を直交関数
とする直交変換によりブロック単位で符号化処理を行な
い画像メモリに記憶する電子カメラにおいて、 前記符号化処理時に、水平方向に隣接するブロックに対
して基関数の補償演算を行なう第1演算手段と、垂直方
向に隣接するブロックに対して基関数の補償演算を行な
う第2演算手段とを具備したことを特徴とする電子カメ
ラ。
1. An electronic camera which performs an encoding process on an image memory by performing block-based encoding processing on captured image data by using an orthogonal transformation with a base function as an orthogonal function, and stores the image data in a block adjacent to a horizontal direction during the encoding process. An electronic camera, comprising: first operation means for performing a basic function compensation operation on the basis of the first operation means; and second operation means for performing a basic function compensation operation on vertically adjacent blocks.
【請求項2】 前記第1演算手段及び第2演算手段は、
画像データの隣接ブロック間のデータを重ね合わせる基
関数を用いて該画像データを重合直交変換(LOT)及
び逆重合直交変換(ILOT)する手段であることを特
徴とする請求項記載の電子カメラ。
2. The first operation means and the second operation means,
2. The electronic camera according to claim 1 , wherein the electronic camera is means for performing a superposition orthogonal transform (LOT) and an inverse superposition orthogonal transform (ILOT) on the image data using a primitive function for superimposing data between adjacent blocks of the image data. .
JP35493491A 1990-12-21 1991-12-20 Electronic camera Expired - Fee Related JP3102113B2 (en)

Applications Claiming Priority (8)

Application Number Priority Date Filing Date Title
JP2-413516 1990-12-21
JP41351690 1990-12-21
JP2-413514 1990-12-21
JP02413514 1990-12-21
JP41351590 1990-12-21
JP2-415833 1990-12-21
JP2-413515 1990-12-21
JP41583390 1990-12-29

Publications (2)

Publication Number Publication Date
JPH0591460A JPH0591460A (en) 1993-04-09
JP3102113B2 true JP3102113B2 (en) 2000-10-23

Family

ID=27480890

Family Applications (2)

Application Number Title Priority Date Filing Date
JP35493391A Pending JPH0591459A (en) 1990-12-21 1991-12-20 Electronic camera
JP35493491A Expired - Fee Related JP3102113B2 (en) 1990-12-21 1991-12-20 Electronic camera

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP35493391A Pending JPH0591459A (en) 1990-12-21 1991-12-20 Electronic camera

Country Status (1)

Country Link
JP (2) JPH0591459A (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997035422A1 (en) 1996-03-19 1997-09-25 Mitsubishi Denki Kabushiki Kaisha Encoder, decoder and methods used therefor
US6744925B2 (en) 1996-03-19 2004-06-01 Mitsubishi Denki Kabushiki Kaisha Encoding apparatus, decoding apparatus, encoding method, and decoding method
US6636641B1 (en) 1996-03-19 2003-10-21 Mitsubishi Denki Kabushiki Kaisha Encoding apparatus, decoding apparatus, encoding method and decoding method
US7305139B2 (en) * 2004-12-17 2007-12-04 Microsoft Corporation Reversible 2-dimensional pre-/post-filtering for lapped biorthogonal transform
US8036274B2 (en) 2005-08-12 2011-10-11 Microsoft Corporation SIMD lapped transform-based digital media encoding/decoding
US8369638B2 (en) 2008-05-27 2013-02-05 Microsoft Corporation Reducing DC leakage in HD photo transform
US8275209B2 (en) 2008-10-10 2012-09-25 Microsoft Corporation Reduced DC gain mismatch and DC leakage in overlap transform processing
JP5284771B2 (en) * 2008-12-24 2013-09-11 株式会社情報システム総合研究所 Image compression apparatus and image compression method

Also Published As

Publication number Publication date
JPH0591460A (en) 1993-04-09
JPH0591459A (en) 1993-04-09

Similar Documents

Publication Publication Date Title
US8134612B2 (en) Digital camera for recording a still image while shooting a moving image
JP2001515679A (en) Method and apparatus for creating high resolution still images
US5442718A (en) Apparatus and method for storing and reproducing digital image data yielding high resolution and high quality video image data
US6483875B1 (en) Picture signal processing apparatus
JP3102113B2 (en) Electronic camera
JP2002500455A (en) High-speed IDCT / downsampling combined operation method and apparatus
JP2947389B2 (en) Image processing memory integrated circuit
JP4048615B2 (en) Pixel number conversion device and digital camera device
JP4244218B2 (en) Imaging signal processing circuit and camera system
JP3052516B2 (en) Encoded data processing device
KR20050063711A (en) Image signal processing device
JP3312456B2 (en) Video signal processing device
JP2579153B2 (en) Digital data recorder
JP3972478B2 (en) Imaging device
JP3455263B2 (en) Image processing device
JPH08307868A (en) Moving image decoder
JP3194757B2 (en) Electronic camera device
JP3343861B2 (en) Digital electronic still camera and operation method thereof
JP3194980B2 (en) CIF conversion circuit
JP3684588B2 (en) Video signal processing device
JP3225614B2 (en) Data compression device
JPH04293360A (en) Orthogonal transformation arithmetic device
JPH04211575A (en) Orthogonal convertion operation device
KR970003806B1 (en) Improved apparatus for transforming one dimension discrete and inverse discrete cosine
JPH05167920A (en) Image expanding device and image signal recording and reproducing device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees