Skip to main content
PLOS ONE logoLink to PLOS ONE
. 2020 Mar 13;15(3):e0229502. doi: 10.1371/journal.pone.0229502

A background correction method to compensate illumination variation in hyperspectral imaging

Jonghee Yoon 1,2,*, Alexandru Grigoroiu 1,2, Sarah E Bohndiek 1,2,*
Editor: Ireneusz Grulkowski3
PMCID: PMC7069652  PMID: 32168335

Abstract

Hyperspectral imaging (HSI) can measure both spatial (morphological) and spectral (biochemical) information from biological tissues. While HSI appears promising for biomedical applications, interpretation of hyperspectral images can be challenging when data is acquired in complex biological environments. Variations in surface topology or optical power distribution at the sample, encountered for example during endoscopy, can lead to errors in post-processing of the HSI data, compromising disease diagnostic capabilities. Here, we propose a background correction method to compensate for such variations, which estimates the optical properties of illumination at the target based on the normalised spectral profile of the light source and the measured HSI intensity values at a fixed wavelength where the absorption characteristics of the sample are relatively low (in this case, 800 nm). We demonstrate the feasibility of the proposed method by imaging blood samples, tissue-mimicking phantoms, and ex vivo chicken tissue. Moreover, using synthetic HSI data composed from experimentally measured spectra, we show the proposed method would improve statistical analysis of HSI data. The proposed method could help the implementation of HSI techniques in practical clinical applications, where controlling the illumination pattern and power is difficult.

Introduction

Hyperspectral imaging, originating from remote sensing applications[1], enables a combined simultaneous measurement of both spatial and spectral information from biological tissues. Analysis of the resulting 3D data set, or ‘hypercube’, enables spatial discrimination of healthy and abnormal tissues based on the rich morphological and biochemical information contained within the spatial and spectral features[2,3]. HSI has shown potential in a range of biomedical applications, from label-free tumour diagnoses[46] and detection of tumour margins during surgical operations[79], to quantification of blood oxygenation levels[1012], and multi-colour fluorescent imaging[12,13]. HSI methods have thus been developed for the fast and accurate analysis of biological samples ex vivo[1417] as well as for diagnostic and intraoperative applications in vivo[16,18].

The high complexity of handling the 3D hypercube requires careful consideration of appropriate analysis methods[3,1921]. HSI data are commonly subjected to a normalisation procedure to calculate reflectance and/or absorbance of the sample using the following Eq[3]:

R(x,y,λ)=I(x,y,λ)IdarkI0(x,y,λ)Idark (1)
A(x,y,λ)=log10(I(x,y,λ)IdarkI0(x,y,λ)Idark) (2)

,where R(x,y,λ) and A(x,y,λ) are the reflectance and absorbance at a given spatial position (x, y) and wavelength (λ), respectively. I, I0, and Idark are the intensities of the spectral signals measured from the sample, the background spectral signals recorded without the sample in place (also referred to as the “white” signals) and the dark signals recorded without any illumination, respectively. Reflectance and absorbance metrics thus indicate the true spectral features of a sample as these calculations correct for variations in illumination conditions and errors introduced by the optical components. These processed reflectance or absorbance signals can then be further subjected to statistical analyses such as principal component analysis (PCA)[22,23], spectral angle mapping (SAM)[24], or machine learning methods[5,2527], to extract significant spectral features that can discriminate or classify the samples of interest.

A key limitation of these reflectance and absorbance calculations is the assumption of uniform sample illumination. Several methods are used in hardware to ensure that this assumption remains valid, including: uniform illumination instrumentation[28,29]; 3D shape measurement[30]; reference intrinsic / fluorescence imaging[3134]; and ratiometric measurements[3537]. Uniform illumination instrumentation can be achieved with specialised devices such as ring illuminators or diffuse domes, however, there are difficulties in applying these for in vivo imaging, such as during endoscopy, due to the need for bulky illuminating units. In addition, uniform illumination instrumentation does not guarantee intensity homogeneity along the axial direction, which means illumination issues can still occur ex vivo when measuring most biological tissues due to their uneven surfaces. Estimating optical illumination power is possible using 3D shape measurement techniques and optical model-based analysis but predicting illumination conditions within shadowed regions is challenging. Intrinsic image or reference fluorescence signals measured by multimodal imaging systems have been used to provide a reference background (BG) that enables estimation of the optical power distribution of the light source and correction of sample signals but again, a complex optical system is required to measure reference BGs and additional errors are introduced by variations in tissue absorption or the concentration of fluorescence agents. Ratiometric measurements, such as narrow-band imaging, record spectral information from only a few spectral bands, displaying physiological information based on a (weighted) sum of the images. Although ratiometric imaging is usually insensitive to illumination conditions and sample morphology, only limited spectral information is recorded.

Here, we introduce a BG correction method that estimates the optical power of illumination at a sample by exploiting the normalised spectral profile of the light source and the hyperspectral signal of the sample. We experimentally demonstrate the proof-of-concept of the method using HSI data acquired via a hyperspectral endoscopy system from blood samples, tissue-mimicking phantoms, and ex vivo chicken tissue. Moreover, the importance and applicability of the proposed method to hyperspectral image analysis (PCA and SAM) and machine learning classification of hyperspectral data were tested using synthetic reflection and absorption hypercubes based on these experimentally measured spectra. The proposed BG correction method, referred to as retrieved background (RB), enables the estimation of optical characteristics of illumination at the sample, avoiding the need for additional complex hardware, and results in accurate hyperspectral data analysis and classification.

Materials and methods

Hyperspectral imaging system

The hyperspectral imaging endoscopy system, reported previously[18], exploits a flexible CE-marked endoscope (Polyscope, PolyDiagnostics) and a line-scanning (pushbroom) method. Briefly, the endoscope consists of a reusable imaging fibre bundle with 10,000 individual fibrelets and a disposable sterile catheter that contains an imaging channel, an illumination fibre and an accessory channel. The proximal end of the imaging fibre bundle was imaged and magnified using an infinity corrected objective lens (40×, 0.6NA, Nikon) and a tube lens (L1, f = 75 mm), with the image being measured by an electron multiplying CCD camera (sCam, ProEM 512, Princeton Instruments) combined with a spectrograph (IsoPlane 160, Princeton Instrument) to obtain hyperspectral information. The spectrograph consisted of a mechanical entrance slit of manually adjustable width (10 μm– 3 mm) and a grating (150 lines/mm with 500 nm blaze, Princeton Instruments); thus a spectral image with a spectral bandwidth of 250 nm can be measured in a single image acquisition. The spectrograph and camera were controlled by LightField software v6.7 (Princeton Instrument). In order to obtain a wide-area hyperspectral image, the line-scanning was performed using a motorized translational stage (MTS50/M-Z8, Thorlabs). All equipment was synchronously controlled in Labview 2017 (National Instruments) environment.

A broadband light source (OSL2, Thorlabs) with a Halogen light bulb (OSL2bIR, Thorlabs) whose emission spectrum spanned across the visible to NIR (1050 nm) region was used to illuminate a sample either internally or externally, depending on experimental purposes. For internal illumination, the light source was directly coupled to the illumination fibre of the endoscope by using a collimating lens (L2, f = 150 mm) and an objective lens (60×, NA 0.9, Olympus). For external illumination, the light source was coupled to a large core fibre and the distal end of the fibre was placed 2 cm away from the sample at a tilted angle.

Image acquisition

Spectral image acquisition was performed after allowing 15 minutes for temperature stabilisation of the equipment. The image acquisition process consisted of three steps: (1) dark imaging; (2) white reflectance imaging; and (3) sample measurement. Dark imaging was performed under closed camera shutter conditions. White reflectance imaging was performed using a standard white reflectance target (Spectralon diffuse reflectance target, Labsphere) to obtain information of the spectral profile and intensity of the light source. All image acquisition processes were performed under the same experimental conditions, including exposure time, gain and light source power.

Hypercube reconstruction

The recorded 2D line-scan image contains one spatial coordinate and the spectral coordinate, because the grating inside the spectrograph disperses the image horizontally; hypercube reconstruction is required to retrieve the other spatial coordinate, obtained during the motorized translation. Before commencing hypercube reconstruction, the dark image was subtracted from the white reflectance and sample images. A single column of the corrected image, which contains information from a single wavelength, was selected and duplicated horizontally to match its image size to the physical slit width. For example, in hyperspectral imaging of the chicken tissue, line-scan hyperspectral images of the sample and white-reflectance target were measured with a step scanning size of 250 μm, which corresponds to 5 pixels. Thus, each processed image was placed 5 pixels apart from the previous image. By repeating this process for all column images, a slice of the hypercube at a single wavelength was created. The 3D hypercube was then reconstructed by repeating the process to create a wide-area spatial image at all wavelengths. Hypercubes of the sample and white-reflectance target were reconstructed separately, enabling the calculation of normalised reflectance and absorbance values by dividing the sample and white-reflectance hypercubes.

Generation of a synthetic RGB image from the hypercube

For visualization purposes, the hypercube can be converted to a synthetic RGB (colour) image using an artificially generated RGB filter based on a previously published method[18]. The spectrum of the RGB filter employed Rayleigh probability density functions (raylpdf function in Matlab R2018b), with centre wavelengths of each colour being set to 442, 518, and 579 nm, respectively. Amplitudes of each filter were determined such that saturation of the synthetic RGB image was avoided. The hyperspectral signal from the hypercube was multiplied by the artificially generated RGB filters, with the R, G and B values of the synthetic RGB image being determined by calculating the area-under-curve values of the filtered signals. Synthesized RGB images were displayed using imshow function in Matlab R2018b.

Preparation of chicken tissue

A food-grade chicken drumstick purchased from a local grocery market was horizontally dissected using a knife. Local handling of the tissue was approved by our Biological Safety Committee. The test sample was then placed on a petri dish and measured by using the hyperspectral endoscope. To obtain background signals, a white-diffuse-reflectance target was measured under the same experimental conditions as the sample measurement. The hyperspectral imaging was performed at a working distance of 7 cm with a step size of 250 μm on the motorized stage. A total of 150 spectral images were measured, resulting in a total scanning area of 31.56 mm × 37.50 mm, with an exposure time of 1s. The experiments were conducted within a 3 hour timeframe to ensure sample freshness.

