JP2007142908A - Imaging device and method - Google Patents

Imaging device and method Download PDF

Info

Publication number
JP2007142908A
JP2007142908A JP2005335192A JP2005335192A JP2007142908A JP 2007142908 A JP2007142908 A JP 2007142908A JP 2005335192 A JP2005335192 A JP 2005335192A JP 2005335192 A JP2005335192 A JP 2005335192A JP 2007142908 A JP2007142908 A JP 2007142908A
Authority
JP
Japan
Prior art keywords
image
aspect ratio
pixel
image data
reading
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
JP2005335192A
Other languages
Japanese (ja)
Other versions
JP4997745B2 (en
Inventor
Susumu Takashima
進 高島
Masami Yuyama
将美 湯山
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2005335192A priority Critical patent/JP4997745B2/en
Publication of JP2007142908A publication Critical patent/JP2007142908A/en
Application granted granted Critical
Publication of JP4997745B2 publication Critical patent/JP4997745B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Transforming Light Signals Into Electric Signals (AREA)
  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an imaging device for acquiring not only an image with a necessary aspect ratio but a high quality image, by utilizing effectively pixel information obtained at the photographing time even if the necessary image size is small. <P>SOLUTION: Image data of an object are read out by pixel addition from an image element. After image data of image size (b) is acquired as scale-downed from the effective pixel size (a) of the imaging element, surplus of predetermined width in upper/lower sides or in upper/lower and right/left sides is deleted from the image based on the image data to generate an image with a predetermined aspect ratio (c). Through the adjustment of surplus deleted from the image based on the image data read from the imaging element, the image with necessary aspect ratio can be generated. Even if the necessary image size is small, the discarded information amount at the image information obtained at the photography time can be reduced to a minimum. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、デジタルカメラ等の撮像装置、及びその撮像方法に関するものである。   The present invention relates to an imaging apparatus such as a digital camera and an imaging method thereof.

従来、撮影した画像を画像データとして記録媒体に記録する電子カメラ装置においては、通常のアスペクト比(3:4)と異なる、例えば通常よりも横長のワイドアスペクト比(9:16等)の画像を記録する場合、撮像素子から出力された通常のアスペクト比の画像データにおける上下の余剰部分を削除することによりワイドアスペクト比の画像データを生成して記録する方法が知られている(例えば下記特許文献1参照)。
特開平7−30788号公報
2. Description of the Related Art Conventionally, in an electronic camera device that records a captured image as image data on a recording medium, an image having a wide aspect ratio (9:16 or the like) that is different from a normal aspect ratio (3: 4), for example, is wider than usual. In the case of recording, there is known a method of generating and recording wide aspect ratio image data by deleting upper and lower surplus portions in normal aspect ratio image data output from an image sensor (for example, the following patent document). 1).
Japanese Patent Laid-Open No. 7-30788

しかしながら、上記方法によりワイドアスペクト比の画像を得るとき、必要とする画像の画素数(画像サイズ)が撮像素子の有効画素数よりもかなり少ない場合には、撮像素子から出力された画像データの上下の余剰部分をカットするだけでは必要とする画素数を得には不十分である。そのため、上記場合には、余剰部分をカットするだけでなく、画像データに対して画素間引き(単純間引き)を行う必要があり、結果的に偽色の発生などの画像劣化が不可避的に生じてしまうという問題があった。   However, when an image with a wide aspect ratio is obtained by the above method, if the required number of pixels (image size) is considerably smaller than the number of effective pixels of the image sensor, the upper and lower sides of the image data output from the image sensor It is not sufficient to obtain the required number of pixels simply by cutting the surplus portion. Therefore, in the above case, it is necessary not only to cut the surplus part but also to perform pixel thinning (simple thinning) on the image data, resulting in image degradation such as generation of false colors. There was a problem that.

本発明は、かかる従来の課題に鑑みてなされたものであり、必要とするアスペクト比の画像が取得できるだけでなく、必要とする画像サイズが小さい場合であっても、撮像時に得られる画素情報を有効に利用した質の高い画像を得ることが可能となる撮像装置及び撮像方法と、それらの実現に使用されるプログラムを提供することを目的とする。   The present invention has been made in view of such a conventional problem. In addition to obtaining an image having a required aspect ratio, pixel information obtained at the time of imaging can be obtained even when the required image size is small. An object of the present invention is to provide an imaging apparatus and an imaging method capable of obtaining a high-quality image that is effectively used, and a program used for realizing them.

前記課題を解決するため請求項1の発明にあっては、被写体画像を撮像する撮像素子を備えた撮像装置において、前記撮像素子から、前記被写体画像の画像データを画素加算して読み出す読出し手段と、この読出し手段により読み出された画像データに基づく画像から、当該画像の所定の辺に沿う所定幅の余剰部分を削除することにより、所定のアスペクト比の画像を生成する画像生成手段とを備えたものとした。   In order to solve the above-mentioned problem, in the invention of claim 1, in an imaging apparatus including an imaging device for imaging a subject image, a reading unit that reads out image data of the subject image from the imaging device by adding pixels And an image generation means for generating an image having a predetermined aspect ratio by deleting an excess portion having a predetermined width along a predetermined side of the image from the image based on the image data read by the reading means. It was assumed.

かかる構成においては、被写体画像の画像データが、画素加算により縮小されかつ有効画素のほぼ全て乃至は全ての画素情報が反映された状態で撮像素子から読み出され、その画像データに基づく画像における所定の辺に沿う所定幅の余剰部分が削除されることによって、所定のアスペクト比の画像が生成される。したがって、撮像素子から読み出した画像データに基づく画像から削除する余剰部分の調整によって必要とするアスペクト比の画像が生成できるとともに、必要とする画像サイズが小さい場合であっても、撮像時に得られた全画素情報から破棄される分の情報量を最小限に止めることができる。   In such a configuration, the image data of the subject image is read out from the image sensor in a state where the image data is reduced by pixel addition and almost all or all of the effective pixels are reflected, and a predetermined image in the image based on the image data is read. By deleting an excess portion having a predetermined width along the side, an image having a predetermined aspect ratio is generated. Therefore, it is possible to generate an image with the required aspect ratio by adjusting the surplus portion to be deleted from the image based on the image data read from the image sensor, and even when the required image size is small, it was obtained at the time of imaging. The amount of information discarded from all pixel information can be minimized.

また、請求項2の発明にあっては、前記画像生成手段は、前記読出し手段により読み出された画像データに基づく画像から、当該画像の上下及び/又は左右における所定幅の余剰部分を削除することにより、所定のアスペクト比の画像を生成するものとした。   According to a second aspect of the present invention, the image generation means deletes an excess portion having a predetermined width at the top and bottom and / or right and left of the image from the image based on the image data read by the reading means. Thus, an image having a predetermined aspect ratio is generated.

また、請求項3の発明にあっては、前記画像生成手段は、前記撮像素子における有効画素領域のアスペクト比と異なる所定のアスペクト比の画像を生成するものとした。   According to a third aspect of the present invention, the image generating means generates an image having a predetermined aspect ratio different from the aspect ratio of the effective pixel area in the image sensor.

また、請求項4の発明にあっては、前記画像生成手段は、前記撮像素子における有効画素領域のアスペクト比と異なる複数種類のアスペクト比の画像を生成するものとした。   According to a fourth aspect of the present invention, the image generation means generates an image having a plurality of types of aspect ratios different from the aspect ratio of the effective pixel area in the image sensor.

また、請求項5の発明にあっては、前記画像生成手段は、前記撮像素子における有効画素領域のアスペクト比と異なる所定のアスペクト比の画像に加え、前記撮像素子における有効画素領域と同一のアスペクト比の画像を生成するものとした。   According to a fifth aspect of the present invention, in addition to the image having a predetermined aspect ratio different from the aspect ratio of the effective pixel area in the image sensor, the image generation means has the same aspect as the effective pixel area in the image sensor. A ratio image was generated.

また、請求項6の発明にあっては、前記画像生成手段は、前記読出し手段により読み出された画素加算数が同一の画像データに基づく画像から、互いに異なるアスペクト比を有する複数種類の画像を生成するものとした。   In the invention according to claim 6, the image generation means obtains a plurality of types of images having different aspect ratios from images based on image data having the same number of added pixels read by the reading means. It was supposed to be generated.

また、請求項7の発明にあっては、前記読出し手段による前記撮像素子からの画像データ読み出し時の画素加算数を、前記画像生成手段により生成される画像のサイズに対応する画素加算数に制御する読出し制御手段を備えたものとした。   In the invention of claim 7, the pixel addition number when the image data is read from the image sensor by the reading unit is controlled to a pixel addition number corresponding to the size of the image generated by the image generation unit. It is assumed that a reading control means is provided.

かかる構成においては、撮像素子からの画像データ読み出し時の画素加算数を、必要とする画像サイズに適した画素加算数とすることができ、それによっても撮像時に得られた全画素情報から破棄される分の情報量を最小限に止めることができる。   In such a configuration, the pixel addition number when reading image data from the image sensor can be set to a pixel addition number suitable for the required image size, which is also discarded from all pixel information obtained at the time of imaging. The amount of information required can be minimized.

また、請求項8の発明にあっては、前記読出し手段は、前記撮像素子から前記被写体画像の画像データを読み出す読出しモードとして、前記画像データを画素加算して読み出す画素加算モードと、前記画像データを画素加算を行わずに読み出す通常モードとを有し、前記読出し制御手段は、前記画像生成手段により生成される画像のサイズに応じて前記読出し手段における読出しモードを画素加算モード又は通常モードに制御するとともに、前記読出し手段により読み出される画像データにおける画素加算数を前記画像生成手段により生成される画像のサイズに対応する画素加算数に制御するものとした。   In addition, in the invention of claim 8, the reading means reads out the image data of the subject image from the image sensor as a reading mode for reading out the image data by adding pixels to the pixel addition mode, and the image data And a normal mode for reading out the image without performing pixel addition, and the readout control unit controls the readout mode in the readout unit to the pixel addition mode or the normal mode according to the size of the image generated by the image generation unit In addition, the pixel addition number in the image data read by the reading unit is controlled to be a pixel addition number corresponding to the size of the image generated by the image generation unit.

また、請求項9の発明にあっては、前記画像生成手段により生成された画像のデータを圧縮する圧縮手段と、その圧縮手段により圧縮された圧縮された後の画像データを記録する記録手段とをさらに備え、前記圧縮手段は、前記画像生成手段により生成される画像の画素数に応じたデータ処理能力を備えたものとした。   According to a ninth aspect of the present invention, there is provided compression means for compressing the image data generated by the image generation means, and recording means for recording the compressed image data compressed by the compression means. And the compression means has a data processing capability according to the number of pixels of the image generated by the image generation means.

かかる構成においては、撮像した画像を記録する際の処理効率を向上させることができる。   In such a configuration, it is possible to improve processing efficiency when recording a captured image.

また、請求項10の発明にあっては、前記画像生成手段は、前記読出し手段により前記撮像素子から一定周期で読み出された画像データに基づく画像から、動画を構成する所定のアスペクト比の画像を生成するものとした。   According to a tenth aspect of the present invention, the image generating means is an image having a predetermined aspect ratio constituting a moving image from an image based on the image data read from the imaging element by the reading means at a constant period. Was supposed to be generated.

かかる構成においては、所定のアスペクト比の動画像を生成するとき、必要とする動画像のサイズが小さい場合であっても、撮像時に得られた全画素情報から破棄される分の情報量を最小限に止めることができる。   In such a configuration, when generating a moving image having a predetermined aspect ratio, even if the required moving image size is small, the information amount to be discarded from all pixel information obtained at the time of imaging is minimized. It can be stopped to the limit.

また、請求項11の発明にあっては、前記記録手段には、静止画撮影時に前記画像生成手段により生成された静止画像、及び動画撮影時に前記画像生成手段により生成された動画像が記録され、前記読出し制御手段は、前記静止画撮影時に前記読出し手段により読み出される画像データにおける画素加算数を、前記動画撮影時に前記読出し手段により読み出される画像データにおける画素加算数よりも少ない数を含む画素加算数に制御するものとした。   In the invention of claim 11, the recording means records a still image generated by the image generation means during still image shooting and a moving image generated by the image generation means during moving image shooting. The readout control means includes a pixel addition number including a pixel addition number in the image data read out by the reading means during the still image shooting, which is smaller than a pixel addition number in the image data read out by the reading means during the moving image shooting. The number was to be controlled.

また、請求項12の発明にあっては、被写体画像を撮像する撮像素子を備えた撮像装置の撮像方法において、前記撮像素子から、前記被写体画像の画像データを画素加算して読み出す工程と、読み出した画像データに基づく画像から、当該画像の所定の辺に沿う所定幅の余剰部分を削除することにより、所定のアスペクト比の画像を生成する工程とを含む方法とした。   According to a twelfth aspect of the present invention, in the imaging method of an imaging apparatus including an imaging device for imaging a subject image, a step of reading out image data of the subject image from the imaging device by adding pixels, and reading Generating an image having a predetermined aspect ratio by deleting an excess portion having a predetermined width along a predetermined side of the image from the image based on the image data.

かかる方法においては、被写体画像の画像データが、画素加算により縮小されかつ有効画素のほぼ全て乃至は全ての画素情報が反映された状態で撮像素子から読み出され、その画像データに基づく画像における所定の辺に沿う所定幅の余剰部分が削除されることによって、所定のアスペクト比の画像が生成される。したがって、撮像素子から読み出した画像データに基づく画像から削除する余剰部分の調整によって必要とするアスペクト比の画像が生成できるとともに、必要とする画像サイズが小さい場合であっても、撮像時に得られた全画素情報から破棄される分の情報量を最小限に止めることができる。   In this method, the image data of the subject image is read out from the image sensor in a state where the image data is reduced by pixel addition and substantially all or all of the effective pixels are reflected, and a predetermined image in the image based on the image data is read. By deleting an excess portion having a predetermined width along the side, an image having a predetermined aspect ratio is generated. Therefore, it is possible to generate an image with the required aspect ratio by adjusting the surplus portion to be deleted from the image based on the image data read from the image sensor, and even when the required image size is small, it was obtained at the time of imaging. The amount of information discarded from all pixel information can be minimized.

また、請求項13の発明にあっては、被写体画像を撮像する撮像素子を備えた撮像装置が有するコンピュータに、前記撮像素子から、前記被写体画像の画像データを画素加算して読み出すための処理と、読み出した画像データに基づく画像から、当該画像の所定の辺に沿う所定幅の余剰部分を削除することにより、所定のアスペクト比の画像を生成するための処理とを実行させるプログラムとした。   According to a thirteenth aspect of the present invention, there is provided a process for adding image data of the subject image from the image sensor and reading out the image data of the subject image from the image sensor to a computer having an image sensor that captures the subject image. A program that executes processing for generating an image having a predetermined aspect ratio by deleting an excess portion having a predetermined width along a predetermined side of the image from the image based on the read image data.

以上のように本発明においては、撮像素子から読み出した画像データに基づく画像から削除する余剰部分の調整によって必要とするアスペクト比の画像が生成できるとともに、必要とする画像サイズが小さい場合であっても、撮像時に得られた全画素情報から破棄される分の情報量を最小限に止めることができる。よって、必要とするアスペクト比の画像が取得できるだけでなく、必要とする画像サイズが小さい場合であっても、撮像時に得られる画素情報を有効に利用した質の高い画像を得ることが可能となる。   As described above, in the present invention, an image having the required aspect ratio can be generated by adjusting the surplus portion to be deleted from the image based on the image data read from the image sensor, and the required image size is small. In addition, it is possible to minimize the amount of information discarded from all pixel information obtained at the time of imaging. Therefore, not only can an image with the required aspect ratio be acquired, but even when the required image size is small, it is possible to obtain a high-quality image that effectively uses the pixel information obtained at the time of imaging. .

また、撮像素子における有効画素領域と同一のアスペクト比の画像や、そのアスペクト比を含まない複数のアスペクト比の画像や、そのアスペクト比を含む複数のアスペクト比の画像を生成することができる。   In addition, it is possible to generate an image having the same aspect ratio as the effective pixel region in the image sensor, a plurality of aspect ratio images not including the aspect ratio, and a plurality of aspect ratio images including the aspect ratio.

また、撮像素子からの画像データ読み出し時の画素加算数を、必要とする画像サイズに適した画素加算数とすることができ、それによっても撮像時に得られた画素情報において破棄される情報量を最小限に止めることができる。   In addition, the pixel addition number when reading image data from the image sensor can be set to a pixel addition number suitable for the required image size, thereby reducing the amount of information discarded in the pixel information obtained at the time of imaging. It can be minimized.

また、撮像した画像を記録する際の処理効率を向上させることができる。   Further, it is possible to improve the processing efficiency when recording the captured image.

また、所定のアスペクト比の動画像を生成するとき、必要とする動画像のサイズが小さい場合であっても、撮像時に得られた画素情報において破棄される情報量を最小限に止めることができる。   In addition, when generating a moving image having a predetermined aspect ratio, the amount of information discarded in the pixel information obtained at the time of imaging can be minimized even when the required moving image size is small. .

以下、本発明の一実施の形態を図にしたがって説明する。図1は、本発明に係るデジタルカメラのブロック図である。このデジタルカメラは、静止画撮影機能と動画撮影機能とを有するものであり、以下の構成を備えている。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of a digital camera according to the present invention. This digital camera has a still image shooting function and a moving image shooting function, and has the following configuration.

すなわちデジタルカメラは、カメラ本体1と、カメラ本体1に着脱可能な記録メディア20から構成されており、カメラ本体1にはズームレンズやフォーカスレンズからなる光学系2、及び撮像手段であるCCD3が配置されている。CCD3はタイミングジェネレータ7から送られる水平及び垂直駆動信号により駆動され、被写体の光像を光電変換し撮像信号として出力する。なお、本実施の形態では、タイミングジェネレータ7がCPU13と共に本発明の読出し手段として機能する。   That is, the digital camera includes a camera body 1 and a recording medium 20 that can be attached to and detached from the camera body 1. The camera body 1 includes an optical system 2 including a zoom lens and a focus lens, and a CCD 3 that is an imaging unit. Has been. The CCD 3 is driven by horizontal and vertical drive signals sent from the timing generator 7 and photoelectrically converts the light image of the subject and outputs it as an imaging signal. In the present embodiment, the timing generator 7 functions as a reading unit of the present invention together with the CPU 13.

CCD3の出力信号はCDS回路4で相関二重サンプリング及びゲイン調整を行われ、A/D変換回路5でデジタル信号に変換される。A/D変換された撮像信号はDSP部6に入力され、ペデスタルクランプ等の処理が施された後、ブロック内の輝度・色差マトリックス回路でYUV変換によって輝度(Y)信号及び色差(UV)信号に変換される。なお、DSP部6ではオートアイリス、オートホワイトバランス、輪郭強調などの画品質向上のための処理も行われる。   The output signal of the CCD 3 is subjected to correlated double sampling and gain adjustment by the CDS circuit 4 and converted to a digital signal by the A / D conversion circuit 5. The A / D converted image signal is input to the DSP unit 6 and subjected to processing such as pedestal clamping. Then, the luminance / color difference matrix circuit in the block performs YUV conversion to obtain a luminance (Y) signal and a color difference (UV) signal. Is converted to Note that the DSP unit 6 also performs processing for improving image quality such as auto iris, auto white balance, and edge enhancement.

DSP部6で変換されたYUVデータは、1フレーム分のデータが順次内蔵メモリ14(例えばSDRAM)に格納される。内蔵メモリ14に格納された1フレーム分のYUVデータは、CPU13により後述するサイズ調整が行われた後、表示コントローラ11へ送られ、そこでビデオ信号に変換されてLCD(液晶表示器)12によりスルー画像、すなわち動画像として表示される。   The YUV data converted by the DSP unit 6 is sequentially stored in the built-in memory 14 (for example, SDRAM) for one frame. One frame of YUV data stored in the built-in memory 14 is subjected to size adjustment described later by the CPU 13 and then sent to the display controller 11, where it is converted into a video signal and passed through the LCD (liquid crystal display) 12. It is displayed as an image, that is, a moving image.

また、デジタルカメラは、本発明の圧縮手段であるJPEG圧縮伸長ブロック8とMPEG圧縮伸長ブロック9とを有しており、記録モードでの静止画撮影時に内蔵メモリ14に格納された1フレームの分YUVデータは必要に応じて後述するサイズ調整処理が行われた後、JPEG圧縮伸長ブロック8でJPEG方式等でデータ圧縮後コード化され、内蔵メモリ14内でファイル化された後、メディアコントローラ10を介して記録メディア20(記録手段)に静止画データ(静止画ファイル)として記録される。   Further, the digital camera has a JPEG compression / decompression block 8 and an MPEG compression / decompression block 9 which are the compression means of the present invention, and stores one frame stored in the built-in memory 14 when taking a still image in the recording mode. The YUV data is subjected to a size adjustment process, which will be described later, if necessary, and after being compressed by the JPEG compression / decompression block 8 according to the JPEG method or the like, coded into a file in the built-in memory 14, the media controller 10 is And recorded as still image data (still image file) on the recording medium 20 (recording means).

