JPH0865704A - Image processor - Google Patents

Image processor

Info

Publication number
JPH0865704A
JPH0865704A JP19847594A JP19847594A JPH0865704A JP H0865704 A JPH0865704 A JP H0865704A JP 19847594 A JP19847594 A JP 19847594A JP 19847594 A JP19847594 A JP 19847594A JP H0865704 A JPH0865704 A JP H0865704A
Authority
JP
Japan
Prior art keywords
memory
pixel data
circuit
line
luminance signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP19847594A
Other languages
Japanese (ja)
Inventor
Kazuo Nozaki
崎 和 夫 野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP19847594A priority Critical patent/JPH0865704A/en
Publication of JPH0865704A publication Critical patent/JPH0865704A/en
Pending legal-status Critical Current

Links

Landscapes

  • Studio Circuits (AREA)
  • Processing Of Color Television Signals (AREA)

Abstract

PURPOSE: To provide an image processor which can process a larger quantity of pixel data by attaining the effective use of a memory that has the same capacity and access time as those of a conventional memory. CONSTITUTION: The digitized N-bit luminance signal Y and chroma signal C undergo the 3/4M reduction of their pixel data through a 3/4M reduction circuit 1 and then undergo the compression processing through the line memories 10a and 10b so that the space is reduced between the pixel data. Then the pixel data are written and read by a memory 11 of MN-bit width and then turned into the original state by the line memories 13a and 13b and a 4M/3 magnification circuit 2 through an operation reverse to the circuit 1. Thus it is possible to reduce and magnify the images by changing the speeds or writing and reading clocks or the the memory 11.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、メモリを利用して画像
処理を行なう画像処理装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus which uses a memory to perform image processing.

【0002】[0002]

【従来の技術】図3は従来の画像処理装置の構成を示す
ものである。図3において、101、102はメモリで
あり、103はメモリ101、102のアドレスなどを
制御するメモリ制御回路である。
2. Description of the Related Art FIG. 3 shows the configuration of a conventional image processing apparatus. In FIG. 3, 101 and 102 are memories, and 103 is a memory control circuit that controls addresses of the memories 101 and 102.

【0003】以上のように構成された画像処理装置は、
デジタル化された輝度信号Yと色信号Cをそれぞれメモ
リ101、102に書き込み、これらメモリ101、1
02から書き込みとは異なる速さのクロックで読み出す
ことにより、画像の縮小、拡大などを行なうことができ
る。
The image processing apparatus configured as described above is
The digitized luminance signal Y and color signal C are written in the memories 101 and 102, respectively, and these memories 101 and 1 are written.
An image can be reduced or enlarged by reading from 02 at a clock speed different from that of writing.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記従
来の画像処理装置では、メモリの容量が2の階乗である
ために、256、512、1024のような2の階乗の
水平画素の場合は良いが、特にPAL方式の場合など2
の階乗ではない場合、1段階大きめの容量のメモリを選
択するので、メモリが余ってしまい、メモリのコストが
高くなるという問題が有り、同じメモリ容量でいかに多
くの画素データを処理し、水平画素数を多くできないか
という課題があった。
However, in the above-mentioned conventional image processing apparatus, since the capacity of the memory is a factorial of 2, in the case of horizontal pixels of a factorial of 2, such as 256, 512, 1024. Good, but especially in case of PAL system 2
If it is not a factorial, a memory with a capacity one step larger is selected, so there is a problem that the memory becomes surplus and the cost of the memory becomes high. There was a problem of increasing the number of pixels.

【0005】また、水平画素数を多くとろうとすると、
メモリの駆動クロックが高速になり、アクセスタイムの
遅い安価なメモリを使用できないという問題があった。
また、アクセスタイムに合わせて、水平画素数を少なく
しなければならなかった。
Further, when trying to increase the number of horizontal pixels,
There has been a problem that an inexpensive memory with a slow access time cannot be used because the drive clock of the memory becomes faster.
In addition, the number of horizontal pixels has to be reduced according to the access time.

【0006】本発明は、上記従来の課題を解決するもの
であり、従来方式に比べて同じメモリ容量、アクセスタ
イムで水平画素数を増やすことができ、従来よりも安価
で高画素な画像処理装置を提供することを目的とする。
The present invention solves the above-mentioned conventional problems, and is capable of increasing the number of horizontal pixels with the same memory capacity and access time as compared with the conventional method, and is an image processing apparatus which is cheaper and has a higher number of pixels than the conventional method. The purpose is to provide.

【0007】[0007]

【課題を解決するための手段】本発明は、上記目的を達
成するために、デジタル化された輝度信号Yと色信号C
のNビットの入力画素データの輝度信号Yと色信号Cを
合成して、メモリに書き込む画素データの上位MNビッ
トと下位MNビット(M、Nは1以上の整数)の画素デ
ータの数を同じにするために3/4M縮小する3/4M
縮小回路と、この3/4M縮小回路からの画素データの
間を詰めて3/4M圧縮するNビット幅の第1のライン
メモリと、この第1のラインメモリからの画素データを
書き込み/読み出しする2MNビット幅のメモリと、こ
のメモリのアドレスなどの制御をするメモリ制御回路
と、このメモリから読み出された画素データを4M/3
拡大して第1のラインメモリと逆の動作をするNビット
幅の第2のラインメモリと、第2のラインメモリからの
画素データを輝度信号Yと色信号Cに分離させ、3/4
M縮小回路の逆の動作をする4M/3拡大回路とを備え
たものである。
In order to achieve the above object, the present invention provides a digitized luminance signal Y and chrominance signal C.
The luminance signal Y of the N-bit input pixel data and the color signal C are combined, and the number of pixel data of the upper MN bits and the lower MN bits (M and N are integers of 1 or more) of the pixel data to be written in the memory are the same. 3 / 4M to reduce to 3 / 4M
A reduction circuit, a first line memory with an N-bit width that compresses the pixel data from the 3 / 4M reduction circuit by 3 / 4M, and writes / reads the pixel data from the first line memory. A memory with a 2MN bit width, a memory control circuit for controlling the address of this memory, and the pixel data read from this memory are 4M / 3.
A second line memory having an N-bit width, which is expanded to perform an operation opposite to that of the first line memory, and pixel data from the second line memory are separated into a luminance signal Y and a color signal C
It is provided with a 4M / 3 enlargement circuit which operates in the reverse of the M reduction circuit.

【0008】[0008]

【作用】本発明は、上記構成により、メモリに書き込む
前に、輝度信号Yと色信号Cの画素データの総数を3/
4Mにすることにより画素データの総数を3/4Mにし
て圧縮した後にメモリに書き込むことにより、メモリの
容量が従来の3/4Mで足りるようになり、メモリのコ
ストが安価になる。また、従来と同じ容量、アクセスタ
イムのメモリでも、4M/3倍の画素データを処理する
ことができる。
According to the present invention, with the above configuration, the total number of pixel data of the luminance signal Y and the color signal C is set to 3 /.
By setting the total number of pixel data to 4M and compressing the total number of pixel data to 3 / 4M, and then writing to the memory, the memory capacity of the conventional memory becomes 3 / 4M, and the cost of the memory becomes low. Further, even with a memory having the same capacity and access time as the conventional one, it is possible to process 4M / 3 times as many pixel data.

【0009】[0009]

【実施例】以下、本発明の一実施例について図面を参照
しながら説明する。図1は本発明の一実施例における画
像処理装置の構成を示すものである。図1において、1
は3/4M(4M分の3)縮小回路、2は4M/3(3
分の4M)拡大回路である。3/4M縮小回路1におい
て、3、4、5、6、7、8はフリップフロップまたは
ラッチであり、9はセレクタである。4M/3拡大回路
2において、14、15、16はフリップフロップまた
はラッチであり、17は2段のフリップフロップまたは
ラッチであり、18はセレクタである。10a、10b
は第1のラインメモリ、11はメモリ、12はメモリ制
御回路、13a,13bは第2のラインメモリである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows the configuration of an image processing apparatus according to an embodiment of the present invention. In FIG. 1, 1
Is a 3/4 M (3/4 M) reduction circuit, 2 is 4 M / 3 (3
4M) enlargement circuit. In the 3/4 M reduction circuit 1, 3, 4, 5, 6, 7, and 8 are flip-flops or latches, and 9 is a selector. In the 4M / 3 enlargement circuit 2, 14, 15, 16 are flip-flops or latches, 17 is a two-stage flip-flop or latch, and 18 is a selector. 10a, 10b
Is a first line memory, 11 is a memory, 12 is a memory control circuit, and 13a and 13b are second line memories.

【0010】次に上記実施例の動作について説明する。
まず3/4M縮小回路1は、デジタル化されたNビット
(Nは1以上の整数)の輝度信号Yと色信号Cを入力
し、図2ののように輝度信号Yと色信号Cのデータの
総数を3/4Mにし、Ya、Caのデータの数を互いに
同じにする。すなわち、フリップフロップ3によりライ
ンメモリ10aに入力する輝度信号Yを取り込み、フリ
ップフロップ4によりラインメモリ10bに入力する輝
度信号Yを取り込む。取り込むデータは、図2のにお
いて、Y1 、Y2 、Y3 、Y5 、Y6 、Y7 、Y9 、Y
10、Y11をフリップフロップ3で取り込み、Y4
8 、Y12をフリップフロップ4で取り込む。フリップ
フロップ7、8では、C1 、C3 、C5 、C7 、C9
11の色信号のデータを2クロック分シフトさせる。次
に、セレクタ9により、フリップフロップ4で取り込ん
だ輝度信号Yとフリップフロップ7、8でシフトした色
信号Cを合成させる。一方、フリップフロップ5、6
は、輝度信号Y1 と色信号C1 、Y 2 とY4 、Y3 とC
3 などを同期させるため、フリップフロップ3で取り込
んだデータを2クロック分シフトさせる。以上の動作に
より、画素データの総数を3/4Mにし、Ya、Caの
データの数を互いに同じにすることができる。
Next, the operation of the above embodiment will be described.
First, the 3 / 4M reduction circuit 1 is a digitized N bit
Input luminance signal Y and color signal C (N is an integer of 1 or more)
Then, as shown in FIG. 2, the data of the luminance signal Y and the color signal C
Set the total number to 3 / 4M, and set the number of Ya and Ca data to each other.
Do the same. That is, the flip flop 3
The brightness signal Y input to the internal memory 10a is fetched and
The brightness input to the line memory 10b by the flip-flop 4.
Degree signal Y is taken in. The data to import is shown in Fig. 2.
And Y1, Y2, Y3, YFive, Y6, Y7, Y9, Y
Ten, Y11Is taken in by flip-flop 3 and YFour,
Y8, Y12Is taken in by the flip-flop 4. Flip
C on flops 7 and 81, C3, CFive, C7, C9,
C11The data of the color signal is shifted by 2 clocks. Next
To the flip-flop 4 by the selector 9
The luminance signal Y and the color shifted by the flip-flops 7 and 8
The signal C is synthesized. On the other hand, flip-flops 5 and 6
Is the luminance signal Y1And color signal C1, Y 2And YFour, Y3And C
3Captured by flip-flop 3 to synchronize
The shifted data is shifted by 2 clocks. For the above operation
Therefore, the total number of pixel data is set to 3 / 4M,
The number of data can be the same as each other.

【0011】ラインメモリ10a、10bは、3/4M
H×Nビット(Hは水平画素数)のラインメモリであ
り、3/4M縮小回路1からのデータYa、Caを書き
込み、図2ののように間を詰めて3/4M圧縮して読
み出し、メモリ11に入力する。メモリ11は2MNビ
ット幅(M,Nは1以上の整数)のメモリであり、この
実施例はMは1の場合である。メモリ制御回路12は、
ラインメモリ10a、10bの出力Yb,Cbのメモリ
11に対する書き込み/読み出しを行なう。書き込みは
Ybを上位MNビットにCbを下位MNビットに行なう
(上位/下位逆も可)。この時、書き込みの時とは異な
る速さのクロックで読み出すことにより、画像の縮小、
拡大ができる。次に、3/4MH×Nビットのラインメ
モリ13a,13bは、それぞれメモリ11から読み出
されたデータYc,Ccを書き込み、図2ののような
間の空いたタイミングで読み出し、ラインメモリ10
a、10bの逆の動作をする。
The line memories 10a and 10b are 3/4 M
It is a line memory of H × N bits (H is the number of horizontal pixels), and data Ya and Ca from the 3 / 4M reduction circuit 1 are written, and as shown in FIG. Input to the memory 11. The memory 11 is a memory having a 2MN bit width (M and N are integers of 1 or more). In this embodiment, M is 1. The memory control circuit 12
The outputs Yb and Cb of the line memories 10a and 10b are written / read to / from the memory 11. For writing, Yb is used for the upper MN bit and Cb is used for the lower MN bit (upper / lower reverse is also possible). At this time, the image is reduced by reading with a clock at a speed different from that at the time of writing,
Can be expanded. Next, the line memories 13a and 13b of 3/4 MH × N bits respectively write the data Yc and Cc read from the memory 11 and read them at the vacant timing as shown in FIG.
The reverse operation of a and 10b is performed.

【0012】次に4M/3拡大回路2は、ラインメモリ
13a、13bから読み出されたデータYd,Cdを取
り込み、輝度信号Yと色信号Cを分離させ図2ののタ
イミングに戻す。すなわち、フリップフロップ16で図
2ののCdのC1 、C3 、C5 、C7 、C9 、C11
取り込み、ラインメモリ13aからのデータYdをフリ
ップフロップ14で取り込み、フリップフロップ15で
図2ののCdのY4、Y8 、Y12を取り込み、フリッ
プフロップ17で2クロック分シフトさせ、セレクタ1
8でフリップフロップ14からのデータとフリップフロ
ップ17からのデータを合成させる。この結果、Yo,
Coは、図2ののようになる。すなわち、4M/3拡
大回路2により、3/4M縮小回路1の逆の動作をし
て、データの順序を元に戻すことができる。
Next, the 4M / 3 enlargement circuit 2 takes in the data Yd and Cd read from the line memories 13a and 13b, separates the luminance signal Y and the chrominance signal C, and restores the timing shown in FIG. That is, the flip-flop 16 takes in C 1 , C 3 , C 5 , C 7 , C 9 , and C 11 of Cd in FIG. The Cd Y 4 , Y 8 and Y 12 of FIG. 2 are fetched and shifted by 2 clocks by the flip-flop 17, and the selector 1
At 8, the data from the flip-flop 14 and the data from the flip-flop 17 are combined. As a result, Yo,
Co is as shown in FIG. That is, the 4M / 3 enlargement circuit 2 can reverse the operation of the 3 / 4M reduction circuit 1 to restore the data order.

【0013】以上のように、本実施例によれば、メモリ
11に書き込む前に画素データを3/4Mに縮小するこ
とにより、同じメモリの容量、アクセスタイムで4M/
3倍の画素データの画像処理ができる。なお、上記実施
例は、M=1の場合であるが、Mは1以上の整数の場合
も、M=1の場合の考え方で容易に実現できる。
As described above, according to the present embodiment, the pixel data is reduced to 3/4 M before being written in the memory 11, so that the same memory capacity and access time are 4 M / m.
Image processing of triple pixel data can be performed. Although the above embodiment is for the case of M = 1, even when M is an integer of 1 or more, it can be easily realized by the concept of M = 1.

【0014】[0014]

【発明の効果】本発明は、上記実施例から明らかなよう
に、メモリに書き込む前に、データの数を3/4Mに縮
小することにより、従来の3/4Mの容量のメモリで画
像処理を行なうことができ、メモリのコストの削減がで
きる。また、同じ容量、アクセスタイムのメモリで、従
来の4M/3倍の画素データを処理できる。以上のこと
から、従来の画像処理装置よりも安価で高画素な画像処
理装置を実現することができる。
As is apparent from the above embodiment, the present invention reduces the number of data to 3/4 M before writing it in the memory, so that the image processing can be performed by the conventional memory having the capacity of 3/4 M. Can be performed and the cost of memory can be reduced. Further, with the memory having the same capacity and access time, it is possible to process pixel data 4M / 3 times as large as the conventional one. From the above, it is possible to realize an image processing apparatus that is cheaper and has a higher number of pixels than the conventional image processing apparatus.

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

【図1】本発明の一実施例における画像処理装置の概略
ブロック図
FIG. 1 is a schematic block diagram of an image processing apparatus according to an embodiment of the present invention.

【図2】同装置におけるタイミング図FIG. 2 is a timing chart of the device.

【図3】従来の画像処理装置の概略ブロック図FIG. 3 is a schematic block diagram of a conventional image processing apparatus.

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

1 3/4M縮小回路 2 4M/3拡大回路 3、4、5、6、7、8、14、15、16、17 フ
リップフロップまたはラッチ 9、18 セレクタ 10a、10b、13a、13b ラインメモリ 11 メモリ 12 メモリ制御回路
1 3 / 4M reduction circuit 2 4M / 3 enlargement circuit 3, 4, 5, 6, 7, 8, 14, 15, 16, 17 flip-flop or latch 9,18 selector 10a, 10b, 13a, 13b line memory 11 memory 12 Memory control circuit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 デジタル化された輝度信号Yと色信号C
のNビットの入力画素データの輝度信号Yと色信号Cを
合成して、メモリに書き込む画素データの上位MNビッ
トと下位MNビット(M、Nは1以上の整数)の画素デ
ータの数を同じにするために3/4M縮小する手段と、
前記メモリから読み出したデータを4M/3に拡大する
手段とを備えた画像処理装置。
1. A luminance signal Y and a color signal C which are digitized.
The luminance signal Y of the N-bit input pixel data and the color signal C are combined, and the number of pixel data of the upper MN bits and the lower MN bits (M and N are integers of 1 or more) of the pixel data to be written in the memory are the same. To reduce by 3 / 4M to achieve
An image processing apparatus comprising: a unit for expanding data read from the memory to 4M / 3.
【請求項2】 メモリに書き込む前に画素データの総数
を3/4Mに圧縮する3/4M縮小回路と、前記3/4
M縮小回路からの画素データの間を詰めて3/4M圧縮
するNビット幅の第1のラインメモリと、前記第1のラ
インメモリからの画素データを書き込み/読み出しする
2MNビット幅のメモリと、このメモリのアドレスなど
の制御をするメモリ制御回路と、前記メモリから読み出
された画素データを4M/3拡大して前記第1のライン
メモリと逆の動作をするNビット幅の第2のラインメモ
リと、前記第2のラインメモリからの画素データを輝度
信号Yと色信号Cに分離させ、3/4M縮小回路の逆の
動作をする4M/3拡大回路とを備えた画像処理装置。
2. A 3 / 4M reduction circuit for compressing the total number of pixel data to 3 / 4M before writing to a memory, and said 3/4
A first line memory having an N bit width for compressing the pixel data from the M reduction circuit by 3/4 M, and a memory having a 2 MN bit width for writing / reading the pixel data from the first line memory; A memory control circuit for controlling addresses of the memory, and a second line having an N-bit width for expanding pixel data read from the memory by 4M / 3 and performing an operation opposite to that of the first line memory. An image processing apparatus comprising: a memory; and a 4M / 3 enlargement circuit that separates pixel data from the second line memory into a luminance signal Y and a color signal C and performs an operation reverse to that of a 3 / 4M reduction circuit.
JP19847594A 1994-08-23 1994-08-23 Image processor Pending JPH0865704A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19847594A JPH0865704A (en) 1994-08-23 1994-08-23 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19847594A JPH0865704A (en) 1994-08-23 1994-08-23 Image processor

Publications (1)

Publication Number Publication Date
JPH0865704A true JPH0865704A (en) 1996-03-08

Family

ID=16391732

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19847594A Pending JPH0865704A (en) 1994-08-23 1994-08-23 Image processor

Country Status (1)

Country Link
JP (1) JPH0865704A (en)

Similar Documents

Publication Publication Date Title
US5742274A (en) Video interface system utilizing reduced frequency video signal processing
US6307969B1 (en) Dynamic image encoding method and apparatus
JPH0865704A (en) Image processor
JPH06282643A (en) Picture synthesizing effect device
JP3992269B2 (en) Image processing apparatus and method
JPH01136465A (en) Picture processor
JPH07118002B2 (en) Image processing device
JP4662325B2 (en) Image processing apparatus and image processing method
JPH10304356A (en) Parallel picture compression processor
JP2006141001A (en) Image processing apparatus reduced in power consumption and method
US5457475A (en) Image display control apparatus
JPS63156291A (en) Picture memory
JP2753349B2 (en) Arbitrary angle rotation image data input / output method, input / output circuit thereof, and electronic file device using the same
JP2903949B2 (en) Signal processing device for raster image display system
JPH08147478A (en) Moving image decoding device
JPH0286267A (en) Semiconductor memory
JP3427586B2 (en) Data processing device and storage device
JPH04204594A (en) High-precision display device
JPH10322571A (en) Device and method for processing video signal
JPH11113021A (en) Use method for frame memory and frame memory read circuit
JPS63256991A (en) Editing memory
JPH11191077A (en) Memory address generating device
JPH11146276A (en) Image processor
JP2000285015A (en) Storage device
JPH0723214A (en) Picture processor