JP2006020024A - Electronic zoom device - Google Patents

Electronic zoom device Download PDF

Info

Publication number
JP2006020024A
JP2006020024A JP2004195304A JP2004195304A JP2006020024A JP 2006020024 A JP2006020024 A JP 2006020024A JP 2004195304 A JP2004195304 A JP 2004195304A JP 2004195304 A JP2004195304 A JP 2004195304A JP 2006020024 A JP2006020024 A JP 2006020024A
Authority
JP
Japan
Prior art keywords
image data
output
line
zoom magnification
lines
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
JP2004195304A
Other languages
Japanese (ja)
Other versions
JP4424097B2 (en
Inventor
Atsushi Kobayashi
篤 小林
Hiromasa Yamada
浩正 山田
Daisuke Koyanagi
大輔 小柳
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 JP2004195304A priority Critical patent/JP4424097B2/en
Publication of JP2006020024A publication Critical patent/JP2006020024A/en
Application granted granted Critical
Publication of JP4424097B2 publication Critical patent/JP4424097B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an electronic zoom device whose zoom power can freely set with simple constitution while applied to an imaging device such as a television camera etc. <P>SOLUTION: In one horizontal scanning period of input image data D1, image data D3 of a plurality of lines are repeatedly outputted to a vertical filter 8, line by line, and interpolation arithmetic processing is carried out. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、電子ズーム装置に関し、例えばテレビジョンカメラ等の撮像装置に適用することができる。本発明は、入力画像データの1水平走査期間で、複数ラインの画像データをライン単位で繰り返し垂直フィルタに出力して内挿演算処理することにより、簡易な構成により、自由にズーム倍率を設定することができるようにする。   The present invention relates to an electronic zoom device, and can be applied to an imaging device such as a television camera. In the present invention, in one horizontal scanning period of input image data, image data of a plurality of lines is repeatedly output to a vertical filter in units of lines and subjected to interpolation calculation processing, so that a zoom magnification can be freely set with a simple configuration. To be able to.

従来、テレビジョンカメラ等の撮像装置においては、電子ズームにより撮像結果を拡大するようになされている。このような電子ズームにおいては、例えば特開2000−209480号公報に開示されているように、フレームメモリを介して垂直方向、水平方向に画サイズを拡大するようになされている。   Conventionally, in an imaging apparatus such as a television camera, an imaging result is enlarged by an electronic zoom. In such an electronic zoom, for example, as disclosed in Japanese Patent Laid-Open No. 2000-209480, the image size is enlarged in the vertical direction and the horizontal direction via a frame memory.

これに対して特開平5−227464号公報等には、CCDイメージセンサから間引きして撮像結果を出力するようにして、この間引きに係る画素数、ライン数を電子ズームの倍率により可変すると共に、撮像結果を出力する領域を可変し、これによりイメージセンサの駆動の制御により電子ズームする方法が提案されるようになされている。   On the other hand, in Japanese Patent Laid-Open No. 5-227464, etc., the number of pixels and the number of lines related to the thinning are changed according to the magnification of the electronic zoom, by thinning out from the CCD image sensor and outputting the imaging result. There has been proposed a method of electronic zooming by changing a region where an imaging result is output, and thereby controlling driving of an image sensor.

しかしながらフレームメモリを使用する方法においては、大容量のメモリを使用しなければならない問題がある。特に、撮像素子が高解像度化すると、その分、フレームメモリの容量も増大することになる。   However, the method using the frame memory has a problem that a large-capacity memory must be used. In particular, when the resolution of the image sensor increases, the capacity of the frame memory increases accordingly.

これに対してイメージセンサの駆動の制御により電子ズームする方法にあっては、結局、イメージセンサのライン数、画素数により電子ズームの倍率が制限され、これにより電子ズームの倍率を自由に設定できない問題がある。
特開2000−209480号公報 特開平5−227464号公報
On the other hand, in the method of electronic zooming by controlling the driving of the image sensor, the magnification of the electronic zoom is eventually limited by the number of lines and the number of pixels of the image sensor, and thus the magnification of the electronic zoom cannot be set freely. There's a problem.
JP 2000-209480 A JP-A-5-227464

本発明は以上の点を考慮してなされたもので、簡易な構成により、自由にズーム倍率を設定することができる電子ズーム装置を提案しようとするものである。   The present invention has been made in view of the above points, and an object of the present invention is to propose an electronic zoom device that can freely set the zoom magnification with a simple configuration.

かかる課題を解決するため請求項1の発明においては、画像データを所望のズーム倍率により拡大して出力画像データを出力する電子ズーム装置に適用して、少なくとも3個以上の複数のラインメモリを有し、複数のラインメモリを順次循環的に選択して順次入力される画像データをラインメモリに記録すると共に、複数のラインメモリのうちの残りのラインメモリから複数ラインの画像データを同時並列的に読み出して出力するメモリ回路と、メモリ回路から出力される複数ラインの画像データを内挿演算処理して出力する垂直フィルタと、垂直フィルタの出力データを内挿演算処理し、ズーム倍率により水平方向に拡大した出力画像データを出力する水平フィルタとを備え、メモリ回路は、ズーム倍率に応じて、入力画像データの1水平走査期間で、複数ラインの画像データをライン単位で繰り返し出力することにより、ズーム倍率により垂直方向に拡大した画像データが垂直フィルタより出力されるようにし、ズーム倍率に応じて、複数のクロック周期で1の画像データを出力することにより、ズーム倍率により水平方向に拡大した画像データが水平フィルタより出力されるようにする。   In order to solve this problem, the invention of claim 1 is applied to an electronic zoom device that outputs image data by enlarging image data at a desired zoom magnification, and has at least three or more line memories. In addition, a plurality of line memories are sequentially and cyclically selected and sequentially input image data is recorded in the line memory, and a plurality of lines of image data are simultaneously and parallelly stored from the remaining line memories of the plurality of line memories. A memory circuit that reads and outputs, a vertical filter that interpolates and outputs multiple lines of image data output from the memory circuit, and interpolates the output data of the vertical filter, and horizontally by zoom magnification A horizontal filter for outputting the enlarged output image data, and the memory circuit outputs one horizontal level of the input image data according to the zoom magnification. By repeatedly outputting multiple lines of image data line by line during the inspection period, image data enlarged in the vertical direction by the zoom magnification is output from the vertical filter, and at multiple clock cycles according to the zoom magnification. By outputting one image data, the image data expanded in the horizontal direction by the zoom magnification is output from the horizontal filter.

請求項1の構成により、メモリ回路が、ズーム倍率に応じて、画像データの1水平走査期間で、複数ラインの画像データをライン単位で繰り返し出力することにより、ズーム倍率により垂直方向に拡大した画像データが垂直フィルタより出力されるようにし、ズーム倍率に応じて、複数のクロック周期で1の画像データを出力することにより、ズーム倍率により水平方向に拡大した画像データが水平フィルタより出力されるようにすれば、これら繰り返しの出力に係るライン数、画素数に係る内挿処理による出力画像データを得ることができ、これにより簡易な構成により種々の倍率による電子ズームの処理を実行することができる。   According to the configuration of the first aspect, the memory circuit repeatedly outputs a plurality of lines of image data in units of lines in one horizontal scanning period of the image data in accordance with the zoom magnification, thereby enlarging the image in the vertical direction with the zoom magnification. By outputting the data from the vertical filter and outputting one image data at a plurality of clock cycles according to the zoom magnification, the image data expanded in the horizontal direction by the zoom magnification is output from the horizontal filter. By doing so, output image data can be obtained by interpolation processing relating to the number of lines and the number of pixels relating to these repeated outputs, and thus electronic zoom processing at various magnifications can be executed with a simple configuration. .

本発明によれば、簡易な構成により、自由に倍率を設定することができる。   According to the present invention, the magnification can be set freely with a simple configuration.

以下、適宜図面を参照しながら本発明の実施例を詳述する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings as appropriate.

(1)実施例の構成
図1は、本発明の実施例に係る撮像装置を示すブロック図である。この撮像装置1は、固体撮像素子であるイメージセンサ2により所望の被写体を撮像し、撮像結果による画像データD2をモニタにより表示し、また記録媒体に記録する。
(1) Configuration of Embodiment FIG. 1 is a block diagram illustrating an imaging apparatus according to an embodiment of the present invention. The image pickup apparatus 1 picks up an image of a desired subject using an image sensor 2 that is a solid-state image pickup device, displays image data D2 based on the image pickup result on a monitor, and records it on a recording medium.

ここでイメージセンサ2は、駆動回路3の制御によりライン間引き、画素間引きにより撮像結果を出力可能であり、例えばCMOS(Complementary Metal-Oxide Semiconductor )による撮像素子が適用される。イメージセンサ2は、ピクセルクロックPCK等の各種動作基準信号により動作して、このようなライン間引き、画素間引きによる撮像結果を撮像信号S1により出力する。またイメージセンサ2は、モニタへの出力に供する画像データD2の解像度に比して高い解像度による撮像結果を出力するようになされ、この実施例においては、640画素×480ラインによるVGA(Video Graphics Array)のイメージセンサが適用されるようになされている。   Here, the image sensor 2 can output an imaging result by line thinning and pixel thinning under the control of the drive circuit 3, and an imaging element such as a CMOS (Complementary Metal-Oxide Semiconductor) is applied. The image sensor 2 operates in accordance with various operation reference signals such as the pixel clock PCK, and outputs an imaging result by such line thinning and pixel thinning by the imaging signal S1. Further, the image sensor 2 outputs an imaging result with a resolution higher than the resolution of the image data D2 to be output to the monitor. In this embodiment, a VGA (Video Graphics Array) with 640 pixels × 480 lines is provided. ) Image sensor is applied.

