선정목록으로
Structure-Preserving Spectral Reflectance Estimation using Guided Filtering
필름·전자재료 · (13) 프리즘 필름
기본 정보
- 저자
- DOI
- 10.48550/arxiv.2209.07889
- 저널
- OPAL (Open@LaTrobe) (La Trobe University)
- 발행년도
- 2022
- 발행기관
- La Trobe University
- 피인용수
- 0
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://figshare.com/articles/preprint/Structure-Preserving_Spectral_Reflectance_Estimation_using_Guided_Filtering/21848724
- 토픽
- Color Science and Applications
- OpenAlex ID
- W6910581882
평가 내용
- 관련도
- 사업분야
- 필름·전자재료 · (13) 프리즘 필름
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
Light spectra are a very important source of information for diverse classification problems, e.g., for discrimination of materials. To lower the cost for acquiring this information, multispectral cameras are used. Several techniques exist for estimating light spectra out of multispectral images by exploiting properties about the spectrum. Unfortunately, especially when capturing multispectral videos, the images are heavily affected by noise due to the nature of limited exposure times in videos. Therefore, models that explicitly try to lower the influence of noise on the reconstructed spectrum are highly desirable. Hence, a novel reconstruction algorithm is presented. This novel estimation method is based on the guided filtering technique which preserves basic structures, while using spatial information to reduce the influence of noise. The evaluation based on spectra of natural images reveals that this new technique yields better quantitative and subjective results in noisy scenarios than other state-of-the-art spatial reconstruction methods. Specifically, the proposed algorithm lowers the mean squared error and the spectral angle up to 46% and 35% in noisy scenarios, respectively. Furthermore, it is shown that the proposed reconstruction technique works out-of-the-box and does not need any calibration or training by reconstructing spectra from a real-world multispectral camera with nine channels.
본문 77,095자
본문 펼치기
# Structure-Preserving Spectral Reflectance Estimation using Guided Filtering
FRANK SIPPEL <sup>1,*</sup> , JÜRGEN SEILER <sup>1</sup> , NILS GENSER <sup>1</sup> , AND ANDRÉ KAUP <sup>1</sup>
1 _Chair of Multimedia Communications and Signal Processing, Friedrich-Alexander University Erlangen-Nuremberg, 91058 Erlangen, Germany_
- _Corresponding author:_ _frank.sippel@fau.de_
_Received 16 June 2020; revised 7 September 2020; accepted 7 September 2020; posted 10 September 2020 (Doc._ _ID 400485);_
_published 7 October 2020_
Light spectra are a very important source of information for diverse classification problems, e.g., for discrimination of materials. To lower the cost for acquiring this information, multispectral cameras are used.
Several techniques exist for estimating light spectra out of multispectral images by exploiting properties about the spectrum. Unfortunately, especially when capturing multispectral videos, the images are
heavily affected by noise due to the nature of limited exposure times in videos. Therefore, models that
explicitly try to lower the influence of noise on the reconstructed spectrum are highly desirable. Hence, a
novel reconstruction algorithm is presented. This novel estimation method is based on the guided filtering technique which preserves basic structures, while using spatial information to reduce the influence
of noise. The evaluation based on spectra of natural images reveals that this new technique yields better quantitative and subjective results in noisy scenarios than other state-of-the-art spatial reconstruction
methods. Specifically, the proposed algorithm lowers the mean squared error and the spectral angle up to
46% and 35% in noisy scenarios, respectively. Furthermore, it is shown that the proposed reconstruction
technique works out-of-the-box and does not need any calibration or training by reconstructing spectra
from a real-world multispectral camera with nine channels. © 2022 Optical Society of America
[https://doi.org/10.1364/JOSAA.400485](https://doi.org/10.1364/JOSAA.400485)
1. INTRODUCTION
Typically, hyperspectral cameras are used to record light spectra.
These cameras usually capture around 25 to 200 different spectral bands using narrowband filters. The result is a fine detailed
spectrum for each pixel. By using the result of these cameras, a
lot of classification tasks can be solved. For example, material
classification, specifically the discrimination of different types
of plastic [1] can be solved as well as determining the degree
of burn [2], detecting drug counterfeit [3], classifying different
wheat kernels [4], or gasoline discrimination [5]. A big advantage is that using hyperspectral imaging in the context of these
applications is a non-destructive method.
Unfortunately, there are multiple problems with these systems. First of all, they are usually extremely expensive, since
a lot of different filters are needed. Consequently, multispectral cameras, which have much less different filters, are used to
estimate the hyperspectral images. Then, there are other disadvantages dependent on the camera design. Using a multispectral
filter array approach [6] leads to low resolution images. Here,
the number of bands represents the pixels used for different
bands. In the end, the information gained for such a block of
pixels is equivalent to one big pixel with the given amount of
bands, which results in a low spatial resolution image. The advantage of such a system is that it is capable of capturing video
sequences. On the other hand, approaches based on line scan
cameras [7] or filter wheels [8] are not able to capture video
sequences properly, since the rotating or scanning procedure
takes too much time to yields proper video sequences. However,
when there is enough time to capture the scene, these imaging
techniques yield high resolution images.
The ability of capturing proper video sequences is an important property for a lot of classification algorithms. For example,
imagine a drone flying over agriculture fields and estimating the
plant health in real-time based on the provided spectra. Therefore, the desired multispectral camera should be able to capture
high-resolution multispectral video sequences. This is possible
using an approach which uses multiple cameras, where each
of them is equipped with just one single filter. This setup is
shown exemplarily in Fig. 1. After combining the resulting
images of this setup properly, this system can yield extremely
high resolution images and video sequences, while the cost for
such a system stays quite low, since it uses classical cameras
and fairly common filters. Since the goal is to deliver images,
which yield a fine-detailed spectrum for every pixel, the task
is to reconstruct hyperspectral images from this multispectral
Fig. 1. The Camera Array for Multi-Spectral Imaging (CAMSI)
[9] has nine channels and is able to record high-resolution multispectral video sequences. Note that by using the algorithms of
[10] and [11], all views are reconstructed to the center view.
camera. The reconstruction of spectra exploits the information,
which is given by the overlapping filters.
Unfortunately, when capturing video sequences or fast moving objects, the exposure time of each image is very limited.
Furthermore, the bandwidth of multispectral filters is fairly low.
Both of these circumstances lead to the situation that the amount
of light that falls onto the sensor is limited. Consequently, the
resulting images are typically very noisy. This paper presents a
novel spectral reflectance estimation algorithm, which produces
high quality results, even if the environment yields extremely
noisy images. Furthermore, our novel technique works out of
the box and does not need any training database.
Section 2 establishes the basic relationship between multispectral images and hyperspectral images, formulates the problem
and introduces a noise model. Afterwards, Section 3 presents the
state of the art. Our novel reconstruction algorithm is described
in Section 4. The superiority of our new method is shown in
Section 5. Finally, Section 6 presents the power of our technique
using CAMSI [9] and Section 7 summarizes the results.
2. PROBLEM FORMULATION
The basic physical relationship between the multispectral channels c and the spectrum is given by counting photons, which
passed through the corresponding filters f [12]
and F _i_ = [ f _i_ ( _λ_ 1), f _i_ ( _λ_ 2), _· · ·_, f _i_ ( _λN_ )], respectively, where F _i_ denotes the _i_ -th row of the filter matrix F _∈R_ <sup>_M×N_</sup> . The sampled
spectrum s corresponds to one pixel of a hyperspectral image.
Therefore, the adjective _hyperspectral_ is identical to a fine sampling of a spectrum, while _multispectral_ corresponds to less channels, which result from a weighted integration over a spectrum
area. Stacking all _M_ multispectral channels results for the noiseless case in the underdetermined system
c = Fs, (2)
where c are the recorded multispectral channels and F is the filter
matrix, which contains the relationships between the combined
reflectance spectrum s and the recorded channels.
Later on, it is necessary to take neighboring pixels into account. Since c and s only contain the information about one
single pixel, they need to be extended. First of all, multispectral
images and hyperspectral images need to be defined. Therefore,
C and S are introduced, where C is the multispectral image and
S is the hyperspectral image. To get the value of the _i_ -th multispectral channel or _j_ -th hyperspectral channel at pixel position
( _x_, _y_ ), C _i_ ( _x_, _y_ ) and S _j_ ( _x_, _y_ ) are used, respectively. Fig. 2 shows
these different images and the capturing process.
A very important property of images is the spatial correlation between different pixels in uniform regions. To exploit that
information, blocks of images are processed. Moreover, for an
optimal support area, each pixel has its own block, where this
specific pixel is the center of the block. Therefore, more definitions are necessary. First of all, the blocksize for reconstruction
purposes is _B_ r. Consequently, blocks with _B_ r _× B_ r pixels are
reconstructed when using spatial information. Furthermore,
since there should be a center pixel, _B_ r shall be odd. Moreover,
these blocks are vectorized, which means that all multispectral
channels and spectra within one block are stacked on top of each
other. This is done by traversing the image in the _x_ - _y_ plane row
by row. In the end, the first elements of this vector contain all
multispectral or hyperspectral channels of the first pixel in this
block, respectively. Thereafter, all channels of the pixel right
to the first pixel follow. Consequently, the multispectral and
hyperspectral block variables are C b <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> _∈R_ <sup>_B_</sup> r <sup>2</sup> <sup>_M_</sup> and S b <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> _∈R_ <sup>_B_</sup> r <sup>2</sup> <sup>_N_</sup>,
r <sup>2</sup> <sup>_M_</sup> and S b <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup>
b <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> _∈R_ <sup>_B_</sup> r <sup>2</sup>
b <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> _∈R_ <sup>_B_</sup> r <sup>2</sup>
c _i_ =
- _λ_ max
_λ_ min
_q_ ( _λ_ ) _r_ ( _λ_ ) f _i_ ( _λ_ ) _o_ ( _λ_ ) _m_ ( _λ_ ) d _λ_, (1)
hyperspectral block variables are C b <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> _∈R_ <sup>_B_</sup> r <sup>2</sup> <sup>_M_</sup> and S b <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> _∈R_ <sup>_B_</sup> r <sup>2</sup> <sup>_N_</sup>,
respectively, where C b <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> returns the _B_ r _× B_ r multispectral block
around center pixel ( _x_, _y_ ) in vectorized form.
When reconstructing whole blocks at once, the filter matrix F
has to be expanded such that each pixel in the vectorized multispectral block C b <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> can be reconstructed with the filter matrix.
This results in a block-diagonal matrix with the filter matrix F
on its main block diagonal. The expanded filter matrix can be
written as
ˆF = I <sup>_B_</sup> r <sup>2</sup>
r <sup>2</sup> <sup>_×B_</sup> r <sup>2</sup>
r <sup>2</sup> _⊗_ F, (3)
where c _i_ is the _i_ -th multispectral channel of a single pixel, _q_ ( _λ_ ) is
the spectrum of the light source, _r_ ( _λ_ ) is the spectral reflectance
of the imaged object, f _i_ ( _λ_ ) is the transfer function of the _i_ -th
filter, _o_ ( _λ_ ) is the spectral permeability of the camera lens and
_m_ ( _λ_ ) is the spectral response of the camera. Since _q_ ( _λ_ ), _r_ ( _λ_ ),
_o_ ( _λ_ ) and _m_ ( _λ_ ) are all unknown, the spectrum which can be
estimated reads as _s_ ( _λ_ ) = _q_ ( _λ_ ) _r_ ( _λ_ ) _o_ ( _λ_ ) _m_ ( _λ_ ). Note that the
spectral reflectance _r_ ( _λ_ ) could be estimated, if _q_ ( _λ_ ), _o_ ( _λ_ ) and
_m_ ( _λ_ ) are known, since they could be multiplied to the transfer
functions of the filter.
As estimating a continuous spectrum is cumbersome, the
spectrum and the filters are sampled, and the integration is replaced by a sum. Sampling the spectrum and the filters with
_N_ sampling points leads to s = [ _s_ ( _λ_ 1), _s_ ( _λ_ 2), _· · ·_, _s_ ( _λN_ )] _∈R_ <sup>_N_</sup>
where _⊗_ indicates the Kronecker product and I <sup>_B_</sup> r <sup>2</sup>
where _⊗_ indicates the Kronecker product and I <sup>_B_</sup> r <sup>2</sup> <sup>_×B_</sup> r <sup>2</sup> is the iden
tity matrix with size _B_ r <sup>2</sup> _× B_ r <sup>2</sup> . Therefore, the expanded multispectral imaging equation for the noiseless case reads as
r <sup>2</sup> <sup>_×B_</sup> r <sup>2</sup>
C b <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup>
b <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> = FS <sup>ˆ</sup> b <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup>
b <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>.</sup> (4)
The first challenge is to employ prior knowledge about the spectrum to solve this underdetermined linear system of equations.
Unfortunately, not only the undetermined linear system of
equations causes problems, but also noise. There are multiple noise sources within the imaging pipeline of multispectral
cameras. The most important noise source is shot noise [13],
which is caused by miscounting photons. This noise source
is signal-dependent, which results in a higher absolute deviation for images in a bright environment. However, the relative
Light source
s _j_
_q_ ( _λ_ )
_r_ ( _λ_ ) f _i_ ( _λ_ ) _o_ ( _λ_ ) _m_ ( _λ_ ) c _i_ <u>Reconstruction</u>
_y_
_x_
_y_
_i_
_x_
_j_
Imaged object Filter Lens Camera Multispectral image C ( _x_, _y_ ) Hyperspectral image S ( _x_, _y_ )
Fig. 2. The basic pipeline from the emitting light source to a reconstructed hyperspectral datacube. Note that this figure only shows
one out of _M_ filters. First, the light is emitted from the light source and reflected by the imaged object. Thereafter, the reflected light
passes through one of filter, the lens and the camera. In the end, the camera counts the remaining number of photons and creates one
_x −_ _y_ -plane of the multispectral datacube. Of course, other light rays will pass through the other filters such that the full multispectral
datacube is created. The purpose of this paper is to reconstruct a hyperspectral datacube out of this multispectral datacube under the
influence of strong noise. Finally, a spectrum of a single pixel can be analyzed.
deviation, which compares the variance to the mean, is much
lower, when a lot of light falls into the sensor compared to a
dark imaging environment. Furthermore, since the number of
photons is counted, the distribution for the multispectral channels is non-negative and discrete. These observations result in
the distribution [14]
c _i_ _∼P_ ( F _i_ s ), (5)
where _P_ ( F _i_ s ) is a Poisson distribution with mean F _i_ s . For a
Poisson distribution the mean equals the variance. Therefore,
the variance of the noise is higher, if more photons are counted.
There are a couple of problems using a Poisson distribution to
model the spectral reconstruction problem. Firstly, it is cumbersome to derive solutions based on the Poisson distribution, since
it often ends in non-closed-form solutions. Secondly, since the
noise distribution is signal dependent, the statistical moments
would be different for every pixel. Consequently, it would be
much more difficult to estimate noise statistics. The estimation
is much easier when assuming a constant noise variance for a
single multispectral image. Furthermore, the Poisson distribution can be nicely modeled by a Gaussian distribution for a high
number of photons. Consequently, in the following it is assumed
that the noise is Gaussian distributed and not signal-dependent.
Other noise sources are dark current noise, amplifier noise, and
reset noise. Usually, these noise sources are modeled using additive white Gaussian noise [14]. Consequently, all independent
noise sources can be summarized into one single additive white
Gaussian noise source yielding the relationship [15]
c = Fs + n, (6)
where n is the additive white Gaussian noise with zero mean
and different variances for each multispectral image. This is
necessary, since, for example, different bandwidths for the filters
are allowed. This leads to a different number of photons counted
by the corresponding channel, which in the end yields different
noise variances. In multispectral video sequences, different
noise variances in the multispectral channels also occur fairly
often, since the illumination varies in its intensity over different
wavelength areas. Then, for less illuminated wavelength areas,
the corresponding multispectral channel contains much more
noise in comparison to the other channels.
Some of the reconstruction methods need an estimate of the
noise variance. For a single multispectral image, the noise variance can be estimated using [16]. Here, the filter kernel
3. STATE OF THE ART
In the following section, different reconstruction techniques are
presented. Some of them do no take the spatial correlation between pixels into account. These are the so-called single-pixel
reconstruction techniques, which are deployed pixel by pixel.
These reconstruction methods miss out essential information to
reduce the influence of noise on the reconstruction. Nevertheless, they are the state-of-the-art non-learning-based methods
for the noiseless case. Therefore it is essential to describe them
before building the spatial reconstruction algorithms on top of
these. There are diverse ideas to tackle the single-pixel problem.
1 _−_ 2 1
_−_ 2 4 _−_ 2
1 _−_ 2 1
(7)
<sup>,</sup>
V =
is used to estimate the noise standard deviation for the _i_ -th
multispectral image
<u>1</u>
_σ_ n, _i_ =
6 _|_ Ω _|_
## π ∑
2
( _x_, _y_ ) _∈_ Ω
_|_ C _i_ ( _x_, _y_ ) _∗_ V _|_, (8)
where Ω contains all pixel coordinates in the image and the
operator _∗_ denotes a convolution.
Often a noise matrix is necessary for the upcoming reconstructing techniques. Since the noise of different channels is
independent from each other, this noise matrix N just contains
the noise variances of the individual channels _σ_ n, <sup>2</sup> _i_ <sup>on its main</sup>
diagonal. When reconstructing whole blocks, the noise matrix
has to be expanded in a similar form to Eq. (3), which reads as
ˆN = I <sup>_B_</sup> r <sup>2</sup>
r <sup>2</sup> <sup>_×B_</sup> r <sup>2</sup>
r <sup>2</sup> _⊗_ N . (9)
For example, one could use compressed sensing [17], a basis parameter estimation [18], or machine-learning based approaches
(e.g. [18–22]). When using machine-learning, a training database
for representative spectra or statistical evaluations is necessary.
The training-based reconstruction methods can lead to superior
results. However, there is a high risk that such a system runs into
overfitting to a specific environment. Consequently, approaches,
which do not require a training database, are used to deliver
a general purpose spectral estimation system. First, two other
very popular single-pixel reconstruction are presented in the
following, which are actually tightly related. Afterwards, two
state-of-the-art spatial reconstruction methods are presented.
A. Smoothed pseudoinverse (SP)
One way to tackle the reconstruction problem is by assuming the
spectrum to be smooth. One measure to define smoothness is
by assuming small derivatives in the continuous spectrum, thus
differences in the sampled spectrum [15]. With this information,
one can setup an optimization problem, which tries to find the
spectrum with the smallest differences within the solution set
of the underdetermined linear system of equations, which has
infinitely many solutions as long as there is no contradiction
in the system. This results in the optimization problem of the
smoothed pseudoinverse (SP)
ˆs <sup>SP</sup> = argmin
s
_||_ Ds _||_ <sup>2</sup> 2
(10)
c is known, in particular ˜c = F˜s + n, where ˜c is the random
variable for the observed multispectral channels and n is the
statistical independent Gaussian noise vector with zero mean.
Using the covariance matrices K c = FK r F <sup>T</sup> + N, where K c is
the covariance matrix for the multispectral channels and K r is
the covariance matrix for the spectral reflectances, and the crosscovariance matrix K rc = K r F <sup>T</sup> yields the single-pixel Wiener
filter (WF) [15]
ˆs <sup>WF</sup> = K rc K c <sup>_−_</sup> <sup>1</sup> <sup>c</sup> <sup>=</sup> <sup>K</sup> <sup>r</sup> <sup>F</sup> <sup>T(</sup> <sup>FK</sup> <sup>r</sup> <sup>F</sup> <sup>T +</sup> <sup>N</sup> <sup>)</sup> <sup>_−_</sup> <sup>1</sup> <sup>c</sup> <sup>.</sup> (13)
Using this formula assumes the spectral reflectances to have
zero mean. This is obviously not ideal, however, giving a reasonable estimate is difficult. Firstly, a training database for the
mean would be necessary. Secondly, the multispectral images
would have to stay within the same bounds as the training images. Thirdly, a different multispectral channels to hyperspectral
channels ratio would lead to a different mean value.
A novel connection between the SP and the WF can be found
in the appendix. This insight is used for all reconstruction methods based on the Wiener filter, namely K r = _d_ M <sup>_−_</sup> <sup>1</sup> .
C. Spatio-spectral Wiener filter (SSW)
The big problem of single-pixel reconstruction methods is, that
they are limited in handling noise, since they are missing spatial
information. The spatio-spectral Wiener filter (SSW), described
in [23], tries to tackle that problem by exploiting the spatial
correlation between neighboring pixels. It is an extension to the
single-pixel Wiener filter. This method replaces the covariance
matrix by a combined spatio-spectral covariance matrix K . The
spectral reflectances of pixel ( _x_, _y_ ) are estimated by
ˆS <sup>SSW</sup> ( _x_, _y_ ) = PKˆF <sup>T</sup> ( ˆFKˆF <sup>T</sup> + ˆN ) <sup>_−_</sup> <sup>1</sup> C <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> (14)
b <sup>,</sup>
where P is a _N × B_ r <sup>2</sup> _N_ matrix which picks out the spectrum of the
middle pixel. The covariance matrix K is formed by assuming
it to be separable into the elements K r and K s, where K r is the
spectral covariance matrix known from above and K s is the
spatial covariance matrix. Then, K can be calculated by
K = K s _⊗_ K r. (15)
Furthermore, the spatial covariance K s is obtained by assuming
it to be separable into vertical and horizontal direction. This
results in
K s = R ( _p_ ) _⊗_ R ( _p_ ), (16)
where R ( _p_ ) is the covariance in either horizontal or vertical direction. Moreover, it is assumed that the covariance in horizontal
and vertical direction can be modeled by a first order Markov
sequence. Consequently, the matrix R ( _p_ ) is formed by
s.t. c = Fs,
where D is the smoothing matrix. Using the l2-norm for this
optimization problem leads to a closed-form solution. The order
of the difference matrix D can be chosen arbitrarily. The higher
the order of the differences used, the more flexibility is allowed.
Usually, the first-order or the second-order differences are used,
since the procedure rather should produce less oscillating results.
For the first differences, the matrix D looks like
1 _−_ 1 0 _· · ·_ 0
0 1 _−_ 1 _· · ·_ 0
... ... ... ... ...
0 _· · ·_ 0 1 _−_ 1
D 1 =
. (11)
The first-order differences just calculate the delta between neighboring spectral entries, for example the first difference is D 1,1 s =
s 1 _−_ s 2, where D 1,1 indicates the first row of D 1. Then, the
second derivative is calculated by just applying the derivative
again to the first-order derivative. This can be expressed by
D 2 = D 1 <sup>_N−_</sup> <sup>2</sup> <sup>_×N−_</sup> <sup>1</sup> D 1 <sup>_N−_</sup> <sup>1</sup> <sup>_×N_</sup> . The superscripts denote the matrix
1 <sup>_N−_</sup> <sup>2</sup> <sup>_×N−_</sup> <sup>1</sup> D 1 <sup>_N−_</sup> <sup>1</sup> <sup>_×N_</sup>
D 2 = D 1 <sup>_N−_</sup> <sup>2</sup> <sup>_×N−_</sup> <sup>1</sup> D 1 <sup>_N−_</sup> <sup>1</sup> <sup>_×N_</sup> . The superscripts denote the matrix
size.
By applying the derivative to the Lagrangian function, the
result can be written in closed-form as
ˆs <sup>SP</sup> = M <sup>_−_</sup> <sup>1</sup> F <sup>T</sup> ( FM <sup>_−_</sup> <sup>1</sup> F <sup>T</sup> ) <sup>_−_</sup> <sup>1</sup> c, (12)
where M = D <sup>T</sup> D + _α_ I . The additional scaled identity matrix is
necessary because D <sup>T</sup> D is not invertible.
B. Single-pixel Wiener filter (WF)
Another approach to tackle this inversion problem statistically is
by minimizing the mean squared error between the estimation
ˆs and the random variable ˜s, which represents the spectrum
statistically. The underlying system yielding the observations
where _p_ is the correlation coefficient or the decay factor.
_p_ <sup>_B_</sup> <sup>r</sup> <sup>_−_</sup> <sup>1</sup> _p_ <sup>_B_</sup> <sup>r</sup> <sup>_−_</sup> <sup>2</sup> _· · ·_ _p_ <sup>0</sup>
_p_ <sup>0</sup> _p_ <sup>1</sup> _· · ·_ _p_ <sup>_B_</sup> <sup>r</sup> <sup>_−_</sup> <sup>1</sup>
_p_ <sup>1</sup> _p_ <sup>0</sup> _· · ·_ _p_ <sup>_B_</sup> <sup>r</sup> <sup>_−_</sup> <sup>2</sup>
R ( _p_ ) =
...
... ... ...
, (17)
Guide generation
N
C ( _x_, _y_ ) Noise estimation
N
Reconstruction
G ( _x_, _y_ )
ˆS <sup>GF</sup> ( _x_, _y_ )
Guided filtering Mixing ˆS <sup>SPRE</sup> ( _x_, _y_ )
N <sup>HS</sup>
ˆS <sup>SSW</sup> ( _x_, _y_ )
Fig. 3. Signal flow diagram of our novel SPRE algorithm. The noise estimation is done using Eq. (8). The basic idea is to generate
a guide image from the multispectral images, which is used by the guided filtering to improve the reconstruction result. Due to
unfavourable properties of the guided filtering, a mixing step is necessary in the end.
D. Edge-preserving spatio-spectral Wiener filter (EPSSW)
The idea of [24], the edge-preserving spatio-spectral Wiener filter
(EPSSW), is to combine a Wiener filter for denoising the multispectral images first, which uses weights similar to bilateral filter
approach, and afterwards apply a spectral reconstruction Wiener
filter using the resulting noise covariance of the denoising filter.
This results in
ˆS <sup>EPSSW</sup> ( _x_, _y_ ) = W r( _x_, _y_ )
- W d( _x_, _y_ )
- C ( _x_, _y_ ) _−_
(18)
the EPSSW tries to embed this structure by applying affinity
weights in the denoising step. This affinity is calculated by a
decaying exponential term and the _l_ 2-norm of the difference
between neighboring multispectral pixels and the middle pixel.
Even if this distance gets higher in scenarios with some noise,
the affinity measure still works, since the weights are normalized to sum up to one. However, the more noise an image has,
the higher the range distance to other pixels than the middle
pixel. Therefore, for low SNR images, this middle pixel gets a lot
of weight, while the surrounding pixels approximately get the
same range affinity. In the end, this procedure cannot reconstruct
the structure for low SNR images properly anymore.
This novel reconstruction algorithm, called structurepreserving reflectance estimation (SPRE), is designed to simultaneously preserve structure, while using spatial information to
tackle the influence of noise on the reconstruction in uniform
regions. The idea of this novel technique is to use the independence of the noise across different multispectral images to create
an image that contains the structure of the scene. This combined
image contains much less noise and serves as a guide for the
reconstruction. Therefore, the idea of guided filtering, described
in [25], is embedded into the spectral reconstruction problem.
The basic signal flow is shown in Fig. 3. The foundation for
the SPRE is the SSW. Then, the noisy hyperspectral images S <sup>ˆ</sup> <sup>SSW</sup> _i_,
and a guide image G, which contains the basic structure of the
image, are combined to form a denoised structure-preserving
hyperspectral image S <sup>ˆ</sup> <sup>GF</sup> . A proper guide generation procedure,
which effectively reduces the influence of noise, is extremely
important. In the end, S <sup>ˆ</sup> <sup>SSW</sup> and S <sup>ˆ</sup> <sup>GF</sup> are mixed for the high SNR
case.
A. Guided filtering
This technique assumes that the noiseless hyperspectral image
ˇS _i_ is a linear combination of the guide in a window _wx_, _y_, which
is centered around pixel ( _x_, _y_ ) and has size _B_ g _× B_ g. This can be
formulated as
ˇS _i_ ( _u_, _v_ ) = _ax_, _y_ G ( _u_, _v_ ) + _bx_, _y_ _∀_ ( _u_, _v_ ) _∈_ _wx_, _y_, (19)
where _ax_, _y_ and _bx_, _y_ are the linear regression coefficients for window _wx_, _y_ . Within this window the basic structure is assumed
_−_ C <sup>¯</sup> ( _x_, _y_ )
- + ¯C ( _x_, _y_ )�,
where W d( _x_, _y_ ) is the denoising Wiener filter, W r( _x_, _y_ ) is the
Wiener filter for spectral reflectance estimation and C <sup>¯</sup> ( _x_, _y_ ) is a
weighted average of the multispectral channels within a block
using bilateral weights. These weights have a spatial and a range
component. The spatial component is responsible for allocating higher weights for closer pixels. The speed of this decay
towards distant pixels is described by a spatial variance. The
range component is responsible for weighting similar pixels
higher. This is done by using the squared _l_ 2-norm of the difference between the multispectral channels of two pixels, namely,
_||_ C ( _x_, _y_ ) _−_ C ( _u_, _v_ ) _||_ <sup>2</sup> 2 <sup>.</sup> <sup>Afterwards,</sup> <sup>this</sup> <sup>term</sup> <sup>is</sup> <sup>converted</sup> <sup>into</sup>
an affinity measure by an exponential term. Furthermore, the
decay of the similarity measure is controlled by a range variance.
In the end, both components are combined by a multiplication
and are scaled, such that the sum of all weights within one block
equals one. For a detailed description of these weights and the
Wiener filters please refer to [24]. Moreover, the mean of the
spectral reflectances is omitted again to have a fair comparison.
Otherwise, the mean could be also easily used in the WF and the
SSW. Originally, this paper formulated the problem by assuming
a constant noise variance over all multispectral images.
4. STRUCTURE-PRESERVING REFLECTANCE ESTIMA-
TION (SPRE)
The SSW and the EPSSW try to embed spatial information to
reduce the influence of noise on the reflectance estimation. However, the spatio spectral Wiener weights each pixel in a window
for every position in the same way, or in other words contentindependent. Thus, this algorithm does not include the structure of the image into the reconstruction. On the other hand,
to be the same, however, scale factors, flips and offsets are allowed. Here, one can see why a proper guide is essential for
this technique to work. If the guide G is too noisy and edges
are not shown properly, the resulting hyperspectral image will
be disturbed heavily, since the noise will take direct influence
through the parameter _ax_, _y_ . The loss function
argmin
_ax_, _y_, _bx_, _y_
_E_ ( _ax_, _y_, _bx_, _y_ ) =
�2 + _θa_ 2 _x_, _y_
## argmin ∑
_ax_, _y_, _bx_, _y_ ( _u_, _v_ ) _∈_ Ξ
��
_ax_, _y_ G ( _u_, _v_ ) + _bx_, _y −_ S <sup>ˆ</sup> <sup>SSW</sup> _i_ ( _u_, _v_ )
(20)
is needed to estimate these coefficients _ax_, _y_ and _bx_, _y_, where
Ξ = _{_ ( _u_, _v_ ) _|_ ( _u_, _v_ ) _∈_ _wx_, _y}_ and _|_ Ξ _|_ = _B_ g <sup>2</sup>, or in other words, Ξ
contains all pixel positions within window _wx_, _y_ . This minimization problem tries to simultaneously minimize the difference
between the noisy hyperspectral image and the constructed image out of the guide and the coefficients _ax_, _y_ . The intuition for
this is that in homogeneous regions the denoised hyperspectral
image should rely more on averaging the noisy hyperspectral
image to reconstruct proper spectra, while in regions with a lot
of structure the guide contains the valuable information of the
position of these structures. The balance between these extreme
cases is kept with the hyperparameter _θ_ . If _θ_ is high, the parameters _ax_, _y_ have to be low. Thus, the reconstruction relies more on
using spatial information and the image is smoother. This might
end in an image that is too smooth. If _θ_ is low, more structures
will be adopted. This might end in an image, that adopted some
noisy parts of the guided image.
Taking the derivative with respect to _ax_, _y_ and _bx_, _y_ leads to
0.34 0.28 0.29
0.06 0.03
+
Fig. 4. Example guide generation. The amount of noise in
the guide image is strongly reduced due to a smart mixing
procedure. Note that it does not matter, that the middle image
does not show the structure of the image, or that the last image
is flipped.
other carries all _bx_, _y_ . Consequently, these images have the same
width and height as the noisy image. Now one could calculate
one denoised hyperspectral pixel ( _x_, _y_ ) by taking the coefficients
_ax_, _y_ and _bx_, _y_ and plug them into the linear regression equation.
However, the pixel is part of much more windows, and thus
much more regression coefficients could be used. Therefore, to
get the denoised image pixel ( _x_, _y_ ), the parameters _ax_, _y_ and _bx_, _y_
are averaged for every window, that contains pixel ( _x_, _y_ )
<sup>GF</sup> _i_ ( _x_, _y_ ) = <sup><u>1</u></sup>
ˆS <sup>GF</sup> _i_
## 1 ∑
_B_ g <sup>2</sup> ( _u_, _v_ ) _∈_ Ξ
_bu_, _v_ . (25)
## au, v G ( x, y ) + 1 ∑
_B_ g <sup>2</sup> ( _u_, _v_ ) _∈_ Ξ
_<u>∂E</u>_
_∂ax_, _y_
## = ax, y ∑
( _u_, _v_ ) _∈_ Ξ
## G ( u, v ) 2 + bx, y ∑ G ( u, v ) −
( _u_, _v_ ) _∈_ Ξ
This can be implemented again using a sliding window over the
coefficient images, which has the purpose of averaging all coefficients within that window. Since every pixel has its own window
again, every pixel has its own two averaged coefficients for the
linear regression. This sliding window must have the same block
size _B_ g. Assuming being able to generate a perfect guide, which
indicates smooth region and edges, this method nicely can rely
on neighboring pixels with the same spectral properties while
preserving edges to other spectra. Consequently, the block size
should be chosen relatively small, because the individual images
of a three-dimensional hyperspectral block, that contains one or
two different reflectance spectra, can be nicely mapped by the
linear regression. On the other hand, the relationship between
more spectra might not be projected by a linear regression of the
guide properly, because the guide image is fixed.
B. Guide generation
As already mentioned, for this technique to work properly, it is
crucial to generate a guide image, which has much less noise
than the multispectral images. The idea to generate a proper
guidance image G is to use the multispectral images, which
roughly indicate differences in spectra, while taking advantage
of the image-independent noise. Consequently, a weighted average of multispectral images is formed
(21)
g <sup>2</sup> <sup>_ax_</sup> <sup>,</sup> <sup>_y_</sup>
## − ∑
( _u_, _v_ ) _∈_ Ξ
G ( _u_, _v_ ) S <sup>ˆ</sup> <sup>SSW</sup> _i_
<sup>SSW</sup> _i_ ( _u_, _v_ ) + _θB_ g <sup>2</sup>
=! 0,
where = <sup>!</sup> is an operator which enforces equality, and
_<u>∂E</u>_
_∂bx_, _y_
## = ax, y ∑
( _u_, _v_ ) _∈_ Ξ
## G ( u, v ) + bx, yB g 2 − ∑
( _u_, _v_ ) _∈_ Ξ
ˆS <sup>SSW</sup> _i_ ( _u_, _v_ ) = <sup>!</sup> 0,
(22)
respectively. Using the second equation, one can solve for the
offset coefficient _bx_, _y_
_bx_, _y_ = S <sup>¯</sup> _i_, _w −_ _ax_, _y_ G <sup>¯</sup> _w_, (23)
where G <sup>¯</sup> _w_ and S <sup>¯</sup> _i_, _w_ is the mean of G ( _u_, _v_ ) and S <sup>ˆ</sup> <sup>SSW</sup> _i_ ( _u_, _v_ ) in the
window _wx_, _y_, respectively. Then one can use this result and plug
_bx_, _y_ into the derivative for scale coefficient _ax_, _y_, which leads to
_ax_, _y_ =
<u>1</u>
_B_ <u>g</u> <sup>2</sup> <sup>∑(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_v_</sup> <sup>)</sup> <sup>_∈_</sup> <sup>Ξ</sup> <sup>G</sup> <sup>(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_v_</sup> <sup>)</sup> <sup>ˆS</sup> <sup>SSW</sup> _i_
, (24)
var _wx_, _y_ ( G ( _u_, _v_ )) + _θ_
<sup>SSW</sup> _i_ ( _u_, _v_ ) _−_ G <sup>¯</sup> _w_ S <sup>¯</sup> _i_, _w_
where var _wx_, _y_ ( G ( _u_, _v_ )) calculates the variance of G ( _u_, _v_ ) in the
window _wx_, _y_ .
Since every pixel is the center of one window, there are as
many windows as noisy pixels, assuming the image was padded
beforehand. This is also referred to as a sliding window. Then,
the above presented calculations are performed for every window. This results in two parameters for every window, namely
_ax_, _y_ and _bx_, _y_ . Therefore, the result of these calculations are basically two coefficient images, where one contains all _ax_, _y_, and the
G ( _x_, _y_ ) =
_M_
## ∑
_i_ =1
w _i_ C _i_ ( _x_, _y_ ), (26)
where w _i_ indicates the weight for the _i_ -th multispectral image.
The weights should take the amount of noise as well as the
image signal power and correlation into account. This concept
Reference Guided filtering
Fig. 5. Raw guided filtering output for noiseless image. Unfortunately, the guided image filtering tends to smooth out more
than it should.
is shown in Fig. 4. Therefore, the signal-to-noise ratio (SNR) is
optimized with respect to the weights w . It is assumed that the
guide at pixel ( _x_, _y_ ) can be split into an unknown signal part
and an independent unknown noise part
N <sup>HS</sup> = _E_
high SNR images anymore, and the result of the guided filtering
are mixed to form the final result
ˆS <sup>SPRE</sup> _i_
<sup>SPRE</sup> _i_ ( _x_, _y_ ) = z _i_ S <sup>ˆ</sup> <sup>SSW</sup> _i_
S <sup>ˆ</sup> <sup>SSW</sup> _i_ ( _x_, _y_ ) + (1 _−_ z _i_ ) S <sup>ˆ</sup> <sup>GF</sup> _i_
<sup>GF</sup> _i_ ( _x_, _y_ )
= S <sup>ˆ</sup> <sup>GF</sup> _i_
= S <sup>ˆ</sup> <sup>GF</sup> _i_
<sup>GF</sup> _i_ ( _x_, _y_ ) + z _i_ ( S <sup>ˆ</sup> <sup>SSW</sup> _i_ (
_i_ <sup>∆(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>),</sup>
<sup>SSW</sup> _i_ ( _x_, _y_ ) _−_ S <sup>ˆ</sup> <sup>GF</sup> _i_
<sup>GF</sup> _i_ ( _x_, _y_ ))
(32)
<sup>GF</sup> _i_ ( _x_, _y_ ) + z _i_ S _i_ <sup>∆</sup>
where z _i_ is the mixing parameter for hyperspectral image _i_ and
bounded between zero and one, and S _i_ <sup>∆(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>) is the difference</sup>
image between the _i_ -th noisy hyperspectral image and the _i_ -th
filtered hyperspectral image.
Now, the weight z _i_ should be chosen such that the variance of
the difference between the final result and the noisy hyperspectral image should be equal to the diagonal of the hyperspectral
noise matrix, since the influence of the guided filtering should
be lowered if it modifies the noisy hyperspectral image more
than the hyperspectral noise variance allows. The noise variance
for each hyperspectral image resulting from the multispectral
noise can be calculated by
= W SSW NW <sup>T</sup> SSW <sup>,</sup> (33)
- W SSW nn <sup>T</sup> W <sup>T</sup> SSW
where W SSW = PKF <sup>ˆ</sup> <sup>T</sup> ( FK <sup>ˆ</sup> F <sup>ˆ</sup> <sup>T</sup> + N ) <sup>_−_</sup> <sup>1</sup> is the spatio-spectral
Wiener filter and N <sup>HS</sup> is the hyperspectral noise variance matrix.
Subsequently, the condition
_M_
## ∑
_i_ =1
w _i_ n _i_ = w <sup>T</sup> <sup>ˇ</sup> C ( _x_, _y_ ) + w <sup>T</sup> n, (27)
G ( _x_, _y_ ) =
_M_
## ∑
_i_ =1
w _i_ C <sup>ˇ</sup> _i_ ( _x_, _y_ ) +
where C <sup>ˇ</sup> ( _x_, _y_ ) are the noiseless multispectral images. Treating
ˇC ( _x_, _y_ ) and n as random variables, the SNR is optimized by
_i_ <sup>∆(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>)</sup> <sup>_−_</sup> <sup>ˆS</sup> <sup>SSW</sup> _i_
<sup>SSW</sup> _i_ ( _x_, _y_ )
�2 <sup>�</sup> =! N HS _ii_
�2 <sup>�</sup> =! N HS _ii_
��
ˆS <sup>GF</sup> _i_
<sup>GF</sup> _i_ ( _x_, _y_ ) + z _i_ S _i_ <sup>∆</sup>
_E_
_E_
- w <sup>T</sup> <sup>ˇ</sup> C ( _x_, _y_ ) C <sup>ˇ</sup> ( _x_, _y_ ) <sup>T</sup> w
_i_ <sup>∆(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>)</sup>
(34)
<u>w</u> <sup>T</sup> <u>K</u> _<u>c</u>_ <u>ˇw</u>
w <sup>T</sup> Nw <sup>,</sup> (28)
argmax
w
= argmax
_E_ [ w <sup>T</sup> nn <sup>T</sup> w ] w
�2 <sup>�</sup> =! N HS _ii_
�2 <sup>�</sup> =! N HS _ii_
_E_
��
z _i_ S _i_ <sup>∆</sup>
_i_ <sup>∆(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>)</sup> <sup>_−_</sup> <sup>S</sup> _i_ <sup>∆</sup>
�2 <sup>�</sup> =! N HS _ii_ <sup>,</sup>
�2 <sup>�</sup> =! N HS _ii_ <sup>,</sup>
where _E_ [ _·_ ] is the expectation operator and K _c_ ˇ is the secondorder moment matrix of the denoised multispectral images. This
matrix can be estimated using K m = K _c_ ˇ + N, where K m is
the second-order moment matrix of the observed multispectral
images and therefore can be measured. Here, the independence
between the noise and the noise-free multispectral image is used
to yield the formula for K m. The generalized Rayleigh quotient
gives an upper bound for Eq. (28) and reads as
( z _i −_ 1) <sup>2</sup> _E_
leads to the optimal coefficients
��
S _i_ <sup>∆(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>)</sup>
��
S _i_ <sup>∆</sup>
z _i_ = 1 _−_
�� <u>N</u> <sup>HS</sup> _<u>ii</u>_
- <u>��</u>
_<u>ii</u>_
<u>��</u>
_E_ S _i_ <sup>∆(</sup>
<u>��</u> S _i_ <sup>∆</sup>
_i_ <sup>∆(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>)</sup>
, (35)
<u>�2</u> <sup><u>�</u></sup>
+
�2 <sup>�</sup>
can be measured by the actual results
<u>w</u> <sup>T</sup> <u>K</u> _<u>c</u>_ <u>ˇw</u>
w <sup>T</sup> Nw <sup>_≤_</sup> <sup>e</sup> <sup>max �</sup>
_c_ ˇ, (29)
where _E_
�� S _i_ <sup>∆(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>)</sup>
�� S _i_ <sup>∆</sup>
N <sup>_−_</sup> <sup>1</sup> K _c_ ˇ
where e <sup>max</sup> ( A ) is the maximum eigenvalue of matrix A . This
equation holds with equality if [26]
w = _g_ v <sup>max �</sup> N <sup>_−_</sup> <sup>1</sup> K _c_ ˇ
, (30)
where v <sup>max</sup> ( A ) is the eigenvector which corresponds to the maximum eigenvalue of matrix A and _g_ is an arbitrary scale factor,
since a constant scale factor on the weights does not influence
the SNR. Therefore, the weights are normalized such, that the
guide image G is in the same value bounds as the multispectral
images. Consequently, the weights should sum up to one, which
reads as
<u>1</u>
_g_ =
N <sup>_−_</sup> <sup>1</sup> K _c_ ˇ
and [ _·_ ]+ sets negative values to zero to fulfill the boundary
condition on z _i_ . Negative values would appear if the guided
filtering modified the noisy hyperspectral image less than the
hyperspectral noise variance allows. Using these coefficients,
one can calculate the final result S <sup>ˆ</sup> <sup>SPRE</sup> ( _x_, _y_ ).
5. SIMULATION ON SYNTHETIC DATA
To test the performance of the presented methods, an evaluation of these algorithms is essential. In this paper, two different
simulation scenarios are evaluated. First, the illumination intensity level is varied but constant for each multispectral channel.
Example images and spectra are shown for this scenario. Afterwards, the illumination intensity level is varied across different
multispectral channels, which is mimicking the behaviour of
infrared and ultraviolet channels, which usually do not get as
much light as the channels in the visible light area.
The multispectral data is created using a synthetic filter matrix. The filters used here are constant band-pass filters, which
let a specific spectrum area pass and block all other frequencies.
Fig. 6 shows these filters. They are picked because they are mimicking the filters used for the multispectral camera in Section 6
fairly well.
∑ _i_ <sup>_M_</sup> =
_i_ <sup>_M_</sup> =1 <sup>v</sup> <sup>max �</sup>
<u>�</u> . (31)
C. Mixing
This guided filtering tends to smooth out more than it should
for high SNR images as shown in Fig. 5. Hence, it is necessary
to lower the influence in these situations. Therefore, the noisy
hyperspectral images, which are not heavily affected by noise for
1.0
0.5
0.0
Wavelength in nm
440 530 630 730 830 920
1 10 20 30 40 49
Hyperspectral channel
Fig. 6. Filters used to create multispectral data. The different
colors indicate different filters.
To evaluate the noise behaviour of the reconstruction techniques, signal-dependent Poisson noise is added to the multispectral images, which are scaled to fit between zero and one.
To simulate different strengths of noise, a sample of
_P_
C _i_ ( _x_, _y_ ) _∼_
- _l_ C <sup>ˇ</sup> _i_ ( _x_, _y_ )
(36)
_l_
is generated, where _l_ represents the illumination intensity level.
A low _l_ represents a lot of noise, while a high _l_ is used to simulate
a good lighting environment. An illumination intensity level
of infinity (inf) represents no added noise at all. In general,
the intensity level is closely related to the maximum amount of
photons, that are counted by the image sensor.
For the evaluation, two metrics are used. First, the well
known mean squared error (MSE) is used to calculate the difference between the original spectrum s and the reconstructed
spectrum ˆs
MSE ( s, ˆs ) = <sup><u>1</u></sup>
_N_
_N_
## ∑
_i_ =1
( s _i −_ ˆs _i_ ) <sup>2</sup> . (37)
For a whole image, the average of the pixel-wise MSEs is calculated. Since the MSE does not capture how well the shape of the
spectrum is reconstructed, another evaluation metric is necessary. Furthermore, an algorithm that reconstructs high energy
spectra accurately is preferred by the MSE, since for high energy
spectra, the shape is better preserved with the same absolute error in comparison to a low energy spectrum. Therefore, another
metric, called spectral angle (SA) [27], is used to quantify the
quality of the shape reconstruction result with
fore, the correlation matrix K r is set to _d_
- D <sup>T</sup> 2
- <u>s</u> T
SA( s, ˆs ) = arccos
_||_ s _||_ 2
<u>ˆs</u>
_||_ ˆs _||_ 2
Fig. 7. Four example false color images of the database used
for the evaluation. All images from the evaluation database
are recorded in an urban scene, while maintaining a good mix
between plants, houses, objects and public places. Furthermore,
the textures of the houses and the underground vary a lot.
hyperspectral pictures showing different urban scenes. Some of
these scenes are shown in Fig. 7. Unfortunately, several images
are heavily corrupted by noise, specifically the first four and
last eight bands. Therefore, these bands are omitted to obtain a
meaningful result. This results in 49 hyperspectral bands uniformly distributed in the spectrum area of 440nm to 920nm (both
inclusive).
Moreover, hyperparameters of the individual methods need
to be fixed. First of all, all methods are using the second-order
differences as a-priori information about the spectrum. There
fore, the correlation matrix K r is set to _d_ - D <sup>T</sup> 2 <sup>D</sup> <sup>2 +</sup> <sup>_α_</sup> <sup>I</sup> - _−_ 1. The
technique to get a proper scale factor _d_ for each reconstruction
method is described in Appendix B. Parameter _α_ is set to 0.0001
to avoid inversion problems. The block size for the SSW[23], the
EPSSW[24] and our proposed SPRE is set to _B_ r = 5 and _B_ g = 5,
since this blocksize is able to use enough spatial information,
while still yielding acceptable runtimes. Furthermore, the spatial
weight variance is set to 16, while the range weight variance is
set to 0.4 for the edge-preserving reconstruction technique. The
decay factor of the SSW is set to _p_ = 0.97. Parameter _θ_ is set
to 0.001. All of these hyperparameters are found by a manual
optimization using the CAVE hyperspectral database, described
in [30]. The blocksize for denoising and reconstruction is the
same as in the paper for the SSW and the EPSSW.
. (38)
The spectral angle calculates the angle between two hyperspectral data vectors by applying the inverse cosine to the dot product of the normalized spectra. For a whole image the SA is
averaged. Moreover, if the original spectrum is all zero, and
therewith the denominator, for a single pixel, this pixel does not
contribute to the SA. If the reconstructed spectrum is all zero
and the original spectrum is not, the SA for this pixel is _π_, which
is the highest possible value. The best SA a spectrum can have
is zero, however, the reconstructed spectrum can be a scaled
version of the original version to reach this value.
To create multispectral data and evaluate reconstructed spectra, a hyperspectral database is necessary. The database for the
evaluations shown here was created by [29]. In total there are 14
Fig. 8 shows the mean and the standard deviation over 14
images in a graphical manner, such that one can easily compare
different methods. This statistical measure indicates that both
metrics are robust regarding the evaluation of different images,
since the standard deviation is often only a fraction of the mean.
In general, the SA seems to be more robust than the MSE due
to the lower standard deviation to mean ratio. Note that all
SP[15] WF[15] BPE[18] SSW[23] EPSSW[24] SPRE
inf
10000
3000
1000
300
100
30
10
0.02 0.04 0.06 0.08 0.10 0.12 0.14
SA
inf
10000
3000
1000
300
100
30
10
0.0000 0.0005 0.0010 0.0015 0.0020 0.0025 0.0030
MSE
Fig. 8. Evaluation of the SA and the MSE. Lower is better for both metrics. The big circles indicate the mean while the horizontal lines
with the small red circles at the end show plus/minus the standard deviation. The mean and the standard deviation are calculated
over 14 images of the evaluation database. Simulated Poisson noise with different intensity levels is applied to every multispectral
image uniformly. Note that our novel SPRE method outperforms all other methods under the influence of noise.
SP[15] WF[15] BPE[18] SSW[23] EPSSW[24] SPRE
inf
10000
3000
1000
300
100
30
10
0.02 0.04 0.06 0.08 0.10 0.12
SA
inf
10000
3000
1000
300
100
30
10
0.0000 0.0002 0.0004 0.0006 0.0008 0.0010
MSE
Fig. 9. Evaluation with different intensity levels applied to every multispectral image uniformly on a representative subset of
images of the ARAD database [28], namely _4cam_0411-1648_, _BGU_0403-1419-1_, _eve_0331-1656_, _gavyam_0823-0944_, _Labtest_0910-1513_,
_Lehavim_0910-1630_, _lst_0408-0950_, _nachal_0823-1127_, _objects_0924-1634_, _omer_0331-1130_, _peppers_0503-1315_, _plt_0411-1200-1_, _prk_0328-_
_1025_, _rsh_0406-1441-1_, _sat_0406-1107_, _selfie_0822-0906_ . The subset is chosen, since the database contains a lot of repetitive hyperspectral
images. Exactly the same parameter for the algorithms were used as described in the evaluations. Note that the hyperspectral images
of the ARAD database only have 31 channels. Again, the big circles represent the mean while the horizontal lines with the small red
circles at the end show plus/minus the standard deviation. These results are close to the results using the evaluation database.
SSW[23]
EPSSW[24]
0.8
0.6
SPRE
0.8
0.6
0.8
0.6
Reference
WF[15]
1 25 49
1 25 49
0.8
0.6
1 25 49
1 25 49
Hyperspectral channel
Fig. 10. Example spectra of a 2 _×_ 2 uniform region with intensity
level 10. The EPSSW has a problem reconstructing the offset
properly, while the SSW shows a strong peak in the bottom right,
that is not present at all. The WF results are not usuable at all.
standard deviations for intensity level infinity are approximately
the same, which serves as plausibility check.
In environments with low light, and thus images with heavy
noise, the novel structure-preserving algorithm outperforms all
other methods. The algorithm BPE[18] is based on the discrete
cosine transform (DCT). This reconstruction technique calculates
the optimal weights for the first _M_ DCT functions by a matrix
inversion. Therefore, this method also works out of the box, but
has an entirely different approach to solve the underdetermined
system. This method was added to the evaluation, because it is
an entirely different type of algorithm. Thus, if the BPE would
perform much better than the SP, one should rather try to embed
the spatial correlation into this method. However, this is not the
case, since the single-pixel SP[15] without noise consideration as
well as the DCT-based method BPE output very similar results
and even struggle with very light noise. This gets better when
using the WF[15], which models the noise, but still does not use
any spatial information, which ends in a bad performance for
darker environments. Then, the EPSSW and the SSW share the
second place. Depending on the metric, the one or the other
method performs better for different environment.
The higher MSE produced by the EPSSW for heavy noise
environments can be explained by Fig. 10. One can see that this
method has a problem with reconstructing the offset of the spectrum properly, while the estimation for the shape is much better.
Looking at more reconstructed spectra examples, the pattern,
that the reconstructed spectrum is below the actual spectrum, is
repeated. This has several reasons. First of all, a zero mean of
the spectrum is implicitly assumed for all reconstruction Wiener
filters. This impacts the WF and EPSSW more heavily than the
SSW. Consequently, the EPSSW heavily depends on the trained
spectrum mean for reconstructing the offset. Furthermore, this
problem may be amplified by the bilateral Wiener denoising
prior to reconstruction. The Poisson noise affects pixel with a
high intensity more. Therefore, the difference vector to higher
intensity might be higher, compared to the difference vector with
lower intensity pixels than the middle pixel. Thus, the similarity
to darker pixels will be higher, which results in an offset towards
zero for the reconstructed spectra. However, this offset problem
is not extremely important, since most classification algorithms
rely on the shape of the spectrum. Therefore, the SA metric
is more meaningful than the MSE. For the intensity levels up
to 1000 the structure-preserving reconstruction method outperforms the other methods. For very low SNR environments, the
proposed SPRE lowers the MSE up to 46% and the SA up to 35%.
For low SNR multispectral images (intensity level 100) our SPRE
still outperforms the EPSSW by 19% in the SA and decreases
the MSE by approximately 44% compared to the SSW. For good
lighting environments, the spatial-considering methods roughly
perform on the same level, while the novel SPRE algorithm is
still a tiny bit better in the noisy scenarios. This is an expected
behaviour since the methods are all based on the same Wiener
filter, which assumes spatial smoothness. If there is no noise at
all (intensity level infinity), all methods produce more or less
the same result. Therefore the metrics are almost identical for
this case.
Note that very similar results are obtained when evaluating
these algorithms with the same parameters on another database
[28], that contains natural urban scenes, see Fig. 9. Both metrics,
namely the MSE and the SA, still can be decreased up to 27%
compared to the SSW with intensity level 10. The novel algorithm SPRE outperforms all other methods in the noisy scenarios.
The SP and BPE perform even worse using this database, which
emphasizes the need for methods which reduce the influence
of noise effectively. Interestingly, the shape of the curves for
the SSW and the EPSSW are very similar. Especially, the SA of
the EPSSW is always better than the SA of the SSW except for
intensity level 10, where the SSW wins.
Fig. 10 also reveals some other properties. While the spectra
of our structure-preserving reconstruction is pretty consistent
and fairly usable throughout all pixels, the spectra of the other
spatio-spectral algorithms differ a lot in comparison. Furthermore, some of these spectra do not represent the spectrum well
at all. The single-pixel WF is expected to perform bad in this
environment.
Fig. 11 depicts visual examples from reconstructed hyperspectral images of channel 7. This channel is picked exemplarily
and because it has a wide range of different grayscale values.
While all other methods struggle to compensate the noise, the
proposed SPRE manages to eliminate a lot of artifacts through
its structure-adaptive smoothing. This leads to the insight that
this new method produces much better visual results in noisy
environments. Unfortunately, this figure also reveals that if
the guide does not contain the structure, the spatial resolution
will decrease slightly, since edges are smoothed out. Further
work will tackle this problem by an advanced guide generation
technique.
Fig. 12 shows another evaluation of noisy environments.
However, this time the multispectral images are affected by
different intensity levels. Especially in environments with a
limited exposure time, this situation is very common, since the
amount of photons captured by the individual multispectral
channels varies a lot. Therefore, it is crucial to measure the
performance of the different algorithms in this circumstance,
especially regarding the real-world experiments in Section 6.
Typically, the amount of photons captured in the visible light
area is much higher, and therefore the noise variance much
lower than in the infrared or ultraviolet area. The outer channels
Reference SP[15] WF[15]
SSW[23] EPSSW[24] SPRE
Reference SP[15] WF[15]
SSW[23] EPSSW[24] SPRE
Fig. 11. Example reconstruction images of channel 7 with intensity level 10 and intensity level 100. The images are generated by first
generating multispectral images out of the reference hyperspectral image by applying synthetic filters. Then, Poisson noise is added to
the multispectral channels. In the end, the reconstructed hyperspectral images are created using the different algorithms. Here, the
resulting images are cropped to a 300 _×_ 300 area to get a better impression of the artefacts. Channel 7 is picked exemplarily and due to
its diversity in grayscale. Note that the _reference_ image is the ground truth.
SSW[23] EPSSW[24] SPRE
Scenario 3
Scenario 2
Scenario 1
0.04 0.06 0.08 0.10 0.12
SA
Scenario 3
Scenario 2
Scenario 1
0.0000 0.0005 0.0010 0.0015 0.0020
MSE
Fig. 12. Evaluation of different scenarios, where the multispectral channels on the border are more heavily corrupted by noise than the
middle ones. The amount of noise on the border and in the middle is varied between each scenario according to Table 1. The big
circles indicate the mean, while the vertical bars with small red circles at the end show plus/minus the standard deviation over the 14
images. Other algorithms are omitted, since they perform even worse and would decrease the readability of this plot. Note that our
novel SPRE algorithm is better than the SSW and EPSSW.
10.0
1.0
0.1
SP BPE WF SSW EPSSW SPRE
Fig. 13. Average runtimes for the different algorithms for an
image of size 1000 _×_ 900 at intensity level 10.
of the database used for the evaluation are at least close to or
even in these areas and the multispectral channels also can be
located to these parts of the spectrum due to the bandpass filters.
Consequently, this behaviour is modeled by a _∩_ -shape of the
intensity levels. This corresponds to more noise in the outer
channels, because the amount of photons (intensity) that reach
the sensor is much lower than in the middle channels. Generally,
different functions could be used to model this bell shape. In this
case, a sinusoidal is used due to its simple formulation, but of
course a Gaussian could also be used. Specifically, the intensity
levels _l_ ( _i_ ) used for the Poisson noise in Eq. (36) are
_<u>i</u>_
_l_ ( _i_ ) = sin( _M −_ 1 <sup>_π_</sup> <sup>) (</sup> <sup>_l_</sup> <sup>max</sup> <sup>_−_</sup> <sup>_l_</sup> <sup>min) +</sup> <sup>_l_</sup> <sup>min,</sup> (39)
where _l_ max and _l_ min are the maximum (middle of _∩_ -shape) and
minimum (borders of _∩_ -shape) intensity levels, respectively.
Three different scenarios are evaluated defined by Table 1. The
result of this evaluation is shown in Fig. 12. The vertical bars are
showing the standard deviation. Again, the standard deviation
leads to the insight that the SA and the MSE are robust metrics.
The SP, WF and BPE are omitted, since they even perform worse
than the spatial methods for high intensity levels in the previous
Scenario _l_ <u>min</u> _l_ <u>max</u>
1 10 100
2 10 1000
3 100 10000.
Table 1. Definition of intensity levels for different evaluation
scenarios.
evaluation, which draws a similar picture as this evaluation. The
SSW and the EPSSW are alternating in outperforming the other
one. Again, the proposed novel method performs best in all
three scenarios for both metrics. Speaking in quantitative words,
the proposed SPRE decreases the SA by 29%, 23% and 10%
compared to the second place in the three scenarios, respectively.
The MSE can be decreased by approximately 51%, 38% and 14%
compared to the second best method, respectively. Especially,
for the high noise scenario 1 our novel algorithm produces much
better results than the other methods.
Fig. 13 shows a short evaluation of the runtimes of different
algorithms on a single thread. The runtime of all images (size
1000 _×_ 900) of the evaluation database, corrupted by noise with
intensity level 10, is measured. Note that the algorithms are
not optimized and the algorithms are implemented in Python,
mainly using numpy. However, this evaluation still indicates,
in which order of magnitudes the algorithms stay. If one needs
a real-time reconstruction of a multispectral video, embedding
spatial correlation will be difficult, but not impossible, since
there are a lot of possibilities for parallelization for all spatial
algorithms. However, if one wants to postprocess a multispectral
video, all algorithms are suitable.
6. REAL-WORLD DATA EXPERIMENT
Though synthetic filters and synthetic noise allow for flexible
evaluations, real-world data may differ from the simulated environment. Therefore, an evaluation based on this data is essential.
WF[15] SSW[23] EPSSW[24] SPRE
0.20
0.15
0.10
0.05
0.00
0.0020
0.0015
0.0010
0.0005
0.0000
Fig. 14. The scene used for evaluating the algorithms with a realworld multispectral camera. The scene shows a good mixture
between uniform regions and areas with a high frequency.
Wavelength in nm
391 445 506 561 622 683
1.0
0.5
0.0
1 10 20 29 39 49
Hyperspectral channel
Fig. 15. The filters of the multispectral camera. Note that these
filter are quite similar to the ones used in the simulation of the
synthetic data.
To overcome the absence of a hyperspectral camera, which could
produce reference data, the following procedure is used. Firstly,
the scene shown in Fig. 14 is recorded with an exposure time
of 1 ms, which imitates a frame in a video sequence heavily
affected by noise. Secondly, the same scene is captured multiple
times (in this case 1000) and averaged to reduce shot noise to an
extent where it is barely noticeable. Furthermore, a scene with
no light at all is captured multiple times to extract static noise,
which is removed from the averaged scene image. This leads to
multispectral images, which contain barely any noise. This near
noiseless image is then reconstructed by the single-pixel WF,
which serves as reference to evaluate the spatial reconstruction
methods in the noisy scenario. The single-pixel WF is chosen
over the spatial reconstruction algorithms, because this procedure eliminates the possibility of a good evaluation of the chosen
spatial reconstruction procedure due to reconstructing the same
artifacts. For example, a hypothetical reference algorithm, that
always produces white hyperspectral images, will score a perfect
evaluation in the noisy scenario.
The scene is captured using the multispectral camera shown
in Fig. 1. Unfortunately, the transfer functions of the filters are
not exactly known. Thus, they are approximated by trapezoids.
Consequently, parameter _α_ is set to 0.00001 (from 0.0001 in the
Fig. 16. Evaluation of different algorithm tested against the
reconstruction results of the Wiener filter of the clean image.
Again, the novel SPRE method wins this evaluation.
evaluations), which leads to smoother spectra, since a lower
_α_ increases the correlation between different spectrum entries.
Afterwards, these filter curves are sampled to yield 49 hyperspectral channels, which is the same amount of hyperspectral
channels as for the evaluation. The resulting filter curves are
shown in Fig. 15. These values are embedded into the filter matrix F, which has a size of 9 _×_ 49 in this case. Other parameters
are equivalent to the ones used in the evaluation.
The results of the evaluation are shown in Fig. 16. While
the EPSSW outperforms the reference algorithm in the noisy
case, the SSW and our novel SPRE algorithm outperform the
reference algorithm even more. Furthermore, the SSW and our
SPRE deliver similar results, however, our novel method still
performs better. This similarity is confirmed by evaluating the
SA between the results of the SSW and the results of our SPRE,
which results in 0.0284. The guided filtering still has a lot of
influence on the result of the SPRE method, since the mixing
vector z values vary between 0.35 and 0.5.
Since the reference spectra are not known, this evaluation
does not give a final evaluation on the real-world performance,
and therefore, the results of this specific evaluation should not
be weighted too much. Nevertheless, this evaluation still gives a
hint, that all spatial reconstruction methods are capable of better
managing noise than the single-pixel WF, while our novel SPRE
algorithm tends to reduce the influence of noise the most.
7. CONCLUSION
This paper introduced a novel spectral reconstruction method,
that focuses on preserving structure in noisy environments like
multispectral video sequences. To preserve structure, a guide
image is used. The guide image was created exploiting the
independence of the noise in different multispectral channels.
This technique yields a guide image which contains the basic
structure, while the noise variance is much lower compared to a
single multispectral image. Afterwards, a technique was shown
how to embed this nearly noiseless guide into the spectral reconstruction. It was presented, that this novel reflectance estimation
algorithm performs much better in noisy environments, specifically, it lowers the mean squared error and the spectral angle
up to 46% and 35%, respectively. Moreover, this also applies to
noisy environments, where the noise strength varies between
different multispectral images. Furthermore, this paper showed
how the spectral correlation matrix used by the Wiener filter can
be replaced with the inverse squared difference matrix, which
is often used by the smoothed pseudoinverse. Using this insight leads to an out-of-the-box design, that is now possible
using the Wiener filter, since the correlation matrix does not
need to be estimated anymore. The experiment showed that our
novel reconstruction technique also works outside a simulated
environment in reality.
8. APPENDIX
A. Smoothed pseudoinverse statistical derivation
A novel way to derive the optimization problem of the SP from a
statistical point of view is by assuming, that the current spectrum
sample is Gaussian distributed around the previous one. This
leads to P( s _j_ ) = _N_ ( s _j−_ 1, _σ_ s <sup>2</sup> ). By assuming independence, a
maximum likelihood estimation can be performed
Furthermore, by using the WF derivation a proper scale factor
for M <sup>_−_</sup> <sup>1</sup> can be found. This is necessary, because the smoothing matrix itself has a constant scale, while the noise matrix N
depends on the scale of the image. Therefore, a proper scale
factor is essential. This can be done by using the relationship
K c = FM <sup>ˆ</sup> <sup>_−_</sup> <sup>1</sup> F <sup>T</sup> + N, where M <sup>ˆ</sup> <sup>_−_</sup> <sup>1</sup> = _d_ M <sup>_−_</sup> <sup>1</sup> . K c can be measured
using the observations and N is estimated using a noise variance
estimator. Then, since N just contains non-zero values on the
main diagonal, the most important area is the main diagonal
of these matrices. This would still result in _M_ different scale
factors. Consequently, a least squares estimator
_d_ ˆ = argmin
_d_
_||d_ d m _−_ d c _||_ <sup>2</sup> 2 (44)
ˆs <sup>SP</sup> = argmax
s
_N_
## ∏
_j_ =2
_N_ ( s _j−_ 1, _σ_ s <sup>2</sup>
s
(40)
s <sup>2) =</sup> argmin
_||_ D 1 s _||_ <sup>2</sup> 2
is used, where d m = diag( FM <sup>ˆ</sup> <sup>_−_</sup> <sup>1</sup> F <sup>T</sup> ) and d c = diag( K c _−_ N ).
This optimization problem results in the scale factor _d_ <sup>ˆ</sup> = <sup><u>d</u></sup> <u>m</u> <sup>T</sup> <sup><u>d</u></sup> <sup><u>c</u></sup>
d <sup>T</sup> m d m <sup>.</sup>
Disclosures. The authors declare no conflicts of interest.
REFERENCES
1. M. Moroni, A. Mei, A. Leonardi, E. Lupo, and F. Marca, “PET and
PVC Separation with Hyperspectral Imagery,” Sensors 15, 2205–2227
(2015).
2. M. G. Sowa, L. Leonardi, J. R. Payette, K. M. Cross, M. Gomez, and
J. S. Fish, “Classification of burn injuries using near-infrared spectroscopy,” J. Biomed. Opt. 11, 054002 (2006).
3. K. Dégardin, A. Guillemain, N. V. Guerreiro, and Y. Roggo, “Near
infrared spectroscopy for counterfeit detection using a large database
of pharmaceutical tablets,” J. Pharm. Biomed. Analysis 128, 89–97
(2016).
4. F. E. Dowell, “Automated Color Classification of Single Wheat Kernels
Using Visible and Near-Infrared Reflectance,” Cereal Chem. J. 75,
142–144 (1998).
5. R. M. Balabin, R. Z. Safieva, and E. I. Lomakina, “Gasoline classification using near infrared (NIR) spectroscopy data: Comparison of
multivariate techniques,” Anal. Chimica Acta 671, 27–35 (2010).
6. P.-J. Lapray, X. Wang, J.-B. Thomas, and P. Gouton, “Multispectral Filter
Arrays: Recent Advances and Practical Implementation,” Sensors 14,
21626–21659 (2014).
7. A. Lambrechts, P. Gonzalez, B. Geelen, P. Soussan, K. Tack, and
M. Jayapala, “A CMOS-compatible, integrated approach to hyper- and
multispectral imaging,” in _2014_ _IEEE_ _International_ _Electron_ _Devices_
_Meeting,_ (IEEE, San Francisco, CA, USA, 2014), pp. 10.5.1–10.5.4.
8. J. Brauers, N. Schulte, and T. Aach, “Multispectral Filter-Wheel Cameras: Geometric Distortion Model and Compensation Algorithms,” IEEE
Transactions on Image Process. 17, 2368–2380 (2008).
9. N. Genser, J. Seiler, and A. Kaup, “Camera Array for Multi-Spectral
Imaging,” IEEE Transactions on Image Process. (2020).
10. N. Genser, A. Spruck, J. Seiler, and A. Kaup, “Deep Learning based
Cross-Spectral Disparity Estimation for Stereo Imaging,” IEEE Int. Conf.
on Image Process. (2020).
11. N. Genser, J. Seiler, and A. Kaup, “Joint Content-Adaptive DictionaryLearning and Sparse Selective Extrapolation for Cross-Spectral Image
Reconstruction,” IEEE Int. Conf. on Image Process. (2020).
12. A. R. Cortés, “Multispectral Analysis and spectral Reflectance Reconstruction of Art Paintings,” Ph.D. thesis, École Nationale Supérieure
des Télécommunications (2003).
13. M. Schöberl, “Photometric limits for digital camera systems,” J. Electron.
Imaging 21, 020501 (2012).
14. R. Gow, D. Renshaw, K. Findlater, L. Grant, S. McLeod, J. Hart, and
R. Nicol, “A Comprehensive Tool for Modeling CMOS Image-SensorNoise Performance,” IEEE Transactions on Electron Devices 54, 1321–
1329 (2007).
15. W. K. Pratt and C. E. Mancill, “Spectral estimation techniques for the
spectral calibration of a color image scanner,” Appl. Opt. 15, 73 (1976).
s.t. c = Fs s.t. c = Fs .
Interestingly, this results in the SP optimization problem using
first order differences. A similar procedure can be performed
resulting in the second-order difference matrix.
In the noisy case, this novel derivation is modified, such that the
multispectral channels are assumed to be Gaussian-distributed
around the filtering result P( c _i|_ s ) = _N_ ( F _i_ s, _σ_ n, <sup>2</sup> _i_ <sup>).</sup> <sup>With this like-</sup>
lihood and the prior information, a maximum-a-posteriori estimation can be performed to calculate the noise-considering
smoothed pseudoinverse (NSP)
ˆs <sup>NSP</sup> = argmin
s
= argmin
s
(41)
<u>1</u> <u>1</u>
2 ( Fs _−_ c ) _||_ <sup>2</sup> 2 <sup>+</sup> _||_ D 1 s _||_ <sup>2</sup> 2 <sup>,</sup>
2 <sup>_||_</sup> <sup>N</sup> <sup>_−_</sup> <sup><u>1</u></sup> 2 _σ_ s <sup>2</sup>
_−_ log P( c _|_ s ) _−_ log P( s )
where N = diag - _σ_ n <sup>2</sup> - is a diagonal matrix with the noise vari
ances of the multispectral channels on its main diagonal. Taking
the gradient and solving for s leads to
where N = diag
- _σ_ n <sup>2</sup>
ˆs <sup>NSP</sup> = ( F <sup>T</sup> N <sup>_−_</sup> <sup><u>1</u></sup> 2 N <sup>_−_</sup> 2 <sup><u>1</u></sup> F + ˆM ) <sup>_−_</sup> <sup>1</sup> F <sup>T</sup> N <sup>_−_</sup> 2 <sup><u>1</u></sup> N <sup>_−_</sup> <sup><u>1</u></sup> 2 c, (42)
where M <sup>ˆ</sup> is a scaled version of M embedding the scale factor _σ_ <u>1</u> _s_ <sup>2</sup> <sup>.</sup> Using the searle set of identities [31], specifically
- A + BB <sup>T�</sup> <sup>_−_</sup> <sup>1</sup> B = A <sup>_−_</sup> <sup>1</sup> B B <sup>T</sup> A <sup>_−_</sup> <sup>1</sup> B + I - _−_ 1, where I indicates an
- A + BB <sup>T�</sup> <sup>_−_</sup> <sup>1</sup> B = A <sup>_−_</sup> <sup>1</sup> B B <sup>T</sup> A <sup>_−_</sup> <sup>1</sup> B + I - _−_ 1, where I indicates an
identity matrix with suitable dimensions, and rearranging the
inverse standard deviation matrix N <sup>_−_</sup> <sup><u>1</u></sup> 2 results in
ˆs <sup>NSP</sup> = M <sup>ˆ</sup> <sup>_−_</sup> <sup>1</sup> F <sup>T</sup> ( FM <sup>ˆ</sup> <sup>_−_</sup> <sup>1</sup> F <sup>T</sup> + N ) <sup>_−_</sup> <sup>1</sup> c . (43)
B. Relationship between Wiener filter and smoothed pseu-
doinverse
Comparing Eq. (13) and Eq. (43) results in the novel observation
that K r = M <sup>ˆ</sup> <sup>_−_</sup> <sup>1</sup> . It is interesting that these two methods, widely
used in literature, are closely related. Often K r is estimated using a training set in literature. Assuming the spectrum to be
smooth via the definition of differences is a much more general assumption than estimating the covariance matrix from a
database. Therefore, all methods, which are based on the Wiener
filter are using the inverse squared smoothing matrix as their
covariance matrix. Consequently, the single-pixel WF works out
of the box without estimating the covariance matrix for a specific
purpose.
- B <sup>T</sup> A <sup>_−_</sup> <sup>1</sup> B + I
<sup><u>1</u></sup> 2 results in
16. J. Immerkær, “Fast Noise Variance Estimation,” Comput. Vis. Image
Underst. 64, 300–302 (1996).
17. L. Zhang, D. Liang, Z. Pan, and X. Ma, “Study on the key technology of reconstruction spectral reflectance based on the algorithm of
compressive sensing,” Opt. Quantum Electron. 47, 1679–1692 (2015).
18. A. Mansouri, T. Sliwa, J. Y. Hardeberg, and Y. Voisin, “Representation
and estimation of spectral reflectances using projection on PCA and
wavelet bases,” Color. Res. & Appl. 33, 485–493 (2008).
19. T. Eckhard, E. M. Valero, J. Hernández-Andrés, and V. Heikkinen, “Evaluating logarithmic kernel for spectral reflectance estimation—effects on
model parametrization, training set size, and number of sensor spectral
channels,” J. Opt. Soc. Am. A 31, 541 (2014).
20. H.-L. Shen and J. H. Xin, “Spectral characterization of a color scanner
based on optimized adaptive estimation,” J. Opt. Soc. Am. A 23, 1566
(2006).
21. W.-F. Zhang and D.-Q. Dai, “Spectral reflectance estimation from camera responses by support vector regression and a composite model,” J.
Opt. Soc. Am. A 25, 2286 (2008).
22. H.-L. Shen, P.-Q. Cai, S.-J. Shao, and J. H. Xin, “Reflectance reconstruction for multispectral imaging by adaptive Wiener estimation,” Opt.
Express 15, 15545 (2007).
23. Y. Murakami, K. Fukura, M. Yamaguchi, and N. Ohyama, “Color reproduction from low-SNR multispectral images using spatio-spectral
Wiener estimation,” Opt. Express 16, 4106 (2008).
24. P. Urban, M. R. Rosen, and R. S. Berns, “Spectral image reconstruction
using an edge preserving spatio-spectral Wiener estimation,” J. Opt.
Soc. Am. A 26, 1865 (2009).
25. K. He, J. Sun, and X. Tang, “Guided Image Filtering,” IEEE Transactions
on Pattern Analysis Mach. Intell. 35, 1397–1409 (2013).
26. C. W. Therrien, _Discrete random signals and statistical signal process-_
_ing_ (Prentice Hall, Englewood Cliffs, NJ, 1992).
27. F. Kruse, A. Lefkoff, J. Boardman, K. Heidebrecht, A. Shapiro,
P. Barloon, and A. Goetz, “The spectral image processing system
(SIPS)—interactive visualization and analysis of imaging spectrometer
data,” Remote. Sens. Environ. 44, 145–163 (1993).
28. B. Arad and O. Ben-Shahar, “Sparse Recovery of Hyperspectral Signal
from Natural RGB Images,” in _Computer_ _Vision_ _–_ _ECCV_ _2016,_ vol.
9911 B. Leibe, J. Matas, N. Sebe, and M. Welling, eds. (Springer
International Publishing, Cham, 2016), pp. 19–34. Series Title: Lecture
Notes in Computer Science.
29. J. Eckhard, T. Eckhard, E. M. Valero, J. L. Nieves, and E. G. Contreras, “Outdoor scene reflectance measurements using a Bragg-gratingbased hyperspectral imager,” Appl. Opt. 54, D15 (2015).
30. F. Yasuma, T. Mitsunaga, D. Iso, and S. K. Nayar, “Generalized Assorted Pixel Camera: Postcapture Control of Resolution, Dynamic
Range, and Spectrum,” IEEE Transactions on Image Process. 19,
2241–2253 (2010).
31. K. B. Petersen, M. S. Pedersen, J. Larsen, K. Strimmer, L. Christiansen,
K. Hansen, L. He, L. Thibaut, M. Barão, S. Hattinger, V. Sima, and
W. The, “The matrix cookbook,” Tech. rep. (2006).
섹션 본문
섹션 본문이 없습니다.
참고문헌
참고문헌 정보가 없습니다.