The present invention relates to a stereo camera imaging images to be served for creation of a stereoscopic image set.
For a stereo camera capable of imaging stereo images from a plurality of different viewpoints, various ones have been proposed, and the stereo images in which imaging ranges are equal to each other are adopted for a stereoscopic display image and the like.
For example, a stereo camera of Patent Literature 1 includes: a focal length-variable (zoom-drivable) imaging system: and a focal length-fixed (unifocal) imaging system, and can create the stereo images, in which the imaging ranges are equal to each other, even from two images different in imaging magnification by appropriately using number reduction processing, pattern matching processing and the like.
However, in the stereo camera of Patent Document 1, a focal length of the focal length-variable imaging system is not obtained, and accordingly, there are problems that three-dimensional shape data cannot be created from such images individually imaged by the respective imaging systems of the stereo camera, and that various pieces of processing, which are based on the three-dimensional shape data concerned, cannot be performed.
The present invention has been made in order to solve such problems as described above. It is an object of the present invention to provide a technology capable of obtaining the focal length of the focal length-variable imaging device easily at a high speed.
In order to solve the foregoing problems, an information processing device according to a first aspect includes: an image obtaining unit that, with regard to an object in a state where a spatial relationship with an imaging system is kept, obtains (a) a standard image in which the object is imaged by an imaging condition having a known standard focal length, and (b) a reference image in which the object is imaged by an imaging condition having an unknown reference focal length; and a focal length obtaining unit that obtains a value of the reference focal length by performing arithmetic operation processing for scaling a value of the standard focal length by using information of image sizes of the object in the standard image and the reference image.
An information processing device according to a second aspect is the information processing device according to the first aspect, wherein the standard image is a single standard image in which the object is imaged, and meanwhile, the reference image is a single reference image in which the object is imaged.
An information processing device according to a third aspect is the information processing device according to the first aspect, wherein the standard image includes first and second standard images obtained by individually imaging the object at different imaging distances, and meanwhile, the reference image includes first and second reference images obtained by individually imaging the object at the same imaging distances as the imaging distances in the first and second standard images.
An information processing device according to a fourth aspect is the information processing device according to the first aspect, wherein the object has first and second objects arranged at different imaging distances and having the same size, the standard image is an image obtained by imaging the first and second objects simultaneously, and the reference image is an image obtained by imaging the first and second objects simultaneously.
An information processing device according to a fifth aspect is the information processing device according to the first aspect, wherein the standard image is a single standard image in which the object is imaged, meanwhile, the reference image is a single reference image in which the object is imaged, and the focal length obtaining unit performs the arithmetic operation processing based on the standard focal length, on image sizes of a predetermined portion of the object in the standard image and the reference image, on an actual size of the object, and on a deviation amount between an optical center position of an imaging device in an optical axis direction, the imaging device imaging the standard image, and an optical center position of an imaging optical system of an imaging device in an optical axis direction, the imaging device imaging the reference image.
An information processing device according to a sixth aspect is the information processing device according to the first aspect, wherein the object has first and second objects, the standard image includes first and second standard images obtained by imaging the first and second objects, respectively, meanwhile, the reference image includes first and second reference images obtained by imaging the first and second objects, respectively, and the focal length obtaining unit performs the arithmetic operation processing based on image sizes of a first portion of the first object in the first standard image and the first reference image, on image sizes of a second portion of the second object in the second standard image and the second reference image, and on respective actual sizes of the first and second objects.
An information processing device according to a seventh aspect is the information processing device according to the first aspect, wherein the object has first and second objects, the standard image is an image obtained by imaging the first and second objects simultaneously, and the reference image is an image obtained by imaging the first and second objects simultaneously, and the focal length obtaining unit performs the arithmetic operation processing based on image sizes of a first portion of the first object in the standard image and the reference image, on image sizes of a second portion of the second object in the standard image and the reference image, and on respective actual sizes of the first object and the second object.
The information processing device according to an eighth aspect is the information processing device according to the sixth aspect, wherein the focal length obtaining unit further obtains a deviation amount between an optical center position of an imaging optical system of an imaging device in an optical axis direction, the imaging device imaging the standard image, and an optical center position of an imaging optical system of an imaging device in an optical axis direction, the imaging device imaging the reference image, based on image sizes of a first portion of the first object in the first standard image and the first reference image, on image sizes of a second portion of the second object in the second standard image and the second reference image, and on respective actual sizes of the first object and the second object.
An information processing system according to a ninth aspect is an information processing system having: (a) the information processing device according to claim 1; and (b) a stereo camera including a first imaging device and a second imaging device, the first imaging device including a first imaging optical system with a fixed focal length, and the second imaging device including a second imaging optical system with a variable focal length, wherein the image obtaining unit obtains the standard image based on imaging by the first imaging device, and in addition, obtains die reference image based on imaging by the second imaging device.
An information processing system according to a tenth aspect is an information processing system having: (a) the information processing device according to claim 1; and (b) a stereo camera including a first imaging device and a second imaging device, the first imaging device including a first imaging optical system with a fixed focal length, and the second imaging device including a second imaging optical system with a variable focal length, wherein the image obtaining unit obtains the standard image and the reference image from the second imaging device.
An information processing system according to an eleventh aspect is the information processing system according to the ninth aspect, wherein a first optical axis as an optical axis of the first imaging optical system and a second optical axis as an optical axis of the second imaging optical system are parallel to each other.
An information processing system according to a twelfth aspect is the information processing system according to the eleventh aspect, wherein the information processing device is the information processing device according to claim 2, and a position of an optical center of the first imaging optical system in a direction of the first optical axis and a position of an optical center of the second imaging optical system in a direction of the second optical axis are equal to each other.
An information processing system according to a thirteenth aspect is the information processing system according to the tenth aspect, wherein the information processing device is the information processing device according to claim 2, and positions of optical centers in a direction of an optical axis of the second imaging optical system in an event of imaging the standard image and the reference image are equal to each other.
An information processing system according to a fourteenth aspect is the information processing system according to either one of the ninth and tenth aspects, wherein a three-dimensionalization parameter for obtaining, from stereo images of a subject imaged by the stereo camera, a three-dimensional shape of the subject includes: a first camera parameter regarding the first imaging device; and a second camera parameter regarding the second imaging device, and a parameter obtaining unit that obtains the second camera parameter based on the reference focal length is further provided.
An information processing system according to a fifteenth aspect is the information processing system according to the fourteenth aspect, wherein the second camera parameter includes at least one of a distortion correction coefficient, an image center position, a focal length, skew, and a positional deviation amount of an optical center.
An information processing system according to a sixteenth aspect is the information processing system according to the fourteenth aspect, wherein the parameter obtaining unit obtains the second camera parameter based on parameter-corresponding information that expresses a correspondence relationship between the second camera parameter and the focal length of the second imaging optical system, and on the reference focal length.
An information processing system according to a seventeenth aspect is the information processing system according to either one of the ninth and tenth aspects, wherein, based on the reference focal length determined by the arithmetic operation processing, the focal length obtaining unit updates drive control value-corresponding information that expresses a correspondence relationship between a drive control value and a focal length in the second imaging device.
A program according to an eighteenth aspect is characterized in that the program allows an information processing device to function as the information processing device according to any one of claims 1 to 8 by being executed in a computer mounted on the information processing device.
An information processing method according to a nineteenth aspect includes: an image obtaining step of obtaining a standard image in which an object is imaged by an imaging unit having a known standard focal length, and a reference image in which the object is imaged by an imaging unit having an unknown reference focal length; and a focal length obtaining step of obtaining the reference focal length by performing arithmetic operation processing for scaling the standard focal length by using information of image sizes of the object in the standard image and the reference image.
Even by the invention according to any of the first to nineteenth aspects, arithmetic operation processing for scaling the value of the standard focal length is performed by using the information of the image sizes of the subject in the standard image and the reference image, whereby the value of the reference focal length can be obtained easily at a high speed, and a calibration frequency of the stereo camera at a using site thereof can be enhanced.
These and other objects, features, aspects and advantages of the present invention will become more apparent from the following detailed description of the present invention when taken in conjunction with the accompanying drawings.
As shown in
The stereo cameras 300A and 300B are composed by mainly including: unifocal cameras (also referred to as “first cameras”) 31 including focal length-fixed imaging optical systems; and zoom cameras (also referred to as “second cameras”) 32 including focal length-variable imaging optical systems. A first image g1 and a second image g2, in which the unifocal camera 31 and zoom camera 32 of the stereo camera 300A (300B) placed at one viewpoint individually image a subject, are supplied to the information processing device 200A.
First, the information processing device 200A creates distance information 52 (
The information processing device 200A obtains a correspondence relationship between an image to be imaged by the virtual camera from another viewpoint concerned and the second image g2 as a high-definition subject image imaged by the zoom camera 32 based on the distance information 52, information of a position and attitude of a virtual camera to be placed at another viewpoint different from the first viewpoint, and imaging parameters of the virtual camera and the zoom camera 32.
The information processing device 200A converts the second image g2 based on the correspondence relationship, thereby creates a pseudo image 53 (
By the above-mentioned operations, the information processing system 100A realizes a stereoscopic image display system when the subject is stereo-viewed from a plurality of viewpoints including a viewpoint from which the subject is not measured.
The imaging optical system of the zoom camera 32 has a zoom drive mechanism, and accordingly, the three-dimensionalization parameters thereof are changed with time. In order that the pseudo image 53 with high quality can be obtained, it is necessary to keep the values of the three-dimensionalization parameters of the stereo camera 300A (300B) at an accurate value. In the information processing system 100A, the three-dimensionalization parameters can be calibrated at a high speed based on easily obtainable image data at an imaging site of the subject.
Note that the calibration at the imaging side is also referred to as “field calibration”, and calibration in a manufacturing process of the stereo camera 300A is also referred to as “manufacturing time calibration”.
A description is made below of configurations and operations of the respective functional units of the information processing system 100A, and in addition, the field calibration, the manufacturing time calibration and the like.
<◯ Configuration and Operation of Stereo Camera 300A>
As shown in
The unifocal camera 31 is composed by mainly including: an imaging element 5a; and a control processing circuit 25a; as well as the imaging optical system 9a, and the zoom camera 32 is composed by mainly including an imaging element 5b; a control processing circuit 25b; and a drive mechanism 26; as well as the imaging optical system 9b.
The stereo camera 300A images light from a subject 61 by the unifocal camera 31 and the zoom camera 32, obtains the first image g1 and the second image g2, which compose the stereo images, and supplies the first image g1 and the second image g2 to the information processing device 200A.
The imaging optical system 9a is an optical system, which is composed by mainly including: a focal length-fixed lens: and a lens barrel (not shown) that supports the lens, and forms an image of the subject 61 on the imaging element 5a.
The imaging optical system 9b is an optical system, which is composed by mainly including: a focal length-variable lens: and a lens barrel (not shown) that supports the lens, and forms the image of the subject 61 on the imaging element 5b, and is composed so that a focal length f2 of the imaging optical system 9b is changeable in such a manner that an optical state of the imaging optical system 9b is changed by the drive mechanism 26.
An image of an object point M of the subject 61 is formed as image points Pa and Pb respectively on the imaging elements 5a and 5b along principal rays 6a and 6b, which pass through optical centers 3a and 3b, respectively.
In usual, the optical centers 3a and 3b are principal points of the imaging optical system; however, for example, in the case where a telecentric optical system is adopted as the imaging optical system, focal points of the imaging optical system usually become the optical centers.
Image center positions 7a and 7b of the unifocal camera 31 and the zoom camera 32 are an intersection of the imaging element 5a and an optical axis 4a and an intersection of the imaging element 5b and an optical axis 4b, respectively, and moreover, a base length b between the imaging optical systems 9a and 9b is a distance between the optical axis 4a and the optical axis 4b.
A distance between the imaging optical system 9a and the imaging element 5a is a focal length f1 of the imaging optical system 9a, and a value of the focal length f1 is a known fixed value (constant).
Moreover, a distance between the imaging optical system 9b and the imaging element 5b is the focal length f2 of the imaging optical system 9b, and the focal length f2 is a variable focal length that varies in response to an operation that the drive mechanism 26 varies a state of the imaging optical system 9b.
Note that three-dimensionalization processing, which is based on the principle of the triangulation using the three-dimensionalization parameters related to the stereo camera 300, such as a difference (parallax) between a coordinate of the image point Pa on the imaging element 5a and a coordinate of the image point Pb on the imaging element 5b, the base length b, the focal length f1 and the focal length f2, is performed in the information processing device 200A, whereby distance information (also referred to as “three-dimensional coordinates”) of an imaging distance D1 of the object point M and of others are obtained.
Here, with regard to the stereo camera 300A, the respective optical axes 4a and 4b of the imaging optical systems 9a and 9b are parallel to each other or substantially parallel to each other.
Moreover, in order that corresponding point search processing between the first image g1 and the second image g2 can be performed with ease, the imaging elements 5a and 5b are placed so that the respective scanning lines thereof can become parallel to each other or substantially parallel to each other.
In an actual configuration, in usual, it is difficult to adopt a configuration so that the optical axes can be parallel to each other and that the scanning lines can be parallel to each other, and accordingly, these are in a substantially parallel state having errors. However, for the first image g1 and the second image g2, which are to be supplied from the unifocal camera 31 and 32, the information processing device 200A performs processing (also referred to as “collimation processing”) using camera parameters of the unifocal camera 31 and 32, whereby a state equivalent to that in the case where the optical axes of the respective cameras of the stereo camera 300A are parallel to each other and the scanning lines thereof are parallel to each other. Note that “parallel” in the invention of this application stands for parallel or substantially parallel.
The imaging elements 5a and 5b are, for example, imaging elements composed of CCD image sensors or CMOS image sensors, which have effective pixels of the VGA (640×480 pixels) size.
The imaging elements 5a and 5b individually create image signals corresponding to intensities of the images formed on the imaging elements 5a and 5b, and in addition, individually supply the image signals to the control processing circuit 25a and the control processing circuit 25b.
The control processing circuit 25a and the control processing circuit 25b process the respective image signals to be supplied from the imaging elements 5a and 5b and convert the image signals into digital images, thereby individually create the first image g1 and the second image g2, which correspond to the effective pixels of the respective imaging elements, and supply the first image g1 and the second image g2 to the information processing device 200A.
Moreover, the drive mechanism 26 is a drive mechanism composed of, for example, a pulse motor, a feed screw and the like for varying the focal length f2.
The control processing circuit 25b operates the drive mechanism 26 based on a drive control value 51 such as the number of drive pulses for controlling the focal length f2, the drive control value 51 being supplied from the information processing device 200A, and thereby varies (“zooms”) a value of the focal length f2.
Here, a deviation amount d of the stereo camera 300A is a positional deviation amount between the optical center 3a and the optical center 3b along an optical axis 4a (4b) direction, and a configuration is adopted so that the deviation amount d regarding the stereo camera 300A can be constant irrespective of a zoom operation of the zoom camera 32.
That is to say, in the stereo camera 300A, even if the focal length f2 of the zoom camera 32 is varied by the zoom operation, a position of the optical center 3b is not varied with respect to the optical center 3a.
For example, in the case where the optical center 3b moves with respect to the optical center 3a by the variations of the focal length f2 owing to the zooming, the whole of the zoom camera 32 is moved by a moving amount of such movement of the optical center 3b in a direction opposite to a direction of the movement concerned by a drive mechanism (not shown) set separately, whereby the zoom camera 32, in which the position of the optical center 3b with respect to the optical center 3a is not varied even by such a zoom operation, can be realized.
Moreover, information such as drive control value-corresponding information t1 to be described later, parameter-corresponding information t2 to be described later, and the base length b of the stereo camera 300A, the information being to be created in the manufacturing time calibration in the manufacturing process of the stereo camera 300A, is stored in a storage unit (not shown) provided in an inside of the stereo camera 300A, and is supplied to the information processing device 200A connected to the stereo camera 300A.
<◯ Configuration and Operation of Stereo Camera 300B:>
The stereo camera 300B has a substantially similar configuration to that of the stereo camera 300A, and performs substantially similar operations to those thereof; however, has a difference from the stereo camera 300A in a part of the configuration/operations.
The difference concerned is that, in the stereo camera 300B, the deviation amount d is varied following the zoom operation of the zoom camera 32 while the deviation amount d is constant irrespective of the zoom operation of the zoom camera 32 in the stereo camera 300A.
Note that the configuration/operations of the stereo camera 300 B, which are other than the difference concerned, are similar to the configuration and operations of the stereo camera 300A, and accordingly, a description thereof is omitted.
◯ Variation of Stereo Camera:
As the stereo camera 300A, for example, in addition to the above-mentioned configuration of the stereo camera 300A, such a one is further adoptable, which has a configuration in which the value of the constant deviation amount d is zero or substantially zero, that is, a segment connecting the optical centers 3a and 3b to each other is perpendicular or substantially perpendicular to the optical axis 4a.
Moreover, as the stereo camera 300B, for example, in addition to the above-mentioned configuration of the stereo camera 300B, such a one is further adoptable, which is capable of detecting the value of the deviation amount d at an imaging time based on a value of the drive control value 51 or the like, and is capable of supplying the detected value of the deviation amount d to the information processing device 200A through the storage unit (not shown) provided in the inside of the stereo camera.
Moreover, as the stereo cameras 300A and 300B, for example, in addition to the above-mentioned respective configurations of the stereo cameras 300A and 300B, such ones are further adoptable, in each of which there is known the value of the focal length f2 of the imaging optical system 9b at a structural abutting position such as an end portion of a drive range where the imaging optical system 9b of the zoom camera 32 is concerned with the zoom, or at such a position where the optical state of the imaging optical system 9b is detectable by a positional sensor and the like, and the value concerned is suppliable to the information processing device 200A through the storage unit (not shown) provided in the inside of the stereo camera.
Note that, in each of the stereo cameras 300A and 300B, specification information for specifying the above-mentioned difference in the structure and the function is held in the storage unit concerned, and the specification information concerned is supplied to the information processing device 200A.
The information processing device 200A obtains the specification information concerned, and performs the control, the field calibration and the like, which correspond to the configurations and functions of the respective stereo cameras, whereby the information processing system 100A is composed so as to be capable of using the respective stereo cameras as variations of the stereo camera 300A (300B), which are different from one another in configuration and function, in combination with the information processing device 200A.
More specifically, based on the specification information concerned, the information processing device 200A adaptively and selectively executes a program for performing the field calibration and the like, which correspond to the configurations and functions of the variety of stereo cameras to be specified from the specification information concerned, and can thereby perform the field calibration and the like, which correspond to the variety of stereo cameras.
Note that, in the case where a plurality of field calibration methods are adoptable for the configurations and functions of the stereo cameras to be specified by the specification information concerned, a CPU 11A displays the adoptable calibration methods on a display unit 43, and based on calibration method specification information in which, by using an operation unit 42, an operator specifies the calibration method to be adopted, the CPU 11A executes a program for performing the specified calibration method.
<⊙ Regarding Configuration of Information Processing Device 200A:>
As shown in
For example, the input/output unit 41 is composed of an input/output interface such as a USB interface, and performs input of image information and the like, which are to be supplied from the stereo camera 300A (300B) to the information processing device 200A, and output of a variety of control signals and the like from the information processing device 200A to the stereo camera 300A (300B).
For example, the operation unit 42 is composed of a keyboard, a mouse or the like, and the operator operates the operation unit 42, whereby setting of a variety of control parameters for the information processing device 200A, setting of a variety of operation modes of the information processing device 200A, and the like are performed.
For example, the display unit 43 is composed of a liquid crystal display, and performs display of various pieces of image information of the second image g2 to be supplied from the stereo camera 300A (300B), the pseudo image 53 (
The ROM (Read Only Memory) 44 is a read only memory, and stores a program for operating the CPU 11A, and the like. Note that a nonvolatile memory (for example, a flash memory), which is freely readable and writable, may be used in place of the ROM 44.
The RAM (Random Access Memory) 45 is a volatile memory that is freely readable and writable, and functions as a temporal storage device for a variety of images obtained by an image obtaining unit 12, a pseudo image to be created by a pseudo image creating unit 16, and the like, a work memory that temporarily stores processing information of the CPU 11A, and the like.
For example, the storage device 46 is composed of a freely readable and writable nonvolatile memory such as a flash memory, a hard disk device, or the like, and permanently records various pieces of information such as setting information for the information processing device 200A.
Moreover, a storage unit 47 is provided in the storage device 46, and the storage unit 47 further has a variety of functional units to be described later, such as a field calibrating information storage unit 47a, a drive control value-corresponding information storage unit 47b, a parameter-corresponding information storage unit 47c, and a three-dimensionalization parameter storage unit 47d (individually in
To the field calibrating information storage unit 47a, various pieces of information such as a standard focal length fs for use in the field calibration for the focal length of the zoom camera 32 to be described later are supplied from the operation unit 42, the stereo camera 300A (300B) and the like, and are stored therein.
Note that, as will be described later, there is a case where the known focal length f1 of the unifocal camera 31 is adopted as the standard focal length fs, and there is a case where the known focal length when the imaging optical system 9b of the zoom camera 32 is located at a position where reproducibility of the optical state of the imaging optical system 9b is high in the drive range where the imaging optical system 9b of the zoom camera is concerned with the zoom operation thereof, for example, located at a physical abutting position of the end portion of the drive range is adopted as the standard focal length fs.
Moreover, to the drive control value-corresponding information storage unit 47b, the drive control value-corresponding information t1, which expresses a correspondence relationship between the drive control value 51 (
Moreover, to the parameter-corresponding information storage unit 47c, parameter-corresponding information 12, which expresses a correspondence relationship between the focal length of the zoom camera 32 in the stereo camera 300A (300B) and each of the calibrated camera parameters of the zoom camera 32, is supplied from the stereo camera 300A (300B) connected to the information processing device 200A, and is stored therein.
Note that the parameter-corresponding information t2 is information, which is created by the manufacturing time calibration to be performed in the manufacturing process of the stereo camera 300A (300B), and is stored in the stereo camera 300A (300B).
Moreover, to the three-dimensionalization parameter storage unit 47d, a first camera parameter p1 as a camera parameter regarding the unifocal camera 31 and the base length b of the stereo camera 300A (300B) are supplied from the stereo camera 300A (300B), and are stored therein.
The first camera parameter p1 and the base length b are obtained in advance by the manufacturing time calibration of the stereo camera 300A (300B), and are stored in the inside of the stereo camera 300A (300B).
The CPU (Central Processing Unit) 11A is a control processing device that > controls the respective functional units of the information processing device 200A in a centralized manner, and executes control and processing, which are in accordance with the program stored in the ROM 44.
As will be described later, the CPU 11A also functions as the image obtaining unit 12, a focal length obtaining unit 13, a camera parameter obtaining unit 14, a three-dimensionalization unit 15, the pseudo image crating unit 16, and a zoom control unit 17.
By these functional units, the CPU 11A performs the obtainment of the stereo images and the like regarding the images for the various calibrations and the subject as an object of the stereoscopic image creation, the field calibration of the drive control value-corresponding information t1 that expresses the correspondence relationship between the drive control value for controlling the focal length of the zoom camera 32 and the focal length of the zoom camera 32, the field calibration of the focal length of the zoom camera 32, and in addition, control of the imaging operation of the stereo camera 300A (300B), the zoom operation of the zoom camera 32, and the like.
Moreover, the CPU 11A also performs the creation of the distance information 52 of the subject imaged by the stereo camera 300A (300B), obtainment of a second camera parameter p2 as a camera parameter regarding the zoom camera 32 for use in the creation of the distance information 52, the creation of the pseudo image 53 (
The CPU 11A, the input/output unit 41, the operation unit 42, the display unit 43, the ROM 44, the RAM 45, the storage unit 46 and the like are electrically connected individually to one another through a signal line 49. Hence, at predetermined timing, the CPU 11A can execute, for example, the control of the stereo camera 300A (300B) through the input/output unit 41, the obtainment of the image information from the stereo camera 300A (300B), the display of the image information on the display unit 43, and the like.
Note that, in a configuration example shown in
<⊙ Operations of Respective Functional Units of Information Processing Device 200A:>
◯ Operation of Image Obtaining Unit 12:
Through the input/output unit 41, the image obtaining unit 12 obtains the first image g1, in which the focal length-fixed unifocal camera 31 images the subject, and the second image g2, in which the focal length-variable zoom camera 32 images the subject.
At the stereoscopic image creating time, the image obtaining unit 12 supplies the first image g1 to the three-dimensionalization unit 15, and in addition, supplies the second image g2 to the three-dimensionalization unit 15, the pseudo image creating unit 16 and the display unit 43.
Moreover, at the field calibration time of the focal length of the zoom camera 32, the image obtaining unit 12 obtains, as a standard image 1a (or a first standard image 1b and a second standard image 1c), the image in which the unifocal camera 31 images the calibration object, or the image in which the zoom camera 32 images the calibration object, the zoom camera 32 being in which the imaging optical system 9b thereof is in an optical state where position reproducibility is high such as being located at the physical abutting position, and the focal length is in a known optical state.
Moreover, at the field calibration time of the focal length of the zoom camera 32, the image obtaining unit 12 obtains, as a reference image 2a (or a first reference image 2b and a second reference image 2c), the image in which the zoom camera 32 images the calibration object at the time of turning to an optical state different from the above-mentioned known optical state by the zoom operation, and supplies these images to the focal length obtaining unit 13.
Note that the focal length regarding the standard image is supplied from the stereo camera 300A (300B) to the information processing device 200A, and is stored as the standard focal length fs, which is one of the information necessary for the field calibration of the focal length, in the field calibrating information storage unit 47a, and is used for the field calibration of the focal length.
Moreover, the image obtaining unit 12 may obtain the first image g1 and the second image g2, which are imaged and stored in the recording medium in advance, through the input/output unit 41.
◯ Operation of Focal Length Obtaining Unit 13:
(a) Operation in Field Calibration of Focal Length of Zoom Camera 32:
In the “field calibration of the focal length” of the zoom camera 32, the focal length obtaining unit 13 obtains a value of a reference focal length fm (
Next, the focal length obtaining unit 13 performs processing for obtaining the obtained reference focal length fm as an actual focal length at the point of a calibration time for the zoom camera 32 that images the respective reference images.
(b) Operation in Field Calibration of Drive Control Value-Corresponding Information t1:
In the information processing system 100A, the drive control value-corresponding information t1, which expresses the relationship between the drive control value such as the number of pulses and the control voltage and the focal length of the zoom camera 32 with respect to the drive control value concerned, is varied owing to displacement of the drive mechanism 26 by variations of detection characteristics of a position sensor that detects a predetermined position of the imaging optical system 9b of the zoom camera 32, abrasion of a gear and the like of the drive mechanism 26, an attitude change of the stereo camera, and the like.
Accordingly, the focal length obtaining unit 13 performs “field calibration of the drive control value-corresponding information t1” for calibrating the varied drive control value-corresponding information t1.
In the field calibration of the drive control value-corresponding information t1, the focal length obtaining unit 13 first performs the field calibration of the focal length for the zoom camera 32 zoomed in accordance with the predetermined drive control value 51, and thereby obtains the focal length of the zoom camera 32 at the point of field calibration time.
Next, the focal length obtaining unit 13 estimates a focal length, which corresponds to the drive control value 51 obtained from the zoom control unit 17, based on the drive control value 51 and on the drive control value-corresponding information t1 obtained from the drive control value-corresponding information storage unit 47b, and checks whether or not a difference between the estimated focal length and the focal length obtained by the field calibration of the focal length is within a predetermined range.
In the case where this difference exceeds the predetermined range as a result of the check, the focal length obtaining unit 13 determines that the optical state of the zoom camera 32 is largely deviated from the optical state thereof when the drive control value-corresponding information t1 is created, and also for other drive control values, performs the field calibration of the focal lengths in a similar way.
The focal length obtaining unit 13 allows the respective focal lengths, which are newly obtained by a series of the field calibration of the focal lengths, to correspond to the respective drive, control values 51, thereby updates the drive control value-corresponding information t1, stores the updated drive control value-corresponding information t1 in the drive control value-corresponding information storage unit 47b, and in addition, also updates the drive control value-corresponding information t1 stored in the storage unit in the inside of the stereo camera 300A (300B).
(c) Operation at Pseudo Image Creating Time:
At the pseudo image creating time, the focal length obtaining unit 13 obtains the focal length of the zoom camera 32 by two types of methods.
Selection of one method from between the two types of methods is performed, for example, based on an operation mode set from the operation unit 42 in advance, and the like.
The obtained focal length of the zoom camera 32 is supplied to the camera parameter obtaining unit 14, and is served for the obtainment of the camera parameter of the zoom camera 32, which corresponds to the focal length concerned.
◯ Operation of Camera Parameter Obtaining Unit 14:
In the operation for the pseudo image creation, based on the focal length of the zoom camera 32, which is supplied from the focal length obtaining unit 13, and on the parameter-corresponding information t2 recorded in the parameter-corresponding information storage unit 47c, the camera parameter obtaining unit 14 obtains the second camera parameter p2 as a variety of camera parameters of the zoom camera 32, which correspond to the focal length, and then supplies the second camera parameter p2 to the three-dimensionalization unit 15.
Note that, as the second camera parameter p2, specifically, there is adopted at least one of a distortion correction coefficient, the image center position 7b (
◯ Operation of Three-Dimensionalization Unit 15:
The three-dimensionalization unit 15 obtains the second camera parameter p2 regarding the zoom camera from the camera parameter obtaining unit 14, and in addition, from the three-dimensionalization parameter storage unit 47d, obtains the first camera parameter p1 as a variety of the camera parameters regarding the unifocal camera 31 and the base length b between the unifocal camera 31 and the zoom camera 32.
From the first image g1 and the second image g2 regarding the subject as the creation target of the stereoscopic image, which are supplied from the image obtaining unit 12 by using the respective obtained parameters, the three-dimensionalization unit 15 obtains the distance information 52 of the subject by the principle of the triangulation, and supplies the distance information 52 to the pseudo image creating unit 16.
◯ Operation of Pseudo Image Creating Unit 16:
The pseudo image creating unit 16 is supplied with the second image g2 of the subject and the distance information 52 of the subject from the image obtaining unit 12 and the three-dimensionalization unit 15, respectively, and based on these pieces of information, obtains the pseudo image 53 equivalent to the image in which the virtual camera placed at another virtual viewpoint from that of the zoom camera 32 images the subject.
More specifically, based on the imaging parameters regarding each of the zoom camera 32 and the virtual camera, such as the focal length, the number of pixels and the pixel size, and on coordinate system information as position and attitude relationships between the zoom camera 32 and the virtual camera, the pseudo image creating unit 16 obtains correspondence relationships between the respective coordinates on an image as the second image g2 and the respective coordinates on an image as the pseudo image 53.
Next, based on the correspondence relationships concerned and on pixel values of the respective pixels of the second image g2, the pseudo image creating unit 16 imparts pixel values to the respective pixels of the pseudo image 53, and so on, thereby creates the pseudo image 53. Note that the imaging parameters concerned and the coordinate system information concerned are stored in the storage unit 47.
The pseudo image creating unit 16 supplies the created pseudo image 53 to the display unit 43, and on the display unit 43, the pseudo image 53 and the second image g2 are displayed as the stereoscopic image set individually.
◯ Operation of Zoom Control Unit 17:
At the field calibration time of the drive control value-corresponding information t1, the zoom control unit 17 supplies the respective drive control values 51, which define the drive control value-corresponding information t1, to the stereo camera 300A (300B) through the input/output unit 41, and controls the focal length of the zoom camera 32.
Moreover, the zoom control unit 17 supplies the drive control values 51, which are supplied to the zoom camera 32, also to the focal length obtaining unit 13, and the focal length obtaining unit 13 obtains the focal length, which corresponds to the drive control values supplied from the zoom control unit 17, based on the drive control value-corresponding information t1.
<⊙ Regarding Field Calibration of Focal Length:>
Next, a description is made of the field calibration of the focal length of the zoom camera 32, which is to be performed by the focal length obtaining unit 13.
In the information processing system 100A, as mentioned above, for the stereo cameras 300A and 300B, and the stereo camera having a configuration and functions, which are derived from these, the stereo cameras being taken as targets, the focal lengths of the zoom cameras 32 thereof when the zoom cameras 32 image the images of the object are calibrated.
⊙ Field Calibrations A and B of Focal Length:
For example, field calibration A of the focal length is field calibration of the focal length of the zoom camera 32 or the like in the stereo camera 300A (hereinafter, referred to as a “stereo camera 300A1”) in which the value of the deviation amount d is zero or substantially zero among such stereo cameras 300A in each of which the deviation amount d (
Moreover, for example, field calibration B of the focal length is field calibration of the focal length of the zoom camera 32 or the like in the stereo camera 300A (hereinafter, referred to as a “stereo camera 300A2”) in which there is known the value of the focal length f2 of the imaging optical system 9b at the structural abutting position such as the end portion of the drive range where the imaging optical system 9b of the zoom camera 32 is concerned with the zoom, or at such a position where the optical state of the imaging optical system 9b is detectable by the positional sensor and the like, and the value concerned is suppliable to the information processing device 200A through the storage unit (not shown) provided in the inside of the stereo camera among such stereo cameras 300A in each of which the deviation amount d (
Note that the above-mentioned position (optical state) of the imaging optical system 9b, in which the value of the focal length f2 of the imaging optical system 9b is known, is a position where reproducibility of position control for the imaging optical system 9b is high.
In
Moreover, in
The principal rays 6a and 6b, which are shown in
In
In
Moreover, in
Note that the standard focal length fs in
The principal rays 6b shown in
In
Here, by using
The standard image 1a and the reference image 2a, which are shown in
Moreover, the image size Ws is a diameter of the image 62s, and the image size Wm shown in
Note that the image sizes Ws and Wm are obtained, for example, by a method of fitting circles to the respective outer edges of the images 62s and 62m and obtaining diameters of the fitted circles, and the like.
Moreover,
A standard image 1a and a reference image 2a, which are shown in
Moreover, images 54s and 55s are images of feature portions 54 and 55 (
For example, the focal length obtaining unit 13 performs image processing such as edge detection processing for the standard image 1a taken as an object, obtains coordinate information of the images 54s and 55s, which the operator instructs through the operation unit 42 in the image 68s displayed on the display unit 43, or so on, and thereby obtains the coordinate information of the images 54s and 55s.
Next, for example, by using a corresponding point search method using a SAD (Sum of Absolute Difference) method and the like, the focal length obtaining unit 13 searches the images 54m and 55m on the reference image 2a, which correspond to the images 54s and 55s, respectively, and so on, and thereby obtains the coordinate information of the images 54m and 55m.
From the respective pieces of the coordinate information of the images 54s and 55s, the focal length obtaining unit 13 obtains a distance between the images 54s and 55s as the image size Ws, and in addition, obtains a distance between the images 54m and 55m as the image size Wm in a similar way.
As described above, even if not the overall width of the image but the image size of a part of the image is obtained as the image size of the image of the calibration object, usefulness of the present invention is not damaged.
Note that the obtaining method of the image size Ws and the image size Wm, which is mentioned above by using
When the image size Ws and the image size Wm are obtained in the field calibration A or the field calibration B, the reference focal length fm is given by Expression (1) by using the image size Ws and the image size Wm, which are obtained by the above-mentioned respective methods and the like, and using by the standard focal length fs stored in the field calibrating information storage unit 47a.
[Expression 1]
fm=fx×Wm/Ws (1)
Note that an arithmetic expression of the reference focal length fm in the field calibration A is not limited to Expression (1), and for example, even if the distortion correction coefficient of the sizes Ws and Wm, a coefficient for the collimation processing of the standard image 1a and the reference image 2a, and the like are appropriately added to Expression (1) and used in response to desired accuracy of the reference focal length fm, the usefulness of the present invention is not damaged. Moreover, the same is also applied to Expression (2) to Expression (5).
Next, a description is made of an operation flow of the information processing device 200A, which is related to the field calibration A and the field calibration B.
Moreover,
When the processing shown in
In Step S610, by the control of the CPU 11A, the respective cameras of the stereo camera 300A1 measure the calibration object 62 with the unknown size, which is placed at a certain position, once by once.
Note that, at this time, by the control of the zoom control unit 17, the imaging optical system 9b of the zoom camera 32 is set in an imaging-time optical state having the unknown reference local length fm.
Moreover, in the imaging by the unifocal camera 31 and the imaging by the zoom camera 32, both pieces of the imaging are performed in a state where a spatial relationship between the calibration object 62 and the imaging system (the unifocal camera 31 and the zoom camera 32) is kept.
In the stereo camera 300A1, for example, the imaging by the unifocal camera 31 and the imaging by the zoom camera 32 are performed simultaneously or substantially simultaneously, whereby the imaging of the calibration object 62, in which the spatial relationship between the calibration object 62 and the imaging system is kept, is performed.
Next, the focal length obtaining unit 13 obtains the image (first image g1), which the unifocal camera 31 of the stereo camera 300A1 images, and the image (second image g2), which the zoom camera 32 thereof images, as the standard image 1a (
When the standard image 1a and the reference image 2a are obtained, first arithmetic operation processing (S520 of
When the processing shown in
In Step S614, first, the zoom control unit 17 controls the zooming of the zoom camera 32 of the stereo camera 300A2, and varies the state of the imaging optical system 9a to the optical state having the known standard focal length fs (
By the control of the CPU 11A, the zoom camera 32 measures the calibration object 62 with the unknown size, which is placed at a certain position, one time.
The focal length obtaining unit 13 obtains the image (second image g2), which the zoom camera 32 concerned images, as the standard image 1a (
The zoom control unit 17 controls the zooming of the zoom camera 32, and sets the imaging optical system 9b in the imaging-time optical state having the unknown reference focal length fm.
By the control of the CPU 11A, the zoom camera 32 measures the calibration object 62, and the focal length obtaining unit 13 obtains the measured image (second image g2) as the reference image 2a (Step S616).
Note that, also for the field calibration B, in order to perform the obtainment of the standard image 1a and the reference image 2a in the state where the spatial relationship between the calibration object and each imaging system is kept, the imaging is performed in a state where the calibration object 62 stands relatively still with respect to the stereo camera 300A2.
Moreover, here, the description has been made of the example of first imaging the standard image 1a; however, even if the reference image 2a is first imaged, the usefulness of the present invention is not damaged.
When the standard image 1a and the reference image 2a are obtained, the processing is shifted to the first arithmetic operation processing (S520 of
First, from the field calibrating information storage unit 47a, the focal length obtaining unit 13 obtains the standard focal length fs (
The focal length obtaining unit 13 measures the image size Ws (
Moreover, the focal length obtaining unit 13 measures the image size Wm (
Based on Expression (1), the focal length obtaining unit 13 obtains the reference focal length fm (
The processing is returned to
In accordance with the field calibration A or the field calibration B, the calibration object with the unknown actual size is imaged at the unknown imaging distance in the state where the spatial relationship thereof with the imaging system is kept, and the standard image 1a and the reference image 2a are obtained.
Then, by using the image sizes Ws and Wm of the calibration object 62 in the standard image 1a and the reference image 2a, Expression (1), that is, the arithmetic operation processing for scaling the value of the standard focal length fs is performed, whereby the value of the reference focal length fm is obtained.
Hence, in accordance with the field calibration A or the field calibration B, in the stereo camera including the zoom camera, in the case where, with regard to the optical center of the imaging optical system having the known standard focal length fs when the standard image is obtained and the optical center of the imaging optical system having the unknown reference focal length fm when the reference image is obtained, the positions thereof in the optical axis direction become equal to each other or substantially equal to each other, the reference focal length fm can be obtained at a high speed based on the calibrating data obtainable in a short time under a simple measurement environment that does not require the information of the imaging distance and actual size of the calibration object, and then the calibration frequency of the stereo camera at a using site thereof can be enhanced.
Moreover, in accordance with the field calibration A, the unifocal camera 31 and the zoom camera 32 are used for the imaging, and accordingly, the standard image 1a and the first standard image 1b can be measured simultaneously or substantially simultaneously.
Hence, the standard image 1a and the first standard image 1b can be obtained in the state where the spatial relationship between the calibration object 62 and the imaging system (the unifocal camera 31 and the zoom camera 32) is kept, and obtaining accuracy of the reference focal length fm can be enhanced.
Moreover, in accordance with the field calibration A, the unifocal camera 31 and the zoom camera 32 can image the calibration object simultaneously or substantially simultaneously, and accordingly, a moving object can be adopted as the calibration object.
Moreover, in accordance with the field calibration A, regions with the same size in the calibration object 62 are individually imaged once by once by the unifocal camera 31 and the zoom camera 32 simultaneously or substantially simultaneously, whereby the image data for the calibration can be obtained. Accordingly, in the case where the subject itself serving as the creation object of the pseudo image 53 has a feature portion to which the method described in
⊙ Field Calibration C of Focal Length:
For example, field calibration C of the focal length is performed as field calibration of the focal length of the zoom camera 32 or the like in the stereo camera 300B (hereinafter, referred to as a “stereo camera B1”), which is capable of detecting the value of the imaging-time deviation amount d and supplying such a deviation amount d to the information processing device 200A, among the stereo cameras 300B in each of which the deviation amount d (
Note that the target of the field calibration C is not limited to the stereo camera 300B1, and the stereo camera between the stereo cameras 300A and 300B, in which the value of the imaging-time deviation amount d is obtainable by the information processing device 200A, becomes an application target of the field calibration C.
In
Moreover, in
Principal rays 6a and 6b shown in
Here, the deviation amount d has, for example, a value of a deviation amount d, which is to be estimated based on information that expresses the value of the deviation amount d corresponding to the drive control value 51 of the zoom and on the imaging-time drive control value 51, a known value of the deviation amount d, which is stored in advance in the storage unit 47 through the operation unit 42, or the like.
Note that, in
Moreover, the calibration object 63 is an object in which an actual size S is known, and a value of the actual size S is stored in advance in the field calibrating information storage unit 47a.
As the calibration object 63, specifically, besides a calibrating chart designed exclusively, for example, a cylindrical one such as a coin and a cap of a plastic bottle, in which a size (diameter) is standardized, can be adopted.
The calibration object 63 is imaged once by once individually by the unifocal camera 31 and the zoom camera 32, and when the unifocal camera 31 images the calibration object 63 by using the imaging element 5a, the image 63s of the calibration object 63 is formed as the first standard image 1b, and an image size thereof is the image size Ws.
Moreover, when the zoom camera 32 images the calibration object 63 by using the imaging element 5b, the image 63m of the calibration object 63 is formed as the reference image 2a, and an image size thereof is the image size Wm.
Note that obtainment of the image sizes Ws and Wm can be performed in a similar way to the field calibration A.
In
In the field calibration C, when the image sizes Ws and Wm, the actual size S, and in addition, the deviation amount d are obtained, the reference focal length fm is given by Expression (2).
[Expression 2]
fm=fs×Wm/Ws+d×Wm/S (2)
Note that it is similar to Expression (1) that an arithmetic expression of the reference focal length fin in the field calibration A is not limited to Expression (2), and that it is possible to add a variety of correction coefficients and the like thereto, and so on.
Next, a description is made of an operation flow of the information processing device 200A, which is related to the field calibration C.
Moreover,
When the processing shown in
In Step S618, by the control of the CPU 11A, the respective cameras of the stereo camera 300B1 measure the calibration object 63 with the known size, which is placed at a certain position, once by once.
Note that, at this time, by the control of the zoom control unit 17, the imaging optical system 9b of the zoom camera 32 is set in an imaging-time optical state having the unknown reference local length fm.
Moreover, in the imaging operations by the unifocal camera 31 and the zoom camera 32, both pieces of the imaging are performed in the state where the spatial relationship between the calibration object 63 and the imaging system (the unifocal camera 31 and the zoom camera 32) is kept in a similar way to the field calibration B.
Next, the focal length obtaining unit 13 obtains the image (first image g1), which the unifocal camera 31 of the stereo camera 300B1 images, and the image (second image g2), which the zoom camera 32 thereof images, as the standard image 1a (
When the standard image 1a and the reference image 2a are obtained, second arithmetic operation processing (S524 of
First, from the field calibrating information storage unit 47a, the focal length obtaining unit 13 obtains the standard focal length fs (
From the field calibrating information storage unit 47a, the focal length obtaining unit 13 obtains the deviation amount d (
The focal length obtaining unit 13 obtains the actual size S (
The focal length obtaining unit 13 measures the image size Ws (
The focal length obtaining unit 13 measures the image size Wm (
Based on Expression (2), the focal length obtaining unit 13 obtains the reference focal length fm (
When the reference focal length fm is obtained, the processing is returned to
In accordance with the field calibration C, the calibration object with the unknown actual size is imaged at the unknown imaging distance once by once individually by the unifocal camera 31 and zoom camera 32 of the stereo camera 300B1 in the state where the spatial relationship thereof with the imaging system is kept, and the standard image 1a and the reference image 2a are obtained.
Then, by using the image sizes Ws and Wm of the calibration object 62 in the standard image 1a and the reference image 2a, the actual size S of the calibration object 63, and in addition, the known deviation amount d, Expression (21), that is, the arithmetic operation processing for scaling the value of the standard focal length fs is performed, whereby the value of the reference focal length fm is obtained.
Hence, in accordance with the field calibration C, in the stereo camera including the zoom camera, in the case where, with regard to the optical center of the imaging optical system having the known standard focal length fs when the standard image is obtained and the optical center of the imaging optical system having the unknown reference focal length fm when the reference image is obtained, the deviation amount d therebetween is known, and the actual size of the calibration target is known, the reference focal length fm can be obtained at a high speed based on the calibrating data obtainable in a short time under a simple measurement environment that does not require the information of the imaging distance of the calibration object, and then the calibration frequency of the stereo camera at the using site thereof can be enhanced.
Moreover, in accordance with the field calibration C, the unifocal camera 31 and the zoom camera 32 are used for the imaging, and accordingly, the standard image 1a and the first standard image 1b can be measured simultaneously or substantially simultaneously.
Hence, the standard image 1a and the first standard image 1b can be obtained in the state where the spatial relationship between the calibration object 63 and the imaging system (the unifocal camera 31 and the zoom camera 32) is kept, and the obtaining accuracy of the reference focal length fm can be enhanced.
Moreover, the unifocal camera 31 and the zoom camera 32 can image the calibration object simultaneously or substantially simultaneously, and accordingly, the moving object can be adopted as the calibration object.
Moreover, in accordance with the field calibration C, a predetermined region with the known size in the calibration object 63 is imaged once by once individually by the unifocal camera 31 and the zoom camera 32 simultaneously or substantially simultaneously, whereby the image data for the calibration can be obtained. Accordingly, in the case where the subject itself serving as the creation object of the pseudo image 53 has a feature portion to which the method described in
Note that, in the stereo camera 300B1, even if, in a similar way to the field calibration B regarding the stereo camera 300A2, the zoom camera 32 in which the focal length of the imaging optical system 9b is known, the zoom camera 32 being located at the end portion of the drive range of the imaging optical system 9b or at the position such as a proximity switch position, where the reproducibility of the position control of the imaging optical system 9b is high, is adopted as the imaging device that images the standard image 1a in place of the unifocal camera 31, the usefulness of the present invention is not damaged.
⊙ Field Calibrations D and E of Focal Length:
For example, field calibration D of the focal length is field calibration of the focal length of the stereo camera 32 or the like in the stereo camera 300 in which the deviation amount d (
Moreover, for example, field calibration E of the focal length is field calibration of the focal length of the zoom camera 32 or the like in the stereo camera 300B (hereinafter, referred to as a “stereo camera 300B2”) in which there is known the value of the focal length f2 of the imaging optical system 9b at the structural abutting position such as the end portion of the drive range where the imaging optical system 9b of the zoom camera 32 is concerned with the zoom, or at such a position where the optical state of the imaging optical system 9b is detectable by the positional sensor and the like, and the value concerned is suppliable to the information processing device 200A through the storage unit (not shown) provided in the inside of the stereo camera.
Note that the above-mentioned position (optical state) of the imaging optical system 9b, in which the value of the focal length f2 of the imaging optical system 9b is known, is a position where the reproducibility of the position control for the imaging optical system 9b is high.
In
Furthermore, in the display of
The principal rays 6a and 6b, which are shown in
Here, first, a description is made of the stereo camera 300B that images the calibration object 64 displayed on the left side of
In the left side drawing of
Moreover, the first reference image 2b is an image in which the zoom camera 32 images the calibration object 64 by the imaging element 5b, and an image 64m1 is an image of the calibration object 64 in the first reference image 2b. An image size of the image 64m1 is an image size Wm1.
Here, for the first standard image 1b and the first reference image 2b, for example, the unifocal camera 31 and the zoom camera 32 perform the imaging simultaneously or substantially simultaneously, whereby the imaging is performed in a state where a spatial relationship between the calibration object 64 and the imaging system (the unifocal camera 31 and the zoom camera 32) is kept.
Next, a description is made of the stereo camera 300B that images the calibration object 64 displayed on the right side of
Note that the calibration object 64 displayed on the right-side drawing of
Note that the calibration object 64 displayed on the right-side drawing of
In the right-side drawing of
Moreover, the second reference image 2c is an image in which the zoom camera 32 images the calibration object 64 by the imaging element 5b, and an image 64m2 is an image of the calibration object 64 in the second reference image 2c. An image size measured from the image 64m2 is an image size Wm2.
Here, for the second standard image 1c and the second reference image 2c, for example, the unifocal camera 31 and the zoom camera 32 perform the imaging simultaneously or substantially simultaneously, whereby the imaging is performed in the state where the spatial relationship between the calibration object 64 and the imaging system (the unifocal camera 31 and the zoom camera 32) is kept.
Note that, in
In
Note that the zoom camera 32 is used for imaging the calibration object 64 in the respective optical states, which are: the optical state where the zoom camera 32 is located at the position where the reproducibility of the position control of the imaging optical system 9b is high, such as the end portion of the drive range of the imaging optical system 9b and the proximity switch position, and the focal length is the known standard focal length fs; and the optical state where the focal length is the unknown reference focal length fm by the zooming.
Moreover, in the display of
In the left-side drawing of
Moreover, the first reference image 2b is an image in which the zoom camera 32 having the unknown reference focal length fm images the calibration object 64 by the imaging element 5b, and an image 64m1 is an image of the calibration object 64 in the first reference image 2b. Moreover, an image size of the image 64m1 is an image size Wm1.
Here, for the first standard image 1b and the first reference image 2b, for example, the zoom camera 32 having the respective focal lengths performs the imaging in a state where the calibration object 64 stands relatively still with respect to the zoom cameras 32, whereby the imaging is performed in a state where a spatial relationship between the calibration object 64 and the imaging system (the zoom camera 32) is kept.
Next, a description is made of the stereo camera 300B that images the calibration object 64 displayed on the right side of
Note that, in a similar way to the case of
In the right-side drawing of
Moreover, the second reference image 2c is an image in which the zoom camera 32 having the known reference focal length fm images the calibration object 64 by the imaging element 5b, and an image 64m2 is an image of the calibration object 64 in the second reference image 2c. An image size measured from the image 64m2 is the image size Wm2.
Here, in a similar way to the case of the left side of
Moreover, also in
When the image sizes Ws1, Ws2, Wm1 and Wm2 are obtained in the field calibration D or the field calibration E, the reference focal length fm is given by Expression (3) by using the respective image sizes and the standard focal length fs stored in the field calibrating information storage unit 47a.
[Expression 3]
fm=fs×(1/Ws2−1/Ws1)/(1/Wm2−1/Wm1) (3)
Note that an arithmetic expression of the reference focal length fin in the field calibrations D and E is not limited to Expression (3), and in a similar way to the field calibration A, for example, even if the distortion correction coefficient, the coefficient for the collimation processing, and the like are appropriately added to Expression (3) in response to the desired accuracy of the reference focal length fm, the usefulness of the present invention is not damaged.
Next, a description is made of an operation flow of the information processing device 200A, which is related to the field calibrations D and E.
Moreover,
When the processing shown in
In Step S622, by the control of the CPU 11A, the respective cameras of the stereo camera 300B measure the calibration object 64 with an unknown size, which is placed at a certain position, once by once.
Note that, at this time, the imaging optical system 9b of the zoom camera 32 is set in the imaging-time optical state having the unknown reference focal length fm by the control of the zoom control unit 17.
Moreover, in the imaging by the unifocal camera 31 and the imaging by the zoom camera 32, for example, the imaging by the unifocal camera 31 and the imaging by the zoom camera 32 are performed simultaneously or substantially simultaneously, whereby both pieces of the imaging are performed in the state where the spatial relationship between the calibration object 62 and the imaging system (the unifocal camera 31 and the zoom camera 32) is kept.
The focal length obtaining unit 13 obtains the image (the first image g1), which is imaged by the unifocal camera 31 of the stereo camera 300A1, and the image (the second image g2), which is imaged by the zoom camera 32 thereof, as the first standard image 1b (
By the control of the CPU 11A, the respective cameras of the stereo camera 300A measure the calibration object, in which a placed position is moved, once by once (Step S626).
The focal length obtaining unit 13 obtains the image, which is imaged by the unifocal camera 31, as the second standard image 1a, and obtains the image, which is imaged by the zoom camera 32, as the second reference image 2a (Step S628).
When the first standard image 1b, the second standard image 1c, the first reference image 2b and the second reference image 2c are obtained, third arithmetic operation processing (Step S522 of
Moreover,
When the processing shown in
In Step S630, first, the zoom control unit 17 controls the zooming of the zoom camera 32 of the stereo camera 300B2, and varies the state of the imaging optical system 9b to the optical state having the known standard focal length fs (
By the control of the CPU 11A, the zoom camera 32 concerned measures the calibration object 64 with an unknown size, which is placed at a certain position, once.
The focal length obtaining unit 13 obtains the image (the second image g2), which is imaged by the zoom camera 32 concerned, as the first standard image 1b (
The zoom control unit 17 controls the zooming of the zoom camera 32, and sets the imaging optical system 9b in the imaging-time optical state having the unknown reference focal length fm.
By the control of the CPU 11A, the zoom camera 32 measures the calibration object 64, and the focal length obtaining unit 13 obtains the measured image (the second image g2) as the first reference image 2b (Step S632).
Note that, also in the field calibration E, the obtainment of the first standard image 1b and the first reference image 2b is performed in the state where spatial relationship between the calibration object and each imaging system is kept, and accordingly, the first standard image 1b and the first reference image 2b are imaged in the state where the calibration object 64 stands relatively still with respect to the zoom camera 32.
Moreover, here, the description has been made of the example of first imaging the first standard image 1b; however, even if the first reference image 2b is first imaged, the usefulness of the present invention is not damaged.
The zoom control unit 17 controls the zooming of the zoom camera 32 of the stereo camera 300B2, and varies the state of the imaging optical system 9b to the optical state having the known standard focal length fs (
By the control of the CPU 11A, the zoom camera 32 concerned measures the calibration object 64, which is placed at a difference imaging position, once, and the focal length obtaining unit 13 obtains the image (the second image g2), which is imaged by the zoom camera 32 concerned, as the second standard image 1c (
The zoom control unit 17 controls the zooming of the zoom camera 32, and sets the imaging optical system 9b in die imaging-time optical state having the unknown reference focal length fm one more time.
By the control of the CPU 11A, the zoom camera 32 measures the calibration object 64, and the focal length obtaining unit 13 obtains the measured image (the second image g2) as the second reference image 2c (Step S636).
Note that, also in the field calibration E, the obtainment of the second standard image 1c and the second reference image 2c is performed in the state where the spatial relationship between the calibration object and each imaging system is kept, and accordingly, the second standard image 1c and the second reference image 2c are imaged in the state where the calibration object 64 stands relatively still with respect to the zoom camera 32.
Moreover, here, the description has been made of the example of first imaging the second standard image 1c; however, even if the second reference image 2c is first imaged, the usefulness of the present invention is not damaged.
When the first standard image 1b, the second standard image 1c, the first reference image 2b and the second reference image 2c are obtained, the third arithmetic operation processing (Step S522 of
First, the focal length obtaining unit 13 obtains the standard focal length fs (
The focal length obtaining unit 13 measures the image size Ws1 (
The focal length obtaining unit 13 measures the image size Wm1 (
The focal length obtaining unit 13 measures the image size Ws2 (
Next, focal length obtaining unit 13 measures the image size Wm2 (
The focal length obtaining unit 13 obtains the reference focal length fm, which is the focal length regarding each reference image, based on Expression (3) (Step S30).
The processing is returned to
In accordance with the field calibration D or the field calibration E, the calibration object 64 with the unknown actual size is imaged individually at the two different unknown imaging distances in the state where the spatial relationship thereof with the imaging system is kept, and the first standard image 1b, the first reference image 2b, the second standard image 1c and the second reference image 2c are obtained.
Then, by using the image sizes Ws1 and Wm1 of the calibration object 64 in the first standard image 1b and the first reference image 2b and the image sizes Ws2 and Wm2 of the calibration object 64 in the second standard image 1c and the second reference image 2c, Expression (3), that is, the arithmetic operation processing for scaling the value of the standard focal length fs is performed, whereby the value of the reference focal length fm can be obtained.
Hence, in accordance with the field calibration D or the field calibration E, in the stereo camera including the zoom camera, even in the case where, with regard to the optical center of the imaging optical system having the known standard focal length fs when the standard image is obtained and the optical center of the imaging optical system having the unknown reference focal length fm when the reference image is obtained, the deviation amount d therebetween is unknown, the reference focal length fm can be obtained at a high speed based on the calibrating data obtainable in a short time under the simple measurement environment that does not require the information of the imaging distance and actual size of the calibration object, and then the calibration frequency of the stereo camera at the using site thereof can be enhanced.
In accordance with the field calibration D, the unifocal camera 31 and the zoom camera 32 are used for the imaging, and accordingly, the first standard image 1b, the first reference image 2b, and in addition, the second standard image 1c and the second reference image 2c can be individually measured simultaneously or substantially simultaneously.
Hence, it becomes easy to obtain the standard image 1a and the first standard image 1b in the state where the spatial relationship between the calibration object 64 and the imaging system (the unifocal camera 31 and the zoom camera 32) is kept, and the obtaining accuracy of the reference focal length fm can be enhanced.
Moreover, in accordance with the field calibration D, the unifocal camera 31 and the zoom camera 32 can image the calibration object simultaneously or substantially simultaneously, and accordingly, a moving object can be adopted as the calibration object.
Moreover, in accordance with the field calibration D, regions with the same size in the calibration object 64 are individually imaged once by once by the unifocal camera 31 and the zoom camera 32 simultaneously or substantially simultaneously in a state where the calibration object 64 is placed at the different position, whereby the image data for the calibration can be obtained. Accordingly, in such a case where the subject itself serving as the creation object of the pseudo image 53 has a feature portion to which the method described in
⊙ Field Calibration F of Focal Length:
In a similar way to the field calibration D, field calibration F of the focal length is field calibration of the focal length of the zoom camera 32 in the stereo camera in which the deviation amount d (
In
Furthermore, in the display of
The principal rays 6a and 6b, which are shown in
Here, first, a description is made of the stereo camera 300B that images the first first calibration object 66 displayed on the left side of
In the left side drawing of
Moreover, the first reference image 2b is an image in which the zoom camera 32 images the first first calibration object 66 by the imaging element 5b, and an image 66m1 is an image of the first first calibration object 66 in the first reference image 2b. An image size of the image 66m1 is the image size Wm1.
Here, for the first standard image 1b and the first reference image 2b, for example, the unifocal camera 31 and the zoom camera 32 perform the imaging simultaneously or substantially simultaneously, whereby the imaging is performed in a state where a spatial relationship between the first first calibration object 66 and the imaging system (the unifocal camera 31 and the zoom camera 32) is kept.
Next, a description is made of the stereo camera 300B that images the second calibration object 67 displayed on the right side of
The second calibration object 67 displayed on the right-side drawing of
Note that the first first calibration object 66 may be arranged on the negative side in the Z-axis direction with respect to the second calibration object 67.
In the right-side drawing of
Moreover, the second reference image 2c is an image in which the zoom camera 32 images the second calibration object 67 by the imaging element 5b, and an image 67m2 is an image of the second calibration object 67 in the second reference image 2c. An image size measured from the image 67m2 is the image size Wm2.
Here, for the second standard image 1c and the second reference image 2c, for example, the unifocal camera 31 and the zoom camera 32 perform the imaging simultaneously or substantially simultaneously, whereby the imaging is performed in the state where the spatial relationship between the second calibration object 67 and the imaging system (the unifocal camera 31 and the zoom camera 32) is kept.
Note that, in
In the field calibration F, when the image sizes Ws1, Ws2, Wm1 and Wm2, the actual sizes S1 and S2 and the standard focal length fs are obtained, the reference focal length fm is given by Expression (4).
[Expression 4]
fm=fs×(S2/Ws2−S1/Ws1)/(S2/Wm2−S1/Wm1) (4)
Note that an arithmetic expression of the reference focal length fm in the field calibration F is not limited to Expression (4), and in a similar way to the field calibration A, for example, even if the distortion correction coefficient, the coefficient for the collimation processing, and the like are appropriately added to Expression (4) in response to the desired accuracy of the reference focal length fm, the usefulness of the present invention is not damaged.
Moreover, in the stereo camera 300B, even if, in a similar way to the field calibration B regarding the stereo camera 300A2, the zoom camera 32 in which the focal length of the imaging optical system 9b is known, the zoom camera 32 being located at the end portion of the drive range of the imaging optical system 9b or at the position such as a proximity switch position, where the reproducibility of the position control of the imaging optical system 9b is high, is adopted as the imaging device that images the first standard image 1b and the second standard image 1c in place of the unifocal camera 31, the usefulness of the present invention is not damaged.
Moreover, as each of the first calibration object 66 and the second calibration object 67, specifically, besides a calibrating chart designed exclusively, for example, a cylindrical one such as a coin and a cap of a plastic bottle, in which a size (diameter) is standardized, can be adopted.
Next, a description is made of an operation flow of the information processing device 200A, which is related to the field calibration F.
Moreover,
When the processing shown in
In Step S640, by the control of the CPU 11A, the respective cameras of the stereo camera 300B measure the first first calibration object 66, which is placed at a certain unknown imaging distance, once by once.
Note that, at this time, the imaging optical system 9b of the zoom camera 32 is set in the imaging-time optical state having the unknown reference focal length fm by the control of the zoom control unit 17.
Moreover, in the imaging by the unifocal camera 31 and the imaging by the zoom camera 32, for example, the imaging by the unifocal camera 31 and the imaging by the zoom camera 32 are performed simultaneously or substantially simultaneously, and so on, whereby both pieces of the imaging are performed in the state where the spatial relationship between the first calibration object 66 and the imaging system (the unifocal camera 31 and the zoom camera 32) is kept.
The focal length obtaining unit 13 obtains the image (the first image g1), which is imaged by the unifocal camera 31 of the stereo camera 300B, and the image (the second image g2), which is imaged by the zoom camera 32 thereof, as the first standard image 1b (
In place of the first calibration object 66, the second calibration object 67 is placed at an unknown imaging distance different from that of the first calibration object 66, and by the control of the CPU 11A, the respective cameras of the stereo camera 300B measure the placed second calibration object 67 once by once (Step S644).
The focal length obtaining unit 13 obtains the image (the first image g1), which is imaged by the unifocal camera 31 of the stereo camera 300B, and the image (the second image g2), which is imaged by the zoom camera 32 thereof, as the second standard image 1c (
When the first standard image 1b, the second standard image 1c, the first reference image 2b and the second reference image 2c are obtained, fourth arithmetic operation processing (Step S526 of
First, the focal length obtaining unit 13 obtains the standard focal length fs (
The focal length obtaining unit 13 obtains the actual size S1 of the predetermined portion of the first calibration object 66 from the field calibrating information storage unit 47a (Step S52).
The focal length obtaining unit 13 obtains the actual size S2 of the predetermined portion of the second calibration object 67 from the field calibrating information storage unit 47a (Step S54).
The focal length obtaining unit 13 measures the image size Ws1 (
The focal length obtaining unit 13 measures the image size Wm1 (
The focal length obtaining unit 13 measures the image size Ws1 (
The focal length obtaining unit 13 measures the image size Wm2 (
Based on Expression (4), the focal length obtaining unit 13 obtains the reference focal length fm, which is the focal length regarding the respective reference images (Step S64).
The processing is returned to
Based on Expression (5), the focal length obtaining unit 13 obtains the deviation amount d (
[Expression 5]
d=S1×(fm/Wm1−fs/Ws1) (5)
Note that, in a similar way to the field calibration A, for example, even if, in place of Expression (5), an arithmetic expression is used, in which the distortion correction coefficient, the coefficient for the collimation processing, and the like are appropriately added to Expression (5) in response to the desired obtaining accuracy of the deviation amount d, the usefulness of the present invention is not damaged.
In accordance with the field calibration F, the first calibration object 66 and the second calibration object 67, in which the actual sizes are known, are individually placed at the unknown imaging distances different from each other, and are imaged in the state where the spatial relationships thereof with the imaging system are kept, and the first standard image 1b, the first reference image 2b, the second standard image 1c and the second reference image 2c are obtained.
Then, by using the image sizes Ws1 and Wm1 of the first calibration object 66 in the first standard image 1b and the first reference image 2b, the image sizes Ws2 and Wm2 of the first calibration object 66 in the second standard image 1c and the second reference image 2c, the actual size S1 and the actual size S2, Expression (4), that is, the arithmetic operation processing for scaling the value of the standard focal length fs is performed, whereby the value of the reference focal length fm can be obtained.
Hence, in accordance with the field calibration F, in the stereo camera including the zoom camera, in the case where, with regard to the optical center of the imaging optical system having the known standard focal length fs when the standard image is obtained and the optical center of the imaging optical system having the unknown reference focal length fm when the reference image is obtained, the deviation amount d therebetween is unknown, the reference focal length fm can be obtained at a high speed based on the calibrating data obtainable in a short time under the simple measurement environment that does not require the information of the imaging distance of the calibration object, and then the calibration frequency of the stereo camera at the using site thereof can be enhanced.
Moreover, in accordance with the field calibration F, based on the obtained reference focal length fm, the deviation amount d between the optical center 3a and the optical center 3b in the optical axis direction, which is one of the camera parameters, can be obtained easily at a high speed. Accordingly, the value of the deviation amount d in the parameter-corresponding information t2 is updated by the deviation amount d concerned, and so on, whereby the accuracy of the distance information to be obtained based on the measurement images of the stereo camera can be enhanced.
In accordance with the field calibration F, the unifocal camera 31 and the zoom camera 32 are used for the imaging, and accordingly, the first standard image 1b and the first reference image 2b, and in addition, the second standard image 1c and the second reference image 2c can be individually measured simultaneously or substantially simultaneously.
Hence, it becomes easy to obtain the first standard image 1b and the first reference image 2b, and in addition, the second standard image 1c and the second reference image 2c in the state where the spatial relationships between the first calibration object 66 and the second calibration object 67 and the imaging system (the unifocal camera 31 and the zoom camera 32) are kept, and accordingly, the obtaining accuracy of the reference focal length fm can be enhanced.
Moreover, in accordance with the field calibration F, the unifocal camera 31 and the zoom camera 32 can image the calibration object simultaneously or substantially simultaneously, and accordingly, a moving object can be adopted as the calibration object.
<⊙ Operation Flow of Respective Pieces of Processing to be Performed by Information Processing System 100A>
Next, a description is made of an operation flow of the respective pieces of processing to be performed by the information processing system 100A.
⊙ Operation Flow from Calibration to Stereoscopic Image Creation:
As shown in
Step S100: Manufacturing-time calibration of the stereo camera.
Step S200: Field calibration of the drive control value-corresponding information.
Step S300: Creation of the stereoscopic image.
⊙ Operation Flow of Manufacturing-Time Calibration of Stereo Camera:
In the operation flow of
The information processing device concerned for the calibration sets one drive control value 51 of the drive control value table as the drive control value of the zoom of the zoom camera 32 (Step S120), and performs the zooming of the zoom camera 32 based on the drive control value 51 (Step S130).
The information processing device concerned for the calibration calibrates the three-dimensionalization parameter of the stereo camera 300A (300B) (Step S140).
The calibration of the camera parameter of the stereo camera 300A (300B) can be performed, for example, by a publicly known camera calibration method using a grid pattern, or the like, which is disclosed in Zhengyou Zhang: “A flexible new technique for camera calibration”, IEEE Transactions on Pattern Analysis and Machine Intelligence, Vol. 22. No. 11, pp. 1330-1334, 2000, and the like.
Here, in the zoom camera 32, when a calibrating chart having a uniform pattern is used, for example, in calibration in a wide angle end and a telescopic end in a focal length-variable range, a difference occurs in accuracy of the camera parameters to be estimated since the number of patterns included in the image differs depending on the focal length.
Therefore, in the information processing system 100A, a calibrating chart is used, for example, in which a pattern of a grid or the like is drawn more densely as going toward the center.
A center of the calibrating chart concerned is allowed to coincide in advance with the optical axis of the zoom camera 32, whereby, even if an imaging angle of view of the zoom camera 32 is varied following the zoom drive, an image having substantially similar patterns on the wide angle end and telescopic end of the zoom camera 32 can be imaged on an image in which the calibrating chart is imaged.
Hence, by using the calibrating chart concerned, it becomes possible to suppress an occurrence of a phenomenon that the accuracy of the camera parameter of the zoom camera 32, which is required in the calibration, differs depending on the focal length of the zoom camera 32.
When the calibration is ended for all of the drive control values, the information processing device concerned for the calibration shifts the processing to Step S160, and in the case where the calibration is not ended for all of the drive control values, the information processing device returns the processing to Step S120, and performs the calibration for other drive control values (Step S150).
When the processing is shifted to Step S160, the information processing device concerned for the calibration creates the drive control value-corresponding information t1, which expresses the correspondence relationship between each of the drive control values of the drive control value table and each of the calibrated focal lengths of the zoom camera 32 (Step S160), and in addition, for each of the calibrated focal lengths of the zoom camera 32, creates the parameter-corresponding information t2, which expresses the correspondence relationship between the focal length and each of the calibrated camera parameters of the zoom camera 32 (Step S170).
Next, the information processing device concerned for the calibration stores the drive control value-corresponding information t1, the parameter-corresponding information t2 and other three-dimensionalization parameters in the stereo camera 300A (300B) (Step S180), and ends the manufacturing-time calibration of the stereo camera.
⊙ Operation Flow of Field Calibration of Drive Control Value-Corresponding Information t1:
First, the focal length obtaining unit 13 obtains the drive control value-corresponding information t1 from the drive control value-corresponding information storage unit 47b (Step S210).
Moreover, based on the drive control value-corresponding information t1, the zoom control unit 17 sets one drive control value 51 as the drive control value 51 of the zoom of the zoom camera 32 (Step S220), and in addition, based on the drive control value 51, zooms the zoom camera 32 (Step S230).
The focal length obtaining unit 13 performs the already described field calibrations (Step S240, S242, S244, or S246) for the focal length of the zoom camera 32.
The focal length obtaining unit 13 determines whether or not a difference between the obtained focal length of the zoom camera 32 and the focal length in the drive control value-corresponding information t1 corresponding to the drive control value 51 concerned is a predetermined threshold value stored in the storage unit 46 or less (Step S250), and in the case where the difference concerned is the predetermined threshold value or less, determines that a difference between the focal length estimated by the drive control value-corresponding information t1 and the actual focal length is within a permissible range, and ends the field calibration of the drive control value-corresponding information t1.
In the case where the difference concerned exceeds the predetermined threshold value, the focal length obtaining unit 13 determines that the difference between the focal length estimated by the drive control value-corresponding information t1 and the actual focal length exceeds the permissible range, and shifts the processing to Step S260.
Also for the other drive control values of the drive control value-corresponding information t1, the focal length obtaining unit 13 implements the field calibration of the focal length of the zoom camera 32 (Step S260), and based on the calibrated focal length of the zoom camera 32, updates the drive control value-corresponding information t1 stored in the drive control value-corresponding information storage unit 47b (Step S270), and ends the field calibration of the drive control value-corresponding information t1.
In accordance with the field calibration of the drive control value-corresponding information t1, an error in the relationship between the drive control value 51 and the focal length f2 of the zoom camera 32, which is caused by a change with time, and the like, can be calibrated, and the focal length f2 of the zoom camera 32, which is approximate to a true value, can be obtained based on the drive control value 51.
⊙ Operation Flow of Creation of Stereoscopic Image:
First, the zoom control unit 17 sets the angle of view of the zoom camera 32 by zooming the zoom camera 32 (Step S310).
Based on the operation mode set from the operation unit 42 in advance, the focal length obtaining unit 13 performs the obtainment of the focal length of the zoom camera 32 at the subject measurement time in Step S320 or Step S322.
◯ Obtainment of Focal Length of Zoom Camera 32 at Subject Measurement Time:
When Step S320 of
The focal length obtaining unit 13 obtains the focal length f2 (
When Step S322 of
In this case, the reference focal length fm becomes the focal length f2 of the zoom camera 32 at the subject measurement lime.
Returning to
◯ Estimation of Camera Parameter:
Note that the estimation of the second camera parameter p2 by the focal length obtaining unit 13 is performed, for example, in such a manner as follows.
First, a focal length fa smaller than the focal length f2 of the zoom camera 32 and a focal length fb larger than the focal length f2 are obtained from the focal length information defined in the parameter-corresponding information t2, and a weight W is obtained by Expression (6).
Second camera parameters pa and pb, which correspond to the focal lengths fa and fb, respectively, are obtained based on the parameter-corresponding information t2, and the second camera parameter p2 is estimated by Expression (7) by using the weight w and the second camera parameters pa and pb.
[Expression 6]
w=(f2−fa)/(fb−fa) (6)
p2=pa+w×(pb−pa) (7)
Returning to
When the imaging of the subject is implemented, the focal length obtaining unit 13 obtains the first image g1 and the second image g2, which are imaged by the unifocal camera 31 and the zoom camera 32, respectively (Step S350), and supplies the first image g1 to the three-dimensionalization unit 15, and in addition, supplies the second image g2 to the three-dimensionalization unit 15, the pseudo image creating unit 16 and the display unit 43.
By using the second camera parameter p2 of the zoom camera 32, and the first camera parameter p1 of the unifocal camera 31 and the base length b of the stereo camera, which are obtained from the three-dimensionalization parameter storage unit 47d, the three-dimensionalization unit 15 obtains the distance information 52 of the subject from the first image g1 and the second image g2 by the principle of the triangulation (Step S360).
For the second image g2, the pseudo image creating unit 16 creates the pseudo image 53, which corresponds to the imaging from another viewpoint, based on the distance information 52 (Step S370).
When the pseudo image 53 is created, the CPU 11A displays the second image g2 and the pseudo image 53 as the stereoscopic images on the display unit 43 (Step S380).
The description has been made above of the embodiment of the present invention; however, the present invention is not limited to the foregoing embodiment, and is modifiable in various ways.
Each of the stereo cameras described in the embodiment includes the unifocal camera 31 and the zoom camera 32; however, for example, even if another zoom camera different from the zoom camera 32 is adopted in place of the unifocal camera 31, and the standard image is imaged by using another zoom camera concerned in the optical state having the known focal distance, the usefulness of the invention of this application is not damaged.
While the invention has been shown and described in detail, the foregoing description is in all aspects illustrative and not restrictive. It is therefore understood that numerous modifications and variations can be devised without departing from the scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2010-098669 | Apr 2010 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP2011/058915 | 4/8/2011 | WO | 00 | 10/22/2012 |