駆動回路3は、この撮像装置1全体の動作を制御するシステムコントローラ6の制御により、モニタへの出力に供する画像データD2の解像度に応じた画素数、ライン数により撮像信号S1を出力するように、イメージセンサ2を駆動する。   The drive circuit 3 outputs the imaging signal S1 with the number of pixels and the number of lines according to the resolution of the image data D2 to be output to the monitor under the control of the system controller 6 that controls the operation of the entire imaging apparatus 1. The image sensor 2 is driven.

すなわち駆動回路3は、例えば記録媒体への記録に供する画像データD2がQVGA(Quarter VGA)による320画素×240ラインによるものの場合、2ライン周期で1ラインをライン間引きして、また2画素周期で1画素を画素間引きして撮像信号S1を出力するようにイメージセンサ2に駆動信号を出力する。また例えば記録媒体への記録に供する画像データD2がSQVGAによる160画素×120ラインによるものの場合、4ライン周期で3ラインをライン間引きして、また4画素周期で3画素を画素間引きして撮像信号S1を出力するようにイメージセンサ2に駆動信号を出力する。   That is, for example, when the image data D2 to be recorded on the recording medium is 320 pixels × 240 lines by QVGA (Quarter VGA), the driving circuit 3 thins out one line with a two-line cycle, and with two-pixel cycle. A drive signal is output to the image sensor 2 so that one pixel is thinned out and the imaging signal S1 is output. Further, for example, when the image data D2 to be recorded on the recording medium is 160 pixels × 120 lines by SQVGA, 3 lines are thinned out in a 4-line cycle, and 3 pixels are thinned out in a 4-pixel cycle, and an imaging signal is obtained. A drive signal is output to the image sensor 2 so as to output S1.

カメラ信号処理回路4は、イメージセンサ2から出力される撮像信号S1をアナログディジタル変換処理してホワイトバランス調整等の処理を実行した後、輝度信号、色差信号による画像データD1に変換してメモリ回路7に出力する。カメラ信号処理回路4は、クロック生成回路5から出力されるピクセルクロックPCKにより動作してこれら一連の処理を実行し、このピクセルクロックPCKに同期して画像データD1を出力する。   The camera signal processing circuit 4 performs an analog / digital conversion process on the imaging signal S1 output from the image sensor 2 and executes a process such as white balance adjustment, and then converts the image signal D1 into image data D1 using a luminance signal and a color difference signal. 7 is output. The camera signal processing circuit 4 operates in accordance with the pixel clock PCK output from the clock generation circuit 5 to execute these series of processes, and outputs image data D1 in synchronization with the pixel clock PCK.

クロック生成回路5は、図示しない基準信号生成回路によりこの撮像装置1の動作基準信号であるマスタークロックMCKを生成して各部に出力する。さらにクロック生成回路5は、分周回路5AによりマスタークロックMCKを分周して、イメージセンサ2、駆動回路3、カメラ信号処理回路4の動作基準クロックであるピクセルクロックPCKを生成し、また分周回路5BによりマスタークロックMCKを分周して、後述するメモリ回路7の動作基準クロックであるレート可変クロックZCKを生成する。クロック生成回路5は、これら分周回路5A、5Bの分周比をクロックコントローラ5Cの制御により切り換えるようになされ、このクロックコントローラ5Cによる分周比の制御が、この撮像装置1全体の動作を制御するシステムコントローラ6により制御されるようになされている。   The clock generation circuit 5 generates a master clock MCK that is an operation reference signal of the imaging apparatus 1 by a reference signal generation circuit (not shown) and outputs the master clock MCK to each unit. Further, the clock generation circuit 5 divides the master clock MCK by the frequency dividing circuit 5A to generate a pixel clock PCK which is an operation reference clock for the image sensor 2, the drive circuit 3, and the camera signal processing circuit 4, and further divides the clock. The circuit 5B divides the master clock MCK to generate a rate variable clock ZCK that is an operation reference clock of the memory circuit 7 described later. The clock generation circuit 5 is configured to switch the frequency division ratios of the frequency dividing circuits 5A and 5B under the control of the clock controller 5C, and the control of the frequency division ratio by the clock controller 5C controls the overall operation of the imaging apparatus 1. Is controlled by a system controller 6.

これによりこの実施例においては、メモリ回路7における処理速度に対して、イメージセンサ2、カメラ信号処理回路4における処理速度を種々に可変できるようになされている。   Thus, in this embodiment, the processing speeds of the image sensor 2 and the camera signal processing circuit 4 can be variously changed with respect to the processing speed of the memory circuit 7.

この撮像装置1は、カメラ信号処理回路4から出力される画像データD1を、メモリ回路7に一時保持し、垂直フィルタ8、水平フィルタ9により順次垂直方向及び水平方向に内挿処理することにより、電子ズームの処理を実行する。   The imaging apparatus 1 temporarily holds the image data D1 output from the camera signal processing circuit 4 in the memory circuit 7, and sequentially interpolates in the vertical direction and the horizontal direction by the vertical filter 8 and the horizontal filter 9, thereby The electronic zoom process is executed.

すなわち垂直フィルタ8は、メモリ回路7から同時並列的に出力される複数ラインの画像データをライン内挿処理し、これにより電子ズーム処理に係る各ラインの画像データを生成する。具体的に垂直フィルタ8は、例えば図2に示すように、メモリ回路7からの各タップ出力をそれぞれ重み付けする乗算回路10A、10Bと、この乗算回路10A、10Bの出力データを加算する加算回路11、この加算回路11の出力データを一時保持して出力するフリップフロップ回路12、乗算回路10A、10B、加算回路11の出力段にそれぞれ設けられたバッファ回路等による内挿回路により構成される。この実施例において、垂直フィルタ8は、内挿結果を出力するフリップフロップ回路12にイネーブルの制御信号を受け付けるものが適用され、これにより所望するタイミングで処理結果の出力を中止できるようになされている。なお垂直フィルタ8は、この図2に示す2タップによる内挿回路に限らず、図2との対比により図3及び図4に示すように、4タップ、8タップによる内挿回路を使用する場合等、必要に応じて種々の構成を広く適用することができる。   That is, the vertical filter 8 performs line interpolation processing on a plurality of lines of image data output from the memory circuit 7 simultaneously in parallel, thereby generating image data of each line related to the electronic zoom processing. Specifically, for example, as shown in FIG. 2, the vertical filter 8 includes multiplication circuits 10A and 10B for weighting each tap output from the memory circuit 7, and an addition circuit 11 for adding the output data of the multiplication circuits 10A and 10B. The flip-flop circuit 12 that temporarily holds and outputs the output data of the adder circuit 11, the multiplier circuits 10A and 10B, and an interpolation circuit such as a buffer circuit provided at the output stage of the adder circuit 11 are configured. In this embodiment, the vertical filter 8 that accepts an enable control signal is applied to the flip-flop circuit 12 that outputs the interpolation result, so that the output of the processing result can be stopped at a desired timing. . The vertical filter 8 is not limited to the 2-tap interpolation circuit shown in FIG. 2, but uses a 4-tap or 8-tap interpolation circuit as shown in FIGS. 3 and 4 in comparison with FIG. For example, various configurations can be widely applied as necessary.

しかして垂直フィルタ8は、ライン内挿比に応じた重み付け係数coefA、coefBがシステムコントローラ6の制御により乗算回路10A、10Bに設定されるようになされ、これにより入力画像データD1の各ラインに対するサンプリング位相に応じた重み付け係数coefA、coefBの設定により、順次、出力画像データD2の各ラインの画像データを生成するようになされている。   Thus, the vertical filter 8 is configured such that the weighting coefficients coefA and coefB corresponding to the line interpolation ratio are set in the multiplication circuits 10A and 10B under the control of the system controller 6, thereby sampling the input image data D1 for each line. Image data of each line of the output image data D2 is sequentially generated by setting the weighting coefficients coefA and coefB according to the phase.

水平フィルタ9は、順次入力される画像データを内挿処理し、これにより電子ズーム処理に係る水平方向の画像データを生成する。具体的に水平フィルタ9は、例えば図5に示すように、入力画像データのクロック周期に対応する遅延回路であるフリップフロップ回路13Aと、入力画像データ及びこのフリップフロップ回路13Aの出力データをそれぞれ重み付けする乗算回路14A、14Bと、この乗算回路14A、14Bの出力データを加算する加算回路15、この加算回路15の出力データを一時保持して出力するフリップフロップ回路16、乗算回路14A、14B、加算回路15の出力段にそれぞれ設けられたバッファ回路等による補間回路により構成される。この実施例において、水平フィルタ9は、遅延回路を構成するフリップフロップ回路13A、補間結果を出力するフリップフロップ回路16にイネーブルの制御信号を受け付けるものが適用され、これにより所望するタイミングで内挿処理を中止できるようになされている。なお水平フィルタ9は、この図5に示す2タップの直線補間による内挿回路に限らず、図5との対比により図6及び図7に示すように、4タップ、8タップによる補間回路を使用する場合等、必要に応じて種々の構成を広く適用することができる。   The horizontal filter 9 interpolates sequentially input image data, thereby generating horizontal image data related to electronic zoom processing. Specifically, for example, as shown in FIG. 5, the horizontal filter 9 weights the flip-flop circuit 13A, which is a delay circuit corresponding to the clock cycle of the input image data, and the input image data and the output data of the flip-flop circuit 13A. Multiplier circuits 14A and 14B, an adder circuit 15 that adds the output data of the multiplier circuits 14A and 14B, a flip-flop circuit 16 that temporarily holds and outputs the output data of the adder circuit 15, and multiplier circuits 14A and 14B. It is configured by an interpolation circuit such as a buffer circuit provided at the output stage of the circuit 15. In this embodiment, the horizontal filter 9 is applied to the flip-flop circuit 13A constituting the delay circuit and the flip-flop circuit 16 that outputs the interpolation result, and receives the enable control signal, thereby interpolating at a desired timing. Can be canceled. The horizontal filter 9 is not limited to the interpolation circuit based on the 2-tap linear interpolation shown in FIG. 5, but uses a 4-tap or 8-tap interpolation circuit as shown in FIGS. 6 and 7 in comparison with FIG. For example, various configurations can be widely applied as necessary.

水平フィルタ9は、内挿比に応じた重み付け係数coefA、coefBがシステムコントローラ6の制御により乗算回路14A、14Bに設定され、これにより入力画像データD1の水平方向に係るサンプリング位相に応じた重み付け係数coefA、coefBの設定により、順次、出力画像データD2の水平方向に係る各画像データを生成するようになされている。   In the horizontal filter 9, weighting coefficients coefA and coefB corresponding to the interpolation ratio are set in the multiplying circuits 14A and 14B under the control of the system controller 6, whereby the weighting coefficients corresponding to the sampling phase in the horizontal direction of the input image data D1. By setting coefA and coefB, each image data in the horizontal direction of the output image data D2 is sequentially generated.

メモリ回路7は、カメラ信号処理回路4から出力される画像データを一時保持し、この保持した画像データを垂直フィルタ8に出力する。ここでメモリ回路7は、カメラ信号処理回路4から出力される画像データD1の水平方向の最大のサンプリング数に対応するメモリ容量を有し、かつこの画像データD1を記録、再生する複数のラインメモリ25A〜25C、入力画像データD1をこれらラインメモリ25A〜25Cに振り分けるセレクタ26、これらラインメモリ25A〜25Cからの出力画像データを垂直フィルタ8の各タップ入力に振り分けるセレクタ27、これらラインメモリ25A〜25C、セレクタ26、27の動作を制御するメモリコントローラ28により構成される。   The memory circuit 7 temporarily holds the image data output from the camera signal processing circuit 4 and outputs the held image data to the vertical filter 8. Here, the memory circuit 7 has a memory capacity corresponding to the maximum horizontal sampling number of the image data D1 output from the camera signal processing circuit 4, and a plurality of line memories for recording and reproducing the image data D1. 25A to 25C, selector 26 that distributes input image data D1 to these line memories 25A to 25C, selector 27 that distributes output image data from these line memories 25A to 25C to each tap input of the vertical filter 8, and these line memories 25A to 25C The memory controller 28 controls the operations of the selectors 26 and 27.

このメモリ回路7は、これら複数のラインメモリ25A〜25Cを順次選択して、順次入力される画像データを記録しながら、続く垂直フィルタ8、水平フィルタ9の処理に対応するように、残りのラインメモリ25A〜25Cから保持した画像データを出力する。このためメモリ回路7は、少なくとも3個以上の複数のラインメモリを有するように形成され、この複数のラインメモリを順次循環的に選択して順次入力される画像データD1をラインメモリに記録すると共に、これら複数のラインメモリのうちの残りのラインメモリから複数ラインの画像データを同時並列的に読み出して出力するようになされている。ここでこの実施例においては、続く垂直フィルタ8によるライン内挿処理が2タップによる内挿演算処理により実行されることにより、メモリ回路7は、ラインメモリ25A〜25Cの数が3個に設定されて、入力画像データD1を記録していない残りの2個のラインメモリから同時並列的に2ラインの画像データを出力できるようになされている。   The memory circuit 7 sequentially selects the plurality of line memories 25A to 25C, records the sequentially input image data, and handles the remaining lines so as to correspond to the processing of the subsequent vertical filter 8 and horizontal filter 9. The stored image data is output from the memories 25A to 25C. For this reason, the memory circuit 7 is formed so as to have at least three or more line memories, and sequentially selects the plurality of line memories in a cyclic manner and records sequentially inputted image data D1 in the line memory. A plurality of lines of image data are simultaneously read out and output from the remaining line memories of the plurality of line memories. Here, in this embodiment, the line interpolation processing by the subsequent vertical filter 8 is executed by the interpolation calculation processing by two taps, so that the memory circuit 7 sets the number of line memories 25A to 25C to three. Thus, two lines of image data can be output simultaneously and in parallel from the remaining two line memories not recording the input image data D1.

この画像データの出力において、メモリ回路7は、ズーム倍率に応じて、上下、所定個数のラインについては、ラインメモリ25A〜25Cへの記録を中止し、これにより無駄な処理を防止する。またこのズーム倍率、ラインに応じて、続く垂直フィルタ8に対する1ライン分の画像データ出力を、1水平走査期間間に、複数回、繰り返す。これによりこの撮像装置1では、1水平走査期間で複数ラインの内挿処理を垂直フィルタ8で繰り返し実行するようになされ、これらにより電子ズーム処理における垂直方法の処理を実行するようになされている。   In the output of the image data, the memory circuit 7 stops recording in the line memories 25A to 25C for a predetermined number of lines, depending on the zoom magnification, thereby preventing unnecessary processing. Further, output of image data for one line to the subsequent vertical filter 8 is repeated a plurality of times during one horizontal scanning period in accordance with the zoom magnification and the line. As a result, in the image pickup apparatus 1, a plurality of lines are interpolated repeatedly by the vertical filter 8 in one horizontal scanning period, thereby performing a vertical method process in the electronic zoom process.

しかして図8に示すように、VGAでは、1画面が480ライン×640画素により形成されるのに対し、CIF(Common Intermediate Format)では、1画面が288ライン×352画素により形成され、QVGAでは、1画面が240ライン×320画素により形成される。またQCIF(Quarter CIF)では、1画面が144ライン×176画素により形成され、SQVGA(Super Quarter CIF)では、1画面が120ライン×160画素により形成される。   Thus, as shown in FIG. 8, in VGA, one screen is formed by 480 lines × 640 pixels, whereas in CIF (Common Intermediate Format), one screen is formed by 288 lines × 352 pixels. One screen is formed by 240 lines × 320 pixels. In QCIF (Quarter CIF), one screen is formed by 144 lines × 176 pixels, and in SQVGA (Super Quarter CIF), one screen is formed by 120 lines × 160 pixels.

これにより図9に示すように、VGA(図9(B))においては、水平同期信号HD(図9(A))による1水平走査期間が、概ね800画素分の期間に相当し、この800画素分の期間で、640画素による1ライン分の撮像結果を出力することになる。これに対してこのVGAによるデータ転送速度でCIF、QVGAによる撮像結果を出力する場合、20画素分の期間で区切って、1水平走査期間で2ライン分の撮像結果を出力することができ(図9(C)及び(D))、QCIF、SQVGAによる撮像結果にあっては、同様にして、1水平走査期間で、4ラインの撮像結果を出力することができる(図9(E)及び(F))。これらによりイメージセンサ2の駆動の制御により電子ズームの処理を実行すると仮定すると、CIFでは最大で3.2倍のズーム倍率を確保することができるのに対し、QVGAでは最大で4倍のズーム倍率を確保することができるのに対し、QCIF、SQVGAではそれぞれ最大で12.8倍、16倍のズーム倍率を確保することができる。   Accordingly, as shown in FIG. 9, in the VGA (FIG. 9B), one horizontal scanning period by the horizontal synchronizing signal HD (FIG. 9A) corresponds to a period of about 800 pixels. The imaging result for one line by 640 pixels is output in the period for pixels. On the other hand, when outputting the imaging results by CIF and QVGA at the data transfer speed by VGA, it is possible to output the imaging results for two lines in one horizontal scanning period divided by a period of 20 pixels (see FIG. 9 (C) and (D)), the imaging results by QCIF and SQVGA can output the imaging results of 4 lines in one horizontal scanning period (FIGS. 9E and 9D). F)). Assuming that the electronic zoom process is executed by controlling the drive of the image sensor 2 as described above, a zoom magnification of 3.2 times at maximum can be secured with CIF, whereas a zoom magnification of 4 times with QVGA can be secured. In contrast, QCIF and SQVGA can secure zoom magnifications of up to 12.8 times and 16 times, respectively.