また、記録モードでの動画撮影時に内蔵メモリ14に格納された1フレームの分YUVデータは、CPU13により後述するサイズ調整が行われるとともに、順次MPEG圧縮伸長ブロック9へ送られ、MPEG方式のコーデックによりデータ圧縮した後コード化され、メディアコントローラ10を介してフレームデータとして記録メディア20に順次書き込まれる。つまりストリーム記録される。そして、最終的には動画ファイルとして記録メディア20に記録される。なお、動画撮影時のフレームレートはタイミングジェネレータ7で作成されるタイミング信号によって決まり、コード化されるデータの圧縮率はMPEG圧縮伸長ブロック9内の量子化テーブル値によって決定される。また、本実施の形態において、MPEG圧縮伸長ブロック9で処理可能な最大画素数はVGA画像(480×640)に相当する画素数(約30万画素)である。   In addition, one frame of YUV data stored in the built-in memory 14 during moving image shooting in the recording mode is adjusted in size by the CPU 13 as will be described later, and is sequentially sent to the MPEG compression / decompression block 9, and is encoded by the MPEG codec. The data is compressed and then encoded, and sequentially written into the recording medium 20 as frame data via the media controller 10. That is, stream recording is performed. Finally, it is recorded on the recording medium 20 as a moving image file. Note that the frame rate at the time of moving image shooting is determined by the timing signal generated by the timing generator 7, and the compression rate of the encoded data is determined by the quantization table value in the MPEG compression / decompression block 9. In the present embodiment, the maximum number of pixels that can be processed by the MPEG compression / decompression block 9 is the number of pixels (approximately 300,000 pixels) corresponding to the VGA image (480 × 640).

一方、再生モードにおいて、前記JPEG圧縮伸長ブロック8は、記録メディア20から読み出された静止画像の圧縮データを伸張し、静止画データとして内蔵メモリ14に展開する。また、MPEG圧縮伸長ブロック9は、記録メディア20から読み出された動画像の圧縮データを伸張し、動画データとして内蔵メモリ14に展開する。そして、展開された画像は表示コントローラ11へ送られ、そこでビデオ信号に変換された後、LCD12により再生画像として表示される。なお、LCD12にはスルー画像や再生画像だけでなく、必要に応じてデジタルカメラにおける各種の機能に関する選択や設定を行うためのメニュー画面や設定画面も表示される。また、LCD12の解像度は、縦540画素、横720である。   On the other hand, in the playback mode, the JPEG compression / decompression block 8 decompresses the compressed data of the still image read from the recording medium 20 and expands it in the built-in memory 14 as still image data. Also, the MPEG compression / decompression block 9 expands the compressed data of the moving image read from the recording medium 20 and expands it in the built-in memory 14 as moving image data. The developed image is sent to the display controller 11 where it is converted into a video signal and then displayed on the LCD 12 as a reproduced image. The LCD 12 displays not only a through image and a reproduced image, but also a menu screen and a setting screen for selecting and setting various functions in the digital camera as necessary. The resolution of the LCD 12 is 540 pixels long and 720 pixels wide.

音声処理ブロック15は、動画撮影時においてカメラ本体1に内蔵されたマイク16に入力した音声をデジタル信号に変換し、データ圧縮後にオーディオデータとして内蔵メモリ14へ送る。内蔵メモリ14に送られたオーディオデータは動画像のフレームデータと共にストリームデータとして記録メディア20に順次書き込まれる。また、音声処理ブロック15は、動画再生時には、内蔵メモリ14から送られたオーディオデータを復号し、アナログの音声信号に変換した後、カメラ本体1に内蔵された内蔵スピーカ17から音声出力させる。   The voice processing block 15 converts voice input to the microphone 16 built in the camera body 1 into a digital signal at the time of moving image shooting, and sends it to the built-in memory 14 as audio data after data compression. The audio data sent to the built-in memory 14 is sequentially written to the recording medium 20 as stream data together with the moving image frame data. The audio processing block 15 decodes the audio data sent from the built-in memory 14 and converts it into an analog audio signal, and then outputs the sound from the built-in speaker 17 built in the camera body 1 when reproducing the moving image.

キー入力ブロック18は、電源キー、モード切替キー、静止画撮影時の撮影指示に用いられるシャッターキー、動画撮影時における録画開始/終了の指示に用いられる録画指示キー、各種の設定画面を表示させるためのMENUキー、設定画面による設定操作に用いられるセットキー等の複数の操作キーを含み、使用者によるキー操作に応じたキー入力信号をCPU13に出力する。   The key input block 18 displays a power key, a mode switching key, a shutter key used for shooting instructions during still image shooting, a recording instruction key used for recording start / end instructions during moving image shooting, and various setting screens. And a plurality of operation keys such as a set key used for a setting operation on the setting screen, and outputs a key input signal corresponding to the key operation by the user to the CPU 13.

以上の各ブロックはCPU13によって制御されており、CPU13が各ブロックの制御に必要とされるプログラムや各種データはEEPROMやフラッシュメモリ等の書き換え可能な不揮発性メモリであるプログラムメモリ19に記憶されている。なお、プログラムメモリ19には、ユーザーにより設定、又は変更されたシステムや各機能に関する他の設定データも記憶されている。そして、CPU13は上記プログラム及びキー入力信号に基づき動作することにより本発明の画像生成手段、読出し制御手段として機能する。   Each block described above is controlled by the CPU 13, and programs and various data necessary for the CPU 13 to control each block are stored in a program memory 19 which is a rewritable nonvolatile memory such as an EEPROM or a flash memory. . The program memory 19 also stores other setting data relating to the system and each function set or changed by the user. The CPU 13 functions as an image generation unit and a read control unit of the present invention by operating based on the program and key input signals.

また、プログラムメモリ19には、後述する記録モードでの動作に際して使用される図2に示した設定情報100が記録されている。図示したように設定情報100は、記録画像サイズと、各サイズに対応するCCD駆動モード、すなわち前記CCD3から画素信号(ベイヤデータ)を読み出す際の駆動モードと、上下及び/又は左右の余剰部分のカット幅とを示す情報ある。   The program memory 19 stores setting information 100 shown in FIG. 2 used in operation in a recording mode to be described later. As shown in the figure, the setting information 100 includes a recording image size, a CCD driving mode corresponding to each size, that is, a driving mode for reading a pixel signal (Bayer data) from the CCD 3, and cuts of upper and lower and / or left and right excess portions. Information indicating the width.

本実施の形態においては、前記CCD3のアスペクト比が3:4で且つ有効画素数が約155万画素であり、設定可能な記録画像サイズは、静止画撮影では通常の(CCD3のアスペクト比と同じ)アスペクト比、すなわち縦横比(3:4)の「1,080×1,440」を最大とした複数種類と、縦横比が横長(9:16)の「810×1440」を最大とした複数種類であり、「高・中・低」の解像度レベル毎に2種類の縦横比が存在する。また、動画撮影では縦横比が通常(3:4)の「480×640」と、縦横比が横長(9:16)の「405×720」の2種類である。   In the present embodiment, the aspect ratio of the CCD 3 is 3: 4 and the number of effective pixels is about 1.55 million pixels, and the recordable image size that can be set is the same as that used for still image shooting (the same as the aspect ratio of the CCD 3). ) Aspect ratio, that is, a plurality of types with the maximum aspect ratio (3: 4) “1,080 × 1,440” and a plurality of types with a maximum aspect ratio of “810 × 1440” (9:16) There are two types of aspect ratios for each resolution level of “high / medium / low”. In moving image shooting, there are two types: “480 × 640” with an aspect ratio of normal (3: 4) and “405 × 720” with an aspect ratio of landscape (9:16).

また、CCD駆動モードは通常モード(非画素加算)と画素加算モードとの2種類であり、通常モードは、CCD3から一般的なフレーム読み出しによって全画素の信号電荷をそのまま読み出す駆動モードであり、画素加算モードは、CCD3から、縦方向と横方向とに各々2画素の加算(4画素加算)を行って画素信号を読み出す駆動モードである。   Also, there are two types of CCD drive modes, a normal mode (non-pixel addition) and a pixel addition mode. The normal mode is a drive mode in which signal charges of all the pixels are read as they are by general frame reading from the CCD 3. The addition mode is a drive mode in which pixel signals are read from the CCD 3 by adding two pixels (four pixel addition) in the vertical direction and the horizontal direction.

ここで、画素加算モード(以下、4画素加算モードという。)による画像信号の読み出し方法について説明する。図3は、その原理を示す前記CCD3の模式図である。すなわちCCD3は、画素を構成する多数の感光用CCD(図でR,G,B)と、水平方向に並んだ感光機能を有していないCCDからなるホールド蓄積部HOLD、及び水平転送部61と、感光用CCDの信号電荷を垂直転送する図示しない垂直転送部と、出力回路62とを備えている。   Here, a method of reading an image signal in the pixel addition mode (hereinafter referred to as a 4-pixel addition mode) will be described. FIG. 3 is a schematic diagram of the CCD 3 showing its principle. That is, the CCD 3 includes a number of photosensitive CCDs (R, G, and B in the figure) constituting pixels, a hold accumulation unit HOLD composed of CCDs that do not have a photosensitive function arranged in the horizontal direction, and a horizontal transfer unit 61. A vertical transfer unit (not shown) for vertically transferring the signal charge of the photosensitive CCD and an output circuit 62 are provided.

