The present application claims the benefit of the Singapore patent application No. 10201401120T filed on 31 Mar. 2014, the entire contents of which are incorporated herein by reference for all purposes.
Embodiments relate generally to image processing devices and image processing methods.
One of the challenges in digital image processing research is the rendering of a high dynamic range (HDR) natural scene on a conventional low, dynamic range (LDR) display. Thus, there may be a need for efficient devices and methods for providing HDR scenes.
According to various embodiments, an image processing device may be provided. The image processing device may include: an input circuit configured to receive input image data including pixels related to varying exposure times; a selecting circuit configured to select a reference image from the input images; a weighting determination circuit configured to determine at least one weighting for each pixel of the input image data based on the selected reference image; an output image determination circuit configured to determine an output image based the determined weightings; and an output circuit configured to output the output image.
According to various embodiments, an image processing method may be provided. The image processing method may include: receiving input image data including pixels related to varying exposure times; selecting one of the input images as a reference image; determining at least one weighting for each pixel of the input image data; determining an output image based the determined weightings; and outputting the output image.
In the drawings, like reference characters generally refer to the same parts throughout the different views. The drawings are not necessarily to scale, emphasis instead generally being placed upon illustrating the principles of the invention. In the following description, various embodiments are described with reference to the following drawings, in which:
Embodiments described below in context of the devices are analogously valid for the respective methods, and vice versa. Furthermore, it will be understood that the embodiments described below may be combined, for example, a part of one embodiment may be combined with a part of another embodiment.
In this context, the image processing device as described in this description may include a memory which is for example used in the processing carried out in the image processing device. A memory used in the embodiments may be a volatile memory, for example a DRAM (Dynamic Random Access Memory) or a non-volatile memory, for example a PROM (Programmable Read Only Memory), an EPROM (Erasable PROM), EEPROM (Electrically Erasable PROM), or a flash memory, e.g., a floating gate memory, a charge trapping memory, an MRAM (Magnetoresistive Random Access Memory) or a PCRAM (Phase Change Random Access Memory).
In an embodiment, a “circuit” may be understood as any kind of a logic implementing entity, which may be special purpose circuitry or a processor executing software stored in a memory, firmware, or any combination thereof. Thus, in an embodiment, a “circuit” may be a hard-wired logic circuit or a programmable logic circuit such as a programmable processor, e.g. a microprocessor (e.g. a Complex Instruction Set Computer (CISC) processor or a Reduced Instruction Set Computer (RISC) processor). A “circuit” may also be a processor executing software, e.g. any kind of computer program, e.g. a computer program using a virtual machine code such as e.g. Java. Any other kind of implementation of the respective functions which will be described in more detail below may also be understood as a “circuit” in accordance with an alternative embodiment.
One of the challenges in digital image processing research may be the rendering of a high dynamic range (HDR) natural scene on a conventional low dynamic range (LDR) display. This challenge may be addressed by capturing multiple LDR images at different exposure levels. Each LDR image may only record a small portion of the dynamic range and partial scene details but the whole set of LDR images collectively may contain all scene details. There are various methods to synthesize a more detailed and natural image from the differently exposed LDR images. One is called HDR imaging. A HDR image is first synthesized to include details of all input images. It is then converted into an LDR image by using tone mapping algorithm so as to visualize the HDR scene by conventional display device. The other is called exposure fusion. An LDR image is directly synthesized from all LDR images without generation of an intermediate HDR image.
According to various embodiments, devices and methods may be provided for fusion of multiple differently exposed images and recovering an HDR radiance map from multiple differently exposed images. One of differently exposed images may be selected as the reference image. According to various embodiments, the longest exposed image without motion blurring artefacts may be selected as the reference image. A similarity weighting may be assigned to each pixel in other images according to the consistence between the pixel and its collocates pixel in the selected reference image. According to various embodiments, the similarity weighting may approach 1 if they are consistent and 0 otherwise. It is to be noted that the similarity weightings are 1's for all pixels in the reference image. According to various embodiments, ghosting artefacts may be avoided when there are moving objects in differently exposed images. Even if differently exposed images are captured by advanced HDR systems, possible motion blurring artefacts in the long exposed image may be avoided from appearing in the final image.
According to various embodiments, devices and methods for ghosting and motion blurring artefacts free HDR imaging and exposure fusion may be provided.
In other words, according to various embodiments, an image processing device may determine at least one a weighting for each pixel of a plurality of pixels which correspond to various exposure times, and may determine an output image based on the at least one weighting for each pixel.
According to various embodiments, the weighting determination circuit 104 may be configured to determine an exposedness level weighting.
According to various embodiments, the exposedness level weighting may be large if a pixel is well exposed.
According to various embodiments, the exposedness level weighting may be small if a pixel is at least one of underexposed or overexposed.
According to various embodiments, the weighting determination circuit 104 may be configured to determine a similarity weighting.
According to various embodiments, the similarity weighting may be close to one if collocated pixels in two images are consistent.
According to various embodiments, the similarity weighting may be close to zero if collocated pixels in two images are not consistent.
According to various embodiments, the output image determination circuit 106 may be configured to determine the output image based on a radiance map.
According to various embodiments, the input image data may include or may be an input image including rows, wherein the exposure time varies amongst the rows.
According to various embodiments, the input image data may include or may be a plurality of images, wherein each image of the plurality of images has an exposure time, wherein the exposure time varies amongst the images of the plurality of images.
According to various embodiments, the image processing device 100 may be configured to convert an input image of the input image data from RGB color space to CIELab color space.
According to various embodiments, the image processing device 100 may be configured to fuse a lightness component of the converted image using a multi-scale method and to fuse color component of the converted image via a single-scale method.
According to various embodiments, the at least one weighting may include or may be an exposedness level weighting.
According to various embodiments, the exposedness level weighting may be large if a pixel is well exposed.
According to various embodiments, the exposedness level weighting may be small if a pixel is at least one of underexposed or overexposed.
According to various embodiments, the at least one weighting may include or may be a similarity weighting.
According to various embodiments, the similarity weighting may be close to one if collocated pixels in two images are consistent.
According to various embodiments, the similarity weighting may be close to zero if collocated pixels in two images are not consistent.
According to various embodiments, the image processing method may further include determining the output image based on a radiance map.
According to various embodiments, the input image data may include or may be an input image including rows, wherein the exposure time varies amongst the rows.
According to various embodiments, the input image data may include or may be a plurality of images, wherein each image of the plurality of images has an exposure time, wherein the exposure time varies amongst the images of the plurality of images.
According to various embodiments, the image processing method may further include converting an input image of the input image data from RGB color space to CIELab color space.
According to various embodiments, the image processing method may further include fusing a lightness component of the converted image using a multi-scale method and fusing color components of the converted image via a single-scale method.
In the following, HDR imaging with a reference image according to various embodiments will be described.
Let Zi(1≦i≦N) be a set of differently exposed images with N being the number of input images. The exposure time of Zi is ∇ti. Let p be a pixel. For simplicity, let i0 be the selected reference image.
According to various embodiments, the pixel Zi (p) may be assigned a weighting w1 (Zi (p)) to measure the exposedness level of Zi (p). The value of w1 (Zi (p)) may be large if the pixel Zi (p) is well exposed and small if it is over/under-exposed. Besides the weighting w1 (Zi (p)), the pixel Zi (p) may be assigned another weighting w2 (Zi (p), Zi
According to various embodiments, the overall weighting of the pixel Zi (p) may be
w
f(Zi(p))=w1(Zi(p))w2(Zi(p),Zi
Suppose that the CRF (camera response function) is f(.). The final HDR radiance map E(p) may be recovered as
where f−1 (.) is the inverse CRF.
In the following, exposure fusion with a reference image according to various embodiments will be described.
According to various embodiments, the pixel Zi(p) may be assigned a weighting w3 (Zi (p)) to measure its exposedness level and/or other quality levels such as good contrast, and high saturation. According to various embodiments, the pixel Zi (p) may be assigned another weighting w2 (Zi(p), Zi
w
f(Zi(p))=w3(Zi(p))w2(Zi(p),Zi
The image Zi is converted from the RGB color space to the CIELab color space. Let Li, ai and bi be the lightness and color components of the image Zi, respectively. According to various embodiments, only the lightness component may be fused using a multi-scale method like described in the following.
L{Li(p)}l and G{wf(Zi(p))}l are Laplacian pyramid of image Li and Gaussian pyramid of weight map wf(Zi(p)), respectively. Pixel intensities in the different pyramid levels may be blended as
According to various embodiments, the pyramid L{Lf(p)}l may be collapsed to produce the final lightness component Lf(p). The final color components may be determined via a single-scale method as
In the following, a coded reset architecture for capturing of differently exposed images according to various embodiments will be described.
Differently exposed images may be captured by using the global shutter. This method performs well for a static HDR scene while it suffers from ghosting artifacts due to moving objects and motion blurring artifacts due to camera movement. A row-wise readout architecture called coded rolling shutter may be provided for complementary metal-oxide semiconductor (CMOS) image sensors and the architecture may be used to alleviate these problems for practical HDR imaging. In the following, the row-wise reset architecture to capture differently exposed images while the readout architecture is kept as the conventional one will be described.
Let tr,k (y), ts,k (y) and te,k (y) be the readout time, the reset time, and the exposure time of the y-th row in the k-th image. Suppose that the readout time of each row is ∇tr. The value of tr,k(y) is given as
t
r,k(y)=t0,k+y∇tr (6)
where t0,k is the starting readout time of the first row in the k-th image.
It will be understood that the readout architecture may be the same as the existing readout architecture while the reset architecture is changed as follows:
t
s,k(y)=tr,k(y)−te,k(y) (7)
where the value of te,k (y) needs to be determined according to the number of different exposures. For example, consider the case that there are three different exposures. Let τs, τm and τl be the short exposure time, the medium exposure time and the long exposure time, respectively. The values of te,k (y) are, with k being any integer number, defined as
An example is shown in
In
According to various embodiments, HDR imaging methods and device and exposure fusion methods and device may be provided which select the largest exposed images without motion blurring artefacts as the reference image. Besides considering the exposedness, of each pixel, the consistence between each pixel in other image and its collocated pixel in the reference image is taken into consideration according to various embodiments. As such, according to various embodiments, ghosting artefacts or motion blurring artefacts may be avoided from appearing in final images.
According to various embodiments, HDR imaging methods and devices and exposure fusion methods and devices may be provided. They can avoid ghost artefacts and motion blurring artefacts from appearing in final images. The devices and methods may be very useful for HDR video.
While the invention has been particularly shown and described with reference to specific embodiments, it should be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention as defined by the appended claims. The scope of the invention is thus indicated by the appended claims and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced.
Number | Date | Country | Kind |
---|---|---|---|
10201401120T | Mar 2014 | SG | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/SG2015/000105 | 3/31/2015 | WO | 00 |