この実施例においては、出力画像データD2に応じて画素間引きしてイメージセンサ2から撮像信号S1が出力されることにより、メモリ回路7では、出力画像データD2をVGAにより出力する場合には、1水平走査期間で1ライン分しか画像データを出力できないのに対し、それぞれCIF、QVGAにより画像データD2を出力する場合、1水平走査期間で1ラインの画像データ出力を2回、繰り返すことができ、QCIF、SQVGAにより画像データD2を出力する場合には、1水平走査期間で、1ラインの画像データ出力を4回、繰り返すことが可能となる。   In this embodiment, pixels are thinned out in accordance with the output image data D2, and the imaging signal S1 is output from the image sensor 2, so that the memory circuit 7 outputs 1 when the output image data D2 is output by VGA. Whereas only one line of image data can be output in the horizontal scanning period, when image data D2 is output by CIF and QVGA, respectively, one line of image data output can be repeated twice in one horizontal scanning period. When the image data D2 is output by QCIF or SQVGA, the output of one line of image data can be repeated four times in one horizontal scanning period.

これにより図10に示すように、メモリ回路7は、入力画像データD1に係る水平同期信号HD(図10(A1))の1水平走査期間毎に、順次循環的にラインメモリ25A〜25Cを選択して、入力画像データD1をラインメモリ25A〜25Cに記録しながら(図10(B1)〜(C1)、(B2)〜(C2))、記録に供していないラインメモリ25A〜25Cに保持した画像データを垂直フィルタ8に出力するようにして、2倍のズーム倍率により画像データD2を出力する場合には、時間軸圧縮して、1水平走査期間で、ライン単位による画像データの出力を2回繰り返し(図10(B1)〜(C1))、この2回の繰り返しによる画像データをそれぞれ垂直フィルタ8でライン内挿処理するようになされている(図10(E1))。しかしてこの場合、この2回の画像データ出力の繰り返しにより垂直フィルタ8で2ラインの画像データを生成することができ、これにより2倍のズーム倍率を確保できるようになされている。   As a result, as shown in FIG. 10, the memory circuit 7 sequentially and cyclically selects the line memories 25A to 25C for each horizontal scanning period of the horizontal synchronizing signal HD (FIG. 10 (A1)) related to the input image data D1. Then, while recording the input image data D1 in the line memories 25A to 25C (FIG. 10 (B1) to (C1), (B2) to (C2)), the input image data D1 is held in the line memories 25A to 25C that are not used for recording. When outputting the image data to the vertical filter 8 and outputting the image data D2 at a double zoom magnification, the time axis compression is performed and the output of the image data in units of lines is 2 in one horizontal scanning period. Repeatedly (FIG. 10 (B1) to (C1)), the image data obtained by the two repetitions is subjected to line interpolation processing by the vertical filter 8 (FIG. 10 (E1)). . Thus, in this case, two lines of image data can be generated by the vertical filter 8 by repeating the output of the image data twice, thereby ensuring a double zoom magnification.

これに対して3倍のズーム倍率により画像データD2を出力する場合には、時間軸圧縮により1水平走査期間で、ライン単位による画像データの出力を3回繰り返し(図10(B2)〜(C2))、この3回の繰り返しによる画像データをそれぞれ垂直フィルタ8でライン内挿処理するようになされている(図10(E2))。これによりこの場合、この3回の画像データ出力の繰り返しにより3ラインの画像データを生成することができ、3倍のズーム倍率を確保できるようになされている。   On the other hand, when outputting the image data D2 with a zoom magnification of 3 times, the output of the image data in units of lines is repeated three times in one horizontal scanning period by time axis compression (FIG. 10 (B2) to (C2 )), And the image data obtained by the three repetitions are each subjected to line interpolation processing by the vertical filter 8 (FIG. 10 (E2)). Thus, in this case, three lines of image data can be generated by repeating the image data output three times, and a zoom magnification of 3 times can be secured.

なおメモリ回路7は、このような整数値によらないズーム倍率による電子ズームの処理においては、図11に示すように、入力画像データD1に対する出力画像データD2の各ラインのサンプリング位相に応じて、各水平走査期間毎に、繰り返し出力の回数が異なり、例えば1倍から2倍の間のズーム倍率による電子ズームにおいては、このような1水平走査期間における1ライン出力と、1水平走査期間における2ライン出力とを切り換えることになる。なおこの図11においては、符号(A1)〜(D1)により1倍のズーム倍率による場合の画像データ入出力の処理を示し、この1倍のズーム倍率による処理との対比により、符号(A2)〜(D2)により1.5倍程度のズーム倍率による場合を示し、この場合、ライン単位による画像データ出力を2回繰り返す水平走査期間と、ライン単位による画像データ出力が1回だけの水平走査期間とが、ズーム倍率、内挿処理に係るラインのサンプリング位相に応じて繰り返されることになる。   In the electronic zoom processing with a zoom magnification that does not depend on such an integer value, the memory circuit 7 determines the sampling phase of each line of the output image data D2 with respect to the input image data D1, as shown in FIG. The number of repeated outputs differs for each horizontal scanning period. For example, in electronic zoom with a zoom magnification of 1 to 2 times, one line output in such a horizontal scanning period and 2 in one horizontal scanning period. The line output is switched. In FIG. 11, reference numerals (A1) to (D1) show image data input / output processing when the zoom magnification is 1 ×, and reference (A2) is compared with the processing using the zoom magnification of 1 ×. ~ (D2) shows a case with a zoom magnification of about 1.5 times. In this case, a horizontal scanning period in which image data output in line units is repeated twice, and a horizontal scanning period in which image data output in line units is only once. Are repeated according to the zoom magnification and the sampling phase of the line related to the interpolation process.

しかして図12は、この一連のメモリ回路7における画像データの処理を示す略線図であり、メモリ回路7においては、この場合、カメラ信号処理回路4から出力される1水平走査期間の画像データD1を、この1水平走査期間で、ライン単位で、繰り返し出力するようになされている(図12(A)〜(C))。   FIG. 12 is a schematic diagram showing the processing of the image data in the series of memory circuits 7. In the memory circuit 7, in this case, the image data of one horizontal scanning period output from the camera signal processing circuit 4 is shown. D1 is repeatedly output in units of lines in this one horizontal scanning period (FIGS. 12A to 12C).

ところで図13は、ライン内挿による電子ズーム処理において、ズーム倍率により繰り返し垂直フィルタ8に入力することが必要となるライン単位の画像データ出力回数を示す特性曲線図であり、VGAによる撮像結果を各種のフォーマットによりそれぞれ出力する場合を示すものである。   FIG. 13 is a characteristic curve diagram showing the number of output times of image data in units of lines that need to be repeatedly input to the vertical filter 8 according to the zoom magnification in the electronic zoom processing by line interpolation. It shows the case where each is output in the format.

これにより十分なズーム倍率を確保しようとした場合、このようなメモリ回路7におけるアドレス制御による繰り返しの出力だけでは、必要な回数分だけ垂直フィルタ8に画像データを出力できないことが判る。   As a result, when it is attempted to secure a sufficient zoom magnification, it can be seen that image data cannot be output to the vertical filter 8 a necessary number of times only by repeated output by address control in the memory circuit 7 as described above.

これによりこの実施例において、メモリ回路7におけるアドレス制御による繰り返しの出力だけでは、必要な回数分だけ垂直フィルタ8に画像データを出力できない場合、分周回路5A、5Bにおける分周比の切り換えにより、メモリ回路7の処理速度に対してイメージセンサ2、カメラ信号処理回路4の処理速度を低下させ、必要な回数分だけ垂直フィルタ8に画像データを出力する。   As a result, in this embodiment, when image data cannot be output to the vertical filter 8 as many times as necessary by only repeated output by address control in the memory circuit 7, switching of the frequency dividing ratio in the frequency dividing circuits 5A and 5B The processing speed of the image sensor 2 and the camera signal processing circuit 4 is reduced with respect to the processing speed of the memory circuit 7 and the image data is output to the vertical filter 8 as many times as necessary.

