The present invention relates to generation of data representing a light field.
The acquisition of four-dimensional or 4D light-field data, which can be viewed as a sampling of a 4D light field, i.e. the recording of light rays, is explained in the article “Understanding camera trade-offs through a Bayesian analysis of light field projections” by Anat Levin and al., published in the conference proceedings of ECCV 2008 is an hectic research subject.
Compared to classical two-dimensional or 2D images obtained from a camera, 4D light-field data enable a user to have access to more post-processing features that enhance the rendering of images and the interactivity with the user. For example, with 4D light-field data, it is possible to perform refocusing of images with freely selected distances of focalization meaning that the position of a focal plane can be specified/selected a posteriori, as well as changing slightly the point of view in the scene of an image. In order to acquire 4D light-field data, several techniques can be used. For example, a plenoptic camera is able to acquire 4D light-field data. Details of the architecture of a plenoptic camera are provided in
Another way to acquire 4D light-field data is to use a camera array as depicted in
In the example of the plenoptic camera 100 as shown in
At last, another way of acquiring a 4D light field is to use a conventional camera that is configured to capture a sequence of 2D images of a same scene at different focal planes. For example, the technique described in the document “Light ray field capture using focal plane sweeping and its optical reconstruction using 3D displays” by J.-H. Park et al., published in OPTICS EXPRESS, Vol. 22, No. 21, in October 2014, may be used to achieve the acquisition of 4D light field data by means of a conventional camera.
There are several ways to represent 4D light-field data. Indeed, in the Chapter 3.3 of the Ph.D dissertation thesis entitled “Digital Light Field Photography” by Ren Ng, published in July 2006, three different ways to represent 4D light-field data are described. Firstly, 4D light-field data can be represented, when recorded by a plenoptic camera by a collection of micro-lens images. 4D light-field data in this representation are named raw images or raw 4D light-field data. Secondly, 4D light-field data can be represented, either when recorded by a plenoptic camera or by a camera array, by a set of sub-aperture images. A sub-aperture image corresponds to a captured image of a scene from a point of view, the point of view being slightly different between two sub-aperture images. These sub-aperture images give information about the parallax and depth of the imaged scene. Thirdly, 4D light-field data can be represented by a set of epipolar images see for example the article entitled: “Generating EPI Representation of a 4D Light Fields with a Single Lens Focused Plenoptic Camera”, by S. Wanner and al., published in the conference proceedings of ISVC 2011.
There are several types of plenoptic devices and camera arrays available on the market, and all these light field acquisition devices have their proprietary file format. Thus it appears that light-field technology cannot live besides regular 2D or 3D imaging as there is no standard supporting the acquisition and transmission of multi-dimensional information. The present invention has been devised with the foregoing in mind.
According to a first aspect of the invention there is provided an apparatus for calibrating an optical acquisition system, said apparatus comprising a processor configured to
According to an embodiment of the invention, the parameters defining a ray comprise coordinates of a point through which the ray is passing and a set of direction cosines of a direction vector defining said ray in a coordinate system comprising three coordinates axes.
According to an embodiment of the invention, the parameters defining the first ray are the coordinates () of the centre of the pixel and the set of direction cosines:
the origin of the coordinate system being the centre of the pupil.
According to an embodiment of the invention, the parameters defining the second ray are the coordinates of the first point located in the sensor plane and belonging to a circle of radius a centred on the pixel and the set of direction cosines:
the origin of the coordinate system being the centre of the pupil.
According to an embodiment of the invention, the processor is configured to compute the parameters of the conjugates of the first ray of light and the second ray of light in an object space of the optical acquisition system consists in tracing the first ray and the second ray in the object space based on the parameters defining said first ray and said second ray in the image space and on design parameters of the optical.
Another object of the invention concerns a method for calibrating an optical acquisition system, comprising:
According to an embodiment of the invention, the parameters defining a ray comprise coordinates of a point through which the ray is passing and a set of direction cosines of a direction vector defining said ray in a coordinate system comprising three coordinates axes.
According to an embodiment of the invention, the parameters defining the first ray are the coordinates (p,p,p) of the centre of the pixel and the set of direction cosines:
the origin of the coordinate system being the centre of the pupil.
According to an embodiment of the invention, the parameters defining the second ray are the coordinates of the first point located in the sensor plane plane and belonging to a cercle of radius a centred on the pixel and the set of direction cosines:
the origin of the coordinate system being the centre of the pupil.
According to an embodiment of the invention, computing the parameters of the conjugates of the first ray of light and the second ray of light in an object space of the optical acquisition system consists in tracing the first ray and the second ray in the object space based on the parameters defining said first ray and said second ray in the image space and on design parameters of the optical system.
Another object of the invention is a light field imaging device comprising:
Another object of the invention is a digital file comprising calibration data of an optical acquisition system, said calibration data comprising:
Some processes implemented by elements of the invention may be computer implemented. Accordingly, such elements may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit”, “module” or “system’. Furthermore, such elements may take the form of a computer program product embodied in any tangible medium of expression having computer usable program code embodied in the medium.
Since elements of the present invention can be implemented in software, the present invention can be embodied as computer readable code for provision to a programmable apparatus on any suitable carrier medium. A tangible carrier medium may comprise a storage medium such as a floppy disk, a CD-ROM, a hard disk drive, a magnetic tape device or a solid state memory device and the like. A transient carrier medium may include a signal such as an electrical signal, an electronic signal, an optical signal, an acoustic signal, a magnetic signal or an electromagnetic signal, e.g. a microwave or RF signal.
Embodiments of the invention will now be described, by way of example only, and with reference to the following drawings in which:
As will be appreciated by one skilled in the art, aspects of the present principles can be embodied as a system, method or computer readable medium. Accordingly, aspects of the present principles can take the form of an entirely hardware embodiment, an entirely software embodiment, (including firmware, resident software, micro-code, and so forth) or an embodiment combining software and hardware aspects that can all generally be referred to herein as a “circuit”, “module”, or “system”. Furthermore, aspects of the present principles can take the form of a computer readable storage medium. Any combination of one or more computer readable storage medium(a) may be utilized.
For any optical acquisition system, may it be plenoptic or not, in addition to raw images or epipolar images representing 4D light-field data captured by the optical acquisition system, it is interesting to obtain information related to a correspondence between pixels of a sensor of said optical acquisition system and an object space of said optical acquisition system. Knowing which portion of the object space of an optical acquisition system a pixel belonging to the sensor of said optical acquisition system is sensing enables the improvement of signal processing operations such as de-multiplexing, de-mosaicking, refocusing, etc., and the mixing of images captured by different optical systems with different characteristics. Furthermore, information related to the correspondence between the pixels of the sensor of the optical acquisition system and the object space of said optical acquisition system are independent of the optical acquisition system.
The present disclosure introduces the notion of pixel beam 10, shown on
For example, an adjustable diaphragm located near the front of a camera lens is the aperture stop for the lens. The amount of light admitted through the diaphragm is controlled by the diameter of the diaphragm opening which may adapted depending of the amount of light a user of the camera wishes to admit. For example, making the aperture smaller reduces the amount of light admitted through the diaphragm, but increases the depth of focus. The effective size of a stop may be larger or smaller than its physical size because of the refractive action of a lenses. Formally, a pupil is the image of the aperture stop through preceding lenses of the optical system of the optical acquisition system.
A pixel beam 10 is defined as a pencil of rays of light that reach a given pixel 22 when propagating through the optical system 21 via an entrance pupil 24. As light travels on straight lines in free space, the shape of such a pixel beam 20 can be defined by two sections, one being the conjugate 25 of the pixel 22, and the other being the entrance pupil 24. The pixel 22 is defined by its non-null surface and its sensitivity map.
Thus, a pixel beam 30 may be represented by an hyperboloid of one sheet, as shown on
A hyperboloid of one sheet is a ruled surface that can support the notion of pencil of rays of light and is compatible with the notion of “étendue” of physical light beams, i.e. the preservation of energy across sections of the physical light beams.
A hyperboloid of one sheet corresponds to the geometry of a Gaussian beam. Indeed, in optics, a Gaussian beam is a beam of monochromatic electromagnetic radiation whose transverse magnetic and electric field amplitude profiles are given by a Gaussian function; this also implies a Gaussian intensity profile. This fundamental transverse Gaussian mode describes an intended output of most lasers, since such a beam of light can be focused into the most concentrated spot.
The equations below assume a beam with a circular cross-section at all values of this can be seen by noting that a single transverse dimension, r, appears.
At a position along the beam (measured from the focus), the spot size parameter w is given by1
where w0 is the waist size.
As represented on
Although the tails of a Gaussian function never actually reach zero, for. This means that far from the waist, the beam “edge” is cone-shaped. The angle between lines along that cone (whose r=w(z)) and the central axis of the beam (r=0) is called the divergence of the beam.
The total angular spread of the beam far from the waist is then given by Θ=2θ.
As represented on
The apparatus 500 comprises a processor 501, a storage unit 502, an input device 503, a display device 504, and an interface unit 505 which are connected by a bus 506. Of course, constituent elements of the computer apparatus 500 may be connected by a connection other than a bus connection.
The processor 501 controls operations of the apparatus 500. The storage unit 502 stores at least one program capable of calibrating the optical acquisition system to be executed by the processor 501, and various data, including parameters related to rays defining the pixel beams 10, 20, 30, 40 of the optical acquisition system or parameters related to the optical system 21 of the optical acquisition system, parameters used by computations performed by the processor 501, intermediate data of computations performed by the processor 501, and so on. The processor 501 may be formed by any known and suitable hardware, or software, or a combination of hardware and software. For example, the processor 501 may be formed by dedicated hardware such as a processing circuit, or by a programmable processing unit such as a CPU (Central Processing Unit) that executes a program stored in a memory thereof.
The storage unit 502 may be formed by any suitable storage or means capable of storing the program, data, or the like in a computer-readable manner. Examples of the storage unit 502 include non-transitory computer-readable storage media such as semiconductor memory devices, and magnetic, optical, or magneto-optical recording media loaded into a read and write unit. The program causes the processor 501 to perform a process for calibrating the optical acquisition system according to an embodiment of the present disclosure as described hereinafter with reference to
The input device 503 may be formed by a keyboard, a pointing device such as a mouse, or the like for use by the user to input commands, to make user's selections of parameters used for generating a parametric representation of a volume occupied by a set of rays of light in an object space of an optical system. The output device 504 may be formed by a display device to display, for example, a Graphical User Interface (GUI), or files comprising the parameters of the different pixel beams computed by the processor 501 during the calibration of the optical acquisition system according to an embodiment of the present disclosure. The input device 503 and the output device 504 may be formed integrally by a touchscreen panel, for example.
The interface unit 505 provides an interface between the apparatus 500 and an external apparatus. The interface unit 505 may be communicable with the external apparatus via cable or wireless communication. In an embodiment, the external apparatus may be an optical acquisition system.
Such a calibrating method enables to obtain parameters defining the different pixel beams associated to the pixels of the sensor 23 of the optical acquisition system.
A pixel beam 10, 20, 30, 40 is represented as a hyperboloid of one sheet. The general equation of a hyperboloid of one sheet an axis z of a coordinate system comprising three coordinates axes x, y, z is:
where p is the position of the waist 35 of the pixel beam on the z axis, a, a and c are the length of the semi-axes of the hyperboloid along the x, y and z axes respectively and are homologous to the length of semi-axes along Ox, Oy, Oz respectively, where a represents the radius of the of waist along Ox; b represents the radius of the waist along Oy and c defines an angular aperture of the pixel beam. In some embodiments of the invention, a and b have identical values, in these cases, the waist has a circular shape. The origin of the coordinate system being the centre of the pupil which coordinates are (0, 0, 0).
As represented on
As a ruled surface, a hyperboloid can be generated by generating rays 71. The generating rays are straight lines describing the surface of the hyperboloid. A generating ray 71 is a straight line passing through two points belonging to the surface of the hyperboloid, a first point belonging to a plane of the sensor 23 of the optical acquisition system and the surface of the hyperboloid, and a second point belonging to a plane of the pupil 73 and the surface of the hyperboloid. The chief ray of a hyperboloid and the generating rays describing its surface are not parallel to each other and they never intercept each other.
A straight line can be defined by six parameters: the three coordinates (,,) of a point through which the straight line is passing and three direction cosines (l, m, n) of a direction vector defining said straight line in the coordinate system.
In a step 601, the processor 501 computes the parameters defining the chief ray 70 in the image space of the optical acquisition system.
A hyperboloid which chief ray is oriented in direction (θx, θy) is defined by the following equation:
where tx=tan θx and ty=tan θy.
In that case, the chief ray 70 is defined by:
where (p,p,p) are the coordinates of the centre of the pixel 22 in the coordinate system.
The direction cosines of the direction vector defining the chief ray are thus:
the origin of the coordinate system being the centre of the pupil.
Thus in a step 602, the processor 501 computes the values of the of the coordinates of the centre of the pixel 22 and the values of the directions cosines defining the chief ray of the pixel beam associated to the pixel 22 based on equation (4) and the parameters of the optical system 21 of the optical acquisition system such as the distance between a pupil and the pixel 22 defining the pixel beam.
The parameters defining the chief ray of the pixel beam computed during step 602 are stored in the storage unit 502 of the apparatus 500.
In a step 603, the processor 501 computes a correction of the shear of the chief ray 70. The unshearing of the chief ray consists in writing: (5):
x′=x−z·t
x and y′=y−z·ty, and xp′=xp−z·tx and yp′=yp−z·tx
In a step 604, the processor computes the parameters defining the generating ray 71 in the image space of the optical acquisition system. Let us consider the following equation:
where r is the radius of the pupil.
In reference to
The straight line is thus defined by the two points: G which coordinates are (a, 0, p) and I which coordinates are (a, √{square root over (r2−r2, )}0).
The coordinates of vector {right arrow over (IG)} defining the straight line g are:
v
x′=0, vy′=√{square root over (r2−a2)}, vz=−zp
Thus the direction cosines of vector {right arrow over (IG)} are:
When the pixel plane is shifted by (+xp′, +yp′)=(), the straight line g passes through points G which coordinates are (xp
The coordinates of vector {right arrow over (IG)} defining the straight line g are:
v
x′
=−x
p
′, v
y′=√{square root over (r2−a2)}−yp′, vz=−zp
Thus the direction cosines of vector {right arrow over (IG)} are:
The generating ray 71 is defined by the coordinates (xp′+a, yp′, p) of point G and the direction cosines:
Thus in a step 605, the processor 501 computes the values of the of the coordinates of point G and the values of the directions cosines defining the generating ray 71 of the pixel beam associated to the pixel 22 based on equation (6) and the parameters of the optical system 21 of the optical acquisition system such as the distance between a pupil and the pixel 22 defining the pixel beam.
The parameters defining the generating ray of the pixel beam computed during step 605 are stored in the storage unit 502 of the apparatus 500. During a step 606, knowing the parameters representing the chief ray 70 and the generating ray 71 in the image space, the processor 501 computes the values of said parameters in the object space thus obtaining the parameters of the pixel beam.
This computation is realized for example with the processor 501 of the apparatus 500 running a program capable of modelling a propagation of rays of light through the optical system 11. Such a program is for example an optical design program such as Zemax©, ASAP© or Code V©. An optical design program is used to design and analyze optical systems 11. An optical design program models the propagation of rays of light through the optical system 11; and can model the effect of optical elements such as simple lenses, aspheric lenses, gradient index lenses, mirrors, and diffractive optical elements, etc. A library of commercial lenses is store in the storage unit 502 of the apparatus 500 and is accessible to the processor 501 when it executes the optical design program.
Although the present invention has been described hereinabove with reference to specific embodiments, the present invention is not limited to the specific embodiments, and modifications will be apparent to a skilled person in the art which lie within the scope of the present invention.
Many further modifications and variations will suggest themselves to those versed in the art upon making reference to the foregoing illustrative embodiments, which are given by way of example only and which are not intended to limit the scope of the invention, that being determined solely by the appended claims. In particular the different features from different embodiments may be interchanged, where appropriate.
Number | Date | Country | Kind |
---|---|---|---|
15306447.2 | Sep 2015 | EP | regional |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/EP2016/072072 | 9/16/2016 | WO | 00 |