本実施の形態における4画素加算モードは図示したように1フレーム分の信号電荷を4/8ライン2フィールドで読み出すモードであり、第1フィールドでは、垂直方向奇数番目のラインの(15,13,11,・・・)の信号電荷のみを垂直転送し、その際、ホールド蓄積部HOLDを用いて1ライン分の信号電荷を1ライン分の転送時間だけ一時的に保持することにより、互いに隣り合う奇数ラインの信号電荷を加算、つまり同色の2画素分の信号電荷を垂直加算して水平転送部61へ転送すると同時に、水平転送部61において垂直加算された信号電荷が2画素分転送されたタイミングで、次に垂直加算された信号電荷を水平方向に2画素分ずれた状態で加算(水平加算)する。しかる後、同色の画素配列(R,G,R,G,・・・)からなる2ライン分の信号電荷が垂直加算され、かつ同一ラインに1画素おきに存在する同色の2画素分の信号電荷が水平加算された奇数ラインの信号を読み出し、以後、全ての奇数ラインの信号電荷を順に読み出す。   The four-pixel addition mode in the present embodiment is a mode in which signal charges for one frame are read out in 4/8 lines and two fields as shown in the figure. In the first field, (15, 13, 11,...) Are vertically transferred, and at that time, the signal charge for one line is temporarily held for the transfer time of one line by using the hold accumulation unit HOLD, thereby adjoining each other. The signal charges of the odd lines are added, that is, the signal charges of two pixels of the same color are vertically added and transferred to the horizontal transfer unit 61. At the same time, the signal charges vertically added in the horizontal transfer unit 61 are transferred for two pixels. Then, the vertically added signal charges are added (horizontal addition) in a state shifted by two pixels in the horizontal direction. Thereafter, signal charges for two lines composed of the same color pixel array (R, G, R, G,...) Are vertically added, and signals of two pixels of the same color existing on the same line every other pixel. The signals of odd lines to which charges are horizontally added are read out, and then the signal charges of all odd lines are read in order.

同様に、第2フィールドでは、垂直方向偶数番目のライン(16,14,12,・・・)について第1フィールドと同様の垂直加算と水平加算を行い、奇数ラインと異なる同色の画素配列(G,B,G,B,・・・)からなる2ライン分の信号電荷を垂直加算し、かつ同一ラインに1画素おきに存在する同色の2画素分の信号電荷が水平加算された偶数ラインの信号を読み出し、以後、全ての偶数ラインの信号電荷を順に読み出す。   Similarly, in the second field, vertical and horizontal additions similar to those in the first field are performed on the even-numbered lines (16, 14, 12,...) In the vertical direction, and the same color pixel array (G , B, G, B,...) Are added vertically, and signal charges of two pixels of the same color existing every other pixel on the same line are added horizontally. The signal is read, and thereafter, the signal charges of all even lines are read in order.

図4は、上記のように読み出される撮像信号からなるベイヤーデータを示す概念図であり、図示したように4画素加算モードでは、縦方向および横方向の画素数がそれぞれ2分の1であるが、全画素の画素情報が反映されたベイヤーデータが得られることとなる。なお、図4は、前述した垂直加算および水平加算により得られる画素(R,G,B)と、得られない画素との位置関係を示したものであり、撮影時には、得られる画素(R,G,B)のみからなるベイヤーデータが取得される。また、図に示した4画素加算後のR,G,Bの画素位置は加算される元の4画素の重心となる。   FIG. 4 is a conceptual diagram showing Bayer data composed of the imaging signals read out as described above. As shown in the figure, in the 4-pixel addition mode, the number of pixels in the vertical direction and the horizontal direction is each ½. Thus, Bayer data reflecting the pixel information of all pixels is obtained. FIG. 4 shows the positional relationship between the pixels (R, G, B) obtained by the vertical addition and the horizontal addition described above and the pixels that cannot be obtained. Bayer data consisting only of G, B) is acquired. Further, the R, G, and B pixel positions after addition of the four pixels shown in the figure are the center of gravity of the original four pixels to be added.

次に、以上の構成からなるデジタルカメラの本発明に係る動作について説明する。図5及び図6は、ユーザのモード切替キー操作により記録(撮影)モードが設定されたときCPU13が実行する処理の内容を示したフローチャートである。   Next, an operation according to the present invention of the digital camera having the above configuration will be described. 5 and 6 are flowcharts showing the contents of processing executed by the CPU 13 when the recording (photographing) mode is set by the user's mode switching key operation.

図5に示したように、記録モードにおいてCPU13は、まず、記録モードで記録する記録画像(静止画像又は動画像)の縦横比と、静止画像についての記録画像サイズとを設定する(ステップS1)。ここでは、例えば前記プログラムメモリ19の所定領域に他の設定データと共に記録されている内容であって、前回の記録モードの終了時点に設定されていた内容を初期値として設定する。なお、動画像の記録画像サイズについては、設定可能なサイズが各縦横比において1種類しかないため一義的に縦横比に応じてサイズが決まる。   As shown in FIG. 5, in the recording mode, the CPU 13 first sets the aspect ratio of the recorded image (still image or moving image) recorded in the recording mode and the recorded image size for the still image (step S1). . Here, for example, the contents recorded together with other setting data in a predetermined area of the program memory 19 and set at the end of the previous recording mode are set as initial values. The recorded image size of the moving image is uniquely determined according to the aspect ratio because there is only one settable size in each aspect ratio.

次に、CCD3の駆動モードとして4画素加算モードを設定した後(ステップS2)、所定のスルーレート(例えば25フレーム/秒)によるスルー画像の撮像を開始し(ステップS3)、4画素加算モードによる撮像データの読み出しを行う(ステップS4)。ここで、そのとき設定されている縦横比が「3:4」であったときには(ステップS5で「3:4」)、読み出した撮像データ(ベイヤーデータ)から生成したYUV変換後の撮像画像、すなわち縦横サイズが「540×720」の撮像画像について、その上辺側及び下辺側における余剰部分である30画素幅の端画像と、左辺側及び右辺側における40画素幅の端画像をそれぞれカットするサイズ調整を行う(ステップS6)。しかる後、サイズ調整後の画像、すなわち縦横サイズが「480×640」の画像をスルー画像としてLCD12に表示させる(ステップS8)。なお、この場合におけるスルー画像表示は全画面表示であり、「480×640」の画像を「540×720」の画像に拡大して表示に供されるものとする。但し、ステップS6のサイズ調整を行わないようにすれば拡大する必要が無くなる。   Next, after the 4-pixel addition mode is set as the drive mode of the CCD 3 (step S2), the through image capturing at a predetermined slew rate (for example, 25 frames / second) is started (step S3). Image data is read out (step S4). Here, when the aspect ratio set at that time is “3: 4” (“3: 4” in step S5), the captured image after YUV conversion generated from the read imaging data (Bayer data), That is, for a captured image having a vertical and horizontal size of “540 × 720”, a size that cuts an end image with a width of 30 pixels, which is an excess part on the upper side and the lower side, and an end image with a width of 40 pixels on the left side and the right side. Adjustment is performed (step S6). Thereafter, the image after the size adjustment, that is, the image having the vertical and horizontal sizes of “480 × 640” is displayed on the LCD 12 as a through image (step S8). Note that the through image display in this case is a full screen display, and an image of “480 × 640” is enlarged to an image of “540 × 720” and used for display. However, if the size adjustment in step S6 is not performed, there is no need to enlarge.

これに対し、そのとき設定されている縦横比が「9:16」であったときには(ステップS5で「9:16」)、読み出した撮像データ(ベイヤーデータ)から生成したYUV変換後の前述した縦横サイズの画像について、その上辺側の68画素幅の端画像をカットし、かつ下辺側の67画素幅の端画像をカットするサイズ調整を行う(ステップS7)。しかる後、サイズ調整後の画像、すなわち縦横サイズが「405×720」の画像をスルー画像としてLCD12に表示させる(ステップS8)。なお、この場合におけるスルー画像表示では、カットした端画像に相当する上下の表示領域を黒で塗りつぶす。   On the other hand, if the aspect ratio set at that time is “9:16” (“9:16” in step S5), the above-described YUV conversion after the YUV conversion generated from the read imaging data (Bayer data) is performed. With respect to the image of the vertical and horizontal sizes, the size adjustment is performed so as to cut the 68-pixel wide end image on the upper side and the 67-pixel wide end image on the lower side (step S7). Thereafter, the image after the size adjustment, that is, the image having the vertical and horizontal size of “405 × 720” is displayed on the LCD 12 as a through image (step S8). In the through image display in this case, the upper and lower display areas corresponding to the cut end image are filled with black.

図7は、CCD3の有効画素領域(a)と、前述した4画素加算モードで読み出される撮像データ(ベイヤーデータ)(b)と、前述したステップS7のサイズ調整後における画像(c)とにおける縦方向及び横方向の画素数の関係を示した図であり、図7(c)に斜線で示した部分が、最終的にカットされる端画像である。   FIG. 7 shows the vertical direction in the effective pixel area (a) of the CCD 3, the imaging data (Bayer data) (b) read in the above-described 4-pixel addition mode, and the image (c) after the size adjustment in step S7 described above. It is the figure which showed the relationship between the number of pixels of a direction and a horizontal direction, and the part shown with the oblique line in FIG.7 (c) is an end image finally cut.

以後、ユーザーによる縦横比の変更操作や、静止画像についての記録画像サイズの変更操作や、シャッターキーや録画指示キーの操作(ステップS9,S11,S13,S14が全てNO)、ステップS3へ戻り、前述した一連の処理によるスルー画像表示を繰り返す。   Thereafter, the operation of changing the aspect ratio by the user, the operation of changing the recorded image size for the still image, the operation of the shutter key and the recording instruction key (steps S9, S11, S13, and S14 are all NO), the process returns to step S3. The through image display by the series of processes described above is repeated.

また、上記のようにスルー画像を表示している間においては、ユーザーが所定のキー操作によって記録画像の縦横比と、静止画像についての記録画像サイズを前述した解像度レベルの指定によって変更できるようになっており、ユーザーによって縦横比の変更操作があった場合には(ステップS9でYES)、その時点で縦横比の設定を変更する(ステップS10)。また、静止画像についての記録画像サイズの変更操作があれば(ステップS11でYES)、その時点で静止画像についての記録画像サイズの設定内容を、指定された解像度レベルに応じて変更する(ステップS12)。つまり例えば縦横比が「3:4」に設定されている場合には、記録画像サイズを「1,080×1,440」、「540×720」、「480×640」のいずれかに変更する。   In addition, while the through image is displayed as described above, the user can change the aspect ratio of the recorded image and the recorded image size for the still image by specifying the resolution level described above by a predetermined key operation. If the user has changed the aspect ratio (YES in step S9), the setting of the aspect ratio is changed at that time (step S10). If there is an operation for changing the recorded image size for the still image (YES in step S11), the setting content of the recorded image size for the still image at that time is changed according to the designated resolution level (step S12). ). That is, for example, when the aspect ratio is set to “3: 4”, the recording image size is changed to any one of “1,080 × 1,440”, “540 × 720”, and “480 × 640”. .

また、スルー画像を表示している間に、シャッターキーが押された場合には(ステップS13でYES)、図6でステップS23以降の静止画撮影処理に移行し、録画指示キーが押された場合には(ステップS14でYES)、図6でステップS15以降の動画撮影処理に移行する。まず、動画撮影処理について説明すると、その場合には、まずCCD3による撮像間隔を所定のフレームレート(例えば30フレーム/秒)に変更するとともに、変更後のフレームレートに応じたタイミングによる撮像を開始する(ステップS15)。   If the shutter key is pressed while displaying a through image (YES in step S13), the process proceeds to the still image shooting process in step S23 and subsequent steps in FIG. 6 and the recording instruction key is pressed. In this case (YES in step S14), the process proceeds to the moving image shooting process in step S15 and subsequent steps in FIG. First, the moving image shooting process will be described. In that case, the imaging interval by the CCD 3 is first changed to a predetermined frame rate (for example, 30 frames / second), and imaging at a timing according to the changed frame rate is started. (Step S15).

そして、スルー画像表示中と同様に4画素加算モードによる撮像データの読み出しを行うとともに、読み出した撮像データ(ベイヤーデータ)をYUV変換する(ステップS16)。引き続き、その時点で設定されている縦横比を確認し、縦横比「3:4」(記録画像サイズが「480×640」)が設定されている場合には(ステップS17で「3:4」)、YUV変換後の撮像画像の上下左右の余剰部分、つまり上辺側及び下辺側における30画素幅の端画像をそれぞれカットし、かつ左辺側及び右辺側における40画素幅の端画像をそれぞれカットして「480×640」のサイズのフレームデータを生成する(ステップS18)。また、縦横比「9:16」(記録画像サイズが「405×720」)が設定されている場合には(ステップS17で「9:16」)、YUV変換後の撮像画像の上下の余剰部分、つまり上辺側の68画素幅の端画像、及び下辺側の67画素幅の端画像をそれぞれカットして、図7の(c)に示した「405×720」のサイズのフレームデータを生成する(ステップS19)。しかる後、上記のように生成したカット後のフレームデータをMPEG圧縮伸長ブロック9において圧縮し、それを記録メディア20にストリーム記録する(ステップS20)。   Then, the readout of the imaging data in the 4-pixel addition mode is performed as in the case of the through image display, and the readout imaging data (Bayer data) is YUV converted (step S16). Subsequently, the aspect ratio set at that time is confirmed, and if the aspect ratio “3: 4” (recorded image size is “480 × 640”) is set (“3: 4” in step S17). ), The upper, lower, left and right surplus portions of the captured image after YUV conversion, that is, the end images with a width of 30 pixels on the upper side and the lower side, respectively, and the end images with a width of 40 pixels on the left side and the right side are respectively cut. Frame data having a size of “480 × 640” is generated (step S18). When the aspect ratio “9:16” (the recording image size is “405 × 720”) is set (“9:16” in step S17), the upper and lower surplus portions of the captured image after YUV conversion In other words, the edge image having a width of 68 pixels on the upper side and the edge image having a width of 67 pixels on the lower side are respectively cut to generate frame data having a size of “405 × 720” shown in FIG. (Step S19). Thereafter, the frame data after the cut generated as described above is compressed in the MPEG compression / decompression block 9 and stream-recorded on the recording medium 20 (step S20).

以後、ユーザーの録画指示キー操作による撮影終了指示があるまで(ステップS21でNO)、前述したステップS15〜S20の処理を繰り返し、撮影終了指示があったら、その時点で所定の管理データを作成し、それを先にストリーム記録しておいてフレームデータに付加して動画ファイルを完成し(ステップS22)、それにより動画記録を終了する。   Thereafter, the processing of steps S15 to S20 described above is repeated until there is a shooting end instruction by the user's recording instruction key operation (NO in step S21). If there is a shooting end instruction, predetermined management data is created at that time. Then, it is stream-recorded first and added to the frame data to complete the moving image file (step S22), thereby ending the moving image recording.

一方、シャッターキー操作に応じた静止画撮影処理においては、まずAE制御により決定した所定時間の露光を開始するとともに(ステップS23)、CCD3の駆動モードを、設定されている記録画像サイズに対応するモード(通常モード又は4画素加算モード)に設定する(ステップS23)。つまり記録画像サイズが「1,080×1,440」〜「540×960」であれば通常モードに設定し、「540×720」〜「540×720」であれば4画素加算モードに設定する。引き続き、所定時間の露光が終了したら(ステップS25でYES)、設定した駆動モードによる撮像データの読み出しを行うとともに、読み出した撮像データ(ベイヤーデータ)をYUV変換する(ステップS26)。   On the other hand, in the still image shooting process in accordance with the shutter key operation, first, exposure for a predetermined time determined by AE control is started (step S23), and the drive mode of the CCD 3 corresponds to the set recording image size. The mode (normal mode or 4-pixel addition mode) is set (step S23). That is, if the recorded image size is “1,080 × 1,440” to “540 × 960”, the normal mode is set, and if “540 × 720” to “540 × 720”, the 4-pixel addition mode is set. . Subsequently, when exposure for a predetermined time is completed (YES in step S25), the imaging data in the set drive mode is read out, and the readout imaging data (Bayer data) is YUV converted (step S26).

そして、そのとき設定されている記録画像サイズと対応して設定データ100(図2)に示されている上下及び左右のカット幅が全て”0”であって、YUV変換後の画像データについて端画像のカットが不要である場合には(ステップS27でNO)、それを静止画データとしてJPEG圧縮伸長ブロック8において圧縮するとともに、圧縮後のデータを記録メディア20に記録し(ステップS29)、それにより静止画撮影を終了する。   Then, the vertical and horizontal cut widths shown in the setting data 100 (FIG. 2) corresponding to the recording image size set at that time are all “0”, and the end of the image data after YUV conversion. If it is not necessary to cut the image (NO in step S27), it is compressed as still image data in the JPEG compression / decompression block 8, and the compressed data is recorded in the recording medium 20 (step S29). To end still image shooting.

また、上記と異なりYUV変換後の画像データについて端画像のカットが必要である場合には(ステップS27でYES)、記録画像サイズと対応して設定データ100(図2)に示されている幅だけ、YUV変換後の画像データ上下又は上下左右をカットしてサイズ調整を行う(ステップS28)。例えば記録画像サイズが「810×1,440」であれば、上辺側と下辺側における135画素幅の端画像をそれぞれカットする。また、記録画像サイズが「480×640」であれば、上辺側及び下辺側における30画素幅の端画像をそれぞれカットし、かつ左辺側及び右辺側における40画素幅の端画像をそれぞれカットする。   Also, if the edge image needs to be cut for the image data after YUV conversion (YES in step S27), the width shown in the setting data 100 (FIG. 2) corresponding to the recorded image size. Only the size of the image data after YUV conversion is adjusted by cutting up, down, up, down, left and right (step S28). For example, if the recorded image size is “810 × 1,440”, the end images having a width of 135 pixels on the upper side and the lower side are cut. If the recorded image size is “480 × 640”, the end images with a width of 30 pixels on the upper side and the lower side are respectively cut, and the end images with a width of 40 pixels on the left side and the right side are respectively cut.

しかる後、サイズ調整後の画像データを静止画データとしてJPEG圧縮伸長ブロック8において圧縮するとともに、圧縮後のデータを記録メディア20に記録し(ステップS29)、それにより静止画撮影を終了する。   Thereafter, the size-adjusted image data is compressed as still image data in the JPEG compression / decompression block 8, and the compressed data is recorded on the recording medium 20 (step S29), thereby terminating still image shooting.

以上のように本実施の形態においては、静止画撮影時や動画撮影時には、CCD3の駆動モードを4画素加算モードに設定するとともに、撮像した画像の上下又は上下左右から所定幅の余剰部分をカットすることにより、CCD3の有効画素数よりも少ない画素数の画像や、縦横比が異なる画像を得ることができる。つまり、画像データのサイズを画素加算によって予め記録画像サイズに適したサイズに縮小した後、必要に応じて撮像した画像の上下又は上下左右から余剰部分をカットすることによって、必要な縦横比及び記録画像サイズを確保する。   As described above, in the present embodiment, during still image shooting or moving image shooting, the drive mode of the CCD 3 is set to the 4-pixel addition mode, and an excess portion having a predetermined width is cut from the top, bottom, top, bottom, left and right of the captured image. By doing so, it is possible to obtain an image having a smaller number of pixels than the effective number of pixels of the CCD 3 or an image having a different aspect ratio. That is, after reducing the size of the image data to a size suitable for the recorded image size in advance by pixel addition, the necessary aspect ratio and recording are obtained by cutting off the excess part from the top, bottom, top, bottom, left, and right of the captured image as necessary. Ensure image size.

そのため、記録画像サイズが「480×640」や「405×720」といったように、撮像した画像の上下又は上下左右の余剰部分をカットする場合であっても、撮像時に得られた全画素情報から破棄される分の情報量を最小限に止めることができる。同時に、CCD3から読み出した画像データに対して余剰部分のカットと、画素間引き(単純間引き)とを行う場合における、偽色の発生などの画像劣化が生じることもない。これにより、単に必要とする縦横比の画像が取得できるだけでなく、必要とする画像サイズが小さい場合であっても、撮像時に得られる画素情報を有効に利用した質の高い画像を得ることができる。   Therefore, even when the upper and lower or upper and lower and right and left surplus portions of the captured image are cut such that the recorded image size is “480 × 640” or “405 × 720”, the total pixel information obtained at the time of imaging is used. The amount of information that is discarded can be minimized. At the same time, image degradation such as generation of false colors does not occur when cutting excess portions and thinning pixels (simple thinning) on image data read from the CCD 3. As a result, not only can the image of the required aspect ratio be acquired, but even when the required image size is small, it is possible to obtain a high-quality image that effectively uses the pixel information obtained at the time of imaging. .

また、本実施の形態においては、静止画像や動画像の撮影待機状態でスルー画像を表示する際においても、CCD3の駆動モードを4画素加算モードに設定するとともに、撮像した画像の上下又は上下左右から所定幅の余剰部分をカットすることにより、必要な画像サイズ、及び縦横比の画像を得るため、スルー画像についても質の高い画像を得ることができる。   In the present embodiment, when displaying a through image in a still image or moving image shooting standby state, the drive mode of the CCD 3 is set to the 4-pixel addition mode, and the captured image is vertically or vertically or horizontally and horizontally. Since an image having a required image size and aspect ratio is obtained by cutting an excess portion having a predetermined width, a high-quality image can be obtained for a through image.

