Apparatus and method for snapshot spectral imaging
09823126 · 2017-11-21
Assignee
Inventors
- Michael Golub (Rehovot, IL)
- Amir Averbuch (Tel Aviv, IL)
- Menachem Nathan (Tel Aviv, IL)
- Roman Malinsky (Holon, IL)
- Valery Zheludev (Tel Aviv, IL)
Cpc classification
G01J3/027
PHYSICS
G01J3/0205
PHYSICS
G01J3/36
PHYSICS
International classification
Abstract
Apparatus and method for obtaining a plurality of spectral images of a source object in a snapshot using comprising two-dimensional compressed sensing data cube reconstruction (2D CS-SCR) applied to a dispersed-diffused snapshot image. In some embodiments, the snapshot image is obtained through a RIP diffuser. In some embodiments, a randomizer is used to further randomized the dispersed-diffused snapshot image. The 2D CS-SCR includes applying a 2D framelet transform separately to arrays representing different wavebands of spectral cube data derived from the snapshot image. The application of the 2D framelet transform separately to the arrays representing the different wavebands includes application of direct and inverse 2D framelet transforms to the arrays. In some embodiments, the direct and inverse framelet transforms are included in a split Bregman iteration.
Claims
1. An apparatus for obtaining a plurality of spectral images of a source object in a snapshot, comprising: a) an imaging section of a digital camera that includes a lens and a pixelated image sensor, the imaging section configured to obtain a diffused and dispersed (DD) snapshot image Y; and b) a digital processor configured to perform two-dimensional compressed sensing spectral cube reconstruction (2D CS-SCR) from snapshot image Y by applying a 2D framelet transform separately to arrays representing different wavebands of spectral cube data derived from snapshot image Y, thereby providing images of the source object in a plurality of spectral bands.
2. The apparatus of claim 1, wherein the configuration to apply a 2D framelet transform separately to arrays representing different wavebands of spectral cube data includes a configuration to apply direct and inverse 2D framelet transforms to the arrays representing the different wavebands.
3. The apparatus of claim 2, wherein the direct and inverse framelet transforms are included in a split Bregman iteration.
4. The apparatus of claim 1, wherein further comprising a restricted isometry property (RIP) diffuser inserted in an optical path between the source object and the image sensor, the RIP diffuser designed to satisfy a RIP condition related to a sensing matrix A, wherein the processor configuration includes a configuration to transpose matrix A to a transposed matrix A .sup.T, to apply A .sup.T to Y to obtain a matrix A .sup.T Y, to apply a 2D direct sparsifying transform D to matrix A .sup.T Y to obtain a sparse version d of a reconstructed data cube X, to use an inverse transform Ψ to obtain X from d, and to process X to obtain the images of the source object in the plurality of spectral bands.
5. The apparatus of claim 4, wherein the RIP diffuser is the form of a random phase mask implemented as a 1D grid of random groove depth steps.
6. The apparatus of claim 5, wherein the grid of random groove steps includes a randomized saw-tooth structure.
7. The apparatus of claim 1, wherein the processor is included in the digital camera.
8. The apparatus of claim 1, further comprising a randomizer configured to randomize snapshot image Y to obtain a randomized image, wherein the processor is further configured to perform the 2D CS-SCR from the randomized image.
9. The apparatus of claim 8, wherein the randomizer is implemented as a thin optical element positioned adjacent to, or at an image sensor plane.
10. The apparatus of claim 9, wherein the randomizer element includes a pixelated structure identical with the image sensor pixelated structure.
11. The apparatus of claim 10, wherein the randomizer pixelated structure includes a random structure of pixels varying in transparency from 0 to 100%.
12. The apparatus of claim 8, wherein the randomizer is implemented as a software module in the processor.
13. A method for obtaining a plurality of spectral images of a source object in a snapshot, comprising the steps of: a) obtaining a diffused and dispersed (DD) snapshot image Y; and b) performing a two-dimensional compressed sensing data cube reconstruction (2D CS-SCR) from snapshot image Y, wherein the step of performing a 2D CS-SCR from snapshot image Y includes applying a 2D framelet transform separately to arrays representing different wavebands of a spectral cube data derived from snapshot image Y, thereby providing images of the source object in a plurality of spectral bands.
14. The method of claim 13, wherein the step of obtaining the DD snapshot image Y includes imaging the source object with an imaging section of a digital camera that includes a lens and a pixelated image sensor.
15. The method of claim 14, wherein the step of imaging further includes imaging the source object through a restricted isometry property (RIP) diffuser inserted in an optical path between the source object and the image sensor, wherein the RIP diffuser satisfies a RIP condition related to a sensing matrix A.
16. The method of claim 15, wherein the step of performing a 2D CS-SCR from snapshot image Y includes: i. transposing sensing matrix A into a transposed matrix A .sup.T, ii. applying A .sup.T to snapshot image Y to obtain a matrix A .sup.T Y, ii applying a 2D direct sparsifying transform D to matrix A .sup.T Y to obtain a sparse version d of a reconstructed data cube X, iv. using an inverse transform Ψ to obtain X from d, and v. processing X by a split Bregman iteration to obtain the images of the source object in the plurality of spectral bands.
17. The method of claim 13, wherein the applying a 2D framelet transform separately to arrays representing different wavebands of spectral cube data includes applying direct and inverse 2D framelet transforms to arrays representing the different wavebands.
18. The method of claim 17, wherein the direct and inverse framelet transforms are included in a split Bregman iteration.
19. The method of claim 13, further comprising the step of randomizing the DD image to obtain a randomized image, wherein the step of performing a 2D CS-SCR includes performing the 2D CS-SCR from the randomized image.
20. The method of claim 19, wherein the step of randomizing includes using a thin optical randomizer element inserted between the RIP diffuser and the image sensor.
21. The method of claim 19, wherein the step of performing the 2D CS-SCR from the randomized image includes applying a 2D framelet transform separately to arrays representing different wavebands of a spectral cube data derived from the randomized image.
22. The method of claim 19, wherein the step of randomizing includes randomizing using a software-implemented randomizer.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) Aspects, embodiments and features disclosed herein will become apparent from the following detailed description when considered in conjunction with the accompanying drawings. Like elements may be numbered with like numerals in different figures, wherein:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
(19)
(20)
(21)
(22)
(23)
(24)
DETAILED DESCRIPTION
(25) SSI Apparatus without Randomizer
(26)
(27) Apparatus 100 is in principle similar to apparatus disclosed in US 20130194481 (e.g. apparatus 200 therein) except that processor 110 is configured to perform 2D CS-SCR instead of the 1D CS-SCR disclosed in US 20130194481. A detailed and enabling example of the 2D CS-SCR process is provided below. Optionally, apparatus 100 may include an added external (to the camera) digital processor 105 configured to perform some or all of the 2D CS-SCR disclosed herein.
(28)
(29) Mathematical Model of the Optical System
(30) The following model is described with reference to a single lens SSI apparatus as in
(31) Representation of a Diffused Image as a Convolution Between an Original Image and a Point Spread Function (PSF)
(32) Suppose that an ideal original image of a source object obtained (without use of diffuser or randomizer) has an intensity distribution I.sub.0(x, y; λ), which is a cross section of a data cube at wavelength λ. The RIP diffuser has a complex transmission function P:
P(υ′;λ)=exp[iφ(υ′;λ)] (1)
where φ(υ′; λ) is a phase function of the diffuser at wavelength λ. When installed into the optical system, the RIP diffuser converts the original image to a DD image, since the imaging system ceases to be ideal. The shape and characteristics of the DD image can be calculated as function of P and of the original image. The coherent point-spread function of the system can be calculated as Fourier transform of P:
(33)
and describes the system's impulse response for the delta function at input, in complex amplitude of the electromagnetic field, where R is a distance from the exit pupil to the image sensor of the imaging system. If the light is incoherent, one can measure only the intensity of light received by the image sensor. Accordingly, the system's impulse response in intensity is described by the incoherent PSF h.sub.I(y′; λ) given by:
h.sub.I(y′;λ)=|h(y′;λ)|.sup.2λ.sup.2 (3)
(34) A spatially shift invariant model imaging system provides the DD image intensity as a 1D convolution I′=h.sub.I{circle around (x)}I of the ideal (“non-dispersed”) image I with the incoherent PSF h.sub.I:
I′(x,y′;λ)=∫h.sub.I(y′−y;λ)I(x,y;λ)dy (4)
where I(x, y; λ.sub.l) is the intensity of an ideal image of a spatially incoherent source object obtained by the imaging system without use of diffuser or randomizer at wavelength λ.sub.I, and x, y are Cartesian coordinates at the image sensor. Note that a 1D convolution is calculated separately for each coordinate x of the ideal image.
Representing the DD or Randomized Image, the Data Cube and the PSF as Matrices
(35) Since the DD image is taken with a pixelated image sensor, it is in effect sampled and can be represented as a matrix of the intensity in each pixel. The incoherent PSF can also be represented by a Toeplitz matrix that represents convolution Eq. (4). The image sensor has naturally a discrete pixelated structure characterized by a 2D spatial pitch δ.sub.x×δ.sub.y, a number N.sub.x,N.sub.y of pixels and a number N.sub.b of bits per pixel. In an embodiment, an imaging zoom is chosen such that an image blur caused by the RIP diffuser causes the dispersed-diffused image to occupy all N.sub.y pixels in each column and all N.sub.x pixels in each row at the image sensor. Accordingly, an “undiffused-undispersed image” obtained without the RIP diffuser at the same zoom occupies only a smaller number N<N.sub.y of pixels located in a central part of each column and all N.sub.x pixels in each row at the image sensor. The data cube is defined as a 3D array with size N.sub.x×N×L, where N.sub.x,N are spatial dimensions and L is a spectral dimension, i.e. the number of spectral bands or wavelengths in the spectral image. Even though the number N.sub.x×N.sub.y of sensed pixels (i.e. dimensions of experimental data) may be substantially smaller than number of voxels in a targeted 3D data cube with dimensions N.sub.x×N×L, we suggest a solution for the 3D data cube by resorting to a CS approach and making use of implicit redundancy in the image data. The suggested solution provides the data compression rate N×L/N.sub.y.
(36) Following discrete notations customary in CS, we define the following index ranges: a range i=
(37)
The voxels of data cube share spatial pitches of the sensor but have a different index range, so their indices are shifted by:
(38)
and their Cartesian coordinates are x.sub.j and y.sub.i+i.sub.
N.sub.d=D.sub.υ′/Δυ′ (6)
vertical straight line strips extending parallel to the u′ axis, with widths Δυ′ and centers
(39)
Therefore the RIP diffuser can be described by a complex piece-wise constant pupil function that depends only on the coordinate υ′:
(40)
where φ.sub.k,l is a phase constant within a width Δυ′ of the k.sup.th strip on the RIP diffuser, k=
(41) Equations (2) and (3) for the incoherent PSF provide a discrete convolution kernel as a Toeplitz convolution matrix for each wavelength:
(42)
where the convolution kernel is:
(43)
and P.sub.kl is defined by Eq. (9). Note that array K.sub.Δi′,l for fixed l=
X.sub.i,l.sup.(j)=I(x.sub.j,y.sub.i+i.sub.
A discrete version of the ideal image intensity in each spectral band l=
X=(X.sub.i,l.sup.(j),i=
In other words, X is a matrix that represents a spatial-spectral data cube.
(44) Assuming that the optical system allows only 1D dispersion such that the two spatial dimensions x, y of the image are not mixed, each column of a DD image can be considered separately. Each column includes the image data (for the image matrix) and the corresponding transfer function (PSF matrix). Moreover, because the dispersion is only 1D, the columns of the PSF are identical, which allows to drop the column index j for the PSF. Therefore, at each wavelength, Eq. (4) of the continuous 1D convolution can be rewritten as a discrete 1D convolution applied separately for each of N.sub.x image columns. The contribution of light with single wavelength λ.sub.l to discrete pixels of the DD image can be expressed in discrete form as
(45)
where j is the number of a column in the DD image as well as in the data cube and K.sub.i′−i,l are elements of a Toeplitz “convolution matrix”. Equation (15) shows that in a single spectral band, light intensity formed by the imaging lens on the image sensor is described as the discrete convolution of the data cube and elements of a Toeplitz matrix, defined by Eqs. (10) and (11).
SSI Apparatus with Randomizer
(46)
(47)
(48) The RIP diffuser in the embodiments of
(49) Contribution of the Randomizer
(50) The randomizer randomizes the Toeplitz structure of the initial measurement matrix and allows reconstruction for reasonably sparse real images. The randomizer can be represented as a 2D matrix with random elements R.sub.i′,j, i′=
R.sub.i′,jI′(x.sub.j,y.sub.i′;λ.sub.l),i=
where only a single column (R.sub.i′,j, i′=
R.sub.i′,j≡1,i=
In one embodiment, the randomizer may be implemented as an algorithm and software code for the digital processor of a photo or video camera or an external to camera laptop or desktop computer. In another embodiment, the randomizer may be implemented as hardware, in particular as an optical element placed between the imaging lens and an image sensor of photo or video camera, preferably in close vicinity to, or mounted on the image sensor.
(51) The contribution of light with an entire set of wavelengths to discrete pixels of the DD image in CS for spectral imaging is denoted as Y.sub.i′.sup.(j) and can be expressed as a sum of the intensities of DD images over all the wavelengths at each image sensor pixel to obtain the sensed intensity:
(52)
The non-negative numbers κ.sub.l (in our computer simulations below κ.sub.l=1) characterize a relative spectral sensitivity of the image sensor at wavelength λ.sub.l, and coefficients A.sub.i′,i,l.sup.(j) describe the combined effect of the RIP diffuser and the randomizer R.sub.i′,j,
A.sub.i′,i,l.sup.(j)=R.sub.i′,jB.sub.i′,i,l,i=
B.sub.i′,i,l=κ.sub.lK.sub.i′−i,l,i=
Therefore, the randomizer breaks the Toeplitz structure of the sensing matrix at each wavelength, creating an even more random structure for the signal. It changes randomly the amplitude received by each image sensor pixel, thus improving the ability to fulfill the RIP condition.
(53) In an embodiment with a single version of a randomizer (“single randomization” action), multiplication at the images sensor pixels of the acquired DD image pixels with the gray-level pixels of the randomizer may render some of the image sensor pixels actually unused. For example zero or near-zero values of randomizer pixels will cause respective image sensor pixels to appear as zero or near-zero, i.e. actually missing. Use of such a randomizer may lead to some loss of light flux and to a reduction in the throughput and sensitivity of the SI camera. The latter are however very important for reduction of noise in a SI camera with a RIP diffuser and monochromatic image sensor. High throughput and sensitivity of a SI camera as disclosed herein may be achieved by using multiple versions of the SW randomizer (also referred to as “multiple randomization”), described below.
(54) Compressed Sensing Formulation
(55) It appears convenient for mathematical considerations to concatenate spectral and vertical spatial dimensions in a data cube, i.e. to substitute two indices i,l by a single index in arrays X.sub.i,l.sup.(j) and A.sub.i′,i,l.sup.(j). Accordingly, we resort to 1D vectors X.sup.(j) with enlarged length NL:
(56)
The entire set of N.sub.x column vectors X.sup.(j), j=
X=[X.sup.(j),j=
with size NL×N.sub.x, which contains all the spectral cube's data. The matrix X can be alternatively split into L spectral dimensions
(57)
such that each spectral dimension is described by a sub-matrix X.sub.l of size N×N.sub.x. A N.sub.y×NL dimensional sensing matrix
A=(A.sub.i′,i,l,i′=
can be treated as a block-wise rectangular matrix A=[A.sub.1, A.sub.2, . . . A.sub.L] composed of L sub-matrices A.sub.l of size N.sub.y×N each. Each sub-matrix A.sub.l corresponds to a single wavelength. Matrix A provides a high level of randomization by integrating effects of the RIP diffuser and (when present) of the randomizer. We also define a vector of the DD image:
(58)
Note that vector X.sup.(j) is the data we wish to reconstruct from the one-column sensed vector Y.sup.(j). The entire set of N.sub.x column vectors Y.sup.(j), j=
Y=[Y.sup.(j),j=
with size N.sub.y×N.sub.x. Matrix X is the spectral data we wish to reconstruct from sensed intensity matrix (or snapshot image) Y. Eq. (17) can now be expressed in a matrix form as a multiplication of a vector with length NL over a matrix with dimensions N.sub.y×NL. The multiplication results in a vector with a smaller length N.sub.y:
Y.sup.(j)=AX.sup.(j). (26)
Accordingly, for the 2D data processing, merged vectors and matrices can be expressed in matrix form as a multiplication of a matrix of size N.sub.y×NL with a matrix with dimensions NL×N.sub.x, resulting in a matrix of smaller size N.sub.y×N.sub.x:
Y=AX. (27)
(59) Equation (26) provides the CS model for each column j, and Eq. (27) provides the CS model for the entire two-dimensional DD image at the image sensor. The CS problem is in reconstruction of a matrix X such that to satisfy Eq. (27) with a given matrix Y.
(60) Due to the compressibility property of the source object, this object can be sparsely represented in a space in which it is sparse. The sparse representation of the source object can be reconstructed from the dispersed image by performing minimization of a functional that comprises the l.sub.2 norm of difference between a reconstructed vector of the source object multiplied by the sensing matrix and the dispersed image. Therefore, the l.sub.1 norm of the coordinates in the space in which the object is also sparse. The minimization process (with the constraint) can be exemplarily achieved via a split Bregman iteration process [Z. Cai et al., SIAM J. of Multiscale Modeling and Simulation, Vol. 8(2), pp. 337-369, 2009, hereinafter “Cai”]. This process has been known to be an efficient tool for CS reconstruction. The split Bregman iteration is an iterative algorithm involving a closed loop, with the reconstruction constrained l.sub.1 error serving as the feedback to the loop and with a shrinking operation that ensures a sparse reconstruction.
(61) Since A is a N.sub.y×NL matrix and L>1, the number of unknown variables NL×N.sub.x is larger than the number N.sub.y×N.sub.x of equations. Accordingly, the problem seems to be ill-posed and cannot be solved in general case. The CS sensing theory addresses, however, a specific case when matrix X is compressible and can thus be represented as a linear transform of a K-sparse matrix d in some (possibly redundant) basis, where d=DX is a matrix having only K non-zero elements with known locations and D is a sparsifying matrix. A sparsifying matrix is a matrix that converts a vector or array to a sparse matrix, i.e. to a matrix having only a small number of non-zero elements. The redundant basis may be implemented exemplarily by resorting to 2D framelet transforms, described in more detail in the “Spline-based frames for spectral image reconstruction” section below. We are hereby applying, for the first time, 2D semi-tight wavelet frames (or framelets) originating from quadratic quasi-interpolating polynomial splines to spectral image reconstruction in CS-based spectral imaging. A detailed description of spline-based frames, and, in particular the development of a variety of low-pass filters h.sup.0 from interpolating and quasi-interpolating polynomial splines, may be found in A. Averbuch and V. Zheludev “Interpolatory frames in signal space”, IEEE Trans. Sign. Proc., 54(6), pp. 2126-2139, 2006. A description of framelets may be found in A. Averbuch, P. Neittaanmaki and V. Zheludev, “Splines and spline wavelet methods with application to signal and image processing. Volume I: Periodic splines”, Springer, 2014 (hereinafter “APZFrame”). In particular, we apply a 2D direct linear transform with a sparsifying matrix D to obtain a sparse version d of data cube X. In an embodiment, sparsifying matrix D may be the matrix of a direct 2D framelet transform, which is applied separately to each sub-matrix X.sub.l, l=1, . . . , L, of matrix X:
(62)
We apply a 2D inverse linear (exemplarily a frame) transform with matrix Ψ to obtain data cube X from its sparse version described by the K sparse matrix d:
(63)
which is a matrix of the inverse 2D framelet transform applied separately to each sub-matrix d.sub.l, l=1, . . . , L, of matrix d. Y can be now expressed in the form
Y=AX=AΨd=Θd, (30)
where Θ=AΨ. As well known, the RIP condition of order K in CS (see E. J. Candes and T. Tao, “Decoding by Linear Programming,” IEEE Trans. Information Theory 51(12): 4203-4215 (2005)) demands that any sub-matrix of Θ formed by zeroing all its columns, except for less than K ones, must satisfy the inequality:
(1−δ.sub.K)∥d∥.sub.l.sub.
for any K-sparse vector d, where δ.sub.K>0 is some small number, and ∥d∥.sub.l.sub.
(64) One of the best known examples for a sensing matrix satisfying the RIP condition is a random matrix or random Toeplitz matrix formed by Gaussian random variables with zero mean and 1/NL variance. In this case, the columns are approximately orthogonal and the RIP condition is satisfied with high probability if:
(65)
where 0<C≦1 is a constant. We reconstruct the spectral cube X from a given matrix Y by solving the following constrained minimization problem:
(66)
where DX is the block-wise 2D framelet transform of the matrix X as in Eq. (25), the l.sub.1 norm of a vector a is |a|.sub.l.sub.
(67) An approach to solve the minimization problem Eq. (33) was presented in Cai. The process works by introducing several additional variables, which are treated separately. In more detail, following the analysis performed there, the minimization for a linear operator A is performed by an iterative process
(68)
where k is a number of iteration, d.sup.k, and c.sup.k are the intermediate vectors, used to execute iterations, A.sup.T denotes a transposed matrix A and
shrink(x,γ)=sgn(x)max(|x|−γ,0). (35)
is a function applied to each component of a matrix. The parameters of the process μ, χ (where χ.sup.−1 is a shrinkage threshold) enable to give different significance or weight to the terms in the problem: ∥AX.sup.k+1−Y∥.sub.l.sub.
(69) After completion of the iterations, we have the compressible block-wise matrix for the reconstructed data cube:
X=Ψd (36)
comprising sub-matrices X.sub.l=Ψd.sub.l, l=1, . . . , L, where the sparse block-wise matrix d=DX. Reconstructed data cube components X.sub.l=Ψd.sub.l containing a reconstructed image in each spectral band are then represented by a matrix with size N×N.sub.x
(70)
where l=
(71)
at each spectral band.
RIP Diffuser Design with Permutations of Saw-tooth Diffraction Grating
(72) An exemplary 1D RIP diffuser implementation was described in US 20130194481. In mathematical terms, it is however convenient to scale it to the size of the exit pupil by a coefficient of pupil magnification. The grooves of the RIP diffuser in US 20130194481 were designed for a specific wavelength λ.sub.des with phase levels as shown in
(73) The RIP diffuser includes N.sub.d vertical straight line strips extending parallel to the u′ axis, with widths Δυ′ and centers υ.sub.k′ defined in Eq. (7). The groove depths h.sub.k are constant within the width Δυ′ of a k.sup.th strip. Each groove depth h causes at a wavelength λ a corresponding phase shift φ.sub.k,des given by the following paraxial case equation:
(74)
where n(λ) is the refractive index at wavelength λ. Since the phase is wavelength-dependent, each groove depth adds a different phase to light with a different wavelength. The phase additions for two different wavelengths are related by:
(75)
The approximation in previous equation can be applied because the refractive index n slowly varies with the wavelength. Therefore, if the mask grooves are designed for a specific wavelength λ.sub.des, the mask's impact on light with wavelength λ is:
(76)
In view of Eq. (36), the phase provided by the RIP diffuser can be described as
(77)
where φ.sub.k,des is phase at the design wavelength λ.sub.des at a straight line strip number k on the RIP diffuser, λ.sub.l is a central wavelength of a of spectral band number l, l=
(78) The coherent point spread function h(y′; λ) associated with the RIP diffuser is also 1D, depending only on coordinate y′ at the image plane, and can be calculated as inverse Fourier transform of the piecewise constant pupil function. Resorting to a known result of the Fourier transform of a rect function as a sin c function:
(79)
and resorting to shift properties yields:
(80)
where υ.sub.k′ and Δυ′ are the location and the width of the k-th straight line strip in a 1D RIP diffuser respectively, P.sub.kl is constant within a width Δυ′ of the k.sup.th strip on the RIP diffuser and was defined in Eq. (9) through a phase shift φ.sub.k,l, and k=
(81) In an embodiment disclosed herein, the RIP diffuser design is developed further as follows. The RIP diffuser may be installed at, or in a vicinity of, the entrance pupil of the imaging system. However, in mathematical equations it is convenient to scale it to the size of the exit pupil by a coefficient of pupil magnification. In an embodiment, the RIP diffuser is a 1D thin phase optical element providing changes in phase of an optical light field in a single operating direction and including line grooves extending perpendicular to the operating direction. The RIP diffuser is fabricated of transparent material with the refractive index n(λ) and consists of N.sub.d vertical straight line strips extending parallel to u′. The depths and phases are constant within the width Δυ′ of k.sup.th strip and quantized to N.sub.Q discrete phase levels equidistant from each other with a phase difference of 2π/N.sub.Q. In an embodiment presented here, the design for the RIP diffuser started with a blazed diffraction grating with a saw-tooth profile, as shown in
π mod.sub.2π(2πυ′/Λ), (43)
where mod.sub.2π(•) function denotes a minimum positive residue of the argument, after subtracting multiples of 2π. The phase function was quantized to N.sub.Q discrete phase levels such that the strip widths are Δυ′=Λ/N.sub.Q. The total number of strips was chosen to be
N.sub.d=D.sub.y/Δυ′=N.sub.QD.sub.y/Λ (44)
In an embodiment, a quantized saw-tooth array was created with a number of points N.sub.Q in every cycle corresponding to the number of groove depth levels, and with a total number of pixels N.sub.d. Consequently, each point k in the saw-tooth array represents the phase value for one strip:
πmod.sub.2π(2πυ.sub.k′/Λ). (45)
In this embodiment, the number of groove depth levels N.sub.Q and the blazing period Λ are limited by practical considerations, i.e. fabrication rules for feature-size and the number of groove depth levels. However, other embodiments may use different numbers of groove depth levels and blazing periods.
(82) A randomization of a 1D blazed saw-tooth array was executed by a spatial permutation of the indices k=
(83) HW Randomizer Design
(84) A HW randomizer has a pixelated structure with pixel size and arrangement matching exactly those of the image sensor. Thus, each pixel on the image sensor receives its portion of the intensity of a randomized image created by the diffuser multiplied by a random coefficient. A HW randomizer may be made of any material transparent in the wavelength range of interest, for example glass or plastic. Each HW randomizer pixel has a random transparency value between fully transparent and fully opaque. The HW randomizer is positioned in the optical path between RIP diffuser and image sensor, preferably adjacent to (or alternatively exactly at) the image sensor plane. The randomizer breaks the block Toeplitz structure of the measurement matrix, thus creating a random structure for the signal. It changes randomly the amplitude received by each pixel of the image sensor, thus improving the ability to hold the RIP condition.
(85) In some embodiments, the randomizer design uses pseudo-random numbers from a function to create a matrix of the same size as the image sensor pixel matrix. The values for elements of the randomizer matrix are random, given preferably by independent Gaussian random variables with a standard normal distribution, whose probability density is of the form:
(86)
Note that other probability densities may be used for this purpose. In other embodiments, values for elements of the randomizer matrix can be either uncorrelated random variables or pixels of a 1D or 2D random process or field, described by recurrent equations, which are well known to those of ordinary skill in the art. In still other embodiments, values for elements of the randomizer matrix can be deterministic and be defined by a closed form equation, for example an array of lenslets with equal or variable phase shift between the individual lenslets.
(87)
(88) SW Randomizer
(89) The values for elements of the SW randomizer matrix may be same as described above for the HW randomizer. In addition, apparatus and method embodiments with a SW randomizer may use either single randomization or multiple randomization. The latter uses multiple random versions of a SW randomizer, in which zero pixels of one version are followed by non-zero pixels of another version at the same positions on the detector. This results in statistical averaging of the randomization action and enables the entire light flux acquired by the detector to be used efficiently. In an embodiment, the data cube reconstruction algorithm is then run separately with each version of the SW randomizer to provide several versions of a reconstructed data cube. These may be then merged by simple averaging per pixel or, alternatively, by image fusion algorithms. In another embodiment, the data cube reconstruction may be performed using an algorithm that employs a class of measurement matrices that differ only in the SW randomizer version, while relying on the same RIP diffuser. In this embodiment, a single iterative process with multiple random versions of the randomizer will provide directly the reconstructed data cube, based on all the detector pixels.
(90) The “multiple randomization” process may also be described as follows: more randomizing may be provided by resorting to several independent versions R.sup.(1), R.sup.(2), . . . , R.sup.(N.sup.
(91) Spline-based Frames for Spectral Image Reconstruction
(92) Here we describe in more detail the spline-based frames (or framelets) for spectral image reconstruction in CS-based spectral imaging. Spline-based frames, and in particular the development of a variety of low-pass filters h.sup.0 from interpolating and quasi-interpolating polynomials splines was reported previously, see e.g. A. Averbuch and V. Zheludev, “Construction of bi-orthogonal discrete wavelet transforms using interpolatory splines”, Applied and Computational Harmonic Analysis, 12, 25-56, 2002, A. Averbuch, A. B. Pevnyi, and V. A. Zheludev, “Bi-orthogonal Butterworth wavelets derived from discrete interpolatory splines”, IEEE Trans. Signal Processing, 49(11), 2682-2692, 2001, and APZFrame. The spline-based framelet transforms are applied to successive approximations X.sup.k that are derived from the randomized input in the process of Bregman iterations.
(93) A system {tilde over (Ψ)}={{tilde over (φ)}.sub.l}.sub.l=0.sup.L−1, L>N of signals from Π[N], which is a space of N−periodic signals, forms a frame of the space Π[N] if there exist positive constants A and B such that for any signal x={x[k]}εΠ[N] the following inequalities
(94)
hold. If the frame bounds A=B, the frame is said to be tight. If {tilde over (Φ)} is a frame, then there exists another frame Φ={φ.sub.l}.sub.l=0.sup.L-1 (synthesis) such that any signal x={x[k]}εΠ[N] is represented by
(95)
If {tilde over (Φ)} (also called “analysis” frame) is tight, then the synthesis frame can be Φ={tilde over (Φ)}.
(96) The analysis four-channel filter bank {tilde over (H)}={{tilde over (h)}.sup.s}.sub.s=0.sup.3 and the synthesis filter bank H={h.sup.s}.sub.s=0.sup.3, with down-sampling factor of 2, form a perfect reconstruction (PR) filter bank if any signal x={x[k]}εΠ[N] can be expanded as:
(97)
Equation (47) provides a frame expansion of the signal x, where the signals {{tilde over (h)}.sup.s[•−2k]}, s=0, . . . , 3, k=0, . . . , N/2−1, constitute an analysis frame, while the signals {h.sup.s[•−2k]}, s=0, . . . , 3, k=0, . . . ,N/2−1, form a synthesis frame.
(98) Denote by x.sub.0={x[2k]}εΠ[N/2] and by x.sub.1={x[2k+1]} the even and the odd polyphase components of a signal xεΠ[N], respectively. Denote ω=e.sup.2πi/N.
(99)
are the discrete Fourier transform (DFT) of signal x and its polyphase components. h.sub.p.sup.s and {tilde over (h)}.sub.p.sup.s, p=0, 1, s=0, . . . , 3, are the polyphase components of filters h.sup.s and {tilde over (h)}.sup.s. ĥ.sub.p.sup.s[n] and {tilde over (ĥ)}.sub.p.sup.s[n], p=0, 1 are their DFT. Denote:
(100)
{tilde over (P)}[n] and P[n] are respectively the analysis and synthesis polyphase matrices of the filter banks {tilde over (H)} and. The symbol ( . . . ).sup.T means matrix transposition. The direct framelet transform of a signal x of length N, which produces four sets of the coefficients d={d.sup.s}, s=0, 1, 2, 3, each of which contains N/2 members, can be represented as:
(101)
The inverse framelet transform, which restores the signal from coefficients d.sup.s, s=0, 1, 2, 3, is:
(102)
Thus, the length—N signal x becomes represented by 2N coefficients from the sets d.sub.s, s=0, 1, 2, 3. In that sense, this representation is doubly redundant. The relation P[n]{tilde over (P)}[−n]=I.sub.2 (PR), where I.sub.2 is the 2×2 identity matrix, is the condition for the pair {{tilde over (H)},H} of filter banks to form a PR filter bank. Filters {tilde over (h)}.sup.0 and h.sup.0 from the PR filter banks {{tilde over (H)},H} are low-pass.
(103) To extend the framelet transform to the lower resolution scale and to increase the representation redundancy, the transform is applied to the low-frequency coefficients array d.sup.0 using analysis polyphase matrix {tilde over (P)}[2n]. The coefficients' array d.sup.0 is restored using synthesis polyphase matrix {tilde over (P)}[2n] and P[2n]. Similarly, the transform is extended to further resolution scales using matrices {tilde over (P)}[2.sup.mn] and {tilde over (P)}[2.sup.mn], m=2, 3, . . . . . The 2D framelet transform of a 2D array thus includes application of a 1D transform to columns of the array, followed by application of a 1D transform to rows of the array.
(104) In an exemplary embodiment, we designed a family of 4-channel PR filter banks with diverse coefficients (see APZFrame). Their polyphase matrices have a specific structure, which is determined by a low-pass filter whose frequency response is ĥ.sup.0[n]=ĥ.sub.0.sup.0[n]+ω.sup.−nĥ.sub.1.sup.0[n]:
(105)
where T.sup.2 [n]{tilde over (T)}.sup.2[−n]=T.sup.3 [n]{tilde over (T)}.sup.3 [−n]=1−|ĥ.sub.0.sup.0[n]|.sup.2+|ĥ.sub.1.sup.0[n]|.sup.2. A filter bank generates the tight frame if T.sup.2[n]{tilde over (T)}.sup.2[−n]=T.sub.3[n]={tilde over (T)}.sup.3[−n]. A filter bank generates the semi-tight frame if T.sup.2 [n]≠{tilde over (T)}.sup.2[−n],T.sup.3[n]≠{tilde over (T)}.sup.3[−n]. Unlike the tight-frames filter banks, filter banks generating semi-tight frames have linear phase.
(106) In an embodiment, we use the filter bank derived from a quasi-interpolating quadratic spline (see APZFrame). This filter bank generates a semi-tight frame. The frequency responses of the analysis and synthesis filters are:
(107)
where the sequences T[n], {tilde over (T)}[n] and G[n] are:
(108)
(109) In the process of Bregman iterations, Eqs. (33) and (34), the direct and the inverse 2D framelet transforms are repeated. Each 2D framelet transform is implemented by the application of a 1D framelet transform to columns of the matrices using fast Fourier transforms, followed by a 1D transform of the rows, Eqs. (49) and (50). Polyphase matrices {tilde over (P)}[n] and P[n] defined in Eq. (51), are used for one-level transforms, while polyphase matrices {tilde over (P)}[2.sup.mn] and P[2.sup.mn], m=2, 3, . . . are used for multi-level transforms.
(110) Methods of Use
(111)
(112)
(113)
(114) Simulations of Data Cube Reconstruction
(115) Various computer simulations of data cube reconstruction for test multispectral source objects sensed with a digital camera equipped with a 1D RIP diffuser and without or with randomizer were run. The simulations were done with Matlab software code.
(116) Simulations of 2D CC-SCR Multispectral Images in Apparatus that Includes a Digital Camera and a 1D RIP Diffuser without Randomizer Simulation using Matlab was performed on the base of the 2D CS-SCR description above. The spectral data source was a fragment “houses” scene number 7 in D. H. Foster, “Hyperspectral images of natural scenes 2004”, http://personalpages.manchester.ac.uk/staff/davidloster/Hyperspectralimages_of_natural_scenes_04.html, 2004 (hereinafter “houses in Porto”). A DD image was obtained by computer simulation of an optical imaging system that includes a digital camera having an imaging lens and a pixelated image sensor, with 1D RIP diffuser inserted in the pupil at the image sensor plane. Each column of the DD image was a linear combination of all the spectral and spatial data in the corresponding source object image column with a sensing matrix. The Bregman iteration process was applied to reconstruct spectral cube information corresponding to M voxels in each of N columns and L=33 spectral bands of the spectral cube. The result is a set of vectors, each vector including all spectral information for each pixel in the corresponding image column. All reconstructed image columns were then placed next to each other, thereby providing the entire spectral information that represents the full spectral cube. Finally, the spectral cube was processed to obtain L separate spectral images of the object by taking consecutive sets of M rows corresponding to required spectral bands. The quality of the 2D CS-SCR results was evaluated by comparing the PSNR of our results with the PSNR achieved in the reported studies. Options without or with randomizer were executed in simulation.
(117) Table 1 summarizes the parameters of the optical system and of the designed RIP diffuser used in the simulations. The parameters fit a 10 Mp camera.
(118) TABLE-US-00001 TABLE 1 Parameter Notation Value Number of wavelengths L 33 Number of columns in spectral cube N.sub.x 256 (up to # of active pixels in camera) Number of spectral cube pixels per column N 256 Distance from the exit pupil of the imaging R 19.6 mm lens to the sensor D.sub.u′ = D.sub.ν′ 6.5 mm Width of stripe at the RIP diffuser Δν′ >4 μm Number of phase quantization levels N.sub.Q 16 Number of pixels at a column of the image N.sub.y 2048 sensor Pixel size at the image sensor δ.sub.x = δ.sub.y 2.20 μm Active imager size, mm 6.41 × 3.607 Active pixels 2916 × 1640 ADC resolution 12-bit
(119) Table 2 provides the minimum number of rows M on the image of the sensor required to satisfy the RIP condition Eq. (31) following Eq. (32), for an image with column size M.sub.image, L spectral bands and 20% sparsity (the portion of the non-zero values in a “sparse” image).
(120) TABLE-US-00002 TABLE 2 N L LN K = 0.2 LN N.sub.y 128 5 640 128 183 128 9 1152 230 330 128 24 3072 614 879 128 33 4224 844 1209 256 33 8448 1690 2417
(121)
(122)
(123)
(124)
(125) Added Apparatus Embodiments
(126)
(127)
(128)
(129)
(130)
(131)
(132)
(133) Each publication mentioned in this application is hereby incorporated by reference in its entirety for all purposes set forth herein. It is emphasized that citation or identification of any reference in this application shall not be construed as an admission that such a reference is available or admitted as prior art. While this disclosure describes a limited number of embodiments, it will be appreciated that many variations, modifications and other applications of such embodiments may be made. For example, while the description refers specifically to a DD image obtained through a particular RIP diffuser, the 2D CS-SCR methods described herein may be applied to any other dispersed-diffused image for which a sensing matrix A is defined. For example, while the description refers specifically to framelet transforms and Bregman iterations, other types of transforms or algorithms may be used for the SCR described herein. Further, while Toeplitz matrices and convolution are described in detail, more general matrices and linear transformations, corresponding to non-paraxial and spatially-variant optical systems and/or optical systems having aberrations may also be used. For example, while 1D diffusion/dispersion is described in detail, 2D diffusion/dispersion may also be used. Thus, the disclosure is to be understood as not limited to framelet transforms, split or other Bregman iterations and 1D diffusion/dispersion. In general, the disclosure is to be understood as not limited by the specific embodiments described herein, but only by the scope of the appended claims.