WO2012066768A1 - Stereo image generation device and stereo image generation method - Google Patents

Stereo image generation device and stereo image generation method Download PDF

Info

Publication number
WO2012066768A1
WO2012066768A1 PCT/JP2011/006348 JP2011006348W WO2012066768A1 WO 2012066768 A1 WO2012066768 A1 WO 2012066768A1 JP 2011006348 W JP2011006348 W JP 2011006348W WO 2012066768 A1 WO2012066768 A1 WO 2012066768A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
unit
captured image
pixels
captured
Prior art date
Application number
PCT/JP2011/006348
Other languages
French (fr)
Japanese (ja)
Inventor
孝幸 有馬
郁雄 渕上
中村 剛
Original Assignee
パナソニック株式会社
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 パナソニック株式会社 filed Critical パナソニック株式会社
Publication of WO2012066768A1 publication Critical patent/WO2012066768A1/en

Links

Images

Classifications

    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B35/00Stereoscopic photography
    • G03B35/08Stereoscopic photography by simultaneous recording
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/20Image signal generators
    • H04N13/204Image signal generators using stereoscopic image cameras
    • H04N13/239Image signal generators using stereoscopic image cameras using two 2D image sensors having a relative position equal to or related to the interocular distance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/20Image signal generators
    • H04N13/204Image signal generators using stereoscopic image cameras
    • H04N13/25Image signal generators using stereoscopic image cameras using two or more image sensors with different characteristics other than in their location or field of view, e.g. having different resolutions or colour pickup characteristics; using image signals from one sensor to control the characteristics of another sensor

Definitions

  • the present invention relates to a stereo image generating apparatus and a stereo image generating method suitable for use in a compound eye camera for capturing a stereo image.
  • the compound eye camera described in Patent Document 1 has a plurality of imaging units (that is, cameras), enables imaging of stereo images, and selects one of the plurality of imaging units to perform two-dimensional imaging. It is possible.
  • the present invention has been made in view of such circumstances, and provides a stereo image generation apparatus and a stereo image generation method capable of capturing a high-resolution stereo image without using two high-resolution imaging means.
  • the purpose is to do.
  • the stereo image generating apparatus of the present invention includes a first number of pixels, a first imaging unit that captures the first captured image, a second number of pixels smaller than the first number of pixels, A second imaging unit that captures the second captured image, and an image that converts the first captured image to a predetermined number of pixels and converts the second captured image to the predetermined number of pixels.
  • a stereo image format conversion unit that converts the two captured images into a stereo image format to generate a stereo image.
  • the first imaging unit including the first imaging unit having a high resolution and the second imaging unit having a lower resolution than the first imaging unit is provided. Resizing to a predetermined number of pixels, resizing the second captured image captured by the second imaging unit to a predetermined number of pixels, encoding the resized first captured image and second captured image, and encoding Since the first captured image and the second captured image are converted into a stereo image format to generate a stereo image, a high-resolution stereo image can be captured without using two high-resolution imaging means. It becomes possible. Further, since two high-resolution imaging means are not used, the cost can be reduced and the mounting area can be reduced.
  • the conversion of the first captured image and the conversion of the second captured image performed by the image resizing unit are enlargement, reduction, or equal magnification conversion.
  • the number of pixels of the first captured image captured by the first imaging unit and the number of pixels of the second captured image captured by the second imaging unit can be matched.
  • the predetermined number of pixels is the first number of pixels.
  • the number of pixels of the second captured image captured by the second imaging unit can be matched with the number of pixels of the first captured image captured by the first imaging unit.
  • the first imaging unit includes a first angle of view
  • the second imaging unit includes a second angle of view narrower than the first angle of view
  • the first imaging unit includes a first angle of view
  • An angle of view correction unit for trimming an image, and the image encoding unit is trimmed by the angle of view correction unit, the first captured image whose number of pixels is converted by the image resizing unit, and the image resizing unit
  • the second captured image in which the number of pixels is converted is encoded.
  • the first captured image can be reduced by providing the angle of view correction unit.
  • an angle-of-view information holding unit that holds angle-of-view correction information is provided, and the angle-of-view correction unit performs trimming based on the angle-of-view correction information.
  • the processing time in trimming can be shortened by providing the angle-of-view information holding unit that holds the angle-of-view correction information.
  • a position correction unit that corrects at least one of vertical shift, horizontal shift, rotational shift, and size shift with respect to either the first captured image or the second captured image.
  • the image encoding unit is corrected by the position correction unit, converted to a predetermined number of pixels by the image resizing unit, and corrected by the position correction unit, and the image resizing unit. And the second captured image converted into the predetermined number of pixels.
  • the position correction unit that corrects at least one of vertical shift, horizontal shift, rotational shift, and size shift with respect to either the first captured image or the second captured image. With this, it is possible to generate a highly accurate stereo image from the first captured image and the second captured image.
  • a position correction information holding unit that holds position correction information
  • the position correction unit has at least one of vertical deviation, horizontal deviation, rotation deviation, and size deviation based on the position correction information. to correct.
  • the position correction information holding unit for holding the position correction information is provided, so that the processing time in the position correction can be shortened.
  • color correction for correcting the color of the first captured image and / or the second captured image with respect to the color difference between the first captured image and the second captured image.
  • the image encoding unit encodes the first captured image and the second captured image that have been color-corrected by the color correction unit.
  • the color correction of the first captured image and / or the second captured image can be performed by providing the color correction unit.
  • an image filter unit that performs an averaging process on a peripheral portion of each of the first captured image and the second captured image
  • the image encoding unit includes pixels in the image resizing unit.
  • the image filter unit by providing the image filter unit, it is possible to blur the periphery of each of the first captured image and the second captured image, and between the first and second image capturing units. Deterioration of the image quality of the stereo image due to the difference in lens distortion can be reduced.
  • the stereo image generation method of the present invention includes a first imaging step of capturing a first captured image with a first number of pixels in a first imaging unit, and a first imaging number that is greater than the first number of pixels in a second imaging unit.
  • the image resizing step to obtain the predetermined number of pixels, the image encoding step for encoding the first captured image and the second captured image converted in the image resizing step, and the encoded in the image encoding step
  • a stereo image format conversion step of generating a stereo image by converting the first captured image and the second captured image into a stereo image format.
  • the second captured image captured by the second imaging unit is set to a predetermined number of pixels, and the resized first captured image and second captured image are encoded as described above. Since the encoded first captured image and second captured image are converted into a stereo image format to generate a stereo image, a high-resolution stereo image is captured without using two high-resolution image capturing means. It becomes possible to do.
  • two images are picked up by two image pickup means having different resolutions, a low-resolution image is enlarged to the number of pixels of the high-resolution image, and a stereo image is generated. Since two are not used, the cost can be kept low and the mounting area can be kept small.
  • generation apparatus which concerns on one embodiment of this invention
  • the flowchart which shows the preview process of the stereo image generation apparatus of FIG. The figure which shows the processing result in each step of step S13-step S15 and step S17-step S18 of the preview process of FIG.
  • photography process of the stereo image generation apparatus of FIG. The figure which shows the processing result in each step of step S30-step S32 and step S34 of the imaging
  • FIG. 1 is a block diagram showing a schematic configuration of a stereo image generating apparatus according to an embodiment of the present invention.
  • a stereo image generating apparatus 1 according to the present embodiment includes a high-resolution imaging unit 10-1, a low-resolution imaging unit 10-2, a zoom control unit 11, an autofocus control unit 12, and a shutter.
  • An encoding unit 27, a stereo image format conversion unit 28, an image storage unit 29, a format conversion unit 30, a display control unit 31, and a display unit 32 are provided.
  • the imaging units 10-1 and 10-2 each include an imaging element such as a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS), and outputs an imaging signal.
  • an image obtained by imaging with the imaging unit 10-1 is defined as a first captured image
  • an image obtained by imaging with the imaging unit 10-2 is defined as a second captured image.
  • the imaging unit 10-1 has a first angle of view
  • the imaging unit 10-2 has a second image that is narrower than the first angle of view of the imaging unit 10-1. Has horns.
  • the zoom control unit 11 performs zoom control of the imaging units 10-1 and 10-2.
  • the autofocus control unit 12 performs autofocus control of the imaging units 10-1 and 10-2.
  • the shutter control unit 13 performs shutter control of the imaging units 10-1 and 10-2.
  • the exposure control unit 14 performs exposure control of the imaging units 10-1 and 10-2.
  • the white balance control unit 15 performs white balance control of the imaging units 10-1 and 10-2.
  • the camera operation unit 16 operates the stereo image generation device 1, and a signal at the time of operation is input to the control unit 17.
  • the control unit 17 outputs an operation signal corresponding to an operation on the camera operation unit 16 to the imaging units 10-1 and 10-2.
  • the camera signal processing unit 18-1 resizes the first captured image captured by the imaging unit 10-1 in accordance with the size of the display unit 32.
  • the camera signal processing unit 18-2 resizes the second captured image captured by the imaging unit 10-2 according to the size of the display unit 32.
  • a first captured image (L: left image) of VGA size (W640 pixels, H480 pixels) is output from the camera signal processing unit 18-1, and the camera signal processing unit 18- 2 outputs a second captured image (R: right image) of VGA size (W640 pixels, H480 pixels).
  • W640 pixel indicates that the number of pixels in the horizontal direction is 640 pixels
  • H480 indicates that the number of pixels in the vertical direction is 480 pixels.
  • a first captured image (L: left image) of 13 megapixels is output from the camera signal processing unit 18-1
  • a second imaging of 3 megapixels is output from the camera signal processing unit 18-2. Assume that an image (R: right image) is output.
  • the angle-of-view correction unit 19 reduces the angle of view of the first captured image captured by the imaging unit 10-1 based on the angle-of-view correction information held in the angle-of-view information holding unit 20.
  • the field angle is set to 8 megapixels.
  • the position correction unit 21 corrects the position of the first captured image captured by the imaging unit 10-1 based on the position correction information held in the position correction information holding unit 22. In this case, as position correction, at least one of “vertical shift”, “horizontal shift”, “rotational shift”, or “size shift” is performed.
  • the position correction may be performed on the second captured image captured by the imaging unit 10-2. That is, the position correction unit 21 performs position correction on either the first captured image captured by the imaging unit 10-1 or the second captured image captured by the imaging unit 10-2.
  • the color correction unit 23 determines the first color difference between the second captured image captured by the image capturing unit 10-2 and the first captured image captured by the image capturing unit 10-1 after position correction.
  • the color correction is performed on the captured image and the second captured image (first captured image or second captured image).
  • the image resizing unit 24 converts the first captured image captured by the imaging unit 10-1 to a predetermined number of pixels, converts the second captured image captured by the imaging unit 10-2, The number of pixels is the same as that of the first captured image. In the present embodiment, resizing is performed only for the second captured image, and 3 megapixels are upsampled to 8 megapixels to match the image sizes of the first captured image and the second captured image.
  • the image resizing unit 24 converts the first captured image captured by the imaging unit 10-1 into a predetermined number of pixels, and the second captured image captured by the imaging unit 10-2 is also a predetermined pixel. Convert to a number. Note that the conversion of the first captured image and the conversion of the second captured image performed by the image resizing unit 24 include “magnification” in addition to “enlargement” and “reduction”.
  • the super-resolution processing unit 25 performs the enlargement process by the super-resolution process without performing the enlargement process in the image resizing unit 24. It is possible to select enlargement processing by the resizing unit 24 or enlargement by super-resolution processing.
  • the super-resolution process is a process that increases the sharpness of a blurred portion by enlarging an image (that is, a process for improving image quality). In the present embodiment, a case will be described in which enlargement processing is performed not by the super-resolution processing unit 25 but by the image resizing unit 24.
  • the image filter unit 26 makes each pixel of the first captured image and the second captured image inconspicuous the pixel shift between the left and right images due to the difference in lens distortion between the two image capturing units 10-1 and 10-2. An averaging process is performed to blur the periphery. By providing the image filter unit 26, it is possible to reduce deterioration of the image quality of the stereo image due to a difference in lens distortion between the two imaging units 10-1 and 10-2.
  • the image encoding unit 27 performs the conversion of the number of pixels by the image resizing unit 24, and further performs the conversion of the number of pixels by the first captured image subjected to the averaging process by the image filter unit 26 and the image resizing unit 24. Further, the second captured image that has been subjected to the averaging process by the image filter unit 26 is encoded (compressed). In this case, for example, compression is performed in a JPEG (Joint Photographic Experts Group) format.
  • the stereo image format conversion unit 28 converts the first captured image and the second captured image encoded by the image encoding unit 27 into a stereo image format and generates a stereo image.
  • JPEG format is converted to MPO (Multi-Picture Format) format.
  • the image storage unit 29 has a flash memory (such as an SD memory) and stores the stereo image generated by the stereo image format conversion unit 28.
  • the format conversion unit 30 converts the first captured image and the second captured image that have been converted to the number of pixels suitable for the display unit 32 by the image resizing unit 24 into a format for displaying on the display unit 32.
  • the display control unit 31 controls the display unit 32 to display the first captured image and the second captured image converted into a format (for example, pixel-by-pixel) for display on the display unit 32 by the format conversion unit 30. I do.
  • the display unit 32 is, for example, a liquid crystal display.
  • FIG. 2 is a flowchart for explaining the preview processing of the stereo image generating apparatus 1 according to the present embodiment.
  • the image capturing unit 10-1 and the image capturing unit 10-2 are activated by a user operation, and the continuous image captured by the image capturing unit 10-1 and the image capturing unit 10-2 is used to determine a composition that the user wants to capture.
  • This is a process of sequentially displaying a picked-up image on the display unit 32, and photographing itself including storage of the picked-up image has not been performed yet.
  • step S10 the user instructs the camera operation unit 16 to start the imaging units 10-1 and 10-2 (step S10).
  • the control unit 17 outputs an instruction to activate the imaging units 10-1 and 10-2 (step S11).
  • steps S13 to S21 are repeated until the user instructs the camera operation unit 16 to end photographing.
  • the determination for repeating the processes in steps S13 to S21 is performed in steps S12 and S22.
  • the camera signal processing units 18-1 and 18-2 resize the captured images captured by the imaging units 10-1 and 10-2 in accordance with the size of the display unit 32 (step). S13).
  • the view angle correction unit 19 reads the view angle correction information held in the view angle information holding unit 20, and trims the first captured image captured by the imaging unit 10-1 (step S14).
  • the position correction unit 21 reads out the position correction information held in the position correction information holding unit 22, and the first correction image captured by the imaging unit 10-1 based on the position correction information is At least one of the shift, the horizontal shift, the rotation shift, and the size shift is corrected (step S15).
  • the color correction unit 23 corrects the difference in color between the left and right images, that is, the first captured image captured by the imaging unit 10-1 and the second captured image captured by the imaging unit 10-2 (step S16).
  • the image resizing unit 24 adjusts the right and left images, that is, the first captured image captured by the imaging unit 10-1 and the second captured image captured by the imaging unit 10-2 in accordance with the size of the display unit 32.
  • the image is resized and further compressed in half in the horizontal direction (step S17).
  • the format conversion unit 30 performs format conversion in accordance with the stereo image (3D) display format of the display unit 32 (step S18).
  • the display control unit 31 transfers the display data in accordance with the data reception timing of the display unit 32, and displays the preview image in stereo on the display unit 32 (step S19).
  • control unit 17 determines whether or not the user has instructed photographing using the camera operation unit 16 (step S20), and when the photographing is instructed (that is, when the determination in step S20 is “Yes”), in step S21. Perform shooting processing. Details of this photographing process will be described later. On the other hand, when the photographing is not instructed (that is, when the determination in step S20 is “No”), the photographing process is not performed. The above processing is repeated until the user instructs the camera operation unit 16 to end photographing. When the user instructs the end of shooting, the control unit 17 stops the operation of each of the imaging units 10-1 and 10-2 (step S23), and then ends this process.
  • FIG. 3 is a diagram showing processing results in steps S13 to S15 and steps S17 to S18 when the specifications of the imaging units 10-1 and 10-2 and the display unit 32 are determined as follows.
  • Imaging unit 10-1 13 megapixel camera, focal length equivalent to 27 mm (35 mm film equivalent)
  • Imaging unit 10-2 3 megapixel camera, focal length equivalent to 35 mm (35 mm film equivalent display unit 32: VGA (Video Graphics Array) size ( (W640 x H480 pixels)
  • the first captured image is approximately H ((480 ⁇ 1.3) + ⁇ ) pixels and approximately W ((640 ⁇ 1.3) + ⁇ ) pixels.
  • the second captured image is H480 pixels and W640 pixels.
  • the 27 mm camera is set in the camera signal processing unit 18-1 so that it outputs an image about 1.3 times larger than the VGA size so that the angle of view is the same as 35 mm. To do.
  • the 27 mm camera has H ((480 ⁇ 1.3) + ⁇ ) pixels and W ((640 ⁇ 1.3), with the expectation that the image size will be reduced by correcting vertical / horizontal / size / rotation. + ⁇ ) is captured.
  • the meanings of ⁇ and ⁇ are obtained by correcting the shift of the optical axis when the two cameras are arranged in the stereo image generating device, the shift of the angle of view of each camera itself, and the shift of the optical axis.
  • the camera signal processing unit is set to output a large image size of ⁇ pixels in the horizontal direction and ⁇ pixels in the vertical direction so that the effective pixels are not reduced.
  • FIGS. 6 (a) to 6 (g) show the deviation of the optical axis that occurs when two cameras are arranged in a stereo image generating apparatus.
  • the two cameras in FIGS. 6A to 6G correspond to the two imaging units described above.
  • the first captured image is about H (480 + ⁇ ) pixels and about W (640 + ⁇ ) pixels.
  • the second captured image remains H480 pixels and W640 pixels.
  • the first captured image is about H480 pixels and about W640 pixels.
  • the second captured image remains H480 pixels and W640 pixels.
  • the first captured image is H480 pixels and W320 pixels.
  • the second captured image is H480 pixels and W320 pixels.
  • the first captured image and the second captured image are alternated to become H480 pixels and W640 pixels.
  • FIG. 4 is a flowchart for explaining the photographing process in FIG.
  • the shooting process is a process in the preview process after the image displayed on the display unit 32 is confirmed, the composition to be shot is determined, and the user gives a shooting instruction to the camera operation unit 16.
  • This is processing from image resizing to storing a stereo image in the image storage unit 29.
  • the camera signal processing unit 18-1 resizes the first captured image captured by the imaging unit 10-1 in accordance with the user-set image size, while the camera signal processing unit 18-2 The second captured image captured by 10-2 is resized according to the image size set by the user (step S30).
  • the angle-of-view correction unit 19 reads the angle-of-view correction information from the angle-of-view information holding unit 20, and trims the first captured image captured by the imaging unit 10-1 (step S31).
  • the position correction unit 21 reads the position correction information from the position correction information holding unit 22, and “up / down shift”, “horizontal shift”, “rotation” with respect to the first captured image captured by the image capturing unit 10-1. At least one of “deviation” or “size deviation” is corrected (step S32).
  • the color correction unit 23 corrects the color difference between the left and right images (step S33). That is, the color difference between the second captured image captured by the image capturing unit 10-2 and the first captured image captured by the image capturing unit 10-1 after position correction is corrected.
  • the image resizing unit 24 enlarges the second captured image captured by the imaging unit 10-2 in accordance with the size of the first captured image after the angle of view correction (step S34).
  • the image encoding unit 27 encodes the left and right images (for example, compresses them in the JPEG format). That is, the second captured image captured by the image capturing unit 10-2 and the first captured image captured by the image capturing unit 10-1 after position correction are encoded (step S35).
  • the stereo image format conversion unit 28 converts the left and right images encoded by the image encoding unit 27, that is, the first captured image and the second captured image, into a stereo image format (step S36). When the left and right images are converted into a stereo image format, this process is finished.
  • FIG. 5 is a diagram showing processing results in steps S30 to S32 and step S34 when the specifications of the imaging units 10-1 and 10-2 are determined as follows.
  • Imaging unit 10-1 13 megapixel camera, focal length equivalent to 27 mm (35 mm film equivalent)
  • Imaging unit 10-2 3 megapixel camera, focal length equivalent to 35 mm (35 mm film equivalent)
  • the first captured image is H3120 pixels and W4160 pixels.
  • the second captured image is H1536 pixels and W2048 pixels.
  • the first captured image is about H2400 pixels and about W3200 pixels.
  • the number of pixels is about 1 / 1.3 times.
  • the image size after trimming varies.
  • the first captured image is trimmed to match the angle of view of the second captured image, but the imaging unit 10-1 has an optical zoom function, and the imaging unit 10-2 includes
  • the angle of view of the image pickup unit 10-1 is set to the image pickup unit 10-2 by optically zooming the image pickup unit 10-1 side during shooting.
  • the second captured image captured by the imaging unit 10-2 is trimmed.
  • the second captured image remains H1536 pixels and W2048 pixels.
  • the first captured image is H (2400- ⁇ ) pixels and W (3200- ⁇ ) pixels.
  • the second captured image remains H1536 pixels and W2048 pixels.
  • the first captured image is H (2400- ⁇ ) pixels and W (3200- ⁇ ) pixels.
  • the second captured image has H (2400- ⁇ ) pixels and W (3200- ⁇ ) pixels, and has the same number of pixels as the first captured image.
  • the meanings of ⁇ and ⁇ are to correct the deviation of the optical axis when the two cameras (imaging units) are arranged in the stereo image generation device, the deviation of the angle of view of each camera itself, and the deviation of the optical axis. Indicates the number of pixels to be reduced.
  • the first imaging unit 10-1 having a high resolution and the second imaging unit having a lower resolution than the first imaging unit 10-1. 10-2, the first captured image is converted to a predetermined number of pixels, and the second captured image is converted to a predetermined number of pixels.
  • the image resizing unit 24 and the image resizing unit 24 convert the second captured image.
  • An image encoding unit 27 that encodes the first captured image and the second captured image, and the first captured image and the second captured image encoded by the image encoding unit 27 are converted into a stereo image format and stereo. Since a stereo image format conversion unit 28 that generates an image is provided, a high-resolution stereo image can be captured without using two high-resolution imaging means. Further, since two high-resolution imaging means are not used, the cost can be reduced and the mounting area can be reduced.
  • the present invention has an effect that a high-resolution stereo image can be captured without using two high-resolution imaging means, and is applied to a compound-eye camera for capturing a stereo image and the like. Is possible.

Abstract

Provided are a stereo image generation device and a stereo image generation method capable of capturing a high-resolution stereo image, without using two high-resolution image capturing means. The present invention is provided with: a first image capturing unit (10-1) having a high-resolution; a second image capturing unit (10-2) having a lower resolution than the first image capturing unit (10-1); an image resizing unit (24) which converts a first captured image to contain a predetermine number of pixels, and converts a second captured image to contain a predetermined number of pixels; an image encoding unit (27) which encodes the first captured image and the second captured image which are converted by the image resizing unit (24); and a stereo image format conversion unit (28) which generates a stereo image by converting the first captured image and the second captured image encoded by the image encoding unit (27), to a stereo image format.

Description

ステレオ画像生成装置及びステレオ画像生成方法Stereo image generation apparatus and stereo image generation method
 本発明は、ステレオ画像を撮像するステレオ画像撮像用の複眼カメラに用いて好適なステレオ画像生成装置及びステレオ画像生成方法に関する。 The present invention relates to a stereo image generating apparatus and a stereo image generating method suitable for use in a compound eye camera for capturing a stereo image.
 ステレオ画像を生成する方法として、特許文献1に記載された複眼カメラ及び画像処理方法が知られている。特許文献1に記載された複眼カメラは、複数の撮像手段(即ちカメラ)を有して、ステレオ画像の撮像を可能にし、さらに複数の撮像手段のうちの1つを選択して2次元撮影を可能にしている。 As a method of generating a stereo image, a compound eye camera and an image processing method described in Patent Document 1 are known. The compound eye camera described in Patent Document 1 has a plurality of imaging units (that is, cameras), enables imaging of stereo images, and selects one of the plurality of imaging units to perform two-dimensional imaging. It is possible.
日本国特開平10-090914号公報Japanese Laid-Open Patent Publication No. 10-090914
 しかしながら、上述した特許文献1に記載された複眼カメラの構成では、複数の撮像手段の解像度が同一であるため、高解像度のステレオ画像を撮像するには高解像度の撮像手段を2つ使用する必要があり、コストが嵩み、実装面積も大きくなるという課題がある。 However, in the configuration of the compound eye camera described in Patent Document 1 described above, since the resolution of the plurality of imaging units is the same, it is necessary to use two high-resolution imaging units to capture a high-resolution stereo image. There is a problem that the cost is increased and the mounting area is increased.
 本発明は、係る事情に鑑みてなされたものであり、高解像度の撮像手段を2つ使用することなく、高解像度のステレオ画像を撮像することができるステレオ画像生成装置及びステレオ画像生成方法を提供することを目的とする。 The present invention has been made in view of such circumstances, and provides a stereo image generation apparatus and a stereo image generation method capable of capturing a high-resolution stereo image without using two high-resolution imaging means. The purpose is to do.
 本発明のステレオ画像生成装置は、第1の画素数を備え、第1の撮像画像を撮像する第1の撮像部と、前記第1の画素数よりも小さい第2の画素数を備え、第2の撮像画像を撮像する第2の撮像部と、前記第1の撮像画像を変換し、所定の画素数にするとともに、前記第2の撮像画像を変換し、前記所定の画素数にする画像リサイズ部と、前記画像リサイズ部で変換された前記第1の撮像画像及び前記第2の撮像画像をエンコードする画像エンコード部と、前記画像エンコード部でエンコードされた前記第1の撮像画像及び前記第2の撮像画像をステレオ画像フォーマットに変換してステレオ画像を生成するステレオ画像フォーマット変換部と、を備えた。 The stereo image generating apparatus of the present invention includes a first number of pixels, a first imaging unit that captures the first captured image, a second number of pixels smaller than the first number of pixels, A second imaging unit that captures the second captured image, and an image that converts the first captured image to a predetermined number of pixels and converts the second captured image to the predetermined number of pixels. A resizing unit; an image encoding unit that encodes the first captured image and the second captured image converted by the image resizing unit; the first captured image encoded by the image encoding unit; A stereo image format conversion unit that converts the two captured images into a stereo image format to generate a stereo image.
 上記構成によれば、高解像度の第1の撮像部と、この第1の撮像部よりも低解像度の第2の撮像部を備え、第1の撮像部で撮像された第1の撮像画像を所定の画素数にリサイズするとともに、第2の撮像部で撮像された第2の撮像画像を所定の画素数にリサイズし、リサイズした第1の撮像画像及び第2の撮像画像をエンコードし、エンコードした第1の撮像画像及び第2の撮像画像をステレオ画像フォーマットに変換してステレオ画像を生成するので、高解像度の撮像手段を2つ使用することなく、高解像度のステレオ画像を撮像することが可能となる。また、高解像度の撮像手段を2つ使用しないことから、コストを安くでき、また実装面積も小さくできる。 According to the above-described configuration, the first imaging unit including the first imaging unit having a high resolution and the second imaging unit having a lower resolution than the first imaging unit is provided. Resizing to a predetermined number of pixels, resizing the second captured image captured by the second imaging unit to a predetermined number of pixels, encoding the resized first captured image and second captured image, and encoding Since the first captured image and the second captured image are converted into a stereo image format to generate a stereo image, a high-resolution stereo image can be captured without using two high-resolution imaging means. It becomes possible. Further, since two high-resolution imaging means are not used, the cost can be reduced and the mounting area can be reduced.
 上記構成において、前記画像リサイズ部が行う、前記第1の撮像画像の変換、及び前記第2の撮像画像の変換は、拡大、縮小、又は等倍の変換である。 In the above configuration, the conversion of the first captured image and the conversion of the second captured image performed by the image resizing unit are enlargement, reduction, or equal magnification conversion.
 上記構成によれば、第1の撮像部で撮像された第1の撮像画像の画素数と第2の撮像部で撮像された第2の撮像画像の画素数を合わせることができる。 According to the above configuration, the number of pixels of the first captured image captured by the first imaging unit and the number of pixels of the second captured image captured by the second imaging unit can be matched.
 上記構成において、前記所定の画素数は、前記第1の画素数である。 In the above configuration, the predetermined number of pixels is the first number of pixels.
 上記構成によれば、第1の撮像部で撮像された第1の撮像画像の画素数に第2の撮像部で撮像された第2の撮像画像の画素数を合わせることができる。 According to the above configuration, the number of pixels of the second captured image captured by the second imaging unit can be matched with the number of pixels of the first captured image captured by the first imaging unit.
 上記構成において、前記第1の撮像部は、第1の画角を備え、前記第2の撮像部は、前記第1の画角よりも狭い第2の画角を備え、前記第1の撮像画像をトリミングする画角補正部を備え、前記画像エンコード部は、前記画角補正部でトリミングされ、前記画像リサイズ部で画素数が変換された前記第1の撮像画像と、前記画像リサイズ部で画素数が変換された前記第2の撮像画像と、をエンコードする。 In the above configuration, the first imaging unit includes a first angle of view, and the second imaging unit includes a second angle of view narrower than the first angle of view, and the first imaging unit. An angle of view correction unit for trimming an image, and the image encoding unit is trimmed by the angle of view correction unit, the first captured image whose number of pixels is converted by the image resizing unit, and the image resizing unit The second captured image in which the number of pixels is converted is encoded.
 上記構成によれば、画角補正部を備えたことで、第1の撮像画像を小さくすることができる。 According to the above configuration, the first captured image can be reduced by providing the angle of view correction unit.
 上記構成において、画角補正情報を保持する画角情報保持部を備え、前記画角補正部は、前記画角補正情報に基づきトリミングする。 In the above configuration, an angle-of-view information holding unit that holds angle-of-view correction information is provided, and the angle-of-view correction unit performs trimming based on the angle-of-view correction information.
 上記構成によれば、画角補正情報を保持する画角情報保持部を備えたことで、トリミングにおける処理時間の短縮化を図ることができる。 According to the above configuration, the processing time in trimming can be shortened by providing the angle-of-view information holding unit that holds the angle-of-view correction information.
 上記構成において、前記第1の撮像画像、もしくは前記第2の撮像画像のいずれかに対して、上下ずれ、水平ずれ、回転ずれ、又は大きさずれの中で少なくとも1つを補正する位置補正部を備え、前記画像エンコード部は、前記位置補正部で補正され、前記画像リサイズ部で所定の画素数に変換された前記第1の撮像画像と、前記位置補正部で補正され、前記画像リサイズ部で前記所定の画素数に変換された前記第2の撮像画像と、をエンコードする。 In the above configuration, a position correction unit that corrects at least one of vertical shift, horizontal shift, rotational shift, and size shift with respect to either the first captured image or the second captured image. The image encoding unit is corrected by the position correction unit, converted to a predetermined number of pixels by the image resizing unit, and corrected by the position correction unit, and the image resizing unit. And the second captured image converted into the predetermined number of pixels.
 上記構成によれば、第1の撮像画像、もしくは第2の撮像画像のいずれかに対して、上下ずれ、水平ずれ、回転ずれ、又は大きさずれの中で少なくとも1つを補正する位置補正部を備えたことで、第1の撮像画像と第2の撮像画像とから精度の高いステレオ画像を生成することが可能となる。 According to the above configuration, the position correction unit that corrects at least one of vertical shift, horizontal shift, rotational shift, and size shift with respect to either the first captured image or the second captured image. With this, it is possible to generate a highly accurate stereo image from the first captured image and the second captured image.
 上記構成において、位置補正情報を保持する位置補正情報保持部を備え、前記位置補正部は、前記位置補正情報に基づき上下ずれ、水平ずれ、回転ずれ、又は大きさずれの中で少なくとも1つを補正する。 In the above configuration, a position correction information holding unit that holds position correction information is provided, and the position correction unit has at least one of vertical deviation, horizontal deviation, rotation deviation, and size deviation based on the position correction information. to correct.
 上記構成によれば、位置補正情報を保持する位置補正情報保持部を備えたことで、位置補正における処理時間の短縮化を図ることができる。 According to the above configuration, the position correction information holding unit for holding the position correction information is provided, so that the processing time in the position correction can be shortened.
 上記構成において、前記第1の撮像画像と前記第2の撮像画像との間の色の違いについて、前記第1の撮像画像及び/又は前記第2の撮像画像に対して色の補正する色補正部を備え、前記画像エンコード部は、前記色補正部で色の補正がなされた前記第1の撮像画像と、前記第2の撮像画像と、をエンコードする。 In the above configuration, color correction for correcting the color of the first captured image and / or the second captured image with respect to the color difference between the first captured image and the second captured image. The image encoding unit encodes the first captured image and the second captured image that have been color-corrected by the color correction unit.
 上記構成によれば、色補正部を備えたことで、第1の撮像画像及び/又は前記第2の撮像画像の色補正を行うことができる。 According to the above configuration, the color correction of the first captured image and / or the second captured image can be performed by providing the color correction unit.
 上記構成において、前記画像リサイズ部が行う、前記第1の撮像画像の変換、及び前記第2の撮像画像の変換が拡大の変換である場合、超解像処理を用いる。 In the above configuration, when the conversion of the first captured image and the conversion of the second captured image performed by the image resizing unit are enlargement conversions, super-resolution processing is used.
 上記構成によれば、超解像処理を行うことで、撮像画像を拡大することによってぼけた部分が生じてもくっきり感を上げることができる。即ち、高画質化を図ることができる。 According to the above configuration, by performing the super-resolution processing, it is possible to enhance a clear feeling even if a blurred portion is generated by enlarging the captured image. That is, high image quality can be achieved.
 上記構成において、前記第1の撮像画像及び前記第2の撮像画像のそれぞれの画像の周辺部に対して平均化処理を行う画像フィルタ部を備え、前記画像エンコード部は、前記画像リサイズ部で画素数の変換した後、前記画像フィルタ部により平均化処理を行った前記第1の撮像画像と、前記画像リサイズ部で画素数の変換した後、前記画像フィルタ部により平均化処理を行った前記第2の撮像画像と、をエンコードする。 In the above-described configuration, an image filter unit that performs an averaging process on a peripheral portion of each of the first captured image and the second captured image is provided, and the image encoding unit includes pixels in the image resizing unit. After the number conversion, the first captured image that has been subjected to the averaging process by the image filter unit and the first image that has been subjected to the averaging process by the image filter unit after the number of pixels has been converted by the image resizing unit. Two captured images are encoded.
 上記構成によれば、画像フィルタ部を備えたことで、第1の撮像画像及び前記第2の撮像画像のそれぞれの画像の周辺部をぼかすことができ、第1,第2の撮像部間のレンズ歪の差によるステレオ画像の画質の劣化を少なくすることができる。 According to the above configuration, by providing the image filter unit, it is possible to blur the periphery of each of the first captured image and the second captured image, and between the first and second image capturing units. Deterioration of the image quality of the stereo image due to the difference in lens distortion can be reduced.
 本発明のステレオ画像生成方法は、第1の撮像部において第1の画素数で、第1の撮像画像を撮像する第1撮像ステップと、第2の撮像部において前記第1の画素数よりも小さい第2の画素数で、第2の撮像画像を撮像する第2撮像ステップと、前記第1の撮像画像を変換し、所定の画素数にするとともに、前記第2の撮像画像を変換し、前記所定の画素数にする画像リサイズステップと、前記画像リサイズステップで変換された前記第1の撮像画像及び前記第2の撮像画像をエンコードする画像エンコードステップと、前記画像エンコードステップでエンコードされた前記第1の撮像画像及び前記第2の撮像画像をステレオ画像フォーマットに変換してステレオ画像を生成するステレオ画像フォーマット変換ステップと、を備えた。 The stereo image generation method of the present invention includes a first imaging step of capturing a first captured image with a first number of pixels in a first imaging unit, and a first imaging number that is greater than the first number of pixels in a second imaging unit. A second imaging step of capturing a second captured image with a small second number of pixels, and converting the first captured image to a predetermined number of pixels and converting the second captured image; The image resizing step to obtain the predetermined number of pixels, the image encoding step for encoding the first captured image and the second captured image converted in the image resizing step, and the encoded in the image encoding step A stereo image format conversion step of generating a stereo image by converting the first captured image and the second captured image into a stereo image format.
 上記方法によれば、高解像度の第1の撮像部と、この第1の撮像部よりも低解像度の第2の撮像部を使用し、第1の撮像部で撮像された第1の撮像画像を所定の画素数にするとともに、第2の撮像部で撮像された第2の撮像画像を所定の画素数にし、このようにしてリサイズした第1の撮像画像及び第2の撮像画像とをエンコードし、エンコードした第1の撮像画像及び第2の撮像画像をステレオ画像フォーマットに変換してステレオ画像を生成するので、高解像度の撮像手段を2つ使用することなく、高解像度のステレオ画像を撮像することが可能となる。 According to the above method, the first captured image captured by the first imaging unit using the first imaging unit having a high resolution and the second imaging unit having a lower resolution than the first imaging unit. Is set to a predetermined number of pixels, the second captured image captured by the second imaging unit is set to a predetermined number of pixels, and the resized first captured image and second captured image are encoded as described above. Since the encoded first captured image and second captured image are converted into a stereo image format to generate a stereo image, a high-resolution stereo image is captured without using two high-resolution image capturing means. It becomes possible to do.
 本発明によれば、解像度の異なる2つの撮像手段で2つの画像を撮像し、低解像度の画像を高解像度の画像の画素数まで拡大し、ステレオ画像を生成するので、高解像度の撮像手段を2つ使用することがないため、コストを低く抑えることができるとともに、実装面積も小さく抑えることができる。 According to the present invention, two images are picked up by two image pickup means having different resolutions, a low-resolution image is enlarged to the number of pixels of the high-resolution image, and a stereo image is generated. Since two are not used, the cost can be kept low and the mounting area can be kept small.
本発明の一実施の形態に係るステレオ画像生成装置の概略構成を示すブロック図The block diagram which shows schematic structure of the stereo image production | generation apparatus which concerns on one embodiment of this invention 図1のステレオ画像生成装置のプレビュー処理を示すフローチャートThe flowchart which shows the preview process of the stereo image generation apparatus of FIG. 図2のプレビュー処理のステップS13~ステップS15及びステップS17~ステップS18の各ステップにおける処理結果を示す図The figure which shows the processing result in each step of step S13-step S15 and step S17-step S18 of the preview process of FIG. 図1のステレオ画像生成装置の撮影処理を示すフローチャートThe flowchart which shows the imaging | photography process of the stereo image generation apparatus of FIG. 図4の撮影処理のステップS30~ステップS32及びステップS34の各ステップにおける処理結果を示す図The figure which shows the processing result in each step of step S30-step S32 and step S34 of the imaging | photography process of FIG. (a)~(g)図1のステレオ画像生成装置に2つの撮像部を配置したときの光軸ずれを示す図(A)-(g) The figure which shows the optical axis shift | offset | difference when arrange | positioning two imaging parts to the stereo image production | generation apparatus of FIG.
 以下、本発明を実施するための好適な実施の形態について、図面を参照して詳細に説明する。 Hereinafter, preferred embodiments for carrying out the present invention will be described in detail with reference to the drawings.
 図1は、本発明の一実施の形態に係るステレオ画像生成装置の概略構成を示すブロック図である。図1において、本実施の形態のステレオ画像生成装置1は、高解像度の撮像部10-1と、低解像度の撮像部10-2と、ズーム制御部11と、オートフォーカス制御部12と、シャッター制御部13と、露出制御部14と、ホワイトバランス制御部15と、カメラ操作部16と、制御部17と、2つのカメラ信号処理部18-1,18-2と、画角補正部19と、画角情報保持部20と、位置補正部21と、位置補正情報保持部22と、色補正部23と、画像リサイズ部24と、超解像処理部25と、画像フィルタ部26と、画像エンコード部27と、ステレオ画像フォーマット変換部28と、画像保存部29と、フォーマット変換部30と、表示制御部31と、表示部32とを備える。 FIG. 1 is a block diagram showing a schematic configuration of a stereo image generating apparatus according to an embodiment of the present invention. In FIG. 1, a stereo image generating apparatus 1 according to the present embodiment includes a high-resolution imaging unit 10-1, a low-resolution imaging unit 10-2, a zoom control unit 11, an autofocus control unit 12, and a shutter. A control unit 13, an exposure control unit 14, a white balance control unit 15, a camera operation unit 16, a control unit 17, two camera signal processing units 18-1 and 18-2, and an angle of view correction unit 19; , Angle-of-view information holding unit 20, position correction unit 21, position correction information holding unit 22, color correction unit 23, image resizing unit 24, super-resolution processing unit 25, image filter unit 26, and image An encoding unit 27, a stereo image format conversion unit 28, an image storage unit 29, a format conversion unit 30, a display control unit 31, and a display unit 32 are provided.
 撮像部10-1,10-2は、CCD(Charge Coupled Device)やCMOS(Complementary Metal Oxide Semiconductor)等の撮像素子を備え、撮像信号を出力する。本実施の形態では、撮像部10-1で撮像して得られた画像を第1の撮像画像とし、撮像部10-2で撮像して得られた画像を第2の撮像画像とする。また、本実施の形態では、撮像部10-1は第1の画角を有しており、撮像部10-2は、撮像部10-1の第1の画角よりも狭い第2の画角を有している。 The imaging units 10-1 and 10-2 each include an imaging element such as a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS), and outputs an imaging signal. In the present embodiment, an image obtained by imaging with the imaging unit 10-1 is defined as a first captured image, and an image obtained by imaging with the imaging unit 10-2 is defined as a second captured image. In the present embodiment, the imaging unit 10-1 has a first angle of view, and the imaging unit 10-2 has a second image that is narrower than the first angle of view of the imaging unit 10-1. Has horns.
 ズーム制御部11は、撮像部10-1,10-2のズーム制御を行う。オートフォーカス制御部12は、撮像部10-1,10-2のオートフォーカス制御を行う。シャッター制御部13は、撮像部10-1,10-2のシャッター制御を行う。露出制御部14は、撮像部10-1,10-2の露出制御を行う。ホワイトバランス制御部15は、撮像部10-1,10-2のホワイトバランス制御を行う。 The zoom control unit 11 performs zoom control of the imaging units 10-1 and 10-2. The autofocus control unit 12 performs autofocus control of the imaging units 10-1 and 10-2. The shutter control unit 13 performs shutter control of the imaging units 10-1 and 10-2. The exposure control unit 14 performs exposure control of the imaging units 10-1 and 10-2. The white balance control unit 15 performs white balance control of the imaging units 10-1 and 10-2.
 カメラ操作部16は、ステレオ画像生成装置1の操作を行うものであり、操作時の信号が制御部17に入力される。制御部17は、カメラ操作部16での操作に応じた操作信号を撮像部10-1,10-2へ出力する。カメラ信号処理部18-1は、プレビュー処理において、撮像部10-1で撮像された第1の撮像画像を表示部32のサイズに合わせてリサイズする。カメラ信号処理部18-2は、プレビュー処理において、撮像部10-2で撮像された第2の撮像画像を表示部32のサイズに合わせてリサイズする。本実施の形態では、プレビュー処理時は、カメラ信号処理部18-1からVGAサイズ(W640ピクセル、H480ピクセル)の第1の撮像画像(L:左画像)を出力し、カメラ信号処理部18-2からはVGAサイズ(W640ピクセル、H480ピクセル)の第2の撮像画像(R:右画像)を出力する。W640ピクセルとは、水平方向の画素数が640ピクセルであることを示しており、H480とは、垂直方向の画素数が480ピクセルであることを意味する。撮影処理時は、カメラ信号処理部18-1からは13メガピクセルの第1の撮像画像(L:左画像)を出力し、カメラ信号処理部18-2からは3メガピクセルの第2の撮像画像(R:右画像)を出力するものとする。 The camera operation unit 16 operates the stereo image generation device 1, and a signal at the time of operation is input to the control unit 17. The control unit 17 outputs an operation signal corresponding to an operation on the camera operation unit 16 to the imaging units 10-1 and 10-2. In the preview process, the camera signal processing unit 18-1 resizes the first captured image captured by the imaging unit 10-1 in accordance with the size of the display unit 32. In the preview process, the camera signal processing unit 18-2 resizes the second captured image captured by the imaging unit 10-2 according to the size of the display unit 32. In the present embodiment, at the time of preview processing, a first captured image (L: left image) of VGA size (W640 pixels, H480 pixels) is output from the camera signal processing unit 18-1, and the camera signal processing unit 18- 2 outputs a second captured image (R: right image) of VGA size (W640 pixels, H480 pixels). W640 pixel indicates that the number of pixels in the horizontal direction is 640 pixels, and H480 indicates that the number of pixels in the vertical direction is 480 pixels. At the time of shooting processing, a first captured image (L: left image) of 13 megapixels is output from the camera signal processing unit 18-1, and a second imaging of 3 megapixels is output from the camera signal processing unit 18-2. Assume that an image (R: right image) is output.
 画角補正部19は、画角情報保持部20に保持されている画角補正情報に基づき撮像部10-1で撮像された第1の撮像画像の画角を小さくする。例えば、8メガピクセルの画角にする。なお、撮像部10-2で撮像された第2の撮像画像については画角補正しない。位置補正部21は、位置補正情報保持部22に保持されている位置補正情報に基づき、撮像部10-1で撮像された第1の撮像画像に対して位置補正する。この場合、位置補正として、“上下ずれ”、“水平ずれ”、“回転ずれ”、又は“大きさずれ”の中で少なくとも1つを行う。なお、位置補正は、撮像部10-2で撮像された第2の撮像画像に対して行ってもよい。即ち、位置補正部21は、撮像部10-1で撮像された第1の撮像画像、もしくは撮像部10-2で撮像された第2の撮像画像のいずれかに対して位置補正を行う。 The angle-of-view correction unit 19 reduces the angle of view of the first captured image captured by the imaging unit 10-1 based on the angle-of-view correction information held in the angle-of-view information holding unit 20. For example, the field angle is set to 8 megapixels. Note that the angle of view is not corrected for the second captured image captured by the imaging unit 10-2. The position correction unit 21 corrects the position of the first captured image captured by the imaging unit 10-1 based on the position correction information held in the position correction information holding unit 22. In this case, as position correction, at least one of “vertical shift”, “horizontal shift”, “rotational shift”, or “size shift” is performed. The position correction may be performed on the second captured image captured by the imaging unit 10-2. That is, the position correction unit 21 performs position correction on either the first captured image captured by the imaging unit 10-1 or the second captured image captured by the imaging unit 10-2.
 色補正部23は、撮像部10-2で撮像された第2の撮像画像と位置補正後の撮像部10-1で撮像された第1の撮像画像との間の色の違いについて、第1の撮像画像及び第2の撮像画像(第1の撮像画像又は第2の撮像画像)に対して色の補正を行う。画像リサイズ部24は、撮像部10-1で撮像された第1の撮像画像を変換し、所定の画素数にするとともに、撮像部10-2で撮像された第2の撮像画像を変換し、第1の撮像画像と同様の画素数にする。本実施の形態では、第2の撮像画像についてのみリサイズを行い、3メガピクセルを8メガピクセルまでアップサンプリングして、第1の撮像画像と第2の撮像画像の画像サイズを合わせる。 The color correction unit 23 determines the first color difference between the second captured image captured by the image capturing unit 10-2 and the first captured image captured by the image capturing unit 10-1 after position correction. The color correction is performed on the captured image and the second captured image (first captured image or second captured image). The image resizing unit 24 converts the first captured image captured by the imaging unit 10-1 to a predetermined number of pixels, converts the second captured image captured by the imaging unit 10-2, The number of pixels is the same as that of the first captured image. In the present embodiment, resizing is performed only for the second captured image, and 3 megapixels are upsampled to 8 megapixels to match the image sizes of the first captured image and the second captured image.
 また、画像リサイズ部24は、撮像部10-1で撮像された第1の撮像画像を所定の画素数に変換するとともに、撮像部10-2で撮像された第2の撮像画像も所定の画素数に変換する。なお、画像リサイズ部24が行う第1の撮像画像の変換及び第2の撮像画像の変換は、“拡大”や“縮小”の他に“等倍”も含まれる。 Further, the image resizing unit 24 converts the first captured image captured by the imaging unit 10-1 into a predetermined number of pixels, and the second captured image captured by the imaging unit 10-2 is also a predetermined pixel. Convert to a number. Note that the conversion of the first captured image and the conversion of the second captured image performed by the image resizing unit 24 include “magnification” in addition to “enlargement” and “reduction”.
 超解像処理部25は、第2の撮像画像の変換が拡大の変換である場合に、画像リサイズ部24において拡大処理を行わずに、超解像処理により拡大処理を行うものであり、画像リサイズ部24により拡大処理するか、超解像処理により拡大するかを選択可能である。超解像処理とは、画像を拡大することによってぼけた部分についてくっきり感を上げるような処理である(つまり、高画質化を図る処理である)。本実施の形態では、超解像処理部25ではなく、画像リサイズ部24により拡大処理する場合を説明する。画像フィルタ部26は、2つの撮像部10-1,10-2のレンズ歪の差による左右画像の画素ずれを目立たなくするため、第1の撮像画像及び第2の撮像画像のそれぞれの画像の周辺部をぼかすための平均化処理を行う。この画像フィルタ部26を設けることで、2つの撮像部10-1,10-2間のレンズ歪の差によるステレオ画像の画質の劣化を少なくすることができる。 When the conversion of the second captured image is an enlargement conversion, the super-resolution processing unit 25 performs the enlargement process by the super-resolution process without performing the enlargement process in the image resizing unit 24. It is possible to select enlargement processing by the resizing unit 24 or enlargement by super-resolution processing. The super-resolution process is a process that increases the sharpness of a blurred portion by enlarging an image (that is, a process for improving image quality). In the present embodiment, a case will be described in which enlargement processing is performed not by the super-resolution processing unit 25 but by the image resizing unit 24. The image filter unit 26 makes each pixel of the first captured image and the second captured image inconspicuous the pixel shift between the left and right images due to the difference in lens distortion between the two image capturing units 10-1 and 10-2. An averaging process is performed to blur the periphery. By providing the image filter unit 26, it is possible to reduce deterioration of the image quality of the stereo image due to a difference in lens distortion between the two imaging units 10-1 and 10-2.
 画像エンコード部27は、画像リサイズ部24で画素数の変換が行われ、さらに画像フィルタ部26により平均化処理が行われた第1の撮像画像と、画像リサイズ部24で画素数の変換が行われ、さらに画像フィルタ部26で平均化処理が行われた第2の撮像画像とをエンコード(圧縮)する。この場合、例えばJPEG(Joint Photographic Experts Group)形式で圧縮する。ステレオ画像フォーマット変換部28は、画像エンコード部27でエンコードされた第1の撮像画像及び第2の撮像画像をステレオ画像フォーマットに変換してステレオ画像を生成する。この場合、例えばJPEG形式からMPO(Multi-Picture Format)形式に変換する。画像保存部29は、フラッシュメモリ(SDメモリなど)を有し、ステレオ画像フォーマット変換部28で生成されたステレオ画像を保存する。フォーマット変換部30は、画像リサイズ部24で表示部32に合う画素数に変換された第1の撮像画像及び第2の撮像画像を表示部32に表示するための形式に変換する。表示制御部31は、フォーマット変換部30で表示部32に表示するための形式(例えば、ピクセルバイピクセル)に変換された第1の撮像画像及び第2の撮像画像を表示部32に表示する制御を行う。表示部32は、例えば液晶表示器である。 The image encoding unit 27 performs the conversion of the number of pixels by the image resizing unit 24, and further performs the conversion of the number of pixels by the first captured image subjected to the averaging process by the image filter unit 26 and the image resizing unit 24. Further, the second captured image that has been subjected to the averaging process by the image filter unit 26 is encoded (compressed). In this case, for example, compression is performed in a JPEG (Joint Photographic Experts Group) format. The stereo image format conversion unit 28 converts the first captured image and the second captured image encoded by the image encoding unit 27 into a stereo image format and generates a stereo image. In this case, for example, JPEG format is converted to MPO (Multi-Picture Format) format. The image storage unit 29 has a flash memory (such as an SD memory) and stores the stereo image generated by the stereo image format conversion unit 28. The format conversion unit 30 converts the first captured image and the second captured image that have been converted to the number of pixels suitable for the display unit 32 by the image resizing unit 24 into a format for displaying on the display unit 32. The display control unit 31 controls the display unit 32 to display the first captured image and the second captured image converted into a format (for example, pixel-by-pixel) for display on the display unit 32 by the format conversion unit 30. I do. The display unit 32 is, for example, a liquid crystal display.
 次に、本実施の形態のステレオ画像生成装置1の動作を説明する。
 図2は、本実施の形態のステレオ画像生成装置1のプレビュー処理を説明するためのフローチャートである。プレビュー処理とは、ユーザ操作により、撮像部10-1、撮像部10-2が起動され、ユーザが撮影したい構図を決めるために、撮像部10-1、撮像部10-2が取り込んだ連続的な撮像画像を、表示部32に順次表示する処理であり、撮像画像の保存を含む撮影自体はまだ行われていない。
Next, the operation of the stereo image generating apparatus 1 of the present embodiment will be described.
FIG. 2 is a flowchart for explaining the preview processing of the stereo image generating apparatus 1 according to the present embodiment. In the preview process, the image capturing unit 10-1 and the image capturing unit 10-2 are activated by a user operation, and the continuous image captured by the image capturing unit 10-1 and the image capturing unit 10-2 is used to determine a composition that the user wants to capture. This is a process of sequentially displaying a picked-up image on the display unit 32, and photographing itself including storage of the picked-up image has not been performed yet.
 図2において、ユーザがカメラ操作部16により撮像部10-1、10-2の起動を指示する(ステップS10)。このユーザ指示により、制御部17が、撮像部10-1、10-2を起動する指示を出力する(ステップS11)。起動指示を出力した後、ユーザがカメラ操作部16により撮影終了を指示するまで間、ステップS13~ステップS21を繰り返す。ステップS13~ステップS21の処理を繰り返すための判定はステップS12とステップS22で行われる。 In FIG. 2, the user instructs the camera operation unit 16 to start the imaging units 10-1 and 10-2 (step S10). In response to this user instruction, the control unit 17 outputs an instruction to activate the imaging units 10-1 and 10-2 (step S11). After outputting the activation instruction, steps S13 to S21 are repeated until the user instructs the camera operation unit 16 to end photographing. The determination for repeating the processes in steps S13 to S21 is performed in steps S12 and S22.
 ユーザが撮影終了を指示しない間、まずカメラ信号処理部18-1,18-2が撮像部10-1,10-2で撮像された撮像画像を表示部32のサイズに合わせてリサイズする(ステップS13)。次いで、画角補正部19が、画角情報保持部20に保持されている画角補正情報を読み出し、撮像部10-1で撮像された第1の撮像画像をトリミングする(ステップS14)。 While the user does not instruct the end of shooting, first, the camera signal processing units 18-1 and 18-2 resize the captured images captured by the imaging units 10-1 and 10-2 in accordance with the size of the display unit 32 (step). S13). Next, the view angle correction unit 19 reads the view angle correction information held in the view angle information holding unit 20, and trims the first captured image captured by the imaging unit 10-1 (step S14).
 次いで、位置補正部21が、位置補正情報保持部22に保持されている位置補正情報を読み出し、その位置補正情報に基づき撮像部10-1で撮像された第1の撮像画像に対して、上下ずれ、水平ずれ、回転ずれ、大きさずれの中の少なくとも1つを補正する(ステップS15)。次いで、色補正部23が、左右画像即ち撮像部10-1で撮像された第1の撮像画像と撮像部10-2で撮像された第2の撮像画像の色の違いを補正する(ステップS16)。次いで、画像リサイズ部24が、表示部32のサイズに合わせて、左右画像即ち撮像部10-1で撮像された第1の撮像画像と撮像部10-2で撮像された第2の撮像画像をリサイズし、さらに水平方向に1/2に圧縮する(ステップS17)。次いで、フォーマット変換部30が、表示部32のステレオ画像(3D)表示フォーマットに合わせてフォーマット変換を行う(ステップS18)。次いで、表示制御部31が、表示部32のデータ受信タイミングに合わせて表示データを転送し、表示部32にプレビュー画像をステレオ表示する(ステップS19)。 Next, the position correction unit 21 reads out the position correction information held in the position correction information holding unit 22, and the first correction image captured by the imaging unit 10-1 based on the position correction information is At least one of the shift, the horizontal shift, the rotation shift, and the size shift is corrected (step S15). Next, the color correction unit 23 corrects the difference in color between the left and right images, that is, the first captured image captured by the imaging unit 10-1 and the second captured image captured by the imaging unit 10-2 (step S16). ). Next, the image resizing unit 24 adjusts the right and left images, that is, the first captured image captured by the imaging unit 10-1 and the second captured image captured by the imaging unit 10-2 in accordance with the size of the display unit 32. The image is resized and further compressed in half in the horizontal direction (step S17). Next, the format conversion unit 30 performs format conversion in accordance with the stereo image (3D) display format of the display unit 32 (step S18). Next, the display control unit 31 transfers the display data in accordance with the data reception timing of the display unit 32, and displays the preview image in stereo on the display unit 32 (step S19).
 次いで、制御部17が、ユーザがカメラ操作部16により撮影を指示したかどうか判定し(ステップS20)、撮影を指示した場合(即ち、ステップS20の判定が「Yes」の場合)、ステップS21で撮影処理を行う。この撮影処理の詳細については後述する。これに対して撮影を指示していない場合(即ち、ステップS20の判定が「No」の場合)、撮影処理を行わない。以上の処理を、ユーザがカメラ操作部16により、撮影終了を指示するまで繰り返し行う。そして、ユーザが撮影終了を指示すると、制御部17が、撮像部10-1、10-2のそれぞれの動作を停止させ(ステップS23)、その後、本処理を終了する。 Next, the control unit 17 determines whether or not the user has instructed photographing using the camera operation unit 16 (step S20), and when the photographing is instructed (that is, when the determination in step S20 is “Yes”), in step S21. Perform shooting processing. Details of this photographing process will be described later. On the other hand, when the photographing is not instructed (that is, when the determination in step S20 is “No”), the photographing process is not performed. The above processing is repeated until the user instructs the camera operation unit 16 to end photographing. When the user instructs the end of shooting, the control unit 17 stops the operation of each of the imaging units 10-1 and 10-2 (step S23), and then ends this process.
 図3は、撮像部10-1,10-2と表示部32の仕様を以下のように決定したときのステップS13~ステップS15及びステップS17~ステップS18の各ステップにおける処理結果を示す図である。
 撮像部10-1:13メガピクセルカメラ、焦点距離 27mm相当(35mmフィルム換算
 撮像部10-2:3メガピクセルカメラ、焦点距離 35mm相当(35mmフィルム換算
 表示部32:VGA(Video Graphics Array)サイズ(W640×H480ピクセル)
FIG. 3 is a diagram showing processing results in steps S13 to S15 and steps S17 to S18 when the specifications of the imaging units 10-1 and 10-2 and the display unit 32 are determined as follows. .
Imaging unit 10-1: 13 megapixel camera, focal length equivalent to 27 mm (35 mm film equivalent) Imaging unit 10-2: 3 megapixel camera, focal length equivalent to 35 mm (35 mm film equivalent display unit 32: VGA (Video Graphics Array) size ( (W640 x H480 pixels)
 ステップS13では、第1の撮像画像は、約H((480×1.3)+β)ピクセル、約W((640×1.3)+α)ピクセルとなる。第2の撮像画像は、H480ピクセル、W640ピクセルとなる。ここで、焦点距離35mm、27mmの画角の差により、27mmのカメラで撮影したほうが、縦横それぞれ約1.3倍広角に撮影できる。そのため、27mmmのカメラ画像をトリミングした後に、35mmと同じ画角になるように、27mmのカメラはVGAサイズより1.3倍程度大きい画像を出力するように、カメラ信号処理部18-1に設定する。さらに、上下/左右/大きさ/回転の補正により、画像サイズが小さくなる分も見込んで、27mmのカメラはH((480×1.3)+β)ピクセル、W((640×1.3)+α)の画像を撮像するようにする。ここでα、βの意味は、2つのカメラをステレオ画像生成装置に配置した時の光軸のずれ、およびそれぞれのカメラ自体の画角のずれ、光軸のずれを補正することにより、画像の有効画素が減少しないように、水平方向はαピクセル、垂直方向はβピクセル分、大きい画像サイズを出力するように、カメラ信号処理部に設定することを意味する。図6(a)~(g)は、2つのカメラをステレオ画像生成装置に配置した時に発生する光軸のずれを示したものである。ここで、図6(a)~(g)における2つのカメラは前述した2つの撮像部に相当するものである。 In step S13, the first captured image is approximately H ((480 × 1.3) + β) pixels and approximately W ((640 × 1.3) + α) pixels. The second captured image is H480 pixels and W640 pixels. Here, due to the difference in angle of view between the focal lengths of 35 mm and 27 mm, shooting with a 27 mm camera enables shooting at a wide angle of about 1.3 times in the vertical and horizontal directions. Therefore, after trimming a 27 mm camera image, the 27 mm camera is set in the camera signal processing unit 18-1 so that it outputs an image about 1.3 times larger than the VGA size so that the angle of view is the same as 35 mm. To do. Furthermore, the 27 mm camera has H ((480 × 1.3) + β) pixels and W ((640 × 1.3), with the expectation that the image size will be reduced by correcting vertical / horizontal / size / rotation. + Α) is captured. Here, the meanings of α and β are obtained by correcting the shift of the optical axis when the two cameras are arranged in the stereo image generating device, the shift of the angle of view of each camera itself, and the shift of the optical axis. This means that the camera signal processing unit is set to output a large image size of α pixels in the horizontal direction and β pixels in the vertical direction so that the effective pixels are not reduced. FIGS. 6 (a) to 6 (g) show the deviation of the optical axis that occurs when two cameras are arranged in a stereo image generating apparatus. Here, the two cameras in FIGS. 6A to 6G correspond to the two imaging units described above.
 ステップS14では、第1の撮像画像は、約H(480+β)ピクセル、約W(640+α)ピクセルとなる。第2の撮像画像は、H480ピクセル、W640ピクセルのままである。ステップS15では、第1の撮像画像は、約H480ピクセル、約W640ピクセルとなる。第2の撮像画像は、H480ピクセル、W640ピクセルのままである。ステップS17では、第1の撮像画像は、H480ピクセル、W320ピクセルとなる。第2の撮像画像は、H480ピクセル、W320ピクセルとなる。ステップS18では、第1の撮像画像と第2の撮像画像とが交互となり、H480ピクセル、W640ピクセルとなる。 In step S14, the first captured image is about H (480 + β) pixels and about W (640 + α) pixels. The second captured image remains H480 pixels and W640 pixels. In step S15, the first captured image is about H480 pixels and about W640 pixels. The second captured image remains H480 pixels and W640 pixels. In step S17, the first captured image is H480 pixels and W320 pixels. The second captured image is H480 pixels and W320 pixels. In step S18, the first captured image and the second captured image are alternated to become H480 pixels and W640 pixels.
 (撮影処理)
 次に、上記ステップS21の撮影処理について説明する。
 図4は、図2における撮影処理を説明するためのフローチャートである。ここで、撮影処理とは、プレビュー処理において、表示部32に表示される画像を確認して、撮影したい構図を決定し、ユーザがカメラ操作部16に対して撮影指示を行った以降の処理のことを指しており、画像リサイズから画像保存部29にステレオ画像を保存するまでの処理である。図4において、カメラ信号処理部18-1が、撮像部10-1が撮像した第1の撮像画像をユーザ設定の画像サイズに合わせてリサイズする一方、カメラ信号処理部18-2が、撮像部10-2が撮像した第2の撮像画像をユーザ設定の画像サイズに合わせてリサイズする(ステップS30)。
(Shooting process)
Next, the photographing process in step S21 will be described.
FIG. 4 is a flowchart for explaining the photographing process in FIG. Here, the shooting process is a process in the preview process after the image displayed on the display unit 32 is confirmed, the composition to be shot is determined, and the user gives a shooting instruction to the camera operation unit 16. This is processing from image resizing to storing a stereo image in the image storage unit 29. In FIG. 4, the camera signal processing unit 18-1 resizes the first captured image captured by the imaging unit 10-1 in accordance with the user-set image size, while the camera signal processing unit 18-2 The second captured image captured by 10-2 is resized according to the image size set by the user (step S30).
 次いで、画角補正部19が、画角情報保持部20より画角補正情報を読み出し、撮像部10-1が撮像した第1の撮像画像をトリミングする(ステップS31)。次いで、位置補正部21が、位置補正情報保持部22より位置補正情報を読み出し、撮像部10-1が撮像した第1の撮像画像に対して、“上下ずれ”、“水平ずれ”、“回転ずれ”、又は“大きさずれ”の中で少なくとも1つを補正する(ステップS32)。 Next, the angle-of-view correction unit 19 reads the angle-of-view correction information from the angle-of-view information holding unit 20, and trims the first captured image captured by the imaging unit 10-1 (step S31). Next, the position correction unit 21 reads the position correction information from the position correction information holding unit 22, and “up / down shift”, “horizontal shift”, “rotation” with respect to the first captured image captured by the image capturing unit 10-1. At least one of “deviation” or “size deviation” is corrected (step S32).
 次いで、色補正部23が、左右画像の色の違いを補正する(ステップS33)。即ち、撮像部10-2で撮像された第2の撮像画像と位置補正後の撮像部10-1で撮像された第1の撮像画像との間の色の違いを補正する。次いで、画像リサイズ部24が、画角補正後の第1の撮像画像のサイズに合わせて、撮像部10-2で撮像された第2の撮像画像を拡大する(ステップS34)。次いで、画像エンコード部27が、左右の画像をエンコードする(例えば、JPEG形式に圧縮する)。即ち、撮像部10-2で撮像された第2の撮像画像と位置補正後の撮像部10-1で撮像された第1の撮像画像をエンコードする(ステップS35)。次いで、ステレオ画像フォーマット変換部28において、画像エンコード部27でエンコードされた左右の画像即ち第1の撮像画像と第2の撮像画像をステレオ画像フォーマットに変換する(ステップS36)。左右の画像をステレオ画像フォーマットに変換すると本処理を終える。 Next, the color correction unit 23 corrects the color difference between the left and right images (step S33). That is, the color difference between the second captured image captured by the image capturing unit 10-2 and the first captured image captured by the image capturing unit 10-1 after position correction is corrected. Next, the image resizing unit 24 enlarges the second captured image captured by the imaging unit 10-2 in accordance with the size of the first captured image after the angle of view correction (step S34). Next, the image encoding unit 27 encodes the left and right images (for example, compresses them in the JPEG format). That is, the second captured image captured by the image capturing unit 10-2 and the first captured image captured by the image capturing unit 10-1 after position correction are encoded (step S35). Next, the stereo image format conversion unit 28 converts the left and right images encoded by the image encoding unit 27, that is, the first captured image and the second captured image, into a stereo image format (step S36). When the left and right images are converted into a stereo image format, this process is finished.
 図5は、撮像部10-1,10-2の仕様を以下のように決定したときのステップS30~ステップS32及びステップS34の各ステップにおける処理結果を示す図である。
 撮像部10-1:13メガピクセルカメラ、焦点距離 27mm相当(35mmフィルム換算
 撮像部10-2:3メガピクセルカメラ、焦点距離 35mm相当(35mmフィルム換算
FIG. 5 is a diagram showing processing results in steps S30 to S32 and step S34 when the specifications of the imaging units 10-1 and 10-2 are determined as follows.
Imaging unit 10-1: 13 megapixel camera, focal length equivalent to 27 mm (35 mm film equivalent) Imaging unit 10-2: 3 megapixel camera, focal length equivalent to 35 mm (35 mm film equivalent)
 ステップS30では、第1の撮像画像は、H3120ピクセル、W4160ピクセルとなる。第2の撮像画像は、H1536ピクセル、W2048ピクセルとなる。ステップS31では、第1の撮像画像は、約H2400ピクセル、約W3200ピクセルとなる。ここで、焦点距離35mm、27mmの画角の差により、27mmのカメラで撮影したほうが、縦横それぞれ約1.3倍広角に撮影できる。そのため、27mmmのカメラ画像を画角補正部19によりトリミングすると、1/1.3倍程度の画素数になる。但し、同じ画素数のカメラでも、画角のばらつきがあるため、トリミング後の画像サイズはばらつく。本実施の形態では、第1の撮像画像をトリミングして、第2の撮像画像の画角とあわせているが、撮像部10-1に光学ズーム機能が備わっており、撮像部10-2には光学ズーム機能は備わっておらず、電子ズーム機能のみ備わっている構成において、撮影時に撮像部10-1側を光学ズームすることで、撮像部10-1の画角が撮像部10-2の画角に比べて狭くなった時は、撮像部10-2で撮像された第2の撮像画像をトリミングする。 In step S30, the first captured image is H3120 pixels and W4160 pixels. The second captured image is H1536 pixels and W2048 pixels. In step S31, the first captured image is about H2400 pixels and about W3200 pixels. Here, due to the difference in angle of view between the focal lengths of 35 mm and 27 mm, shooting with a 27 mm camera enables shooting at a wide angle of about 1.3 times in the vertical and horizontal directions. Therefore, when a 27-mm camera image is trimmed by the angle-of-view correction unit 19, the number of pixels is about 1 / 1.3 times. However, even with cameras having the same number of pixels, since the angle of view varies, the image size after trimming varies. In the present embodiment, the first captured image is trimmed to match the angle of view of the second captured image, but the imaging unit 10-1 has an optical zoom function, and the imaging unit 10-2 includes In the configuration having only the electronic zoom function without the optical zoom function, the angle of view of the image pickup unit 10-1 is set to the image pickup unit 10-2 by optically zooming the image pickup unit 10-1 side during shooting. When it becomes narrower than the angle of view, the second captured image captured by the imaging unit 10-2 is trimmed.
 第2の撮像画像は、H1536ピクセル、W2048ピクセルのままである。ステップS32では、第1の撮像画像は、H(2400-β)ピクセル、W(3200-α)ピクセルとなる。第2の撮像画像は、H1536ピクセル、W2048ピクセルのままである。ステップS34では、第1の撮像画像は、H(2400-β)ピクセル、W(3200-α)ピクセルとなる。第2の撮像画像は、H(2400-β)ピクセル、W(3200-α)ピクセルとなり、第1の撮像画像と同じ画素数になる。ここでα、βの意味は、2つのカメラ(撮像部)をステレオ画像生成装置に配置した時の光軸のずれ、およびそれぞれのカメラ自体の画角のずれ、光軸のずれを補正することにより、減少する画素数を示している。 The second captured image remains H1536 pixels and W2048 pixels. In step S32, the first captured image is H (2400-β) pixels and W (3200-α) pixels. The second captured image remains H1536 pixels and W2048 pixels. In step S34, the first captured image is H (2400-β) pixels and W (3200-α) pixels. The second captured image has H (2400-β) pixels and W (3200-α) pixels, and has the same number of pixels as the first captured image. Here, the meanings of α and β are to correct the deviation of the optical axis when the two cameras (imaging units) are arranged in the stereo image generation device, the deviation of the angle of view of each camera itself, and the deviation of the optical axis. Indicates the number of pixels to be reduced.
 このように本実施の形態に係るステレオ画像生成装置1によれば、高解像度の第1の撮像部10-1と、この第1の撮像部10-1よりも低解像度の第2の撮像部10-2と、第1の撮像画像を変換し、所定の画素数にするとともに、第2の撮像画像を変換し、所定の画素数にする画像リサイズ部24と、画像リサイズ部24で変換された第1の撮像画像及び第2の撮像画像とをエンコードする画像エンコード部27と、画像エンコード部27でエンコードされた第1の撮像画像及び第2の撮像画像をステレオ画像フォーマットに変換してステレオ画像を生成するステレオ画像フォーマット変換部28と、を備えたので、高解像度の撮像手段を2つ使用することなく、高解像度のステレオ画像を撮像することができる。また、高解像度の撮像手段を2つ使用しないことから、コストを安くでき、また実装面積も小さくできる。 Thus, according to the stereo image generating apparatus 1 according to the present embodiment, the first imaging unit 10-1 having a high resolution and the second imaging unit having a lower resolution than the first imaging unit 10-1. 10-2, the first captured image is converted to a predetermined number of pixels, and the second captured image is converted to a predetermined number of pixels. The image resizing unit 24 and the image resizing unit 24 convert the second captured image. An image encoding unit 27 that encodes the first captured image and the second captured image, and the first captured image and the second captured image encoded by the image encoding unit 27 are converted into a stereo image format and stereo. Since a stereo image format conversion unit 28 that generates an image is provided, a high-resolution stereo image can be captured without using two high-resolution imaging means. Further, since two high-resolution imaging means are not used, the cost can be reduced and the mounting area can be reduced.
 本発明を詳細にまた特定の実施態様を参照して説明したが、本発明の精神と範囲を逸脱することなく様々な変更や修正を加えることができることは当業者にとって明らかである。 Although the present invention has been described in detail and with reference to specific embodiments, it will be apparent to those skilled in the art that various changes and modifications can be made without departing from the spirit and scope of the invention.
 本出願は、2010年11月19日出願の日本特許出願(特願2010-259158)に基づくものであり、その内容はここに参照として取り込まれる。 This application is based on a Japanese patent application (Japanese Patent Application No. 2010-259158) filed on November 19, 2010, the contents of which are incorporated herein by reference.
 本発明は、高解像度の撮像手段を2つ使用することなく、高解像度のステレオ画像を撮像することができるといった効果を有し、ステレオ画像を撮像するステレオ画像撮像用の複眼カメラなどへの適用が可能である。 INDUSTRIAL APPLICABILITY The present invention has an effect that a high-resolution stereo image can be captured without using two high-resolution imaging means, and is applied to a compound-eye camera for capturing a stereo image and the like. Is possible.
 1 ステレオ画像生成装置
 10-1,10-2 撮像部
 11 ズーム制御部
 12 オートフォーカス制御部
 13 シャッター制御部
 14 露出制御部
 15 ホワイトバランス制御部
 16 カメラ操作部
 17 制御部
 18-1,18-2 カメラ信号処理部
 19 画角補正部
 20 画角情報保持部
 21 位置補正部
 22 位置補正情報保持部
 23 色補正部
 24 画像リサイズ部
 25 超解像処理部
 26 画像フィルタ部
 27 画像エンコード部
 28 ステレオ画像フォーマット変換部
 29 画像保存部
 30 フォーマット変換部
 31 表示制御部
 32 表示部
DESCRIPTION OF SYMBOLS 1 Stereo image production | generation apparatus 10-1, 10-2 Image pick-up part 11 Zoom control part 12 Autofocus control part 13 Shutter control part 14 Exposure control part 15 White balance control part 16 Camera operation part 17 Control part 18-1, 18-2 Camera signal processing unit 19 View angle correction unit 20 View angle information holding unit 21 Position correction unit 22 Position correction information holding unit 23 Color correction unit 24 Image resizing unit 25 Super-resolution processing unit 26 Image filter unit 27 Image encoding unit 28 Stereo image Format conversion unit 29 Image storage unit 30 Format conversion unit 31 Display control unit 32 Display unit

Claims (11)

  1.  第1の画素数を備え、第1の撮像画像を撮像する第1の撮像部と、
     前記第1の画素数よりも小さい第2の画素数を備え、第2の撮像画像を撮像する第2の撮像部と、
     前記第1の撮像画像を変換し、所定の画素数にするとともに、前記第2の撮像画像を変換し、前記所定の画素数にする画像リサイズ部と、
     前記画像リサイズ部で変換された前記第1の撮像画像及び前記第2の撮像画像をエンコードする画像エンコード部と、
     前記画像エンコード部でエンコードされた前記第1の撮像画像及び前記第2の撮像画像をステレオ画像フォーマットに変換してステレオ画像を生成するステレオ画像フォーマット変換部と、
     を備えたステレオ画像生成装置。
    A first imaging unit having a first number of pixels and capturing a first captured image;
    A second imaging unit having a second pixel number smaller than the first pixel number and imaging a second captured image;
    An image resizing unit that converts the first captured image into a predetermined number of pixels and converts the second captured image into the predetermined number of pixels;
    An image encoding unit for encoding the first captured image and the second captured image converted by the image resizing unit;
    A stereo image format conversion unit that converts the first captured image and the second captured image encoded by the image encoding unit into a stereo image format to generate a stereo image;
    Stereo image generating apparatus comprising:
  2.  請求項1に記載のステレオ画像生成装置であって、
     前記画像リサイズ部が行う、前記第1の撮像画像の変換、及び前記第2の撮像画像の変換は、拡大、縮小、又は等倍の変換であるステレオ画像生成装置。
    The stereo image generating device according to claim 1,
    The stereo image generation apparatus in which the conversion of the first captured image and the conversion of the second captured image performed by the image resizing unit are conversion of enlargement, reduction, or equal magnification.
  3.  請求項1又は請求項2に記載のステレオ画像生成装置であって、
     前記所定の画素数は、前記第1の画素数であるステレオ画像生成装置。
    The stereo image generating apparatus according to claim 1 or 2,
    The stereo image generating device, wherein the predetermined number of pixels is the first number of pixels.
  4.  請求項1から請求項3のいずれか1項に記載のステレオ画像生成装置であって、
     前記第1の撮像部は、第1の画角を備え、
     前記第2の撮像部は、前記第1の画角よりも狭い第2の画角を備え、
     前記第1の撮像画像をトリミングする画角補正部を備え、
     前記画像エンコード部は、前記画角補正部でトリミングされ、前記画像リサイズ部で画素数が変換された前記第1の撮像画像と、前記画像リサイズ部で画素数が変換された前記第2の撮像画像と、をエンコードするステレオ画像生成装置。
    The stereo image generation device according to any one of claims 1 to 3,
    The first imaging unit includes a first angle of view;
    The second imaging unit includes a second field angle narrower than the first field angle,
    An angle-of-view correction unit that trims the first captured image;
    The image encoding unit includes the first captured image trimmed by the angle of view correction unit and the number of pixels converted by the image resizing unit, and the second imaging of which the number of pixels is converted by the image resizing unit. Stereo image generation device for encoding images.
  5.  請求項4に記載のステレオ画像生成装置であって、
     画角補正情報を保持する画角情報保持部を備え、
     前記画角補正部は、前記画角補正情報に基づきトリミングするステレオ画像生成装置。
    The stereo image generating device according to claim 4,
    An angle-of-view information holding unit for holding angle-of-view correction information;
    The field angle correction unit is a stereo image generation device that performs trimming based on the field angle correction information.
  6.  請求項1に記載のステレオ画像生成装置であって、
     前記第1の撮像画像、もしくは前記第2の撮像画像のいずれかに対して、上下ずれ、水平ずれ、回転ずれ、又は大きさずれの中で少なくとも1つを補正する位置補正部を備え、
     前記画像エンコード部は、前記位置補正部で補正され、前記画像リサイズ部で所定の画素数に変換された前記第1の撮像画像と、前記位置補正部で補正され、前記画像リサイズ部で前記所定の画素数に変換された前記第2の撮像画像と、をエンコードするステレオ画像生成装置。
    The stereo image generating device according to claim 1,
    A position correction unit that corrects at least one of vertical shift, horizontal shift, rotational shift, or size shift with respect to either the first captured image or the second captured image,
    The image encoding unit is corrected by the position correcting unit, converted to a predetermined number of pixels by the image resizing unit, corrected by the position correcting unit, and corrected by the image resizing unit. A stereo image generation device that encodes the second captured image converted into the number of pixels.
  7.  請求項6に記載のステレオ画像生成装置であって、
     位置補正情報を保持する位置補正情報保持部を備え、
     前記位置補正部は、前記位置補正情報に基づき上下ずれ、水平ずれ、回転ずれ、又は大きさずれの中で少なくとも1つを補正するステレオ画像生成装置。
    The stereo image generating device according to claim 6,
    A position correction information holding unit for holding position correction information;
    The position correction unit is a stereo image generation device that corrects at least one of vertical shift, horizontal shift, rotation shift, and size shift based on the position correction information.
  8.  請求項1に記載のステレオ画像生成装置であって、
     前記第1の撮像画像と前記第2の撮像画像との間の色の違いについて、前記第1の撮像画像及び/又は前記第2の撮像画像に対して色の補正する色補正部を備え、
     前記画像エンコード部は、前記色補正部で色の補正がなされた前記第1の撮像画像と、前記第2の撮像画像と、をエンコードするステレオ画像生成装置。
    The stereo image generating device according to claim 1,
    A color correction unit that corrects the color of the first captured image and / or the second captured image with respect to the color difference between the first captured image and the second captured image;
    The image encoding unit is a stereo image generation device that encodes the first captured image and the second captured image that have been subjected to color correction by the color correction unit.
  9.  請求項2に記載のステレオ画像生成装置であって、
     前記画像リサイズ部が行う、前記第1の撮像画像の変換、及び前記第2の撮像画像の変換が拡大の変換である場合、超解像処理を用いるステレオ画像生成装置。
    The stereo image generating device according to claim 2,
    A stereo image generation apparatus that uses super-resolution processing when the conversion of the first captured image and the conversion of the second captured image performed by the image resizing unit are enlargement conversions.
  10.  請求項1に記載のステレオ画像生成装置であって、
     前記第1の撮像画像及び前記第2の撮像画像のそれぞれの画像の周辺部に対して平均化処理を行う画像フィルタ部を備え、
     前記画像エンコード部は、前記画像リサイズ部で画素数の変換した後、前記画像フィルタ部により平均化処理を行った前記第1の撮像画像と、前記画像リサイズ部で画素数の変換した後、前記画像フィルタ部により平均化処理を行った前記第2の撮像画像と、をエンコードするステレオ画像生成装置。
    The stereo image generating device according to claim 1,
    An image filter unit that performs an averaging process on the periphery of each of the first captured image and the second captured image;
    The image encoding unit converts the number of pixels by the image resizing unit, and then performs the averaging process by the image filter unit, and converts the number of pixels by the image resizing unit, A stereo image generation apparatus that encodes the second captured image subjected to the averaging process by the image filter unit.
  11.  第1の撮像部において第1の画素数で、第1の撮像画像を撮像する第1撮像ステップと、
     第2の撮像部において前記第1の画素数よりも小さい第2の画素数で、第2の撮像画像を撮像する第2撮像ステップと、
     前記第1の撮像画像を変換し、所定の画素数にするとともに、前記第2の撮像画像を変換し、前記所定の画素数にする画像リサイズステップと、
     前記画像リサイズステップで変換された前記第1の撮像画像及び前記第2の撮像画像をエンコードする画像エンコードステップと、
     前記画像エンコードステップでエンコードされた前記第1の撮像画像及び前記第2の撮像画像をステレオ画像フォーマットに変換してステレオ画像を生成するステレオ画像フォーマット変換ステップと、
     を備えたステレオ画像生成方法。
    A first imaging step of capturing a first captured image with a first number of pixels in the first imaging unit;
    A second imaging step of imaging a second captured image with a second number of pixels smaller than the first number of pixels in a second imaging unit;
    An image resizing step that converts the first captured image to a predetermined number of pixels and converts the second captured image to the predetermined number of pixels;
    An image encoding step for encoding the first captured image and the second captured image converted in the image resizing step;
    A stereo image format conversion step of converting the first captured image and the second captured image encoded in the image encoding step into a stereo image format to generate a stereo image;
    Stereo image generation method comprising:
PCT/JP2011/006348 2010-11-19 2011-11-14 Stereo image generation device and stereo image generation method WO2012066768A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2010-259158 2010-11-19
JP2010259158 2010-11-19

Publications (1)

Publication Number Publication Date
WO2012066768A1 true WO2012066768A1 (en) 2012-05-24

Family

ID=46083718

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2011/006348 WO2012066768A1 (en) 2010-11-19 2011-11-14 Stereo image generation device and stereo image generation method

Country Status (1)

Country Link
WO (1) WO2012066768A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015534400A (en) * 2012-10-05 2015-11-26 クゥアルコム・インコーポレイテッドQualcomm Incorporated Method and apparatus for calibrating an imaging device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06133339A (en) * 1992-10-21 1994-05-13 Kanji Murakami Stereoscopic image pickup aid device
JP2002077947A (en) * 2000-09-05 2002-03-15 Sanyo Electric Co Ltd Method for correcting stereoscopic image and stereoscopic image apparatus using the same
JP2005210217A (en) * 2004-01-20 2005-08-04 Olympus Corp Stereoscopic camera
JP2007013375A (en) * 2005-06-29 2007-01-18 Sony Corp Stereo image processing apparatus, stereo image processing method, stereo image sheet, program for stereo image processing and computer readable-recording medium
JP2008524673A (en) * 2004-12-06 2008-07-10 エレクトロニクス アンド テレコミュニケーションズ リサーチ インスチチュート Stereo camera image distortion correction apparatus and method
JP2009163551A (en) * 2008-01-08 2009-07-23 Hitachi Ltd Image processing system, and camera and recording and reproducing device used therefor

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06133339A (en) * 1992-10-21 1994-05-13 Kanji Murakami Stereoscopic image pickup aid device
JP2002077947A (en) * 2000-09-05 2002-03-15 Sanyo Electric Co Ltd Method for correcting stereoscopic image and stereoscopic image apparatus using the same
JP2005210217A (en) * 2004-01-20 2005-08-04 Olympus Corp Stereoscopic camera
JP2008524673A (en) * 2004-12-06 2008-07-10 エレクトロニクス アンド テレコミュニケーションズ リサーチ インスチチュート Stereo camera image distortion correction apparatus and method
JP2007013375A (en) * 2005-06-29 2007-01-18 Sony Corp Stereo image processing apparatus, stereo image processing method, stereo image sheet, program for stereo image processing and computer readable-recording medium
JP2009163551A (en) * 2008-01-08 2009-07-23 Hitachi Ltd Image processing system, and camera and recording and reproducing device used therefor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015534400A (en) * 2012-10-05 2015-11-26 クゥアルコム・インコーポレイテッドQualcomm Incorporated Method and apparatus for calibrating an imaging device
US10104364B2 (en) 2012-10-05 2018-10-16 Qualcomm Incorporated Method and apparatus for bus sharing by multiple imaging sensors

Similar Documents

Publication Publication Date Title
JP5950678B2 (en) Imaging apparatus, control method, and program
JP5764740B2 (en) Imaging device
JP2004007304A (en) Digital photographing apparatus
JP5578442B2 (en) Imaging apparatus, image composition method, and program
JP2010074813A (en) Imaging apparatus and imaging method
US8125541B2 (en) Image-sensing apparatus
JP2010206521A (en) Image capturing apparatus, method of correcting image, and program
JP5820720B2 (en) Imaging device
JP3937924B2 (en) Imaging apparatus and control method thereof
JP2018148512A (en) Imaging device, control method of imaging device, and program
JP2007104408A (en) Imaging apparatus and imaging method
JP2013135409A (en) Imaging apparatus
JP5673137B2 (en) Imaging apparatus and imaging method
WO2012066768A1 (en) Stereo image generation device and stereo image generation method
JP6857006B2 (en) Imaging device
JP2016076771A (en) Imaging device
JP4710351B2 (en) Digital camera and program
JP5112154B2 (en) Imaging device
WO2012140919A1 (en) Stereo image generation device and stereo image generation method
JP5377179B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP5267587B2 (en) Imaging apparatus and imaging method
WO2014136703A1 (en) Image-capturing device and image display method
JP2009147885A (en) Imaging apparatus and imaging method
JP2013251669A (en) Stereo image generation apparatus and stereo image generation method
JP4133878B2 (en) Digital camera and image signal generation method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11841804

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11841804

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP