Many approaches exist that enable high-quality imaging systems with good image capture quality. These systems, however, fail to provide a complete solution imaging system that includes a given capture system and an associated quality rendering system that can extract the best color settings associated with a given scene.
Color constancy has been described in Chakrabarti, A., Hirakawa, K., & Zickler, T. (2011), Color Constancy with Spatio-Spectral Statistics. IEEE Transactions on Pattern Analysis and Machine Intelligence, and refers to a property of color descriptors allowing for inference of appropriate colors in spite of changes in lighting. This is therefore a perceptual notion that colors and their perception fundamentally don't change as images change in a scene during subjective testing. As such, colors of various objects are usually perceived uniformly by the Human Visual System in spite of the fact that such objects may change colors as they are being observed, or as they undergo different ambient lighting conditions from different illuminants. Stockman, A., & Brainard, D. (2010). Color vision mechanisms. OSA Handbook of Optics (3rd edition, M. Bass, ed), 11.1-11.104. hence, a very powerful quality of biological vision involves maintaining a robust estimate of the color of objects even as such objects change their perceived color values. This perceptual quality is very powerful and has been the focus of much research on how to emulate color constancy.
Described aptly in (Stockman & Brainard, 2010), “When presented in the same context under photopic conditions, pairs of lights that produce the same excitations in the long-, middle-, and short-wavelength-sensitive (L-, M-, and S-) cones match each other exactly in appearance. Moreover, this match survives changes in context and changes in adaptation, provided that the changes are applied equally to both lights.” Biological color constancy, however, has its limits and typically falls short under various conditions. As a fun example, optical illusions are presented in (Lotto's Illusion), where perceptions of different illumination levels, colors, and light sources are presented as examples. As illuminant changes happen drastically in the field-of-view, humans are more likely to confuse color quality. Estimating an illuminant is a good starting point, but compensating for the illuminant is a problem in itself, and has been the subject of much research, see Barnard, K., Cardei, V., & Funt, B. (2002). A comparison of computational color constancy algorithms—Part I: Methodology and experiments with synthesized data. IEEE Trans. Image Processing, 11 (9), 972-984, and Gijsenij, A., Gevers, T., & Weijer, J. (2011). Computational Color Constancy: Survey and Experiments. IEEE Trans. Image Processing, 20 (9), 2475-2489.as example approaches to computing illuminant estimators. Biological vision, while powerful, isn't perfect and can be fooled and confused by a variety of circumstances: it is relatively easy to fool people's visual capacities as well as other animals' by camouflaging colors, and by changing the first and second-order statistics of different objects.
Additionally, estimating the illuminant is an inherently underdetermined problem, i.e., with significantly more scene parameters than there are degrees of freedom in the data. Estimating the illuminant is, hence, an inherently nonlinear problem, with many degrees of freedom. It is therefore important to make some simplifying assumptions before proceeding:
1) The notion of color constancy in the HVS has its limitations and may not be very appropriate to applications where changes in lighting occur rapidly and frequently, such circumstances being very different than what the HVS or even biological vision may be used to.
2) Maintaining a notion of color constancy is less important than maintaining a sense of color consistency. At very high frame rates, with lighting changes occurring suddenly and abruptly, it becomes essential to maintain a notion of color consistency across frames, while not necessarily maintaining color constancy across the entire dataset, potentially comprised of millions of frames.
3) Cameras are not analogous to biological eyes. Cameras may over-expose, under-expose, or use a series of rolling exposures in ways that biological vision is not capable of. Moreover, cameras may be underexposed completely, such that only very little light is incident onto the sensors, and then having depth perception accomplished for whatever little information is present, or having the cameras significantly overexposed, such that significantly darker regions are adequately exposed. While the HVS may use autofocus, vary the aperture, and adapt to changing lighting, the speed with which it does so may hinder high-end machine vision applications. It is important in accordance with one or more embodiments of the invention to be able to preferably vary camera settings at speeds that are significantly greater than possible by the HVS.
4) There is a need to synthetically predict/compute images at different exposures in real-time and at a very high frame rates, given a set of observations. In accordance with this approach presented in accordance with one or more embodiments of the present invention, the entire relevance of the HVS becomes marginalized, relatively to computational models of scene analysis that can extra critical information about the response of the cameras to different illuminants. Again, this is a departure from the usual HVS-inspired approaches.
Therefore, in accordance with one or more embodiments of the present invention, an overview of illuminant estimation, and how such illuminant estimation is applicable to modifying a scene's trichromatic feature set, adapting and compensating for such illuminants will be provided. Various embodiments of the present invention are provided, based on the notion of chromaticity maximization and hue value consistency, including the concepts of false colors, as well as identifying metallic data profiles as well as various other specularities that may produce such false colors. Comparisons between true color-based profiles and their gray-ish counterparts may then be made. Irradiance histograms and their relationship to auto-exposure bracketing are presented. Algorithms for applying an inventive synthetic image formation approach to auto-exposure bracketing (AEB) are also presented. A control algorithm that enables such an AEB approach is provided in accordance with one or more embodiments of the invention. This AEB approach may be applied to segmentation itself, and thus such segmentation can be improved by integrating synthetic exposure estimates associated with chromaticity maximization/hue consistency computation. Therefore, it is suggested in accordance with the various embodiments of the invention, that by maximizing chromaticity, one can ensure that the true hue that is associated with a given pixel or object is accurately estimated. In doing so, Chromaticity maximization is one way of maintaining hue and color consistency.
Still other objects and advantages of the invention will in part be obvious and will in part be apparent from the specification and drawings.
The invention accordingly comprises the several steps and the relation of one or more of such steps with respect to each of the other steps, and the apparatus embodying features of construction, combinations of elements and arrangement of parts that are adapted to affect such steps, all as exemplified in the following detailed disclosure, and the scope of the invention will be indicated in the claims.
This patent or application file contains at least one drawing executed in color. Copies of this patent or patent application publication with color drawing(s) will be provided by the Office upon request and payment of the necessary fee.
For a more complete understanding of the invention, reference is made to the following description and accompanying drawings, in which:
a) and 12(b) (collectively
a) and 13(b) depict two-dimensional cross-sections of RGB data at different light temperatures;
a)-15(f) comprise a set of graphs depicting highlights of skin tone with and without white balancing under different illuminant conditions;
a) and 16(b) are graphs depicting exemplary hue and chroma profiles for metallic trim;
One or more embodiments of the invention will now be described, making reference to the following drawings in which like reference numbers indicate like structure between the drawings.
Image colors may vary significantly as a function of an illuminant incident on one or more given surfaces that may be under observation. As has been recognized by the inventors of the present invention, successfully estimating this illuminant color is essential in the analysis of a given object's true color value. In accordance with one or more embodiments of the invention, it has been determined that color is inherently perceived as a function of incident illuminant light (or an ensemble of illuminant light sources) as well as the surface's relationship to that ensemble.
Chromaticity Maximization with the Camera Response Function
As noted above, the overall goal of Chromaticity maximization is to devise a means for maintaining color consistency across scenes with different lighting conditions and under different illuminants. To accomplish this goal, in accordance with one or more embodiments of the present invention, a camera response function is first computed and then used to synthetically create profiles of various pixels at different exposures. Then, the exposure that maximizes chromaticity is determined and is therefore employed in accordance with one or more embodiment of the invention.
A camera response function relates scene radiance to image brightness. For a given camera response function the measured intensity, Z, is given by Debevec, P. E., & Malik, J. (1997). Recovering High Dynamic Range Radiance Maps from Photographs. SIGGRAPH 97:
Z
ij
=f(Eitj) Equation 1
where f encapsulates the nonlinear relationship between sensor irradiance, E, and the measured intensity of a photosensitive element (pixel) over an exposure time, t (Debevec & Malik, 1997) is given by Z.
The camera response function can be used to convert intensity to irradiance by recovering the inverse of the response, denoted as f-−1:
f
−1(Zij)=Eitj Equation 2
Taking the natural logarithm of both sides, g represents the inverse log function defined by:
g(Zij)=ln(f−1(Zij))=ln(Ei)+ln(tj) Equation 3
Letting Zmin and Zmax define the minimum and maximum pixel intensities of N pixels and P images, g can be solved by minimizing the following quadratic objective function:
where the first term satisfies Equation 3 and the second term imposes a smoothness constraint on the second derivative, such that:
g″(z)=g(z−1)+2g(z)−g(z+1) Equation 5
The weighting function, w, is given by Granados, M., Ajdin, B., Wand, M., Christian, T., Seidel, H.-P., & Lensch, H. P. (2010), Optimal HDR reconstruction with linear digital cameras, CVPR (pp. 215-222) San Francisco: IEEE.
Once the inverse camera response function is known, a map of the scene irradiance may be obtained from P images by weighting exposures, which produce intensities closer to the middle of the response function or another targeted set of criteria in intensity, chromaticity or any combination thereof:
For a color sensor, the camera response function may be developed separately for each channel assuming that the channels respond equally to achromatic light. This means:
Z|Zε{R,G,B} Equation 8
where the response is given by:
R
ij
=f
R(EtΔtj)
G
ij
=f
G(EiΔtj)
B
ij
=f
B(EiΔtj) Equation 9
and the inverse response at a common exposure is given as:
g
R(Rij)=ln(ERi)+ln(Δtj)
g
G(Gij)=ln(EGi)+ln(Δtj)
g
B(Bij)=ln(EBi)+ln(Δtj) Equation 10
Creating Synthetic Photographs from Exposures
Once the irradiance of each of the channels is known, the log-inverse camera response function may be used to compute the response of the sensor to a user-specified exposure, Δt, creating virtual photographs from a series of observations at different exposure values. An example of this process is depicted in
Hence, a set of new channels, Ri, Gi, Bi, can be computed from an observed set of exposures, such that:
R
i
εg
R(Ri)=ln(ERi)+ln(Δt)
G
i
εg
G(Gi)=ln(EGi)+ln(Δt)
B
i
εg
B(Bi)=ln(EBi)+ln(Δt) Equation 11
Equation 11 may be written more efficiently as:
R
i
=g
R
−1(ln(ERiΔt))=fR(ERiΔt)
G
i
=g
B
−1(ln(EGiΔt))=fG(EGiΔt)
B
i
=g
B
−1(ln(EBiΔt))=fB(EBiΔt) Equation 12
With the ability to reconstruct images/pixels of a scene at any exposure value with an acceptable degree of accuracy, in accordance with various embodiments of the invention, a method with which one can extract the prevalent Hue value by viewing the region around the maximum Chromaticity that is associated with a given pixel is provided. Using the Camera Response Function, a method for maintaining robust color consistency throughout a scene by maximizing Chroma and plotting the values of hue that are associated with different Chroma values in the neighborhood of maximum Chroma is provided.
The exposure value(s) that maximize Chromaticity, Cij, for a given pixel, within the constraints of a camera's response function, by maximizing the Chromaticity for a pixel at location (i, j) may be provided as:
where Δtij is the exposure value that maximizes Chromaticity at location (i, j).
Note that, Cij is given by (Hanbury, 2008):
C
ij=√{square root over (αij2+βij2)} Equation 14
where αij and βij are given by:
Computing the exposure that would maximize the Chromaticity in Equation 13, then calculating the hue associated therewith allows for finding a hue that is relatively constant across multiple lighting intensities of the same illuminant, since each different intensity will have a set of exposure values that is associated with it. This approach may also be extended to multiple illuminants as will be described in greater depth below, by estimating the illuminant value that is associated with a given scene.
Different Tones and their Apparent Color
Depending on an exposure value that is configured in one or more camera settings, different objects can appear to have colors that are very dissimilar from the perceived colors by observers. A problem arises in the definition of a perceived color in a field-of-view and how it relates to the colors that are associated with the object. However, observing the three channels of a pixel across a whole range of exposure values provides a better idea as to the object's true color, and not just the apparent color. Assuming that the lux that is incident at a certain scene is known, and assuming that the exposures that are associated with a given process to reconstruct lux are also known, it then becomes a significantly simpler problem to address estimation of the correct color. Hence, looking at a given set of exposure values and their associated images is a good way of identifying the different apparent colors that are associated with such images. An example Camera Response Function is presented in
Approximating the Camera Response Function with B-Splines
Another approach is to approximate the CRF with B-spline polynomials, such that a C2 continuous graph is presented. This is important to reduce the overall amount of data that is used to store the camera response function. The CRF may also be approximated with a best-fit log function.
Adding Context to Chromaticity Maximization—Dealing with Gray and Metallic Objects
Defining Relationships that are invariant to color temperature is essential to the identification of regions with high-reflectivity. Not every pixel will have high Chromaticity values; specifically pixels that are either too gray with naturally low Chromaticity, and pixels that belong to regions that are highly specular, both exhibit low Chromaticity. In photography, High Dynamic Range (HDR) imaging is used to control such cases, de-emphasizing specularities and over-exposing very dark regions. The intended consequence in both cases defines higher Chromaticity in both of these regions. We instead suggest a twist to HDR photography that not only allows it to run much faster, but makes it significantly friendlier to regions of higher Chromaticity, while de-emphasizing regions that are too bright (specular regions) or too dark. As an example,
Eliminating Reflectivity with the Camera Response Function
To identify reflectivity, it is important to address regions with such high reflectivity through the utilization of the CRF. Since colors can be returned that are associated with Exposure Values (EVs) that have been artificially enhanced. Note that the camera response function has a logarithmic nature that introduces various irradiance data reduction errors when the CRF, specifically in regions with dense irradiance information. This necessitates a non-uniform spacing of the exposures, Δt, used to reconstruct the irradiances, as illustrated in
Looking at the CRF's first derivative, the irradiance sensitivity is maximized where the first derivative is also maximized. As an example,
The maximum sensitivity, S, in irradiance as determined by the maximum of the first derivative, occurs at approximately Z=205 or g(Z)=0.5, where g represents the inverse CRF in accordance with a particular embodiment of the invention. However, this does not mean that in all situations the value to be chosen should be 205. Rather, a constraint will preferably be put in place, as will be described below, to address image quality and bring the value down to a range that is more consistent with visually acceptable image quality. So, chroma maximization will preferably be attempted selectively, i.e. maximizing chromaticity within a given set of constraints, one of which is maximum intensity that is associated with the data.
S=f′(g(z)) Equation 16
The log-exposure that produces the most sensitivity to a given irradiance can be computed as:
ln(Δt)=g(arg max(f′(g(z)))−ln(E) Equation 17
The current approach to computing the irradiance histogram via the calculation of the CRF transforms the individual red, green, and blue irradiances into a grayscale irradiance using the grayscale conversion coefficients typically applied to pixel values, Ez=0.3Er+0.59Eg+0.11Eb. If the CRF were linear, this would be equivalent to the grayscale irradiance computed by first converting the pixels to grayscale, then applying the CRF,
E
z
=g(z)=g(0.3R+0.59G+0.11B) Equation 18
Since the CRF is non-linear, in accordance with embodiments of the invention, the grayscale irradiance should either be computed from a grayscale conversion of the demosaiced RGB values or taken directly from the Bayer pattern.
Both approaches assume that the grayscale irradiance adequately represents the per-channel irradiance. Although this assumption may be practical to simplify the process of synthetic data creation, it still discounts the fact that the differences between the irradiance channels drastically affect hue. Another option is to create an irradiance histogram over all channels simultaneously, such that the modes reflect the most dominant irradiances of all channels.
In an irradiance histogram, a mode may be present around one or more local maxima. As an example,
In one exception, highlighted in
A problem with this approach occurs if the exposures that are used for computing the irradiances cannot recover certain ranges of irradiances. This can occur when the scene changes too drastically and the exposures clip or saturate one or more of the source images. One option is to set such pixels' associated irradiances to either zero or 255, representing a means with which to mitigate the associated effects. This is a reasonable assumption to make since the associated source values, i.e. from the source images at different exposure settings, are too extreme on one side of the intensity range or the other. The rationale behind this issue stems from the fact that, given proper exposures, irradiances that are deemed unrecoverable are too low, representing pixels that are near zero in intensity, and hence have very little pixel information that is associated with them. These irradiances can also be too high, i.e. representing specularities in the field of view where the pixel's intensity in one or more of the three channels is too high for the observations that are associated with an exposure range. In this case, a multilinear constraint on dichromatic planes (Toro & Funt, 2007) may be used to first estimate the illuminant and then remove illuminant effects from the scene, to prevent artificial colors from occurring. Either way, recovering the irradiance would then require more than the method that is described so far and would require an understanding of the illuminant that is associated with the scene, as well as eliminating it.
Cases of different histogram distributions, as well as the lighting conditions that are associated with them, are presented in
Auto Exposure bracketing is a means of capturing high dynamic range (HDR) images from a set of low-dynamic range images at different exposure settings. This is a prevalent technique in photography in which multiple images are taken, typically three, one with an optimal exposure setting, with a second image being taken at a lower EV value, and a third image being taken at a higher EV value. The idea is to try and get as much dynamic range of the scene as possible with a single image, and then use the other images to fill in any missing information, by over-exposing dark regions or under-exposing really bright regions.
As mentioned earlier, High Dynamic Range imaging is critical for photography. HDR is used in a number of instances. Auto-exposure bracketing techniques are very prevalent in industry (Canon U.S.A., Inc., 2012), academia (Robertson, Borman, & Stevenson, 2003), and in patents and patent applications (Yeo & Tay, 2009).
Almost every AEB technique requires a known intensity histogram (Ohsawa, 1990). Some may also require a known irradiance histogram (Guthier, Kopf, & Effelsberg, 2012) as well. However, if the histogram is not adequately covering pertinent values in the scene, then the AEB technique will converge on the wrong settings. Also, if the histogram covers regions belonging to the background, instead of the region of interest, the AEB algorithm will converge on exposures that don't capture the dynamic range of values of the targeted ROI.
Therefore, in accordance with one or more embodiments of the present invention, a new approach that can take advantage of chromaticity maximization under resilient hue conditions, while maintaining a robust exposure bracketing algorithm is presented. This approach is depicted in
A control algorithm provided in accordance with one or more embodiments of the present invention can now be used to describe the scene.
UE—Under exposed: stands for scenes that are underexposed and whose exposure values need to be increased to compensate for such a case.
OE—Over exposed: stands for scenes that are overexposed and whose exposure values need to be decreased to compensate for too much irradiance in the scene.
WE—Well-exposed: stands for scenes that are well-defined with a quality dynamic range defined by exposures that cover most of the scene.
LL—Low lux: this stands for scenes (generally under 500Lux) with a limited dynamic range that requires fewer exposures to recover irradiance.
NM—Night mode: this is an extension of the low-lux case (under 20Lux) where a dual mode sensor may choose to turn on infrared LEDs for operating the system. NM can be accessed from the LL or SM states.
SM—Scan mode: represents a state where the system searches through the set or subset of available exposures to optimize settings for a new scene.
In accordance with an embodiment of the invention, additionally defined transition criteria based on the presence of underexposed as well as over exposed pixels, the mean of the irradiance distribution, the support window for the hue distribution, and the overall chroma distribution are preferably employed. As is shown in
As an example,
A second example is shown in
Ensembles of Illuminants for a Given Scene and their Temperature Estimation
Estimating the illuminant is critical to accounting for it in a given scene and correcting the RGB color space, per the effects of the illuminant (Gijsenij, Gevers, & Weijer, 2011). Black body radiators are ones that emit light when excited at different temperatures. One can look at regular light sources as black body radiators. These vary from red to white, according to the temperature that is associated with their light color, in Kelvins. Typical temperature ranges vary from 2000K (red) to 9000K (blue/white or white with blue tint).
A set of illuminants may be defined based on values that are associated with their respective color temperatures (usually defined in Kelvins). In a manner similar to what has been defined in (Barnard, Cardei, & Funt, 2002), each illuminant may be defined according to its Chromaticity map, and may be expanded to include a more substantive set of illuminants. As a result, to find an approximate illuminant, the Veronese map of degree n may be computed, such that
c(x)Tv=0 Equation 19
where c(x) is an observed color belonging to a single material and v is a normal vector associated with the dichromatic plane of the material. The projection of the observed color is projected as:
d(x;w)T=M(w)Tc(x)
d(x;w)=M(w)Tc(x) Equation 20
where w is a vector representing the color of the illuminant and d(x;w) represents the projection of the observed color c(x) onto a 2-D subspace using the 3×2 projection matrix M(w). The 2-D subspace is orthogonal to the light vector.
d(x;w)Tu=0 Equation 21
where u is a vector in the 2-D subspace that consists of the coefficients of a linear combination.
where vn(d)=[d1nd1n-1d21d1n-2d22 . . . d2n]T
ui is one vector in a collection of n vectors that represent all of the materials in the scene.
v
n(d)=[d1nd1n-1d21d1n-2d22 . . . d2n]T Equation 23
where d1 and d2 are the 2-D coordinates of the projected color onto the subspace that is orthogonal to the light vector and vn(d) is the Veronese map of degree n and n is the number of materials in the scene.
where Λn consists of the Veronese maps for all of the colors under consideration.
Equation 25 can now be rewritten as:
where an is the set of coefficients associated with each Veronese map in Λn.
As mentioned in, Toro, J., & Funt, B. B. (2007). A multilinear constraint on dichromatic planes for illumination estimation. IEEE Trans. Image Processing, 16 (1), 92-97, a candidate color, w, is the actual color of the light if the smallest eigenvalue of matrix, ΛnTΛn, is equal to zero. Hence, the approximate illuminant is identified as the one corresponding to the smallest eigenvalue. To choose from the different materials, one approach can be applied where scenes are subdivided into various regions, based on both color as well as texture. A system for performing this approach may comprise any number of region classification schemes, and in a preferred embodiment, a system such as that described in U.S. patent application Ser. No. 12/784,123, currently pending, the contents thereof being incorporated herein by reference. Hence, an image is preferably broken up into regions of dominant texture or color, with multiple segments representing different blocks of data being present in any given image. For each block, the illuminant estimation process is conducted, such that the temperature of the illuminant is computed, as well as the associated RGB values. The color space of the image is then rectified to mitigate the illuminant's effects. The rest of the software stack follows from this step, to reconstruct segments followed by depth reconstruction, as described in U.S. patent application Ser. Nos. 12/784,123; 12/784,022; 13/025,038; 13/025,055; 13/025,070; 13/297,029; 13/297,144; 13/294,481; and 13/316,606, the entire contents of each of these application being incorporated herein by reference.
Referring next to
If the inquiry at step 1225 is instead answered in the positive, and it is therefore determined that all desired candidate illuminants have been considered, processing then passes to step 1230 where the number of materials and block size are configured. Next, at step 1235, a projection matrix for the two-dimensional subspace orthogonal to a light vector may be computed, preferably employing the relevant equations described above. Then for each pixel defined in the two dimensional subspace, at step 1240, the pixel color is then preferably projected onto the subspaces of illuminants preferably according to Equation 5 described above, and at step 1245 a Veronese map from the result of the projections may then be computed, preferably employing Equation 8 noted above. Processing then continues to step 1250 where it is questioned whether the processing associated with steps 1240 and 1245 has been performed for each pixel (or substantially each pixel) in a defined block, or section of the image under observation. If this inquiry is answered in the negative, and it is determined that processing has not been completed for all desired pixels, processing returns to step 1240 for addressing a next pixel.
If on the other hand, if the inquiry at step 1250 is answered in the affirmative, and it is therefore determined that processing has been completed for all desired pixels, processing then passes to step 1255, where a matrix is preferably then built from the Veronese projections of all the pixels in a given block of the image, preferably employing Equation 10 described above. At a next step 1260, the resultant matrix is then multiplied by its transpose, the eigen values of the results being computed, and the smallest eigenvalue is obtained, preferably in accordance with Equation 11 described above. Processing then passes to step 1265 where it is questioned whether processing for all desired candidate illuminants (or substantially all desired candidate illuminants) for the current block has been completed. If the inquiry at step 1265 is answered in the negative, and therefore it is determined that processing has not been completed for all desired candidate illuminants for the current block, processing returns to step 1235 for a next of the desired candidate illuminant values for the current block.
If on the other hand, the inquiry at step 1265 is answered in the affirmative, thus confirming that processing has been completed for all of the desired candidate illuminants for the current block, processing then passes to step 1270 where the relative error is preferably computed for each illuminant by dividing the smallest eigenvalue of each illuminant by the eigenvalue of the set. Processing then passes to step 1275, where it is questioned whether processing for all blocks (or substantially all blocks) in the image has been completed. If this inquiry is answered in the negative, and it is therefore determined that processing for all blocks in the image has not been completed, processing once again returns to step 1235 for a next block in the image.
If on the other hand the inquiry at step 1275 is answered in the affirmative, and it is therefore determined that processing for all blocks in the image has been completed, processing then passes to step 1280 where an illuminant that minimizes relative error across all of the blocks is chosen.
Many other variants to this approach are contemplated in accordance with the various embodiments of the invention. For the sake of consistency and to enable visualization, the next following description should be considered applicable to two-dimensional as well as three-dimensional visualizations of the resultant light vectors in RGB space, while the three-dimensional implementation will be described.
Referring next to
Integration of Exposure Bracketing Features into Segmentation
As noted above, one potential problem that is associated with segmentation under challenging lighting conditions is that of maintaining color consistency as pixels are being tracked in a field-of-view. In accordance with one or more embodiments of the present invention, through the user of Chroma maximization, color consistency can be achieved and maintained even as color constancy is no longer plausible throughout a scene. A clear distinction should be drawn between color constancy, i.e. maintaining a constant color across the entire span of frames, and color consistency, where a given color is allowed to change, but not across adjacent frames. By computing max Chroma through simulating row lines or exposure values, one can now move on to the problem of segmentation. Specifically, given that different objects may appear with a similar hue or even Chroma under similar lighting conditions, it is left to the use and manipulation of exposure settings to identify differences in different materials and the way that such differences may be exploited in segmentation. In accordance with one or more embodiments of the invention, quality of color-based segmentation accuracy can be accomplished by computing which exposure value(s) would provide for Chroma maximization, per the description of the Camera Response Function at different irradiances. Not only can segmentation now be accomplished based on texture and color as described in U.S. patent application Ser. Nos. 12/784,123; 12/784,022; 13/025,038; 13/025,055; 13/025,070; 13/297,029; 13/297,144; 13/294,481; and 13/316,606, the entire contents of each of these application being incorporated herein by reference, wherein both texture and color are used to segment in stereo images, but one can also define or profile the evolution of such a color across multiple exposure settings, given only a few observations. Such information is then preferably integrated into segmentation and used to further enhance pixel and segment-level discriminability. Thus, a pixel may be classified and clustered by its response at different exposures.
Light Slicing
Referring next to
One can now start to look at what features to extract from better discriminability and color quality. These features are presented below, as determined by the inventors of the present invention:
1. Prevalent or Persistent Hue Value:
A prevalent or persistent hue can be extracted from the Chroma maximization graphs that are associated with the camera response functions of the R, G, and B channels, (see
2. Chroma Profile/Max Chromaticity Identification and The Notion of False Colors:
Typical surfaces with good color quality exhibit good Chroma responses at a range of exposure settings, and may possibly be approximated with a Gaussian curve centered around an optimal exposure. This is especially true for skin tone, where skin tone modeling in the past has focused on Gaussian Mixture Models. For good colors well within a camera's dynamic range, and with adequate lighting, a large support window of high Chromaticity is typically the case (see
3. Illuminant Estimate:
It now becomes critical to divide up the scene into regions of relatively constant illuminant estimates. Breaking up the scene into ensembles of illuminants has been presented above. However, here, the contribution of an illuminant ensemble map to the computation of depth in a field-of-view is also presented and integrated into the process that has been defined to compute overall depth. One can also mitigate the effects of a given illuminant in the scene. Illuminant estimation for an example illuminant estimation approach has been described above.
4. Irradiance:
As disclosed above, irradiance is a measure of reconstructed brightness incident on a particular pixel in an image. It can be used to detect the amount of light in a scene. Irradiance is also used to compute the maximum Chroma as well as the hue values that are associated with a given pixel. Irradiance is also used for detecting a given feature's constancy in the scene.
A novel technique for pixel superresolution is therefore provided in which multiple pixels can be extracted from a smaller number of observations. A multi-dimensional feature vector, v, is given by:
v={h,c,i,t} Equation 27
Where h represents the hue feature vector, c represents the Chromaticity feature vector, i represents the irradiance feature vector, and t represents texture as a feature vector. All of these vectors have been described earlier with the exception of t, the texture feature vector. However, using texture has been defined extensively in earlier works by the assignee of the present application, as noted above.
One of the challenges that is facing all of segmentation is the capability to accurately organize the scene by means of color quality, and texture features, such that different regions in the scene can be organized via color/texture characteristics either in the spatial or frequency domain. Motion features can also be extracted to increase scene segmentation. In accordance with the various embodiments of the invention, the inventors therefore propose an entirely novel approach to scene segmentation through pixel superresolution via features that are extracted from the camera response function.
The above-described process may also be generally applicable to photography, allowing for a high accuracy HDR type process producing images as well as videos with more vivid colors, and less sensitive to difficult lighting conditions.
Given all of the features and the segmentation components presented above, users have the ability to interactively enable HDR features with this approach. Alternatively, an HDR video scheme can be developed that utilizes the various features that have been described above. Specifically, regions of common synthetic exposures may be exposed more uniformly, and various stable segments may be under of over-exposed based on selection criteria defined by the user. Users can also autofocus on different parts of the video in real-time, given that every component of the video is being tracked in real-time.
5. Conclusions
A novel approach to AEB as well as segmentation and disparity computation has been presented that takes into account the utilization of the Camera Response Function to synthetically create different images, maximize chromaticity, and create a notion of color consistency. This is used to produce a robust segmentation/disparity estimation algorithm. Illuminant estimation may also be used for compensating color differences that are impacted by the effect of incident illuminants. The approach has multiple other applications include HDR photography and real-time HDR video.
Furthermore, while the invention has been primarily described related to a general imaging system, the various embodiments of the invention may also be applicable to any other platform that may be used for imaging, including but not limited to mobile devices, devices employing a Graphical Processing Unit (GPU), display on 3D screens, display on 2D screens, various types of photography employing one or multiple single frame or video cameras, and the like.
It will thus be seen that the objects set forth above, among those made apparent from the preceding description, are efficiently attained and, because certain changes may be made in carrying out the above method and in the construction(s) set forth without departing from the spirit and scope of the invention, it is intended that all matter contained in the above description and shown in the accompanying drawings shall be interpreted as illustrative and not in a limiting sense.
It is also to be understood that this description is intended to cover all of the generic and specific features of the invention herein described and all statements of the scope of the invention which, as a matter of language, might be said to fall there between.