JPH06161883A - Image memory device - Google Patents

Image memory device

Info

Publication number
JPH06161883A
JPH06161883A JP4318695A JP31869592A JPH06161883A JP H06161883 A JPH06161883 A JP H06161883A JP 4318695 A JP4318695 A JP 4318695A JP 31869592 A JP31869592 A JP 31869592A JP H06161883 A JPH06161883 A JP H06161883A
Authority
JP
Japan
Prior art keywords
memory
image
data
signal
stored
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP4318695A
Other languages
Japanese (ja)
Other versions
JP3078136B2 (en
Inventor
Koshi Sakurada
孔司 桜田
Yutaka Mazaki
裕 真崎
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP04318695A priority Critical patent/JP3078136B2/en
Publication of JPH06161883A publication Critical patent/JPH06161883A/en
Application granted granted Critical
Publication of JP3078136B2 publication Critical patent/JP3078136B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Memory System (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To provide the image memory device which can execute local processing or raster scan at high speed by removing the demerit of making the configuration of the image memory device huge corresponding to color image signals. CONSTITUTION:This device is provided with a first memory 109 for storing digital image data composed of one luminance signal and two color difference signals, second memory 110 for storing image data by using a control signal independent of the first memory 109 and a data bus, and memory control part 103 for controlling the first and second memories 109 and 110 so that data for two arbitrarily continuous lines can be stored in the first memory 109 or the second memory 110, data for two continuous lines adjacent to the two lines can be stored in the other memory concerning the luminance signal, and data for one arbitrary line can be stored in the memory other than the first or second memory for storing the luminance signal corresponding to an image position concerning the color difference signals.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、カラー画像処理装置
における画像メモリ装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image memory device in a color image processing device.

【0002】[0002]

【従来の技術】一般に画像処置装置に用いられる画像メ
モリは大容量かつ低コストであることが要求されるた
め、低速なデバイスであるDRAM(ダイナミックラン
ダムアクセスメモリ)が用いられる。従って、メモリデ
バイスが低速であるという欠点を補うためにメモリ装置
の構成を工夫して高速化を図る必要がある。
2. Description of the Related Art Generally, since an image memory used in an image processing apparatus is required to have a large capacity and a low cost, a DRAM (dynamic random access memory) which is a low speed device is used. Therefore, it is necessary to devise the configuration of the memory device to increase the speed in order to compensate for the drawback that the memory device is slow.

【0003】この高速化を達成する1つの方法として
は、例えば特開平01−263776に開示されるもの
がある。この文献によれば、1画素がnビットデータで
表される画像データを記憶するために、データバスを2
n本有するメモリを用意して、隣接する2画素のデータ
を一度に記憶することによってメモリの見かけ上の速度
を2倍にして高速化を達成する。従って、例えば1画素
が8ビットで表現されるモノクロ画像に対しては16ビ
ットのデータ幅のデータバスを持つメモリを用意し、ま
た、1画素がR(赤)、G(緑)、B(青)の各8ビッ
トで表現されるカラー画像に対しては48ビットのデー
タ幅のデータバスを持つメモリを用意すればよい。
One method for achieving this speedup is disclosed, for example, in Japanese Patent Laid-Open No. 01-263776. According to this document, two data buses are provided to store image data in which one pixel is represented by n-bit data.
By preparing a memory having n lines and storing data of two adjacent pixels at one time, the apparent speed of the memory is doubled to achieve high speed. Therefore, for example, for a monochrome image in which one pixel is represented by 8 bits, a memory having a data bus with a data width of 16 bits is prepared, and one pixel is R (red), G (green), B ( A memory having a data bus having a data width of 48 bits may be prepared for a color image represented by 8 bits of (blue).

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記構
成の装置では、取り扱う画像信号のフォーマットによっ
ては有効な画像メモリ装置を実現することが困難であ
る。例えば、画像符号化の分野で一般に知られている
「4:2:2ディジタルコンポーネントテレビ信号」は
CCIR勧告601に規定されるディジタル画像信号で
あって、該信号の標本化周波数及び1ライン当たりの有
効画素数は、輝度信号Y:13.5MHz及び720画
素/ライン、色差信号Cb、Cr:6.75MHz及び
360画素/ラインで、Y、Cb、Crとも量子化ビッ
ト数は8ビット/画素である。従って、4:2:2フォ
ーマット信号によれば、色差信号Cb、Cr1画素に対
し輝度信号2画素が対応する。
However, it is difficult to realize an effective image memory device depending on the format of the image signal to be handled in the device having the above-mentioned configuration. For example, "4: 2: 2 digital component television signal" generally known in the field of image coding is a digital image signal defined in CCIR Recommendation 601, and the sampling frequency of the signal and per line The number of effective pixels is luminance signal Y: 13.5 MHz and 720 pixels / line, color difference signals Cb and Cr: 6.75 MHz and 360 pixels / line, and the number of quantization bits is 8 bits / pixel for both Y, Cb, and Cr. is there. Therefore, according to the 4: 2: 2 format signal, the luminance signal 2 pixels correspond to the color difference signals Cb and Cr 1 pixel.

【0005】また、同様に、通信用画像符号化方式とし
て知られているCCITT勧告H.261で扱われる画
像フォーマットは4:2:0フォーマット信号(又は
4:1:1フォーマット信号)と呼ばれ、色差信号C
b,Cr1画素に対して輝度信号4画素が対応する。即
ち、4:2:2フォーマットや4:2:0フォーマット
によるカラー画像信号では画像を構成する画素数がY,
Cb,Crの各信号毎に異なるため、上記構成の従来装
置を各信号毎に設けなければならず、その結果画像メモ
リ装置のハードウエア量が膨大になるという問題点があ
った。
Similarly, CCITT Recommendation H.264, which is also known as an image coding system for communication, is used. The image format handled by the H.261 is called 4: 2: 0 format signal (or 4: 1: 1 format signal), and the color difference signal C
4 pixels of luminance signal correspond to 1 pixel of b and Cr. That is, in a color image signal in the 4: 2: 2 format or the 4: 2: 0 format, the number of pixels forming the image is Y,
Since the signals of Cb and Cr are different for each signal, the conventional device having the above configuration must be provided for each signal, resulting in a problem that the amount of hardware of the image memory device becomes huge.

【0006】この発明は、以上述べた4:2:2フォー
マットや4:2:0フォーマットによるカラー画像信号
に対して画像メモリ装置の構成が膨大になるという欠点
を除去し、更に局所処理やラスタ走査を高速に実行可能
な画像メモリ装置を提供することを目的とする。
The present invention eliminates the disadvantage that the configuration of the image memory device becomes huge for color image signals in the 4: 2: 2 format and the 4: 2: 0 format described above, and further performs local processing and rasterization. An object of the present invention is to provide an image memory device capable of executing scanning at high speed.

【0007】[0007]

【課題を解決するための手段】この発明は、前記課題を
解決するために、1つの輝度信号と2つの色差信号とか
ら成るディジタル画像データを記憶する画像メモリ装置
において、前記画像データを記憶する第1のメモリと、
前記第1のメモリとは独立な制御信号とデータバスを用
いて前記画像データを記憶する第2のメモリと、輝度信
号については任意に連続する2ライン分のデータを前記
第1のメモリ叉は第2のメモリの何れか一方に記憶し、
前記2ラインに隣接する連続2ラインのデータを他方の
メモリに記憶し、色差信号については任意の1ライン分
のデータを画像位置の対応する輝度信号が記憶される前
記第1叉は第2のメモリの他方のメモリに記憶するよう
に第1及び第2のメモリを制御するメモリ制御部とを備
えたものである。
In order to solve the above-mentioned problems, the present invention stores the image data in an image memory device for storing digital image data consisting of one luminance signal and two color difference signals. A first memory,
A second memory that stores the image data using a control signal and a data bus that are independent of the first memory, and two consecutive lines of data for the luminance signal are stored in the first memory or the first memory. Stored in either one of the second memories,
Data of continuous two lines adjacent to the two lines is stored in the other memory, and data of any one line for the color difference signal is stored in the first or second luminance signal corresponding to the image position. And a memory control unit for controlling the first and second memories so as to be stored in the other memory.

【0008】[0008]

【作用】前記構成の画像メモリ装置においては、4:
2:2フォーマットや4:2:0フォーマットによるカ
ラー画像信号に対し、輝度信号については連続する2ラ
イン毎に格納するメモリを選択し、色差信号については
対応する輝度信号を格納したメモリの他方のメモリにデ
ータを格納するように画像メモリを構成したので、輝度
信号、色差信号のいずれの場合も任意のラインデータと
その近傍ラインデータとを同時に読み書きでき、局所処
理やラスタ走査を高速に実行可能である。更に、従来装
置のように輝度信号と色差信号とを別々のメモリ装置に
格納する構成ではないので、メモリデバイスの数及びバ
スラインの数を大幅に減少可能で装置構成を小さく抑え
ることができ、前記課題を解決することができる。
In the image memory device having the above structure,
For a color image signal in a 2: 2 format or a 4: 2: 0 format, a memory for storing luminance signals for every two consecutive lines is selected, and for a color difference signal, the other of the memories storing the corresponding luminance signals is selected. Since the image memory is configured to store data in the memory, it is possible to read and write arbitrary line data and neighboring line data at the same time regardless of whether it is a luminance signal or color difference signal, and local processing and raster scanning can be executed at high speed. Is. Further, unlike the conventional device, the luminance signal and the color difference signal are not stored in separate memory devices, so that the number of memory devices and the number of bus lines can be significantly reduced, and the device configuration can be kept small. The above problems can be solved.

【0009】[0009]

【実施例】図1は本発明による画像メモリ装置の一実施
例を示すブロック図であり、図中、101は画像メモリ
装置に入力される指示信号、102は画像メモリ装置に
より読み書きされる画像信号、103は指示信号101
に基づきメモリアドレス104と2つのメモリ制御信号
106及び108とを出力し、更に、入力された画像信
号102に基づいて2つの画像信号105及び107を
出力し、又は、入力された2つの画像信号105及び1
07に基づいて画像信号102を出力するメモリ制御
部、109はメモリアドレス104とメモリ制御信号1
06とに基づいて画像信号105を読み書きし、更にラ
スタ走査信号111を出力する第1のメモリ、110は
メモリアドレス104とメモリ制御信号108とに基づ
いて画像信号107を読み書きし、更にラスタ走査信号
111を出力する第2のメモリである。
1 is a block diagram showing an embodiment of an image memory device according to the present invention, in which 101 is an instruction signal input to the image memory device and 102 is an image signal read / written by the image memory device. , 103 are instruction signals 101
Based on the memory address 104 and the two memory control signals 106 and 108, and further outputs two image signals 105 and 107 based on the input image signal 102, or two input image signals. 105 and 1
A memory control unit for outputting the image signal 102 based on 07, 109 is a memory address 104 and a memory control signal 1
The first memory 110 which reads / writes the image signal 105 based on 06 and further outputs the raster scanning signal 111, reads / writes the image signal 107 based on the memory address 104 and the memory control signal 108, and further reads the raster scanning signal. The second memory outputs 111.

【0010】尚、本実施例においては、第1のメモリ1
09及び第2のメモリ110はいずれもDPRAM(デ
ュアルポートランダムアクセスメモリ)であり、RAM
部とSAM部とから成る。RAM部はBビット(Bは正
の整数)で表現されるROWアドレス(ロウアドレス)
とBビットで表現されるCOLUMNアドレス(コラム
アドレス)とで構成されるアドレス空間を持つメモリで
あって、DRAMと同等の動作をする。SAM部は2B
個のデータを記憶するメモリであって、該データはRA
M部に対するアクセスとは独立かつ非同期に1個ずつ順
番に入出力される。RAM部の任意のロウアドレスに対
応する2B個のデータをSAM部に同時に転送すること
ができ、また、SAM部の2B個のデータをRAM部の
任意のロウアドレスに同時に転送することができる。本
実施例ではB=9とする。
In this embodiment, the first memory 1
09 and the second memory 110 are both DPRAM (dual port random access memory)
Section and SAM section. The RAM part has a ROW address (row address) represented by B bits (B is a positive integer)
Is a memory having an address space composed of a COLUMN address (column address) represented by B bits, and operates similarly to a DRAM. SAM part is 2 B
A memory for storing individual data, the data being RA
Input and output are performed one by one, independently and asynchronously with the access to the M section. The 2 B pieces of data corresponding to an arbitrary row address of the RAM portion can be simultaneously transferred to the SAM section, also be simultaneously transferring 2 B pieces of data of the SAM unit to any of the row address of the RAM portion it can. In this embodiment, B = 9.

【0011】また、本実施例においては、対象とする画
像データの例として4:2:0フォーマット信号を用
い、その大きさを輝度画像(Y画像)352画素×28
8画素、色差信号(Cb画像)176×144画素、色
差信号(Cr画像)176画素×144画素とする。
Further, in this embodiment, a 4: 2: 0 format signal is used as an example of the target image data, and the size thereof is a luminance image (Y image) 352 pixels × 28.
8 pixels, color difference signal (Cb image) 176 × 144 pixels, and color difference signal (Cr image) 176 pixels × 144 pixels.

【0012】図2は本実施例における実画像と第1のメ
モリ109及び第2のメモリ110との対応を示した図
である。以下、図1、図2を用いて本実施例による画像
メモリ装置の動作を詳細に説明する。
FIG. 2 is a diagram showing the correspondence between the actual image and the first memory 109 and the second memory 110 in this embodiment. Hereinafter, the operation of the image memory device according to the present embodiment will be described in detail with reference to FIGS.

【0013】[画像データの書き込み動作]画像データ
の書き込みを実行するに当たって、先ず画像上の位置
(x,y)及びY画像/Cb・Cr画像の識別データ及
びデータの書き込み命令が指示信号101として外部よ
り与えられ、メモリ制御部103に入力される。
[Image Data Writing Operation] When writing image data, first, the position (x, y) on the image and the identification data of the Y image / Cb / Cr image and the data writing command are used as the instruction signal 101. It is given from the outside and input to the memory control unit 103.

【0014】メモリ制御部103は前記指示信号101
に基づきメモリアドレス104を図2に示した実画像と
メモリとの対応に従って計算する。即ち、図2によれ
ば、Y画像204の連続2ライン毎に格納するメモリを
第1のメモリ201と第2のメモリ202とに分け、C
b画像205とCr画像206については各ライン毎に
格納するメモリを第1のメモリ201と第2のメモリ2
02とに分ける。尚この時Y画像とCb、Cr画像とで
は対応する画像データの格納するメモリを分離する。例
えば、Y画像のラインY3とCb画像のラインCb1とC
r画像のラインCr1とは同一の画像位置に対応する
が、Y3は第2のメモリ202に、Cb1、Cr1は第1
のメモリ201に各々格納される。また、Cb画像20
5のラインデータCbn(n=0、1、2、・・・14
3)とCr画像206のラインデータCrnは図中20
3のように画素データを交互に配列した形(図中Cn
表現)で第1のメモリ201又は第2のメモリ202に
格納される。
The memory control unit 103 uses the instruction signal 101.
The memory address 104 is calculated based on the correspondence between the real image and the memory shown in FIG. That is, according to FIG. 2, the memory for storing every two consecutive lines of the Y image 204 is divided into the first memory 201 and the second memory 202, and C
For the b image 205 and the Cr image 206, the memory for storing each line is the first memory 201 and the second memory 2.
Divide into 02. At this time, the Y image and the Cb and Cr images are separated from each other in the memory storing the corresponding image data. For example, the line Y 3 of the Y image and the lines Cb 1 and C of the Cb image
The line Cr 1 of the r image corresponds to the same image position, but Y 3 is stored in the second memory 202, and Cb 1 and Cr 1 are stored in the first image.
In the memory 201 of each. Also, the Cb image 20
5 line data Cb n (n = 0, 1, 2, ... 14
3) and the line data Cr n of the Cr image 206 is 20 in the figure.
In the form of an array of pixel data alternately as shown in 3 (figure C n and expressions) stored in the first memory 201 or second memory 202.

【0015】メモリ制御部103は以上述べた規則に基
づいて第1のメモリ109と第2のメモリ110とに共
通に用いられるロウアドレス、コラムアドレスを計算
し、これをメモリアドレス104として出力する。更
に、メモリ制御部103は、RAS(ロウアドレススト
ローブ)信号、CAS(コラムアドレスストローブ)信
号、WE(書き込みイネーブル)信号などから成るメモ
リ制御信号106及び108を作成して、それぞれ第1
のメモリ109と第2のメモリ110とに供給する。ま
た、メモリ制御部103は入力画像信号102を画像信
号105と107とに分けて各々の信号を第1のメモリ
109及び第2のメモリ110に供給する。
The memory control unit 103 calculates a row address and a column address commonly used by the first memory 109 and the second memory 110 based on the rules described above, and outputs them as the memory address 104. Further, the memory control unit 103 creates memory control signals 106 and 108 including a RAS (row address strobe) signal, a CAS (column address strobe) signal, a WE (write enable) signal, and the like, and respectively generates the first memory control signals 106 and 108.
To the memory 109 and the second memory 110. Further, the memory control unit 103 divides the input image signal 102 into image signals 105 and 107, and supplies each signal to the first memory 109 and the second memory 110.

【0016】次に、第1のメモリ109がメモリアドレ
ス104、メモリ制御信号106に基づいて画像信号1
05を記憶し、第2のメモリ110がメモリアドレス1
04、メモリ制御信号108に基づいて画像信号107
を記憶する。この時、前記2つのメモリに与えるメモリ
アドレス104は共通であるため、図2で示した対応に
よりY画像では上下方向に2画素分離れた2つの画素デ
ータが、Cb・Cr画像では上下方向に隣合う2つの画
素データが各々記憶される。従って、近傍の2画素のデ
ータを同時に記憶できるので、結果的に局所領域の画像
データを高速にメモリに書き込むことができる。尚、こ
の時画像上のx座標値をインクリメント(又はデクリメ
ント)しながら画像メモリにデータを書き込むようにす
れば、DPRAMやDRAMにおいて一般に活用される
高速アクセスモード(例えば、高速ページモードやスタ
ティックコラムモード)を用いて、より高速に画像デー
タを記憶できる。
Next, the first memory 109 outputs the image signal 1 based on the memory address 104 and the memory control signal 106.
05, and the second memory 110 stores the memory address 1
04, the image signal 107 based on the memory control signal 108
Memorize At this time, since the memory addresses 104 given to the two memories are common, the two pixel data separated by two pixels in the vertical direction in the Y image and the vertical direction in the Cb / Cr image by the correspondence shown in FIG. Two adjacent pixel data are stored respectively. Therefore, the data of two neighboring pixels can be stored at the same time, and as a result, the image data of the local area can be written into the memory at high speed. At this time, if the data is written in the image memory while incrementing (or decrementing) the x-coordinate value on the image, a high-speed access mode (eg, high-speed page mode or static column mode) generally used in DPRAM or DRAM. ) Can be used to store image data at a higher speed.

【0017】[画像データの読み出し動作]画像データ
の読み出し動作を実行するに当たって、先ず、Y画像上
の位置(x,y)及びY画像/Cb・Cr画像の識別デ
ータ及びデータの読み出し命令が指示信号101として
外部より与えられ、メモリ制御部103に入力される。
[Image Data Read Operation] In executing the image data read operation, first, the position (x, y) on the Y image and the identification data of the Y image / Cb / Cr image and the data read command are instructed. The signal 101 is given from the outside and input to the memory control unit 103.

【0018】メモリ制御部103は前記指示信号101
に基づき、画像データの書き込み動作時と同様にして、
メモリアドレス104、メモリ制御信号106及び10
8を出力する。
The memory control unit 103 uses the instruction signal 101.
Based on the above, in the same way as when writing image data,
Memory address 104, memory control signals 106 and 10
8 is output.

【0019】第1のメモリ109はメモリアドレス10
4、メモリ制御信号106に基づいて画像信号105を
読み出し、第2のメモリ110はメモリアドレス10
4、メモリ制御部108に基づいて画像信号107を読
み出す。
The first memory 109 has a memory address of 10
4. The image signal 105 is read out based on the memory control signal 106, and the second memory 110 stores the memory address 10
4. Read out the image signal 107 based on the memory control unit 108.

【0020】メモリ制御部103は前記画像信号105
及び107を出力画像信号102の形式で外部に出力す
る。この時、前記2つのメモリに与えるメモリアドレス
104は共通であるため、図2で示した対応によりY画
像では上下方向に2画素分離れた2つの画素データが読
み出され、Cb・Cr画像では上下方向に隣合う2つの
画素データが読み出される。従って、近傍の2画素のデ
ータを同時に読み出せるので、結果的に局所領域の画像
データを高速にメモリから読み出すことができる。尚。
画像データの書き込みの場合と同様に、DPRAMやD
RAMの高速アクセスモードによりデータの読み出しの
高速化を図ることが可能である。
The memory control unit 103 uses the image signal 105.
And 107 are output to the outside in the form of the output image signal 102. At this time, since the memory addresses 104 given to the two memories are common, two pixel data separated by two pixels in the vertical direction are read out in the Y image according to the correspondence shown in FIG. 2, and in the Cb / Cr image. Two pixel data that are vertically adjacent to each other are read out. Therefore, the data of two neighboring pixels can be read at the same time, and as a result, the image data of the local area can be read from the memory at high speed. still.
As in the case of writing image data, DPRAM or D
The high-speed access mode of the RAM makes it possible to speed up the reading of data.

【0021】[ラスタ走査データの読み出し動作]ラス
タ走査データの読み出しを実行するに当たって、データ
の読み出し命令が指示信号101として外部よりメモリ
制御部103に入力されると、メモリ制御部103は
(x,y)=(0,0)として図2の対応に沿ったY画
像に対するメモリアドレス104及びメモリ制御信号1
06及び108を出力する。これにより第1のメモリ1
09のロウアドレス(=0)に対応したRAM部のライ
ンデータY0がSAM部に転送される。次に、メモリ制
御部103は対象画像をY画像からCb・Cr画像に切
り換えて、図2の対応に沿ったメモリアドレス104及
びメモリ制御信号106及び108を出力する。これに
より第2のメモリ110のロウアドレス(=144)に
対応したRAM部のラインデータC0(=Cb0及びCr
0)がSAM部に転送される。
[Read Operation of Raster Scan Data] In executing the read of the raster scan data, when a data read command is externally input to the memory control unit 103 as an instruction signal 101, the memory control unit 103 causes (x, y) = (0,0) and the memory address 104 and the memory control signal 1 for the Y image along the correspondence of FIG.
06 and 108 are output. As a result, the first memory 1
The line data Y 0 of the RAM section corresponding to the row address (= 0) of 09 is transferred to the SAM section. Next, the memory control unit 103 switches the target image from the Y image to the Cb / Cr image, and outputs the memory address 104 and the memory control signals 106 and 108 according to the correspondence of FIG. As a result, the line data C 0 (= Cb 0 and Cr) of the RAM section corresponding to the row address (= 144) of the second memory 110.
0 ) is transferred to the SAM section.

【0022】次にメモリ制御部103は第1のメモリ1
09及び第2のメモリ110の両方に対してSAM部の
読み出しイネーブル信号を出力する。但し、この読みだ
しイネーブル信号とはメモリ制御信号106及び108
に含まれるSAM部専用の制御線である。前記読みだし
イネーブル信号が第1のメモリ109及び第2のメモリ
110に入力されることにより、前記2つのメモリのS
AM部によりy=0に相当するラスタ走査信号111
(Y0,Cb0、Cr0)が出力される。
Next, the memory control unit 103 operates the first memory 1
09 and the second memory 110, the read enable signal of the SAM unit is output. However, the read enable signal is the memory control signals 106 and 108.
It is a control line dedicated to the SAM unit included in. By inputting the read enable signal to the first memory 109 and the second memory 110, the S of the two memories is S.
The raster scan signal 111 corresponding to y = 0 by the AM unit
(Y 0 , Cb 0 , Cr 0 ) is output.

【0023】以下、メモリ制御部103が設定する
(x,y)の値を(0、1)、(0、2)、(0、3)
・・・、(0、287)のように変化させながら前述の
処理を繰り返すことにより、前記2つのメモリのSAM
部より(Y1、Cb0、Cr0)、(Y2,Cb1、C
1)、(Y3,Cb2、Cr2)、・・・、(Y287,C
143、Cr143)のように1フレーム分のラスタ走査信
号111が出力される。従って、画像メモリのデータを
ラスタ走査に従って出力できるので、CRTなどの画像
出力装置にデータを出力したりY/Cb/Cr画像をR
/G/B画像に変換する際に有効である。また、本実施
例のように、前記2つのメモリのSAM部を画像データ
出力手段として用いるのではなく、このSAM部を画像
データの入力手段として用いれば、TVカメラ等の画像
入力装置からデータを入力する際に有効である。
Hereinafter, the values of (x, y) set by the memory control unit 103 are (0, 1), (0, 2), (0, 3).
The SAM of the two memories is repeated by repeating the above-mentioned processing while changing it to (0, 287).
From the section (Y 1 , Cb 0 , Cr 0 ), (Y 2 , Cb 1 , C
r 1 ), (Y 3 , Cb 2 , Cr 2 ), ..., (Y 287 , C
The raster scan signal 111 for one frame is output like b 143 , Cr 143 ). Therefore, since the data in the image memory can be output in accordance with the raster scanning, the data can be output to an image output device such as a CRT or the Y / Cb / Cr image can be output as an R image.
This is effective when converting to a / G / B image. Further, if the SAM units of the two memories are not used as the image data output unit as in the present embodiment, but the SAM units are used as the image data input unit, the data is input from the image input device such as a TV camera. It is effective when inputting.

【0024】本実施例においては、第1のメモリ及び第
2のメモリをDPRAMで構成する場合につき説明した
が、画像処理装置に要求される仕様に応じてDRAMや
SRAM(スタティックランダムアクセスメモリ)を適
用してもよい。例えば、DPRAMのSAM部をアクセ
スする必要がない場合にはDPRAMの代わりにDRA
Mを用いればよい。また、対象となる画像の大きさがあ
る程度小さい場合や画像メモリ装置の速度をより高める
必要がある場合はSRAMを適用すればよい。
In this embodiment, the case where the first memory and the second memory are composed of DPRAM has been described. However, DRAM or SRAM (Static Random Access Memory) is used according to the specifications required of the image processing apparatus. You may apply. For example, when it is not necessary to access the SAM part of DPRAM, DRA is used instead of DPRAM.
M may be used. Further, the SRAM may be applied when the size of the target image is small to some extent or when it is necessary to further increase the speed of the image memory device.

【0025】本実施例においては、4:2:0フォーマ
ット信号を対象として説明を行ったが、4:2:2フォ
ーマット信号に対しても本発明を適用することができ
る。この場合の実画像と第1及び第2のメモリとの対応
例を図3に示す。図3に示す如く、352×288画素
のY画像404と176×288画素のCb画像405
及びCr画像406とからなる4:2:2フォーマット
の画像データに対しては、例えば、第1及び第2のメモ
リを図中401、402のように対応付けるようにメモ
リ制御部を構成することによって本実施例と同様の効果
を得ることができる。尚、この例では、本実施例と同様
に同一ロウアドレス上の色差信号の記憶の並びを図中4
03のように、Cb信号とCr信号とで交互に配置す
る。
In the present embodiment, the explanation has been made for the 4: 2: 0 format signal, but the present invention can be applied to the 4: 2: 2 format signal. FIG. 3 shows an example of correspondence between the actual image and the first and second memories in this case. As shown in FIG. 3, a Y image 404 of 352 × 288 pixels and a Cb image 405 of 176 × 288 pixels.
For the image data in the 4: 2: 2 format including the Cr image 406 and the Cr image 406, for example, by configuring the memory control unit so as to associate the first and second memories with each other as indicated by 401 and 402 in the figure. The same effect as this embodiment can be obtained. In this example, the arrangement of the color difference signals on the same row address is shown in FIG.
As in 03, the Cb signal and the Cr signal are alternately arranged.

【0026】本実施例においては、第1及び第2のメモ
リを1フレーム分の画像データを記憶するものとして説
明したが、前記2つのメモリを複数フレーム分の画像デ
ータを記憶するように構成してもよい。即ち、第1のメ
モリ及び第2のメモリの各々を複数のアドレス空間に分
割し、各アドレス空間毎に本実施例と同様の方法によっ
て1フレーム分の画像データを記憶するように構成すれ
ば、本実施例と同様の効果を持ち複数フレームの画像デ
ータを記憶できる画像メモリ装置を実現できる。この場
合、各フレーム間の演算を必要とする画像処理装置、例
えば、動画像符号化装置にとって有効な画像メモリを提
供できる。
In this embodiment, the first and second memories have been described as storing one frame of image data, but the two memories are configured to store a plurality of frames of image data. May be. That is, if each of the first memory and the second memory is divided into a plurality of address spaces and the image data for one frame is stored in each address space by the same method as in this embodiment, It is possible to realize an image memory device having the same effect as that of the present embodiment and capable of storing image data of a plurality of frames. In this case, it is possible to provide an effective image memory for an image processing device that requires calculation between each frame, for example, a moving image encoding device.

【0027】2フレーム分の画像データを記憶する場合
の実画像と第1及び第2のメモリとの対応例を図4に示
す。図4に示す如く、352×288画素のY画像と1
76×144画素のCb画像及びCr画像とから成る
4:2:0フォーマットの2枚の画像データA(図中5
04、505、506)、画像データB(図中507、
508、509)に対しては、例えば、第1及び第2の
メモリを図中501及び502のように対応付けるよう
にメモリ制御部を構成することによって本実施例と同様
の効果を得ることができる。尚、この例では、本実施例
と同様に同一ロウアドレス上の色差信号の記憶の並びを
図中503のようにCb信号とCr信号とで交互に配置
する。
FIG. 4 shows an example of correspondence between the actual image and the first and second memories when storing image data for two frames. As shown in FIG. 4, a Y image of 352 × 288 pixels and 1
Two image data A in a 4: 2: 0 format composed of a Cb image and a Cr image of 76 × 144 pixels (5 in the figure
04, 505, 506), image data B (507 in the figure,
508, 509), for example, by configuring the memory control unit so that the first and second memories are associated with each other as indicated by 501 and 502 in the figure, the same effect as this embodiment can be obtained. . In this example, as in the present embodiment, the arrangement of the color difference signals on the same row address is alternately arranged for the Cb signal and the Cr signal as indicated by 503 in the figure.

【0028】本実施例では、対象となる画像の大きさと
して、352×288画素のY画像と176×144画
素のCb画像及びCr画像につき動作を説明したが、色
差画像上の1画素と対応する輝度画像上の画素の大きさ
が2画素又は4画素であれば、画像の大きさを任意に設
定しても本発明による画像メモリ装置を適用して本実施
例と同様の効果を得ることができる。
In the present embodiment, as the size of the target image, the operation was explained for the Y image of 352 × 288 pixels and the Cb image and Cr image of 176 × 144 pixels, but it corresponds to one pixel on the color difference image. If the size of the pixel on the luminance image is 2 or 4 pixels, the image memory device according to the present invention can be applied to obtain the same effect as that of the present embodiment even if the size of the image is arbitrarily set. You can

【0029】[0029]

【発明の効果】以上詳細に説明したように、本発明によ
れば、4:2:2フォーマットや4:2:0フォーマッ
トによるカラー画像信号に対し、輝度信号については連
続する2ライン毎に格納するメモリを選択し、色差信号
については対応する輝度信号を格納したメモリの他方の
メモリにデータを格納するように画像メモリを構成した
ので、輝度信号、色差信号のいずれの場合も任意のライ
ンデータとその近傍ラインデータとを同時に読み書きで
きるので、画像変換、フィルタ処理、動き検出等の画像
処理装置で用いられる種々の局所処理に必要な画像デー
タの読み書きを高速に実行可能である。また、輝度信号
と当該輝度信号に対応する色差信号とを異なるメモリに
記憶するので、輝度信号と色差信号とを同時に読み書き
できる。従って、TVカメラ等の画像入力装置から出力
されるラスタ走査型信号やCRT等の画像出力装置に入
力するラスタ走査型信号に対して、整合性の高い画像メ
モリ装置を実現できる。更に、従来装置のように輝度信
号と色差信号とを別々のメモリ装置に格納する構成では
ないので、メモリデバイスの数及びバスラインの数を大
幅に減少でき、装置構成を小さく抑えることができる。
As described in detail above, according to the present invention, a luminance signal is stored every two consecutive lines for a color image signal in a 4: 2: 2 format or a 4: 2: 0 format. The image memory is configured to store the data in the other memory of the memory that stores the corresponding luminance signal for the color difference signal, so it is possible to select any line data for both the luminance signal and the color difference signal. Since it is possible to simultaneously read and write the line data and its neighboring line data, it is possible to quickly read and write the image data necessary for various local processes used in the image processing apparatus such as image conversion, filter processing, and motion detection. Further, since the luminance signal and the color difference signal corresponding to the luminance signal are stored in different memories, the luminance signal and the color difference signal can be read and written at the same time. Therefore, it is possible to realize an image memory device having high compatibility with a raster scanning signal output from an image input device such as a TV camera or a raster scanning signal input to an image output device such as a CRT. Further, since the luminance signal and the color difference signal are not stored in separate memory devices as in the conventional device, the number of memory devices and the number of bus lines can be significantly reduced, and the device configuration can be kept small.

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

【図1】本発明の画像メモリ装置の実施例の構成を示す
ブロック図である。
FIG. 1 is a block diagram showing a configuration of an embodiment of an image memory device of the present invention.

【図2】実施例における実画像と第1及び第2のメモリ
との対応図である。
FIG. 2 is a correspondence diagram between an actual image and first and second memories in the embodiment.

【図3】4:2:2フォーマット信号に対する実画像と
第1及び第2のメモリとの対応図である。
FIG. 3 is a correspondence diagram between a real image and a first and second memory for a 4: 2: 2 format signal.

【図4】2フレームの画像データに対する実画像と第1
及び第2のメモリとの対応図である。
FIG. 4 is a diagram showing an actual image and a first image for two frames of image data.
FIG. 7 is a correspondence diagram with a second memory.

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

101 指示信号 102 画像信号 103 メモリ制御部 109 第1のメモリ 110 第2のメモリ 111 ラスタ走査信号 101 instruction signal 102 image signal 103 memory control unit 109 first memory 110 second memory 111 raster scan signal

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 1つの輝度信号と2つの色差信号とから
成るディジタル画像データを記憶する画像メモリ装置に
おいて、 前記画像データを記憶する第1のメモリと、 前記第1のメモリとは独立な制御信号とデータバスを用
いて前記画像データを記憶する第2のメモリと、 輝度信号については任意に連続する2ライン分のデータ
を前記第1のメモリ叉は第2のメモリの何れか一方に記
憶し、前記2ラインに隣接する連続2ラインのデータを
他方のメモリに記憶し、色差信号については任意の1ラ
イン分のデータを画像位置の対応する輝度信号が記憶さ
れる前記第1叉は第2のメモリの他方のメモリに記憶す
るように第1及び第2のメモリを制御するメモリ制御部
とを備えたことを特徴とする画像メモリ装置。
1. An image memory device for storing digital image data composed of one luminance signal and two color difference signals, wherein a first memory for storing the image data and a control independent of the first memory A second memory for storing the image data by using a signal and a data bus; and for the luminance signal, data for two consecutive arbitrary lines is stored in either the first memory or the second memory. Then, the data of two consecutive lines adjacent to the two lines is stored in the other memory, and the data of any one line for the color difference signal is stored in the first or the first luminance data corresponding to the image position. An image memory device, comprising: a memory control unit that controls the first and second memories so as to be stored in the other memory of the two memories.
JP04318695A 1992-11-27 1992-11-27 Image memory device Expired - Fee Related JP3078136B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04318695A JP3078136B2 (en) 1992-11-27 1992-11-27 Image memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04318695A JP3078136B2 (en) 1992-11-27 1992-11-27 Image memory device

Publications (2)

Publication Number Publication Date
JPH06161883A true JPH06161883A (en) 1994-06-10
JP3078136B2 JP3078136B2 (en) 2000-08-21

Family

ID=18101980

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04318695A Expired - Fee Related JP3078136B2 (en) 1992-11-27 1992-11-27 Image memory device

Country Status (1)

Country Link
JP (1) JP3078136B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013012233A (en) * 2006-02-09 2013-01-17 Metallum Inc Memory circuit system and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013012233A (en) * 2006-02-09 2013-01-17 Metallum Inc Memory circuit system and method

Also Published As

Publication number Publication date
JP3078136B2 (en) 2000-08-21

Similar Documents

Publication Publication Date Title
JPS6210463B2 (en)
US4853794A (en) Method and image processing system for reconstruction of an image
EP0617565B1 (en) Video signal processing apparatus and its method
US4847691A (en) Processing of video image signals
US5666137A (en) Packed YUV9 format for interleaved storage and efficient processing of digital video data
JP3120010B2 (en) Image decoding method and image decoding device
JP3078136B2 (en) Image memory device
US5777681A (en) Method of extracting color difference signal motion vector and a motion compensation in high definition television
US5311307A (en) Image processing method
JPS5827146A (en) Interpolator for scanning line in photoengraving system for video image
JP2772412B2 (en) Pixel matrix filter and method of processing pixel matrix
US5784502A (en) Interpolation apparatus
JPH01140883A (en) Data coding method
KR100235379B1 (en) The memory and control device for image data
US5289279A (en) Video signal data recoding method for standard memory components and apparatus for perfomring the method
US11303911B1 (en) Systems and methods for storing video data in memory
JPH0627932A (en) Frame memory controller
JPH11168610A (en) Image processor
JP4006671B2 (en) Video signal mapping method
JPH05260451A (en) Lsi for picture coding processing
JP3123225B2 (en) Data sorting device
KR100565713B1 (en) Address generating Method for compensating motion of image
JPH0730846A (en) Time base replacement device for picture signal
JPS63112897A (en) Semiconductor storage device
KR970008414B1 (en) Circuti for compensating motion of half - pixel in motion picture decoding apparatus of parallel - transacting structure

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000530

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

Free format text: PAYMENT UNTIL: 20090616

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090616

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100616

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees