JP2006041867A - Image processing method and image processor, imaging apparatus, and timing controller - Google Patents
Image processing method and image processor, imaging apparatus, and timing controller Download PDFInfo
- Publication number
- JP2006041867A JP2006041867A JP2004218282A JP2004218282A JP2006041867A JP 2006041867 A JP2006041867 A JP 2006041867A JP 2004218282 A JP2004218282 A JP 2004218282A JP 2004218282 A JP2004218282 A JP 2004218282A JP 2006041867 A JP2006041867 A JP 2006041867A
- Authority
- JP
- Japan
- Prior art keywords
- scanning direction
- processing
- unit
- image
- pixel information
- 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
Links
Images
Abstract
Description
本発明は、画像処理方法および画像処理装置並びに撮像装置および撮像装置を構成する撮像デバイスの駆動タイミングを制御するタイミング制御装置に関する。より詳細には、画像の拡大変換処理を電子的に行なう仕組みに関する。 The present invention relates to an image processing method, an image processing apparatus, an imaging apparatus, and a timing control apparatus that controls drive timing of imaging devices that constitute the imaging apparatus. More specifically, the present invention relates to a mechanism for electronically performing image enlargement conversion processing.
デジタル画像信号処理LSI(Large Scale Integrated Circuit;大規模集積回路)との組合せを利用して、画像データに対する電子的な補間処理によって、画像を拡大もしくは縮小する解像度変換処理が知られている。 A resolution conversion process is known in which an image is enlarged or reduced by electronic interpolation processing on image data using a combination with a digital image signal processing LSI (Large Scale Integrated Circuit).
たとえば、CCD(Charge Coupled Device) 撮像素子やCMOS(Complementary Metal-Oxide Semiconductor )撮像素子などの撮像素子(撮像デバイス)を用いて画像を撮像する撮像装置においては、デジタル画像信号処理LSIを利用することで、カメラの機能を電子部品を中心に構成することが可能であり、光学ズーム系を使わずに、前述の解像度変換処理を利用して電子的にズーム処理を行なう仕組みが考えられている。この場合、フレームメモリ(あるいはフィールドメモリ)を用いて、固体撮像デバイスとデジタル画像信号処理LSIのみで撮像画像のズーム機能を実現する仕組みが提案されている(たとえば特許文献1の従来技術を参照)。 For example, in an imaging device that captures an image using an imaging device (imaging device) such as a CCD (Charge Coupled Device) imaging device or a CMOS (Complementary Metal-Oxide Semiconductor) imaging device, a digital image signal processing LSI is used. Thus, it is possible to configure the camera function centered on electronic components, and a mechanism for performing electronic zoom processing using the resolution conversion processing described above without using an optical zoom system is considered. In this case, a mechanism for realizing a zoom function of a captured image using only a solid-state imaging device and a digital image signal processing LSI using a frame memory (or field memory) has been proposed (see, for example, the prior art in Patent Document 1). .
図11は、フレームメモリを用いて電子ズーム機能を実現する仕組みの従来の構成例を説明する図である。また、図12および図13は、フレームメモリを利用した補間方法を説明する図である。 FIG. 11 is a diagram for explaining a conventional configuration example of a mechanism for realizing an electronic zoom function using a frame memory. 12 and 13 are diagrams for explaining an interpolation method using a frame memory.
図11に示すように、撮像装置900は、電子ズーム動作を制御するズーム制御部(デバイス制御の機能部分)と連動して動作する駆動制御部996の制御の元で、固体撮像素子910が画素信号を読み出して後段の画像信号処理部966に供給する。なお、図では、たとえば相関2重サンプリングやAD変換処理などの機能部分を割愛して示している。
As illustrated in FIG. 11, the imaging apparatus 900 includes a solid-
画像信号処理部966にて所定の信号処理がされた画素データはフレームメモリ967に一時的に記憶される。なお、フレームメモリ967は、1フレームの全画素データを記録するためのメモリであるが、たとえば2倍ズームの画像データが欲しいときには、固体撮像素子910の一部の領域のみ読み出して記憶する。
Pixel data that has undergone predetermined signal processing by the image
次に、電子ズーム動作を制御するズーム制御部(メモリ制御の機能部分)992の指示に従って所定のタイミングで画素データをフレームメモリ967から読み出して、後段の補間処理部998に画素データを渡す。
Next, pixel data is read from the
補間処理部998は、電子ズーム動作を制御するズーム制御部(補間処理制御の機能部分)992の制御の元で、ズーム倍率に応じた隙間を画素間に設け、その隙間に信号処理によって補間信号を生成し、元々の画像と同じサイズの画像を構成する。
The
たとえば、ズーム倍率に応じた補間すべき注目画素に隣接する複数ラインの画素データを用いて垂直フィルタ処理を行なってライン数を所望のライン数にする、すなわち垂直画素数を所望の画素数に変換することで垂直方向の解像度変換処理を行なうとともに、ズーム倍率に応じた補間すべき注目画素に隣接する同一ラインの画素データを用いて水平フィルタ処理を行なって水平画素数を所望の画素数に変換することで水平方向の解像度変換処理を行なう。こうすることで、補間処理部998からは、電子ズーム処理画像出力が得られる。
For example, vertical filter processing is performed using pixel data of multiple lines adjacent to the pixel of interest to be interpolated according to the zoom magnification to make the number of lines the desired number of lines, that is, the number of vertical pixels is converted to the desired number of pixels In addition to performing vertical resolution conversion processing, the horizontal filter processing is performed using the pixel data of the same line adjacent to the target pixel to be interpolated according to the zoom magnification to convert the number of horizontal pixels to the desired number of pixels. By doing so, resolution conversion processing in the horizontal direction is performed. By doing so, an electronic zoom processed image output is obtained from the
ここで、フレームメモリ967を使用しているのは、固体撮像素子910からは、ズーム倍率に関わらず画素信号がそのまま出力されてくる垂れ流しシステムであるので、拡大時に、切出領域のライン間を補間しながら読出処理をするには、そのライン補間をするための時間のずれをカバーする仕組みが必要だからである(図13を参照)。
Here, the
つまり、拡大ズーム処理時には、撮像デバイスから逐次読み出される撮像信号をラインメモリに順次格納しつつ、拡大時に不足するラインデータを補間処理で生成するべく(垂直解像度変換)、所定数のラインデータを読み出して垂直補間処理を行なう必要がある。これをリアルタイムで行なおうとすれば、先ず、垂直方向のズーム対象分のラインデータを保持するフレームメモリのような大規模なメモリが必要となる。たとえば、固体撮像素子910からは画素信号が画像信号処理部966に入り続けてくるため、2倍ズーム時には有効画素の1/2ライン(480ライン)分のメモリが必要になる。
In other words, during enlargement zoom processing, an image signal sequentially read from the imaging device is sequentially stored in the line memory, and a predetermined number of line data is read in order to generate line data that is insufficient during enlargement (vertical resolution conversion). Therefore, it is necessary to perform vertical interpolation processing. If this is to be done in real time, first, a large-scale memory such as a frame memory that holds line data for the zoom target in the vertical direction is required. For example, since the pixel signal continues to enter the image
たとえば、図12(A)は、固体撮像素子910が撮像する有効領域を2次元表現したマップである。本例の固体撮像素子910は、水平方向が1280画素で垂直方向が960ラインの約1.3Mピクセルの撮像デバイスである。
For example, FIG. 12A is a map in which the effective area captured by the solid-
フレームメモリ967には、固体撮像素子910の画素配列順に画素データを順に読み出して記憶するとともに、電子ズーム時には、そのズーム倍率に応じて、少なくともそのズーム時に使用する画像領域の垂直方向の使用領域に相当する画素データを記憶する。一例として、図12(B)に示すように、2倍ズーム時には、通常時の960ラインに対して、その半分の480ライン分(たとえば垂直方向の中央部)の画素データのみをフレームメモリ967に記憶する。
In the
また、補間処理部998は、図12(C)に示すように、ズーム倍率に応じた補間すべき注目画素に隣接する複数ラインの画素データをラインメモリから読み出して、これら複数ラインの画素データを用いて、補間処理を利用した垂直フィルタ処理を行なう。すなわち、ズーム倍率に応じた補間すべき注目画素に隣接する隣接する複数ラインの生の画素データもしくは水平方向の補間処理によって求められた水平補間データを用いて垂直画素数を所望の画素数に変換することで、垂直方向の解像度変換処理を行なう。
Further, as shown in FIG. 12C, the
このとき、図13に示すように、固体撮像素子910から読み出した画素データを順次使って垂直補間を行なうには、内挿ライン(差分ライン)の補間処理のため、固体撮像素子910から読み出した画素データを記憶する複数ライン分記憶する手段が必要になる。
At this time, as shown in FIG. 13, in order to perform vertical interpolation by sequentially using the pixel data read from the solid-
次に補間処理部998は、この垂直方向の解像度変換処理後の画素データ(ラインデータ)を一旦、図示しないラインメモリに格納する。つまり、固体撮像素子910から電子ズーム時に使用する予定の領域(たとえば画面中央部)の画素信号を一度フレームメモリ967に格納し、補間処理部998へタイミング管理をしながら転送し、補間処理部998で補間処理にて水平補間処理を行なう。
Next, the
たとえば、補間処理部998は、図12(D)に示すように、水平方向の全1280画素の内、その半分の640画素(たとえば水平方向の中央部)の領域のみを処理対象として、補間処理を利用した水平フィルタ処理を行なう。すなわちズーム倍率に応じた補間すべき注目画素に隣接する同一ラインの生の画素データを用いて水平画素数を所望の画素数に変換することで、水平方向の解像度変換処理を行なう。
For example, as shown in FIG. 12D, the
しかしながら、このような従来の電子式ズーム処理では、1フレーム分もしくはズーム倍率に応じたライン数分の画素データを記憶するための回路規模が大きなフレームモリのような大規模な記憶手段が必要であり、画素補間を行なうデジタル処理LSI(補間処理部998)も必要となりハードウェアの増加を招いており、回路構成が大規模になる。加えて、フレームメモリなどの大規模な記憶手段からの画素データの読出制御で、補間のための隙間を作るような難しい制御を実現する必要があり、ズーム制御部の回路構成も複雑・大規模にならざるを得ない。 However, such conventional electronic zoom processing requires a large-scale storage means such as a frame memory having a large circuit scale for storing pixel data for one frame or the number of lines corresponding to the zoom magnification. There is also a need for a digital processing LSI (interpolation processing unit 998) that performs pixel interpolation, resulting in an increase in hardware and a large circuit configuration. In addition, it is necessary to realize difficult control that creates a gap for interpolation in the readout control of pixel data from a large-scale storage means such as a frame memory, and the circuit configuration of the zoom control unit is also complicated and large-scale I have to be.
全体として、大規模、高消費電力あるいは高コストなシステムになってしまうから、センサチップ(撮像デバイス)単体で電子ズーム処理を行なう固体撮像装置、たとえば低コストや小規模構成が要求される携帯電話用やモバイル機器用のカメラなどを実現する際の電子ズームとしては導入し難いという問題がある。 As a whole, the system becomes a large-scale, high-power-consumption or high-cost system, so a solid-state imaging device that performs electronic zoom processing with a single sensor chip (imaging device), for example, a mobile phone that requires a low-cost or small-scale configuration There is a problem that it is difficult to introduce as an electronic zoom when realizing a camera for a camera or a mobile device.
この問題を解消する一方法として、たとえば、フレームメモリのような大容量の記憶手段を使用せずに、電子ズームを行なう仕組みが提案されている(たとえば特許文献2参照)。 As a method for solving this problem, for example, a mechanism for performing an electronic zoom without using a large-capacity storage means such as a frame memory has been proposed (for example, see Patent Document 2).
しかしながら、特許文献2に記載の仕組みでは、拡大ズーム時に、撮像デバイスの読出駆動を通常時と同じにしつつ(センサ駆動への変更はない)、撮像デバイスから画素信号を読み出す水平同期信号の周期よりも垂直補間演算処理の周期を速く設定しておく必要がある。
However, in the mechanism described in
このため、拡大ズーム時には、消費電力が増えてしまう問題がある。また、センサチップ(撮像デバイス)単体で電子ズーム処理を行なうべく、ズーム制御部や補間処理部を出撮像デバイスと一体的に構成する場合、画素信号を読み出す水平同期信号の周期よりも高速周期にした垂直補間演算処理用の画素クロックによるノイズが問題になる。たとえば、CMOSプロセスで製造されるズーム処理用のデジタルLSIと同一チップ上に撮像デバイスを作り込む場合、通常モードに比べて、拡大ズームモードでは、画質が劣化してしまう可能性がある。 For this reason, there is a problem that power consumption increases during zooming. In addition, when the zoom control unit and the interpolation processing unit are configured integrally with the output imaging device in order to perform electronic zoom processing with a single sensor chip (imaging device), the cycle is faster than the cycle of the horizontal synchronization signal for reading out pixel signals. Noise caused by the pixel clock for the vertical interpolation calculation processing becomes a problem. For example, when an imaging device is built on the same chip as a zoom processing digital LSI manufactured by a CMOS process, the image quality may deteriorate in the enlarged zoom mode compared to the normal mode.
このように、従来の電子ズームの仕組みでは、撮像装置のサイズやコストあるいは消費電力や画質などの点で十分なものとなっていないのが実情であり、特にモバイル用途の撮像装置への適用は困難であるという課題がある。 As described above, the conventional electronic zoom mechanism is not sufficient in terms of the size, cost, power consumption, image quality, etc. of the image pickup device, and is not particularly applicable to image pickup devices for mobile use. There is a problem that it is difficult.
本発明は、上記事情に鑑みてなされたものであり、回路規模やコストあるいは消費電力や画質などの問題を解消することのできる解像度変換あるいは電子ズームの仕組みを提供することを目的とする。 The present invention has been made in view of the above circumstances, and an object thereof is to provide a resolution conversion or electronic zoom mechanism that can solve problems such as circuit scale, cost, power consumption, and image quality.
本発明に係る画像処理方法は、記憶部に対する画素情報の書込みと読出しを相対的に高速な第1の走査方向(典型例としては水平走査方向)に制御するとともに、記憶部から読み出した画素情報を用いて第1の走査方向とは異なる相対的に低速な第2の走査方向(典型例としては垂直走査方向)に補間処理を行なうことにより、画像の解像度変換処理を行なう画像処理方法であって、画像サイズを第2の走査方向に拡大する解像度変換処理時には、第1の走査方向に画素情報を記憶部に書き込む際に、記憶部への画素情報の書込みに寄与しないダミー期間を設けるようにした。 The image processing method according to the present invention controls the writing and reading of pixel information to and from the storage unit in a relatively high-speed first scanning direction (typically the horizontal scanning direction), and also reads out pixel information read from the storage unit Is an image processing method for performing resolution conversion processing of an image by performing interpolation processing in a relatively slow second scanning direction (typically the vertical scanning direction) that is different from the first scanning direction. Thus, during resolution conversion processing for enlarging the image size in the second scanning direction, a dummy period that does not contribute to writing of pixel information to the storage unit is provided when writing pixel information to the storage unit in the first scanning direction. I made it.
本発明に係る画像処理装置は、上記本発明に係る画像処理方法を実施するのに好適な、たとえばIC(Integrated Circuit;集積回路)などの装置であって、画素情報を記憶する記憶部と、記憶部に対する画素情報の書込みと読出しを第1の走査方向に制御するとともに補間処理の動作を制御する変換制御部と、記憶部から読み出した画素情報を用いて第2の走査方向に補間処理を行なうことにより、画像の解像度変換処理を行なう解像度変換処理部とを備えるものとした。 An image processing apparatus according to the present invention is an apparatus such as an IC (Integrated Circuit) suitable for carrying out the image processing method according to the present invention, and a storage unit for storing pixel information; A conversion control unit that controls writing and reading of pixel information to and from the storage unit in the first scanning direction and an operation of interpolation processing, and interpolation processing in the second scanning direction using the pixel information read from the storage unit. And a resolution conversion processing unit that performs image resolution conversion processing.
また、本発明に係る撮像装置は、上記本発明に係る画像処理方法を実施するのに好適な撮像装置であって、画素情報を撮像デバイスから読み出すように制御する駆動制御部と、撮像デバイスから読み出された画素情報を記憶する記憶部と、記憶部に対する画素情報の書込みと読出しを第1の走査方向に制御するとともに補間処理の動作を制御する変換制御部と、記憶部から読み出した画素情報を用いて第2の走査方向に補間処理を行なうことにより画像の解像度変換処理を行なう解像度変換処理部とを備えるものとした。 An imaging apparatus according to the present invention is an imaging apparatus suitable for carrying out the image processing method according to the present invention, and includes a drive control unit that controls reading pixel information from the imaging device, and an imaging device. A storage unit for storing the read pixel information, a conversion control unit for controlling writing and reading of the pixel information to and from the storage unit in the first scanning direction and controlling the operation of the interpolation process, and a pixel read from the storage unit And a resolution conversion processing unit that performs resolution conversion processing of an image by performing interpolation processing in the second scanning direction using the information.
ここで、本発明に係る画像処理装置および撮像装置の何れにおいても、変換制御部は、第1の走査方向に画素情報を記憶部に書き込む際に、記憶部への画素情報の書込みに寄与しないダミー期間が設けられるように、記憶部を制御し、解像度変換処理部は、ダミー期間を実質的に利用して、第2の走査方向に補間処理を行なうことで、画像サイズを前記第2の走査方向に拡大するようにする。また、撮像装置にあっては、撮像デバイスからの画素情報の読出しに寄与しないダミー期間が設けられるように駆動制御部を制御する。 Here, in any of the image processing apparatus and the imaging apparatus according to the present invention, the conversion control unit does not contribute to writing the pixel information to the storage unit when writing the pixel information to the storage unit in the first scanning direction. The storage unit is controlled so that a dummy period is provided, and the resolution conversion processing unit performs the interpolation process in the second scanning direction substantially using the dummy period, thereby changing the image size to the second size. Enlarge in the scanning direction. In the imaging apparatus, the drive control unit is controlled so that a dummy period that does not contribute to reading of pixel information from the imaging device is provided.
ここで、“ダミー期間を実質的に利用して”とは、必ずしも、ダミー期間内に補間処理を行なうことを意味するものではなく、ダミー期間が設けられた第1の走査方向における1つの処理期間内で、補間処理を行なうものであればよい。 Here, “substantially using the dummy period” does not necessarily mean that the interpolation process is performed in the dummy period, but one process in the first scanning direction in which the dummy period is provided. Any interpolation processing may be performed within the period.
また、本発明に係るタイミング制御装置は、撮像装置の撮像動作のタイミングを制御する装置であって、画素情報を撮像デバイスから第1の走査方向に読み出す走査基準信号であって、第1の走査方向単位の読出処理周期が通常時よりも長い走査基準信号を駆動制御部に供給することで、撮像デバイスからの画素情報の読出しに寄与しないダミー期間を設ける基準信号供給部を備えるものとした。 The timing control device according to the present invention is a device for controlling the timing of the imaging operation of the imaging device, and is a scanning reference signal for reading out pixel information from the imaging device in the first scanning direction, and the first scanning A reference signal supply unit is provided that provides a dummy period that does not contribute to reading of pixel information from the imaging device by supplying a scanning reference signal having a longer readout processing cycle in the direction unit than that in the normal state to the drive control unit.
また従属項に記載された発明は、本発明に係る画像処理方法および画像処理装置、並びに撮像装置およびタイミング制御装置のさらなる有利な具体例を規定する。 The invention described in the dependent claims defines further advantageous specific examples of the image processing method, the image processing apparatus, the imaging apparatus, and the timing control apparatus according to the present invention.
たとえば、ダミー期間を設けるための具体的な構成としては、第1の走査方向に記憶部へ画素情報を書き込む第1の走査方向単位の書込処理周期を通常時よりも長くすることで実現してもよい。この場合、第1の走査方向の書込処理周期を、拡大における通常時に対する倍率と同じ倍率で延長するのがよい。こうすることで、撮像デバイスからの画素信号の読出処理と補間処理とを同時並行的に実施できるとともに無駄な時間が生じることもない。 For example, a specific configuration for providing the dummy period is realized by making the writing process cycle of the first scanning direction unit for writing pixel information to the storage unit in the first scanning direction longer than usual. May be. In this case, it is preferable to extend the writing process cycle in the first scanning direction at the same magnification as that for the normal magnification. By doing so, the reading process and the interpolation process of the pixel signal from the imaging device can be performed simultaneously and no wasteful time is generated.
本発明によれば、画像サイズを第2の走査方向に拡大する解像度変換処理時には、第1の走査方向に撮像デバイスから画素情報を読み出したり、この画素情報を記憶部に書き込んだりする際に、読出処理や書込処理に寄与しないダミー期間を設けるようにした。 According to the present invention, at the time of resolution conversion processing for enlarging the image size in the second scanning direction, when reading pixel information from the imaging device in the first scanning direction or writing this pixel information to the storage unit, A dummy period that does not contribute to the reading process or the writing process is provided.
こうすることで、読出処理や書込処理を1画面分継続して行なう際に、ズーム拡大用の補間処理を行なうための空き時間を作ることができる。画素情報の出力や記憶部への書込に寄与しない期間を、第2の走査方向について補間画素情報を生成して埋め込むタイミングとして使うことができる。結果的には、1画面分について、撮像デバイスからの画素信号の読出処理や記憶部への書込処理と補間処理とを同時並行的に(リアルタイムで)実施することができるようになる。 In this way, when the reading process and the writing process are continuously performed for one screen, a free time for performing the zoom enlargement interpolation process can be made. A period that does not contribute to output of pixel information or writing to the storage unit can be used as a timing for generating and embedding interpolation pixel information in the second scanning direction. As a result, for one screen, the pixel signal reading process from the imaging device, the writing process to the storage unit, and the interpolation process can be performed simultaneously (in real time).
記憶部に対する制御は、画素情報の書込みと読出しを第1の走査方向(典型例としては水平走査方向)に制御するだけでよく、複雑な制御が不要である。第1の走査方向に制御するだけでよいので、記憶部の構成としては、ラインメモリなどの簡易なものを使用できる。 Control of the storage unit only needs to control writing and reading of pixel information in the first scanning direction (typically the horizontal scanning direction), and does not require complicated control. Since the control only needs to be performed in the first scanning direction, a simple configuration such as a line memory can be used as the configuration of the storage unit.
よって、回路規模が大きく、高価なフレームメモリを使わずに低コストで電子ズーム機能を実現できるようになる。カメラシステムのメモリを削減でき、コスト貢献が大きい。特に、モバイル用カメラシステムの場合、小型化が要求されるが、本発明によれば、システムの小型化にも貢献できる。すなわち、安価に電子ズームシステムを構築できるため、携帯電話用やモバイル機器用のカメラなどを実現する際の電子ズームとして適している。 Therefore, the circuit scale is large, and the electronic zoom function can be realized at a low cost without using an expensive frame memory. The memory of the camera system can be reduced and the cost contribution is great. In particular, in the case of a mobile camera system, downsizing is required, but the present invention can also contribute to downsizing of the system. That is, since an electronic zoom system can be constructed at a low cost, it is suitable as an electronic zoom for realizing a camera for a mobile phone or a mobile device.
さらに、ズーム倍率に拘らず同一周期の画素クロックを画素信号の読出処理や、記憶部への書込処理、あるいは補間処理において用いることができるので、特許文献2に記載のように、撮像デバイスから画素信号を読み出す水平同期信号の周期よりも垂直補間演算処理(データ処理による垂直解像度変換処理)の周期を速く設定しておく必要がなく、より簡易で、かつ低消費電力やノイズに対しても有利である。
Further, since a pixel clock having the same period can be used in the pixel signal reading process, the writing process to the storage unit, or the interpolation process regardless of the zoom magnification, as described in
以下、図面を参照して本発明の実施形態について詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
<デジタルスチルカメラの全体構成;CCDタイプ>
図1は、本発明に係る撮像装置(カメラシステム)の第1実施形態を示す概略構成図である。第1実施形態の撮像装置は、固体撮像素子10の一例であるたとえばインターライン転送(IT)方式で全画素読出しが可能なCCD固体撮像素子11、被写体Zの光学像を取り込む撮像レンズ50、およびCCD固体撮像素子11を駆動する駆動制御部96を有するカメラモジュール3と、カメラモジュール3により得られる撮像信号に基づいて映像信号を生成しモニタ出力したり所定の記憶メディアに画像を格納したりする本体ユニット4とを備えてなるデジタルスチルカメラ1として構成されている。なお、カメラモジュール3と本体ユニット4とを一体化した形態での撮像装置モジュールとして構成するようにしてもよい。
<Overall configuration of digital still camera; CCD type>
FIG. 1 is a schematic configuration diagram showing a first embodiment of an imaging apparatus (camera system) according to the present invention. The image pickup apparatus according to the first embodiment is an example of the solid-state
なお、このデジタルスチルカメラ1は、具体的には、フレーム読出方式を用いた静止画撮像動作時にカラー画像を撮像し得るカメラとして適用されるようになっている。また、フレーム読出方式としては、CCD固体撮像素子11と組み合わせることで、一般的な2フィールド読出方式に限らず、3フィールド、4フィールド、あるいは5フィールド、さらにはそれ以上など様々フィールド数の態様の読出方式を適用可能に構成されている。また、静止画撮像モードに限らず、間引き読みを利用して30フレーム/秒に近いフレームレート(たとえば10フレーム以上/秒)での動画撮影モードも用意されている。
The digital
カメラモジュール3内の駆動制御部96には、CCD固体撮像素子11を駆動するための各種のパルス信号を生成するタイミング信号生成部40と、このタイミング信号生成部40からのパルス信号を受けて、CCD固体撮像素子11を駆動するためのドライブパルスに変換するドライバ(駆動部)42と、CCD固体撮像素子11やドライバ42などに電源供給する駆動電源46が設けられている。
The
カメラモジュール3内の固体撮像素子10(本例ではCCD固体撮像素子11)と駆動制御部96とにより固体撮像装置2が構成される。固体撮像装置2は、CCD固体撮像素子11と駆動制御部96とが、1枚の回路基板上に配されたもの、あるいは1つの半導体基板上に形成されたものとして提供されるものであるのがよい。
The solid-
CCD固体撮像素子11は、その構成例については図示を割愛するが、たとえば、半導体基板上に、画素(ユニットセル)に対応して受光素子の一例であるフォトダイオードなどからなるセンサ部(感光部;フォトセル)が多数、水平(行)方向および垂直(列)方向において2次元マトリクス状に配列されている。これらセンサ部は、受光面から入射した入射光をその光量に応じた電荷量の信号電荷に変換して蓄積する。
The CCD solid-
センサ部は、カラー画像撮像用途として、光が入射されるフォトダイオードなどの受光面には、複数色の色フィルタの組合せからなる色分解フィルタの何れかの色フィルタが設けられる。一例としては、いわゆるベイヤ(Bayer)配列の基本形のカラーフィルタを用いて、正方格子状に配されたセンサ部(単位画素)が赤(R),緑(G),青(B)の3色カラーフィルタ(原色フィルタ)に対応するように配される。あるいは、シアン(C),マゼンタ(M),イエロ(Y),緑(G)の4色を組み合わせた補色フィルタ構成のものとしてもよい。 As a color image capturing application, the sensor unit is provided with a color filter of any one of color separation filters composed of a combination of color filters on a light receiving surface such as a photodiode on which light is incident. As an example, sensor units (unit pixels) arranged in a square lattice using three colors of red (R), green (G), and blue (B) using a basic color filter of a so-called Bayer array. They are arranged so as to correspond to color filters (primary color filters). Or it is good also as a thing of the complementary color filter structure which combined four colors, cyan (C), magenta (M), yellow (Y), and green (G).
信号処理として、原色信号処理を行なう構成のものとする場合、原色フィルタとすれば、CCD固体撮像素子11にて得られる撮像信号(複数色の画素信号の組合せ)から、赤(R),緑(G),青(B)の原色信号を分離する原色分離部を割愛することができる。
When the signal processing is configured to perform primary color signal processing, if the primary color filter is used, red (R), green from the imaging signal (a combination of pixel signals of a plurality of colors) obtained by the CCD solid-
またCCD固体撮像素子11は、センサ部の垂直列ごとに6相もしくは8相駆動に対応する複数本の垂直転送電極が設けられる垂直CCD(Vレジスタ部、垂直転送部)が配列される。垂直CCDの転送方向は図中縦方向であり、この方向に垂直CCD13が複数本並べられて設けられる。さらに、これら垂直CCDと各センサ部との間には読出ゲート(ROG)が介在し、また各ユニットセルの境界部分にはチャネルストップが設けられる。これらセンサ部の垂直列ごとに設けられ、各センサ部から読出ゲート部によって読み出された信号電荷を垂直転送する複数本の垂直CCDによって撮像エリアが構成される。
The CCD solid-
センサ部に蓄積された信号電荷は、読出ゲート部に読出パルスXSGに対応するドライブパルスが印加されることにより垂直CCDに読み出される。垂直CCDは、6相(あるいは8相)の垂直転送クロックV1〜V6(あるいはV8)に基づくドライブパルスφV1〜φV6(φV8)よって転送駆動され、読み出された信号電荷を水平ブランキング期間の一部にて1走査線(1ライン)に相当する部分ずつ順に垂直方向に転送する。この1ラインずつの垂直転送を、特にラインシフトという。 The signal charge accumulated in the sensor unit is read out to the vertical CCD by applying a drive pulse corresponding to the readout pulse XSG to the readout gate unit. The vertical CCD is driven to transfer by drive pulses φV1 to φV6 (φV8) based on 6-phase (or 8-phase) vertical transfer clocks V1 to V6 (or V8), and the read signal charges are stored in one horizontal blanking period. The unit sequentially transfers the portions corresponding to one scanning line (one line) in the vertical direction. This vertical transfer for each line is called a line shift.
また、CCD固体撮像素子11には、複数本の垂直CCDの各転送先側端部すなわち、最後の行の垂直CCDに隣接して、所定(たとえば左右)方向に延在する水平CCD(Hレジスタ部、水平転送部)が1ライン分設けられる。この水平CCDは、たとえば2相の水平転送クロックH1,H2に基づくドライブパルスφH1,φH2によって転送駆動され、複数本の垂直CCDから移された1ライン分の信号電荷を、水平ブランキング期間後の水平走査期間において順次水平方向に転送する。このため2相駆動に対応する複数本(2本)の水平転送電極が設けられる。
The CCD solid-
水平CCDの転送先の端部には、たとえばフローティング・ディフュージョン・アンプ(FDA)構成の電荷電圧変換部が設けられる。この電荷電圧変換部は、水平CCDによって水平転送されてきた信号電荷を順次電圧信号に変換して出力する。この電圧信号は、被写体からの光の入射量に応じたCCD出力(Vout )として導出される。以上により、インターライン転送方式のCCD固体撮像素子11が構成される。
For example, a charge / voltage conversion unit having a floating diffusion amplifier (FDA) configuration is provided at the end of the transfer destination of the horizontal CCD. The charge / voltage converter sequentially converts the signal charges transferred horizontally by the horizontal CCD into voltage signals and outputs the voltage signals. This voltage signal is derived as a CCD output (Vout) corresponding to the amount of incident light from the subject. The interline transfer type CCD solid-
また、このデジタルスチルカメラ1の処理系統は、大別して、光学系5、信号処理系6、記録系7、表示系8、および制御系9から構成されている。なお、カメラモジュール3および本体ユニット4が、図示しない外装ケースに収容されて、実際の製品(完成品)が仕上がるのはいうまでもない。
The processing system of the digital
光学系5は、シャッタ52、被写体の光画像を集光するレンズ54、および光画像の光量を調整する絞り56を有する撮像レンズ50と、集光された光画像を光電変換して電気信号に変換するCCD固体撮像素子11とから構成されている。被写体Zからの光L1は、シャッタ52およびレンズ54を透過し、絞り56により調整されて、適度な明るさでCCD固体撮像素子11に入射する。このとき、レンズ54は、被写体Zからの光L1からなる映像が、CCD固体撮像素子11上で結像されるように焦点位置を調整する。
The optical system 5 includes a
信号処理系6は、CCD固体撮像素子11からのアナログ撮像信号を増幅する増幅アンプや、増幅された撮像信号をサンプリングすることによってノイズを低減させるCDS(Correlated Double Sampling:相関2重サンプリング)回路などを有するプリアンプ部62、プリアンプ部62が出力するアナログ信号をデジタル信号に変換するA/D(Analog/Digital)変換部64、A/D変換部64から入力されるデジタル信号に所定の画像処理を施すDSP(Digital Signal Processor)で構成されたカメラ信号処理LSI(Large Scale Integrated Circuit;大規模集積回路)としての画像信号処理部66から構成される。
The signal processing system 6 includes an amplification amplifier that amplifies an analog imaging signal from the CCD solid-
画像信号処理部66は、たとえば、補色の撮像データから、赤(R),緑(G),青(B)の原色信号を分離・同時化する原色分離処理、原色の撮像データ(R,G,Bの各画素データ)を同時化する同時化処理、スミア現象やブルーミング現象によって生じる縦縞のノイズ成分を補正する縦縞ノイズ補正処理、ホワイトバランス(WB;White Balance )調整を制御するWB制御処理、階調度合いを調整するガンマ補正処理、光学的ズームレンズを使うのではなく、電子的にすなわち画像データ処理により画像を拡大もしくは縮小する解像度変換処理(すなわち電子ズーム処理)、あるいは輝度データ(Y)や色データ(C)を生成するYC信号生成処理などを行なう。またCCD固体撮像素子11を駆動するタイミングパルスの基準を示す同期信号を生成する機能も持つ。なお、電子ズーム処理(解像度変換処理)に関わる本実施形態特有の構成部分については後で詳しく説明する。
For example, the image
このDSPで構成される画像信号処理部66は、各機能部分の全ての処理をそれぞれ専用のハードウェアによるデジタル処理回路で行なう構成とすることもできるし、これら機能部分の一部をソフトウェア処理で行なう構成とすることもできる。
The image
ソフトウェアで所定の処理を行なう仕組みは、並列処理や連続処理に柔軟に対処し得るものの、処理が複雑になるに連れ、処理時間が長くなるため、処理速度の低下が問題となる。これに対して、ハードウェア処理回路で行なうことで、高速化を図ったアクセラレータシステムを構築することができるようになる。アクセラレータシステムは、処理が複雑であっても、処理速度の低下を防ぐことができ、高いスループットを得ることができる。 Although the mechanism for performing predetermined processing by software can flexibly cope with parallel processing and continuous processing, the processing time becomes longer as the processing becomes complicated, so that a reduction in processing speed becomes a problem. On the other hand, it is possible to construct an accelerator system with a higher speed by using a hardware processing circuit. Even if the processing is complicated, the accelerator system can prevent a reduction in processing speed and can obtain a high throughput.
記録系7は、画像データを記憶するフラッシュメモリなどの装置に対して着脱可能なメモリ(記録媒体)72と、画像信号処理部66が処理した画像データを符号化(圧縮)してメモリ72に記録し、また、読み出して復号(伸長)し画像信号処理部66に供給するCODEC(Compression/Decompression )74とから構成されている。
The recording system 7 includes a memory (recording medium) 72 that can be attached to and detached from a device such as a flash memory that stores image data, and the image data processed by the image
表示系8は、画像信号処理部66が処理した画像信号をアナログ化するD/A(Digital/Analog)変換部82、入力されるビデオ信号に対応する画像を表示することによりファインダとして機能する液晶(LCD;Liquid Crystal Display)や有機EL(Electro Luminescence)などよりなるビデオモニタ84、およびアナログ化された画像信号を後段のビデオモニタ84に適合する形式のビデオ信号にエンコードするビデオエンコーダ86から構成されている。なお、D/A変換部82とビデオエンコーダ86との配置を逆にして、エンコード処理をデジタル処理で行なう構成とすることもできる。この場合、ビデオエンコーダ86を画像信号処理部66に取り込むこともできる。
The display system 8 includes a D / A (Digital / Analog)
制御系9は、先ず、固体撮像素子10の一例であるCCD固体撮像素子11を駆動する基準を定める水平同期信号SHDや垂直同期信号SVDなどの基準信号を生成する同期信号生成部41と、デジタルスチルカメラ1の全体を制御するCPU(Central Processing Unit )などよりなる中央制御部92とを備えている。同期信号生成部41は、中央制御部92からの指示に基づき、所定周期の水平同期信号SHDや垂直同期信号SVDを生成して、固体撮像素子10側のタイミング信号生成部40に供給する。同期信号生成部41と、中央制御部92とにより、本発明に係る基準信号供給部やタイミング制御装置が構成される。
First, the control system 9 includes a synchronization signal generation unit 41 that generates a reference signal such as a horizontal synchronization signal SHD and a vertical synchronization signal SVD that defines a reference for driving a CCD solid-
また制御系9は、読出専用の記憶部であるROM(Read Only Memory)93a、随時書込みおよび読出しが可能であるともに揮発性の記憶部の一例であるRAM(Random Access Memory)93b、不揮発性の記憶部の一例であるRAM(NVRAMと記述する)93c、白点位置情報や各種調整データなど装置個別のデータを格納する不揮発性の記憶部の一例であるEEPROM(Electrically Erasable and Programmable ROM)93dを有する記憶部(メモリ部)93を備えている。なお、CPUなどからなる中央制御部92やEEPROM93dを除く記憶部93の各種メモリはDSPで構成された画像信号処理部66に取り込むこともできる。
The control system 9 includes a ROM (Read Only Memory) 93a that is a read-only storage unit, a RAM (Random Access Memory) 93b that is an example of a volatile storage unit that can be written and read at any time, and a nonvolatile memory. An RAM (described as NVRAM) 93c, which is an example of a storage unit, and an EEPROM (Electrically Erasable and Programmable ROM) 93d, which is an example of a non-volatile storage unit that stores individual device data such as white spot position information and various adjustment data A storage unit (memory unit) 93 is provided. Various memories in the
上記において“揮発性の記憶部”とは、デジタルスチルカメラ1の電源がオフされた場合には、記憶内容を消滅してしまう形態の記憶部を意味する。一方、“不揮発性の記憶部”とは、デジタルスチルカメラ1のメイン電源がオフされた場合でも、記憶内容を保持し続ける形態の記憶部を意味する。記憶内容を保持し続けることができるものであればよく、半導体製のメモリ素子自体が不揮発性を有するものに限らず、バックアップ電源を備えることで、揮発性のメモリ素子を“不揮発性”を呈するように構成するものであってもよい。なお、特殊用途として、半導体製のメモリ素子により構成することに限らず、外付けの駆動装置を利用することで、磁気ディスクや光ディスクなどの外部媒体を利用して構成してもよい。
In the above description, the “volatile storage unit” means a storage unit in which the stored contents are lost when the power of the digital
このような電子計算機のように構成されるデジタルスチルカメラ1においては、一連の処理をソフトウェアにより実行させる場合には、そのソフトウェアを構成するプログラムが、記録媒体(本例ではROM93a)からインストールされる。このソフトウェアの中には、コンピュータ上で稼働するOS(オペレーティングシステム;基本ソフト)も含まれる。
In the digital
なお、所定の処理を中央制御部92に実行させるプログラムは、CD−ROMやフラッシュメモリなどの不揮発性の半導体メモリカードなど、任意の可搬型の記憶媒体を通じて配布(取得や更新)されてもよいし、あるいは、サーバなどからインターネットなどのネットワークを経由してプログラムをダウンロードして取得したり、あるいは更新したりしてもよい。
The program for causing the
中央制御部92は、半導体メモリなどで構成された記憶部93のROM93aに記憶されている制御用プログラムを読み出し、読み出した制御用プログラム、あるいはユーザからのコマンドなどに基づいてデジタルスチルカメラ1の全体の動作や信号処理を制御する。CPUやメモリを利用してソフトウェア的にデジタルスチルカメラ1を構成する、すなわちパーソナルコンピュータなどのコンピュータ(電子計算機)の機能を利用してデジタルスチルカメラ1をソフトウェア的に機能させる構成が実現される。
The
このような構成において、中央制御部92は、システムバス99を介してシステム全体の制御を行なう。ROM93aは、中央制御部92の制御プログラムなど装置共通のデータを格納する。RAM93bは、SRAM(Static Random Access Memory )などで構成され、プログラム制御変数や各種処理のためのデータなどを格納する。また、RAM93bは、固体撮像素子10で読み取った画像データや、所定のアプリケーションプログラムによって編集した画像データやメモリ72から読み取った画像データなどを一時的に格納する領域を含んでいる。
In such a configuration, the
また制御系9は、画像信号処理部66に送られた画像の明るさが適度な明るさを保つようにシャッタ52や絞り56を制御する露出コントローラ94、CCD固体撮像素子11から画像信号処理部66までの各機能部の動作タイミングを制御するタイミング信号生成部(タイミングジェネレータ;TG)40を具備した駆動制御部96、ユーザがシャッタタイミングやズーム操作あるいはその他のコマンドを入力するキーやスイッチなどからなる操作部98を有する。
The control system 9 also includes an
中央制御部92は、デジタルスチルカメラ1のシステムバス99に接続された画像信号処理部66、CODEC74、メモリ72、露出コントローラ94、およびタイミング信号生成部40を制御している。
The
このデジタルスチルカメラ1では、オートフォーカス(AF)、オートホワイトバランス(AWB)、自動露光(AE)などの自動制御装置を備えている。これらの制御は、CCD固体撮像素子11から得られる出力信号を使用して処理する。たとえば、露出コントローラ94は、画像信号処理部66に送られた画像の明るさが適度な明るさを保つようにその制御値が中央制御部92により設定され、その制御値に従って絞り56を制御する。具体的には、中央制御部92が画像信号処理部66に保持されている画像から適当な個数の輝度値のサンプルを獲得し、その平均値が予め定められた適当とされる輝度の範囲に収まるように絞り56の制御値を設定する。
The digital
タイミング信号生成部40は、中央制御部92により制御され、CCD固体撮像素子11、プリアンプ部62、A/D変換部64、および画像信号処理部66の動作に必要とされるタイミングパルスを発生し、各部に供給する。操作部98は、ユーザが、デジタルスチルカメラ1を動作させるとき操作される。
The timing
図示した例は、信号処理系6のプリアンプ部62およびA/D変換部64をカメラモジュール3に内蔵しているが、このような構成に限らず、プリアンプ部62やA/D変換部64を本体ユニット4内に設ける構成を採ることもできる。またD/A変換部を画像信号処理部66内に設ける構成を採ることもできる。
In the illustrated example, the
また、タイミング信号生成部40をカメラモジュール3に内蔵しているが、このような構成に限らず、タイミング信号生成部40を本体ユニット4内に設ける構成を採ることもできる。またタイミング信号生成部40とドライバ42とが別体のものとしているが、このような構成に限らず、両者を一体化させたもの(ドライバ内蔵のタイミングジェネレータ)としてもよい。こうすることで、よりコンパクトな(小型の)デジタルスチルカメラ1を構成できる。
Further, although the timing
また、タイミング信号生成部40やドライバ42は、それぞれ個別のディスクリート部材で回路構成されたものでもよいが、1つの半導体基板上に回路形成されたIC(Integrated Circuit)として提供されるものであるのがよい。こうすることで、コンパクトにできるだけなく、部材の取扱いが容易になるし、両者を低コストで実現できる。また、デジタルスチルカメラ1の製造が容易になる。また、使用するCCD固体撮像素子11との関わりの強い部分であるタイミング信号生成部40やドライバ42をCCD固体撮像素子11と共通の基板に搭載することで一体化させる、あるいはカメラモジュール3内に搭載することで一体化させると、部材の取扱いや管理が簡易になる。また、これらがモジュールとして一体となっているので、デジタルスチルカメラ1(の完成品)の製造も容易になる。なお、カメラモジュール3は、CCD固体撮像素子11および光学系5からのみ構成されていても構わない。
Further, the
このようなCCD固体撮像素子11を備えたデジタルスチルカメラ1の一連の動作を概説すれば以下の通りである。先ず、タイミング信号生成部40は、垂直転送用の転送クロックV1〜V6(V8)や読出パルスXSGなどの種々のパルス信号を生成する。これらのパルス信号は、ドライバ42により所定電圧レベルのドライブパルスに変換された後に、CCD固体撮像素子11の所定端子に入力される。
An outline of a series of operations of the digital
被写体Zを撮像する際に、撮像レンズ50(シャッタ52およびレンズ54)を介してCCD固体撮像素子11の受光面に結像された被写体Zの光学像は、フォトダイオードなどからなる各センサ部で光の入射光量に応じた量の信号電荷に変換される。
When the subject Z is imaged, an optical image of the subject Z formed on the light receiving surface of the CCD solid-
センサ部の各々に蓄積された信号電荷は、タイミング信号生成部40から発せられた読出パルスXSGが読出ゲート部の転送チャネル端子電極に印加され、転送チャネル端子電極下のポテンシャルが深くなることにより、当該読出ゲート部を通して垂直CCDに読み出される。そして、6相(8相)の垂直ドライブパルスφV1〜φV6(φV8)に基づいて垂直CCDが駆動されることで、順次水平CCDへ転送される。
The signal charges accumulated in each of the sensor units are applied to the transfer channel terminal electrode of the read gate unit by the read pulse XSG generated from the timing
なお、蓄積した信号電荷をシャッタゲートパルスによって掃出可能な構造のものとすれば、電荷の蓄積時間(シャッタスピード)を制御する、いわゆる電子シャッタ機能を実現できる。この場合、撮像レンズ50のシャッタ52を取り外すことができ、光学系5をコンパクトにすることができる。
If the accumulated signal charge can be swept by the shutter gate pulse, a so-called electronic shutter function for controlling the charge accumulation time (shutter speed) can be realized. In this case, the
水平CCDは、タイミング信号生成部40から発せられドライバ42により所定電圧レベルの変換された2相の水平ドライブパルスφH1,φH2に基づいて、複数本の垂直CCDの各々から垂直転送された1ラインに相当する信号電荷を順次電荷電圧変換部側に水平転送する。
The horizontal CCD is generated on one line vertically transferred from each of the plurality of vertical CCDs based on the two-phase horizontal drive pulses φH1 and φH2 which are emitted from the timing
電荷電圧変換部は、水平CCDから順に注入される信号電荷を図示しないフローティングディフュージョンに蓄積し、この蓄積した信号電荷を信号電圧に変換し、たとえば図示しないソースフォロア構成の出力回路を介して、タイミング信号生成部40から発せられたリセットパルスRGの制御の元に撮像信号(CCD出力信号)Vout として出力する。
The charge-voltage conversion unit accumulates signal charges sequentially injected from the horizontal CCD in a floating diffusion (not shown), converts the accumulated signal charges into a signal voltage, and performs timing, for example, via an output circuit having a source follower configuration (not shown). An image pickup signal (CCD output signal) Vout is output under the control of the reset pulse RG generated from the
すなわち上記CCD固体撮像素子11においては、センサ部を縦横に2次元状に配置してなる撮像エリアで検出した信号電荷を、各センサ部の垂直列に対応して設けられた垂直CCDにより水平CCDまで垂直転送し、この後、2相の水平転送パルスH1,H2に基づいて、信号電荷を水平CCDにより水平方向に転送するようにしている。そして、電荷電圧変換部にて水平CCDからの信号電荷に対応した電位に変換してから出力するという動作を繰り返す。
That is, in the CCD solid-
CCD固体撮像素子11から順次読み出された電圧信号、すなわち画素に対応するR,G,Bの各画素信号は、タイミング信号生成部40からの各サンプルパルスなどに基づき、プリアンプ部62にてCDS処理などが施され、A/D変換部64にてデジタルのR,G,Bの各画素データに変換された後、一旦、記憶部93のRAM93bに格納される。
The voltage signals sequentially read from the CCD solid-
RAM93bに格納されたR,G,Bの各画素データは、画像信号処理部66にて、同時化処理やガンマ補正処理などが施された後、輝度データYと色(クロマ)データU,V(あるいはCr,Cb)(纏めてYCデータともいう)に変換され、記憶部93のRAM93bに一旦格納される。
The R, G, and B pixel data stored in the
表示系8では、RAM93bに格納したYCデータを読み出し、液晶などからなるビデオモニタ84に出力することにより、スルー画像や撮影された静止画などを表示させることができる。
The display system 8 can display a through image, a captured still image, and the like by reading the YC data stored in the
また、撮影後のYCデータは、圧縮/伸長機能を持つCODEC74によって、JPEG(Joint Photographic Experts Group)などの所定のフォーマットに圧縮されたのち、メモリ72などの記録媒体に記録される。さらに、再生モード時にはメモリ72などに記録されている画像データがCODEC74によって伸長処理された後、ビデオモニタ84に出力され、再生画像が表示される。
The YC data after photographing is compressed into a predetermined format such as JPEG (Joint Photographic Experts Group) by a
<デジタルスチルカメラの全体構成;CMOSタイプ>
図2は、本発明に係る撮像装置の第2実施形態を示す概略構成図である。第2実施形態の撮像装置は、第1実施形態におけるCCD固体撮像素子11をCMOS撮像素子12に変更しており、この変更に応じて、プリアンプ部62、A/D変換部64、および駆動制御部96と同等の機能を持つ回路部をCMOS撮像素子12に取り込むように変更している。その他の点は、第1実施形態と同じである。
<Overall configuration of digital still camera; CMOS type>
FIG. 2 is a schematic configuration diagram showing a second embodiment of the imaging apparatus according to the present invention. In the imaging apparatus of the second embodiment, the CCD solid-
なお、DSPで構成された画像信号処理部66には、CPUなどからなる中央制御部92やEEPROM93dを除く記憶部93の各種メモリ、さらにはCMOS撮像素子12の動作タイミングを規定する同期信号を生成するタイミング信号生成部40を取り込み、CMOS撮像素子12を主要部とするカメラモジュール3と、画像信号処理部66やEEPROM93dとを含んで撮像装置モジュール3aを構成するようにしている。
The image
CMOS撮像素子12は、その構成例については図示を割愛するが、先ず、センサ部にフォトダイオードなどを用いる点やカラー画像撮像用の色分離フィルタを設ける点は、CCD固体撮像素子11の場合と同様である。
The
CMOS撮像素子12は、入射光量に応じた電気信号を出力するフォトダイオードなどの光電変換素子を含む複数個のセンサ部(画素)が行および列に配列された(すなわち2次元マトリクス状の)画素部(撮像部)12aを有し、各画素からの信号出力が電圧信号であって、CDS処理機能部やデジタル変換部(ADC;Analog Digital Converter)などのデータ処理を行なうカラム処理部12bが列並列に設けられている。また、多数のセンサ部で構成される撮像部の周辺には、CCDの場合の駆動制御部96に対応し、CMOS撮像素子12を駆動・制御する駆動制御部12cの他、カラム処理部12bにAD変換用の参照電圧を供給する参照信号生成部や出力回路などを備えている。
The
“列並列にデータ処理部が設けられている”とは、垂直列の垂直信号線に対して実質的に並列に複数のCDS処理機能部やデジタル変換部が設けられていることを意味する。複数の各機能部は、デバイスを平面視したときに、ともに撮像部に対して列方向の一方の端縁側(出力側)にのみ配されている形態のものであってもよいし、画素部に対して列方向の一方の端縁側(出力側)とその反対側である他方の端縁側に分けて配されている形態のものであってもよい。後者の場合、行方向の読出走査(水平走査)を行なう水平走査部も、各端縁側に分けて配して、それぞれが独立に動作可能に構成するのがよい。 “The data processing unit is provided in parallel with the column” means that a plurality of CDS processing function units and digital conversion units are provided substantially in parallel with the vertical signal lines in the vertical column. Each of the plurality of functional units may be arranged only on one edge side (output side) in the column direction with respect to the imaging unit when the device is viewed in plan, or the pixel unit However, it may be divided into one end side (output side) in the column direction and the other end side on the opposite side. In the latter case, it is preferable that the horizontal scanning unit that performs readout scanning (horizontal scanning) in the row direction is also arranged separately on each edge side so that each can operate independently.
駆動制御部は、撮像部の信号を順次読み出すための制御回路機能を備えている。たとえば、制御回路機能としては、列アドレスや列走査を制御する水平走査部(列走査回路)と、行アドレスや行走査を制御する垂直走査部(行走査回路)と、内部クロックを生成するなどの機能を持つ通信・タイミング制御部とを備える。 The drive control unit has a control circuit function for sequentially reading signals from the imaging unit. For example, the control circuit functions include a horizontal scanning unit (column scanning circuit) that controls column addresses and column scanning, a vertical scanning unit (row scanning circuit) that controls row addresses and row scanning, and an internal clock. And a communication / timing control unit having the above functions.
水平走査部は、カラム処理部からカウント値を読み出す読出走査部の機能を持つ。これらの駆動制御部の各要素は、撮像部とともに、半導体集積回路製造技術と同様の技術を用いて単結晶シリコンなどの半導体領域に一体的に形成され、半導体システムの一例である固体撮像素子(撮像デバイス)として構成される。 The horizontal scanning unit has a function of a reading scanning unit that reads a count value from the column processing unit. Each element of these drive control units is integrally formed in a semiconductor region such as single crystal silicon using a technique similar to the semiconductor integrated circuit manufacturing technique together with the imaging unit, and is a solid-state imaging device (example of a semiconductor system) Imaging device).
垂直走査部は、画素部12aの行を選択し、その行に必要な制御パルス(ラインシフトパルス)を供給する。たとえば、垂直方向の読出行を規定する(画素部12aの行を選択する)垂直デコーダと、垂直デコーダにて規定された読出アドレス上(行方向)の単位画素に対する行制御線にパルスを供給して駆動する垂直駆動回路とを有する。なお、垂直デコーダは、信号を読み出す行の他に、電子シャッタ用の行なども選択する。 The vertical scanning unit selects a row of the pixel portion 12a and supplies a control pulse (line shift pulse) necessary for the row. For example, a pulse is supplied to a vertical decoder that defines a readout row in the vertical direction (selects a row of the pixel portion 12a) and a row control line for a unit pixel on a readout address (in the row direction) defined by the vertical decoder. And a vertical driving circuit for driving the Note that the vertical decoder selects a row for electronic shutter in addition to a row from which a signal is read.
水平走査部は、低速クロックに同期してカラム処理部12bのカラムAD回路を順番に選択し、その信号を水平信号線(水平出力線)に導く。たとえば、水平方向の読出列を規定する(カラム処理部12b内の個々のカラムAD回路を選択する)水平デコーダと、水平デコーダにて規定された読出アドレスに従って、カラム処理部12bの各信号を水平信号線に導く水平駆動回路とを有する。なお、水平信号線は、たとえばカラムAD回路が取り扱うビット数n(nは正の整数)分、たとえば10(=n)ビットならば、そのビット数分に対応して10本配置される。
The horizontal scanning unit sequentially selects the column AD circuits of the
CMOSセンサは、X−Yアドレス型固体撮像素子の一例であり、アドレス指定によって任意の位置の画素から信号を取り出すことができ、画素で得られた信号電荷をシフトレジスタで画素を選択して順番に読み出すCCD(Charge Coupled Device )型イメージセンサと異なり、画素の信号を読み出す順番を比較的自由に設定可能であるという特徴を有する。 A CMOS sensor is an example of an XY address type solid-state imaging device. Signals can be extracted from a pixel at an arbitrary position by addressing, and signal charges obtained from the pixels are selected by a shift register in order. Unlike the CCD (Charge Coupled Device) type image sensor that reads out the pixel signals, the order in which the pixel signals are read out can be set relatively freely.
たとえば、デジタルスチルカメラに代表される静止画の撮像技術では、撮像デバイスとして多画素のCMOS型固体撮像素子を用い、全画素の画素情報を独立に読み出すことによって静止画を得る“全画素読出モード”がよく知られているが、このモードの他に、たとえば行や列を数個ずつ飛ばしながら読み出す“間引き読出モード”、たとえば行や列を数個ずつ(隣接した画素に限らない)選択して読み出し加算して出力する“加算読出モード”などの動作がセンサ側で簡単に実現できる。 For example, in a still image imaging technique represented by a digital still camera, a multi-pixel CMOS solid-state image sensor is used as an imaging device, and a still image is obtained by independently reading out pixel information of all pixels. Is well known, but in addition to this mode, for example, a “decimation readout mode” that reads out several rows or columns at a time, for example, selects several rows or columns (not limited to adjacent pixels). Thus, operations such as “addition readout mode” in which readout, addition, and output are performed can be easily realized on the sensor side.
間引き読出モードは、たとえば、被写体を確認している段階(モニタリングモード)で、液晶モニタの画素数に応じた荒い画像(低解像度の画像)で出力したり、動画については画素情報を間引きすることによって情報量を減少させて伝送したりする際に利用される。また、加算読出モードは、複数行(たとえば2行)から信号を出力して、それらを加算することで、ダイナミックレンジを拡大する目的で使用される。 In the thinning readout mode, for example, when the subject is being confirmed (monitoring mode), a rough image (low resolution image) corresponding to the number of pixels of the liquid crystal monitor is output, or pixel information is thinned out for moving images. This is used when the information amount is reduced and transmitted. The addition reading mode is used for the purpose of expanding the dynamic range by outputting signals from a plurality of rows (for example, two rows) and adding them.
また、カメラ部分を180度回転したときにモニタ上で画像が反転しないようにするなどの目的で、反転読出しを行なう逆方向読出モード(ミラー処理)が要求されることもある。この逆方向読出モードとは、順方向読出モードにおけるアドレス走査の順に対して逆方向に走査するモードであり、このモードもセンサ側で簡単に実現できる。たとえば、順方向読出モード時には行や列のアドレスを小さい方から順番に走査する場合、逆方向読出モードでは、行や列のアドレスを大きい方から小さい方に走査する。 Also, a reverse reading mode (mirror processing) for performing reverse reading may be required for the purpose of preventing the image from being inverted on the monitor when the camera portion is rotated 180 degrees. The reverse direction reading mode is a mode in which scanning is performed in the reverse direction with respect to the order of address scanning in the forward direction reading mode, and this mode can also be easily realized on the sensor side. For example, in the forward reading mode, the row and column addresses are scanned in order from the smallest, and in the backward reading mode, the row and column addresses are scanned from the larger to the smaller.
なお、カラム処理部12bと出力部とのインタフェースや水平走査部の構成によっては、必ずしも水平方向の逆転読出しがセンサ側で実現できないこともある。この場合、水平方向のミラー処理は、画像信号処理部66で実現すればよい。
Depending on the interface between the
このような構成のCMOS撮像素子12を備えたデジタルスチルカメラ1において、単位画素から出力された画素信号は、垂直列ごとに、垂直信号線を介して、カラム処理部12bのカラムAD回路に供給される。単位画素を構成する増幅用トランジスタは各垂直信号線に接続されている。
In the digital
カラム処理部12bの各カラムAD回路は、1列分の画素の信号を受けて、その信号をデジタルデータに変換する。AD回路の構成については、詳細は説明を割愛するが、一例としては、コンパレータ(電圧比較器)にランプ状の参照信号(参照電圧)を供給すると同時にクロック信号でのカウント(計数)を開始し、垂直信号線を介して入力されたアナログの画素信号を参照信号と比較することによってパルス信号が得られるまでカウントすることでAD変換を行なう。
Each column AD circuit of the
また、この際、回路構成を工夫することで、AD変換とともに、垂直信号線を介して入力された電圧モードの画素信号に対して、画素リセット直後の信号レベル(ノイズレベル)と真の(受光光量に応じた)信号レベルとの差分をとる処理を行なうことができる。これにより、固定パターンノイズ(FPN;Fixed Pattern Noise )やリセットノイズといわれるノイズ信号成分を取り除くことができる。 At this time, by devising the circuit configuration, the signal level (noise level) immediately after the pixel reset and the true (light receiving) for the voltage mode pixel signal input through the vertical signal line as well as AD conversion. It is possible to perform processing for obtaining a difference from the signal level (in accordance with the amount of light). Thereby, it is possible to remove a noise signal component called fixed pattern noise (FPN) or reset noise.
このカラムAD回路でデジタル化された画素データは、水平走査部からの水平選択信号により駆動される図示しない水平選択スイッチを介して水平信号線に伝達され、さらに出力回路に入力される。 The pixel data digitized by the column AD circuit is transmitted to a horizontal signal line via a horizontal selection switch (not shown) driven by a horizontal selection signal from a horizontal scanning unit, and further input to an output circuit.
このような構成によって、電荷生成部としての受光素子が行列状に配された画素部12aからは、行アドレスや行走査を制御する垂直走査部(行走査回路)からの駆動パルス(CCDの垂直転送クロックに相当)に基づいて、行ごとに各垂直列について画素信号が順次出力される。そして、受光素子(フォトダイオードなどの光電変換素子)が行列状に配された画素部12aに対応する1枚分の画像すなわちフレーム画像が、画素部12a全体の画素信号の集合で示される。 With such a configuration, from the pixel unit 12a in which the light receiving elements as charge generation units are arranged in a matrix, a driving pulse (vertical CCD) is supplied from a vertical scanning unit (row scanning circuit) that controls row address and row scanning. Based on the transfer clock), pixel signals are sequentially output for each vertical column for each row. Then, one image corresponding to the pixel portion 12a in which light receiving elements (photoelectric conversion elements such as photodiodes) are arranged in a matrix, that is, a frame image, is shown as a set of pixel signals of the entire pixel portion 12a.
<<電子ズーム処理機能;第1例>>
図3は、図1や図2に示したデジタルスチルカメラ1における電子ズーム処理機能に着目した第1例のブロック図である。この第1例は、原色データを処理対象として補間処理による解像度変換を行なう構成としている点に特徴を有する。
<< Electronic Zoom Processing Function; First Example >>
FIG. 3 is a block diagram of a first example focusing on the electronic zoom processing function in the digital
図示するように、画像処理部(DSP)66における信号処理機能として、固体撮像素子10で取得されA/D変換部64にてデジタル化された撮像データの黒基準をクランプするデジタルクランプ部200、およびデジタルクランプ部200にてクランプされた撮像データからR,G,Bの原色データを抽出した後に、原色データR,G,Bに対して、シャープネス補正、ガンマ補正、コントラスト補正、あるいはその他の輝度信号処理や色信号処理を施して輝度データY(あるいは明度データL)や2つの色データU,V(あるいは色差データR−Y,B−Y)に変換して出力する色信号処理部220を備えている。
As shown in the figure, as a signal processing function in the image processing unit (DSP) 66, a
色信号処理部220にて生成された各データは、記録系7(たとえばCODEC74)に送られて画像記録に供されたり、あるいは表示系8(たとえばビデオエンコーダ86)に送られて表示出力に供されたりする。
Each data generated by the color
色信号処理部220は、一例として、デジタルクランプ部200にてクランプされた撮像データからR,G,Bの原色データを抽出するとともに同時化する原色分離・同時化処理部222、および同時化された画素データのゲインを調整可能な色信号増幅部の一例であるホワイトバランスアンプ部224を備えている。また、色信号処理部220は、ガンマ補正部226および色差マトリクス部228を備えている。もちろん、この構成例は一例であって、色信号処理部220は、これらの処理機能以外の構成要素も備える。
As an example, the color
ガンマ補正部226は、R信号Sr3,G信号Sg3,B信号Sb3に基づいて、忠実な色再現のためのガンマ(γ)補正を行ない、ガンマ(γ)補正された各色用の出力信号R,G,Bを色差マトリクス部228に入力する。色差マトリクス部228は、色差マトリクス処理を行なって得た色差信号R−Y,B−Yをビデオエンコーダ86に入力する。
The
ビデオエンコーダ86は、色信号副搬送波に対応するデジタル信号で色差信号R−Y,B−Yをデジタル変調した後、図示しない輝度信号生成部にて生成された輝度信号Yと合成して、デジタル映像信号VD(=Y+S+C;Sは同期信号、Cはクロマ信号、あるいはY信号とクロマ信号Cb,Cr)に変換した後、D/A変換部82に入力する。D/A変換部82は、デジタル映像信号VDをアナログ映像信号Vに変換する。
The
また画像信号処理部66は、本実施形態の特徴部分として、電子的にすなわち画像データ処理により画像を拡大もしくは縮小する解像度変換処理(すなわち電子ズーム処理)を行なう機能要素として、解像度変換処理部300をガンマ補正部226と色差マトリクス部228との間に備えている。
In addition, the image
解像度変換処理部300は、水平方向の倍率に応じて水平方向の画素間を補間処理することで水平方向の解像度を変換する水平解像度変換処理部310、垂直方向の倍率に応じて垂直ラインを補間処理することで垂直方向の解像度を変換する垂直解像度変換処理部320、および解像度変換処理機能を制御する変換制御部330を備えている。
The resolution
<<電子ズーム処理機能;第2例>>
図4は、図1や図2に示したデジタルスチルカメラ1における電子ズーム処理機能に着目した第2例のブロック図である。この第2例は、原色データを処理対象とするのではなくYCbCrに変換した後に補間処理による解像度変換を行なう構成としている点に特徴を有する。
<< Electronic zoom processing function; second example >>
FIG. 4 is a block diagram of a second example focusing on the electronic zoom processing function in the digital
すなわち、図示するように、ビデオエンコーダ86とD/A変換部82との間に、解像度変換処理部300を設けるようにしている。解像度変換処理部300は、ビデオエンコーダ86から供給されるY信号と2つのクロマ信号Cb,Crとを処理対象として、補間処理を利用した解像度変換処理を行なう。
That is, as illustrated, a resolution
解像度変換処理部300は、第1例と同様に、水平方向の倍率に応じて水平方向の画素間を補間処理することで水平方向の解像度を変換する水平解像度変換処理部310、垂直方向の倍率に応じて垂直ラインを補間処理することで垂直方向の解像度を変換する垂直解像度変換処理部320、および解像度変換処理機能を制御する変換制御部330とを備えている。
As in the first example, the resolution
<解像度変換処理部の詳細構成例>
図5は、解像度変換処理部300の詳細な構成例を説明するブロック図である。本実施形態の電子ズーム機能を実現する構成は、固体撮像素子10から読み出した画面1枚分もしくは電子ズームの倍率に応じた分(たとえば2倍ズーム時には1/2フレーム分)の画素信号を記憶するフレームメモリのような大規模な記憶手段を備えておらず、ラインメモリのような簡易なメモリを使用する。
<Detailed Configuration Example of Resolution Conversion Processing Unit>
FIG. 5 is a block diagram illustrating a detailed configuration example of the resolution
また、固体撮像素子10からの画素信号の読出処理と補間処理とを同時並行的に実施可能にするべく、先ず解像度変換処理部300において画素補間を行なうことに加えて、解像度変換処理部300の画素補間動作と連動して、固体撮像素子10の読出タイミングや読み出した画素情報の記憶部への書込処理を制御するようにしている。このため、変換制御部330と駆動制御部96(12c)との間で情報のやり取りをすることで、双方が協働した動作をするようにしている。
In addition to performing pixel interpolation in the resolution
また、解像度変換処理部300にて画素補間処理を行なうべく、先ず水平解像度変換処理部310は、当該解像度変換処理部300の前段から受け取った画素データ(ガンマ補正部226からの原色データやビデオエンコーダ86からのYCデータ)や当該解像度変換処理部300内の各機能部の処理済みの画素データを1水平ライン分ずつ一時的に記憶するラインバッファメモリ312を有している。また、水平解像度変換処理部310は、ラインバッファメモリ312に記憶した1水平ライン中の画素データ(以下ラインデータともいう)を参照して変換制御部330が指定する所望の画素データ量となるように水平方向に補間処理を行なうことで拡大変換もしくは縮小変換(以下纏めて変倍処理ともいう)する水平補間処理部314を有している。
In order to perform pixel interpolation processing in the resolution
変換制御部330は、ラインバッファメモリ312に対する固体撮像素子10からの画素情報(画素データ)の書込みと読出しを、相対的に高速な第1の走査方向である水平走査方向に制御するとともに、水平補間処理部314や垂直解像度変換処理部320における補間処理の動作を制御する。
The
ここで、変換制御部330は、水平走査方向の1単位分の画素情報をラインバッファメモリ312に書き込む際、ラインバッファメモリ312への画素情報の書込みに寄与しないダミー期間が設けられるように、ラインバッファメモリ312に対する書込動作を制御する。こうすることで、固体撮像素子10からの画素信号の読出動作やラインバッファメモリ312への画素情報の書込動作と、水平走査方向とは異なる相対的に低速な第2の走査方向である垂直方向に補間処理を実質的に同時並行的に行なうための期間を用意する。
Here, when the
ラインバッファメモリ312は、前段から受け取った1水平ライン分の全画素データではなく、ズーム倍率に応じて、そのズーム時に使用する画像領域の水平方向の使用領域に相当する画素データ、具体的には、電子ズームの倍率の逆数に応じた領域の画素データのみを処理対象としてラインバッファメモリ312に記憶する。
The
水平補間処理部314は、電子ズームの倍率の逆数に応じた領域の画素信号のみを処理対象にして、電子ズームの倍率に応じて過不足する水平方向の画素データを補間処理にて生成する。また、水平補間処理部314は、必要に応じて(垂直解像度変換処理部320の処理に合わせて)、変倍処理後のラインデータをラインバッファメモリ312に記憶する。
The horizontal
また、垂直解像度変換処理部320は、水平補間処理部314にて水平解像度が変換されたライン単位の画素データを複数ライン分参照して、変換制御部330が指定する所望の画素データ量となるように垂直方向に補間処理を行なうことで拡大変換もしくは縮小変換(変倍処理)する垂直補間処理部324とを有している。垂直補間処理部324は、電子ズームの倍率の逆数に応じた垂直方向領域の画素信号のみを処理対象にして、電子ズームの倍率に応じて過不足する垂直方向の画素データを補間処理にて生成する。
Further, the vertical resolution
垂直補間処理部324は、補間処理の際に、ラインバッファメモリ312から水平補間済みのラインデータを読み出し、また水平補間処理部314にて水平補間された直後のラインデータを受け取って、これら複数ライン分のラインデータを使用して垂直方向の補間処理を行なう。たとえば、「2倍ズーム時」には2ライン(Nラインと“N+1”ライン分の画素データを使用してその間のライン(N+0.5ライン)分の画素データを補間処理によって求めるが、Nライン分については水平補間処理部314にて水平方向の補間処理を行なってラインバッファメモリ312に処理済みの画素データを一時的に記憶しておく。
During the interpolation process, the vertical interpolation processing unit 324 reads the line data after horizontal interpolation from the
そして、“N+1”ライン分について水平補間処理部314にて所定水平位置の水平補間処理を行なった都度、同一水平位置のNライン分の水平補間処理がなされた画素データをラインバッファメモリ312から読み出して即時に垂直方向の補間処理を行なう。あるいは、“N+1”ライン分についても、水平補間処理部314にて水平方向の補間処理を行なってラインバッファメモリ312に処理済みの画素データを一時的に記憶して、この“N+1”ライン分についての水平補間処理が全て完了してから、N,“N+1”の各同一水平位置の水平補間処理がなされた画素データをそれぞれラインバッファメモリ312から読み出して垂直方向の補間処理を行なうようにしてもよい。この場合でも、前者に比べて、最終的なデータ出力が1ライン分遅れるだけである。
Then, each time the horizontal
<電子ズームの処理概要>
図6は、電子ズームの処理概要例を説明する図である。電子ズームによる拡大を行なう場合には、少なくとも垂直方向に関しては、拡大する部分だけを読み出してラインバッファメモリ312に画素データを格納するようにする。
<Outline of electronic zoom processing>
FIG. 6 is a diagram for explaining an example of processing outline of electronic zoom. When enlarging by electronic zoom, at least in the vertical direction, only the portion to be enlarged is read and the pixel data is stored in the
たとえば、図6は、電子ズーム倍率を縦/横ともに2倍に設定した「2倍ズーム時」の例である。この場合、固体撮像素子10から出力された画面1枚分の画素データのうち、画像の縦横1/2の長さ分、面積で1/4のエリア部分(たとえば画面中央部、あるいは任意位置)の画素データを処理対象として使用する。
For example, FIG. 6 shows an example of “double zoom” when the electronic zoom magnification is set to double in both vertical and horizontal directions. In this case, of the pixel data for one screen output from the solid-
そして、何らかの手段で画素間を横方向(水平方向)および縦方向(垂直方向)のそれぞれについて2倍に広げ、この電子ズームの倍率(2倍)に応じて過不足するその隙間の画素位置に埋め込むべき画素データ(補間データ)を求める。 Then, the pixel spacing is doubled in each of the horizontal direction (horizontal direction) and the vertical direction (vertical direction) by some means, and the pixel position of the gap which is excessive or insufficient according to the magnification (2 times) of this electronic zoom is set. Pixel data (interpolation data) to be embedded is obtained.
こうすることで、元画像の縦横1/2の長さ分、たとえば中心部分の縦横1/2の長さ分に注目して縦横それぞれ2倍に拡大することができ、画像サイズを元画像と変わらないようにして、ズーム画像を得ることができる。 By doing this, it is possible to enlarge the image size to the original image by halving the length and width of the original image, for example, by halving the length and width of the center portion. A zoom image can be obtained without changing.
<電子ズームの処理タイミング;第1例>
図7〜図9は、このような電子ズームの仕組みを実現するための詳細な処理タイミングの第1例を説明するタイミングチャートである。ここで、図7は、2倍ズーム時に、固体撮像素子10を駆動制御する駆動制御部96(あるいは21c)へ与える水平同期信号SHDと固体撮像素子10から出力される画素データの関係を説明する図である。また、図8および図9は、処理タイミングの第1例において、2倍ズーム時における補間処理の概要を説明する図である。
<Electronic Zoom Processing Timing; First Example>
7 to 9 are timing charts for explaining a first example of detailed processing timing for realizing such a mechanism of electronic zoom. Here, FIG. 7 illustrates the relationship between the horizontal synchronization signal SHD supplied to the drive control unit 96 (or 21c) that controls the solid-
先ず、変換制御部330は、通常時(ズーム倍率が1倍時)には、固体撮像素子10の水平方向の駆動基準を定める水平同期信号SHDを、画素数分にブランキング(BLK)期間を加えた周期とする。また、電子ズームを行なう場合(ズーム倍率が1倍以外の時)、そのズーム倍率と同じ割合で駆動制御部96(12c)へ供給される水平同期信号の周期を延長するように、同期信号生成部41を制御する。同期信号生成部41は、変換制御部330からの指示に基づき、所定周期の水平同期信号SHDや垂直同期信号SVDを生成して、固体撮像素子10側の駆動制御部96(12c)に供給する。
First, the
駆動制御部96(12c)は、同期信号生成部41からの水平同期信号SHDや垂直同期信号SVDに従って、固体撮像素子10を駆動する種々のタイミングパルスを生成するが、水平同期信号SHDの周期に関わらず、固体撮像素子10の個々の画素を駆動する画素クロックの周期を、実質的に通常時と同じにしておくようにする(多少の違いはあってもよい)。
The drive control unit 96 (12c) generates various timing pulses for driving the solid-
また変換制御部330は、電子ズームの有無に拘らず、固体撮像素子10から画素情報を読み出す画素クロックと、第1の走査方向におけるラインバッファメモリ312へ画素情報を書き込む画素クロックとを同じ周期にしておく。たとえば、固体撮像素子10から読み出した画素信号のラインバッファメモリ312への書込クロックを、CCDにおける水平転送クロックやCMOSにおける水平シフトクロックなどの、固体撮像素子10から水平方向への画素信号の読出クロックの周期と同じ周期にしておく。
In addition, the
こうすることで、電子ズーム時(特に拡大時)に、通常の画素信号の読出期間に加えて、実質的に画素信号の読出しに寄与しないダミー出力期間を設ける。このダミー出力期間を設けることで、補間処理を行なう期間を確保し、これにより、固体撮像素子10からの画素信号の読出処理やメモリへの書込処理と補間処理とを同時並行的に実施できるようにする。
In this way, a dummy output period that does not substantially contribute to the readout of the pixel signal is provided in addition to the normal readout period of the pixel signal during electronic zooming (particularly during enlargement). By providing this dummy output period, it is possible to secure a period for performing the interpolation process, thereby enabling the pixel signal reading process from the solid-
またこの際には、固体撮像素子10からの画素信号の読出処理やラインバッファメモリ312への書込処理と補間処理とを同時並行的に実施できるとともに無駄な時間が生じることがないように、水平走査方向の画素信号の読出処理周期やラインバッファメモリ312への画素情報の書込処理周期を、拡大における通常時に対する倍率と同じ倍率で延長するのがよい。
At this time, the reading process of the pixel signal from the solid-
たとえば、図7に示すように、2倍ズーム時には、固体撮像素子10へ与える水平同期信号SHD1の周期を通常時の水平同期信号SHD0に対して2倍にすることで、水平同期信号SHD1における水平同期信号SHD0分の前半側である画素データ出力期間Hrdすなわち通常の画素データの読出期間に加えて、実質的に画素信号の読出を行なわない水平同期信号SHD0分のダミー出力期間Hdmを、画素データ出力期間Hrdの後半側に設ける。
For example, as shown in FIG. 7, at the time of double zooming, the period of the horizontal synchronization signal SHD1 given to the solid-
固体撮像素子10を駆動する駆動制御部96(12c)では、水平同期信号SHDの周期に関わらず固体撮像素子10の個々の画素を駆動する画素クロックの周期を通常時と同じにしておくので、結果的に、水平同期信号SHD1の周期を水平同期信号SHD0よりもズーム倍率に応じて長く(本例では通常時の2倍に)することで、通常時に対して、フレーム(フィールド)シフトパルス、すなわちCCDの垂直転送クロックやCMOSの行アドレスの駆動パルスを間引くように、固体撮像素子10を駆動する。
In the drive control unit 96 (12c) that drives the solid-
これにより、固体撮像素子10からの画素信号の水平方向への読出処理と水平補間処理部314における水平方向への補間処理を実質的に同時並行的に実施できる。ここで、“実質的に同時並行的に”と言ったのは、電子ズーム時の水平同期信号SHD1の1周期内で、水平同期信号SHD0の周期幅で、固体撮像素子10からの画素信号の読出処理と水平補間処理部314における補間処理とを交互に行なうということである。実際には、水平補間処理部314における補間処理は、ダミー出力期間Hdmにて行なう。
Thereby, the reading process of the pixel signal from the solid-
また、垂直方向に画素データを遅延させて画素ライン間にタイミング的に隙間を作ることができるので、垂直方向へ補間データを入れ易くすることができる。すなわち、前述の水平方向の処理と、垂直補間処理部324における垂直方向への補間処理を同時並行的に実施できる。 Further, since the pixel data can be delayed in the vertical direction to create a gap in timing between the pixel lines, interpolation data can be easily input in the vertical direction. That is, the above-described horizontal processing and vertical interpolation processing in the vertical interpolation processing unit 324 can be performed in parallel.
たとえば、Nライン目の全ての画素についてYCbCr変換後に、図8および図9に示すように、水平解像度変換処理部310は、水平同期信号SHD1における水平同期信号SHD0分の前半側である画素データ出力期間Hrdにおいて、水平方向についての切出処理として、「2倍ズーム時の使用領域」に相当する画素データについて、ラインバッファメモリ312に一時的に記憶しておく。
For example, after YCbCr conversion for all pixels on the N-th line, as shown in FIGS. 8 and 9, the horizontal resolution
この後、水平補間処理部314は、水平同期信号SHD1における水平同期信号SHD0分の後半側であるダミー出力期間Hdmにおいて、ラインバッファメモリ312から画素データを読み出す際に、1画素おきにタイミング的に隙間を空けて(まばらなタイミングで)読み出して、注目画素の周辺から水平補間画素データを計算して、隙間の画素位置に対して、この計算した水平補間画素データを埋め込む。このとき、通常時と同じ画素クロックの周期と実質的に同じ周期の第1の画素クロックに基づき、タイミング信号生成部40は、固体撮像素子10を駆動するとともに、水平補間処理部314は水平解像度変換を行なう。
Thereafter, the horizontal
水平方向についての補間演算は、注目画素の水平方向に隣接する複数(2に限らず3以上でもよい)の参照画素データを用いて、1次補間の一例として、隣接する2画素分からの平均値を使った補間処理や3画素以上を用いつつ画素間の距離に応じて線形補間する重付け線形補間処理をすることができる。もちろん、補間処理の手法は線形補間に限らず、たとえば、バイリニア(双直線補間;Bilinear Interpolation)や3次畳込み内挿法あるいはスプライン補間などの任意の補間手法を用いることができる。重付け線形補間処理や畳込み内挿法などを使うと、2ライン分からの平均値を使った補間処理に比べて、画質重視の補間方法を実現することができる。なお、これら種々の補間処理の詳細は公知の技術であるので、ここではその詳細な説明を割愛する。 Interpolation calculation in the horizontal direction is performed using an average value from two adjacent pixels as an example of primary interpolation using a plurality of (two or more) reference pixel data adjacent to the target pixel in the horizontal direction. It is possible to perform interpolation processing using, and weighted linear interpolation processing that performs linear interpolation according to the distance between pixels while using three or more pixels. Of course, the interpolation processing method is not limited to linear interpolation, and for example, any interpolation method such as bilinear (bilinear interpolation), cubic convolution interpolation, or spline interpolation can be used. When weighted linear interpolation processing, convolution interpolation, or the like is used, an image quality-oriented interpolation method can be realized as compared with interpolation processing using an average value from two lines. Since details of these various interpolation processes are known techniques, detailed description thereof is omitted here.
このようにして、水平補間処理部314は、Nライン目の水平方向についての切出処理と補間処理が完了すると、処理済みの画素データをラインごとにラインバッファメモリ312に格納する。固体撮像素子10からは次の水平同期信号SHD0の1水平期間についてはダミー画素が出力されているが、水平補間部ではここは無視をして処理対象にはしない。
In this way, the horizontal
同様にして、水平解像度変換処理部310は、“N+1”ライン目についても、水平切出処理と水平補間処理とを行なう。
Similarly, the horizontal resolution
次に、垂直解像度変換処理部320は、Nライン目や“N+1”ライン目については、水平補間処理部314にて水平補間処理がなされたラインデータをそのままスルー出力する一方、“N+0.5”ライン目に相当する内挿するラインデータを生成するときに、ラインバッファメモリ312に蓄えたNライン目の水平補間後データと、“N+1”ライン目の水平補間後の画素データとを使って、1ライン分の補間処理を行なう。
Next, for the Nth line and the “N + 1” th line, the vertical resolution
このとき、垂直補間処理部324は、通常時と実質的に同一周期の第1の画素クロックに基づく固体撮像素子10からの画素信号の読出処理や水平補間処理部314での水平補間処理と並行して、第1の画素クロックと実質的に同一周期(多少の違いはあってもよい)の第2の画素クロックに基づいて、垂直解像度変換処理を行なう。すなわち、ズーム倍率に応じた補間すべき注目画素に隣接する隣接する複数ラインの生の画素データもしくは水平補間処理部314における水平方向の補間処理によって求められた水平補間データを用いて、垂直画素数を所望の画素数に変換する。
At this time, the vertical interpolation processing unit 324 is parallel to the reading process of the pixel signal from the solid-
またこのとき、図8に示すように、“N+1”ライン分について水平補間処理部314にて所定水平位置の水平補間処理を行なうのと実質的に並行して(水平補間処理のため最低1画素分のずれはあるが)、“N+1”ラインについての補間処理直後のラインデータの所定水平位置の画素データと、同一水平位置のNライン分の水平補間処理がなされた画素データをラインバッファメモリ312から読み出して、N,“N+1”の各ラインの内挿ラインである“N+0.5”ライン分について、即時に垂直方向の補間処理を行なう。この場合、図から分かるように、“ダミー出力期間”に、水平補間処理と垂直補間処理とがなされることになる。
At this time, as shown in FIG. 8, the horizontal
あるいは、図9に示すように、“N+1”ラインの全体についても、水平補間処理部314にて水平方向の補間処理を行なってラインバッファメモリ312に処理済みの画素データを一時的に記憶する。この後、N,“N+1”の各同一水平位置の水平補間処理がなされた画素データをそれぞれラインバッファメモリ312から読み出して、N,“N+1”の各ラインの内挿ラインである“N+0.5”ライン分について垂直方向の補間処理を行なう。
Alternatively, as shown in FIG. 9, the horizontal
この場合、図8に示す処理に比べて、最終的なデータ出力が1ライン分遅れる。この場合、図から分かるように、“ダミー出力期間”に水平補間処理を行なうが、画素信号の読出処理やこの読み出した画素信号のラインバッファメモリ312への書込処理期間に垂直補間処理がなされることになる。この場合でも、ダミー出力期間が設けられた水平走査方向におけるSHD1の1つの処理期間内で、水平補間処理と垂直補間処理とがなされることになる。
In this case, the final data output is delayed by one line compared to the processing shown in FIG. In this case, as can be seen from the figure, the horizontal interpolation process is performed during the “dummy output period”, but the vertical interpolation process is performed during the pixel signal read process and the read pixel signal write process to the
垂直方向についての補間演算は、注目画素の垂直方向に隣接する複数ラインにおける同一画素位置の参照画素データを用いて、水平方向についての補間演算と同様にして、1次補間の一例として、隣接する2ライン分からの平均値を使った補間処理や3ライン以上を用いつつ画素間の距離に応じて線形補間する重付け線形補間処理をすることができる。もちろん、垂直方向についても、この補間処理の手法は線形補間に限らず、たとえば、バイリニア補間や3次畳込み内挿法あるいはスプライン補間などの任意の補間手法を用いることができる。なお、これら種々の補間処理の詳細は公知の技術であるので、ここではその詳細な説明を割愛する。 Interpolation calculation in the vertical direction is adjacent as an example of primary interpolation using reference pixel data at the same pixel position in a plurality of lines adjacent in the vertical direction of the target pixel in the same manner as interpolation calculation in the horizontal direction. Interpolation processing using an average value from two lines or weighted linear interpolation processing that performs linear interpolation according to the distance between pixels while using three or more lines can be performed. Of course, also in the vertical direction, this interpolation processing method is not limited to linear interpolation, and for example, any interpolation method such as bilinear interpolation, cubic convolution interpolation, or spline interpolation can be used. Since details of these various interpolation processes are known techniques, detailed description thereof is omitted here.
たとえば、2ライン分からの平均値を使った補間処理とすれば、最低1ライン分のラインメモリをラインバッファメモリ312に用意すればよく、最もラインメモリを節約できる方法となる。ラインメモリの数をもう少し確保できるシステムでは、重付け線形補間処理や畳込み内挿法など画質重視の補間方法を実現してもよい。
For example, if interpolation processing using an average value from two lines is used, it is sufficient to prepare a line memory for at least one line in the
以上説明したように、本実施形態によれば、水平同期信号SHDの周期に関わらず固体撮像素子10の個々の画素を駆動する画素クロックの周期を実質的に通常時と同じに維持しつつ、電子ズーム処理時の水平同期信号SHD1の周期を通常時の水平同期信号SHD0よりもズーム倍率に応じて長くすることで、通常時に対してフレーム(フィールド)シフトパルスを間引くようにして固体撮像素子10を駆動する。ズーム倍率に応じて補間処理を行なう期間を確保して、そのズーム倍率に応じて画素間を広げ、その隙間の画素位置に補間処理によって取得した画素データを埋め込むことで、元画像の縦横の1/倍率の長さ分に注目して縦横をそれぞれ倍率分だけ拡大するようにした。
As described above, according to the present embodiment, the period of the pixel clock for driving the individual pixels of the solid-
これにより、極めて少ない数のラインメモリを使用するだけで、画像の電子的な拡大変換を、リアルタイムで実現し、画像サイズを元画像と変わらないようにして、ズーム画像を取得することができる。回路規模が大きく、高価なフレームメモリを使わずに低コストで電子ズーム機能を実現できる。 As a result, by using an extremely small number of line memories, it is possible to realize electronic zoom conversion of an image in real time and obtain a zoom image without changing the image size from the original image. The circuit scale is large, and the electronic zoom function can be realized at low cost without using an expensive frame memory.
単純なラインメモリの制御管理をすればいいので、ラインバッファメモリ312の容量が極めて少なくて済むことに加えて、従来のようにフレームメモリからの読出制御で、補間のための隙間を作るような難しい制御を実現する必要がなく、電子カメラを小型化する上で非常に有利である。加えて、画素データの読書処理の回数が少なくて済むので電子カメラの消費電力が少なく、電子カメラの電池寿命を延ばすこともできる。安価に電子ズームシステムを構築できるため、携帯電話用やモバイル機器用のカメラなどを実現する際の電子ズームとして非常に適している。
Since simple line memory control management is required, the capacity of the
特許文献2に記載の手法も、フレームメモリなどの大規模な記憶手段を使用せず、フレームメモリなどからの読出制御が不要である点では共通するが、少なくとも2〜3ライン分のラインメモリを必要とするし、拡大時には、撮像デバイスの読出駆動を通常時と同じにしつつ(センサ駆動への変更はない)、垂直補間処理用に画素信号の読出処理や水平補間処理用の第1の画素クロックよりも高速の第2の画素クロックを必要とする。
The method described in
これに対して、本実施形態の構成では、ズーム倍率に拘らず同一周期の画素クロックをそれぞれの処理(画素信号の読出処理や水平/垂直の各補間処理)において用いることができるし、またメモリも最低1ライン分でよく、特許文献2に記載の手法よりもさらに簡単・小型化(回路構成を小規模化)・低コスト化・低消費電力化に有利であるし、ノイズに対しても有利であり、拡大ズームモードでも画質劣化の問題が少ない。 On the other hand, in the configuration of the present embodiment, a pixel clock having the same period can be used in each processing (pixel signal reading processing and horizontal / vertical interpolation processing) regardless of the zoom magnification, and the memory. However, it is sufficient for at least one line, and it is more advantageous and simpler than the method described in Patent Document 2 (smaller circuit configuration), lower cost, and lower power consumption. This is advantageous, and there is little problem of image quality degradation even in the enlarged zoom mode.
さらに、本実施形態の解像度変換手法は、画素データの読出側の解像度にのみ依存する構成であるため、CCD固体撮像素子11やCMOS撮像素子12などの各撮像デバイスの画素数や色フィルタ配列が異なる複数の電子カメラに対しても同じ装置構成で共通化して利用することができ、デバイス構造に依存しない汎用性のある仕組みを構築できる。
Furthermore, since the resolution conversion method of the present embodiment depends only on the resolution on the pixel data readout side, the number of pixels and the color filter array of each imaging device such as the CCD solid-
このように、従来の手法であれば、電子ズームで拡大する場合に、画素信号の読出処理と解像度変換処理とを同時並行的(すなわちリアルタイム)に行なう場合、特許文献1に記載のように、1/倍率のフレーム(ライン数)分のラインデータを記憶する大規模なラインメモリを使用するか、もしくは、特許文献2に記載のように、固体撮像素子10から画素信号を読み出す水平同期信号の周期よりも垂直補間演算処理(データ処理による垂直解像度変換処理)の周期を速く設定しておく必要がある。
As described above, when the conventional method performs the pixel signal reading process and the resolution conversion process in parallel (that is, in real time) when enlarging with the electronic zoom, as described in
これに対して、本実施形態の構成および処理手順によれば、画素信号の読出クロックや水平補間処理の画素クロック(第1の画素クロック)に対して垂直補間処理用の第2の画素クロックの周期を高速にすることなく、画素信号の読出周期を1/倍率に変更することで、ズーム拡大用の補間処理を行なうためのダミーの出力期間Hdmを設けるようにした。電子ズームの使用領域に相当する画素データを記憶するフレームメモリなど大容量の記憶手段を必要としないし、補間演算処理の周期を速く設定する必要もなく高速処理も不要となり、ノイズや消費電力などの観点で、特許文献2の仕組みよりも優れたものとなる。
On the other hand, according to the configuration and processing procedure of the present embodiment, the second pixel clock for vertical interpolation processing with respect to the pixel signal readout clock and the horizontal interpolation processing pixel clock (first pixel clock). A dummy output period Hdm for performing interpolation processing for zoom enlargement is provided by changing the pixel signal readout cycle to 1 / magnification without increasing the cycle. There is no need for large-capacity storage means such as a frame memory that stores pixel data corresponding to the area used by the electronic zoom, and there is no need to set the interpolation calculation processing cycle fast, so high-speed processing is not required, and noise and power consumption From this point of view, it is superior to the mechanism of
なお、本実施形態の電子ズームの手法では、フレームレートがズーム倍率の逆数分だけ遅くなる減少(たとえば2倍ズーム時には1/2)が発生する。これは、フレームレートが落ちたことによる違和感、対コスト低減効果で商品化の検討をすればよいものと考える。ただし、昨今の撮像デバイスを使用することを想定すると、駆動周波数が高速のものを使える場合には、本電子ズーム機能を使用してフレームレートが落ちてもそれほど違和感がない領域があるといえる。 In the electronic zoom method of the present embodiment, a decrease in the frame rate that is delayed by the reciprocal of the zoom magnification (for example, 1/2 during double zooming) occurs. This is considered to be a commercialization due to a sense of incongruity due to a drop in the frame rate and an effect of cost reduction. However, assuming that a recent imaging device is used, it can be said that there is a region where there is no sense of incongruity even when the frame rate is lowered by using the electronic zoom function when a device with a high driving frequency can be used.
なお、ズーム拡大に寄与しない不使用領域のライン情報を固体撮像素子10から読み出す際には通常の画素クロックよりも高速に読み出す(掃き出す)ようにすることで、フレームレートの低下を改善するようにしてもよい。
Note that when the line information of the unused area that does not contribute to zoom enlargement is read out from the solid-
<電子ズームの処理タイミング;第2例>
図10は、電子ズームの仕組みを実現するための詳細な処理タイミングの第2例を説明するタイミングチャートであって、2倍ズーム時の例を示す。この図10は、図10と対応するものであり、固体撮像素子10を駆動制御する駆動制御部96(あるいは21c)へ与える水平同期信号SHDと固体撮像素子10から出力される画素データの関係を説明する図である。
<Electronic Zoom Processing Timing; Second Example>
FIG. 10 is a timing chart for explaining a second example of detailed processing timing for realizing the mechanism of the electronic zoom, and shows an example at the time of double zooming. FIG. 10 corresponds to FIG. 10, and shows the relationship between the horizontal synchronization signal SHD applied to the drive control unit 96 (or 21 c) that drives and controls the solid-
第1例においては、水平同期信号SHD1の周期を水平同期信号SHD0よりも長く(第1例では通常時の2倍に)することで、通常時に対して垂直転送クロックを間引くようにしていたが、結果的に、通常時に対して垂直転送クロックを間引く動作を行なえばよく、水平同期信号SHDの周期を変えるか否かは必須の要素ではない。 In the first example, the period of the horizontal synchronization signal SHD1 is longer than that of the horizontal synchronization signal SHD0 (in the first example, twice that of the normal time) so that the vertical transfer clock is thinned out from the normal time. As a result, it is only necessary to thin out the vertical transfer clock with respect to the normal time, and whether or not to change the cycle of the horizontal synchronization signal SHD is not an essential element.
同期信号生成部41からタイミング信号生成部40に供給する水平同期信号SHDは、電子ズーム動作の有無に拘らず、実質的に通常時と同じ周期に維持しつつ、タイミング信号生成部40は、電子ズーム動作時(倍率が1倍以外)には、垂直方向への走査クロックであるラインシフトパルスを電子ズームの倍率に応じて間引いて固体撮像素子10を駆動するようにしてもよい。
The horizontal synchronization signal SHD supplied from the synchronization signal generation unit 41 to the timing
たとえば、図10に示すように、タイミング信号生成部40は、2倍ズーム時には、結果的に、通常時の1ラインの間隔で、垂直方向のシフト動作、すなわちCCDの垂直転送やカラム処理部が列並列構成のCMOSにおける行単位の読出処理を行なえばよく、水平同期信号SHDの周期を変えずに、ラインシフトパルスを1ラインごとに間引く動作だけを行なうようにしてもよい。
For example, as shown in FIG. 10, the timing
以上、本発明を実施形態を用いて説明したが、本発明の技術的範囲は上記実施形態に記載の範囲には限定されない。発明の要旨を逸脱しない範囲で上記実施形態に多様な変更または改良を加えることができ、そのような変更または改良を加えた形態も本発明の技術的範囲に含まれる。 As mentioned above, although this invention was demonstrated using embodiment, the technical scope of this invention is not limited to the range as described in the said embodiment. Various changes or improvements can be added to the above-described embodiment without departing from the gist of the invention, and embodiments to which such changes or improvements are added are also included in the technical scope of the present invention.
また、上記の実施形態は、クレーム(請求項)にかかる発明を限定するものではなく、また実施形態の中で説明されている特徴の組合せの全てが発明の解決手段に必須であるとは限らない。前述した実施形態には種々の段階の発明が含まれており、開示される複数の構成要件における適宜の組合せにより種々の発明を抽出できる。実施形態に示される全構成要件から幾つかの構成要件が削除されても、効果が得られる限りにおいて、この幾つかの構成要件が削除された構成が発明として抽出され得る。 Further, the above embodiments do not limit the invention according to the claims (claims), and all combinations of features described in the embodiments are not necessarily essential to the solution means of the invention. Absent. The embodiments described above include inventions at various stages, and various inventions can be extracted by appropriately combining a plurality of disclosed constituent elements. Even if some constituent requirements are deleted from all the constituent requirements shown in the embodiment, as long as an effect is obtained, a configuration from which these some constituent requirements are deleted can be extracted as an invention.
たとえば、上記実施形態では、ズーム倍率として2倍ズーム時を例に具体的に説明したが、2倍に限らず、電子ズームに関わる補間処理用の期間を確保するべく、第1の走査方向(一例として水平走査方向)に画素情報を撮像デバイスから読み出したり記憶部に書き込んだりする際に、画素情報の読出処理や書込処理に寄与しないダミー期間を設けるようにすることで、たとえば、3倍、あるいは4倍など、任意の整数倍に固定倍率で拡大処理することもできるし、整数倍に限らず、M/N倍(M>N;M,Nは任意の整数)というように、ズーム倍率が自由な、すなわち中途半端な倍率が指定できるバリアブルズーム機能を実現することもできる。 For example, in the above-described embodiment, the zoom magnification is specifically described by taking the double zoom as an example. However, the zoom magnification is not limited to double, and the first scanning direction (in order to secure a period for interpolation processing related to the electronic zoom) For example, when pixel information is read from the imaging device or written in the storage unit in the horizontal scanning direction), a dummy period that does not contribute to the pixel information reading process or writing process is provided, for example, three times Alternatively, zooming can be performed at an arbitrary integer multiple such as 4 × at a fixed magnification, and is not limited to an integer multiple, but M / N times (M> N; M and N are arbitrary integers). It is also possible to realize a variable zoom function in which a magnification can be freely specified, that is, a halfway magnification can be designated.
また、上記実施形態では、撮像デバイスから読み出された画像を処理対象として電子ズーム機能を実現する手法を説明したが、処理対象画像は、撮像デバイスから読み出された画像に限定されない。上記実施形態で説明した電子ズームを実現する仕組みは、あらゆる画像を処理対象とするものに適用可能である。 In the above-described embodiment, the method of realizing the electronic zoom function using the image read from the imaging device as a processing target has been described. However, the processing target image is not limited to the image read from the imaging device. The mechanism for realizing the electronic zoom described in the above embodiment can be applied to any image processing target.
1…デジタルスチルカメラ(撮像装置)、2…固体撮像装置、3…カメラモジュール、3a…撮像装置モジュール、4…本体ユニット、5…光学系、6…信号処理系、7…記録系、8…表示系、9…制御系、10…固体撮像素子、11…CCD固体撮像素子、12…CMOS撮像素子、50…撮像レンズ、66…画像信号処理部、74…CODEC、84…ビデオモニタ、92…中央制御部、94…露出コントローラ、98…操作部、99…システムバス、300…解像度変換処理部、310…水平解像度変換処理部、312…ラインバッファメモリ、314…水平補間処理部、320…垂直解像度変換処理部、324…垂直補間処理部、330…変換制御部
DESCRIPTION OF
Claims (14)
画像サイズを前記第2の走査方向に拡大する解像度変換処理時には、前記第1の走査方向に画素情報を前記記憶部に書き込む際に、前記記憶部への画素情報の書込みに寄与しないダミー期間を設けるようにした
ことを特徴とする画像処理方法。 The writing and reading of the pixel information to and from the storage unit are controlled in the relatively fast first scanning direction, and the pixel information read out from the storing unit is used and the pixel information read out from the storing unit is relatively slow and different from the first scanning direction. An image processing method for performing resolution conversion processing of an image by performing interpolation processing in a second scanning direction,
At the time of resolution conversion processing for enlarging the image size in the second scanning direction, a dummy period that does not contribute to writing of pixel information to the storage unit is written when pixel information is written in the storage unit in the first scanning direction. An image processing method characterized by being provided.
当該第1の走査方向に拡大した画素情報を用いて、画像サイズを前記第2の走査方向に拡大する
ことを特徴とする請求項1に記載の画像処理方法。 By performing an interpolation process while reading out pixel information from the storage unit, a resolution conversion process for enlarging the image size in the first scanning direction is performed.
The image processing method according to claim 1, wherein the image size is enlarged in the second scanning direction using the pixel information enlarged in the first scanning direction.
ことを特徴とする請求項1に記載の画像処理方法。 The dummy period is provided by making a writing processing cycle of the first scanning direction unit for writing the pixel information to the storage unit in the first scanning direction longer than a normal time. 2. The image processing method according to 1.
ことを特徴とする請求項3に記載の画像処理方法。 4. The image processing method according to claim 3, wherein the writing processing cycle in the first scanning direction is extended at the same magnification as that for the normal time in the enlargement.
画素情報を記憶する記憶部と、
前記記憶部に対する画素情報の書込みと読出しを相対的に高速な第1の走査方向に制御するとともに前記補間処理の動作を制御する変換制御部と、
前記記憶部から読み出した画素情報を用いて前記第1の走査方向とは異なる相対的に低速な第2の走査方向に補間処理を行なうことにより、画像の解像度変換処理を行なう解像度変換処理部と
を備え、
前記変換制御部は、前記第1の走査方向に画素情報を前記記憶部に書き込む際に、前記記憶部への画素情報の書込みに寄与しないダミー期間が設けられるように、前記記憶部を制御し、
前記解像度変換処理部は、前記ダミー期間を実質的に利用して、前記第2の走査方向に補間処理を行なうことで、画像サイズを前記第2の走査方向に拡大する
ことを特徴とする画像処理装置。 An image processing apparatus that performs resolution conversion processing of an image by performing interpolation processing,
A storage unit for storing pixel information;
A conversion control unit that controls writing and reading of pixel information to and from the storage unit in a relatively high-speed first scanning direction and controls the operation of the interpolation processing;
A resolution conversion processing unit that performs resolution conversion processing of an image by performing interpolation processing in a second scanning direction that is relatively low speed different from the first scanning direction using the pixel information read from the storage unit; With
The conversion control unit controls the storage unit so that a dummy period that does not contribute to writing of the pixel information to the storage unit is provided when writing pixel information to the storage unit in the first scanning direction. ,
The resolution conversion processing unit enlarges an image size in the second scanning direction by performing interpolation processing in the second scanning direction substantially using the dummy period. Processing equipment.
ことを特徴とする請求項5に記載の画像処理装置。 The resolution conversion processing unit performs interpolation processing in the first scanning direction while reading out pixel information from the storage unit, thereby enlarging the image size in the first scanning direction, and in the first scanning direction. The image processing apparatus according to claim 5, wherein the image size is enlarged in the second scanning direction using the enlarged pixel information.
ことを特徴とする請求項5に記載の画像処理装置。 The conversion control unit controls the storage unit so that a writing processing cycle in the first scanning direction unit for writing the pixel information to the storage unit in the first scanning direction is longer than normal. The image processing apparatus according to claim 5, wherein the dummy period is provided.
ことを特徴とする請求項7に記載の画像処理装置。 The image processing apparatus according to claim 7, wherein the conversion control unit extends the writing processing cycle in the first scanning direction at a magnification that is the same as a magnification with respect to a normal time in the enlargement.
画素情報を前記撮像デバイスから読み出すように制御する駆動制御部と、
前記撮像デバイスから読み出された画素情報を記憶する記憶部と、
前記記憶部に対する画素情報の書込みと読出しを相対的に高速な第1の走査方向に制御するとともに前記補間処理の動作を制御する変換制御部と、
前記記憶部から読み出した画素情報を用いて前記第1の走査方向とは異なる相対的に低速な第2の走査方向に補間処理を行なうことにより、画像の解像度変換処理を行なう解像度変換処理部と
を備え、
前記変換制御部は、前記撮像デバイスからの画素情報の読出しに寄与しないダミー期間が設けられるように、前記駆動制御部を制御し、
前記解像度変換処理部は、前記ダミー期間を実質的に利用して、前記第2の走査方向に補間処理を行なうことで、画像サイズを前記第2の走査方向に拡大する
ことを特徴とする撮像装置。 An imaging device that captures an image of a subject using an imaging device and performs image resolution conversion processing by performing interpolation processing on the captured image,
A drive controller for controlling the pixel information to be read from the imaging device;
A storage unit for storing pixel information read from the imaging device;
A conversion control unit that controls writing and reading of pixel information to and from the storage unit in a relatively high-speed first scanning direction and controls the operation of the interpolation processing;
A resolution conversion processing unit that performs resolution conversion processing of an image by performing interpolation processing in a second scanning direction that is relatively low speed different from the first scanning direction using the pixel information read from the storage unit; With
The conversion control unit controls the drive control unit so that a dummy period that does not contribute to reading of pixel information from the imaging device is provided,
The resolution conversion processing unit enlarges an image size in the second scanning direction by performing interpolation processing in the second scanning direction substantially using the dummy period. apparatus.
ことを特徴とする請求項9に記載の撮像装置。 The resolution conversion processing unit performs interpolation processing in the first scanning direction while reading out pixel information from the storage unit, thereby enlarging the image size in the first scanning direction, and in the first scanning direction. The image pickup apparatus according to claim 9, wherein the image size is enlarged in the second scanning direction using the enlarged pixel information.
ことを特徴とする請求項9に記載の撮像装置。 The conversion control unit controls the drive control unit so that a reading process period in the first scanning direction unit for reading out pixel information from the imaging device in the first scanning direction is longer than normal. The imaging apparatus according to claim 9, wherein the dummy period is provided.
ことを特徴とする請求項11に記載の撮像装置。 The imaging apparatus according to claim 11, wherein the conversion control unit extends the writing processing cycle in the first scanning direction at the same magnification as that for the normal time in the enlargement.
画素情報を前記撮像デバイスから前記第1の走査方向に読み出す走査基準信号であって、画像サイズを前記第2の走査方向に拡大する解像度変換処理時には、前記第1の走査方向単位の読出処理周期が通常時よりも長い走査基準信号を前記駆動制御部に供給することで、前記撮像デバイスからの画素情報の読出しに寄与しないダミー期間を設ける基準信号供給部
を備えたことを特徴とするタイミング制御装置。 A drive control unit that reads out pixel information from the imaging device in a relatively high-speed first scanning direction and controls the pixel information to be read out in a relatively low-speed second scanning direction different from the first scanning direction. A timing control device for controlling the timing of the driving operation of the imaging device,
A scanning reference signal for reading pixel information from the imaging device in the first scanning direction, and at the time of resolution conversion processing for enlarging the image size in the second scanning direction, a readout processing period in units of the first scanning direction Timing control, comprising: a reference signal supply unit that provides a dummy period that does not contribute to reading pixel information from the imaging device by supplying a scanning reference signal longer than normal to the drive control unit apparatus.
ことを特徴とする請求項13に記載のタイミング制御装置。
The timing control device according to claim 13, wherein the reference signal supply unit extends the writing processing cycle in the first scanning direction at the same magnification as that for the normal time in the enlargement.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004218282A JP2006041867A (en) | 2004-07-27 | 2004-07-27 | Image processing method and image processor, imaging apparatus, and timing controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004218282A JP2006041867A (en) | 2004-07-27 | 2004-07-27 | Image processing method and image processor, imaging apparatus, and timing controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006041867A true JP2006041867A (en) | 2006-02-09 |
Family
ID=35906396
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004218282A Pending JP2006041867A (en) | 2004-07-27 | 2004-07-27 | Image processing method and image processor, imaging apparatus, and timing controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006041867A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008167293A (en) * | 2006-12-28 | 2008-07-17 | Samsung Techwin Co Ltd | Imaging apparatus and imaging method |
JP2012090330A (en) * | 2011-12-27 | 2012-05-10 | Sony Corp | A/d conversion device and method of the same, solid state imaging device and method for driving the same, and camera system |
JP2014511071A (en) * | 2011-03-16 | 2014-05-01 | クゥアルコム・インコーポレイテッド | Generate a zoomed image |
CN115118945A (en) * | 2022-06-27 | 2022-09-27 | 南昌华勤电子科技有限公司 | Color correction method and device for camera module |
CN116546333A (en) * | 2023-04-03 | 2023-08-04 | 华光影像科技合肥有限公司 | Method, system and camera for simultaneously outputting video pictures of different shooting modes |
JP7389586B2 (en) | 2019-08-28 | 2023-11-30 | キヤノン株式会社 | Imaging device and method for driving the imaging device |
-
2004
- 2004-07-27 JP JP2004218282A patent/JP2006041867A/en active Pending
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008167293A (en) * | 2006-12-28 | 2008-07-17 | Samsung Techwin Co Ltd | Imaging apparatus and imaging method |
JP2014511071A (en) * | 2011-03-16 | 2014-05-01 | クゥアルコム・インコーポレイテッド | Generate a zoomed image |
US9325905B2 (en) | 2011-03-16 | 2016-04-26 | Qualcomm Incorporated | Generating a zoomed image |
JP2012090330A (en) * | 2011-12-27 | 2012-05-10 | Sony Corp | A/d conversion device and method of the same, solid state imaging device and method for driving the same, and camera system |
JP7389586B2 (en) | 2019-08-28 | 2023-11-30 | キヤノン株式会社 | Imaging device and method for driving the imaging device |
CN115118945A (en) * | 2022-06-27 | 2022-09-27 | 南昌华勤电子科技有限公司 | Color correction method and device for camera module |
CN116546333A (en) * | 2023-04-03 | 2023-08-04 | 华光影像科技合肥有限公司 | Method, system and camera for simultaneously outputting video pictures of different shooting modes |
CN116546333B (en) * | 2023-04-03 | 2023-10-31 | 华光影像科技合肥有限公司 | Method, system and camera for simultaneously outputting video pictures of different shooting modes |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4161384B2 (en) | Solid-state imaging device, camera using the same, and driving method of solid-state imaging device | |
JP4984981B2 (en) | Imaging method, imaging apparatus, and driving apparatus | |
JP4905279B2 (en) | Imaging circuit and imaging apparatus | |
US20040263652A1 (en) | Image-taking apparatus and solid-state image-taking element | |
JP2007274599A (en) | Imaging apparatus | |
KR100462260B1 (en) | Video pickup device | |
JP2007135200A (en) | Imaging method, imaging device, and driver | |
JP4294810B2 (en) | Solid-state imaging device and signal readout method | |
JP2006014117A (en) | Physical information acquisition method, physical information acquisition apparatus and semiconductor device for detecting physical quantity distribution | |
JP4317117B2 (en) | Solid-state imaging device and imaging method | |
JP3967853B2 (en) | Solid-state imaging device and signal readout method | |
JP2006121151A (en) | Signal processing method, signal processing apparatus and physical information acquiring apparatus | |
JP2000125213A (en) | Solid-state image pickup device | |
JP2007124542A (en) | Imaging apparatus, and control method, program and recording medium thereof | |
JP2002335454A (en) | Image processing unit, image processing method and imaging apparatus | |
JP2006041867A (en) | Image processing method and image processor, imaging apparatus, and timing controller | |
JP4458864B2 (en) | IMAGING DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM | |
JP2005286565A (en) | Solid-state imaging element and drive method of solid-state imaging element | |
JP4279562B2 (en) | Control method for solid-state imaging device | |
US6885402B1 (en) | Solid-state image pickup apparatus with fast photometry with pixels increased, and signal reading out method therefor | |
JP4195148B2 (en) | Solid-state imaging device and signal readout method | |
JP3967500B2 (en) | Solid-state imaging device and signal readout method | |
JP4984517B2 (en) | Imaging unit and imaging apparatus | |
JP2008270832A (en) | Solid-state imaging element and imaging apparatus | |
JP4630200B2 (en) | Solid-state imaging device and imaging apparatus |