JP2003259209A - Device for converting image size - Google Patents

Device for converting image size

Info

Publication number
JP2003259209A
JP2003259209A JP2002055634A JP2002055634A JP2003259209A JP 2003259209 A JP2003259209 A JP 2003259209A JP 2002055634 A JP2002055634 A JP 2002055634A JP 2002055634 A JP2002055634 A JP 2002055634A JP 2003259209 A JP2003259209 A JP 2003259209A
Authority
JP
Japan
Prior art keywords
horizontal
pixels
image size
memory
size conversion
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
JP2002055634A
Other languages
Japanese (ja)
Inventor
Hiromasa Yamada
浩正 山田
Toshiaki Kotake
利明 小竹
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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP2002055634A priority Critical patent/JP2003259209A/en
Publication of JP2003259209A publication Critical patent/JP2003259209A/en
Pending legal-status Critical Current

Links

Landscapes

  • Synchronizing For Television (AREA)
  • Studio Circuits (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To reduce a pixel size to 1/2 without changing frame periods or data rates. <P>SOLUTION: Digital data passing through a clock changing circuit 31A to change to double speed clock is caused to go through a horizontal filter 32, the number of effective pixels of video becoming 1/2 by horizontal filtering. In this case, the number of pixels of an input signal is prescribed, the number of pixels is between 352 and 176 pixels in a CIF (common intermediate format) standard and between 640 and 320 pixels in a VGA (video graphics array) standard. Next, the digital data passing through the horizontal filter 32 are written in a memory 34 when the number of effective lines is an odd number, while the data of the preceding line are read to be then subjected to filter operation with the data of the current line, being rewritten in the memory 34 when the number of the effective lines is an even number. This converts input data into 1/2 size. <P>COPYRIGHT: (C)2003,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、CCDやCMOS
センサを用いたカメラシステムやアナログ映像信号をデ
ジタル映像信号に変換するシステム等において映像出力
信号を扱う画像サイズ変換装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to CCDs and CMOSs.
The present invention relates to an image size conversion device that handles a video output signal in a camera system that uses a sensor, a system that converts an analog video signal into a digital video signal, and the like.

【0002】[0002]

【従来の技術】従来より、デジタル映像信号を出力する
システムにおいて、その最終段に用いられる画像サイズ
変換装置としては、フレームメモリーを用いて画像信号
の垂直方向のフィルターとともに読み出しの速度を変え
て読み出し、画像サイズ変換を行う方法(例えば特開平
11−191852号公報参照)や、水平画素数と同等
のワード数を有するラインメモリーを用意し、垂直方向
のフィルタリングを行い、さらに水平方向のフィルタリ
ングを行う方法(例えば特開平7−222117号公報
参照)等が提案されている。
2. Description of the Related Art Conventionally, in a system for outputting a digital video signal, an image size conversion device used at the final stage of the system uses a frame memory to read the image signal with a vertical filter and at a different reading speed. , A method of performing image size conversion (see, for example, Japanese Patent Laid-Open No. 11-191852), a line memory having the same number of words as the number of horizontal pixels are prepared, vertical filtering is performed, and further horizontal filtering is performed. A method (see, for example, Japanese Patent Laid-Open No. 7-222117) has been proposed.

【0003】[0003]

【発明が解決しようとする課題】ところで、一般に携帯
端末等に用いられるカメラ等では、消費電力や回路規模
の観点から見れば、メモリーの大きさはより小さい方が
良いし、また、システムによっては、画素数を1/4
(例えばCIFをQCIF)に変換しているにもかかわ
らず、出力のデータレートは1/2になってしまってい
るなどの問題点がある。
By the way, in a camera or the like generally used for a portable terminal or the like, it is preferable that the size of the memory is smaller from the viewpoint of power consumption and circuit scale, and depending on the system. , 1/4 the number of pixels
However, there is a problem that the output data rate is halved even though (for example, CIF is converted to QCIF).

【0004】そこで本発明の目的は、画像サイズを1/
N(N≧2)に縮小する場合に、出力に用いられるデー
タクロックと同じ周波数のクロックを用いることによ
り、データレートおよびフレームレートを一定にするこ
とができ、また、メモリーについても水平有効画素数の
1/Nで実現することができる画像サイズ変換装置を提
供することにある。
Therefore, an object of the present invention is to reduce the image size to 1 /
When reducing to N (N ≧ 2), by using a clock having the same frequency as the data clock used for output, the data rate and frame rate can be made constant, and the number of horizontal effective pixels for the memory is also fixed. An object of the present invention is to provide an image size conversion device that can be realized with 1 / N.

【0005】[0005]

【課題を解決するための手段】本発明は前記目的を達成
するため、映像データを入力し、サイズ変換して出力す
る画像サイズ変換装置であって、入力クロックをN(N
≧2)倍速クロックに乗換えるクロック乗換え部と、前
記映像データの水平方向をフィルタリングする水平フィ
ルター部と、水平有効画素数の1/Nワードのメモリー
と、前記メモリーへの入力を切り替える切り替え部と、
イネーブル付きフリップフロップとを有し、水平画素数
のN倍速クロックを使用することにより、フレーム周期
およびデータレートを変えることなく画素サイズを1/
Nに縮小することを特徴とするものである。
In order to achieve the above object, the present invention is an image size conversion apparatus for inputting video data, converting the size of the video data and outputting the video data, the input clock of which is N (N
≧ 2) A clock transfer unit that transfers to a double speed clock, a horizontal filter unit that filters the horizontal direction of the video data, a memory of 1 / N word of the number of horizontal effective pixels, and a switching unit that switches the input to the memory. ,
By using a flip-flop with enable and using an N-times speed clock of the number of horizontal pixels, the pixel size can be reduced to 1 / without changing the frame period and the data rate.
It is characterized by reducing to N.

【0006】本発明の画像サイズ変換装置では、水平画
素数のN倍速クロックを使用することにより、フレーム
周期およびデータレートを変えることなく画素サイズを
1/Nに縮小することにより、画像サイズ変換にかかわ
らず、データレートおよびフレームレートを一定にする
ことができる。したがって、例えばこの画像サイズ変換
装置からのクロックを後段で用いることができ、後段の
回路構成が簡略化できる。また、クロックが一定の周期
と決まっているので映像領域の前後に映像領域のスター
ト、ストップを示すコードを入れることにより、少ない
信号線で映像データの受け渡しを行うことが可能とな
る。さらに、メモリーについても水平有効画素数の1/
Nで実現することができ、回路規模の縮小を図ることが
可能となる。
In the image size conversion apparatus of the present invention, the N-times speed clock of the number of horizontal pixels is used to reduce the pixel size to 1 / N without changing the frame period and the data rate, so that the image size conversion is performed. Regardless, the data rate and frame rate can be constant. Therefore, for example, the clock from the image size conversion device can be used in the subsequent stage, and the circuit configuration in the subsequent stage can be simplified. Further, since the clock has a fixed cycle, by inserting a code indicating the start and stop of the video area before and after the video area, it is possible to transfer the video data with a small number of signal lines. Furthermore, as for the memory, 1 / the number of horizontal effective pixels
This can be realized by N, and the circuit scale can be reduced.

【0007】[0007]

【発明の実施の形態】以下、本発明による画像サイズ変
換装置の実施の形態例について説明する。なお、以下に
説明する実施の形態は、本発明の好適な具体例であり、
技術的に好ましい種々の限定が付されているが、本発明
の範囲は、以下の説明において、特に本発明を限定する
旨の記載がない限り、これらの態様に限定されないもの
とする。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of an image size conversion device according to the present invention will be described below. The embodiment described below is a preferred specific example of the present invention,
Although various technically preferable limitations are given, the scope of the present invention is not limited to these embodiments unless otherwise stated to limit the present invention.

【0008】図1は、本発明の実施の形態による画像サ
イズ変換装置を適用するカメラシステムの概略構成を示
すブロック図である。本例の画像サイズ変換装置は、例
えばカメラ信号処理されたデジタル映像信号やアナログ
映像信号をデジタル映像信号に変換するシステムにおい
て、映像信号をYUV422(16bit)もしくはY
UV(8bit)で出力するための装置として用いられ
るものである。図1に示すカメラシステムでは、CCD
型撮像素子やCMOSセンサ型撮像素子を用いた撮像素
子10から出力された撮像信号をカメラ信号処理部20
で処理し、デジタル映像信号を画像サイズ変換して出力
する。
FIG. 1 is a block diagram showing a schematic configuration of a camera system to which an image size conversion device according to an embodiment of the present invention is applied. The image size conversion device of this example is a system for converting a digital video signal or an analog video signal processed by a camera signal into a digital video signal, and the video signal is YUV422 (16 bits) or YUV422 (16 bits).
It is used as a device for outputting with UV (8 bits). In the camera system shown in FIG. 1, the CCD
Type image pickup device or an image pickup signal output from an image pickup device 10 using a CMOS sensor type image pickup device
The digital video signal is converted into an image size and output.

【0009】カメラ信号処理部20は、もともと図2
(A)に示すように、輝度信号処理部21、色信号処理
部22、フォーマット部23を有し、輝度信号処理部2
1及び色信号処理部22のクロックΦ1からフォーマッ
ト部23のクロックΦ2に乗り換え、フォーマット部2
3において、内部信号の2倍のクロックレートで出力さ
れるYUV422(8bit)に加工するような構成と
なっている。そして、本例の画像サイズ変換装置24
は、図2(B)に示すように、フォーマット部23の前
段に配置され、効率よく画像サイズを変換するシステム
である。
The camera signal processing unit 20 is originally shown in FIG.
As shown in (A), the luminance signal processing unit 21, the color signal processing unit 22, and the formatting unit 23 are provided, and the luminance signal processing unit 2
1 and the clock Φ1 of the color signal processing unit 22 is changed to the clock Φ2 of the format unit 23, and the format unit 2
3 is configured to be processed into YUV422 (8 bits) which is output at a clock rate twice as high as the internal signal. Then, the image size conversion device 24 of this example
As shown in FIG. 2B, is a system that is arranged in front of the format unit 23 and efficiently converts the image size.

【0010】図3は、本例のシステムを用いることで縮
小されるイメージを示す説明図であり、1/2スケーラ
ーと1/4スケーラーの各レートを対比して示してい
る。1/2スケーラーでは、総画素数、有効画素数がノ
ーマル時の1/4となる機能であり、フレームレートは
一定、ピクセルデータクロックはノーマル時の1/4と
なる。また、1/4スケーラーでは、総画素数、有効画
素数がノーマル時の1/16となる機能であり、フレー
ムレートは一定、ピクセルデータクロックはノーマル時
の1/16となる。このうち本例の画像サイズ変換装置
は、1/2スケーラーを実現するものである。
FIG. 3 is an explanatory view showing an image reduced by using the system of this example, showing rates of the 1/2 scaler and the 1/4 scaler in comparison. In the 1/2 scaler, the total number of pixels and the number of effective pixels are 1/4 that in the normal state, the frame rate is constant, and the pixel data clock is 1/4 that in the normal state. Further, in the 1/4 scaler, the total number of pixels and the number of effective pixels are 1/16 in the normal state, the frame rate is constant, and the pixel data clock is 1/16 in the normal state. Among these, the image size conversion apparatus of this example realizes a 1/2 scaler.

【0011】図4は、本例における画像サイズ変換装置
の構成を示すブロック図である。図示のように、この画
像サイズ変換装置は、クロック乗換え部31A、31
B、31C、水平フィルター部32、メモリーセレクタ
ー33、メモリー34、メモリーコントローラ部35、
イネーブル付フリップフロップ36、垂直同期信号生成
ブロック37を有する。図5は、クロック乗換え部31
A、31B、31Cの構成を示すブロック図である。本
例のクロック乗換え部31は、2つのフリップフロップ
41、42で構成され、1段目のフリップフロップ41
には2分周されたクロックを、2段目のフリップフロッ
プ42には出力データレートと同じクロックを入力す
る。図6は、水平フィルター部32の構成を示すブロッ
ク図である。本例の水平フィルター部32は、フリップ
フロップ43、加算器44、丸め込み(RND)回路4
5で構成されている。
FIG. 4 is a block diagram showing the arrangement of the image size conversion apparatus in this example. As shown in the figure, the image size conversion device includes clock transfer units 31A and 31A.
B, 31C, horizontal filter section 32, memory selector 33, memory 34, memory controller section 35,
It has an enable flip-flop 36 and a vertical synchronization signal generation block 37. FIG. 5 shows the clock transfer unit 31.
It is a block diagram which shows the structure of A, 31B, and 31C. The clock transfer unit 31 of the present example is composed of two flip-flops 41 and 42, and the first-stage flip-flop 41.
Is input to the second stage flip-flop 42 with the same clock as the output data rate. FIG. 6 is a block diagram showing the configuration of the horizontal filter unit 32. The horizontal filter unit 32 of this example includes a flip-flop 43, an adder 44, and a rounding (RND) circuit 4.
It is composed of 5.

【0012】図7は、メモリーセレクター33の構成を
示すブロック図である。このメモリーセレクター33
は、垂直フィルターとサイズ変換出力切り換えの機能を
有するものであり、スイッチ46、加算器47、丸め込
み(RND)回路48で構成され、メモリー34に入力
される信号を切り替えている。メモリー34は、水平画
素数の1/2のワード数(たとえばCIFなら352/
2=176)で構成される。図8は、メモリーコントロ
ーラ部35の構成を示すブロック図である。このメモリ
ーコントローラ部35は、CIF/VEGの選択信号に
基づいて、2つのカウンター50、51を用いて書き込
み信号(XWR)52、読み出し信号(XRD)53、
及び読み出し/書き込みアドレスの切り換え信号(AD
D)54を制御するものである。
FIG. 7 is a block diagram showing the structure of the memory selector 33. This memory selector 33
Has a vertical filter and size conversion output switching function, and is composed of a switch 46, an adder 47, and a rounding (RND) circuit 48, and switches the signal input to the memory 34. The memory 34 has a number of words that is ½ of the number of horizontal pixels (for example, 352/352 for CIF).
2 = 176). FIG. 8 is a block diagram showing the configuration of the memory controller unit 35. The memory controller unit 35 uses two counters 50 and 51 based on a selection signal of CIF / VEG to write a signal (XWR) 52, read signal (XRD) 53,
And read / write address switching signal (AD
D) Controls 54.

【0013】次に、以上のような構成の回路における動
作について説明する。まず、本例の説明では、回路を単
純化するために、入力信号の画素数とライン数を規定し
ている。まず、信号がCIF規格であれば、垂直有効ラ
イン数が288ラインで、かつブランキングを含む総ラ
イン数が288+2n(n≧1)であり、例えば、33
0、332、334、……ラインなどである。また、水
平有効画素数が352画素で、かつブランキングを含む
総画素数が、352+4n(n≧1)であり、例えば、
392、396、400、404、408、……画素な
どである。一方、信号がVGA規格であれば、垂直有効
ライン数が480で、かつブランキングを含む総ライン
数が480+2n(n≧0)であり、例えば、514、
516、518、……ラインなどである。また、水平有
効画素数が640画素で、かつブランキングを含む総画
素数が、640+8n(n≧0)であり、例えば、79
2、800、808、……画素などである。
Next, the operation of the circuit having the above configuration will be described. First, in the description of the present example, the number of pixels and the number of lines of an input signal are specified in order to simplify the circuit. First, if the signal is the CIF standard, the number of vertical effective lines is 288, and the total number of lines including blanking is 288 + 2n (n ≧ 1).
0, 332, 334, and so on. Further, the number of horizontal effective pixels is 352, and the total number of pixels including blanking is 352 + 4n (n ≧ 1).
392, 396, 400, 404, 408, ... Pixels and the like. On the other hand, if the signal is VGA standard, the number of vertical effective lines is 480, and the total number of lines including blanking is 480 + 2n (n ≧ 0).
516, 518, ... Lines, etc. The number of horizontal effective pixels is 640, and the total number of pixels including blanking is 640 + 8n (n ≧ 0). For example, 79
2, 800, 808, ... Pixels and the like.

【0014】図9は、このような回路の動作タイミング
を示す簡単なタイミングチャートである。上述したクロ
ック乗換え回路31Aを通ったデジタルデータは、水平
フィルター32を通り、映像有効画素数が1/2になる
(CIFなら352画素から176画素になり、VGA
なら640画素から320画素になる)。次に、水平フ
ィルター32を通したデジタルデータを、奇数有効ライ
ン数の時には、メモリー34に書き込み、偶数有効ライ
ン数の時には、前ラインのデータを読み出した後、現ラ
インのデータとフィルター演算して、再びメモリー34
に書き込む動作となっている。
FIG. 9 is a simple timing chart showing the operation timing of such a circuit. The digital data that has passed through the clock transfer circuit 31A described above passes through the horizontal filter 32 and the number of effective image pixels is halved (from 352 pixels to 176 pixels for CIF, VGA
If so, it will be 640 pixels to 320 pixels). Next, when the number of effective lines is odd, the digital data that has passed through the horizontal filter 32 is written in the memory 34. When the number of effective lines is even, the data of the previous line is read out, and then the filter operation is performed with the data of the current line. , Memory 34 again
The operation is to write to.

【0015】次に、より実用に近いレベルの回路構成に
ついて説明する。図10は、実際に使用する際の画像サ
イズ変換装置の構成を示すブロック図である。なお、図
4に示す構成要素と共通するものについては同一符号を
付している。図示のように、この画像サイズ変換装置
は、クロック乗換え部31A−1、31A−2、31
B、31C、水平フィルター部32−1、32−2、メ
モリーセレクター33−1、33−2、メモリー34−
1、34−2、メモリーコントローラ部35、イネーブ
ル付フリップフロップ36−1、36−2、垂直同期信
号生成ブロック37を有する。すなわち、実際に使用す
る回路では、YUV422のデータを扱う時には、Yと
UVの違いから、水平フィルターは同じ回路を使えな
い。そこで、この回路では、Yデータ用とUVデータ用
の水平フィルター部32−1、32−2を別途用意し、
2つのメモリー34−1、34−2に別々に記憶する。
Next, a circuit configuration of a level closer to practical use will be described. FIG. 10 is a block diagram showing the configuration of the image size conversion device when actually used. The same components as those shown in FIG. 4 are designated by the same reference numerals. As shown in the figure, the image size conversion device is configured such that the clock transfer units 31A-1, 31A-2, 31
B, 31C, horizontal filter sections 32-1, 32-2, memory selectors 33-1, 33-2, memory 34-
1, 34-2, a memory controller unit 35, flip-flops 36-1 and 36-2 with enable, and a vertical synchronization signal generation block 37. That is, in the circuit actually used, when handling the data of YUV422, the same circuit cannot be used for the horizontal filter due to the difference between Y and UV. Therefore, in this circuit, separate horizontal filter units 32-1 and 32-2 for Y data and UV data are prepared.
The two memories 34-1 and 34-2 are separately stored.

【0016】図11は、Y用の水平フィルター部32−
1の構成と動作を示し、図12は、UV用の水平フィル
ター部32−2の構成と動作を示す。なお、図示の例
は、1/4スケーラー用との共用を図るための構成例で
ある。垂直のフィルターとのタイミングを同じにするた
めに、Y用の水平フィルターにはイネーブル付フリップ
フロップ61、62を2つ追加してある。また、丸め込
み誤差を最小とするために、この水平フィルター部では
丸め込みをせず、加算したままで垂直フィルター部に渡
している(垂直フィルター出力で丸め込む)。なお、こ
のように丸め込み誤差の最小化を図ると、メモリーサイ
ズが1ビット増えてしまうが、回路の最小化を目標にす
るなら、それを優先して水平出力で丸め込んでしまえ
ば、メモリーサイズは1bit分小さくでき、メモリー
全体として8〔bit〕/9〔bit〕に縮小できる。
FIG. 11 shows a Y horizontal filter section 32-
1 shows the configuration and operation of No. 1, and FIG. 12 shows the configuration and operation of the horizontal filter unit 32-2 for UV. The illustrated example is a configuration example for sharing with the 1/4 scaler. Two flip-flops with enable 61, 62 are added to the horizontal filter for Y in order to have the same timing as the vertical filter. Further, in order to minimize the rounding error, this horizontal filter section does not perform rounding, but passes them to the vertical filter section as they are added (rounded by the vertical filter output). If you try to minimize the rounding error in this way, the memory size will increase by 1 bit, but if you want to minimize the circuit, if you give priority to it and round in the horizontal output, the memory size will be It can be reduced by 1 bit, and the entire memory can be reduced to 8 [bit] / 9 [bit].

【0017】また、メモリー34−1、34−2につい
ては、VGAサイズを考慮して、9〔bit〕×320
〔word〕のメモリーを2つ使用している。なお、C
IFだけを使用するときには、9〔bit〕×176
〔word〕のメモリーサイズで良い。また、垂直フィ
ルター部(メモリーセレクター33−1、33−2)に
ついては、図13に示すように構成となっており、水平
フィルター部32−1、32−2の出力を9bitとし
ており、それに合わせてbitを拡張している。また、
図13では、Yフィルターをスルーするための切り換え
スイッチ71が設けられている。なお、丸め込み(RN
D)回路48については、Yがストレートバイナリー、
UVが2の補数となっているため回路構成が異なってい
る。
Regarding the memories 34-1 and 34-2, taking into consideration the VGA size, 9 [bit] × 320.
Two [word] memories are used. Note that C
When using only IF, 9 [bit] x 176
A [word] memory size is sufficient. Further, the vertical filter sections (memory selectors 33-1 and 33-2) are configured as shown in FIG. 13, and the outputs of the horizontal filter sections 32-1 and 32-2 are set to 9 bits. To extend the bit. Also,
In FIG. 13, a changeover switch 71 for passing through the Y filter is provided. In addition, rounding (RN
D) Regarding the circuit 48, Y is a straight binary,
Since UV is a two's complement, the circuit configuration is different.

【0018】図14は、水平同期信号の生成回路を示す
ブロック図である。この水平同期信号生成回路80は、
カウンタ81、82及びフリップフロップ83を有し、
メモリーアクセス用のカウンター値をデコードしてお
り、有効画素に相当する値でデコードすることにより、
ブランキング時間が変わっても有効領域(Hiの区間)
は変化しないような構成となっている。図15は、垂直
同期信号の生成回路を示すブロック図である。この垂直
同期信号生成回路は、フリップフロップ85よりなり、
上記の水平同期信号の立ち下がりエッジでラッチするこ
とにより、垂直同期信号のブランキング時間が変化して
も一定の有効領域(Hiの区間)は変化しないような構
成となっている。
FIG. 14 is a block diagram showing a horizontal synchronizing signal generating circuit. This horizontal synchronizing signal generation circuit 80
It has counters 81 and 82 and a flip-flop 83,
By decoding the counter value for memory access, and by decoding the value corresponding to the effective pixel,
Effective area even if the blanking time changes (section of Hi)
Has a structure that does not change. FIG. 15 is a block diagram showing a vertical synchronizing signal generation circuit. This vertical synchronizing signal generation circuit is composed of a flip-flop 85,
By latching at the falling edge of the horizontal synchronizing signal, the constant effective area (Hi section) does not change even if the blanking time of the vertical synchronizing signal changes.

【0019】図16〜図18は、これらの動作タイミン
グを示す詳細なタイミングチャートである。このタイミ
ングチャートは、水平総画素数が404でタイミングを
説明したものである。以上のような画像サイズ変換装置
を用いることにより、フレームレートを保ちつつ、一定
のデータレートでデータを送ることができ、後段の回路
構成が簡略化される。例えば、この回路からのクロック
を後段で用いることが可能である。また、クロックが一
定の周期と決まっているので、映像データの前後に映像
領域のスタート、ストップを示すコードを入れておけ
ば、イネーブルが不要となり、最小の信号線数で映像デ
ータの受け渡しができる。
16 to 18 are detailed timing charts showing these operation timings. This timing chart illustrates the timing when the total number of horizontal pixels is 404. By using the image size conversion device as described above, it is possible to send data at a constant data rate while maintaining the frame rate, and the circuit configuration in the subsequent stage is simplified. For example, the clock from this circuit can be used later. In addition, since the clock has a fixed cycle, if you insert a code indicating the start and stop of the video area before and after the video data, enable is not required and the video data can be delivered with the minimum number of signal lines. .

【0020】図19は、本実施の形態による画像サイズ
変換装置の変形例を示すブロック図である。この例は、
図10に示す2つのメモリー34−1、34−2を、1
8〔bit〕×320〔word〕の1つのメモリー3
4’に変更したものであり、このような構成とすること
で、メモリーサイズ(アドレスデコーダ部分)の削減が
可能となる。図20は、本実施の形態による画像サイズ
変換装置の他の変形例を示すブロック図である。この例
は、図4に示すクロック乗換え部31と水平フィルター
部32の順序を入れ換え、クロック乗換えの前に、水平
のフィルタリングを行うようにしたものである。
FIG. 19 is a block diagram showing a modification of the image size conversion device according to this embodiment. This example
The two memories 34-1 and 34-2 shown in FIG.
One memory 3 of 8 [bit] x 320 [word]
This is changed to 4 '. With such a configuration, the memory size (address decoder part) can be reduced. FIG. 20 is a block diagram showing another modification of the image size conversion device according to the present embodiment. In this example, the order of the clock transfer unit 31 and the horizontal filter unit 32 shown in FIG. 4 is exchanged, and horizontal filtering is performed before the clock transfer.

【0021】[0021]

【発明の効果】以上説明したように本発明の画像サイズ
変換装置では、水平画素数のN倍速のクロックを使用す
ることにより、フレーム周期およびデータレートを変え
ることなく画素サイズを1/Nに縮小することができ
る。したがって、例えばこの画像サイズ変換装置からの
クロックを後段で用いることができ、後段の回路構成が
簡略化できる。また、クロックが一定の周期と決まって
いるので映像領域の前後に映像領域のスタート、ストッ
プを示すコードを入れることにより、少ない信号線で映
像データの受け渡しを行うことが可能となる。さらに、
メモリーについても水平有効画素数の1/Nで実現する
ことができ、回路規模の縮小を図ることが可能となる。
As described above, in the image size conversion device of the present invention, the pixel size is reduced to 1 / N without changing the frame period and the data rate by using the clock of N times the horizontal pixel number. can do. Therefore, for example, the clock from the image size conversion device can be used in the subsequent stage, and the circuit configuration in the subsequent stage can be simplified. Further, since the clock has a fixed cycle, by inserting a code indicating the start and stop of the video area before and after the video area, it is possible to transfer the video data with a small number of signal lines. further,
The memory can be realized by 1 / N of the horizontal effective pixel number, and the circuit scale can be reduced.

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

【図1】本発明の実施の形態による画像サイズ変換装置
を適用するカメラシステムの概略構成を示すブロック図
である。
FIG. 1 is a block diagram showing a schematic configuration of a camera system to which an image size conversion device according to an embodiment of the present invention is applied.

【図2】図1に示すカメラシステムのカメラ信号処理部
を示すブロック図である。
FIG. 2 is a block diagram showing a camera signal processing unit of the camera system shown in FIG.

【図3】図1に示すカメラシステムを用いることで縮小
されるイメージを示す説明図である。
FIG. 3 is an explanatory diagram showing an image reduced by using the camera system shown in FIG.

【図4】図1に示すカメラシステムに設けられる画像サ
イズ変換装置の構成を示すブロック図である。
4 is a block diagram showing a configuration of an image size conversion device provided in the camera system shown in FIG.

【図5】図4に示す画像サイズ変換装置のクロック乗換
え部の構成を示すブロック図である。
5 is a block diagram showing a configuration of a clock transfer unit of the image size conversion device shown in FIG.

【図6】図4に示す画像サイズ変換装置の水平フィルタ
ー部の構成を示すブロック図である。
6 is a block diagram showing a configuration of a horizontal filter unit of the image size conversion device shown in FIG.

【図7】図4に示す画像サイズ変換装置のメモリーセレ
クターの構成を示すブロック図である。
7 is a block diagram showing a configuration of a memory selector of the image size conversion device shown in FIG.

【図8】図4に示す画像サイズ変換装置のメモリーコン
トローラ部の構成を示すブロック図である。
8 is a block diagram showing a configuration of a memory controller unit of the image size conversion device shown in FIG.

【図9】図4に示す画像サイズ変換装置の動作タイミン
グを示す簡単なタイミングチャートである。
9 is a simple timing chart showing the operation timing of the image size conversion device shown in FIG.

【図10】図4に示す画像サイズ変換装置の実使用時の
構成を示すブロック図である。
10 is a block diagram showing a configuration of the image size conversion device shown in FIG. 4 when it is actually used.

【図11】図10に示す画像サイズ変換装置のY用水平
フィルター部の動作と構成を示すタイミングチャート及
びブロック図である。
11 is a timing chart and a block diagram showing an operation and a configuration of a Y horizontal filter unit of the image size conversion apparatus shown in FIG.

【図12】図10に示す画像サイズ変換装置のUV用水
平フィルター部の動作と構成を示すタイミングチャート
及びブロック図である。
12 is a timing chart and a block diagram showing an operation and a configuration of a UV horizontal filter unit of the image size conversion device shown in FIG.

【図13】図10に示す画像サイズ変換装置の垂直フィ
ルター部(メモリーセレクター)の構成を示すブロック
図である。
13 is a block diagram showing a configuration of a vertical filter unit (memory selector) of the image size conversion device shown in FIG.

【図14】図10に示す画像サイズ変換装置の水平同期
信号生成回路を示すブロック図である。
14 is a block diagram showing a horizontal synchronization signal generation circuit of the image size conversion device shown in FIG.

【図15】図10に示す画像サイズ変換装置の垂直同期
信号生成回路を示すブロック図である。
15 is a block diagram showing a vertical synchronization signal generation circuit of the image size conversion device shown in FIG.

【図16】図10に示す画像サイズ変換装置の動作タイ
ミングを示す詳細なタイミングチャートである。
16 is a detailed timing chart showing the operation timing of the image size conversion device shown in FIG.

【図17】図10に示す画像サイズ変換装置の動作タイ
ミングを示す詳細なタイミングチャートである。
17 is a detailed timing chart showing the operation timing of the image size conversion device shown in FIG.

【図18】図10に示す画像サイズ変換装置の動作タイ
ミングを示す詳細なタイミングチャートである。
18 is a detailed timing chart showing the operation timing of the image size conversion device shown in FIG.

【図19】本発明の実施の形態による画像サイズ変換装
置の変形例を示すブロック図である。
FIG. 19 is a block diagram showing a modified example of the image size conversion device according to the embodiment of the present invention.

【図20】本発明の実施の形態による画像サイズ変換装
置の他の変形例を示すブロック図である。
FIG. 20 is a block diagram showing another modification of the image size conversion device according to the embodiment of the present invention.

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

10……撮像素子、20……カメラ信号処理部、21…
…輝度信号処理部、22……色信号処理部、23……フ
ォーマット部、24……画像サイズ変換装置、31A、
31A−1、31A−2、31B、31C……クロック
乗換え部、32、32−1、32−2……水平フィルタ
ー部、33、33−1、33−2……メモリーセレクタ
ー、34、34−1、34−2……メモリー、35……
メモリーコントローラ部、36……イネーブル付フリッ
プフロップ、37……垂直同期信号生成ブロック。
10 ... Image sensor, 20 ... Camera signal processing unit, 21 ...
... Luminance signal processing unit, 22 ... Color signal processing unit, 23 ... Formatting unit, 24 ... Image size conversion device, 31A,
31A-1, 31A-2, 31B, 31C ... Clock transfer section, 32, 32-1, 32-2 ... Horizontal filter section, 33, 33-1, 33-2 ... Memory selector, 34, 34- 1, 34-2 ... Memory, 35 ...
Memory controller, 36 ... Flip-flop with enable, 37 ... Vertical sync signal generation block.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 映像データを入力し、サイズ変換して出
力する画像サイズ変換装置であって、 入力クロックをN(N≧2)倍速クロックに乗換えるク
ロック乗換え部と、 前記映像データの水平方向をフィルタリングする水平フ
ィルター部と、 水平有効画素数の1/Nワードのメモリーと、 前記メモリーへの入力を切り替える切り替え部と、 イネーブル付きフリップフロップとを有し、 水平画素数のN倍速クロックを使用することにより、フ
レーム周期およびデータレートを変えることなく画素サ
イズを1/Nに縮小する、 ことを特徴とする画像サイズ変換装置。
1. An image size conversion apparatus for inputting video data, converting the size of the video data, and outputting the converted video data, wherein a clock transfer unit for transferring an input clock to an N (N ≧ 2) double speed clock, and a horizontal direction of the video data. A horizontal filter section for filtering the number of horizontal effective pixels, a memory of 1 / N words of the number of horizontal effective pixels, a switching section for switching the input to the memory, and a flip-flop with an enable. By doing so, the pixel size is reduced to 1 / N without changing the frame period and the data rate.
【請求項2】 入力映像データの水平総画素数を構成す
る有効映像領域の画素数+水平ブランキング期間の画素
数を、CIF規格で352+4n(n≧1)、VGA規
格で640+4n(n≧1)と規定し、 垂直総ライン数を構成する有効映像領域のライン数+垂
直ブランキング期間のライン数を、CIF規格で288
+2m(m≧1)、VGA規格で480+2m(m≧
1)と規定することにより、回路構成の最小化すること
を特徴とする請求項1記載の画像サイズ変換装置。
2. The number of pixels in an effective image area forming the total number of horizontal pixels of input image data + the number of pixels in a horizontal blanking period are 352 + 4n (n ≧ 1) in the CIF standard and 640 + 4n (n ≧ 1) in the VGA standard. ), The number of lines in the effective video area forming the total number of vertical lines + the number of lines in the vertical blanking period are 288 in the CIF standard.
+ 2m (m ≧ 1), VGA standard 480 + 2m (m ≧
The image size conversion apparatus according to claim 1, wherein the circuit configuration is minimized by defining 1).
【請求項3】 前記メモリーのアドレスカウンターを利
用し、水平同期信号を作成することにより、水平総画素
数の水平ブランキング期間の画素数を変化させても有効
映像領域の変化しない水平同期信号を作成する水平同期
信号生成回路を有することを特徴とする請求項1記載の
画像サイズ変換装置。
3. An address counter of the memory is used to generate a horizontal synchronizing signal so that a horizontal synchronizing signal whose effective image area does not change even if the number of pixels in the horizontal blanking period of the total number of horizontal pixels is changed. The image size conversion device according to claim 1, further comprising a horizontal synchronization signal generation circuit to be created.
【請求項4】 前記水平同期信号生成回路で作成された
水平同期信号と、入力された垂直同期信号を用いて、垂
直総ライン数の垂直ブランキング期間のライン数を変化
させても有効映像領域の変化しない垂直同期信号を作成
する垂直同期信号生成回路を有することを特徴とする請
求項3記載の画像サイズ変換装置。
4. An effective image area even if the number of lines in the vertical blanking period of the total number of vertical lines is changed using the horizontal synchronization signal generated by the horizontal synchronization signal generation circuit and the input vertical synchronization signal. 4. The image size conversion device according to claim 3, further comprising a vertical synchronization signal generation circuit that generates a vertical synchronization signal that does not change.
【請求項5】 前記水平フィルタ−部の出力で丸め込み
を行わず、前記メモリーのビットザイズを1bit多く
することで、丸め込み誤差を最小とすることを特徴とす
る請求項1記載の画像サイズ変換装置。
5. The image size conversion apparatus according to claim 1, wherein the rounding error is minimized by increasing the bit size of the memory by 1 bit without rounding the output of the horizontal filter unit. .
JP2002055634A 2002-03-01 2002-03-01 Device for converting image size Pending JP2003259209A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002055634A JP2003259209A (en) 2002-03-01 2002-03-01 Device for converting image size

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002055634A JP2003259209A (en) 2002-03-01 2002-03-01 Device for converting image size

Publications (1)

Publication Number Publication Date
JP2003259209A true JP2003259209A (en) 2003-09-12

Family

ID=28666425

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002055634A Pending JP2003259209A (en) 2002-03-01 2002-03-01 Device for converting image size

Country Status (1)

Country Link
JP (1) JP2003259209A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009120087A (en) * 2007-11-16 2009-06-04 Jtekt Corp Electric power steering device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009120087A (en) * 2007-11-16 2009-06-04 Jtekt Corp Electric power steering device

Similar Documents

Publication Publication Date Title
KR101034493B1 (en) Image transforming apparatus, dma apparatus for image transforming, and camera interface supporting image transforming
JP4015890B2 (en) Pixel block data generation apparatus and pixel block data generation method
JP4255345B2 (en) Imaging device
JP3133702B2 (en) Digital still camera
JP2005018730A (en) Line buffer for color interpolation, and line data providing device and method
US8049794B2 (en) Method and apparatus for processing image data
JP2004040317A (en) Timing signal generating apparatus, system, and imaging apparatus
JP3566364B2 (en) Data processing apparatus and method
US20010017658A1 (en) Frame memory device and method
US7391932B2 (en) Apparatus and method for selecting image to be displayed
JP2003259209A (en) Device for converting image size
JP2004165912A (en) Method and device for driving area imaging element
JP5011289B2 (en) Imaging device
US6727947B1 (en) Digital camera
JP4132264B2 (en) Image signal processing circuit
JPH06178202A (en) Picture reduction device
JP3763394B2 (en) Image reduction method and apparatus
JP2003143616A (en) Data transfer method
JP2009033438A (en) Imaging apparatus
JP3971183B2 (en) Imaging system
JPH0944634A (en) Video input device
US6434281B1 (en) Signal processing apparatus
JP2005020521A (en) Imaging apparatus and cellular phone equipped with the same imaging apparatus
JP2001069449A (en) Image processor
JP4377997B2 (en) Signal processing apparatus and imaging apparatus