また、本実施の形態では、CCD3から画像データを画素加算して読み出すときの画素加算数が4画素であって、動画撮影時において、撮像した画像の上下又は上下左右から余剰部分をカットする以前の画素数(540×720=388,800画素)が、前記MPEG圧縮伸長ブロック9で処理可能な最大画素数(480×640=307,200画素)以上で、かつそれに近い画素数となる画素加算数である。言い換えると、MPEG圧縮伸長ブロック9が、生成される動画像の画素数に応じたデータ処理能力を備えている。そのため、動画撮影時におけるフレームデータの生成、圧縮、記録といった一連のデータ処理を極めて効率よく行うことができる。   In the present embodiment, the pixel addition number when the image data is read out from the CCD 3 by adding pixels is 4 pixels, and before moving images are captured, the excess portion is cut from the top, bottom, top, bottom, left and right of the captured image. The pixel addition is such that the number of pixels (540 × 720 = 388,800 pixels) is equal to or larger than the maximum number of pixels (480 × 640 = 307,200 pixels) that can be processed by the MPEG compression / decompression block 9. Is a number. In other words, the MPEG compression / decompression block 9 has a data processing capability according to the number of pixels of the moving image to be generated. Therefore, a series of data processing such as generation, compression, and recording of frame data at the time of moving image shooting can be performed very efficiently.

なお、本実施の形態では、デジタルカメラが、静止画撮影時の撮影指示に用いるシャッターキーとは別に、動画撮影時における録画開始/終了の指示に用いる録画指示キーを備えている場合について説明したが、これに限らず、デジタルカメラは、記録モードとして静止画撮影モードと動画撮影モードとを個別に有し、シャッターキーによって静止画撮影時の撮影指示と、動画撮影時における録画開始/終了の指示との双方を行うことができる構成であっても構わない。その場合においても、静止画撮影又は動画撮影のいずれかの記録モードでスルー画像を表示するときには、本実施の形態と同様に、CCD3の駆動モードを4画素加算モードに設定するとともに、撮像した画像の上下又は上下左右から所定幅の余剰部分をカットすることにより、LCD12の解像度に応じた必要とするサイズの表示画像を生成すれば、スルー画像についても質の高い画像を得ることができる。   In the present embodiment, a case has been described in which the digital camera has a recording instruction key used for recording start / end instruction during moving image shooting, in addition to the shutter key used for shooting instruction during still image shooting. However, the present invention is not limited to this, and the digital camera has a still image shooting mode and a moving image shooting mode individually as recording modes. It may be configured to be able to perform both instructions. Even in this case, when a through image is displayed in either the still image shooting mode or the moving image shooting recording mode, the drive mode of the CCD 3 is set to the 4-pixel addition mode and the captured image is set as in the present embodiment. If a display image having a required size corresponding to the resolution of the LCD 12 is generated by cutting an excess portion having a predetermined width from the top, bottom, top, bottom, left, and right, a high-quality image can be obtained as a through image.

また、本実施の形態においては、画像の縦横比として、通常の縦横比(3:4)の他に、横長の縦横比(9:16)が設定できるものについて説明したが、それ以外の横長の縦横比(例えば「9:18」)を設定できるようにしてもよい。また、縦横比は横長である必要はなく、例えば縦長の縦横比(4:3等)を設定できるようにしてもよく、その場合には、画像データのサイズを画素加算によって予め記録画像サイズに適したサイズに縮小した後、その画像の左右における余剰部分をカットすればよい。また、通常の縦横比の他に複数種類の縦横比を選択的に設定できるようにしたり、通常の縦横比と異なる縦横比のみを選択的に設定できるようにしてもよい。さらに、縦横比は予め決められている縦横比のみとしても構わない。   In this embodiment, the aspect ratio of the image can be set to a horizontal aspect ratio (9:16) in addition to the normal aspect ratio (3: 4). The aspect ratio (for example, “9:18”) may be set. Further, the aspect ratio does not need to be horizontally long, and for example, a vertically long aspect ratio (4: 3, etc.) may be set. In this case, the size of the image data is preliminarily set to the recorded image size by pixel addition. After the image is reduced to a suitable size, excess portions on the left and right sides of the image may be cut. In addition to the normal aspect ratio, a plurality of types of aspect ratios may be selectively set, or only an aspect ratio different from the normal aspect ratio may be selectively set. Further, the aspect ratio may be only a predetermined aspect ratio.

また、本実施の形態においては、CCD3の有効画素数が約155万画素であり、静止画撮影時に記録可能な最大の記録画像サイズが「1,080×1,440」であるともに、画素加算モードが、CCD3から、縦方向と横方向とに各々2画素の加算(4画素加算)を行って画素信号を読み出す4画素加算モードであるものについて説明したが、CCD3の有効画素数や画素加算モードで加算する画素数は、これ以外であっても構わない。また、画素加算モードで加算する画素数は、4画素(縦2×横2)以外、例えば縦又は横方向のみの2画素や、4画素(縦2×横2)以上であってもよく、さらに、加算画素数の異なる複数の画素加算モードを設けるようにしてもよい(但し、CCD3は複数種の画素加算モードに対応可能な構造を有している必要がある。)。   In the present embodiment, the effective number of pixels of the CCD 3 is about 150,000 pixels, the maximum recording image size that can be recorded during still image shooting is “1,080 × 1,440”, and pixel addition The mode is the 4-pixel addition mode in which pixel signals are read out by adding 2 pixels (4 pixel addition) in the vertical direction and the horizontal direction from the CCD 3, but the number of effective pixels of the CCD 3 and the pixel addition are described. The number of pixels to be added in the mode may be other than this. Further, the number of pixels to be added in the pixel addition mode may be other than 4 pixels (vertical 2 × horizontal 2), for example, 2 pixels only in the vertical or horizontal direction, or 4 pixels (vertical 2 × horizontal 2) or more, Further, a plurality of pixel addition modes having different numbers of added pixels may be provided (however, the CCD 3 needs to have a structure capable of supporting a plurality of types of pixel addition modes).

特に、CCD3の有効画素数が1000万画素等のように、本実施の形態よりも高画素である場合には、加算する画素数が4画素(縦2×横2)以上の画素加算モード、例えば加算する画素数が25画素(縦5×横5)である25画素加算モードを設けるとよい。その場合、25画素加算モードにおける具体的な画像信号の読み出し方法については、水平方向及び垂直方向にそれぞれ隣接する同色の25画素の信号電荷を加算し、それを当該色の1画素分の信号電荷として読み出すことができるものであれば、任意の方法を採用することができる。   In particular, when the number of effective pixels of the CCD 3 is higher than that of the present embodiment, such as 10 million pixels, a pixel addition mode in which the number of added pixels is 4 pixels (2 × 2 horizontal) or more, For example, a 25-pixel addition mode in which the number of added pixels is 25 pixels (vertical 5 × horizontal 5) may be provided. In that case, for a specific image signal readout method in the 25-pixel addition mode, the signal charges of 25 pixels of the same color that are adjacent in the horizontal direction and the vertical direction are added, and this is added to the signal charge for one pixel of that color. Any method can be adopted as long as it can be read as:

上記25画素加算モードにおける画像信号の読み出し方法としては、例えばCCD3の有効画素領域内において水平及び垂直方向に5画素置きに並んだ画素の信号電荷として、その画素を中心として互いに隣接する同色の25画素分の信号電荷を加算した信号電荷を読み出す方法がある。図8は、その概略を示した図4に対応する概念図であって、CCD3の有効画素領域内(図では、有効画素領域の左上を含む部分)におけるベイヤー配列をなす各色(図でR,Gr,Gb,B)の画素と、25画素加算モードによって電荷信号(加算された電荷信号)が読み出される画素、つまりベイヤーデータを構成する画素(図に太枠で示した画素)との位置関係を示した図である。なお、同図において「Gr」で示した画素はR色の画素が配置された行のG色の画素、同様に「Gb」で示した画素はR色の画素が配置された行のG色の画素である。   As a method for reading an image signal in the 25-pixel addition mode, for example, signal charges of pixels arranged in every 5 pixels in the horizontal and vertical directions in the effective pixel area of the CCD 3 are used. There is a method of reading out signal charges obtained by adding signal charges for pixels. FIG. 8 is a conceptual diagram corresponding to FIG. 4 showing the outline, and each color (R, R in the figure) forming the Bayer arrangement within the effective pixel region of the CCD 3 (in the drawing, the portion including the upper left of the effective pixel region). Gr, Gb, B) pixels and the positional relationship between the pixels from which the charge signal (added charge signal) is read out in the 25-pixel addition mode, that is, the pixels constituting the Bayer data (the pixels indicated by thick frames in the figure) FIG. In the figure, the pixel indicated by “Gr” is the G color pixel in the row where the R color pixel is arranged, and similarly the pixel indicated by “Gb” is the G color in the row where the R color pixel is arranged. Pixels.

上記の読み出し方法をより具体的に述べると、Gr画素については、(1,1)〜(9,9)等の画素領域を加算対象として、その領域内に配置されている全てのGr画素の信号電荷を加算し、加算後の信号電荷を、その領域の中心(5,5)等のGr画素の信号電荷として読み出す。同様にR画素については、(6,1)〜(14,9)等の画素領域を加算対象として、その領域内に配置されている全てのR画素の信号電荷を加算し、加算後の信号電荷を、その領域の中心(10,5)等のR画素の信号電荷として読み出す。また、B画素については、(1,6)〜(9,14)等の画素領域を加算対象として、その領域内に配置されている全てのB画素の信号電荷を加算し、加算後の信号電荷を、その領域の中心(10,5)等のB画素の信号電荷として読み出す。また、Gb画素については、(6,6)〜(14,14)等の画素領域を加算対象として、その領域内に配置されている全てのGb画素の信号電荷を加算し、加算後の信号電荷を、その領域の中心(10,10)等のGb画素の信号電荷として読み出す。   The above readout method will be described more specifically. With regard to Gr pixels, pixel areas such as (1, 1) to (9, 9) are targeted for addition, and all Gr pixels arranged in that area are added. The signal charge is added, and the signal charge after the addition is read as the signal charge of the Gr pixel such as the center (5, 5) of the region. Similarly, for the R pixel, the pixel regions (6, 1) to (14, 9), etc. are added, the signal charges of all the R pixels arranged in that region are added, and the signal after the addition The charge is read out as the signal charge of the R pixel such as the center (10, 5) of the region. For the B pixel, the pixel areas (1, 6) to (9, 14), etc. are added, the signal charges of all the B pixels arranged in that area are added, and the signal after addition is added. The charge is read out as a signal charge of the B pixel such as the center (10, 5) of the region. For Gb pixels, the pixel areas (6, 6) to (14, 14), etc. are added, and the signal charges of all the Gb pixels arranged in that area are added, and the signal after addition is added. The charge is read out as a signal charge of the Gb pixel such as the center (10, 10) of the region.

つまり、R,Gr,Gb,Bの各色について加算対象とする画素領域を、各々の領域の中心間の距離が5画素となるように色毎にずらすことにより、有効画素領域内において水平及び垂直方向に等間隔に並んだ画素の信号電荷からなり、縦方向および横方向の画素数がそれぞれ5分の1であるが、周縁部のごく一部の画素(図8に示したものでは、2行目及び4行目の画素と2列目及び4列目の画素)を除くほぼ全画素の画素情報が反映された撮像信号を読み出す方法である。   That is, by shifting the pixel area to be added for each color of R, Gr, Gb, and B for each color so that the distance between the centers of the areas is 5 pixels, the horizontal and vertical directions in the effective pixel area are obtained. It consists of signal charges of pixels arranged at equal intervals in the direction, and the number of pixels in the vertical and horizontal directions is 1/5 each, but only a small number of pixels (2 in the case shown in FIG. This is a method of reading out an imaging signal reflecting pixel information of almost all pixels except pixels in the rows and fourth rows and pixels in the second and fourth columns).

なお、25画素加算モードでの画像信号の読み出し方法については、上述した方法に限らず、例えばR,Gr,Gb,Bの色毎の加算対象とする画素領域を可能な限り一致させることにより、図4に示した4画素加算の場合と同様に、互いに接するR,Gr,Gb,Bの各画素の信号電荷(加算後の信号電荷)からなる撮像信号を読み出す方法であってもよい。   The image signal readout method in the 25-pixel addition mode is not limited to the above-described method. For example, by matching pixel regions to be added for each color of R, Gr, Gb, and B as much as possible, As in the case of 4-pixel addition shown in FIG. 4, a method of reading an imaging signal composed of signal charges (signal charges after addition) of R, Gr, Gb, and B pixels in contact with each other may be used.

そして、CCD3として、例えば有効画素数が約1000万画素であって、静止画撮影時に記録可能な最大の記録画像サイズが3:4の「2,700×3,600」のものを使用し、画素加算モードとして、前述した4画素加算モードと25画素加算モードの2種類を設ける場合にあっては、以下のようにすることができる。   As the CCD 3, for example, the effective pixel number is about 10 million pixels, and the maximum recording image size that can be recorded at the time of still image shooting is 3: 4, “2,700 × 3,600”, In the case of providing two types of pixel addition modes, the above-described 4-pixel addition mode and 25-pixel addition mode, the following can be performed.

すなわちプログラムメモリ19等に、図2に示した設定情報100に代えて、図9に示したような設定情報200を記憶しておく。なお、図示した例は、静止画像については、ユーザーが解像度レベルとして「高・中1・中2・低」の4レベルが設定可能である場合の例である。そして、記録モードでは、例えば図5及び図6に示した内容とほぼ同様内容の処理をCPU13に行わせ、その際、ステップS4(図5)ではCCD3の駆動モードとして25画素加算モードを設定させる。また、ステップS14(図5)の直後に、CCD3の駆動モードを設定情報200に従い記録画像サイズに応じたモードに設定させた後、ステップS15以降の動画撮影処理(図6)を行わせるとともに、ステップS24においてもCCD3の駆動モードを設定情報200に従い記録画像サイズに応じたモードに設定させるものとする。   That is, the setting information 200 as shown in FIG. 9 is stored in the program memory 19 or the like in place of the setting information 100 shown in FIG. The illustrated example is an example in which the user can set four levels of “high, medium 1, medium 2, and low” as the resolution level for a still image. In the recording mode, for example, the CPU 13 performs processing having substantially the same contents as those shown in FIGS. 5 and 6, and at this time, in step S4 (FIG. 5), the 25-pixel addition mode is set as the driving mode of the CCD 3. . Further, immediately after step S14 (FIG. 5), the driving mode of the CCD 3 is set to a mode corresponding to the recorded image size according to the setting information 200, and then the moving image shooting process (FIG. 6) after step S15 is performed. Also in step S24, the driving mode of the CCD 3 is set to a mode corresponding to the recorded image size according to the setting information 200.

係る変形例においても、静止画撮影時や動画撮影時においては、CCD3の駆動モードを画素加算モード(4画素加算モード又は25画素加算モード)に設定するとともに、撮像した画像の上下、又は上下左右からカットする余剰部分のカット幅を変更することにより、必要な記録画像サイズを確保することができる。したがって、先に説明した実施の形態と同様、単に必要とする縦横比の画像が取得できるだけでなく、必要とする画像サイズが小さい場合であっても、撮像時に得られる画素情報を有効に利用した質の高い画像を得ることができる。また、スルー画像についても質の高い画像を得ることができる。   Also in such a modification, during still image shooting or moving image shooting, the drive mode of the CCD 3 is set to the pixel addition mode (4 pixel addition mode or 25 pixel addition mode), and the captured image is vertically or vertically or horizontally and horizontally. The necessary recording image size can be ensured by changing the cut width of the surplus portion to be cut. Therefore, similar to the embodiment described above, not only can the image of the required aspect ratio be acquired, but even when the required image size is small, the pixel information obtained at the time of imaging is effectively used. A high quality image can be obtained. Also, a high quality image can be obtained for the through image.

また、動画撮影時のCCD3の駆動モードを25画素加算モードとするため、CCD3の有効画素数が約1000万画素で、静止画撮影で記録可能な最大の記録画像サイズが「2,700×3,600」であっても、撮像した画像の上下又は上下左右から余剰部分をカットする以前の画素数を、前記MPEG圧縮伸長ブロック9で処理可能な最大画素数以上で、かつそれに近い画素数となる画素加算数とすることにより、動画撮影時におけるフレームデータの生成、圧縮、記録といった一連のデータ処理を極めて効率よく行うことができる。   In addition, since the driving mode of the CCD 3 at the time of moving image shooting is the 25 pixel addition mode, the effective number of pixels of the CCD 3 is about 10 million pixels, and the maximum recording image size that can be recorded by still image shooting is “2,700 × 3”. , 600 ”, the number of pixels before the surplus portion is cut from the top, bottom, top, bottom, left, and right of the captured image is equal to or greater than the maximum number of pixels that can be processed by the MPEG compression / decompression block 9. By using the number of added pixels, a series of data processing such as generation, compression, and recording of frame data during moving image shooting can be performed very efficiently.

また、以上の説明においては、本発明を静止画撮影機能と動画撮影機能とを有するデジタルカメラに適用した場合について説明したが、これに限らず本発明はデジタルビデオカメラ、カメラ付き携帯電話、カメラ付きPDA等の他の撮像装置にも適用することができる。また、静止画撮影機能のみ、あるいは動画撮影機能のみを有するもの(スルー画像の表示機能の有無は問わない。)にも適用することができる。   In the above description, the case where the present invention is applied to a digital camera having a still image shooting function and a moving image shooting function has been described. However, the present invention is not limited thereto, and the present invention is not limited to this. The present invention can also be applied to other imaging devices such as an attached PDA. Further, the present invention can also be applied to those having only a still image shooting function or only a moving image shooting function (whether or not a through image display function is provided).

本発明に係るデジタルカメラのブロック図である。1 is a block diagram of a digital camera according to the present invention. 記録モードでの動作に際して使用される設定情報を示す概念図である。It is a conceptual diagram which shows the setting information used at the time of operation | movement in a recording mode. 画素加算モードによる画像信号の読み出し方法の原理を示すCCDの模式図である。It is a schematic diagram of CCD which shows the principle of the reading method of the image signal by pixel addition mode. 画素加算モードにより読み出される撮像信号からなるベイヤーデータを示した概念図である。It is the conceptual diagram which showed the Bayer data which consists of an imaging signal read by pixel addition mode. 記録モードにおけるCPUの処理内容を示すフローチャートである。It is a flowchart which shows the processing content of CPU in a recording mode. 図5に続くフローチャートである。It is a flowchart following FIG. CCDの有効画素領域(a)と、画素加算モードで読み出される撮像データ(b)と、フレームデータ(c)とにおける縦横方向の画素数の関係を示した図である。It is the figure which showed the relationship between the effective pixel area | region (a) of CCD, the imaging data (b) read by pixel addition mode, and the number of pixels of the vertical / horizontal direction in frame data (c). 25画素加算モードにより読み出される撮像信号からなるベイヤーデータの一例を示した概念図である。It is the conceptual diagram which showed an example of the Bayer data which consist of an imaging signal read by 25 pixel addition mode. 変形例を示す図2に対応した設定情報の概念図である。It is a conceptual diagram of the setting information corresponding to FIG. 2 which shows a modification.

符号の説明Explanation of symbols

1 カメラ本体
3 CCD
6 DSP部
7 タイミングジェネレータ
8 JPEG圧縮伸長ブロック
9 MPEG圧縮伸長ブロック
11 表示コントローラ
12 LCD
13 CPU
14 内蔵メモリ
19 プログラムメモリ
20 記録メディア
100 設定情報
200 設定情報
1 Camera body 3 CCD
6 DSP section 7 Timing generator 8 JPEG compression / decompression block 9 MPEG compression / decompression block 11 Display controller 12 LCD
13 CPU
14 Internal Memory 19 Program Memory 20 Recording Media 100 Setting Information 200 Setting Information

Claims (13)

被写体画像を撮像する撮像素子を備えた撮像装置において、
前記撮像素子から、前記被写体画像の画像データを画素加算して読み出す読出し手段と、
この読出し手段により読み出された画像データに基づく画像から、当該画像の所定の辺に沿う所定幅の余剰部分を削除することにより、所定のアスペクト比の画像を生成する画像生成手段と
を備えたことを特徴とする撮像装置。
In an imaging apparatus including an imaging element that captures a subject image,
Reading means for reading out the image data of the subject image from the image sensor by adding pixels;
Image generating means for generating an image with a predetermined aspect ratio by deleting an excess portion having a predetermined width along a predetermined side of the image from an image based on the image data read by the reading means; An imaging apparatus characterized by that.
前記画像生成手段は、前記読出し手段により読み出された画像データに基づく画像から、当該画像の上下及び/又は左右における所定幅の余剰部分を削除することにより、所定のアスペクト比の画像を生成することを特徴とする請求項1記載の撮像装置。   The image generation unit generates an image having a predetermined aspect ratio by deleting, from the image based on the image data read by the reading unit, an excess portion having a predetermined width at the top and bottom and / or left and right of the image. The imaging apparatus according to claim 1. 前記画像生成手段は、前記撮像素子における有効画素領域のアスペクト比と異なる所定のアスペクト比の画像を生成することを特徴とする請求項1又は2記載の撮像装置。   The imaging apparatus according to claim 1, wherein the image generation unit generates an image having a predetermined aspect ratio different from an aspect ratio of an effective pixel region in the imaging element. 前記画像生成手段は、前記撮像素子における有効画素領域のアスペクト比と異なる複数種類のアスペクト比の画像を生成することを特徴とする請求項1,2又は3記載の撮像装置。   4. The image pickup apparatus according to claim 1, wherein the image generation unit generates an image having a plurality of types of aspect ratios different from an aspect ratio of an effective pixel region in the image pickup device. 前記画像生成手段は、前記撮像素子における有効画素領域のアスペクト比と異なる所定のアスペクト比の画像に加え、前記撮像素子における有効画素領域と同一のアスペクト比の画像を生成することを特徴とする請求項3又は4記載の撮像装置。   The image generation means generates an image having the same aspect ratio as that of the effective pixel area in the image sensor, in addition to an image having a predetermined aspect ratio different from the aspect ratio of the effective pixel area in the image sensor. Item 5. The imaging apparatus according to Item 3 or 4. 前記画像生成手段は、前記読出し手段により読み出された画素加算数が同一の画像データに基づく画像から、互いに異なるアスペクト比を有する複数種類の画像を生成することを特徴とする請求項4又は5記載の撮像装置。   6. The image generating unit generates a plurality of types of images having different aspect ratios from images based on image data having the same number of added pixels read by the reading unit. The imaging device described. 前記読出し手段による前記撮像素子からの画像データ読み出し時の画素加算数を、前記画像生成手段により生成される画像のサイズに対応する画素加算数に制御する読出し制御手段を備えたことを特徴とする請求項1乃至6のいずれか記載の撮像装置。   Readout control means for controlling the pixel addition number at the time of reading image data from the image sensor by the reading means to a pixel addition number corresponding to the size of the image generated by the image generation means is provided. The imaging device according to claim 1. 前記読出し手段は、前記撮像素子から前記被写体画像の画像データを読み出す読出しモードとして、前記画像データを画素加算して読み出す画素加算モードと、前記画像データを画素加算を行わずに読み出す通常モードとを有し、
前記読出し制御手段は、前記画像生成手段により生成される画像のサイズに応じて前記読出し手段における読出しモードを画素加算モード又は通常モードに制御するとともに、前記読出し手段により読み出される画像データにおける画素加算数を前記画像生成手段により生成される画像のサイズに対応する画素加算数に制御する
ことを特徴とする請求項7記載の撮像装置。
The reading means includes, as a reading mode for reading image data of the subject image from the image sensor, a pixel addition mode for reading the image data by adding pixels, and a normal mode for reading the image data without performing pixel addition. Have
The readout control unit controls the readout mode in the readout unit to the pixel addition mode or the normal mode according to the size of the image generated by the image generation unit, and the number of pixel additions in the image data read out by the readout unit The image pickup apparatus according to claim 7, wherein a pixel addition number corresponding to a size of an image generated by the image generation unit is controlled.
前記画像生成手段により生成された画像のデータを圧縮する圧縮手段と、
その圧縮手段により圧縮された圧縮された後の画像データを記録する記録手段と
をさらに備え、
前記圧縮手段は、前記画像生成手段により生成される画像の画素数に応じたデータ処理能力を備えた
ことを特徴とする請求項1乃至8いずれか記載の撮像装置。
Compression means for compressing image data generated by the image generation means;
Recording means for recording the compressed image data compressed by the compression means,
The imaging apparatus according to claim 1, wherein the compression unit has a data processing capability according to the number of pixels of the image generated by the image generation unit.
前記画像生成手段は、前記読出し手段により前記撮像素子から一定周期で読み出された画像データに基づく画像から、動画を構成する所定のアスペクト比の画像を生成することを特徴とする請求項1乃至9いずれか記載の撮像装置。   The image generation means generates an image having a predetermined aspect ratio constituting a moving image from an image based on image data read out from the image sensor at a predetermined period by the reading means. 9. The imaging device according to any one of 9. 前記記録手段には、静止画撮影時に前記画像生成手段により生成された静止画像、及び動画撮影時に前記画像生成手段により生成された動画像が記録され、
前記読出し制御手段は、前記静止画撮影時に前記読出し手段により読み出される画像データにおける画素加算数を、前記動画撮影時に前記読出し手段により読み出される画像データにおける画素加算数よりも少ない数を含む画素加算数に制御することを特徴とする請求項10記載の撮像装置。
The recording unit records a still image generated by the image generation unit during still image shooting and a moving image generated by the image generation unit during moving image shooting,
The read control unit includes a pixel addition number in the image data read by the reading unit during the still image shooting, and a pixel addition number including a number smaller than the pixel addition number in the image data read by the reading unit during the moving image shooting. The imaging apparatus according to claim 10, wherein the imaging apparatus is controlled as follows.
被写体画像を撮像する撮像素子を備えた撮像装置の撮像方法において、
前記撮像素子から、前記被写体画像の画像データを画素加算して読み出す工程と、
読み出した画像データに基づく画像から、当該画像の所定の辺に沿う所定幅の余剰部分を削除することにより、所定のアスペクト比の画像を生成する工程と
を含むことを特徴とする撮像方法。
In an imaging method of an imaging device provided with an imaging device that images a subject image,
A step of adding pixel data to read out the image data of the subject image from the image sensor; and
Generating an image having a predetermined aspect ratio by deleting a surplus portion having a predetermined width along a predetermined side of the image from an image based on the read image data.
被写体画像を撮像する撮像素子を備えた撮像装置が有するコンピュータに、
前記撮像素子から、前記被写体画像の画像データを画素加算して読み出すための処理と、
読み出した画像データに基づく画像から、当該画像の所定の辺に沿う所定幅の余剰部分を削除することにより、所定のアスペクト比の画像を生成するための処理と
を実行させるプログラム。
In a computer included in an image pickup apparatus having an image pickup device for picking up a subject image,
A process for adding and reading out image data of the subject image from the image sensor;
A program for executing processing for generating an image having a predetermined aspect ratio by deleting an excess portion having a predetermined width along a predetermined side of the image from an image based on the read image data.
JP2005335192A 2005-11-21 2005-11-21 Imaging apparatus and imaging method Expired - Fee Related JP4997745B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005335192A JP4997745B2 (en) 2005-11-21 2005-11-21 Imaging apparatus and imaging method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005335192A JP4997745B2 (en) 2005-11-21 2005-11-21 Imaging apparatus and imaging method

Publications (2)

Publication Number Publication Date
JP2007142908A true JP2007142908A (en) 2007-06-07
JP4997745B2 JP4997745B2 (en) 2012-08-08

Family

ID=38205208

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005335192A Expired - Fee Related JP4997745B2 (en) 2005-11-21 2005-11-21 Imaging apparatus and imaging method

Country Status (1)

Country Link
JP (1) JP4997745B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009028703A1 (en) * 2007-08-27 2009-03-05 Sony Corporation Imaging device and imaging method
JP2018006994A (en) * 2016-06-30 2018-01-11 株式会社ニコン Imaging device and imaging element

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001085664A (en) * 1999-07-15 2001-03-30 Sony Corp Solid-state image pick up device, method of driving the same and camera system
JP2001211367A (en) * 2000-01-26 2001-08-03 Sony Corp Image photographing device and converting device
JP2004172845A (en) * 2002-11-19 2004-06-17 Canon Inc Imaging device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001085664A (en) * 1999-07-15 2001-03-30 Sony Corp Solid-state image pick up device, method of driving the same and camera system
JP2001211367A (en) * 2000-01-26 2001-08-03 Sony Corp Image photographing device and converting device
JP2004172845A (en) * 2002-11-19 2004-06-17 Canon Inc Imaging device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009028703A1 (en) * 2007-08-27 2009-03-05 Sony Corporation Imaging device and imaging method
US8279299B2 (en) 2007-08-27 2012-10-02 Sony Corporation Imaging device and associated methodology of setting adjustable aspect ratios
CN101785294B (en) * 2007-08-27 2013-07-10 索尼公司 Imaging device and imaging method
JP5251878B2 (en) * 2007-08-27 2013-07-31 ソニー株式会社 Imaging apparatus and imaging method
JP2018006994A (en) * 2016-06-30 2018-01-11 株式会社ニコン Imaging device and imaging element

Also Published As

Publication number Publication date
JP4997745B2 (en) 2012-08-08

Similar Documents

Publication Publication Date Title
KR100917088B1 (en) Image capturing apparatus and electronic zoom method
JP4943721B2 (en) Color noise removal method for image data and imaging apparatus using the method
JP2007142793A (en) Photographing apparatus, display control method, and program
JP2007135057A (en) Imaging apparatus, image processing method, as well as program
JP2007221570A (en) Imaging apparatus and its program
JP2007318725A (en) Camera, photographing control method of camera, program, and recording medium
JP2017175319A (en) Image processing apparatus, image processing method, and program
JP5909997B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP2006033123A (en) Image pickup device
JP2006324354A (en) Imaging device and imaging apparatus
JP2007096774A (en) Image display device and program
JP2006262071A (en) Image display control apparatus and program
JP2005323162A (en) Imaging apparatus and method for recording image
JP4997745B2 (en) Imaging apparatus and imaging method
JP4003172B2 (en) Image signal processing apparatus and electronic camera
JP2011029879A (en) Imaging apparatus and imaging method
JP2014007454A (en) Image pickup device and image pickup method
JP5086904B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, PROGRAM, AND RECORDING MEDIUM
JP2000032332A (en) Electronic camera
JP2010093579A (en) Imaging apparatus, method and program for controlling the same
JP5397048B2 (en) Digital camera, and its sensitivity setting method and program
JP2000101916A (en) Electronic still camera and its control method
JP4133878B2 (en) Digital camera and image signal generation method
JP2005150835A (en) Image processing apparatus, digital camera system, and digital camera
JP2008005350A (en) Imaging apparatus and its control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081031

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101028

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101130

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110128

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20111122

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120208

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20120216

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: 20120417

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: 20120430

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4997745

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150525

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees