| Literature DB >> 28587192 |
Pierre-Jean Lapray1, Jean-Baptiste Thomas2,3, Pierre Gouton4.
Abstract
Spectral filter arrays imaging exhibits a strong similarity with color filter arrays. This permits us to embed this technology in practical vision systems with little adaptation of the existing solutions. In this communication, we define an imaging pipeline that permits high dynamic range (HDR)-spectral imaging, which is extended from color filter arrays. We propose an implementation of this pipeline on a prototype sensor and evaluate the quality of our implementation results on real data with objective metrics and visual examples. We demonstrate that we reduce noise, and, in particular we solve the problem of noise generated by the lack of energy balance. Data are provided to the community in an image database for further research.Entities:
Keywords: high dynamic range; image database; spectral filter arrays; spectral imaging
Year: 2017 PMID: 28587192 PMCID: PMC5492304 DOI: 10.3390/s17061281
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1Color filter arrays (CFA) imaging pipeline similarly defined as in [37]. The pipeline contains pre-processing on raw data, which include for instance a dark noise correction and other denoising. Raw data would be corrected for illumination before to be demosaiced. Images are then projected into an adequate color space representation and followed by some post-processing, e.g., image enhancement, before coming out of the pipeline on a visualization media. Alternatively, this information could be compressed before archiving or be used for machine vision through adequate image processing.
Figure 2High dynamic range (HDR)-color filter arrays (CFA) imaging pipeline. In this case, the pre-processing is typically performed per image, similarly to the standard dynamic range (SDR)-CFA case. Then, radiance estimation is performed based on the multiple images, providing radiance raw images. White balancing and demosaicing are performed on this data. Then, the HDR image may be used as is for machine vision, or it continues into a visualization pipeline, where color transform, tone-mapping and image-enhancement may be applied before visualization. Bridge between the different output may occur if, for instance, the machine vision is designed to SDR content.
Figure 3SFA imaging pipeline. At the instar of CFA, this pipeline defines some illumination discarding process and demosaicing. The spectral image would be typically used for application after demosaicing. However, these data may not be observable as they are, so the pipeline is prolonged for visualization. The color transform is ought to be slightly different than CFAs, for several channels are present and out of the visible range information, NIR, may be present in the spectral image. Compression of spectral data and spectral image processing, for, e.g., material identification or texture classification, are yet active research fields.
Figure 4Our HDR-SFA imaging pipeline. The radiance estimation is performed on the list of raw image taken as a whole ( in the database), which permit to create the HDR raw images ( in the database). The raw HDR image may be corrected for illumination [41,42] and demosaiced by state-of-the-art methods ( in the database). After this, a visualization process projects the data into a HDR color representation CIEXYZ ( in the database), which is tone-mapped ( in the database) and processed for visualization on SDR media. Other outputs of the pipeline may be considered similarly to the previous pipelines.
Figure 5The set of SDR raw mosaiced images acquired with different exposure times: ms (all spaced by one stop). These exposures are used to compute the global response curves of the prototype camera, shown in Figure 6a.
Figure 6(a) Camera response functions to correct for the non-linearity between relative real radiance values and pixel intensities in the images. It is recovered from a complete image set shown in Figure 5. In the pipeline, the median of these curves is used to treat all of the pixels, independently of their spectral sensitivities; (b) The well-exposedness hat function used in this implementation.
Figure 7The hardware and acquisition procedure, from the illuminant source to the digitized output of the camera. (a) D65 simulator emission spectra used during the experiment; (b) Spatial distribution of filters over the sensor; (c) Joint spectral characteristics of optical filters and CMOS sensor [8]; (d) Camera and electronic architecture, composed of a FPGA (Field-Programmable Gate Array) board and an attached daughter card holding the SFA sensor.
Summary of the global parameters and the SFA camera characteristics used during the acquisition.
| Camera Sensor | E2V EV76C661 + MSFA-Global Shutter Mode |
|---|---|
| Camera resolution | 1280 × 1024 (sensor native)–319 × 255 (image pre-processed) |
| Number of bands | 8 (7 visible and 1 NIR) |
| Wavelength (calibrated) | 380–1100 nm |
| Exposure time | 3 exposure times: 4–8–16 ms |
| Illuminant | D65 simulator (see |
| Optics/Aperture | Edmund optics 12 mm 58001–F/1.8 |
| Focus | Fixed (20 cm) |
| Image format | Tiff 8 bits |
The files can be downloaded as supplementary material at http://chic.u-bourgogne.fr [47], where the link points out to a zip file that contains five directories, one directory for each stage of the pipeline called “DB_#” in Figure 4. The raw SDR, HDR mosaiced, HDR demosaiced, HDR CIEXYZ and RGB color tone mapped data are available to the community for further research.
| Database | ||||||
|---|---|---|---|---|---|---|
| Scene Name | Dynamic Range | File Name RAW | File Name HDR Mosaiced | File Name HDR Demosaiced | HDR XYZ | HDR Tone Mapped |
| CD | 159.2 | raw_preprocessed_cd_"exposure".tiff | hdr_mosaiced_cd.hdr | hdr_demosaiced_cd.mat | hdr_xyz_cd.hdr | hdr_tonemapped_"method"_cd.png |
| Knife | 226.5 | raw_preprocessed_knife_"exposure".tiff | hdr_mosaiced_knife.hdr | hdr_demosaiced_knife.mat | hdr_xyz_knife.hdr | hdr_tonemapped_"method"_knife.png |
| Water | 147.3 | raw_preprocessed_water_"exposure".tiff | hdr_mosaiced_water.hdr | hdr_demosaiced_water.mat | hdr_xyz_water.hdr | hdr_tonemapped_"method"_water.png |
| Train front | 503.9 | raw_preprocessed_train_front_"exposure".tiff | hdr_mosaiced_train_front.hdr | hdr_demosaiced_train_front.mat | hdr_xyz_train_front.hdr | hdr_tonemapped_"method"_train_front.png |
| Pens | 145.6 | raw_preprocessed_pens_"exposure".tiff | hdr_mosaiced_pens.hdr | hdr_demosaiced_pens.mat | hdr_xyz_pens.hdr | hdr_tonemapped_"method"_pens.png |
| Kerchief | 78.8 | raw_preprocessed_kerchief_"exposure".tiff | hdr_mosaiced_kerchief.hdr | hdr_demosaiced_kerchief.mat | hdr_xyz_kerchief.hdr | hdr_tonemapped_"method"_kerchief.png |
| Kiwi | 216.1 | raw_preprocessed_kiwi_"exposure".tiff | hdr_mosaiced_kiwi.hdr | hdr_demosaiced_kiwi.mat | hdr_xyz_kiwi.hdr | hdr_tonemapped_"method"_kiwi.png |
| Macbeth CC | 153.3 | raw_preprocessed_macbeth_"exposure".tiff | hdr_mosaiced_macbeth.hdr | hdr_demosaiced_macbeth.mat | hdr_xyz_macbeth.hdr | hdr_tonemapped_"method"_macbeth.png |
| Black swimsuit | 231.4 | raw_preprocessed_black_swimsuit_"exposure".tiff | hdr_mosaiced_black_swimsuit.hdr | hdr_demosaiced_black_swimsuit.mat | hdr_xyz_black_swimsuit.hdr | hdr_tonemapped_"method"_black_swimsuit.png |
| Origan | 135.0 | raw_preprocessed_origan_"exposure".tiff | hdr_mosaiced_origan.hdr | hdr_demosaiced_origan.mat | hdr_xyz_origan.hdr | hdr_tonemapped_"method"_origan.png |
| Orange object | 42.5 | raw_preprocessed_orange_object_"exposure".tiff | hdr_mosaiced_orange_object.hdr | hdr_demosaiced_orange_object.mat | hdr_xyz_orange_object.hdr | hdr_tonemapped_"method"_orange_object.png |
| Pastel | 331.1 | raw_preprocessed_pastel_"exposure".tiff | hdr_mosaiced_pastel.hdr | hdr_demosaiced_pastel.mat | hdr_xyz_pastel.hdr | hdr_tonemapped_"method"_pastel.png |
| Battery | 274.7 | raw_preprocessed_battery_"exposure".tiff | hdr_mosaiced_battery.hdr | hdr_demosaiced_battery.mat | hdr_xyz_battery.hdr | hdr_tonemapped_"method"_battery.png |
| Train side | 296.6 | raw_preprocessed_train_side_"exposure".tiff | hdr_mosaiced_train_side.hdr | hdr_demosaiced_train_side.mat | hdr_xyz_train_side.hdr | hdr_tonemapped_"method"_train_side.png |
| Raspberry | 871.7 | raw_preprocessed_raspberry_"exposure".tiff | hdr_mosaiced_raspberry.hdr | hdr_demosaiced_raspberry.mat | hdr_xyz_raspberry.hdr | hdr_tonemapped_"method"_raspberry.png |
| Ruler | 145.6 | raw_preprocessed_ruler_"exposure".tiff | hdr_mosaiced_ruler.hdr | hdr_demosaiced_ruler.mat | hdr_xyz_ruler.hdr | hdr_tonemapped_"method"_ruler.png |
| SD card | 72.2 | raw_preprocessed_sd_"exposure".tiff | hdr_mosaiced_sd.hdr | hdr_demosaiced_sd.mat | hdr_xyz_sd.hdr | hdr_tonemapped_"method"_sd.png |
| Painting | 130.6 | raw_preprocessed_painting_"exposure".tiff | hdr_mosaiced_painting.hdr | hdr_demosaiced_painting.mat | hdr_xyz_painting.hdr | hdr_tonemapped_"method"_painting.png |
Figure 8Illustration of the pipeline results for the Macbeth ColorChecker image (a typical low dynamic range scene). (a–c) Raw images at different exposures; (d–f) false color well-exposedness representation that use the Jet colormap from MATLAB; (g,h) HDR radiance mosaiced image estimated from the three exposure set (a–c) and visualized before and after the channel balance using the Jet colormap from MATLAB; (i-k) color representation of the image based on the SDR single acquisition or after tone-mapping of the HDR images.
Figure 9Database visualization of all scenes using a global logarithmic tone-mapping. In case of a high dynamic range scene with high specular reflection, good details are accomplished in specular regions, at the expense of a global image contrast reduction.
Figure 10Database visualization of all scenes using a tone-mapping that is a combination of local and global anchoring of brightness values; the Krawczyk et al. [48] tone-mapping. Global contrast is preserved even in the presence of high specular reflections.
Figure 11Database visualization of all scenes using the gradient domain compression tone-mapping by Fattal et al. [49]. We can see that this technique highlights details well in areas affected by shadows. It gives good details in specular regions, preserving a relatively good global contrast in the scene.
Figure 12Database visualization of all scenes using a tone-mapping that is a combination of local and global tone-mapping developed by Banterle et al. [50] tone-mapping. We observe that this technique achieves good rendering in term of local and global contrasts.
Figure 13Visualization of SDR color versions of the scenes without using any HDR processing. Integration times was selected to be the best exposure as described in [32]. Those SDR versions of scenes could be compared to the output images of HDR pipeline with tone-mapping.
Figure 14Study of the channel camera response according to the achromatic patches in the Macbeth ColorChecker chart. A theoretical response has been computed, taking into account the illuminant and the camera response (see Figure 7a,c).
Ratio difference between radiance computation and estimation between adjacent patches of the Macbeth ColorChecker. The index refers to the number of the patch on the chart. Except for some specific couple of patches, we could consider a good estimation at less than 5% in average.
| - | S1 | S2 | S3 | S4 | S5 | S6 | S7 | S8 | Mean | STD |
|---|---|---|---|---|---|---|---|---|---|---|
| 1/2 | 0.01 | 0.03 | 0.05 | 0.03 | 0.00 | 0.03 | 0.02 | 0.04 | 0.03 | 0.02 |
| 2/3 | 0.10 | 0.09 | 0.08 | 0.08 | 0.05 | 0.05 | 0.04 | 0.09 | 0.07 | 0.02 |
| 3/4 | 0.04 | 0.03 | 0.02 | 0.03 | 0.03 | 0.03 | 0.04 | 0.02 | 0.03 | 0.01 |
| 4/5 | 0.46 | 0.31 | 0.07 | 0.08 | 0.15 | 0.17 | 0.23 | 0.11 | 0.20 | 0.03 |
| 5/6 | 0.01 | 0.03 | 0.02 | 0.02 | 0.00 | 0.01 | 0.01 | 0.02 | 0.01 | 0.01 |
| 7/8 | 0.07 | 0.08 | 0.06 | 0.04 | 0.03 | 0.02 | 0.00 | 0.04 | 0.04 | 0.03 |
| 8/9 | 0.06 | 0.05 | 0.07 | 0.08 | 0.10 | 0.19 | 0.23 | 0.10 | 0.11 | 0.07 |
| 9/10 | 0.02 | 0.02 | 0.02 | 0.02 | 0.02 | 0.02 | 0.02 | 0.03 | 0.02 | 0.00 |
| 10/11 | 0.04 | 0.03 | 0.09 | 0.09 | 0.08 | 0.06 | 0.06 | 0.04 | 0.06 | 0.02 |
| 11/12 | 0.02 | 0.00 | 0.01 | 0.01 | 0.03 | 0.01 | 0.03 | 0.00 | 0.01 | 0.01 |
| 13/14 | 0.07 | 0.04 | 0.14 | 0.20 | 0.20 | 0.19 | 0.19 | 0.12 | 0.14 | 0.06 |
| 14/15 | 0.07 | 0.07 | 0.03 | 0.05 | 0.03 | 0.02 | 0.05 | 0.09 | 0.05 | 0.02 |
| 15/16 | 0.05 | 0.04 | 0.06 | 0.07 | 0.09 | 0.06 | 0.05 | 0.05 | 0.06 | 0.02 |
| 16/17 | 0.01 | 0.03 | 0.01 | 0.01 | 0.00 | 0.01 | 0.00 | 0.01 | 0.01 | 0.01 |
| 17/18 | 0.00 | 0.01 | 0.04 | 0.02 | 0.01 | 0.00 | 0.00 | 0.00 | 0.01 | 0.01 |
| 19/20 | 0.06 | 0.06 | 0.06 | 0.06 | 0.06 | 0.06 | 0.05 | 0.07 | 0.06 | 0.01 |
| 20/21 | 0.05 | 0.05 | 0.05 | 0.05 | 0.04 | 0.05 | 0.05 | 0.06 | 0.05 | 0.01 |
| 21/22 | 0.04 | 0.04 | 0.04 | 0.04 | 0.04 | 0.03 | 0.04 | 0.06 | 0.04 | 0.01 |
| 22/23 | 0.04 | 0.03 | 0.03 | 0.03 | 0.02 | 0.02 | 0.01 | 0.06 | 0.03 | 0.01 |
| 23/24 | 0.06 | 0.04 | 0.06 | 0.05 | 0.03 | 0.02 | 0.00 | 0.09 | 0.04 | 0.03 |
| 0.06 | 0.05 | 0.05 | 0.05 | 0.05 | 0.05 | 0.06 | 0.06 | - | - | |
| 0.10 | 0.06 | 0.03 | 0.04 | 0.05 | 0.06 | 0.07 | 0.04 | - | - |
BRISQUE [51] no-reference metric computed on the SDR color images and also on each channel of the multispectral HDR images. Results estimate that the best exposure SDR color image is better than any of the tone-mapped. This is different to what is observed and we may discard BRISQUE to analyze such data. The results on the spectral channels shows very bad BRISQUE scores, but again, they are hardly comparable to anything we know. Nevertheless, they also show that scores are relatively similar across the channels, indicating stability. Red cells with the worst score are highlighted, whereas green cells mean best scores.
| Image | SDR | TM | TM | TM | TM | S1 | S2 | S3 | S4 | S5 | S6 | S7 | S8 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Scene | Banterle | Fattal | Log | Krawczyk | |||||||||
| black_swimsuit | 50.2 | 63.5 | 72.1 | 77.5 | 54.6 | 88.4 | 90.4 | 88.3 | 92.6 | 90.2 | 88.8 | 78.7 | 87.5 |
| train_side | 29.4 | 56.8 | 53.8 | 65.8 | 50.7 | 84.9 | 85.2 | 78.8 | 81.8 | 87.8 | 83.4 | 66.4 | 89.5 |
| cd | 34.0 | 53.5 | 53.9 | 59.7 | 46.2 | 54.0 | 52.5 | 48.9 | 47.7 | 53.5 | 50.1 | 44.4 | 44.2 |
| kiwi | 28.4 | 45.7 | 39.9 | 47.0 | 44.3 | 46.9 | 49.3 | 42.0 | 42.1 | 36.5 | 41.4 | 32.1 | 37.3 |
| sd | 36.4 | 50.8 | 52.0 | 51.6 | 47.6 | 51.7 | 51.4 | 49.1 | 50.8 | 53.1 | 56.9 | 49.5 | 45.3 |
| pens | 18.4 | 58.1 | 60.0 | 63.1 | 59.3 | 74.7 | 76.2 | 69.0 | 70.7 | 73.9 | 76.0 | 64.2 | 75.8 |
| origan | 26.9 | 52.0 | 50.2 | 53.1 | 50.4 | 55.3 | 60.7 | 49.4 | 57.3 | 53.1 | 52.8 | 49.3 | 50.3 |
| painting | 42.4 | 45.9 | 41.2 | 46.4 | 39.5 | 58.6 | 54.9 | 52.5 | 54.2 | 42.7 | 51.2 | 47.7 | 49.6 |
| macbeth | 29.6 | 61.2 | 46.1 | 69.1 | 66.2 | 62.0 | 67.1 | 63.8 | 67.5 | 69.9 | 69.9 | 54.4 | 65.1 |
| knife | 32.0 | 53.3 | 62.0 | 58.9 | 47.9 | 51.0 | 49.0 | 46.4 | 50.9 | 54.8 | 43.4 | 33.3 | 44.7 |
| water | 24.4 | 52.4 | 49.2 | 53.3 | 51.9 | 59.3 | 56.4 | 54.3 | 54.9 | 52.2 | 53.8 | 47.2 | 53.8 |
| train_front | 34.9 | 60.5 | 58.4 | 77.5 | 51.4 | 84.1 | 85.0 | 77.1 | 81.6 | 82.6 | 79.9 | 64.2 | 85.8 |
| kerchief | 87.4 | 102.6 | 97.5 | 105.0 | 105.1 | 93.6 | 96.5 | 98.8 | 99.0 | 102.3 | 99.4 | 52.9 | 45.9 |
| pastel | 52.1 | 71.9 | 59.6 | 69.7 | 67.8 | 70.4 | 73.5 | 71.3 | 69.9 | 73.9 | 73.8 | 68.0 | 68.3 |
| orange_object | 31.5 | 59.2 | 49.8 | 67.5 | 54.9 | 60.7 | 69.9 | 55.5 | 59.7 | 65.8 | 68.8 | 56.0 | 46.5 |
| battery | 42.7 | 56.7 | 48.4 | 60.3 | 49.8 | 55.0 | 57.4 | 55.8 | 51.3 | 52.6 | 49.8 | 48.7 | 50.5 |
| raspberry | 45.7 | 59.7 | 50.7 | 60.5 | 56.1 | 71.0 | 71.0 | 63.6 | 65.1 | 65.1 | 66.6 | 61.8 | 63.8 |
| ruler | 34.5 | 53.8 | 49.2 | 68.3 | 39.5 | 44.8 | 45.6 | 48.7 | 47.7 | 53.1 | 52.3 | 46.3 | 39.3 |
| 37.8 | 58.8 | 55.2 | 64.1 | 54.6 | 64.8 | 66.2 | 61.8 | 63.6 | 64.6 | 64.3 | 53.6 | 58.0 | |
| 15.2 | 12.6 | 13.0 | 13.7 | 14.7 | 15.0 | 15.6 | 15.8 | 16.3 | 17.7 | 16.6 | 12.0 | 17.0 |
HIGRADE [54] results for evaluation of color images. Scores indicate that the HDR tone-mapped color images are always better than the SDR single exposure version. Scores indicate also that Krawczyk et al. tone-mapping provide best results amongst the tested algorithms, which is also supported qualitatively by visualization of the images.
| Image | SDR | TM Banterle | TM Fattal | TM Log | TM Krawczyk |
|---|---|---|---|---|---|
| black_swimsuit | −1.33 | −0.84 | −0.92 | −0.91 | −0.57 |
| train_side | −0.79 | −0.94 | −0.96 | −1.19 | −0.71 |
| cd | −0.72 | −0.12 | −0.09 | −0.93 | −0.08 |
| kiwi | −1.07 | −0.86 | −1.02 | −0.62 | −0.45 |
| sd | −1.31 | −0.39 | −0.13 | −0.45 | −0.47 |
| pens | −1.23 | −0.54 | −0.70 | −0.56 | −0.46 |
| origan | −0.90 | −0.41 | −0.44 | −0.13 | −0.14 |
| painting | −0.60 | −0.64 | −0.84 | −0.47 | −0.43 |
| macbeth | −0.90 | −0.50 | −0.42 | −0.45 | 0.02 |
| knife | −0.79 | −0.39 | −0.49 | −0.87 | −0.07 |
| water | −1.01 | −0.92 | −0.80 | −0.86 | −0.70 |
| train_front | −0.95 | −0.64 | −0.66 | −1.18 | −0.72 |
| kerchief | −2.02 | −2.05 | −1.53 | −1.77 | −1.46 |
| pastel | −1.13 | −0.59 | −0.55 | −0.73 | −0.32 |
| orange_object | −0.99 | −0.96 | −0.42 | −0.61 | −0.73 |
| battery | −0.92 | −0.34 | −0.38 | −0.79 | −0.14 |
| raspberry | −0.95 | −0.81 | −0.89 | −0.93 | −0.24 |
| ruler | −0.40 | −0.74 | −0.77 | −1.21 | 0.02 |
| −1.00 | −0.70 | −0.67 | −0.81 | −0.42 | |
| 0.34 | 0.40 | 0.34 | 0.36 | 0.36 |