Preparation of tissue-mimicking phantom and blood samples

For blood oxygenation measurements, fresh heparinized mouse blood was collected from deceased mice provided by the Biological Resources Unit of the Cancer Research UK Cambridge Institute (mice were not sacrificed for the purpose of this study). 1 mL of mouse blood was divided between two 1 mL Eppendorf tubes. To make a fully oxygenated blood sample, 1 μL of 30% hydrogen peroxide (Sigma-Aldrich) was added and the sample was gently mixed by inversion. 1.5 mg of sodium hydrosulphite (Sigma-Aldrich) was added to the other tube to make a completely deoxygenated blood sample, again mixing by inversion. The tubes were kept at room temperature for 10 mins and 20 μL of the oxygenated and deoxygenated blood samples were transferred to a petri dish and covered by a cover slip. As a reference target, 20 μL of distilled water was put on the petri dish and covered by the cover slip.

To test the effects of scattering, absorption and fluorescence on the suggested method, tissue mimicking phantoms with defined optical properties that closely mimic biological tissue were fabricated using agar, intralipid, nigrosin and methylene blue[38]. All chemicals were purchased from Sigma-Aldrich. Before fabricating the tissue phantoms, two different concentrations of absorbance and fluorescence dyes were prepared. Nigrosin (0.1 and 0.05 g/mL) and methylene blue (0.1 and 0.05%) were prepared by diluting dyes using distilled water. 0.75 g of agarose was dissolved in 48.5 mL of distilled water and then heated to the boiling point using a microwave oven. The solution was left to cool to ~40°C, with 1 mL of 20% intralipid being added to the solution and gently mixed to induce optical scattering. 500 μL of the solution was transferred to 6 wells of an 8 well dish (μ-Slide 8 Well, ibidi GmbH) using a pipette and then 100 μL of the four prepared dyes were added to 4 of the cells. The dish was covered by plastic wrap and kept inside a refrigerator to set.

Creation of synthetic absorption and reflection hypercubes

In order to test machine-learning methods, synthetic hypercubes that mimic experimental conditions were used, composed of spectral signals from experimentally measured BG and samples (pork muscle tissue, oxygenated blood, methylene blue and nigrosin dyes). All samples were measured four times under different experimental conditions to include noise generated by the optical systems and environment to synthetic hypercubes. To generate uncorrelated training and test hypercubes, three of the four measured data sets were used for training data and the other data set was used for test data.

Synthetic reflection and absorption hypercubes were created by following four steps: (1) generation of a random illumination pattern; (2) creation of a GT reflectance hypercube based on four experimentally measured signals with an uncorrelated noise; (3) creation of SB and RB reflectance hypercubes by combining the GT hypercube with the random illumination pattern; and (4) applying a log-transformation of the produced reflectance hypercubes to generate absorbance hypercubes

  • Step (1): 2D random Gaussian distributions, M, were used as ground-truth optical power distributions, with values were ranging between 0 and 1. Gaussian distribution was created using ‘mvnpdf’ function in Matlab, and its central location was randomly assigned using ‘rand’ function in Matlab. Optical characteristics of the illumination conditions were decided by the following equation:

BG(x,y,λ)=M(x,y)×Slight(λ)

where BG(x,y,λ) is light intensity at the wavelength of λ at the point x,y in the image, M(x,y) is the optical power at the point x,y, and Slight(λ) is the experimentally measured spectral intensity of the light source at the wavelength of λ, respectively.

  • Step (2): The GT reflectance hypercube was created by assigning experimentally measured hyperspectral signals of samples (pork muscle tissue, oxygenated blood, methylene blue, and nigrosin dye) with an uncorrelated noise obtained from independent experimental measurements of spectral signals from a colour chart (ColorChecker Classic Mini, x-rite) to each of the corresponding clusters in the spatial regions of the image (either target or background regions).

GT(x,y,λ)=Ssample(λ)+α×N(λ)

where Ssample(λ) is the experimentally measured spectral intensity among the samples at the wavelength of λ, α is randomly generated weighting factor between 0 to 0.1 (‘rand’ function in Matlab), and N(λ) is an experimentally measured spectral intensity of the colour chart at the wavelength of λ, respectively. The noise, α×N(λ) has a scale less than 10% of sample signals, Ssample(λ), and the range of the weighting factor, α, was determined to make the noise scale consistent with the scale of average experimental noise. The uncorrelated noise makes the training process more robust and reduces generalization error.

  • Step (3): SB and RB reflectance hypercubes were created based on the GT hypercube from Step (2) and single and retrieved illumination conditions by following equations, respectively:

SB(x,y,λ)=BG(x,y,λ)×GT(x,y,λ)Slight(λ)
RB(x,y,λ)=BG(x,y,λ)×GT(x,y,λ)RM(x,y,λ)

where RM(x,y,λ) is retrieved optical power at the wavelength of λ at the point x,y obtained via the BG retrieval method.

  • Step (4): Absorbance hypercubes were calculated by performing logarithmic transformation of the GT, SB and RB reflectance hypercubes.

Principal component analysis

A pixel-wise approach and singular value decomposition (SVD) were exploited to perform PCA of the hypercube[39]. Three pre-processing steps were required before calculating the SVD of the hypercube. First, the 3D hypercube was vectorised into a 2D matrix, consisting of pixels (vertical axis) and hyperspectral signals (horizontal axis). Then, hyperspectral data was centred by subtracting mean values of the hyperspectral signal of each pixel from its corresponding signal. Finally, the covariance matrix of the pre-processed hyperspectral data was calculated, which was used as an input of SVD. SVD was performed using svd function in Matlab R2018b. An NVIDA GeForce GTX 1080 graphical processing unit was exploited for fast SVD calculation.

Specular angle mapping

For SAM analysis, the average hyperspectral signal of cluster i of each hypercube was used as a reference hyperspectral signal. Then, the spectral angles, α, between the hyperspectral signal of each pixel of a hypercube and the reference spectral signal were calculated using the following equation[24]:

α=cos1(λ=1ntλrλ(λ=1ntλ2)0.5(λ=1nrλ2)0.5) (3)

, where tλ and rλ are values of the target and reference spectral profiles at wavelength λ, respectively and n indicates the total number of spectral channels.

Machine-learning based classification of emulated hypercube

Learning algorithms were implemented in Python, with K-means clustering and SVM algorithms being implemented via the sklearn library and CNNs being implemented via Lasagne, a Theano supplementary library. Learning was performed on a machine with access to 16 GB RAM and a NVDIA GeForce GTX 1050Ti graphical processing unit. To validate the lack of overfitting of the classifiers, the synthetic data was split into training and testing datasets, with base spectral measurements for the simulations being independent of one-another. All results presented are based on the performance of the classifiers on the test data.

A pixel-wise approach was used for learning and classification processes. A 3D hypercube, consisting of 256 × 512 spatial points and 300 spectral channels, was converted to a 2D image with sizes of 131072 × 300. Each row of the converted image with 300 spectral channels was then used as an input to the learning and classification processes. We found that twenty-five training datasets were sufficient to achieve 100% classification accuracy in the ground-truth data. For a better supervised learning process, fifty hypercubes were exploited to train supervised learning models (SVMs and CNNs). Due to the large data sizes and memory limitations, learning was performed incrementally in batches of one hypercube (131072 × 300). Thus, for the K-mean algorithm, the MiniBatchKMeans function was employed, with a 21 epochs early stopping decision and a target of 4 clusters. An incremental SVM algorithm has been implemented by employing the SGDClassifier function with a hinge loss function and l2 regularisers. For the CNN a six layered network was implemented with three convolutional layers, two fully connected layers and an output layer. Unlike in the previous two methods (K-means and SVM algorithms), a subset of a hypercube (200 × 300) was used as a batch size of CNN to facilitate a more effective learning process. 5-fold cross-validation was performed to test the accuracy of CNNs.

Software

Matlab R2017b and Python were used for image processing. Lightfield v6.7 (Princeton Instrument) was used to control the spectrograph and EMCCD. Labview 2017 (National Instruments) was used for synchronized control of the wide-field camera, spectrograph and EMCCD, and motorized stage.

Code availability

All custom data analysis code will be made available online at: https://doi.org/10.17863/CAM.42338

Results

Background correction using the normalised source profile and target hyperspectral signals

The influence of varying illumination power on the calculation of reflectance and absorbance spectra along with the proposed correction method is demonstrated in Fig 1. Experimentally measured hyperspectral signals were acquired from absorbing nigrosin black dye as the sample (Fig 1A) and a standard diffuse reflectance target as the background (Fig 1B, ω = 1). To emulate varying illumination intensities, two weighting factors were multiplied with the ground-truth BG signal (Fig 1B, ω = 0.8, 1.2) and the resulting reflectance (Fig 1C) and absorbance (Fig 1D) spectra were calculated according to the following equations (see Methods for complete definition of all variables):

R(λ)=I(λ)Idarkω×(I0(λ)Idark) (4)
A(λ)=log10(I(λ)Idarkω×(I0(λ)Idark))=log10(I(λ)Idark(I0(λ)Idark))+log10w (5)

Varying the intensity in this way resulted in the expected change in the scale of the calculated reflectance, since ω is a multiplicative factor in Eq (4), and a change in the offset of the calculated absorbance, because ω becomes an additive constant in Eq (5) due to logarithm calculations. This simple illustration highlights how image processing with incorrect BG data would cause errors in the interpretation of hyperspectral data. We propose instead to multiply the normalised spectrum of the light source (Fig 1E) with the intensity ratio between the normalised spectral profiles of the light source (Cb) and the sample (Cs) at a wavelength of low absorbance in the sample to estimate the actual spectrum of the light source at the target (Fig 1F). Here, we select 800 nm as the wavelength for comparison, since this is central in the near-infrared (NIR) tissue ‘optical window’ of low absorbance in biological tissues[40,41]. Moreover, there is an isosbestic absorption of haemoglobin at 800 nm meaning that any change in absorption due to haemoglobin oxygenation status would not affect the calculation and the loss of information at the normalisation is minimal since there are several other isosbestic points for haemoglobin within the visible spectral region.