すなわち図10(A1)〜(E2)との対比により図14(A3)〜(E3)に示すように、この実施例においては、システムコントローラ6によるクロックコントローラ5Cの制御により、イメージセンサ2、カメラ信号処理回路4における処理速度が低下し、メモリ回路7に入力する画像データD1の1水平走査期間の長さが、例えば2倍によるズーム倍率の場合に比して2倍に設定される。これによりメモリ回路7は、この場合、このようにして延長された1水平走査期間により、4ラインの繰り返しにより画像データを出力し、4倍のズーム倍率を確保する。またこれによりメモリ回路7は、1水平走査期間の間で、繰り返しの画像データ出力を実施できない場合でも、図14(A4)〜(E4)に示すように、この場合、2ラインの繰り返し出力を実行し得、これにより2倍のズーム倍率を確保することができるようになされている。   That is, as shown in FIGS. 14 (A3) to (E3) in comparison with FIGS. 10 (A1) to (E2), in this embodiment, the image controller 2 and the camera are controlled by the control of the clock controller 5C by the system controller 6. The processing speed in the signal processing circuit 4 is reduced, and the length of one horizontal scanning period of the image data D1 input to the memory circuit 7 is set to twice as compared with, for example, a zoom magnification of twice. Thus, in this case, the memory circuit 7 outputs image data by repeating four lines in one horizontal scanning period thus extended, and ensures a zoom magnification of 4 times. As a result, even if the memory circuit 7 cannot repeatedly output image data during one horizontal scanning period, as shown in FIGS. 14 (A4) to (E4), the memory circuit 7 outputs 2 lines repeatedly. This can be executed, and thereby, a zoom magnification of 2 times can be secured.

しかして図15は、このレート変換時におけるメモリ回路7における画像データの処理を示す略線図であり、メモリ回路7においては、この場合、カメラ信号処理回路4から出力される延長された1水平走査期間に係る画像データD1を、この延長された1水平走査期間で、ライン単位で、繰り返し出力するようになされている(図15(A)〜(C))。   FIG. 15 is a schematic diagram showing the processing of the image data in the memory circuit 7 at the time of the rate conversion. In the memory circuit 7, in this case, one extended horizontal signal output from the camera signal processing circuit 4 is shown. The image data D1 relating to the scanning period is repeatedly output line by line in this extended one horizontal scanning period (FIGS. 15A to 15C).

メモリ回路7においては、これら一連の処理に対応するように、また垂直フィルタ8に続く水平フィルタ9における処理に対応するように、メモリコントローラ28により各ラインメモリ25A〜25Cの動作が制御される。   In the memory circuit 7, the operations of the line memories 25 </ b> A to 25 </ b> C are controlled by the memory controller 28 so as to correspond to the series of processes and to correspond to the processes in the horizontal filter 9 subsequent to the vertical filter 8.

すなわちメモリコントローラ28は、上位のコントローラにより指示されるズーム倍率に応じて、垂直方向については、垂直フィルタ8におけるライン内挿処理に供する有効表示領域についてのみ、選択的にラインメモリ25A〜25Cに入力し、これにより無駄なラインに係る処理を防止する。また水平方向については、図16に示すように、1ライン分の入力画像データD1を全てラインメモリ25A〜25Cに格納し、この格納した画像データより水平方向の内挿処理に供する有効表示領域についてのみ、選択的にラインメモリ25A〜25Cより出力し、またライン単位で繰り返し出力し、これによりこの場合も無駄な処理を防止する(図16(A)〜(D))。   That is, the memory controller 28 selectively inputs only the effective display area used for the line interpolation process in the vertical filter 8 to the line memories 25A to 25C in the vertical direction according to the zoom magnification instructed by the host controller. Thus, processing related to a useless line is prevented. As for the horizontal direction, as shown in FIG. 16, all the input image data D1 for one line is stored in the line memories 25A to 25C, and the effective display area used for the interpolation process in the horizontal direction from the stored image data. Only selectively output from the line memories 25A to 25C, and repeatedly output in line units, thereby preventing unnecessary processing in this case (FIGS. 16A to 16D).

また図17に示すように、ズーム倍率に応じたラインメモリ25A〜25Cの読み出しアドレス制御、垂直フィルタ8の出力段に設けられたフリップフロップ回路12のイネーブル制御、水平フィルタ9の遅延回路を構成するフリップフロップ回路16のイネーブル制御により、ズーム倍率に応じた複数クロック周期の間、同一の画素に係る画像データを水平フィルタ9に供給して内挿演算処理を繰り返す。すなわち例えばラインメモリ25B、25Cより画像データD2を出力する場合にあって(図17(A))、2倍によるズーム倍率により水平方向に電子ズームの処理を実行する場合、これらラインメモリ25B、25Cの読み出しアドレスの生成に係るアドレスカウンタの歩進速度を1/2に低下させ、これによりズーム倍率に応じてラインメモリ25B、25Cからの画像データ出力速度を低下させる(図17(B)及び(C))。これによりこの場合、連続する2クロック周期で同一画素に係る画像データD2を垂直フィルタ8に繰り返し入力し、各クロック周期で内挿処理を繰り返す(図17(D))。またフリップフロップ回路12、フリップフロップ回路16のイネーブル制御により、この垂直フィルタ8による繰り返しに係る画像データのうち、連続する画素に係る画像データを水平フィルタ9の乗算回路14A、14Bに、同時並列的に、かつズーム倍率に応じたクロック周期の間、入力し、ここで内挿処理を実行する(図17(E)及び(F))。しかしてこの図17においては、ラインメモリ25B、25Cの出力データY4、Y5、Y6、……の組み合わせの表示Y4/Y5、Y5/6、……により、垂直フィルタ8の出力データと水平フィルタ9の出力データとの対応関係を示す。これによりこの実施例においては、カメラ信号処理回路4から出力される画像データD2の水平方向に連続するサンプリング点間に、ズーム倍率に応じた複数のサンプリング点に係る画像データを生成できるようになされている。   Further, as shown in FIG. 17, the read address control of the line memories 25A to 25C according to the zoom magnification, the enable control of the flip-flop circuit 12 provided at the output stage of the vertical filter 8, and the delay circuit of the horizontal filter 9 are configured. By the enable control of the flip-flop circuit 16, the image data relating to the same pixel is supplied to the horizontal filter 9 for a plurality of clock cycles corresponding to the zoom magnification, and the interpolation calculation process is repeated. That is, for example, when the image data D2 is output from the line memories 25B and 25C (FIG. 17A), when the electronic zoom process is executed in the horizontal direction with the zoom magnification of 2 times, the line memories 25B and 25C are used. The stepping speed of the address counter related to the generation of the read address is reduced to ½, thereby reducing the image data output speed from the line memories 25B and 25C in accordance with the zoom magnification (FIG. 17B and ( C)). Thereby, in this case, the image data D2 relating to the same pixel is repeatedly input to the vertical filter 8 in two consecutive clock cycles, and the interpolation process is repeated in each clock cycle (FIG. 17D). In addition, by enabling control of the flip-flop circuit 12 and the flip-flop circuit 16, among the image data related to the repetition by the vertical filter 8, image data related to continuous pixels is simultaneously sent in parallel to the multiplier circuits 14 A and 14 B of the horizontal filter 9. And during the clock period corresponding to the zoom magnification, the interpolation processing is executed here (FIGS. 17E and 17F). In FIG. 17, the output data of the vertical filter 8 and the horizontal filter 9 are indicated by the display Y4 / Y5, Y5 / 6,... Of combinations of the output data Y4, Y5, Y6,. The correspondence relationship with the output data is shown. As a result, in this embodiment, image data relating to a plurality of sampling points corresponding to the zoom magnification can be generated between sampling points that are continuous in the horizontal direction of the image data D2 output from the camera signal processing circuit 4. ing.

これに対して図18は、図15との対比によりイメージセンサ2及びカメラ信号処理回路4におけるデータ転送速度を低減させた場合の、ラインメモリ25A〜25Cの書き込み制御を示すタイムチャートである。メモリコントローラ28は、この場合、クロック生成回路5における分周回路5A、5Bの設定切り換えに連動して、ラインメモリへの書き込みアドレス生成に係るアドレスカウンタの歩進速度を低下させる(図18(A)〜(D)及び(F))。またこれと連動してライトイネーブル信号を所定周期で出力し(図18(E))、これらにより出力画像データD2の処理速度により動作して、ズーム倍率に応じてデータ転送速度が低減されてなる入力画像データD1を順次ラインメモリに記録する(図18(F)及び(G))。またこのようにして記録した画像データの出力については、図17について、上述したと同様にして出力する。   On the other hand, FIG. 18 is a time chart showing the write control of the line memories 25A to 25C when the data transfer speed in the image sensor 2 and the camera signal processing circuit 4 is reduced by comparison with FIG. In this case, the memory controller 28 decreases the stepping speed of the address counter related to the generation of the write address to the line memory in conjunction with the setting switching of the frequency dividing circuits 5A and 5B in the clock generation circuit 5 (FIG. 18A ) To (D) and (F)). In conjunction with this, the write enable signal is output at a predetermined cycle (FIG. 18E), and the data transfer speed is reduced in accordance with the zoom magnification by operating at the processing speed of the output image data D2. The input image data D1 is sequentially recorded in the line memory (FIGS. 18F and 18G). The image data recorded in this way is output in the same manner as described above with reference to FIG.

しかしてこれらにより水平フィルタ9から出力される電子ズーム処理結果による画像データにおいては、ズーム倍率に応じて1水平走査期間の間で複数ラインが出力され、またイメージセンサ2、カメラ信号処理回路4における処理速度に応じて変化するフレームレートにより出力されることになる。記録系/モニタ系30は、この水平フィルタ9から出力される電子ズーム処理により画像データを取得してモニタ装置により表示する。またシステムコントローラ6の制御によりこの取得した画像データをデータ圧縮して所定の記録媒体に記録する。   Accordingly, in the image data obtained as a result of the electronic zoom processing output from the horizontal filter 9 in these manners, a plurality of lines are output during one horizontal scanning period according to the zoom magnification, and in the image sensor 2 and the camera signal processing circuit 4. It is output at a frame rate that changes according to the processing speed. The recording / monitoring system 30 acquires image data by the electronic zoom process output from the horizontal filter 9 and displays it on the monitor device. The acquired image data is data-compressed and recorded on a predetermined recording medium under the control of the system controller 6.

システムコントローラ6は、ユーザーによる操作に応動してこの撮像装置1全体の動作を制御する制御手段であり、ズームの操作子31の操作に応動してズーム倍率を計算し、この計算したズーム倍率により電子ズームの処理を実行するように、メモリコントローラ28にズーム倍率を指示し、またクロックコントローラ5Cに分周回路5A、5Bの制御を指示する。   The system controller 6 is a control unit that controls the overall operation of the image pickup apparatus 1 in response to an operation by a user. The system controller 6 calculates a zoom magnification in response to an operation of the zoom operator 31 and uses the calculated zoom magnification. The zoom magnification is instructed to the memory controller 28 and the clock controller 5C is instructed to control the frequency dividing circuits 5A and 5B so as to execute the electronic zoom process.

(2)実施例の動作
以上の構成において、この撮像装置1では(図1)、イメージセンサ2による撮像結果が画像データに変換されてカメラ信号処理回路4により処理された後、メモリ回路7、垂直フィルタ8、水平フィルタ9により順次処理されて記録系/モニタ系30に出力され、これにより撮像結果をモニタすることができるようになされ、また記録媒体に記録して保存することができるようになされている。
(2) Operation of Embodiment In the above configuration, in the imaging apparatus 1 (FIG. 1), after the imaging result by the image sensor 2 is converted into image data and processed by the camera signal processing circuit 4, the memory circuit 7, The vertical filter 8 and the horizontal filter 9 are sequentially processed and output to the recording system / monitor system 30 so that the imaging result can be monitored, and can be recorded and stored in a recording medium. Has been made.

この一連の処理において、カメラ信号処理回路4から出力される画像データD1は、イメージセンサ2の駆動によるライン間引き、画素間引きにより、記録系/モニタ系30への出力に係る画像データD2のライン数、水平解像度によりメモリ回路7に入力される。またこのようにして入力される画像データD1は、メモリ回路7に設けられた複数のラインメモリ25A〜25Cを順次循環的にライン単位で記録され、また画像データD1の記録に供していない残りのラインメモリより、同時並列的に画像データが読み出されて垂直フィルタ8に入力され、ここで垂直フィルタ8によるライン内挿処理により、垂直方向に電子ズームの処理が実行される。また続く水平フィルタ9における内挿処理により水平方向に電子ズームの処理が実行される。   In this series of processing, the image data D1 output from the camera signal processing circuit 4 is the number of lines of image data D2 related to output to the recording system / monitor system 30 by line thinning and pixel thinning by driving the image sensor 2. Are input to the memory circuit 7 in accordance with the horizontal resolution. Further, the image data D1 input in this way is recorded in a line unit in a cyclic manner in a plurality of line memories 25A to 25C provided in the memory circuit 7, and the remaining image data D1 not used for recording the image data D1. Image data is read simultaneously and in parallel from the line memory and input to the vertical filter 8, where electronic zoom processing is executed in the vertical direction by line interpolation processing by the vertical filter 8. Further, the electronic zoom processing is executed in the horizontal direction by the interpolation processing in the subsequent horizontal filter 9.

しかしてこの電子ズームの処理において、ズーム倍率1により画像データを出力する場合、すなわち何ら電子ズームにより画像を拡大することなくモニタに表示する場合、垂直フィルタ8においては、同時並列的に入力される複数ラインの1つを選択出力するように内挿係数が設定されてライン内挿演算処理され、また水平フィルタ9においては、同様に、1系統のサンプリング値を選択出力するように内挿係数が設定されて内挿演算処理され、これにより1倍による電子ズーム処理結果による画像データD2が水平フィルタ9から出力される。   In this electronic zoom processing, when image data is output at a zoom magnification of 1, that is, when an image is displayed on the monitor without being enlarged by any electronic zoom, the vertical filter 8 is input simultaneously and in parallel. The interpolation coefficient is set so that one of a plurality of lines is selectively output, and the line interpolation calculation process is performed. Similarly, in the horizontal filter 9, the interpolation coefficient is selected so as to selectively output one sampled value. The image data D2 is output from the horizontal filter 9 as a result of the electronic zoom processing by one time.

これに対してズーム倍率1倍以上の場合には、画像データD1 は、ズーム倍率に応じた各内挿処理に係るサンプリング位相に応じて、垂直フィルタ8、水平フィルタ9における内挿係数が設定されて垂直フィルタ8、水平フィルタ9によりそれぞれ内挿演算処理される。この処理において、例えばズーム倍率が2倍未満の場合には、水平フィルタ9から出力される画像データD2の特定のラインでは、画像データD1の連続する2ラインにより2ライン分の内挿演算処理を実行することが必要になる。またズーム倍率が2倍の場合には、水平フィルタ9から出力される画像データD2の全てのラインで、画像データD1の連続する2ラインより2ライン分の内挿演算処理を実行することが必要になる。またズーム倍率が2倍を越え、3倍未満の場合には、画像データD1の連続する2ラインより2ライン分又は3ライン分の内挿演算処理を実行することが必要になる。   On the other hand, when the zoom magnification is 1 or more, the image data D1 is set with interpolation coefficients in the vertical filter 8 and the horizontal filter 9 in accordance with the sampling phase related to each interpolation process according to the zoom magnification. The vertical filter 8 and the horizontal filter 9 respectively perform interpolation calculation processing. In this process, for example, when the zoom magnification is less than two times, interpolation processing for two lines is performed on a specific line of the image data D2 output from the horizontal filter 9 by two consecutive lines of the image data D1. It becomes necessary to execute. When the zoom magnification is 2 times, it is necessary to execute the interpolation calculation process for two lines from the two continuous lines of the image data D1 for all the lines of the image data D2 output from the horizontal filter 9. become. When the zoom magnification exceeds 2 times and is less than 3 times, it is necessary to execute interpolation processing for two lines or three lines from two consecutive lines of the image data D1.

画像データD1においては、このようなズーム倍率に応じて変化するライン内挿処理に対して、画像データD1の1水平走査期間で、ライン単位で、垂直フィルタ8への出力が繰り返され、これによりズーム倍率に応じて必要なライン内挿演算処理が垂直フィルタ8で繰り返される。   In the image data D1, output to the vertical filter 8 is repeated for each line in one horizontal scanning period of the image data D1 with respect to such line interpolation processing that changes in accordance with the zoom magnification. Necessary line interpolation processing is repeated by the vertical filter 8 in accordance with the zoom magnification.

また水平方向については、同様にして、ズーム倍率が2倍未満の場合には、水平フィルタ9から出力される画像データD2の特定の画素では、画像データD1の連続する2画素により2画素の内挿演算処理を実行することが必要になる。またズーム倍率が2倍の場合には、水平フィルタ9から出力される画像データD2の全ての画素で、画像データD1の連続する2画素より2画素の内挿演算処理を実行することが必要になる。またズーム倍率が2倍を越え、3倍未満の場合には、画像データD1の連続する2画素より2画素、又は3画素の内挿演算処理を実行することが必要になる。   Similarly, in the horizontal direction, when the zoom magnification is less than two times, the specific pixel of the image data D2 output from the horizontal filter 9 includes two consecutive pixels of the image data D1. It is necessary to execute an insertion calculation process. Further, when the zoom magnification is 2 times, it is necessary to execute the interpolation calculation process of 2 pixels from all the continuous 2 pixels of the image data D1 for all the pixels of the image data D2 output from the horizontal filter 9. Become. When the zoom magnification exceeds 2 times and is less than 3 times, it is necessary to execute an interpolation calculation process of 2 pixels or 3 pixels from two consecutive pixels of the image data D1.

画像データD1においては、このようなズーム倍率に応じて変化する水平方向の内挿処理に対して、メモリ回路7からの読み出し速度が低下されて画像データD1の複数クロック周期で1画素の画像データD1が垂直フィルタ8に出力され、また画像データD1のクロック周期による内挿演算処理が垂直フィルタ8の出力段に設けられたフリップフロップ回路、水平フィルタ9の遅延回路を構成するフリップフロップ回路のイネーブル制御により一時的に処理が中止され、これらにより水平方向への電子ズームの処理が実行される。   In the image data D1, the reading speed from the memory circuit 7 is reduced with respect to the horizontal interpolation process that changes according to the zoom magnification, and the image data of one pixel is obtained at a plurality of clock cycles of the image data D1. D1 is output to the vertical filter 8 and the flip-flop circuit in which the interpolation operation processing according to the clock cycle of the image data D1 is provided at the output stage of the vertical filter 8 and the flip-flop circuit constituting the delay circuit of the horizontal filter 9 are enabled The processing is temporarily stopped by the control, and the electronic zoom processing in the horizontal direction is executed by these.

これらによりこの撮像装置1では、複数のラインメモリによるメモリ回路を用いて電子ズームの処理を実行することができ、その分、簡易な構成により電子ズームの処理を実行することができる。また電子ズームの倍率にあっても、イメージセンサ2のライン数、画素数に何ら制限されることなく設定することができ、これにより自由にズーム倍率を設定することができる。   As a result, the imaging apparatus 1 can execute the electronic zoom process using a memory circuit including a plurality of line memories, and accordingly, the electronic zoom process can be executed with a simple configuration. Even when the magnification of the electronic zoom is set, the number of lines and the number of pixels of the image sensor 2 can be set without any limitation, so that the zoom magnification can be freely set.

このようにして1水平走査期間におけるライン単位の画像データ出力を繰り返して、1水平走査期間に繰り返しの出力に係る時間的な余裕が無い場合、この撮像装置1では、撮像系であるイメージセンサ2、カメラ信号処理回路4の動作基準であるピクセルクロックPCKの周波数が低減されて、入力画像データD1の1水平走査期間が拡大され、これにより不足する1水平走査期間の時間的な余裕が確保される。この場合、画像データは、この拡大した1水平走査期間で、メモリ回路からライン単位で繰り返し出力される。   When image data output in units of lines in one horizontal scanning period is repeated in this way and there is no time allowance for repeated output in one horizontal scanning period, in this imaging apparatus 1, an image sensor 2 that is an imaging system is used. The frequency of the pixel clock PCK which is the operation reference of the camera signal processing circuit 4 is reduced, and one horizontal scanning period of the input image data D1 is expanded, thereby securing a time margin for one horizontal scanning period which is insufficient. The In this case, the image data is repeatedly output line by line from the memory circuit in this expanded one horizontal scanning period.

これによりこの撮像装置1では、大きなズーム倍率によっても、電子ズームの処理を実行することができ、一段と自由にズーム倍率を設定することができる。   As a result, the imaging apparatus 1 can execute the electronic zoom process even with a large zoom magnification, and the zoom magnification can be set more freely.

(3)実施例の効果
以上の構成によれば、入力画像データの1水平走査期間で、複数ラインの画像データをライン単位で繰り返し垂直フィルタに出力して内挿演算処理することにより、簡易な構成により、自由にズーム倍率を設定することができる。
(3) Advantages of the Embodiment According to the above configuration, a plurality of lines of image data are repeatedly output to the vertical filter in units of lines in one horizontal scanning period of the input image data, and an interpolation calculation process is performed. Depending on the configuration, the zoom magnification can be freely set.

またこのとき、撮像系であるイメージセンサ2、カメラ信号処理回路4の動作基準であるピクセルクロックPCKの周波数を低減し、入力画像データD1の1水平走査期間を拡大することにより、大きなズーム倍率によっても、電子ズームの処理を実行することができ、一段と自由にズーム倍率を設定することができる。   At this time, by reducing the frequency of the pixel clock PCK, which is the operation reference of the image sensor 2 and the camera signal processing circuit 4 that are imaging systems, and enlarging one horizontal scanning period of the input image data D1, a large zoom magnification can be obtained. In addition, the electronic zoom process can be executed, and the zoom magnification can be set more freely.

図19は、図1との対比により本発明の実施例2に係る撮像装置を示すブロック図である。この撮像装置40は、カメラ信号処理回路4とメモリ回路7との間に水平縮小フィルタ42が配置され、この水平縮小フィルタ42によりカメラ信号処理回路4から出力される画像データの水平方向に係るサンプリング数が低減される。また水平縮小フィルタ42においては、ライン単位で、間欠的に画像データの出力を中止し、これによりカメラ信号処理回路4から出力される画像データのライン数が低減される。   FIG. 19 is a block diagram illustrating an imaging apparatus according to the second embodiment of the present invention in comparison with FIG. In this imaging apparatus 40, a horizontal reduction filter 42 is disposed between the camera signal processing circuit 4 and the memory circuit 7, and sampling in the horizontal direction of image data output from the camera signal processing circuit 4 by the horizontal reduction filter 42 is performed. The number is reduced. Further, the horizontal reduction filter 42 intermittently stops outputting image data for each line, thereby reducing the number of lines of image data output from the camera signal processing circuit 4.

この撮像装置40は、イメージセンサ2における画素間引き、ライン間引きの処理を中止して水平縮小フィルタ42によりこれらの処理が実行される点を除いて、実施例1に係る撮像装置1と同一に構成される。   The imaging apparatus 40 has the same configuration as that of the imaging apparatus 1 according to the first embodiment except that the pixel thinning and line thinning processes in the image sensor 2 are stopped and these processes are executed by the horizontal reduction filter 42. Is done.

この実施例のように、メモリ回路7の入力段で画像データのライン数、画素数を低減するようにして処理するようにしても、実施例1と同様の効果を得ることができる。   As in this embodiment, even if the processing is performed by reducing the number of lines and the number of pixels of the image data at the input stage of the memory circuit 7, the same effect as in the first embodiment can be obtained.

図20は、図1との対比により本発明の実施例3に係る撮像装置を示すブロック図である。この撮像装置50は、水平フィルタ9の出力段にFIFOによるメモリ回路52が設けられ、このメモリ回路52により電子ズーム処理に係る画像データのタイミングが補正される。具体的にこの実施例においては、このメモリ回路52により、水平同期信号、垂直同期信号に同期した一定のレートにより画像データを出力する。   FIG. 20 is a block diagram illustrating an imaging apparatus according to the third embodiment of the present invention in comparison with FIG. The imaging device 50 is provided with a FIFO memory circuit 52 at the output stage of the horizontal filter 9, and the memory circuit 52 corrects the timing of image data related to the electronic zoom processing. Specifically, in this embodiment, the memory circuit 52 outputs image data at a constant rate synchronized with the horizontal synchronizing signal and the vertical synchronizing signal.

この実施例のように電子ズーム処理結果による画像データのタイミングを補正して出力するようにすれば、一定の処理速度により画像データの各サンプリング値を連続して出力することができ、これにより広く汎用のモニタ系、記録系により画像データを処理することができる。   If the timing of the image data based on the result of the electronic zoom processing is corrected and output as in this embodiment, each sampling value of the image data can be output continuously at a constant processing speed. Image data can be processed by a general-purpose monitor system or recording system.

なお上述の実施例においては、水平方向については全てのサンプリング値をラインメモリに記録して処理する場合について述べたが、本発明はこれに限らず、水平拡大領域の画像データだけ選択的にラインメモリに記録して処理するようにしてもよい。   In the above-described embodiment, the case where all sampling values are recorded in the line memory and processed in the horizontal direction has been described. However, the present invention is not limited to this, and only the image data in the horizontal enlargement area is selectively displayed. It may be recorded in a memory and processed.

また上述の実施例においては、入力画像データD1のクロック周波数を低減した場合には、ラインメモリのイネーブル制御により、間欠的にラインメモリに記録する場合について述べたが、本発明はこれに限らず、同一の領域に同一のサンプリング値を繰り返し記録するようにしてもよい。   In the above-described embodiment, the case has been described in which when the clock frequency of the input image data D1 is reduced, the line memory is intermittently recorded by the enable control of the line memory. However, the present invention is not limited to this. The same sampling value may be repeatedly recorded in the same area.

また上述の実施例においては、メモリ回路、垂直フィルタ、水平フィルタによる処理により電子ズームの処理を実行する場合について述べたが、本発明はこれに限らず、イメージセンサの駆動制御による電子ズームの手法を組み合わせるようにしてもよい。   In the above-described embodiments, the case where the electronic zoom processing is executed by the processing by the memory circuit, the vertical filter, and the horizontal filter has been described. However, the present invention is not limited to this, and the electronic zoom method by the drive control of the image sensor is described. May be combined.

また上述の実施例においては、撮像結果をモニタし、記録媒体に記録する場合について述べたが、本発明はこれに限らず、例えばビデオカメラ等、種々の映像機器に広く適用することができる。   In the above-described embodiments, the case where the imaging result is monitored and recorded on the recording medium has been described. However, the present invention is not limited to this, and can be widely applied to various video devices such as a video camera.

本発明は、撮像装置、種々の映像機器に適用することができる。   The present invention can be applied to an imaging apparatus and various video devices.

本発明の実施例に係る撮像装置を示すブロック図である。It is a block diagram which shows the imaging device which concerns on the Example of this invention. 図1の撮像装置の垂直フィルタを示すブロック図である。It is a block diagram which shows the vertical filter of the imaging device of FIG. 図1の撮像装置の垂直フィルタの他の例を示すブロック図である。It is a block diagram which shows the other example of the vertical filter of the imaging device of FIG. 図1の撮像装置の垂直フィルタの8タップの例を示すブロック図である。It is a block diagram which shows the example of 8 taps of the vertical filter of the imaging device of FIG. 図1の撮像装置の水平フィルタを示すブロック図である。It is a block diagram which shows the horizontal filter of the imaging device of FIG. 図1の撮像装置の水平フィルタの他の例を示すブロック図である。It is a block diagram which shows the other example of the horizontal filter of the imaging device of FIG. 図1の撮像装置の水平フィルタの8タップの例を示すブロック図である。It is a block diagram which shows the example of 8 taps of the horizontal filter of the imaging device of FIG. 各フォーマットにおけるライン数と画素数との関係を示す図表である。It is a graph which shows the relationship between the number of lines in each format, and the number of pixels. 各フォーマットにおける1水平走査期間に係る画素数の関係を示すタイムチャートである。It is a time chart which shows the relationship of the pixel count concerning 1 horizontal scanning period in each format. 電子ズームの処理に係るメモリ回路の入出力の説明に供するタイムチャートである。It is a time chart with which it uses for description of the input / output of the memory circuit which concerns on the process of electronic zoom. 電子ズームの処理の説明に供するタイムチャートである。It is a time chart used for description of processing of electronic zoom. ライン単位の繰り返しの出力に係る説明に供するタイムチャートである。It is a time chart with which it uses for the description which concerns on the output per line. 各フォーマットにおけるライン単位の繰り返し回数を示す特性曲線図である。It is a characteristic curve figure which shows the repetition frequency of the line unit in each format. 入力画像データのクロック周波数の低減によるメモリ回路の入出力の説明に供するタイムチャートである。6 is a time chart for explaining input / output of a memory circuit by reducing the clock frequency of input image data. 入力画像データのクロック周波数を低減した場合の、ライン単位の繰り返しの出力に係る説明に供するタイムチャートである。It is a time chart with which it uses for the description which concerns on the output per line when the clock frequency of input image data is reduced. メモリ回路への画像データの書き込み処理の説明に供するタイムチャートである。6 is a time chart for explaining a process of writing image data to a memory circuit. メモリ回路からの画像データの出力の説明に供するタイムチャートである。6 is a time chart for explaining output of image data from a memory circuit. 入力画像データのクロック周波数を低減した場合の、メモリ回路への画像データの書き込み処理の説明に供するタイムチャートである。6 is a time chart for explaining a process of writing image data into a memory circuit when the clock frequency of input image data is reduced. 実施例2に係る撮像装置を示すブロック図である。FIG. 6 is a block diagram illustrating an imaging apparatus according to a second embodiment. 実施例3に係る撮像装置を示すブロック図である。FIG. 9 is a block diagram illustrating an imaging apparatus according to a third embodiment.

符号の説明Explanation of symbols

1、40、50……撮像装置、2……イメージセンサ、4……カメラ信号処理回路、5……クロック生成回路、6……システムコントローラ、7……メモリ回路、8……垂直フィルタ、9……水平フィルタ
DESCRIPTION OF SYMBOLS 1, 40, 50 ... Imaging device, 2 ... Image sensor, 4 ... Camera signal processing circuit, 5 ... Clock generation circuit, 6 ... System controller, 7 ... Memory circuit, 8 ... Vertical filter, 9 ...... Horizontal filter

Claims (2)

画像データを所望のズーム倍率により拡大して出力画像データを出力する電子ズーム装置において、
少なくとも3個以上の複数のラインメモリを有し、前記複数のラインメモリを順次循環的に選択して順次入力される前記画像データを前記ラインメモリに記録すると共に、前記複数のラインメモリのうちの残りのラインメモリから複数ラインの前記画像データを同時並列的に読み出して出力するメモリ回路と、
前記メモリ回路から出力される前記複数ラインの画像データを内挿演算処理して出力する垂直フィルタと、
前記垂直フィルタの出力データを内挿演算処理し、前記ズーム倍率により水平方向に拡大した前記出力画像データを出力する水平フィルタとを備え、
前記メモリ回路は、
前記ズーム倍率に応じて、前記入力画像データの1水平走査期間で、前記複数ラインの画像データをライン単位で繰り返し出力することにより、前記ズーム倍率により垂直方向に拡大した画像データが前記垂直フィルタより出力されるようにし、
前記ズーム倍率に応じて、複数のクロック周期で1の画像データを出力することにより、前記ズーム倍率により水平方向に拡大した画像データが前記水平フィルタより出力されるようにする
ことを特徴とする電子ズーム装置。
In an electronic zoom device that expands image data at a desired zoom magnification and outputs output image data,
A plurality of line memories having at least three or more, wherein the plurality of line memories are sequentially and cyclically selected to record the sequentially input image data in the line memory; A memory circuit for simultaneously reading out and outputting the image data of a plurality of lines from the remaining line memory; and
A vertical filter for interpolating and outputting the image data of the plurality of lines output from the memory circuit;
A horizontal filter for interpolating the output data of the vertical filter and outputting the output image data expanded in the horizontal direction by the zoom magnification;
The memory circuit includes:
According to the zoom magnification, the image data enlarged in the vertical direction by the zoom magnification is output from the vertical filter by repeatedly outputting the image data of the plurality of lines in units of lines in one horizontal scanning period of the input image data. To be output,
According to the zoom magnification, by outputting one image data at a plurality of clock cycles, image data enlarged in the horizontal direction by the zoom magnification is output from the horizontal filter. Zoom device.
前記入力画像データを取得する撮像手段を有し、
前記ズーム倍率に応じて、前記撮像手段のクロック周波数を低減して、前記入力画像データの1水平走査期間を拡大し、前記入力画像データの1水平走査期間で、前記メモリ回路からのライン単位の画像データの出力回数を増大させる
ことを特徴とする請求項1に記載の電子ズーム装置。
Having an imaging means for acquiring the input image data;
In accordance with the zoom magnification, the clock frequency of the imaging means is reduced to enlarge one horizontal scanning period of the input image data, and in one horizontal scanning period of the input image data, the line unit from the memory circuit The electronic zoom device according to claim 1, wherein the number of times image data is output is increased.
JP2004195304A 2004-07-01 2004-07-01 Electronic zoom device Expired - Fee Related JP4424097B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004195304A JP4424097B2 (en) 2004-07-01 2004-07-01 Electronic zoom device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004195304A JP4424097B2 (en) 2004-07-01 2004-07-01 Electronic zoom device

Publications (2)

Publication Number Publication Date
JP2006020024A true JP2006020024A (en) 2006-01-19
JP4424097B2 JP4424097B2 (en) 2010-03-03

Family

ID=35793845

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004195304A Expired - Fee Related JP4424097B2 (en) 2004-07-01 2004-07-01 Electronic zoom device

Country Status (1)

Country Link
JP (1) JP4424097B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104782118A (en) * 2012-12-28 2015-07-15 深圳艾科创新微电子有限公司 Video playing apparatus and method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102295526B1 (en) 2017-04-10 2021-08-30 삼성전자 주식회사 Image sensor and image processing device including the same

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104782118A (en) * 2012-12-28 2015-07-15 深圳艾科创新微电子有限公司 Video playing apparatus and method
CN104782118B (en) * 2012-12-28 2018-05-15 深圳开阳电子股份有限公司 Video scaling apparatus and method

Also Published As

Publication number Publication date
JP4424097B2 (en) 2010-03-03

Similar Documents

Publication Publication Date Title
JP2007228019A (en) Imaging apparatus
JP4255345B2 (en) Imaging device
JP2004064334A (en) Image pick-up apparatus
KR100873880B1 (en) Image processing apparatus and image processing method
JP2002077698A (en) Image pickup device, apparatus and method of image processing thereof, and recording medium
JP3133702B2 (en) Digital still camera
JP4424097B2 (en) Electronic zoom device
JP5972016B2 (en) Imaging device
JP4697094B2 (en) Image signal output apparatus and control method thereof
JP2004260265A (en) Pixel extracting circuit having pixel turning over function, and image pickup apparatus
JP3912305B2 (en) Pixel density converter
US20090046176A1 (en) Video signal processing apparatus
JP5315093B2 (en) Imaging apparatus and imaging method
JP2006003481A (en) Image size conversion apparatus and image pickup apparatus
JP4367193B2 (en) Scanning line converter
JP2009071616A (en) Image processor and control method thereof
JP2007243819A (en) Image processing apparatus
JP2006303693A (en) Electronic camera provided with function of generating reduced picture
JP2007020112A (en) Image signal processing apparatus, image signal processing method and imaging device
JP2007336175A (en) Electronic zoom apparatus
JP4439338B2 (en) Image converter
JP3681940B2 (en) Image reduction device
JP4104526B2 (en) Image reduction device and imaging device
JP2000307943A (en) Electronic zoom device
JP2003224715A (en) Image processing circuit and image processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070416

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20090331

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20090402

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090814

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090818

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091009

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20091117

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20091130

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

Free format text: PAYMENT UNTIL: 20121218

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees