원시데이터 수집 시스템
선정목록으로

Optical implementation of partially negative filters using a spectrally tunable light source, and its application to contrast enhanced oral and dental imaging

관련 필름·전자재료 · (13) 프리즘 필름

기본 정보

저자
  1. Joni Hyttinen — [School of Computing, University of Eastern Finland, Yliopistokatu 2, P.O. Box 111, 80101 Joensuu, Finland.]
  2. Pauli Fält — [School of Computing, University of Eastern Finland, Yliopistokatu 2, P.O. Box 111, 80101 Joensuu, Finland.]
  3. Heli Jäsberg — Institute of Dentistry, University of Eastern Finland, Yliopistonranta 1 C, P.O. Box 1627, 70211 Kuopio, Finland
  4. Arja M. Kullaa — Institute of Dentistry, University of Eastern Finland, Yliopistonranta 1 C, P.O. Box 1627, 70211 Kuopio, Finland
  5. Markku Hauta‐Kasari — [School of Computing, University of Eastern Finland, Yliopistokatu 2, P.O. Box 111, 80101 Joensuu, Finland.]
DOI
10.1364/oe.27.034022
저널
Optics Express
발행년도
2019
발행기관
Optica Publishing Group
피인용수
8
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1364/oe.27.034022
토픽
Color Science and Applications
OpenAlex ID
W2984954588

평가 내용

관련도
관련
사업분야
필름·전자재료 · (13) 프리즘 필름
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

In optical imaging, optical filters can be used to enhance the visibility of features-of-interest and thus aid in visualization. Optical filter design based on hyperspectral imaging employs various statistical methods to find an optimal design. Some methods, like principal component analysis, produce vectors that can be interpreted as filters that have a partially negative transmission spectrum. These filters, however, are not directly implementable optically. Earlier implementations of partially negative filters have concentrated on spectral reconstruction. Here we show a novel method for implementing partially negative optical filters for contrast-enhancement purposes in imaging applications. We describe the method and its requirements, and show its feasibility with color chart and dental imaging examples. The results are promising: visual comparison of computational color chart render and optical measurement show matching images, and visual inspection of dental images show increased contrast.

본문 57,908자

본문 펼치기
Research Article Vol. 27, No. 23 / 11 November 2019 / _Optics Express_ 34022 # Optical implementation of partially negative filters using a spectrally tunable light source, and its application to contrast enhanced oral and dental imaging JONI HYTTINEN, <sup>1,*</sup> PAULI FÄLT, <sup>1</sup> HELI JÄSBERG, <sup>2</sup> ARJA KULLAA, <sup>2</sup> AND MARKKU HAUTA-KASARI <sup>1</sup> _1School of Computing, University of Eastern Finland, Yliopistokatu 2, P.O. Box 111, 80101 Joensuu,_ _Finland_ _2Institute of Dentistry, University of Eastern Finland, Yliopistonranta 1 C, P.O. Box 1627, 70211 Kuopio,_ _Finland_ _*joni.hyttinen@uef.fi_ Abstract: In optical imaging, optical filters can be used to enhance the visibility of featuresof-interest and thus aid in visualization. Optical filter design based on hyperspectral imaging employs various statistical methods to find an optimal design. Some methods, like principal component analysis, produce vectors that can be interpreted as filters that have a partially negative transmission spectrum. These filters, however, are not directly implementable optically. Earlier implementations of partially negative filters have concentrated on spectral reconstruction. Here we show a novel method for implementing partially negative optical filters for contrast-enhancement purposes in imaging applications. We describe the method and its requirements, and show its feasibility with color chart and dental imaging examples. The results are promising: visual comparison of computational color chart render and optical measurement show matching images, and visual inspection of dental images show increased contrast. [© 2019 Optical Society of America under the terms of the OSA Open Access Publishing Agreement](https://doi.org/10.1364/OA_License_v1) 1. Introduction As is well known, digital color photography relies on cameras that record the intensity of three distinct color bands — red (R), green (G), and blue (B) — and save this information in files generally described as RGB-images. Multispectral imaging extends this system by recording several different wavelength bands that need not be only in the visible range, but can also extend, e.g., to ultra-violet and infrared regions [1,2]. When the imaging system is further extended to image contiguous narrow wavelength bands over a wavelength range of interest, each pixel in the spectral image contains a contiguous spectrum and the system is known as hyperspectral imaging system [3]. Hyperspectral imaging records the full spectral data (e.g., spectral reflectance) of the imaged sample, which can then be used for various tasks, such as improving the performance of image segmentation and classification tasks compared to the usual RGB and grayscale images (e.g., cancerous cell detection [4] and remote sensing [5]). Individual spectral band images of a hyperspectral image may also show improved visibility of features-of-interest which allows optimal wavelength band selection for designing feature-specific imaging systems (e.g., narrowband imaging [6,7] and burn depth assessment [8]). Furthermore, numerical optimization and data analysis methods can be used on spectral images to find combinations of different spectral bands that improve the visibility of certain features, allowing the design of optimal spectral transmittances for optical filters and optimal spectral power distributions for light sources [9–11]. While hyperspectral imaging can record the full spectral data of a sample, it is not always the best imaging approach for practical imaging applications. Typical downsides of spectral imaging are #375353 https://doi.org/10.1364/OE.27.034022 Journal © 2019 Received 14 Aug 2019; revised 3 Oct 2019; accepted 12 Oct 2019; published 6 Nov 2019 Research Article Vol. 27, No. 23 / 11 November 2019 / _Optics Express_ 34023 relatively long image acquisition times, challenges in producing a proper illumination over a broad wavelength range, shuffling between reference samples required for image correction and spectral reflectance calculations. Furthermore, the acquired spectral image cubes contain a large amount of spectral data that only a specialist can make sense of. Data analysis performed on hyperspectral images often aims to produce simple, cost-effective imaging setups or computationally-effective spectral data processing methods, for example, for segmenting or classifying features-of-interest from the image scene. Some data analysis methods, such as principal component analysis (PCA) [12], can be used to create useful visualizations of the spectral image data. PCA finds the directions of maximum variance from the spectral data (principal component vectors). The individual spectra in a spectral image – which are, in practice, discrete _N_ dimensional vectors – can be projected onto a principal component vector. These projections (inner products) are scalar values that can then be reorganized to form a grayscale inner product image of the image scene. These inner product images can contain a strong contrast of various features in the image. Therefore, the ability to produce these inner product images using a simple imaging system would be very beneficial in many imaging applications. The principal component vectors can also be interpreted as transmittance spectra of optical filters (or as emission spectra of light sources). However, the challenge in implementing these filters/illuminations in practice is that all principal components (except the first one, which is roughly the mean spectrum of the data) contain both positive and negative parts in the spectrum. Naturally, the spectral transmittances of real-world optical filters (and the emission spectra of light sources) can only have positive values. Therefore, any filter or illumination that contains both positive and negative parts in the spectrum (i.e., “partially negative filters”) cannot be implemented optically using a single optical element, such as an interference filter or a fixed-state light source. In earlier works, Hayasaka et al. [13] solved the partial negativity of illumination spectra by applying multiplicative constants and bias vectors on partially negative principal component vectors, forcing them to have all-positive values. Another solution to the challenge of implementing partially negative optical filters is splitting the partially negative filter spectrum into its positive and negative parts, which can then be implemented as two separate optical filters or light sources [14]. These two separate filters (or illuminations) are used to acquire “positive” and “negative” grayscale images, which then are subtracted from each other to produce a final inner product image. These methods have been used almost exclusively for reflectance spectrum reconstruction by implementing few of the most significant principal component vectors as illuminations [15–19]. In this paper, we propose to use the method of implementing positive and negative parts of the filter separately for applying the effect of partially negative optical filters for imaging purposes. Partially negative optical filters, produced by PCA, for example, have potential to offer stronger contrast enhancement for features-of-interest than fully positive filters (e.g. in [9]) due to larger intensity range (positive and negative ranges vs. positive only). While the simple computational approach in [10] could offer useful partially negative filters, the proposed weights would require very narrow spikes for positive and negative parts rendering optical implementation infeasible. Filters derived from lower-order principal components have relatively simple spectral shape and are easily implemented. To the best of our knowledge, this is the first time this method has been used for image contrast enhancement and for improving the visualization of specific features-of-interest in an imaging application. We used a commercially available spectrally tunable light source, that uses 10 different light emitting diode (LED) types in the visible range of light (400–700 nm), to produce the positive and negative parts of the filter spectrum. We present proof-of-concept imaging with partially negative filters and a color chart, and a practical application of the method on oral and dental imaging. Research Article Vol. 27, No. 23 / 11 November 2019 / _Optics Express_ 34024 2. Methods In sections 2.1 and 2.2, we present the theory behind the method for implementing partially negative filter spectra in imaging system. In section 2.3, an imaging setup and a proof-of-concept imaging examples are presented. Details of the proof-of-concept imaging are presented in section 2.4. In section 2.5, the background of the oral and dental spectral images used in the practical case example are presented. _2.1._ _Partially Negative Filters – Theory_ A reflectance spectral image _R_ ( _x_, _y_, λ) is a data cube of size _X_ × _Y_ × _N_, which can be calculated from image acquisition data using a standard flat-field correction method [3]: _R_ ( _x_, _y_, λ _i_ ) = <sup>_s_</sup> <sup>sample(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>, λ</sup> <sup>_i_</sup> <sup>) −</sup> <sup>_s_</sup> <sup>dark(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>, λ</sup> <sup>_i_</sup> <sup>)</sup> × _R_ ref(λ _i_ ), (1) _s_ ref( _x_, _y_, λ _i_ ) − _s_ dark( _x_, _y_, λ _i_ ) where _x_ = 1, . . ., _X_ and _y_ = 1, . . ., _Y_ are spatial coordinates, λ _i_ is the wavelength band ( _i_ = 1, . . ., _N_ ), _s_ sample( _x_, _y_, λ _i_ ) is the spectral band image measured from the sample, _s_ dark( _x_, _y_, λ _i_ ) is the dark-current spectral band image, _s_ ref( _x_, _y_, λ _i_ ) is the spectral band image measured from the reference sample, and _R_ ref(λ _i_ ) is the reflectance spectrum of the reference sample. An inner product image _I_ ip( _x_, _y_ ) is computed from a spectral image _R_ ( _x_, _y_, λ) and an _N_ -vector _e_ ˆ(λ) as an inner product _I_ ip( _x_, _y_ ) = _N_ _i_ =1 _R_ ( _x_, _y_, λ _i_ ) _e_ ˆ(λ _i_ ) = ⟨ _R_ ( _x_, _y_, λ), ˆ _e_ (λ)⟩. (2) Let us assume that the vector ˆ _e_ (λ) contains both positive and negative parts (an example vector is shown in Fig. 1(a)). The positive and negative parts can be separated into their own vectors, _e_ ˆ <sup>+</sup> (λ) and _e_ ˆ <sup>−</sup> (λ), so that _e_ ˆ(λ) = _e_ ˆ <sup>+</sup> (λ) + ˆ _e_ <sup>−</sup> (λ). Now, Eq. (2) can be written as _I_ ip( _x_, _y_ ) = ⟨ _R_ ( _x_, _y_, λ), ˆ _e_ <sup>+</sup> (λ)⟩ + ⟨ _R_ ( _x_, _y_, λ), ˆ _e_ <sup>−</sup> (λ)⟩ (3) = ⟨ _R_ ( _x_, _y_, λ), ˆ _e_ <sup>+</sup> (λ)⟩−⟨ _R_ ( _x_, _y_, λ), | _e_ ˆ <sup>−</sup> (λ)|⟩ (4) = _I_ ip <sup>+</sup> ip <sup>−</sup> <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>),</sup> (5) ip <sup>+</sup> <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>) −</sup> <sup>_I_</sup> ip <sup>−</sup> where _I_ ip <sup>+</sup> where _I_ ip <sup>+</sup> <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>) and</sup> <sup>_I_</sup> ip <sup>−</sup> <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>) are inner product images for all-positive vectors ˆ</sup> <sup>_e_</sup> <sup>+(λ) and |</sup> <sup>_e_</sup> <sup>ˆ−(λ)| (see</sup> Figs. 1(b) and (c)). ip <sup>+</sup> <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>) and</sup> <sup>_I_</sup> ip <sup>−</sup> Fig. 1. (a) An example spectral transmission spectrum of a partially negative filter vector _e_ ˆ(λ) in arbitrary units (a.u.), (b) its positive part ˆ _e_ <sup>+</sup> (λ), and (c) the absolute values | _e_ ˆ <sup>−</sup> (λ)| of the negative part. Let us assume an ideal imaging setup (Fig. 2(a)) with a (non-spectrally-tunable) light source that has an emission spectrum _L_ (λ), and an optical filter with a spectral transmittance _F_ (λ) in Research Article Vol. 27, No. 23 / 11 November 2019 / _Optics Express_ 34025 front of a monochrome camera with a spectral sensitivity _S_ (λ). Here, _S_ (λ) = _T_ OBJ(λ) _S_ CAM(λ), where _T_ OBJ(λ) is the spectral transmittance of the objective lens used, and _S_ CAM(λ) is the spectral sensitivity of the camera sensor. A grayscale image _I_ cam( _x_, _y_ ) captured by the monochrome camera of a sample that has a spectral reflectance _R_ ( _x_, _y_, λ) has a mathematical presentation _I_ cam( _x_, _y_ ) = ∫ λ _L_ (λ) _R_ ( _x_, _y_, λ) _F_ (λ) _S_ (λ)dλ + η( _x_, _y_ ) (6) = ⟨ _R_ ( _x_, _y_, λ), _L_ (λ) _F_ (λ) _S_ (λ)⟩ + η( _x_, _y_ ), (7) where η( _x_, _y_ ) is noise. Fig. 2. Imaging setup schematics: (a) an illuminant with spectrum _L_ (λ) illuminates a sample with reflectance spectrum _R_ ( _x_, _y_, λ). The sample reflects light to the optical filter with a transmittance spectrum _F_ (λ). A monochrome camera with a sensitivity spectrum _S_ (λ) captures an image of the filtered light reflecting from the sample. (b) The illuminant and the filter are combined into a spectrally tunable light source with an illumination spectrum _X_ (λ). Since we want to use an optical imaging system to capture an image that reproduces the effect a partially negative vector has on the spectral image of the sample-of-interest, let us choose _I_ ip = _I_ cam − η( _x_, _y_ ). From Eqs. (2) and (7) we get ⟨ _R_ ( _x_, _y_, λ), ˆ _e_ (λ)⟩ = ⟨ _R_ ( _x_, _y_, λ), _L_ (λ) _F_ (λ) _S_ (λ)⟩. If we further assume that the light source used is spectrally tunable, the optical filter _F_ (λ) can be combined with the fixed-state light source _L_ (λ) (Fig. 2(b)) and we can shorten _X_ (λ) = _L_ (λ) _F_ (λ). The Eqs. (2) and (7) give us a clear connection between the partially negative filter _e_ ˆ(λ) and the optical properties of the imaging system: _e_ ˆ(λ) = _L_ (λ) _F_ (λ) _S_ (λ) = _X_ (λ) _S_ (λ), (8) which can again be separated into positive and negative parts: _e_ ˆ <sup>+</sup> (λ) = _X_ <sup>+</sup> (λ) _S_ (λ) (9) | _e_ ˆ <sup>−</sup> (λ)| = _X_ <sup>−</sup> (λ) _S_ (λ). (10) For an arbitrary partially negative filter _e_ ˆ(λ), a matching optical filter _X_ (λ) consists of positive and negative parts _X_ <sup>+</sup> (λ) = <sup>_<u>e</u>_</sup> <sup><u>ˆ+(λ)</u></sup> (11) _S_ (λ) _X_ <sup>−</sup> (λ) = <sup>|</sup> <sup>_<u>e</u>_</sup> <sup><u>ˆ</u></sup> _S_ <sup>−</sup> ( <sup>(</sup> λ <sup><u>λ</u></sup> ) <sup>)|</sup> <sup>.</sup> (12) The spectra of both _X_ <sup>+</sup> (λ) and _X_ <sup>−</sup> (λ) are fully positive and can be implemented optically, e.g., by using a spectrally tunable light source. Thus, explicitly, the inner product image _I_ cam( _x_, _y_ ) in a Research Article Vol. 27, No. 23 / 11 November 2019 / _Optics Express_ 34026 real imaging system is as per Eqs. (4), (9) and (10) of form _I_ cam( _x_, _y_ ) = ⟨ _R_ ( _x_, _y_, λ), _X_ <sup>+</sup> (λ) _S_ (λ)⟩−⟨ _R_ ( _x_, _y_, λ), _X_ <sup>−</sup> (λ) _S_ (λ)⟩ (13) = _I_ <sup>+</sup> cam <sup>−</sup> <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>),</sup> (14) cam <sup>+</sup> <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>) −</sup> <sup>_I_</sup> <sup>−</sup> where _I_ <sup>+</sup> cam <sup>+</sup> <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>) and</sup> <sup>_I_</sup> <sup>−</sup> where _I_ cam <sup>+</sup> <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>) and</sup> <sup>_I_</sup> cam <sup>−</sup> <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>) are grayscale images captured using the optical filters (or illuminants)</sup> _X_ <sup>+</sup> (λ) and _X_ <sup>−</sup> (λ). The final inner product image (the effect of the partially negative filter) is then _I_ ip( _x_, _y_ ) = _I_ cam( _x_, _y_ ) − η( _x_, _y_ ), (15) where noise image η( _x_, _y_ ) can be acquired by taking a dark image with the same imaging setup as images _I_ cam <sup>+</sup> <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>) and</sup> <sup>_I_</sup> cam <sup>−</sup> <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>).</sup> This method to implement a partially negative filter spectrum in practice requires a spectrally tunable light source in order to implement the filter parts _X_ <sup>+</sup> (λ) and _X_ <sup>−</sup> (λ) as illuminations. Also, _a priori_ knowledge of the spectral sensitivity of the monochrome camera _S_ (λ) is needed for Eqs. (11) and (12). _2.2._ _Partially Negative Filters – Visualization Considerations_ When a partially negative filter _e_ ˆ(λ) is applied on a reflectance spectral image _R_ ( _x_, _y_, λ), as per Eq. (2), the resulting inner product image _I_ ip( _x_, _y_ ) may also contain negative values. This is also true for the imaged inner product image _I_ cam( _x_, _y_ ) in Eq. (14). In the computational case, the filter _e_ ˆ(λ) may lead to a completely arbitrary value range and precision for the inner product image _I_ ip( _x_, _y_ ), while the imaged _I_ cam( _x_, _y_ ) is limited by camera’s precision. For example, an 8-bit camera would limit the range to −255 . . . 255, and a 16-bit camera to −65535 . . . 65535. Contemporary display technologies and software, especially, tend to utilize RGB-color spaces, where red, green, and blue intensities are each described by an 8-bit unsigned integer, giving range 0 . . . 255. This same range is also the limit in which grayscale pixel values must lie. Obviously, a partially negative inner product image must be scaled into display’s range for presentation on a display, at least. Inner product images produced by principal component vectors may have low overall contrast, even if the features-of-interest would be highly contrasted. In these cases, various contrast enhancement methods can be used to scale the values so that the features-of-interest can be visualized. In our experiments, we scaled the images into float-range 0 . . . 1, and, for the dental example (in Sec. 2.5), applied contrast-limited adaptive histogram equalization on both the inner product and reference images. Finally, the enhanced images were scaled into 0 . . . 255 range and saved as 8-bit grayscale portable network graphics (PNG) files. _2.3._ _Partially Negative Filters – Optical Implementation_ In order to test the proposed method for implementing partially negative optical filters in practice, we constructed an optical imaging setup (Fig. 4(a)). The setup consists of a spectrally tunable light source [20] (Tunable Spectral Light Engine, Edmund Optics, Inc., USA), which uses 10 different types of LEDs ( _L_ LED, _i_ (λ), _i_ = 1 . . . 10) in the visible range of light (400–700 nm; see Fig. 3(a)). By adjusting the relative intensities (weights _wi_ ) of the LEDs, the shape of the emission spectrum ( _L_ (λ) = <sup>�</sup> _i_ <sup>10</sup> =1 <sup>_wiL_</sup> <sup>LED,</sup> <sup>_i_</sup> <sup>(λ))</sup> <sup>can</sup> <sup>be</sup> <sup>changed.</sup> <sup>A</sup> <sup>liquid</sup> <sup>light</sup> <sup>guide</sup> <sup>(LLG;</sup> <sup>5mm</sup> <sup>×</sup> <sup>6’,</sup> Edmund Optics, Inc., USA) was connected to the spectrally tunable light source, and a ground glass diffuser (DG10-120, Thorlabs, Inc., USA) was placed at the output of the LLG. As a camera, a Photometrics Prime BSI (Teledyne Photometrics, Inc., USA) monochrome camera with spatial resolution of 2048×2048 pixels was used. The camera objective was an Electrophysics 25mm f/1.3 C-mount objective lens (Sofradir EC, Inc., USA). As can be seen from Eqs. (11) and (12), _a priori_ knowledge of the spectral sensitivity of the monochrome camera _S_ (λ) = _T_ OBJ(λ) _S_ CAM(λ) is required for the implementation of positive and Research Article Vol. 27, No. 23 / 11 November 2019 / _Optics Express_ 34027 Fig. 3. Spectral properties of the devices: (a) emission spectra of the LEDs of the spectrally tunable light source (Edmund Optics Tunable Spectral Light Engine), (b) effective spectral transmission of the liquid light guide (Edmund Optics ø5mm liquid light guide) when connected to the light source, (c) spectral transmittance of the ground glass diffuser (Thorlabs DG10-120), (d) spectral transmission of the camera objective (Electrophysics 25mm f1.3), and (e) the spectral sensitivity of the monochrome camera (Photometrics Prime BSI). And, f) effective sensitivity of the camera. Fig. 4. Photographs and schematics of the imaging setups: (a) a proof-of-concept imaging setup, and its (b) schematic view, (c) oral and dental imaging setup, and its (d) schematic view. In the schematics, the abbreviations are as follows: STLS: spectrally tunable light source, LLG: liquid light guide, GGD: ground glass diffuser, CCM: ColorChecker Mini, OBJ: camera objective, and CAM: monochrome camera. Research Article Vol. 27, No. 23 / 11 November 2019 / _Optics Express_ 34028 negative parts of the filter. In addition, for the proof-of-concept imaging example, it was important to use partially negative filter spectra that the spectrally tunable light source – combined with the LLG – could produce as precisely as possible. For these reasons, we carefully characterized the devices and optical components of the imaging setup. The following properties were measured: the spectral emission of the LEDs of the spectrally tunable light source, the effective light transmission of the LLG (when connected to the spectrally tunable LED light source), the spectral transmittance of the ground glass diffuser, the spectral transmission of the objective lens of the camera, and the spectral sensitivity of the monochrome camera. As noted in Sec. 2.2, we perform scaling operations to enhance image contrast. Consequently, in the context of this paper, the absolute values of the measured spectral quantities do not matter; the spectral shapes of the quantities, however, are essential. The emission spectra of the LEDs were acquired by illuminating a 30 × 30 cm diffuse white reference plate (Edmund Optics, Inc., USA) with a single type of LED at a time at 100% brightness without the LLG, and by measuring the light scattered from the white plate with a Hamamatsu PMA-11 spectrometer (Hamamatsu Photonics, K.K., Japan). The Hamamatsu spectrometer removes the dark noise from the measured spectra automatically. The relative spectral power distributions of the LEDs, _L_ LED, _i_ (λ), of the light source are presented in Fig. 3(a). The peak emission wavelengths and full-width at half-maximum values (FWHM) of the LEDs are listed in Table 1. Table 1. Numbers of LEDs [20], the peak emission wavelengths and full-width at half-maximum values of Edmund Optics Tunable Spectral Light Engine LED spectra. LED _i_ 1 2 3 4 5 6 7 8 9 10 Number of LEDs 2 2 3 3 5 5 10 12 2 4 Peak emission [nm] 429 446 466 475 505 523 551 596 637 660 FWHM [nm] 15 19 23 30 32 35 109 76 18 19 The effective spectral transmission _T_ LLG(λ) of the LLG was measured by illuminating a 13.5 cm diameter integrating sphere (819D-IS-5.3, Newport Corporation, USA) with the spectrally tunable light source (all LEDs on, 100% brightness) first with and then without the LLG. Light spectrum was measured for both cases by the Hamamatsu spectrometer and the effective transmission of the LLG was calculated as the ratio of the measured spectra. The effective spectral transmission of the light source’s liquid light guide is presented in Fig. 3(b). The spectral transmission _T_ GGD(λ) of the ground glass diffuser was measured with a PerkinElmer Lambda 1050 spectrophotometer (PerkinElmer, Inc., USA), and is presented in Fig. 3(c). The spectral transmission _T_ OBJ(λ) of the objective lens was measured with the same device. The measurement light beam, however, spreads inside the device after going through the lens, and part of the transmitted light does not enter spectrophotometer’s integrating sphere nor reach the detector. Therefore, the measured values are not true spectral transmittance. In the scope of this paper, the measurement is sufficient, since only the spectral shape of the transmittance is needed, and the absolute values can be ignored. The spectral transmission of the camera’s objective Fig. 3(d). The spectral sensitivity _S_ CAM(λ) was defined by illuminating the integrating sphere with monochromatic light produced by a monochromator, and imaging the inside of the sphere with the monochrome camera every 10 nm wavelength step. The camera did not have an objective lens attached. The exposure time was set as the longest exposure time without saturation at the brightest wavelength band, and the time was constant throughout the measurements. The relative spectral power distribution inside the integrating sphere was determined with the Hamamatsu spectrometer. The spectral sensitivity of the camera is presented in Fig. 3(e). Research Article Vol. 27, No. 23 / 11 November 2019 / _Optics Express_ 34029 Combined with the spectral transmissions of the optical components in the imaging setup of Fig. 4(b), the effective relative sensitivity of the monochrome camera becomes _<u>T</u>_ <u>LLG(λ)</u> _<u>T</u>_ <u>GGD(λ)</u> _<u>T</u>_ <u>OBJ(λ)</u> _<u>S</u>_ <u>CAM(λ)</u> _S_ eff(λ) = max { _T_ LLG(λ)} <sup>×</sup> max { _T_ GGD(λ)} <sup>×</sup> max { _T_ OBJ(λ)} <sup>×</sup> max { _S_ CAM(λ)} <sup>.</sup> (16) This effective sensitivity curve for the Photometrics Prime BSI camera is shown in Fig. 3(f). A partially negative filter is converted into two optical filters _X_ <sup>+</sup> (λ) and _X_ <sup>−</sup> (λ) as per Eqs. (11) and (12). These optical filters are then loaded into the spectrally tunable light source’s control software (provided by the manufacturer). An inner product image _I_ cam( _x_, _y_ ) is then calculated from two separate image captures, _I_ cam <sup>+</sup> <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>) and</sup> <sup>_I_</sup> cam <sup>−</sup> <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>).</sup> cam <sup>+</sup> <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>) and</sup> <sup>_I_</sup> cam <sup>−</sup> cam <sup>−</sup> <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>).</sup> _2.4._ _Proof of Concept Imaging_ Knowing the spectral properties of the Edmund Optics Tunable Spectral Light Engine, we created partially negative filters artificially. To ensure that the filters are precisely implementable on the light source, we began by designing the positive and negative parts _L_ <sup>+</sup> (λ) and _L_ <sup>−</sup> (λ) of the illumination, henceforth _L_ <sup>±</sup> (λ), first. This was done by choosing suitable weights _wi_ for the LEDs in the light source. By designing the partially negative filter _e_ ˆ(λ) backwards, we can be sure that the positive and negative parts do not overlap and that the parts are implementable exactly as intended with the LED illumination spectra _L_ LED, _i_ (λ), which are shown in Fig. 3(a). Using the designed illuminants _Ln_ <sup>±(λ) = �</sup> _i_ <sup>10</sup> =1 <sup>_w_</sup> _i_ <sup>±</sup>, _n_ <sup>_L_</sup> <sup>LED,</sup> <sup>_i_</sup> <sup>(λ),</sup> <sup>_n_</sup> <sup>= 1, 2, 3, we imaged a sample,</sup> ColorChecker Mini (X-Rite, Inc., USA) color chart, with the Photometrics Prime BSI monochrome camera once for each illuminant pair. The camera was set on 16-bit HDR mode. Each image pair was captured with optimal exposure times _tn_ <sup>±</sup> <sup>for the positive and negative illumination images.</sup> Variable exposure times must be compensated in both the images and the spectra: _n_ <sup>±(λ) = �</sup> _i_ <sup>10</sup> = Using the designed illuminants _Ln_ <sup>±</sup> _i_ <sup>10</sup> =1 <sup>_w_</sup> _i_ <sup>±</sup>, _In_ <sup>±</sup> _n_ <sup>±(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>) =</sup> <sup>_I_</sup> _n_ <sup>±</sup>, _t_ _n_ <sup>±(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>) =</sup> <sup>_X_</sup> _n_ <sup>±</sup>, _n_ <sup>±</sup>, _t_ <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>)/</sup> <sup>_t_</sup> _n_ <sup>±</sup> _n_ <sup>±</sup>, _t_ <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>)/</sup> <sup>_t_</sup> _n_ <sup>±</sup> _n_ <sup>±</sup> (17) <sup>_t_</sup> _n_ <sup>±</sup> (18) _Xn_ <sup>±</sup> where _In_ <sup>±</sup>, _n_ <sup>±</sup>, _t_ <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>) are the raw images and</sup> <sup>_X_</sup> _n_ <sup>±</sup>, _n_ <sup>±</sup>, _t_ <sup>(λ) the illumination spectra since</sup> <sup>_X_</sup> _n_ <sup>±</sup>, _n_ <sup>±</sup>, _t_ <sup>(λ) =</sup> <sup>_L_</sup> _n_ <sup>±</sup> where _In_ <sup>±</sup>, _t_ <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>) are the raw images and</sup> <sup>_X_</sup> _n_ <sup>±</sup>, _t_ <sup>(λ) the illumination spectra since</sup> <sup>_X_</sup> _n_ <sup>±</sup>, _t_ <sup>(λ) =</sup> <sup>_L_</sup> _n_ <sup>±(λ) as</sup> per design. The spectra were further scaled to 0 . . . 1 range: _<u>Xn</u>_ <sup>±</sup> _n_ <sup>±(λ) =</sup> max {max [ _Xn_ <sup>+</sup> (λ _Xn_ <sup>±</sup> _<u>Xn</u>_ <sup>±(λ)</sup> max {max [ _Xn_ <sup>+</sup> (λ)], max [ _Xn_ <sup>−</sup> (λ)]} <sup>.</sup> (19) We then combined the positive and negative parts into a partially negative illumination spectrum _Xn_ (λ) = _Xn_ <sup>+</sup> _n_ <sup>−(λ),</sup> (20) _n_ <sup>+(λ) −</sup> <sup>_X_</sup> _n_ <sup>−</sup> and the positive and negative images _In_ <sup>±(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>) were combined into inner product images</sup> <sup>_In_</sup> <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>)</sup> as per Eq. (14). The partially negative filter _e_ ˆ(λ) is then gained by removing the effects of the imaging system, Eq. (16), by applying Eq. (8): _e_ ˆ _n_ (λ) = _Xn_ (λ) _S_ eff(λ). (21) The partially negative filters _e_ ˆ _n_ (λ) can then be applied to a spectral image of the color chart _R_ CCM( _x_, _y_, λ) to compute a comparison inner product image _I_ CCM,n = ⟨ _R_ CCM( _x_, _y_, λ), ˆ _en_ (λ)⟩. (22) As noted in Sec. 2.2, pixel values of the comparison and imaged inner product images differ in range and scale. In order to compare the images, a common area (the vertical separating area between the center tiles) was selected in both comparison and imaged inner product images. The mean pixel values of these areas were used to scale the comparison image so that the mean values were equal. Research Article Vol. 27, No. 23 / 11 November 2019 / _Optics Express_ 34030 _2.5._ _Oral and Dental Spectral Images_ We acquired oral and dental spectral images with a Specim IQ spectral camera (Specim, Spectral Imaging Ltd., Finland). The spectral range of the camera is 400–1000 nm with a spectral resolution of 2.9 nm (204 bands), and the spatial resolution of the captured images is 512×512. The optical setup is similar to that used in dental application example, Fig. 4(b), except that for spectral imaging the camera was Specim IQ instead of Photometrics Prime BSI, and the light source was non-spectrally tunable Thorlabs OSL2 (Thorlabs, Inc., USA) halogen lamp connected to a ring illuminator (FRI61F50, Thorlabs, Inc., USA) instead of a diffused point light. The oral and dental spectral images were gathered at the Dental School Clinic of the University of Eastern Finland (Kuopio, Finland). A research ethical permission was issued by the Research Ethics Committee of the Hospital District of Northern Savo (Kuopio, Finland). A fully informed written consent was obtained from each participant prior to the imaging. A reference sample with a known reflectance spectrum ( _R_ ref(λ)), a ceramic matt diffuse gray tile (“Matt Diff Grey”, Ceram Research, Ltd., UK), was also imaged. The captured reference spectral image cannot be used for reflectance calculation in Eq. (1) directly, because the physical shapes of the reference sample (flat tile) and the targets-of-interest (oral cavity, teeth) are different. Because of this, a mean spectrum _m_ ref,mean(λ) was calculated from a small area taken from the middle of the reference sample in the captured reference spectral image. A new reference spectral image was then created by assigning the calculated mean spectrum _m_ ref,mean(λ) to every pixel ( _x_, _y_ ) in the reference spectral image. This new reference spectral image _s_ ref( _x_, _y_, λ) was then used in Eq. (1). The Specim IQ camera measures the dark-current spectral image ( _s_ dark( _x_, _y_, λ)) automatically for each spectral image. Naturally, the significantly different shapes and illumination conditions of the oral cavity and the reference tile unavoidably cause the calculated reflectance values to be unrealistic: instead of being in the 0%-100% reflectance range, the flat-field corrected values are in an unknown range. However, the flat-field correction does not affect the shape of the reflectance spectra. In the scope of this paper, only the shapes of the reflectance spectra are needed and the absolute reflectance values are irrelevant. The reflectance spectral images were thus scaled so that the minimum and maximum values of the image are 0 and 1. Considering the method proposed in this paper, this scaling has no effect on the results. Dental experts at the Institute of Dentistry (University of Eastern Finland, Kuopio, Finland) annotated the oral and dental reflectance spectral images with software specifically designed for the task. Currently the image database consists of 54 professionally annotated oral and dental spectral images. We extracted the spectra by class using the annotation masks. The spectra in the classes were then combined into sensible pairs, such as _Attrition/Erosion–Enamel_, _Calculus–Enamel_, or _Ulcer–Oral mucosa_ . Then we performed principal component analysis on the class pairs and found the principal component vectors of the spectra. Hyperspectral images exhibiting features-of-interest, such as blood vessels, calculus (Fig. 5(a)), or dental prosthetics (Fig. 5(b)), were used as base reference for principal component vector selection: these images were projected into the new basis defined by the principal component vectors and each inner product image was subjectively evaluated for its visualization performance. The best performing eigenvectors were collected and implemented as optical filters in an imaging system based on a spectrally tunable light source, presented in Figs. 4(c) and (d). _2.6._ _Dental Applications - Imaging_ We performed principal component analysis on a randomly chosen set of spectra from classes “Initial caries” and “Enamel”, and on another set from classes “Calculus” and “Enamel”. We present three different eigenvectors ˆ _en_ (λ), _n_ = 4, 5, 6, found in these sets that enhance the contrast of 1) blood vessels _e_ ˆ4(λ), 2) calculus _e_ ˆ5(λ), and 3) dental prosthetics _e_ ˆ6(λ). The eigenvectors Research Article Vol. 27, No. 23 / 11 November 2019 / _Optics Express_ 34031 Fig. 5. Examples of spectral images used: (a) lower teeth show calculus and the oral mucosa blood vessels, and (b) the two upper front center teeth have prosthetic tips. were converted into optical partially negative filter spectra by applying Eq. (8) and Eq. (16): _Xn_ (λ) = <sup>_<u>e</u>_</sup> <sup><u>ˆ</u></sup> <sup>_<u>n</u>_</sup> <sup>(λ)</sup> (23) _S_ eff(λ) <sup>.</sup> Particle swarm optimization [21] was then used to find the optimal weights _w_ <sup>±</sup> _i_, Particle swarm optimization [21] was then used to find the optimal weights _w_ <sup>±</sup> _i_, _n_ <sup>for the LED-types</sup> in the spectrally tunable light source, so that the root-mean-square-error between the illumination spectrum _Ln_ (λ) = <sup>�</sup> _i_ <sup>10</sup> =1 <sup>_w_</sup> _i_ <sup>±</sup>, _n_ <sup>_L_</sup> <sup>LED,</sup> <sup>_i_</sup> <sup>and the targeted partially negative filter spectrum</sup> <sup>_Xn_</sup> <sup>(λ) was</sup> _i_ <sup>10</sup> =1 <sup>_w_</sup> _i_ <sup>±</sup>, spectrum _Ln_ (λ) = <sup>�</sup> _i_ <sup>10</sup> =1 <sup>_w_</sup> _i_ <sup>±</sup>, _n_ <sup>_L_</sup> <sup>LED,</sup> <sup>_i_</sup> <sup>and the targeted partially negative filter spectrum</sup> <sup>_Xn_</sup> <sup>(λ) was</sup> minimized. Further manual fitting was necessary, however, as the control software of the Tunable Spectral Light Engine automatically scales the loaded input spectrum to 0–max -range, so that at least one LED-type is at full power. Consequently, the positive and negative illuminations _Ln_ <sup>±(λ) were not proportional to each other.</sup> <sup>We exported the illumination spectra from the control</sup> _Ln_ <sup>±(λ) were not proportional to each other.</sup> <sup>We exported the illumination spectra from the control</sup> software, and fixed the disproportionality by hand in postprocessing by finding such factors _fn_ <sup>±</sup> <sup>so</sup> that the illumination spectra _Ln_ <sup>±(λ) matched the intended positive and negative parts</sup> <sup>_X_</sup> _n_ <sup>±(λ).</sup> _n_ <sup>±(λ) matched the intended positive and negative parts</sup> <sup>_X_</sup> _n_ <sup>±</sup> that the illumination spectra _Ln_ <sup>±(λ) matched the intended positive and negative parts</sup> <sup>_X_</sup> _n_ <sup>±(λ).</sup> We imaged the front teeth of two volunteers using all three partially negative filters (six illuminations _Ln_ <sup>±(λ),</sup> <sup>_n_</sup> <sup>= 4, 5, 6).</sup> <sup>In addition, grayscale reference images were captured with a</sup> illuminations _Ln_ <sup>±(λ),</sup> <sup>_n_</sup> <sup>= 4, 5, 6).</sup> <sup>In addition, grayscale reference images were captured with a</sup> white light produced by the spectrally tunable light source (all LEDs on, 100% brightness). As with the proof-of-concept imaging, the positive and negative images _I_ n,cam <sup>±</sup> <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>) were captured</sup> with optimal exposure times _tn_ <sup>±.</sup> <sup>The captured images were thus scaled</sup> _n_ <sup>±.</sup> <sup>The captured images were thus scaled</sup> _In_ <sup>±</sup> _n_ <sup>±(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>) =</sup> <sup>_I_</sup> <sup>±</sup> n,cam <sup>±</sup> <sup>(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>) ×</sup> <sup>_<u>f</u>_</sup> <sup>±</sup> _<u>n</u>_ _<u>n</u>_ <sup>_<u>f</u>_</sup> <sup>±</sup> _tn_ <sup>±</sup> (24) to compensate for the disproportional illumination and variable exposure times. Next, the inner product images _In_ ( _x_, _y_ ) as per Eq. (14) were calculated. While the inner product images have improved contrast between features, the overall contrast can be very low. Contrast-limited adaptive histogram equalization provided in the scikit-image [22] Python module was used to improve overall contrast. To exaggerate the contrast, the value of clip_limit-parameter of the equalize_adapthis -method was increased from its default value of 0.01 to 0.10. The contrast enhancement was also performed on the grayscale comparison images. 3. Results and Discussion We divided the imaging examples of the implementation of partially negative optical filters into two parts: a) a proof-of-concept for which an artificial partially negative filter was implemented, and b) dental applications that use specific principal component analysis-based filters to improve the contrast of oral and dental features. Research Article Vol. 27, No. 23 / 11 November 2019 / _Optics Express_ 34032 _3.1._ _Proof of Concept_ We chose three illumination pairs _Ln_ <sup>±</sup> We chose three illumination pairs _Ln_ <sup>±(λ),</sup> <sup>_n_</sup> <sup>=</sup> <sup>1, 2, 3, so that the positive and negative parts of</sup> _L_ 1 <sup>±(λ) do not have any overlap in their combined spectra, while</sup> <sup>_L_</sup> 2 <sup>±(λ) contains slight overlap,</sup> _L_ 1 <sup>±(λ) do not have any overlap in their combined spectra, while</sup> <sup>_L_</sup> 2 <sup>±(λ) contains slight overlap,</sup> and _L_ 3 <sup>±(λ) has deliberate strong overlap.</sup> <sup>The weights</sup> <sup>_wi_</sup> <sup>,</sup> <sup>_i_</sup> <sup>= 1, . . ., 10, used to implement these</sup> and _L_ 3 <sup>±(λ) has deliberate strong overlap.</sup> <sup>The weights</sup> <sup>_wi_</sup> <sup>,</sup> <sup>_i_</sup> <sup>= 1, . . ., 10, used to implement these</sup> illuminations fulfill the set criteria, but are otherwise arbitrary. The artificially designed partially negative spectra _Xn_ (λ), and the resulting _e_ ˆ _n_ (λ) are presented in Figs. 6(a-c). And, the positive and negative parts _Xn_ <sup>±(λ) are presented in Figs.</sup> <sup>6(d-f), along with the positive and negative parts</sup> and negative parts _Xn_ <sup>±(λ) are presented in Figs.</sup> <sup>6(d-f), along with the positive and negative parts</sup> _e_ ˆ <sup>±</sup> _n_ <sup>(λ).</sup> <sup>In this case, the illumination spectra</sup> <sup>_L_</sup> _n_ <sup>±(λ) are not shown, as they were designed to match</sup> <sup>±</sup> _n_ <sup>(λ).</sup> <sup>In this case, the illumination spectra</sup> <sup>_L_</sup> _n_ <sup>±</sup> _e_ ˆ <sup>±</sup> _n_ <sup>(λ).</sup> <sup>In this case, the illumination spectra</sup> <sup>_L_</sup> _n_ <sup>±(λ) are not shown, as they were designed to match</sup> precisely the target spectra _Xn_ <sup>±(λ).</sup> _n_ <sup>±(λ).</sup> Fig. 6. Illumination emission and filter transmission spectra, in arbitrary units (a.u.): (a) _X_ 1(λ) and _e_ ˆ1(λ), (b) _X_ 2(λ) and _e_ ˆ2(λ), and (c) _X_ 3(λ) and _e_ ˆ3(λ), where illumination spectra are the blue continuous lines and filter spectra the orange dashed lines. Positive and negative illumination spectra (d) _X_ 1 <sup>+(λ) and</sup> <sup>_X_</sup> 1 <sup>−(λ), (e)</sup> <sup>_X_</sup> 2 <sup>+(λ) and</sup> <sup>_X_</sup> 2 <sup>−(λ), and (f)</sup> <sup>_X_</sup> 3 <sup>+(λ) and</sup> <sup>_X_</sup> 3 <sup>−(λ),</sup> where the positive part spectra are the green continuous lines and negative part spectra the red dashed lines. The reference inner product image _I_ CCM,1( _x_, _y_ ) for filter ˆ _e_ 1(λ) is presented in Fig. 7(a), and the imaged inner product image _I_ 1( _x_, _y_ ) in Fig. 7(b). In subjective visual evaluation, we consider this a relatively ideal example of the method, as the inner product images match closely and every color tile is reproduced precisely enough. With filter 2 the computational reference (Fig. 7(c)) differs slightly from the imaged inner product image (Fig. 7(d)). This may be caused by slight overlap in _e_ ˆ <sup>+</sup> 2 <sup>(λ) and</sup> <sup>_e_</sup> <sup>ˆ−</sup> 2 <sup>(λ) spectra.</sup> Filter 3 was intentionally designed so, that the positive and negative parts _e_ ˆ <sup>+</sup> 3 <sup>(λ) and</sup> <sup>_e_</sup> <sup>ˆ−</sup> 3 <sup>(λ)</sup> would have severe overlaps in their spectra. We believe this leads to the filter’s poor performance, evidenced in Figs. 7(e) and (f), which differ noticibly in multiple tiles. _3.2._ _Dental applications_ The principal component vector spectra for 1) blood vessels _e_ ˆ4(λ), 2) calculus _e_ ˆ5(λ), and 3) dental prosthetics _e_ ˆ6(λ), are presented in Figs. 8(a-c), along with their optically compensated partially negative spectra _Xn_ (λ), and the fitted illumination spectra _Ln_ (λ), where _n_ = 4, 5, 6. The root mean square error (RMSE) between the intended spectrum _X_ 4(λ) and the fitted illumination _L_ 4(λ) is 0.09, for _X_ 5(λ) and _L_ 5(λ) 0.10, and _X_ 6(λ) and _L_ 6(λ) 0.09. The RMSEs of _L_ 4(λ) and _L_ 5(λ) are 19% and 18% of the min-max range of their targets _X_ 4(λ) and _X_ 5(λ). These two values Research Article Vol. 27, No. 23 / 11 November 2019 / _Optics Express_ 34033 Fig. 7. Proof-of-concept inner product images: (a) computational and (b) imaged inner product images for filters _e_ ˆ1(λ) and _X_ 1(λ) in ideal case, (c) computational and (d) imaged inner product images for filters _e_ ˆ2(λ) and _X_ 2(λ) when the spectra have a slight overlap, and (e) computational and (f) imaged inner product images for filters _e_ ˆ3(λ) and _X_ 3(λ) when the spectra overlap significantly. The Specim IQ images on the left column were cropped from a larger image, and scaling is blurring them slightly. Photometrics Prime BSI images on the right look distorted because the color checker is slightly bent. seem high and their graphs in Figs. 8(a,b) show poor fit at the ends of the spectra. The RMSE of _L_ 6(λ) is only 9% of the min-max range of _X_ 6(λ), indicating a better fit than _L_ 4(λ) and _L_ 5(λ), but it is caused by the spike at 400 nm expanding the min-max-range. In all cases, the fit suffers from the lack of LEDs closer to the 400 nm and 700 nm bands. The positive parts _e_ <sup>+</sup> _n_ <sup>(λ),</sup> <sup>_X_</sup> _n_ <sup>+(λ)</sup> from the lack of LEDs closer to the 400 nm and 700 nm bands. The positive parts _e_ <sup>+</sup> _n_ <sup>(λ),</sup> <sup>_X_</sup> _n_ <sup>+(λ)</sup> and _Ln_ <sup>+(λ) are presented in Figs.</sup> <sup>8(d-f), and the negative parts</sup> <sup>_e_</sup> _n_ <sup>−(λ),</sup> <sup>_X_</sup> _n_ <sup>−(λ), and</sup> <sup>_L_</sup> _n_ <sup>−(λ) in Figs.</sup> _n_ <sup>+(λ) are presented in Figs.</sup> <sup>8(d-f), and the negative parts</sup> <sup>_e_</sup> _n_ <sup>−</sup> _n_ <sup>−(λ),</sup> <sup>_X_</sup> _n_ <sup>−</sup> _n_ <sup>−(λ), and</sup> <sup>_L_</sup> _n_ <sup>−</sup> <sup>+</sup> _n_ <sup>(λ),</sup> <sup>_X_</sup> _n_ <sup>+</sup> and _Ln_ <sup>+(λ) are presented in Figs.</sup> <sup>8(d-f), and the negative parts</sup> <sup>_e_</sup> _n_ <sup>−(λ),</sup> <sup>_X_</sup> _n_ <sup>−(λ), and</sup> <sup>_L_</sup> _n_ <sup>−(λ) in Figs.</sup> 8(g-i). The contrast-enhanced blood vessel inner product image and the grayscale reference seem exceedingly similar in Figs. 9(a) and (b). The inner product image (Fig. 9(b)), however, gives a more detailed view of the blood vessels on some areas than the reference. The positive and negative illumination spectra (Figs. 8(d) and (g)) have overlapping regions, which may lower the partially negative illumination’s performance. The positive illumination spectrum extends beyond 600 nm, while the target stops there. Conversely, the negative illumination spectrum starts before the targeted 600 nm point. Furthermore, the start and end regions of the implemented spectrum differ drastically from the target spectrum. Research Article Vol. 27, No. 23 / 11 November 2019 / _Optics Express_ 34034 Fig. 8. Oral and dental contrast enhancement filters: (a) blood vessels, (b) calculus, and (c) prosthetics. The positive parts of the filters: (d) blood vessels (e) calculus, and (f) prosthetics. The negative parts of the filters: (g) blood vessels (h) calculus, and (i) prosthetics. The blue dashed lines are eigenvectors _e_ ˆ _n_ (λ), orange dotted lines present optical filters _Xn_ (λ), and the green continuous lines present the fitted LED illumination spectra _Ln_ (λ) implementing the optical filters. The blood vessel filter found in “Initial caries”–“Enamel” set might perform better had a class containing only blood vessels existed in our data sets, so that a pair like “Blood vessel“–“Oral mucosa” had been possible. Perhaps even more useful results could have been gained had the hypothetical “Blood vessel” class been split into “Artery” and “Vein” classes, possibly allowing creation of filters that separate the two blood vessel types. The calculus illumination spectrum differs at the beginning and the end of the spectrum (Fig. 8(b)), like in the blood vessel case. Additionally, the center peak of the negative part (Fig. 8(h)) continues beyond intended region. Still, the contrast-enhanced inner product image (Fig. 9(d)) shows bright white calculus areas on the sides of the front teeth, on a upper left back tooth and on upper right back gingiva line. The grayscale reference (Fig. 9(c)) shows subtle white shades on some calculus areas while others are barely noticeable. Our third example, dental prosthetics filter fails completely. The spectrum of this filter (Fig. 8(c)) is too complex for the spectrally tunable light source, and the positive and negative illuminations (Figs. 8(f) and (i)) fail to reproduce some of the peaks in the target spectrum. In the positive illumination, a 50 nm wide peak at 580 nm spreads over a 200 nm band, also covering a small peak at 680 nm. The negative illumination spectrum, on the other hand, is missing a peak at 410 nm. The inner product image (Fig. 9(f)) and the reference (Fig. 9(e)) neither shows the dental prosthetics (the latter being, likely, a desired feature in dental prosthetics). Research Article Vol. 27, No. 23 / 11 November 2019 / _Optics Express_ 34035 Fig. 9. Contrast-enhanced (a) reference image and (b) inner product image for blood vessel filter, (c) reference image and (d) inner product image for calculus filter, and (e) reference image and (f) inner product image for prosthetics filter. Additionally, (g) an inner product image the dental prosthetics filter applied on a spectral image. Research Article Vol. 27, No. 23 / 11 November 2019 / _Optics Express_ 34036 When the partially negative filter _e_ ˆ3(λ) is applied to a spectral image of the same volunteer (Fig. 9(g)), the dental prosthetic is seen clearly on an contrast-enhanced image version. This filter was 7th principal component vector in the “Calculus”–“Enamel” spectrum set making the computational inner product image fairly noisy. _3.3._ _Discussion_ The results from the imaging tests are promising. As expected, when the spectrally tunable light source can replicate the given spectral shapes of the positive and negative parts of the filter with high fidelity, the inner product image computed from the spectral image and the inner product image gained from the imaging by a monochrome camera are practically identical. When the spectrally tunable light source fails to produce the given spectral shapes, however, the inner product images gained from the computations and from the imaging are different. During our experiments, we identified few shortcomings in our approach. As the partially negative vector is implemented as two optical filters, two measurements are required. This proved to be a challenge in the context of oral and dental imaging: involuntary movements between image captures lead to motion artifacts and necessitate the use of image registration. Image registration, however, cannot fully compensate the movements, and misalignments in the image pair impair the visibility of the features-of-interest. Thus, the method is more suitable for cases where the imaged scene is static. Our intraoral imaging application places three essential requirements on the light source: it must be able to accurately reproduce the planned spectra, the intensity of the light emitted must be relatively high, and the light must stabilize quickly. In theory, the positive and negative parts of the planned spectrum do not overlap. In practice, and depending on the properties of the spectrally tunable light source, this might not hold and the parts may exhibit significant overlap, which can lead to poor performance in reproducing the effect of the partially negative filter. In our study, we found that the spectrally tunable light source used, Edmund Optics Tunable Spectral Light Engine, is not suitable for reproducing elaborate, high order, principal component vectors. This is due to the spectral sparsity of the LED-types, relatively broad spectral emission bands of the LEDs, and non-uniform spectral power distributions among the LEDs (Fig. 3(a)). The LEDs in the blue and red regions have relatively narrow spectral power distributions and the spectral separation is “short”, but the area 500-650 nm consists of only five LED-types, some of which have relatively broad spectral distributions. Despite these design choices, the device can reproduce the very first few principal components with sufficient accuracy. The brightness of the light source is quite enough for intraoral imaging allowing short exposure times. The emitted light also stabilizes quickly, which is an important feature in intraoral imaging due to the aforementioned involuntary movements. 4. Conclusions We propose an imaging method for improved visualization of specific features-of-interest and contrast enhancement, based on partially negative optical filters. The partially negative filters are split into positive and negative parts that can then be implemented optically. We have shown the feasibility and weaknesses of the method with proof-of-concept and practical dental imaging examples. The results are promising and the proposed method can be used in various imaging applications. Funding Business Finland (4465/31/2017), European Regional Development Fund Research Article Vol. 27, No. 23 / 11 November 2019 / _Optics Express_ 34037 Acknowledgments The work is part of the Academy of Finland Flagship Programme, Photonics Research and Innovation (PREIN), decision 320166. Disclosures The authors declare that there are no conflicts of interest related to this article. References 1. Y. Garini, I. T. Young, and G. McNamara, “Spectral imaging: Principles and applications,” [Cytometry,](https://doi.org/10.1002/cyto.a.20311) Part A 69A (8), 735–747 (2006). 2. [N. A. Hagen and M. W. Kudenov, “Review of snapshot spectral imaging technologies,” Opt. Eng.](https://doi.org/10.1117/1.OE.52.9.090901) 52 (9), 090901 (2013). 3. Q. Li, X. He, Y. Wang, H. Liu, D. Xu, and F. Guo, “Review of spectral imaging technology in biomedical engineering: [achievements and challenges,” J. Biomed. Opt.](https://doi.org/10.1117/1.JBO.18.10.100901) 18 (10), 100901 (2013). 4. S. Zhu, K. Su, Y. Liu, H. Yin, Z. Li, F. Huang, Z. Chen, W. Chen, G. Zhang, and Y. Chen, “Identification of cancerous [gastric cells based on common features extracted from hyperspectral microscopic images,” Biomed. Opt. Express](https://doi.org/10.1364/BOE.6.001135) 6 (4), 1135–1145 (2015). 5. Y. Zhong, A. Ma, Y. soon Ong, Z. Zhu, and L. Zhang, “Computational intelligence in optical remote sensing image [processing,” Appl. Soft Comput.](https://doi.org/10.1016/j.asoc.2017.11.045) 64, 75–93 (2018). 6. M. Muto, T. Horimatsu, Y. Ezoe, S. Morita, and S. Miyamoto, “Improving visualization techniques by narrow band [imaging and magnification endoscopy,” J. Gastroenterol. Hepatol.](https://doi.org/10.1111/j.1440-1746.2009.05925.x) 24 (8), 1333–1346 (2009). 7. M. Muto, T. Horimatsu, Y. Ezoe, K. Hori, Y. Yukawa, S. Morita, S. Miyamoto, and T. Chiba, “Narrow-band imaging [of the gastrointestinal tract,” J. Gastroenterol.](https://doi.org/10.1007/s00535-008-2291-5) 44 (1), 13–25 (2009). 8. S. V. Parasca, M. A. Calin, D. Manea, S. Miclos, and R. Savastru, “Hyperspectral index-based metric for burn depth [assessment,” Biomed. Opt. Express](https://doi.org/10.1364/BOE.9.005778) 9 (11), 5778–5791 (2018). 9. J. Hyttinen, P. Fält, L. Fauch, A. Riepponen, A. Kullaa, and M. Hauta-Kasari, “Contrast enhancement of dental lesions by light source optimisation,” in _International Conference on Image and Signal Processing_, (Springer, 2018), pp. 499–507. 10. P. Fält, J. Hyttinen, L. Fauch, A. Riepponen, A. Kullaa, and M. Hauta-Kasari, “Spectral image enhancement for the visualization of dental lesions,” in _International Conference on Image and Signal Processing_, (Springer, 2018), pp. 490–498. 11. Y. Kurabuchi, K. Murai, K. Nakano, T. Ohnishi, T. Nakaguchi, M. Hauta-Kasari, and H. Haneishi, “Optimal design [of illuminant for improving intraoperative color appearance of organs,” Artif. Life Robotics](https://doi.org/10.1007/s10015-018-0438-x) 24 (1), 52–58 (2019). 12. D.-Y. Tzeng and R. S. Berns, “A review of principal component analysis and its applications to color technology,” [Color Res. Appl.](https://doi.org/10.1002/col.20086) 30 (2), 84–98 (2005). 13. N. Hayasaka, S. Toyooka, and T. Jaaskelainen, “Iterative feedback method to make a spatial filter on a liquid crystal [spatial light modulator for 2d spectroscopic pattern recognition,” Opt. Commun.](https://doi.org/10.1016/0030-4018%0x2895%0x2900327-5) 119 (5-6), 643–651 (1995). 14. A. A. Kamshilin and E. Nippolainen, “Chromatic discrimination by use of computer controlled set of light-emitting [diodes,” Opt. Express](https://doi.org/10.1364/OE.15.015093) 15 (23), 15093–15100 (2007). 15. [J. P. S. Parkkinen, J. Hallikainen, and T. Jaaskelainen, “Characteristic spectra of munsell colors,” J. Opt. Soc. Am. A](https://doi.org/10.1364/JOSAA.6.000318) 6 (2), 318–322 (1989). 16. [T. Jaaskelainen, J. Parkkinen, and S. Toyooka, “Vector-subspace model for color representation,” J. Opt. Soc. Am. A](https://doi.org/10.1364/JOSAA.7.000725) 7 (4), 725–730 (1990). 17. [R. Piché, “Nonnegative color spectrum analysis filters from principal component analysis characteristic spectra,” J.](https://doi.org/10.1364/JOSAA.19.001946) [Opt. Soc. Am. A](https://doi.org/10.1364/JOSAA.19.001946) 19 (10), 1946–1950 (2002). 18. L. Fauch, E. Nippolainen, V. Teplov, and A. A. Kamshilin, “Recovery of reflection spectra in a multispectral imaging [system with light emitting diodes,” Opt. Express](https://doi.org/10.1364/OE.18.023394) 18 (22), 23394–23405 (2010). 19. M. Flinkman, H. Laamanen, J. Tuomela, P. Vahimaa, and M. Hauta-Kasari, “Eigenvectors of optimal color spectra,” [J. Opt. Soc. Am. A](https://doi.org/10.1364/JOSAA.30.001806) 30 (9), 1806–1813 (2013). 20. [Edmund Optics, “Tunable spectral light engine 11-175,” https://www.edmundoptics.com/document/download/461627.](https://www.edmundoptics.com/document/download/461627) Accessed: 2019-09-30. 21. D. Bratton and J. Kennedy, “Defining a standard for particle swarm optimization,” in _2007 IEEE Swarm Intelligence_ _Symposium_, (2007), pp. 120–127. 22. S. van der Walt, J. L. Schönberger, J. Nunez-Iglesias, F. Boulogne, J. D. Warner, N. Yager, E. Gouillart, and T. Yu, the scikit-image contributors, “scikit-image: [image processing in Python,” PeerJ](https://doi.org/10.7717/peerj.453) 2, e453 (2014).

섹션 본문 57문단 · 36,424자

(제목 없음)

1In optical imaging, optical filters can be used to enhance the visibility of featuresof-interest and thus aid in visualization. Optical filter design based on hyperspectral imaging employs various statistical methods to find an optimal design. Some methods, like principal component analysis, produce vectors that can be interpreted as filters that have a partially negative transmission spectrum. These filters, however, are not directly implementable optically. Earlier implementations of partially negative filters have concentrated on spectral reconstruction. Here we show a novel method for implementing partially negative optical filters for contrast-enhancement purposes in imaging applications. We describe the method and its requirements, and show its feasibility with color chart and dental imaging examples. The results are promising: visual comparison of computational color chart render and optical measurement show matching images, and visual inspection of dental images show increased contrast.

Introduction

2As is well known, digital color photography relies on cameras that record the intensity of three distinct color bands -red (R), green (G), and blue (B) -and save this information in files generally described as RGB-images. Multispectral imaging extends this system by recording several different wavelength bands that need not be only in the visible range, but can also extend, e.g., to ultra-violet and infrared regions [1,2]. When the imaging system is further extended to image contiguous narrow wavelength bands over a wavelength range of interest, each pixel in the spectral image contains a contiguous spectrum and the system is known as hyperspectral imaging system [3].

3Hyperspectral imaging records the full spectral data (e.g., spectral reflectance) of the imaged sample, which can then be used for various tasks, such as improving the performance of image segmentation and classification tasks compared to the usual RGB and grayscale images (e.g., cancerous cell detection [4] and remote sensing [5]). Individual spectral band images of a hyperspectral image may also show improved visibility of features-of-interest which allows optimal wavelength band selection for designing feature-specific imaging systems (e.g., narrowband imaging [6,7] and burn depth assessment [8]). Furthermore, numerical optimization and data analysis methods can be used on spectral images to find combinations of different spectral bands that improve the visibility of certain features, allowing the design of optimal spectral transmittances for optical filters and optimal spectral power distributions for light sources [9][10][11].

4While hyperspectral imaging can record the full spectral data of a sample, it is not always the best imaging approach for practical imaging applications. Typical downsides of spectral imaging are relatively long image acquisition times, challenges in producing a proper illumination over a broad wavelength range, shuffling between reference samples required for image correction and spectral reflectance calculations. Furthermore, the acquired spectral image cubes contain a large amount of spectral data that only a specialist can make sense of. Data analysis performed on hyperspectral images often aims to produce simple, cost-effective imaging setups or computationally-effective spectral data processing methods, for example, for segmenting or classifying features-of-interest from the image scene. Some data analysis methods, such as principal component analysis (PCA) [12], can be used to create useful visualizations of the spectral image data.

5PCA finds the directions of maximum variance from the spectral data (principal component vectors). The individual spectra in a spectral image -which are, in practice, discrete N dimensional vectors -can be projected onto a principal component vector. These projections (inner products) are scalar values that can then be reorganized to form a grayscale inner product image of the image scene. These inner product images can contain a strong contrast of various features in the image. Therefore, the ability to produce these inner product images using a simple imaging system would be very beneficial in many imaging applications.

6The principal component vectors can also be interpreted as transmittance spectra of optical filters (or as emission spectra of light sources). However, the challenge in implementing these filters/illuminations in practice is that all principal components (except the first one, which is roughly the mean spectrum of the data) contain both positive and negative parts in the spectrum. Naturally, the spectral transmittances of real-world optical filters (and the emission spectra of light sources) can only have positive values. Therefore, any filter or illumination that contains both positive and negative parts in the spectrum (i.e., "partially negative filters") cannot be implemented optically using a single optical element, such as an interference filter or a fixed-state light source.

7In earlier works, Hayasaka et al. [13] solved the partial negativity of illumination spectra by applying multiplicative constants and bias vectors on partially negative principal component vectors, forcing them to have all-positive values. Another solution to the challenge of implementing partially negative optical filters is splitting the partially negative filter spectrum into its positive and negative parts, which can then be implemented as two separate optical filters or light sources [14]. These two separate filters (or illuminations) are used to acquire "positive" and "negative" grayscale images, which then are subtracted from each other to produce a final inner product image. These methods have been used almost exclusively for reflectance spectrum reconstruction by implementing few of the most significant principal component vectors as illuminations [15][16][17][18][19].

8In this paper, we propose to use the method of implementing positive and negative parts of the filter separately for applying the effect of partially negative optical filters for imaging purposes. Partially negative optical filters, produced by PCA, for example, have potential to offer stronger contrast enhancement for features-of-interest than fully positive filters (e.g. in [9]) due to larger intensity range (positive and negative ranges vs. positive only). While the simple computational approach in [10] could offer useful partially negative filters, the proposed weights would require very narrow spikes for positive and negative parts rendering optical implementation infeasible. Filters derived from lower-order principal components have relatively simple spectral shape and are easily implemented. To the best of our knowledge, this is the first time this method has been used for image contrast enhancement and for improving the visualization of specific features-of-interest in an imaging application. We used a commercially available spectrally tunable light source, that uses 10 different light emitting diode (LED) types in the visible range of light (400-700 nm), to produce the positive and negative parts of the filter spectrum. We present proof-of-concept imaging with partially negative filters and a color chart, and a practical application of the method on oral and dental imaging.

Methods

9In sections 2.1 and 2.2, we present the theory behind the method for implementing partially negative filter spectra in imaging system. In section 2.3, an imaging setup and a proof-of-concept imaging examples are presented. Details of the proof-of-concept imaging are presented in section 2.4. In section 2.5, the background of the oral and dental spectral images used in the practical case example are presented.

Partially Negative Filters -Theory

10A reflectance spectral image R(x, y, λ) is a data cube of size X × Y × N, which can be calculated from image acquisition data using a standard flat-field correction method [3]:

11where x = 1, . . . , X and y = 1, . . . , Y are spatial coordinates, λ i is the wavelength band (i = 1, . . . , N), s sample (x, y, λ i ) is the spectral band image measured from the sample, s dark (x, y, λ i ) is the dark-current spectral band image, s ref (x, y, λ i ) is the spectral band image measured from the reference sample, and R ref (λ i ) is the reflectance spectrum of the reference sample. An inner product image I ip (x, y) is computed from a spectral image R(x, y, λ) and an N-vector e(λ) as an inner product

12Let us assume that the vectorê(λ) contains both positive and negative parts (an example vector is shown in Fig. 1(a)). The positive and negative parts can be separated into their own vectors, e + (λ) andê − (λ), so thatê(λ) =ê + (λ) +ê − (λ). Now, Eq. (2) can be written as

13= R(x, y, λ),ê + (λ) − R(x, y, λ), |ê − (λ)| (4)

14where I + ip (x, y) and I − ip (x, y) are inner product images for all-positive vectorsê + (λ) and |ê − (λ)| (see Figs. 1(b) and (c)). Let us assume an ideal imaging setup ( Fig. 2(a)) with a (non-spectrally-tunable) light source that has an emission spectrum L(λ), and an optical filter with a spectral transmittance F(λ) in front of a monochrome camera with a spectral sensitivity S(λ). Here, S(λ) = T OBJ (λ)S CAM (λ), where T OBJ (λ) is the spectral transmittance of the objective lens used, and S CAM (λ) is the spectral sensitivity of the camera sensor. A grayscale image I cam (x, y) captured by the monochrome camera of a sample that has a spectral reflectance R(x, y, λ) has a mathematical presentation

15where η(x, y) is noise. Since we want to use an optical imaging system to capture an image that reproduces the effect a partially negative vector has on the spectral image of the sample-of-interest, let us choose I ip = I cam − η(x, y). From Eqs. (2) and (7) we get R(x, y, λ),ê(λ) = R(x, y, λ), L(λ)F(λ)S(λ) . If we further assume that the light source used is spectrally tunable, the optical filter F(λ) can be combined with the fixed-state light source L(λ) (Fig. 2(b)) and we can shorten X(λ) = L(λ)F(λ). The Eqs. (2) and (7) give us a clear connection between the partially negative filterê(λ) and the optical properties of the imaging system:

16which can again be separated into positive and negative parts:

17For an arbitrary partially negative filterê(λ), a matching optical filter X(λ) consists of positive and negative parts

18The spectra of both X + (λ) and X − (λ) are fully positive and can be implemented optically, e.g., by using a spectrally tunable light source. Thus, explicitly, the inner product image I cam (x, y) in a real imaging system is as per Eqs. (4), (9) and (10) of form

19where I + cam (x, y) and I − cam (x, y) are grayscale images captured using the optical filters (or illuminants) X + (λ) and X − (λ). The final inner product image (the effect of the partially negative filter) is then

20where noise image η(x, y) can be acquired by taking a dark image with the same imaging setup as images I + cam (x, y) and I − cam (x, y). This method to implement a partially negative filter spectrum in practice requires a spectrally tunable light source in order to implement the filter parts X + (λ) and X − (λ) as illuminations. Also, a priori knowledge of the spectral sensitivity of the monochrome camera S(λ) is needed for Eqs. (11) and (12).

Partially Negative Filters -Visualization Considerations

21When a partially negative filterê(λ) is applied on a reflectance spectral image R(x, y, λ), as per Eq. (2), the resulting inner product image I ip (x, y) may also contain negative values. This is also true for the imaged inner product image I cam (x, y) in Eq. (14). In the computational case, the filterê(λ) may lead to a completely arbitrary value range and precision for the inner product image I ip (x, y), while the imaged I cam (x, y) is limited by camera's precision. For example, an 8-bit camera would limit the range to −255 . . . 255, and a 16-bit camera to −65535 . . . 65535.

22Contemporary display technologies and software, especially, tend to utilize RGB-color spaces, where red, green, and blue intensities are each described by an 8-bit unsigned integer, giving range 0 . . . 255. This same range is also the limit in which grayscale pixel values must lie. Obviously, a partially negative inner product image must be scaled into display's range for presentation on a display, at least. Inner product images produced by principal component vectors may have low overall contrast, even if the features-of-interest would be highly contrasted. In these cases, various contrast enhancement methods can be used to scale the values so that the features-of-interest can be visualized. In our experiments, we scaled the images into float-range 0 . . . 1, and, for the dental example (in Sec. 2.5), applied contrast-limited adaptive histogram equalization on both the inner product and reference images. Finally, the enhanced images were scaled into 0 . . . 255 range and saved as 8-bit grayscale portable network graphics (PNG) files.

Partially Negative Filters -Optical Implementation

23In order to test the proposed method for implementing partially negative optical filters in practice, we constructed an optical imaging setup ( Fig. 4(a)). The setup consists of a spectrally tunable light source [20] (Tunable Spectral Light Engine, Edmund Optics, Inc., USA), which uses 10 different types of LEDs (L LED,i (λ), i = 1 . . . 10) in the visible range of light (400-700 nm; see Fig. 3(a)). By adjusting the relative intensities (weights w i ) of the LEDs, the shape of the emission spectrum (L(λ) = 10 i=1 w i L LED,i (λ)) can be changed. A liquid light guide (LLG; 5mm × 6', Edmund Optics, Inc., USA) was connected to the spectrally tunable light source, and a ground glass diffuser (DG10-120, Thorlabs, Inc., USA) was placed at the output of the LLG. As a camera, a Photometrics Prime BSI (Teledyne Photometrics, Inc., USA) monochrome camera with spatial resolution of 2048×2048 pixels was used. The camera objective was an Electrophysics 25mm f/1.3 C-mount objective lens (Sofradir EC, Inc., USA).

24As can be seen from Eqs. (11) and (12), a priori knowledge of the spectral sensitivity of the monochrome camera S(λ) = T OBJ (λ)S CAM (λ) is required for the implementation of positive and negative parts of the filter. In addition, for the proof-of-concept imaging example, it was important to use partially negative filter spectra that the spectrally tunable light source -combined with the LLG -could produce as precisely as possible. For these reasons, we carefully characterized the devices and optical components of the imaging setup. The following properties were measured: the spectral emission of the LEDs of the spectrally tunable light source, the effective light transmission of the LLG (when connected to the spectrally tunable LED light source), the spectral transmittance of the ground glass diffuser, the spectral transmission of the objective lens of the camera, and the spectral sensitivity of the monochrome camera. As noted in Sec. 2.2, we perform scaling operations to enhance image contrast. Consequently, in the context of this paper, the absolute values of the measured spectral quantities do not matter; the spectral shapes of the quantities, however, are essential.

25The emission spectra of the LEDs were acquired by illuminating a 30 × 30 cm diffuse white reference plate (Edmund Optics, Inc., USA) with a single type of LED at a time at 100% brightness without the LLG, and by measuring the light scattered from the white plate with a Hamamatsu PMA-11 spectrometer (Hamamatsu Photonics, K.K., Japan). The Hamamatsu spectrometer removes the dark noise from the measured spectra automatically. The relative spectral power distributions of the LEDs, L LED,i (λ), of the light source are presented in Fig. 3(a). The peak emission wavelengths and full-width at half-maximum values (FWHM) of the LEDs are listed in Table 1. The effective spectral transmission T LLG (λ) of the LLG was measured by illuminating a 13.5 cm diameter integrating sphere (819D-IS-5.3, Newport Corporation, USA) with the spectrally tunable light source (all LEDs on, 100% brightness) first with and then without the LLG. Light spectrum was measured for both cases by the Hamamatsu spectrometer and the effective transmission of the LLG was calculated as the ratio of the measured spectra. The effective spectral transmission of the light source's liquid light guide is presented in Fig. 3(b).

26The spectral transmission T GGD (λ) of the ground glass diffuser was measured with a PerkinElmer Lambda 1050 spectrophotometer (PerkinElmer, Inc., USA), and is presented in Fig. 3(c). The spectral transmission T OBJ (λ) of the objective lens was measured with the same device. The measurement light beam, however, spreads inside the device after going through the lens, and part of the transmitted light does not enter spectrophotometer's integrating sphere nor reach the detector. Therefore, the measured values are not true spectral transmittance. In the scope of this paper, the measurement is sufficient, since only the spectral shape of the transmittance is needed, and the absolute values can be ignored. The spectral transmission of the camera's objective Fig. 3(d).

27The spectral sensitivity S CAM (λ) was defined by illuminating the integrating sphere with monochromatic light produced by a monochromator, and imaging the inside of the sphere with the monochrome camera every 10 nm wavelength step. The camera did not have an objective lens attached. The exposure time was set as the longest exposure time without saturation at the brightest wavelength band, and the time was constant throughout the measurements. The relative spectral power distribution inside the integrating sphere was determined with the Hamamatsu spectrometer. The spectral sensitivity of the camera is presented in Fig. 3(e).

28Combined with the spectral transmissions of the optical components in the imaging setup of Fig. 4(b), the effective relative sensitivity of the monochrome camera becomes

29This effective sensitivity curve for the Photometrics Prime BSI camera is shown in Fig. 3(f). A partially negative filter is converted into two optical filters X + (λ) and X − (λ) as per Eqs. (11) and (12). These optical filters are then loaded into the spectrally tunable light source's control software (provided by the manufacturer). An inner product image I cam (x, y) is then calculated from two separate image captures, I + cam (x, y) and I − cam (x, y).

Proof of Concept Imaging

30Knowing the spectral properties of the Edmund Optics Tunable Spectral Light Engine, we created partially negative filters artificially. To ensure that the filters are precisely implementable on the light source, we began by designing the positive and negative parts L + (λ) and L − (λ) of the illumination, henceforth L ± (λ), first. This was done by choosing suitable weights w i for the LEDs in the light source. By designing the partially negative filterê(λ) backwards, we can be sure that the positive and negative parts do not overlap and that the parts are implementable exactly as intended with the LED illumination spectra L LED,i (λ), which are shown in Fig. 3(a).

31Using the designed illuminants L ± n (λ) = 10 i=1 w ± i,n L LED,i (λ), n = 1, 2, 3, we imaged a sample, ColorChecker Mini (X-Rite, Inc., USA) color chart, with the Photometrics Prime BSI monochrome camera once for each illuminant pair. The camera was set on 16-bit HDR mode. Each image pair was captured with optimal exposure times t ± n for the positive and negative illumination images. Variable exposure times must be compensated in both the images and the spectra:

32where I ± n,t (x, y) are the raw images and X ± n,t (λ) the illumination spectra since X ± n,t (λ) = L ± n (λ) as per design. The spectra were further scaled to 0 . . . 1 range:

33We then combined the positive and negative parts into a partially negative illumination spectrum

34and the positive and negative images I ± n (x, y) were combined into inner product images I n (x, y) as per Eq. (14). The partially negative filterê(λ) is then gained by removing the effects of the imaging system, Eq. (16), by applying Eq. (8):

35The partially negative filtersê n (λ) can then be applied to a spectral image of the color chart R CCM (x, y, λ) to compute a comparison inner product image I CCM,n = R CCM (x, y, λ),ê n (λ) .

36As noted in Sec. 2.2, pixel values of the comparison and imaged inner product images differ in range and scale. In order to compare the images, a common area (the vertical separating area between the center tiles) was selected in both comparison and imaged inner product images. The mean pixel values of these areas were used to scale the comparison image so that the mean values were equal.

Oral and Dental Spectral Images

37We acquired oral and dental spectral images with a Specim IQ spectral camera (Specim, Spectral Imaging Ltd., Finland). The spectral range of the camera is 400-1000 nm with a spectral resolution of 2.9 nm (204 bands), and the spatial resolution of the captured images is 512×512. The optical setup is similar to that used in dental application example, Fig. 4(b), except that for spectral imaging the camera was Specim IQ instead of Photometrics Prime BSI, and the light source was non-spectrally tunable Thorlabs OSL2 (Thorlabs, Inc., USA) halogen lamp connected to a ring illuminator (FRI61F50, Thorlabs, Inc., USA) instead of a diffused point light.

38The oral and dental spectral images were gathered at the Dental School Clinic of the University of Eastern Finland (Kuopio, Finland). A research ethical permission was issued by the Research Ethics Committee of the Hospital District of Northern Savo (Kuopio, Finland). A fully informed written consent was obtained from each participant prior to the imaging.

39A reference sample with a known reflectance spectrum (R ref (λ)), a ceramic matt diffuse gray tile ("Matt Diff Grey", Ceram Research, Ltd., UK), was also imaged. The captured reference spectral image cannot be used for reflectance calculation in Eq. (1) directly, because the physical shapes of the reference sample (flat tile) and the targets-of-interest (oral cavity, teeth) are different. Because of this, a mean spectrum m ref,mean (λ) was calculated from a small area taken from the middle of the reference sample in the captured reference spectral image. A new reference spectral image was then created by assigning the calculated mean spectrum m ref,mean (λ) to every pixel (x, y) in the reference spectral image. This new reference spectral image s ref (x, y, λ) was then used in Eq. (1). The Specim IQ camera measures the dark-current spectral image (s dark (x, y, λ)) automatically for each spectral image.

40Naturally, the significantly different shapes and illumination conditions of the oral cavity and the reference tile unavoidably cause the calculated reflectance values to be unrealistic: instead of being in the 0%-100% reflectance range, the flat-field corrected values are in an unknown range. However, the flat-field correction does not affect the shape of the reflectance spectra. In the scope of this paper, only the shapes of the reflectance spectra are needed and the absolute reflectance values are irrelevant. The reflectance spectral images were thus scaled so that the minimum and maximum values of the image are 0 and 1. Considering the method proposed in this paper, this scaling has no effect on the results.

41Dental experts at the Institute of Dentistry (University of Eastern Finland, Kuopio, Finland) annotated the oral and dental reflectance spectral images with software specifically designed for the task. Currently the image database consists of 54 professionally annotated oral and dental spectral images. We extracted the spectra by class using the annotation masks. The spectra in the classes were then combined into sensible pairs, such as Attrition/Erosion-Enamel, Calculus-Enamel, or Ulcer-Oral mucosa. Then we performed principal component analysis on the class pairs and found the principal component vectors of the spectra.

42Hyperspectral images exhibiting features-of-interest, such as blood vessels, calculus ( Fig. 5(a)), or dental prosthetics (Fig. 5(b)), were used as base reference for principal component vector selection: these images were projected into the new basis defined by the principal component vectors and each inner product image was subjectively evaluated for its visualization performance. The best performing eigenvectors were collected and implemented as optical filters in an imaging system based on a spectrally tunable light source, presented in Figs. 4(c) and (d).

Dental Applications -Imaging

43We performed principal component analysis on a randomly chosen set of spectra from classes "Initial caries" and "Enamel", and on another set from classes "Calculus" and "Enamel". We present three different eigenvectorsê n (λ), n = 4, 5, 6, found in these sets that enhance the contrast of 1) blood vesselsê 4 (λ), 2) calculusê 5 (λ), and 3) dental prostheticsê 6 (λ). The eigenvectors were converted into optical partially negative filter spectra by applying Eq. (8) and Eq. (16):

44Particle swarm optimization [21] was then used to find the optimal weights w ± i,n for the LED-types in the spectrally tunable light source, so that the root-mean-square-error between the illumination spectrum L n (λ) = 10 i=1 w ± i,n L LED,i and the targeted partially negative filter spectrum X n (λ) was minimized. Further manual fitting was necessary, however, as the control software of the Tunable Spectral Light Engine automatically scales the loaded input spectrum to 0-max -range, so that at least one LED-type is at full power. Consequently, the positive and negative illuminations L ± n (λ) were not proportional to each other. We exported the illumination spectra from the control software, and fixed the disproportionality by hand in postprocessing by finding such factors f ± n so that the illumination spectra L ± n (λ) matched the intended positive and negative parts X ± n (λ). We imaged the front teeth of two volunteers using all three partially negative filters (six illuminations L ± n (λ), n = 4, 5, 6). In addition, grayscale reference images were captured with a white light produced by the spectrally tunable light source (all LEDs on, 100% brightness). As with the proof-of-concept imaging, the positive and negative images I ± n,cam (x, y) were captured with optimal exposure times t ± n . The captured images were thus scaled

45to compensate for the disproportional illumination and variable exposure times. Next, the inner product images I n (x, y) as per Eq. (14) were calculated. While the inner product images have improved contrast between features, the overall contrast can be very low. Contrast-limited adaptive histogram equalization provided in the scikit-image [22] Python module was used to improve overall contrast. To exaggerate the contrast, the value of clip_limit-parameter of the equalize_adapthis -method was increased from its default value of 0.01 to 0.10. The contrast enhancement was also performed on the grayscale comparison images.

Results and Discussion

46We divided the imaging examples of the implementation of partially negative optical filters into two parts: a) a proof-of-concept for which an artificial partially negative filter was implemented, and b) dental applications that use specific principal component analysis-based filters to improve the contrast of oral and dental features.

Proof of Concept

47We chose three illumination pairs L ± n (λ), n = 1, 2, 3, so that the positive and negative parts of L ± 1 (λ) do not have any overlap in their combined spectra, while L ± 2 (λ) contains slight overlap, and L ± 3 (λ) has deliberate strong overlap. The weights w i , i = 1, . . . , 10, used to implement these illuminations fulfill the set criteria, but are otherwise arbitrary. The artificially designed partially negative spectra X n (λ), and the resultingê n (λ) are presented in Figs. 6(a-c). And, the positive and negative parts X ± n (λ) are presented in Figs. 6(d-f), along with the positive and negative partŝ e ± n (λ). In this case, the illumination spectra L ± n (λ) are not shown, as they were designed to match precisely the target spectra X ± n (λ). The reference inner product image I CCM,1 (x, y) for filterê 1 (λ) is presented in Fig. 7(a), and the imaged inner product image I 1 (x, y) in Fig. 7(b). In subjective visual evaluation, we consider this a relatively ideal example of the method, as the inner product images match closely and every color tile is reproduced precisely enough.

48With filter 2 the computational reference (Fig. 7(c)) differs slightly from the imaged inner product image (Fig. 7(d)). This may be caused by slight overlap inê + 2 (λ) andê − 2 (λ) spectra. Filter 3 was intentionally designed so, that the positive and negative partsê + 3 (λ) andê − 3 (λ) would have severe overlaps in their spectra. We believe this leads to the filter's poor performance, evidenced in Figs. 7(e) and (f), which differ noticibly in multiple tiles.

Dental applications

49The principal component vector spectra for 1) blood vesselsê 4 (λ), 2) calculusê 5 (λ), and 3) dental prostheticsê 6 (λ), are presented in Figs. 8(a-c), along with their optically compensated partially negative spectra X n (λ), and the fitted illumination spectra L n (λ), where n = 4, 5, 6. The root mean square error (RMSE) between the intended spectrum X 4 (λ) and the fitted illumination L 4 (λ) is 0.09, for X 5 (λ) and L 5 (λ) 0.10, and X 6 (λ) and L 6 (λ) 0.09. The RMSEs of L 4 (λ) and L 5 (λ) are 19% and 18% of the min-max range of their targets X 4 (λ) and X 5 (λ). These two values Fig. 7. Proof-of-concept inner product images: (a) computational and (b) imaged inner product images for filtersê 1 (λ) and X 1 (λ) in ideal case, (c) computational and (d) imaged inner product images for filtersê 2 (λ) and X 2 (λ) when the spectra have a slight overlap, and (e) computational and (f) imaged inner product images for filtersê 3 (λ) and X 3 (λ) when the spectra overlap significantly. The Specim IQ images on the left column were cropped from a larger image, and scaling is blurring them slightly. Photometrics Prime BSI images on the right look distorted because the color checker is slightly bent. seem high and their graphs in Figs. 8(a,b) show poor fit at the ends of the spectra. The RMSE of L 6 (λ) is only 9% of the min-max range of X 6 (λ), indicating a better fit than L 4 (λ) and L 5 (λ), but it is caused by the spike at 400 nm expanding the min-max-range. In all cases, the fit suffers from the lack of LEDs closer to the 400 nm and 700 nm bands. The positive parts e + n (λ), X + n (λ) and L + n (λ) are presented in Figs. 8(d-f), and the negative parts e − n (λ), X − n (λ), and L − n (λ) in Figs. 8(g-i).

50The contrast-enhanced blood vessel inner product image and the grayscale reference seem exceedingly similar in Figs. 9(a) and (b). The inner product image ( Fig. 9(b)), however, gives a more detailed view of the blood vessels on some areas than the reference. The positive and negative illumination spectra (Figs. 8(d) and (g)) have overlapping regions, which may lower the partially negative illumination's performance. The positive illumination spectrum extends beyond 600 nm, while the target stops there. Conversely, the negative illumination spectrum starts before the targeted 600 nm point. Furthermore, the start and end regions of the implemented spectrum differ drastically from the target spectrum. The blood vessel filter found in "Initial caries"-"Enamel" set might perform better had a class containing only blood vessels existed in our data sets, so that a pair like "Blood vessel"-"Oral mucosa" had been possible. Perhaps even more useful results could have been gained had the hypothetical "Blood vessel" class been split into "Artery" and "Vein" classes, possibly allowing creation of filters that separate the two blood vessel types.

51The calculus illumination spectrum differs at the beginning and the end of the spectrum ( Fig. 8(b)), like in the blood vessel case. Additionally, the center peak of the negative part ( Fig. 8(h)) continues beyond intended region. Still, the contrast-enhanced inner product image ( Fig. 9(d)) shows bright white calculus areas on the sides of the front teeth, on a upper left back tooth and on upper right back gingiva line. The grayscale reference (Fig. 9(c)) shows subtle white shades on some calculus areas while others are barely noticeable.

52Our third example, dental prosthetics filter fails completely. The spectrum of this filter (Fig. 8(c)) is too complex for the spectrally tunable light source, and the positive and negative illuminations (Figs. 8(f) and (i)) fail to reproduce some of the peaks in the target spectrum. In the positive illumination, a 50 nm wide peak at 580 nm spreads over a 200 nm band, also covering a small peak at 680 nm. The negative illumination spectrum, on the other hand, is missing a peak at 410 nm. The inner product image ( Fig. 9(f)) and the reference (Fig. 9(e)) neither shows the dental prosthetics (the latter being, likely, a desired feature in dental prosthetics). When the partially negative filterê 3 (λ) is applied to a spectral image of the same volunteer ( Fig. 9(g)), the dental prosthetic is seen clearly on an contrast-enhanced image version. This filter was 7th principal component vector in the "Calculus"-"Enamel" spectrum set making the computational inner product image fairly noisy.

Discussion

53The results from the imaging tests are promising. As expected, when the spectrally tunable light source can replicate the given spectral shapes of the positive and negative parts of the filter with high fidelity, the inner product image computed from the spectral image and the inner product image gained from the imaging by a monochrome camera are practically identical. When the spectrally tunable light source fails to produce the given spectral shapes, however, the inner product images gained from the computations and from the imaging are different.

54During our experiments, we identified few shortcomings in our approach. As the partially negative vector is implemented as two optical filters, two measurements are required. This proved to be a challenge in the context of oral and dental imaging: involuntary movements between image captures lead to motion artifacts and necessitate the use of image registration. Image registration, however, cannot fully compensate the movements, and misalignments in the image pair impair the visibility of the features-of-interest. Thus, the method is more suitable for cases where the imaged scene is static.

55Our intraoral imaging application places three essential requirements on the light source: it must be able to accurately reproduce the planned spectra, the intensity of the light emitted must be relatively high, and the light must stabilize quickly. In theory, the positive and negative parts of the planned spectrum do not overlap. In practice, and depending on the properties of the spectrally tunable light source, this might not hold and the parts may exhibit significant overlap, which can lead to poor performance in reproducing the effect of the partially negative filter. In our study, we found that the spectrally tunable light source used, Edmund Optics Tunable Spectral Light Engine, is not suitable for reproducing elaborate, high order, principal component vectors. This is due to the spectral sparsity of the LED-types, relatively broad spectral emission bands of the LEDs, and non-uniform spectral power distributions among the LEDs (Fig. 3(a)). The LEDs in the blue and red regions have relatively narrow spectral power distributions and the spectral separation is "short", but the area 500-650 nm consists of only five LED-types, some of which have relatively broad spectral distributions. Despite these design choices, the device can reproduce the very first few principal components with sufficient accuracy. The brightness of the light source is quite enough for intraoral imaging allowing short exposure times. The emitted light also stabilizes quickly, which is an important feature in intraoral imaging due to the aforementioned involuntary movements.

Conclusions

56We propose an imaging method for improved visualization of specific features-of-interest and contrast enhancement, based on partially negative optical filters. The partially negative filters are split into positive and negative parts that can then be implemented optically. We have shown the feasibility and weaknesses of the method with proof-of-concept and practical dental imaging examples. The results are promising and the proposed method can be used in various imaging applications.

Funding

57Business Finland (4465/31/2017), European Regional Development Fund

참고문헌 18건

  1. A review of principal component analysis and its applications to color technology Color Research & Application · Wiley · 2005 10.1002/col.20086
  2. Narrow-band imaging of the gastrointestinal tract Journal of Gastroenterology · Springer Science+Business Media · 2009 10.1007/s00535-008-2291-5
  3. Spectral imaging: Principles and applications Cytometry Part A · Wiley · 2006 10.1002/cyto.a.20311
  4. Recovery of reflection spectra in a multispectral imaging system with light emitting diodes Optics Express · Optica Publishing Group · 2010 10.1364/oe.18.023394
  5. Characteristic spectra of Munsell colors Journal of the Optical Society of America A · Optica Publishing Group · 1989 10.1364/josaa.6.000318
  6. Vector-subspace model for color representation Journal of the Optical Society of America A · Optica Publishing Group · 1990 10.1364/josaa.7.000725
  7. scikit-image: image processing in Python PeerJ · PeerJ, Inc. · 2014 10.7717/peerj.453
  8. Iterative feedback method to make a spatial filter on a liquid crystal spatial light modulator for 2D spectroscopic pattern recognition Optics Communications · Elsevier BV · 1995 10.1016/0030-4018(95)00327-5
  9. Identification of cancerous gastric cells based on common features extracted from hyperspectral microscopic images Biomedical Optics Express · Optica Publishing Group · 2015 10.1364/boe.6.001135
  10. Nonnegative color spectrum analysis filters from principal component analysis characteristic spectra Journal of the Optical Society of America A · Optica Publishing Group · 2002 10.1364/josaa.19.001946
  11. Eigenvectors of optimal color spectra Journal of the Optical Society of America A · Optica Publishing Group · 2013 10.1364/josaa.30.001806
  12. Chromatic discrimination by use of computer controlled set of light-emitting diodes Optics Express · Optica Publishing Group · 2007 10.1364/oe.15.015093
  13. Improving visualization techniques by narrow band imaging and magnification endoscopy Journal of Gastroenterology and Hepatology · Wiley · 2009 10.1111/j.1440-1746.2009.05925.x
  14. Review of spectral imaging technology in biomedical engineering: achievements and challenges Journal of Biomedical Optics · SPIE · 2013 10.1117/1.jbo.18.10.100901
  15. Review of snapshot spectral imaging technologies Optical Engineering · SPIE · 2013 10.1117/1.oe.52.9.090901
  16. Computational intelligence in optical remote sensing image processing Applied Soft Computing · Elsevier BV · 2017 10.1016/j.asoc.2017.11.045
  17. Optimal design of illuminant for improving intraoperative color appearance of organs Artificial Life and Robotics · Springer Science+Business Media · 2018 10.1007/s10015-018-0438-x
  18. Hyperspectral index-based metric for burn depth assessment Biomedical Optics Express · Optica Publishing Group · 2018 10.1364/boe.9.005778