Fig 1. The effect of illumination power on absorbance and reflectance spectra.

Fig 1

Raw spectra of 0.05 g/mL nigrosin dye (a) and the background halogen light source (b, ω = 1) were measured. To simulate the effects of the low and high illumination power, weighting factors (ω = 0.8 and 1.2) were multiplied with the background spectrum. (c, d) Reflectance and absorbance were obtained for the three different weighting factors. Illumination power can be observed to change the scaling of reflectance spectra and the offset of absorbance spectra. (e, f) The proposed background retrieval method estimates the optical spectral power of the illumination at the sample by exploiting a normalised spectral profile of the light source (e) and the intensity ratio between the normalised spectral profile of the light source and sample data (Cs/Cb) at a wavelength displaying low absorbance in the sample of interest, here selected as 800 nm (f).

The proposed method calculates reflectance and/or absorbance of the sample using the following equations:

R(x,y,λ)=I(x,y,λ)IdarkCs(x,y)Cb(x,y)×NS(λ) (6)
A(x,y,λ)=log10(I(x,y,λ)IdarkCs(x,y)Cb(x,y)×NS(λ)) (7)

, where NS(λ) is the normalised spectrum of the light source, Cs(x,y) and Cb(x,y) are intensity values of I(800) at the point x,y, and NS(800), respectively.

Proof-of-concept using a standard reflectance target and phantoms

In order to test the proposed method, hyperspectral imaging data were acquired via a hyperspectral endoscope (HySE) that consists of a line-scanning spectrograph and multi-core optical fibre endoscope (S1 Fig, see Methods)[18]. The endoscopy system can image the sample using light from an external fibre-coupled light source (referred to as ‘external illumination’) or using light delivered through an internal illumination fibre (referred to as ‘internal illumination’). We introduce external illumination here to provide light with an easily adjustable distance and angle relative to the sample. During clinical endoscopy, internal illumination is used, and the changing working distance and angle of endoscope lead to additional heterogeneities in sample illumination.

Data were first acquired from a standard white reflectance target that reflects 99% of illuminating light using external illumination (Fig 2A), where a fibre coupled to a broadband light source was tilted to create a variation in the optical power distribution across the sample. Line-scanning HSI was performed at three different positions (indicated in Fig 2A with coloured rectangles) and the resulting line-scan HySE image containing 1D spatial (vertical axis) and spectral (horizontal axis) information (Fig 2B) was then processed at each position to retrieve the average spectral profiles (Fig 2C). Min-max normalisation led to complete overlap of the spectra (Fig 2D), indicating that the light source illuminates each position with the same spectral profile but with different optical powers. Applying the proposed BG correction method, ratios of the intensity values of three hyperspectral signals (Fig 2C; 2C1, 2C2 and 2C3), and the normalised signal (Fig 2D and 2Cb) at 800 nm were taken (c1/cb, c2/cb, and c3/cb) and multiplied by the normalised spectrum (Fig 2D) to successfully retrieve the original signal (Fig 2E). Repeating the same process via internal illumination (Fig 2F) also showed appropriate background retrieval (Fig 2G–2J).

Fig 2. Spectral profiles of different illumination conditions can be accurately retrieved through hyperspectral endoscopy by different illumination methods.

Fig 2

(a) Schematic of the external illumination methods. Red, green, and blue lines indicate the hyperspectral imaging regions. (b) Representative spectral image from the hyperspectral endoscope during external illumination. (c) Average spectral signals of the three hyperspectral images measured at the different locations shown in (a) obtained from the white-dashed region in (b). (d) Min-max normalisation of spectral signals in (c) show complete overlap. (e) Spectra obtained (black dashed lines) using the normalised spectral profile in (d) and ratio of values at 800 nm (c1, c2, c3, and cb). (f-j) As above but for the internal illumination method.

To compare our results to other BG correction methods when imaging a range of samples, we then defined three different BG conditions: ground-truth BG (GT); single BG (SB); and our retrieved BG method (RB). GT was obtained by measuring HSI data from the standard white reflectance target under precisely the same conditions as the sample imaging (S2A Fig). For example, GT data was acquired at every working distance used. This is rarely feasible in practical clinical applications, such as during endoscopy, as a reference target cannot be introduced into the lumen being imaged nor are working distance variations normally accounted for. SB is the conventional background correction method commonly used in HSI and obtained by measuring HSI data from the standard white reflectance target prior to sample measurements under arbitrary illumination conditions and assuming this spectral profile to be representative of the illumination conditions during the sample imaging[3]. SB does not allow compensation of any variations that are introduced during the imaging condition, such as variations illumination power and working distance. In the present study, an arbitrary choice of a single GT HSI data sets was taken as SB. RB is calculated as described above (S2B and S2C Fig).

We then analysed blood samples, since blood has distinct absorption profiles depending on the level of oxygenation and provides relatively low absorbance at 800 nm[42]. Fully oxygenated and deoxygenated blood (see Methods) and distilled water (20 μL) were pipetted onto a plate, covered by a coverslip (Fig 3A) and imaged immediately. HySE was applied using internal illumination at 3 working distances (Fig 3B) and the spectral profile of distilled water was used as GT. The measured absorption spectra of the deoxygenated (Fig 3C) and oxygenated blood (Fig 3D) clearly show one (550 nm) and two (540 and 560 nm) peaks respectively, consistent with known blood absorption spectra[42]. The slightly different absorption values of three measurements might be originating from the varying imaging areas, which are dependent on the working distance of the endoscope. The absorbance spectra calculated using the retrieved BG are consistent with the GT results, albeit slightly lower in magnitude (8.73 ± 1.56% lower at 550 nm peak and 6.84 ± 1.22% lower at 560 nm peak of the absorption spectra of the deoxygenated and oxygenated blood, respectively), however, the conventional single BG method produces substantial differences.

Fig 3. Retrieved background (RB) signals enable accurate measurements of absorbance of deoxygenated and oxygenated blood compared to ground truth (GT).

Fig 3

(a) Photograph of the experiment setup. Water (control) and blood (deoxygenation and oxygenation) were covered by a cover glass to prevent the sample from drying during the measurement. Hyperspectral imaging was performed using the internal illumination method at three working distances. (b) Experimentally measured reflectance signals of a control target (water) were used GT, with different optical illumination power according to working distance. Absorbance of deoxygenated (c) and oxygenated (d) blood measured at three working distances were then calculated using GT, SB and RB methods, showing good agreement between GT and RB, but substantial deviation for SB method.

As the proposed method only uses a single normalisation wavelength, the accuracy of the method may be affected by noise. The influence of noise levels to the retrieved signals was assessed via simulation (S3 Fig). Four different noise levels (1%, 5%, 10%, and 20%) were added to the spectral profile of oxygenated blood (S3A Fig) and absorbance was calculated based on simulated spectral signals with different noise levels and the proposed method (S3B Fig). S3C Fig shows that the error levels are 3.62 ± 0.31%, 4.35 ± 1.64, 4.98 ± 2.26%, and 7.81 ± 2.90% with increasing a noise level from 1% to 20%, respectively. This indicates that high noise levels could compromise the accuracy of the proposed method and care should be taken when applying the approach to noisy spectra.

To demonstrate that the BG correction method remains accurate under scattering, absorption and fluorescence conditions, a tissue-mimicking phantom was exploited. The phantom was made of agarose and intralipid with high and low concentrations of nigrosin and methylene blue dyes added to test the effects of absorption and fluorescence, respectively (Fig 4A, see Methods). HySE was applied using internal illumination at 2 working distances; the spectral profile of agarose containing intralipid alone was used as GT (Fig 4B). Absorbance spectra of nigrosin and methylene blue calculated using the GT, SB and RB methods (Fig 4C and 4D) again show that GT and RB provide consistent spectral shapes, whereas SB has a substantial deviation in the profiles. The absorbance of nigrosin obtained using the retrieved BG is slightly lower in magnitude compared to GT, however, methylene blue is indistinguishable (0.83 ± 0.67% at peak 550 nm). This suggests that the underestimation observed in the blood and phantom experiments occurs because both haemoglobin and nigrosin have a small but finite absorption of light at 800 nm causing a slight inaccuracy in the BG estimation, whereas methylene blue has truly negligible absorption around 800 nm. Our RB method therefore leads to a slight underestimation of the actual absorbance values if light absorption around the chosen background wavelength is not negligible, though it does not change the absorbance spectrum itself.

Fig 4.

Fig 4

Background correction using the retrieved background method performs favourably in measurement of the absorbance spectra of nigrosin and methylene blue (a) Photograph of tissue-mimicking phantoms with intralipid (control), nigrosin (absorbing dye), and methylene blue (fluorescent dye). (b) Experimentally measured reflectance signals of the control phantom (intralipid only) at two different working distances gave the ground-truth background. (c) Absorbance of low and high concentrations of nigrosin dye calculated using the ground truth background (GT), single background (SB) and our retrieved background (RB) method respectively. (d) Absorbance of low and high concentrations of methylene blue calculated using GT, SB and RB methods respectively.

Application of the background correction method to biological tissue and endoscopic imaging conditions

To examine the practical application of the method, dissected chicken bone tissue, consisting of compact bone and bone marrow, was first measured (see Methods). A total of 150 spectral images of dissected chicken bone tissue were measured using the external illumination method to cast shadows across the topology of the sample, which can be seen in the synthetic RGB images (Fig 5A), created by the convolution of emulated RGB filters and measured hyperspectral signals (see Methods). Before examining the proposed method, the raw spectral signals in two square areas (4 by 4 pixels) within each of bone marrow, compact bone, and shadowed regions were assessed (S4A and S4B Fig). The reflected signal at the normalisation wavelength under the same illumination conditions should be similar in order to use the proposed method. The two nearby small squares in each tissue type were selected because illumination conditions in these small areas could be considered as homogenous. S4C Fig shows that raw reflected intensities at 800 nm of each tissue type are similar. There is no significant difference in the data recorded from the same tissue type.

Fig 5.

Fig 5

