<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>High dynamic range imaging with quanta image sensor</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>2020 June</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10158556</idno>
					<idno type="doi"></idno>
					<title level='j'>International Image Sensor Workshop (IISW)</title>
<idno></idno>
<biblScope unit="volume"></biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Abhiram Gnanasambandam</author><author>Jiaju Ma</author><author>Stanley H Chan</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[An algorithmic solution is proposed for reconstructing high dynamic range (HDR) images from single-bit and multi-bit Quanta Image Sensor (QIS). Given a space-time cubicle of the QIS data, the algorithm partitions the frames into groups of different exposures. After summation and denoising, the resulting frames are combined to form the HDR image. The combination weights are determined according to a new theoretical result showing how signal to noise changes with the exposure. The new method is compared with conventional CMOS-based HDR image reconstruction methods on both synthetic and real QIS data.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.">Introduction</head><p>Quanta Image Sensor (QIS) is a single photon image sensor with extremely small full well capacity. Since its introduction in 2005, the feasibility of QIS has been reported in many occasions, e.g., <ref type="bibr">[1,</ref><ref type="bibr">2]</ref>. The latest QIS prototype in <ref type="bibr">[2]</ref> can achieve a read noise below 0.25e - rms at room temperature, and frame rate beyond 1000 frames per second. This high level of photon sensitivity, low read noise, and high speed has made QIS an ideal sensor for low-light applications.</p><p>The subject of this paper is to use QIS for high dynamic range imaging. Compared to conventional CMOS image sensors (CIS) which acquire multiple frames and fuse them using linear averaging, QIS acquires a space-time data cubicle. To reconstruct the high dynamic range image, the algorithm has to first sum the frames, denoise, and then form an average. However, because of the quantized Poisson statistics of QIS, reconstruction methods for conventional CIS are not applicable. In particular, weighted averages based on estimating the pixel variance are extremely sensitive to noise which are not suitable for QIS.</p><p>The contribution of this paper is to propose a high dynamic range image reconstruction algorithm for QIS. The paper consists of two parts. First, we theoretically derive the dynamic range offered by QIS and compare it with CIS. This provides a foundation of how much dynamic range we can expect from QIS. Second, we present a new reconstruction pipeline as illustrated in Figure <ref type="figure">1</ref>. The reconstruction uses the theoretical re- sults to predict the optimal combination weights. We compare the new algorithm with other state-of-the-art image reconstruction methods.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Dynamic Range -QIS vs. CIS</head><p>We start by reviewing the concept of dynamic range. Dynamic range of a sensor is the range of exposures that the signal-to-noise ratio is sustained before it drops below 1 (i.e., signal = noise). The signal-to-noise ratio considered in this paper follows from <ref type="bibr">[3,</ref><ref type="bibr">4,</ref><ref type="bibr">5]</ref>, which is known as the exposure referred signal-to-noise ratio SNR H . Our goal is to analytically derive SNR H , and use the results to design the reconstruction algorithm.</p><p>The mathematical model of the sensor is as follows. Denote c as the exposure (photons per second) of a particular pixel in the scene, and let &#964; be the integration time. The number of photons X reaching the sensor is a Poisson random variable X &#8764; Poisson(&#964; c). The full-well capacity is assumed to be . Thus, the observed signal is a random variable B such that B = X, if X &lt; , and B = , if X &#8805; .</p><p>The exposure referred signal-to-noise SNR H (for both CIS and QIS) is defined as</p><p>where</p><p>is the variance, and &#952; def = &#964; c is the average number of photons seen in time &#964; . The exact expressions of the quantities in (1) are given by the theorem below, where the proof is skipped due to space limit.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Theorem 1</head><p>The quantities &#181; B and &#963; B are</p><p>where</p><p>the incomplete gamma function. Consequently, the partial derivative &#8706;&#181; B /&#8706;&#952; is</p><p>This exact analytic expression for arbitrary is a new result compared to previous work, e.g., <ref type="bibr">[3,</ref><ref type="bibr">4]</ref>. Using the expressions in the theorem, we can plot SNR H as a function of the exposure. Figure <ref type="figure">2</ref> illustrates the behavior of SNR H for CIS and QIS. For CIS, we set = 4000, and for QIS we set to either = 1 or = 3, which are typical values of the sensors. The results in Figure <ref type="figure">2</ref> show that a single-exposure of QIS (87dB) is already larger than that of CIS (72dB). The combinedexposure is 148dB compared to 133dB. Therefore, regardless if we use single or multiple integration times, QIS offers a greater dynamic range. The result also indicates that 1-bit QIS has a larger dynamic range than a 2-bit QIS. This is a direct consequence of the decrease in over-exposure latitude as the number of bits increases <ref type="bibr">[3]</ref>.</p><p>To visually compare the images captured by a CIS and a QIS, we show in Figure <ref type="figure">3</ref> a simulated experiment. The images are simulated by setting the maximum illumination to 6&#215;10 6 photons per pixel per second, and using CIS and QIS to measure the photons. For evaluation, we report the peak-signal-to-noise ratio (PSNR) which is proportional to the negative log of the mean squared error between the observed and the ground truth. The result again shows that CIS has a smaller contrast due to the low dynamic range.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">HDR Reconstruction for QIS</head><p>Using the analytic expressions derived in Theorem 1, we now present a new HDR reconstruction algorithm for QIS. Consider a static scene captured by a QIS usings N frames of 1-bit or multi-bit measurements. To construct a HDR image, the N frames are grouped into M groups where each group corresponds to a different integration time. Within each group, the frames are summed to generate a single output, thus giving S m , m = 1, . . . , M . Since each S m is a simple sum, there will be Poisson noise. To denoise, we follow <ref type="bibr">[4]</ref>   Given the low dynamic range images {S 1 , . . . , S M }, we construct the high dynamic range image c by formulating a weighted average:</p><p>Here, &#964; m is the equivalent exposure time used when constructing S m , and w m (i, j) is the weight of the mth exposure image. The running index (i, j) denotes the pixel. Thus, ( <ref type="formula">5</ref>) is a per-pixel weighted average. Readers familiar with the HDR literature will notice that ( <ref type="formula">5</ref>) is just the classical weighted averaging. However, in the classical CIS based HDR reconstruction, the combination weight is inversely proportional to the local image variances <ref type="bibr">[6]</ref>. For QIS, such variance-based weight can cause serious problems, because in bright regions the noise is squeezed and so the variance is close to zero. The following new theorem gives the optimal combination weights for QIS.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Theorem 2</head><p>The optimal weights w m (i, j) (for pixel (i, j)) which maximize the SNR H of the signal c(i, j) in ( <ref type="formula">5</ref>) is given by</p><p>where SNR H,m is m-th SNR H corresponding to the mth exposure (curve) in Figure <ref type="figure">2</ref>. To evaluate the effectiveness of the new algorithm we compare it with two existing CIS-based image reconstruction methods: A built-in function in MATLAB, and linear sum used in <ref type="bibr">[7]</ref>. Figure <ref type="figure">4</ref> shows the simulation result on an existing synthetic HDR dataset by Stanford. Since the inputs are simulated according to QIS statistics, both existing methods fail to reconstruct the image. In Figure <ref type="figure">5</ref>, we show a set of real images captured using the Gigajot QIS pathfinder camera, at 1-bit mode and 3-bit mode. The result shows that the method can effectively recover the dynamic range while smoothing out the noise.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.">Conclusion</head><p>A new image reconstruction method is proposed for high dynamic range imaging using QIS. The algorithm is based on a linear weighted averaging method, where the weights are determined according to a new theoretical study on how the exposure referred signal to noise ratio changes with the exposure. Experimental results demonstrate the effectiveness of the new method on both synthetic and real QIS datasets.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Input Images</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>MATLAB makehdr</head><p>Linear sum Proposed </p></div></body>
		</text>
</TEI>