HSI data from a chicken tissue sample obtained using the RB method agrees well with the GT (a) Synthetic RGB images of the sample were created from hypercubes obtained by exploiting ground truth, single, and retrieved backgrounds. (b) Representative slice images from each hypercube (GT, SB and RB) were illustrated at three wavelengths (456.1, 531.4 and 612.9 nm). Solid and dashed arrows indicate anatomically similar structures in the sample. (c) Average absorbance of the hypercube reconstructed by using the GT, SB and RB methods within solid and dashed squares shown in (a) were obtained. Gray shaded area indicates the standard deviation. Scale bars: 1 cm.

The synthetic RGB images of GT and RB methods clearly show the structure of the tissue with uniform brightness, but the SB image shows bright and dark regions arising due to the uneven illumination (Fig 5A). Moreover, the shadowed region resulting from the sample morphology was restored to its original white colour only in the RB method. Representative absorbance images at three different wavelengths (456.1, 531.4 and 612.9 nm; Fig 5B) allow structures of the dissected chicken bone tissue to be visualised, showing qualitative similarity between GT and RB at all wavelengths, while the single BG reconstructions show different absorbance even in the same anatomical structures (solid and dashed white lines in Fig 5B).

In order to investigate spectral fidelity of the BG retrieval method, the average and standard deviation of the absorbance spectra in 6 different regions (red: bone marrow, orange: compact bone, and blue: white reflectance; indicated in Fig 5A) were quantified (Fig 5C). Spectral profiles of bone marrow and compact bone, in GT and RB show similar values and trends. In addition, our RB method brings the absorbance values on the left and right side of the white reflectance target closer compared to the result obtained by GT. The SB result, however, shows very different values and trends compared to the results obtained by the ground-truth and retrieved BG.

HySE was then applied in a tubular tissue-mimicking phantom with homogeneous methylene blue concentration (S5A Fig) placed on a tilted surface (S5B Fig). HySE was advanced horizontally into the tube with a motorised stage, which leads to a gradual decrease in the working distance of the endoscope. While the SB spectra show an offset as a function of working distance (S5C Fig), the RB spectra show the consistent measurement of absorbance regardless of the working distance (S5D Fig).

Investigating the influence of background correction on hyperspectral data classification

To understand the extent to which incorrect background compensation influences HSI data classification, experimentally measured data obtained in the previous sections were composed into a set of 53 synthetic hypercubes in four steps: (1) generation of a random illumination pattern; (2) creation of a GT reflectance hypercube based on four experimentally measured signals (muscle tissue, oxygenated blood, methylene blue and nigrosine dyes) with an uncorrelated noise; (3) creation of SB and RB reflectance hypercubes by combining the GT hypercube with the random illumination pattern; and (4) applying a log-transformation of the produced reflectance hypercubes to generate absorbance hypercubes (Fig 6; see Methods).

Fig 6. Synthetic absorbance and reflectance hypercubes created based on experimentally measured hyperspectral signals and randomly generated illumination conditions.

Fig 6

(a) Representative image of Gaussian illumination power. (b) Representative projection images of synthetic GT, SB, and RB hypercubes. (i)-(iv) indicate the areas with spectral profiles of corresponding signals shown in (c, d). Three circles in the same horizontal position had the same spectral profile and were defined as a cluster. (c, d) Four experimentally measured absorbance and reflectance spectra (muscle tissue, oxygenated blood, methylene blue, and nigrosin samples) were exploited to create synthetic absorbance and reflectance hypercubes. Scale bar: 100 pixels.

The synthetic hypercubes were then subjected to PCA, SAM and machine learning classification. PCA is commonly used in HSI analysis for dimensionality reduction by finding a small number of orthonormal PCs that explain most of the variance of hyperspectral data, thus enabling simpler interpretation and classification. PCA was performed pixel-wise with singular value decomposition (SVD): hyperspectral data were centred by subtracting the mean values of each pixel from its corresponding signal, while the scaling (variance) was preserved due to the synthetic hypercubes being created under the same scale and unit conditions; the covariance matrix of the centred data was used as the SVD input. As the first and second PCs capture over 99% of the original variance, they were used to compare the influence of background correction methods. Scatter plots of PC2 against PC1 for GT, SB and RB in absorbance show no differences and 2D image of the scores on PC1 are also identical (S6A Fig). For reflectance, however, the scatter plots for SB show a dramatic elongation compared to the GT and RB methods and the 2D image of the SB PC1 scores clearly shows the power distribution of illumination (S6B Fig), indicating an incomplete correction of the BG. Such behaviour arises because the incorrect BG causes scaling and shifting of the ground-truth reflectance and absorbance signals, respectively. Scaling changes the variance of the hyperspectral data, which produces an incorrect PCA result for the reflectance hypercube, whereas shifting of absorption data does not change PCA results as the variance is preserved.

SAM is widely used to evaluate the similarity between measured hyperspectral signals by calculating angles between them. Substantial differences in SAM analysis of the absorbance hypercube using the SB method were found compared to GT and RB and the SAM image again shows the power distribution of the illumination indicating an incomplete correction of the BG (S6C Fig). The reflectance data are identical regardless of the BG correction used (S6D Fig). This is because the scaling factor of the reflectance signal is eliminated through the calculation of the spectral angle in Eq (3) so it does not affect the SAM results, but shifting the absorption signal changes the calculated spectral angle values.

Finally, the effect of BG correction on machine learning-based data classification was evaluated through: classification based on the distance between the data and the centroid of each cluster by k-means clustering (K-Means, k = 4); maximising the distance between a decision boundary and members of different classes by support vector machines (SVMs); and training convolutional neural networks (CNNs). To enhance the learning process, min-max normalisation was employed with all three algorithms, to constrain the data between -1 and 1. For SVMs and CNNs, the supervised learning approach was employed with ground-truth data of 50 training hypercubes produced for each of the three BG correction methods, whereas K-Means was performed in an unsupervised learning manner without using data reduction methods such as PCA or SAM.

The test dataset was composed of three GT, SB, and RB hypercubes and the accuracy of all established classifiers was tested on all datasets (9 total comparisons). 100% classification accuracy is theoretically achievable due to the use of synthetic hypercubes, consisting of only four distinct spectral signals, for training and test. Using k-means clustering, the SB method showed accuracies of only 47.1% and 48.7%, respectively for the absorbance and reflectance hypercubes (Fig 7A and 7B) when clustered using the SB method classifier, compared to over 97.0% for GT and RB method classifiers. The resulting segmented images again indicate incomplete background correction (Fig 7C and 7D) for the SB method. SVMs successfully segmented the four clusters in absorption hypercubes with 100% accuracy under all BG corrections, however, the classification accuracy of SB reflectance hypercubes segmented by using the SVMs trained via GT and RB hypercubes dropped to 69.1% and 89.1%, respectively again with incomplete background correction (Fig 7E and 7F). Lastly, CNNs were implemented via a six-layered network, including three convolutional layers, two fully connected layers and a softmax layer (S7 Fig). Trained CNNs classified the hypercubes with 100% accuracy regardless of hypercube types and BG conditions.

Fig 7. Investigating the effect of background correction on the accuracy of machine learning-based hyperspectral imaging classification.

Fig 7

Classification accuracy of three machine learning methods (k-means clustering, support vector machine and convolutional neural network) in absorbance (a) and reflectance (b) hypercubes obtained by GT, SB and RB methods. (c—f) Representative images of classification results indicated by c–f in (a) and (b). Scale bar: 100 pixels.

Discussion

Applications of HSI in biomedicine frequently calculate optical reflectance and absorbance spectra for tissue classification. The data processing procedures assume that the samples are uniformly illuminated and while several methods can be employed to ensure that this assumption holds, applications that encounter variations in surface topology or optical power distribution, such as endoscopy, may result in classification errors. Here, we demonstrated a simple background correction method that enables estimation of the spectral profile and optical power distribution of illumination across a sample by exploiting the normalised spectra of the light source and intensity values of the measured hyperspectral signals at a fixed wavelength with negligible absorbance. The advantage of the method is that it is applied in software, so it does not require any specialised equipment or application of contrast agents and can be applied to any HSI data where a wavelength of negligible absorbance is available. It is therefore practical for application in biomedical imaging, for example, during hyperspectral endoscopy as demonstrated here using the HySE system. It could also be easily applied to snapshot multispectral biomedical imaging applications, if one of the wavelength bands is located in the NIR or other minimally absorbing wavelength range, which could enable the fast acquisition and online post-processing of the data.

We selected 800 nm as the wavelength for normalisation in these studies. The results suggest that in samples that are not absorbing at the selected normalisation wavelength, our retrieved background (RB) method accurately recovers the ground truth (GT) HSI data compared to the standard approach of using a single background (SB). The feasibility and applicability of the proposed RB method were demonstrated by measuring oxygenated and deoxygenated blood samples, a tissue-mimicking phantom with scattering, absorption, and fluorescence agents and ex vivo chicken tissue. These experiments indicated the importance of a complete background correction for analysis and interpretation of HSI data, with variations in optical power distribution causing rescaling of reflectance data and introducing offsets in absorbance data. Moreover, the importance of precisely retrieved and corrected background was assessed using HSI analysis methods and machine-learning based image classification techniques. In particular, the standard SB method led to erroneous findings for reflectance data in PCA and absorbance data in SAM. It also led to misclassification in both data types for k-means clustering and in reflectance data for SVMs, compromising their accuracy, however, well-trained CNNs were not vulnerable to changes in BG corrections or data types.

Nonetheless, there remain some limitations to the present study. The proposed method assumes that absorption at the normalisation wavelength is negligible. Should there arise some non-negligible or spatially inhomogeneous absorption at the normalisation wavelength, the calculated reflectance and absorbance may still introduce errors. For example, in our case using 800 nm as the normalisation wavelength, we saw that the blood samples and nigrosin dye samples had some non-negligible absorption at 800 nm, which meant that the magnitude of the corrected spectrum could be up to 29.6% lower than the GT, but importantly, the shapes of the spectral profiles of the calculated reflectance and absorbance remained unaffected. Therefore, prior information about the absorbance of a given sample at the normalisation wavelength is necessary when making comparisons between the magnitude of the recorded spectra. While many biological tissues have little absorption at 800 nm [40,41] choosing this wavelength may produce problems for experiments that introduce NIR dyes for molecular imaging. Selecting a wavelength further into NIR tissue optical window could overcome this, though would require illumination of the tissue with further NIR/IR optical power and the associated thermal deposition characteristics should be carefully considered from a safety perspective.

In addition, we examined the influence of noise on the study and found that the accuracy of the normalisation method decreases with increasing noise in the spectra. Care should therefore be taken when applying the method to a noisy spectral data set. Another consideration is the need for spectrally uniform illumination across the target, which is an important precondition for many experiments in HSI and also affects the proposed method. If multiple incoherent light sources are used, then spectral homogeneity should be checked before using the proposed method. A further consideration is that the effects of BG correction on HSI classification using machine learning algorithms were tested here using simple synthetic hypercubes composed of experimentally measured data from only four spectra components. While these serve to illustrate the potential of the method in cases where known ground truth is available, further experiments would be needed to establish the bounds of operation of the method in another chosen application. Finally, we focused on the influence of background correction on reflectance and absorbance hypercubes. Further work would be needed to understand how well the method could perform for other HSI applications, such as multiplexing of fluorescence contrast agents[12].

Despite these limitations, the proposed background correction method allows for accurate and consistent measurement of HSI data, regardless of illumination method and optical power distribution. Application of the method could facilitate further exploitation of multi- and hyperspectral imaging techniques in practical clinical applications, where controlling the illumination pattern and power are non-trivial.

Supporting information

S1 Fig. Optical design of the line-scanning hyperspectral endoscope.

The system is assembled using a CE-marked endoscope with an imaging fibre bundle and an integrated illumination fibre. A sample is illuminated either by coupling a halogen light source to the illumination fibre (internal illumination method) or by directly illuminating via the fibre-coupled halogen light source (external illumination method). Hyperspectral data is acquired using a CCD coupled to the spectrograph. For line-scanning hyperspectral imaging, a motorized translational stage is exploited to control imaging position in these studies. Abbreviations: CCD, charge coupled device; L1–2, lens; Obj1–2, objective lens.

(PNG)

S2 Fig. Schematic for obtaining the ground truth background (GT), single background (SB) and retrieved background (RB).

(a) GT was obtained by measuring a white reflectance target under the same position and illumination conditions as the sample measurement. From the GT, the normalised spectral profile of the background was calculated by averaging across all spatial locations within the hyperspectral image frame. One of GTs was used as SB. (b) To obtain RB, the intensity ratio (Cs/Cb) at 800 nm and the normalised spectral profile of the background was calculated. The intensity ratio of each vertical pixel was calculated by dividing intensity values of a sample spectral image (Cs, red dashed line) at 800 nm by the intensity value of normalised background signal at 800 nm (Cb). (c) The spectrum of the RB used for correction at a specific vertical pixel was determined by multiplying the normalised background to the intensity ratio value corresponding to the pixel.

(PNG)

S3 Fig

Influence of noise-to-signal ratio to the retrieved BG method (a) Simulation of raw spectral profiles of oxygenated blood with different signal-to-noise ratios (1%, 5%, 10%, and 20%). (b) Absorbance obtained using spectral signals in (a) and the retrieved BG method. Gray shaded area indicates the standard deviation. (c). Bar graphs show the average error percentages of absorbance at four different signal-to-noise ratios. Error bar indicates the standard deviation.

(PNG)

S4 Fig

Investigation of intensity variation at 800 nm (a) Left: Synthetic RGB image of chicken tissue. Right: Magnified image of the dashed square shown in left figure. Scale bars: 1 cm (b) Average measured spectral profiles of the bone marrow (BM), compact bone (C), and shade (S) areas within solid squares shown in (a) were obtained. Gray shaded area indicates the standard deviation. (c). Bar graphs show average intensities of six regions shown in (a) were calculated. Error bar indicates the standard deviation. Statistical analysis was performed using Student t-test.

(PNG)

S5 Fig. The RB method enables the accurate measurement of absorbance in endoscopy conditions.

(a) Photograph of the tubular tissue-mimicking phantom with homogeneous methylene blue concentration. (b) Schematic of the experiment. Absorbance of the tissue-mimicking phantom at three working distances was obtained using SB (c) and RB methods (d). The solid line and the gray shaded area indicate average absorbance and standard deviation, respectively.

(PNG)

S6 Fig. Assessment of background effects on hyperspectral image analysis via principal component analysis (PCA) and spectral angle mapping (SAM).

(a, b) Scatter plots of 2nd principal component (PC) versus 1st PC (top) and representative images of 1st PC scores (bottom) of absorbance and reflectance hypercubes, respectively. Scale bar: 100 pixels. (c, d) Bar graphs indicate mean and standard deviation (error bars) of angle values for each cluster shown in the bottom image (top) and 2D images of spectral angle values (bottom) of absorbance and reflectance hypercubes, respectively. SAM was performed using the average spectral profile of the cluster i of each hypercube. Scale bar is 100 pixels.

(PNG)

S7 Fig. Schematic process for the application of convolutional neuronal networks.

(PNG)

Acknowledgments

We thank Dr Laura Bollepalli for technical assistance in the completion of this study.

Data Availability

Data will be uploaded into the University of Cambridge Open data repository Apollo, more information can be found at: www.data.cam.ac.uk. The DOI for this data set is https://doi.org/10.17863/CAM.42338

Funding Statement

This work was funded by CRUK (C47594/A16267, C14303/A17197, C9545/A29580, C47594/A21102; www.cancerresearchuk.org), EPSRC (EP/R003599/1, EP/N014588/1, EP/L015889/1; www.epsrc.ac.uk) and the EU FP7 agreement FP7-PEOPLE-2013-CIG-630729 (ec.europa.eu). These grants were awarded to SEB and support the work of JY and AG, with the exception of EP/L015889/1, which is a Centre for Doctoral Training award that supports AG. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

References

  • 1.Van der Meer FD, Van der Werff HM, Van Ruitenbeek FJ, Hecker CA, Bakker WH, et al. (2012) Multi-and hyperspectral geologic remote sensing: A review. International Journal of Applied Earth Observation and Geoinformation 14: 112–128. [Google Scholar]
  • 2.Li Q, He X, Wang Y, Liu H, Xu D, et al. (2013) Review of spectral imaging technology in biomedical engineering: achievements and challenges. Journal of biomedical optics 18: 100901 10.1117/1.JBO.18.10.100901 [DOI] [PubMed] [Google Scholar]
  • 3.Lu G, Fei B (2014) Medical hyperspectral imaging: a review. Journal of biomedical optics 19: 010901. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.Siddiqi AM, Li H, Faruque F, Williams W, Lai K, et al. (2008) Use of hyperspectral imaging to distinguish normal, precancerous, and cancerous cells. Cancer Cytopathology: Interdisciplinary International Journal of the American Cancer Society 114: 13–21. [DOI] [PubMed] [Google Scholar]
  • 5.Akbari H, Halig L, Schuster DM, Fei B, Osunkoya A, et al. (2012) Hyperspectral imaging and quantitative analysis for prostate cancer detection. Journal of biomedical optics 17: 076005 10.1117/1.JBO.17.7.076005 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6.Beaulieu RJ, Goldstein SD, Singh J, Safar B, Banerjee A, et al. (2018) Automated diagnosis of colon cancer using hyperspectral sensing. The International Journal of Medical Robotics and Computer Assisted Surgery 14: e1897 10.1002/rcs.1897 [DOI] [PubMed] [Google Scholar]
  • 7.Panasyuk SV, Yang S, Faller DV, Ngo D, Lew RA, et al. (2007) Medical hyperspectral imaging to facilitate residual tumor identification during surgery. Cancer biology & therapy 6: 439–446. [DOI] [PubMed] [Google Scholar]
  • 8.Calin MA, Parasca SV, Savastru D, Manea D (2014) Hyperspectral imaging in the medical field: present and future. Applied Spectroscopy Reviews 49: 435–447. [Google Scholar]
  • 9.Kho E, de Boer LL, Van de Vijver K, van Duijnhoven F, Peeters M-JTV, et al. (2019) Hyperspectral imaging for resection margin assessment during cancer surgery. Clinical Cancer Research: clincanres. 2089.2018. [DOI] [PubMed] [Google Scholar]
  • 10.Khoobehi B, Beach JM, Kawano H (2004) Hyperspectral imaging for measurement of oxygen saturation in the optic nerve head. Investigative ophthalmology & visual science 45: 1464–1472. [DOI] [PubMed] [Google Scholar]
  • 11.Mordant D, Al-Abboud I, Muyo G, Gorman A, Harvey A, et al. (2014) Oxygen saturation measurements of the retinal vasculature in treated asymmetrical primary open-angle glaucoma using hyperspectral imaging. Eye 28: 1190 10.1038/eye.2014.169 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Luthman AS, Waterhouse DJ, Ansel-Bollepalli L, Yoon J, Gordon GS, et al. (2018) Bimodal reflectance and fluorescence multispectral endoscopy based on spectrally resolving detector arrays. Journal of Biomedical Optics 24: 031009. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Jahr W, Schmid B, Schmied C, Fahrbach FO, Huisken J (2015) Hyperspectral light sheet microscopy. Nature communications 6: 7990 10.1038/ncomms8990 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14.Lim H-T, Murukeshan VM (2016) A four-dimensional snapshot hyperspectral video-endoscope for bio-imaging applications. Scientific reports 6: 24044. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Dwight JG, Tkaczyk TS (2017) Lenslet array tunable snapshot imaging spectrometer (LATIS) for hyperspectral fluorescence microscopy. Biomedical optics express 8: 1950–1964. 10.1364/BOE.8.001950 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.Lin J, Clancy NT, Qi J, Hu Y, Tatla T, et al. (2018) Dual-modality endoscopic probe for tissue surface shape reconstruction and hyperspectral imaging enabled by deep neural networks. Medical image analysis 48: 162–176. 10.1016/j.media.2018.06.004 [DOI] [PubMed] [Google Scholar]
  • 17.Gao L, Kester RT, Hagen N, Tkaczyk TS (2010) Snapshot image mapping spectrometer (IMS) with high sampling density for hyperspectral microscopy. Optics express 18: 14330–14344. 10.1364/OE.18.014330 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18.Yoon J, Joseph J, Waterhouse DJ, Luthman AS, Gordon GS, et al. (2019) A clinically translatable hyperspectral endoscopy (HySE) system for imaging the gastrointestinal tract. Nature communications 10: 1902 10.1038/s41467-019-09484-4 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19.Halicek M, Lu G, Little JV, Wang X, Patel M, et al. (2017) Deep convolutional neural networks for classifying head and neck cancer using hyperspectral imaging. Journal of biomedical optics 22: 060503. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20.Li W, Mo W, Zhang X, Squiers JJ, Lu Y, et al. (2015) Outlier detection and removal improves accuracy of machine learning approach to multispectral burn diagnostic imaging. Journal of biomedical optics 20: 121305 10.1117/1.JBO.20.12.121305 [DOI] [PubMed] [Google Scholar]
  • 21.Khan MJ, Khan HS, Yousaf A, Khurshid K, Abbas A (2018) Modern trends in hyperspectral image analysis: a review. IEEE Access 6: 14118–14129. [Google Scholar]
  • 22.Lu G, Halig LV, Wang D, Qin X, Chen ZG, et al. (2014) Spectral-spatial classification for noninvasive cancer detection using hyperspectral imaging. Journal of biomedical optics 19: 106004 10.1117/1.JBO.19.10.106004 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23.Farrell MD, Mersereau RM (2005) On the impact of PCA dimension reduction for hyperspectral detection of difficult targets. IEEE Geoscience and Remote Sensing Letters 2: 192–195. [Google Scholar]
  • 24.Park B, Windham W, Lawrence K, Smith D (2007) Contaminant classification of poultry hyperspectral imagery using a spectral angle mapper algorithm. Biosystems Engineering 96: 323–333. [Google Scholar]
  • 25.Masood K, Rajpoot N, Rajpoot K, Qureshi H. Hyperspectral colon tissue classification using morphological analysis; 2006. IEEE; pp. 735–741. [Google Scholar]
  • 26.Makantasis K, Karantzalos K, Doulamis A, Doulamis N. Deep supervised learning for hyperspectral data classification through convolutional neural networks; 2015. IEEE; pp. 4959–4962. [Google Scholar]
  • 27.Halicek M, Little JV, Wang X, Chen AY, Fei B (2019) Optical biopsy of head and neck cancer using hyperspectral imaging and convolutional neural networks. Journal of biomedical optics 24: 036007. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 28.Katrašnik J, Pernuš F, Likar B (2013) A method for characterizing illumination systems for hyperspectral imaging. Optics express 21: 4841–4853. 10.1364/OE.21.004841 [DOI] [PubMed] [Google Scholar]
  • 29.Sawyer TW, Luthman AS, Bohndiek SE (2017) Evaluation of illumination system uniformity for wide-field biomedical hyperspectral imaging. Journal of Optics 19: 045301. [Google Scholar]
  • 30.Gevaux L, Adnet C, Séroul P, Clerc R, Trémeau A, et al. (2019) Three-dimensional maps of human skin properties on full face with shadows using 3-D hyperspectral imaging. Journal of biomedical optics 24: 066002. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31.Themelis G, Yoo JS, Soh K, Schulz RB, Ntziachristos V (2009) Real-time intraoperative fluorescence imaging system using light-absorption correction. Journal of biomedical optics 14: 064012 10.1117/1.3259362 [DOI] [PubMed] [Google Scholar]
  • 32.Ntziachristos V, Yoo JS, van Dam GM (2010) Current concepts and future perspectives on surgical optical imaging in cancer. Journal of biomedical optics 15: 066024 10.1117/1.3523364 [DOI] [PubMed] [Google Scholar]
  • 33.Valdés PA, Leblond F, Jacobs VL, Wilson BC, Paulsen KD, et al. (2012) Quantitative, spectrally-resolved intraoperative fluorescence imaging. Scientific reports 2: 798 10.1038/srep00798 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 34.Vahrmeijer AL, Hutteman M, Van Der Vorst JR, Van De Velde CJ, Frangioni JV (2013) Image-guided cancer surgery using near-infrared fluorescence. Nature reviews Clinical oncology 10: 507 10.1038/nrclinonc.2013.123 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35.Bogaards A, Sterenborg H, Trachtenberg J, Wilson B, Lilge L (2007) In vivo quantification of fluorescent molecular markers in real‐time by ratio imaging for diagnostic screening and image‐guided surgery. Lasers in Surgery and Medicine: The Official Journal of the American Society for Laser Medicine and Surgery 39: 605–613. [DOI] [PubMed] [Google Scholar]
  • 36.Sharma P, Bansal A, Mathur S, Wani S, Cherian R, et al. (2006) The utility of a novel narrow band imaging endoscopy system in patients with Barrett's esophagus. Gastrointestinal endoscopy 64: 167–175. 10.1016/j.gie.2005.10.044 [DOI] [PubMed] [Google Scholar]
  • 37.Akemann W, Mutoh H, Perron A, Rossier J, Knöpfel T (2010) Imaging brain electric signals with genetically targeted voltage-sensitive fluorescent proteins. Nature methods 7: 643 10.1038/nmeth.1479 [DOI] [PubMed] [Google Scholar]
  • 38.Joseph J, Tomaszewski MR, Quiros-Gonzalez I, Weber J, Brunker J, et al. (2017) Evaluation of precision in optoacoustic tomography for preclinical imaging in living subjects. Journal of Nuclear Medicine 58: 807–814. 10.2967/jnumed.116.182311 [DOI] [PubMed] [Google Scholar]
  • 39.Ding C, He X. K-means clustering via principal component analysis; 2004. ACM; pp. 29. [Google Scholar]
  • 40.Koch M, Symvoulidis P, Ntziachristos V (2018) Tackling standardization in fluorescence molecular imaging. Nature Photonics: 1. [Google Scholar]
  • 41.Wisotzky EL, Uecker FC, Dommerich S, Hilsmann A, Eisert P, et al. (2019) Determination of optical properties of human tissues obtained from parotidectomy in the spectral range of 250 to 800 nm. Journal of Biomedical Optics 24: 125001. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 42.Smith AM, Mancini MC, Nie S (2009) Bioimaging: second window for in vivo imaging. Nature nanotechnology 4: 710 10.1038/nnano.2009.326 [DOI] [PMC free article] [PubMed] [Google Scholar]

Decision Letter 0

Ireneusz Grulkowski

19 Nov 2019

PONE-D-19-28216

A background correction method to compensate illumination variation in hyperspectral imaging

PLOS ONE

Dear Dr Bohndiek,

Thank you for submitting your manuscript to PLOS ONE. After careful consideration, we feel that it has merit but does not fully meet PLOS ONE’s publication criteria as it currently stands. Therefore, we invite you to submit a revised version of the manuscript that addresses the points raised during the review process.

We would appreciate receiving your revised manuscript by Jan 03 2020 11:59PM. When you are ready to submit your revision, log on to https://www.editorialmanager.com/pone/ and select the 'Submissions Needing Revision' folder to locate your manuscript file.

If you would like to make changes to your financial disclosure, please include your updated statement in your cover letter.

To enhance the reproducibility of your results, we recommend that if applicable you deposit your laboratory protocols in protocols.io, where a protocol can be assigned its own identifier (DOI) such that it can be cited independently in the future. For instructions see: http://journals.plos.org/plosone/s/submission-guidelines#loc-laboratory-protocols

Please include the following items when submitting your revised manuscript:

  • A rebuttal letter that responds to each point raised by the academic editor and reviewer(s). This letter should be uploaded as separate file and labeled 'Response to Reviewers'.

  • A marked-up copy of your manuscript that highlights changes made to the original version. This file should be uploaded as separate file and labeled 'Revised Manuscript with Track Changes'.

  • An unmarked version of your revised paper without tracked changes. This file should be uploaded as separate file and labeled 'Manuscript'.

Please note while forming your response, if your article is accepted, you may have the opportunity to make the peer review history publicly available. The record will include editor decision letters (with reviews) and your responses to reviewer comments. If eligible, we will contact you to opt in or out.

We look forward to receiving your revised manuscript.

Kind regards,

Ireneusz Grulkowski, PhD

Academic Editor

PLOS ONE

Journal Requirements:

When submitting your revision, we need you to address these additional requirements.

Please ensure that your manuscript meets PLOS ONE's style requirements, including those for file naming. The PLOS ONE style templates can be found at

http://www.journals.plos.org/plosone/s/file?id=wjVg/PLOSOne_formatting_sample_main_body.pdf and http://www.journals.plos.org/plosone/s/file?id=ba62/PLOSOne_formatting_sample_title_authors_affiliations.pdf

1. We note that you have stated that you will provide repository information for your data at acceptance. Should your manuscript be accepted for publication, we will hold it until you provide the relevant accession numbers or DOIs necessary to access your data. If you wish to make changes to your Data Availability statement, please describe these changes in your cover letter and we will update your Data Availability statement to reflect the information you provide.

2. Please do not include funding sources in the Acknowledgments or anywhere else in the manuscript file. Funding information should only be entered in the financial disclosure section of the submission system. https://journals.plos.org/plosone/s/submission-guidelines#loc-acknowledgments

3. Please amend the Methods section of your manuscript to include the source of the animal tissues

Additional Editor Comments (if provided):

Dear Authors,

Please, see the attached reviews. Please, revise the manuscript by addressing the comments given by the reviewers.

[Note: HTML markup is below. Please do not edit.]

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Author

1. Is the manuscript technically sound, and do the data support the conclusions?

The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented.

Reviewer #1: Yes

Reviewer #2: Partly

Reviewer #3: Yes

Reviewer #4: Yes

**********

2. Has the statistical analysis been performed appropriately and rigorously?

Reviewer #1: Yes

Reviewer #2: Yes

Reviewer #3: Yes

Reviewer #4: Yes

**********

3. Have the authors made all data underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: Yes

Reviewer #2: Yes

Reviewer #3: Yes

Reviewer #4: Yes

**********

4. Is the manuscript presented in an intelligible fashion and written in standard English?

PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.

Reviewer #1: Yes

Reviewer #2: Yes

Reviewer #3: Yes

Reviewer #4: Yes

**********

5. Review Comments to the Author

Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters)

Reviewer #1: In this paper, the authors propose a simple method that is able to compensate the effects of illumination variations across a sample in hyperspectral imaging applications, using information about a specific spectral band in which the sample has approximately zero absorbance, and the spectral profile of the illumination source. This avoids the need for specialized illumination equipment.

The problem is important and well motivated (i.e. poorly compensated illumination affects subsequent image analysis tasks), and the method is simple but seems robust as long as the hypotheses are satisfied. Nonetheless, there are some points that could be improved.

- The description of the proposed method in page 5 could be made clearer if supported by mathematical equations. More precisely, the effect of the illumination scaling alpha in equations 1 and 2, the relationship between C_b and C_s and the quantities introduced in equations 1 and 2, and the result of the proposed background correction could be shown in a few equations without substantially increasing the section's length.

Also, note that alpha is used to denote both the illumination scaling and the spectral angle mapper result in equation 3, what could cause some confusion.

- A non-zero absorbance of the sample at the 800nm spectral band is shown to lead to a slight underestimation of the amplitude of the spectral samples. It also seems to be assumed that this absorbance is the same (i.e. theoretically zero) for all pixels in the sample. What effect would be observed in the proposed method if there are (e.g. small) spatial variations of this quantity? To which extent is this expected to occur in the application of interest? It would be interesting to see a discussion on this matter.

- How is the pixel spectra reshaped in figure S.5 into a 2D signal?

Reviewer #2: Here, my personal review to the Authors for the article PONE-D-19-28216:

In first place I would like to thanks the authors. Despite the complexity of the topic of the paper, I found the paper well written and clear. Moreover, an interesting method to correct for illumination inhomogeneities directly form the measured sample is presented and tested in several ex-vivo conditions. Besides of this, here are some suggestions and comments that can enhance paper robustness.

Major comments:

1) Figure. 1: a confront is made between normalized and not normalized spectrum between the retrieved illumination and the measured illumination. It would be clearer if the comparison would be made on the same graph to show the consistency in between the spectral signals. I suggest to place both dashed and continue lines for the measured and the retrieved data, respectively. This comment applies to all the data where the differences between methods are minimal such as in the GT-RB comparisons in Figures 2-5.

2) It is not clear to me why the author selects 800 nm as reference wavelength. Only reference 38 is given to support this choice. In my opinion a detailed explanation of the choice of 800 nm as reference wavelength must be provided. Taking under consideration the used sample and the measurements performed. This will help also to understand how this method could be used for different samples where the wavelengths that must be selected would be different.

3) If I did not misunderstand the text, the information at 800 nm is completely lost no matter what the sample. If it is the case add a statement on this in the text

4) In Fig 5 all the information after 750 nm is cut. Please insert all the spectral information to confront these spectra with all the others.

5) Which is the influence of using 800 nm to correct these images in terms of artifacts? I propose a study of the variation of the intensity at very small area where the illumination light can be considered perfectly homogenous and independent from the illumination conditions in the case of the chicken breast where the sample is not perfectly homogeneous in reflectance. This validation will grant more robustness to the overall article. Is not clear to me the variations of spectral information at 800 nm in its absolute value. If the differences are considerable the method proposed will produce unpredictable artifacts. Maybe the Root Mean Square value could be calculated in between standard deviations calculated from the data collected on different areas (marrow and compact bone). In this way the effect of the 800 nm choice can be estimated.

6) “Despite these limitations, the proposed background correction method allows for accurate and consistent measurement of HSI data, regardless of illumination methods and optical power distribution.”

This is partially true as one of the assumptions is that every spectral channel must be acquired in the same illumination condition. In other words that means a good superposition between spectral channels. That is the case of most of the applications when the spectral sampling is performed in the detection, but it is not true in the case that several light sources are used instead.

7) In this case an a-priori study of the sample is necessary at least to select the right wavelength. I suggest to add a statement that underline this. In fact, if the sample is highly etherogenous in its composition, with high variations for all the wavelength in the spectral range this method cannot be blind as it will gives an unpredictable result in terms of spectral information.

Minor comments:

8)The “hypercube is a n-dimensional volume of data for a 3D hyperpestral cube, in my advise it would be better datacube”

Reviewer #3: This manuscript proposed a background correction method to compensate for the variations in surface morphology or light power distribution at the sample. The proposed background correction method enables the estimation of optical characteristics of illumination at the sample, which is a major advance in hyperspectral endoscopy systems. The authors experimentally demonstrated the feasibility of the proposed background correction method using hyperspectral imaging data acquired via a hyperspectral endoscopy system from different samples. The proposed method and experiment results are useful in further exploitation of hyperspectral imaging endoscopy systems in practical clinical applications, the manuscript can be accepted for publication.

A few questions that should be addressed:

1. Where is the multiplicative factor alpha in eq. (1) and constant in eq. (2) ?

2. In the Result section P5, line 10. Did you multiply the normalized spectrum of the light source with the intensity ratio between the measured spectral profiles of the light source and the sample or with the intensity ratio between the normalized spectral profiles of light source and sample?

3. The wavelength 800 nm was selected as the band with low absorption to verify the feasibility of the proposed method. The question is, if the absorption of a certain tissue is not that small at 800nm, does the method still work? If not, how to solve this problem?

4. In figure 5a, there is no much difference in darkness between RGB images of GT and SB? In contrast, GT and SB looks similar.

5. In figure 5a, six colored rectangular boxes are obscure.

Reviewer #4: The article by Yoon et al. presents a relatively simple approach to correct intensity variations in sample illumination in HSI applications. Overall, the presented approach is scientifically sound and offers an easy correction option with some assumptions. However, the simplicity of the approach means it is not innovative in general, but rather as an application to a specific field. There a few major points to be addressed:

1) Sensitivity to noise – a method calculating a scaling coefficient only using a single wavelength will be more susceptible to noise over methods using multiple. Since most of the work is using some sort of simulation, it would be interesting to see the influence of varying levels of noise on the retrieved signal. Please add such calculations.

2) Compare to other baseline correction methods (e.g. independent component analysis, fitting) and show the benefits of this approach. It may be in the lack of optimization parameters and speed.

3) The machine learning part in general is valid, however, a small detail would make a big difference. The authors did a min/max scaling for the SB dataset, while anyone doing spectroscopy and machine learning would also remove the baseline in any way before doing that. Subtract minimum value or a linear fit (or any other baseline remocal) for SB and then do classification for KNN and SVM.

A smaller point is to slightly clear out the introduction about absorbance and reflectance with scaling factor, since in a proper spectroscopic experiment the scaling would also affect background and be removed in the proportion of I/I0. The lack of proper background in these experiments is the problem.

There are also a few small language inaccuracies here and there.

**********

6. PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: No

Reviewer #2: No

Reviewer #3: Yes: Tingkui Mu

Reviewer #4: No

[NOTE: If reviewer comments were submitted as an attachment file, they will be attached to this email and accessible via the submission site. Please log into your account, locate the manuscript record, and check for the action link "View Attachments". If this link does not appear, there are no attachment files to be viewed.]

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com/. PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Registration is free. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email us at figures@plos.org. Please note that Supporting Information files do not need this step.

Decision Letter 1

Ireneusz Grulkowski

4 Feb 2020

PONE-D-19-28216R1

A background correction method to compensate illumination variation in hyperspectral imaging

PLOS ONE

Dear Dr Bohndiek,

Thank you for submitting your manuscript to PLOS ONE. After careful consideration, we feel that it has merit but does not fully meet PLOS ONE’s publication criteria as it currently stands. Therefore, we invite you to submit a revised version of the manuscript that addresses the points raised during the review process.

We would appreciate receiving your revised manuscript by Mar 20 2020 11:59PM. When you are ready to submit your revision, log on to https://www.editorialmanager.com/pone/ and select the 'Submissions Needing Revision' folder to locate your manuscript file.

If you would like to make changes to your financial disclosure, please include your updated statement in your cover letter.

To enhance the reproducibility of your results, we recommend that if applicable you deposit your laboratory protocols in protocols.io, where a protocol can be assigned its own identifier (DOI) such that it can be cited independently in the future. For instructions see: http://journals.plos.org/plosone/s/submission-guidelines#loc-laboratory-protocols

Please include the following items when submitting your revised manuscript:

  • A rebuttal letter that responds to each point raised by the academic editor and reviewer(s). This letter should be uploaded as separate file and labeled 'Response to Reviewers'.

  • A marked-up copy of your manuscript that highlights changes made to the original version. This file should be uploaded as separate file and labeled 'Revised Manuscript with Track Changes'.

  • An unmarked version of your revised paper without tracked changes. This file should be uploaded as separate file and labeled 'Manuscript'.

Please note while forming your response, if your article is accepted, you may have the opportunity to make the peer review history publicly available. The record will include editor decision letters (with reviews) and your responses to reviewer comments. If eligible, we will contact you to opt in or out.

We look forward to receiving your revised manuscript.

Kind regards,

Ireneusz Grulkowski, PhD

Academic Editor

PLOS ONE

Additional Editor Comments (if provided):

Please, address short comments of the reviewer #3. Then the paper will be ready for publishing.

[Note: HTML markup is below. Please do not edit.]

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Author

1. If the authors have adequately addressed your comments raised in a previous round of review and you feel that this manuscript is now acceptable for publication, you may indicate that here to bypass the “Comments to the Author” section, enter your conflict of interest statement in the “Confidential to Editor” section, and submit your "Accept" recommendation.

Reviewer #1: All comments have been addressed

Reviewer #3: All comments have been addressed

Reviewer #4: All comments have been addressed

**********

2. Is the manuscript technically sound, and do the data support the conclusions?

The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented.

Reviewer #1: Yes

Reviewer #3: Yes

Reviewer #4: Yes

**********

3. Has the statistical analysis been performed appropriately and rigorously?

Reviewer #1: Yes

Reviewer #3: Yes

Reviewer #4: Yes

**********

4. Have the authors made all data underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: Yes

Reviewer #3: Yes

Reviewer #4: Yes

**********

5. Is the manuscript presented in an intelligible fashion and written in standard English?

PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.

Reviewer #1: Yes

Reviewer #3: Yes

Reviewer #4: Yes

**********

6. Review Comments to the Author

Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters)

Reviewer #1: (No Response)

Reviewer #3: The authors made important revision to the manuscript and answered all the questions very carefully. It is obvious that the authors added math to describe the background correction method in the revised manuscript, which greatly increased the readability of the paper. In addition, in the discussion part of the revised manuscript, the authors pointed out the limitations of the method comprehensively, which give more clear direction for future research and application. In conclusion, I recommend this manuscript for publication.

There are some points that could be improved:

1. In P12, the word “measured” in the sentence “We propose instead to multiply the normalized spectrum of the light source (Fig. 1e) with the intensity ratio between the measured spectral profiles of the light source (Cb) and the sample (Cs) at a wavelength of low absorbance in the sample to estimate the actual spectrum of the light source at the target (Fig. 1f)” may need to be changed as “normalized”.

2. In the equations 6 and 7, the denominator and numerator are all functions of (x,y), so it is better to change Cs to Cs(x,y).

Reviewer #4: (No Response)

**********

7. PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: No

Reviewer #3: No

Reviewer #4: No

[NOTE: If reviewer comments were submitted as an attachment file, they will be attached to this email and accessible via the submission site. Please log into your account, locate the manuscript record, and check for the action link "View Attachments". If this link does not appear, there are no attachment files to be viewed.]

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com/. PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Registration is free. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email us at figures@plos.org. Please note that Supporting Information files do not need this step.

PLoS One. 2020 Mar 13;15(3):e0229502. doi: 10.1371/journal.pone.0229502.r004

Author response to Decision Letter 1


7 Feb 2020

Reviewer #1: (Thank you for your review. We are pleased the revised manuscript was satisfactory.)

Reviewer #3: The authors made important revision to the manuscript and answered all the questions very carefully. It is obvious that the authors added math to describe the background correction method in the revised manuscript, which greatly increased the readability of the paper. In addition, in the discussion part of the revised manuscript, the authors pointed out the limitations of the method comprehensively, which give more clear direction for future research and application. In conclusion, I recommend this manuscript for publication.

There are some points that could be improved:

1. In P12, the word “measured” in the sentence “We propose instead to multiply the normalized spectrum of the light source (Fig. 1e) with the intensity ratio between the measured spectral profiles of the light source (Cb) and the sample (Cs) at a wavelength of low absorbance in the sample to estimate the actual spectrum of the light source at the target (Fig. 1f)” may need to be changed as “normalized”.

2. In the equations 6 and 7, the denominator and numerator are all functions of (x,y), so it is better to change Cs to Cs(x,y).

� We would like to thank the reviewer for their time in reviewing our manuscript. We have revised the manuscript according to reviewer’s comments.

Reviewer #4: (Thank you for your review. We are pleased the revised manuscript was satisfactory.)

Decision Letter 2

Ireneusz Grulkowski

10 Feb 2020

A background correction method to compensate illumination variation in hyperspectral imaging

PONE-D-19-28216R2

Dear Dr. Bohndiek,

We are pleased to inform you that your manuscript has been judged scientifically suitable for publication and will be formally accepted for publication once it complies with all outstanding technical requirements.

Within one week, you will receive an e-mail containing information on the amendments required prior to publication. When all required modifications have been addressed, you will receive a formal acceptance letter and your manuscript will proceed to our production department and be scheduled for publication.

Shortly after the formal acceptance letter is sent, an invoice for payment will follow. To ensure an efficient production and billing process, please log into Editorial Manager at https://www.editorialmanager.com/pone/, click the "Update My Information" link at the top of the page, and update your user information. If you have any billing related questions, please contact our Author Billing department directly at authorbilling@plos.org.

If your institution or institutions have a press office, please notify them about your upcoming paper to enable them to help maximize its impact. If they will be preparing press materials for this manuscript, you must inform our press team as soon as possible and no later than 48 hours after receiving the formal acceptance. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information, please contact onepress@plos.org.

With kind regards,

Ireneusz Grulkowski, PhD

Academic Editor

PLOS ONE

Additional Editor Comments (optional):

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Author

1. If the authors have adequately addressed your comments raised in a previous round of review and you feel that this manuscript is now acceptable for publication, you may indicate that here to bypass the “Comments to the Author” section, enter your conflict of interest statement in the “Confidential to Editor” section, and submit your "Accept" recommendation.

Reviewer #3: All comments have been addressed

**********

2. Is the manuscript technically sound, and do the data support the conclusions?

The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented.

Reviewer #3: Yes

**********

3. Has the statistical analysis been performed appropriately and rigorously?

Reviewer #3: Yes

**********

4. Have the authors made all data underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #3: Yes

**********

5. Is the manuscript presented in an intelligible fashion and written in standard English?

PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.

Reviewer #3: Yes

**********

6. Review Comments to the Author

Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters)

Reviewer #3: (No Response)

**********

7. PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #3: Yes: Tingkui Mu

Acceptance letter

Ireneusz Grulkowski

27 Feb 2020

PONE-D-19-28216R2

A background correction method to compensate illumination variation in hyperspectral imaging

Dear Dr. Bohndiek:

I am pleased to inform you that your manuscript has been deemed suitable for publication in PLOS ONE. Congratulations! Your manuscript is now with our production department.

If your institution or institutions have a press office, please notify them about your upcoming paper at this point, to enable them to help maximize its impact. If they will be preparing press materials for this manuscript, please inform our press team within the next 48 hours. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information please contact onepress@plos.org.

For any other questions or concerns, please email plosone@plos.org.

Thank you for submitting your work to PLOS ONE.

With kind regards,

PLOS ONE Editorial Office Staff

on behalf of

Dr. Ireneusz Grulkowski

Academic Editor

PLOS ONE

Associated Data

    This section collects any data citations, data availability statements, or supplementary materials included in this article.

    Supplementary Materials

    S1 Fig. Optical design of the line-scanning hyperspectral endoscope.

    The system is assembled using a CE-marked endoscope with an imaging fibre bundle and an integrated illumination fibre. A sample is illuminated either by coupling a halogen light source to the illumination fibre (internal illumination method) or by directly illuminating via the fibre-coupled halogen light source (external illumination method). Hyperspectral data is acquired using a CCD coupled to the spectrograph. For line-scanning hyperspectral imaging, a motorized translational stage is exploited to control imaging position in these studies. Abbreviations: CCD, charge coupled device; L1–2, lens; Obj1–2, objective lens.

    (PNG)

    S2 Fig. Schematic for obtaining the ground truth background (GT), single background (SB) and retrieved background (RB).

    (a) GT was obtained by measuring a white reflectance target under the same position and illumination conditions as the sample measurement. From the GT, the normalised spectral profile of the background was calculated by averaging across all spatial locations within the hyperspectral image frame. One of GTs was used as SB. (b) To obtain RB, the intensity ratio (Cs/Cb) at 800 nm and the normalised spectral profile of the background was calculated. The intensity ratio of each vertical pixel was calculated by dividing intensity values of a sample spectral image (Cs, red dashed line) at 800 nm by the intensity value of normalised background signal at 800 nm (Cb). (c) The spectrum of the RB used for correction at a specific vertical pixel was determined by multiplying the normalised background to the intensity ratio value corresponding to the pixel.

    (PNG)

    S3 Fig

    Influence of noise-to-signal ratio to the retrieved BG method (a) Simulation of raw spectral profiles of oxygenated blood with different signal-to-noise ratios (1%, 5%, 10%, and 20%). (b) Absorbance obtained using spectral signals in (a) and the retrieved BG method. Gray shaded area indicates the standard deviation. (c). Bar graphs show the average error percentages of absorbance at four different signal-to-noise ratios. Error bar indicates the standard deviation.

    (PNG)

    S4 Fig

    Investigation of intensity variation at 800 nm (a) Left: Synthetic RGB image of chicken tissue. Right: Magnified image of the dashed square shown in left figure. Scale bars: 1 cm (b) Average measured spectral profiles of the bone marrow (BM), compact bone (C), and shade (S) areas within solid squares shown in (a) were obtained. Gray shaded area indicates the standard deviation. (c). Bar graphs show average intensities of six regions shown in (a) were calculated. Error bar indicates the standard deviation. Statistical analysis was performed using Student t-test.

    (PNG)

    S5 Fig. The RB method enables the accurate measurement of absorbance in endoscopy conditions.

    (a) Photograph of the tubular tissue-mimicking phantom with homogeneous methylene blue concentration. (b) Schematic of the experiment. Absorbance of the tissue-mimicking phantom at three working distances was obtained using SB (c) and RB methods (d). The solid line and the gray shaded area indicate average absorbance and standard deviation, respectively.

    (PNG)

    S6 Fig. Assessment of background effects on hyperspectral image analysis via principal component analysis (PCA) and spectral angle mapping (SAM).

    (a, b) Scatter plots of 2nd principal component (PC) versus 1st PC (top) and representative images of 1st PC scores (bottom) of absorbance and reflectance hypercubes, respectively. Scale bar: 100 pixels. (c, d) Bar graphs indicate mean and standard deviation (error bars) of angle values for each cluster shown in the bottom image (top) and 2D images of spectral angle values (bottom) of absorbance and reflectance hypercubes, respectively. SAM was performed using the average spectral profile of the cluster i of each hypercube. Scale bar is 100 pixels.

    (PNG)

    S7 Fig. Schematic process for the application of convolutional neuronal networks.

    (PNG)

    Attachment

    Submitted filename: Response to Reviewers.docx

    Data Availability Statement

    Data will be uploaded into the University of Cambridge Open data repository Apollo, more information can be found at: www.data.cam.ac.uk. The DOI for this data set is https://doi.org/10.17863/CAM.42338


    Articles from PLoS ONE are provided here courtesy of PLOS

    RESOURCES