CytoSpec - an APPLICATION FOR HYPERSPECTRAL IMAGING |
||||
|
||||
|
|
|
|||
|
|
||||
Menu Bar 'Spatial Preprocessing' |
||||
|
||||
Crop Images |
||||
|
||||
|
Cropping in the spatial (x,y) dimensions reduces the number of pixel spectra. Select the 'crop images' radiobutton and enter the respective values for the x- and y-spatial regions (in pixels) which should be retained. Then press 'crop' to proceed. |
Note that the 'cut/crop' function overwrites all existing data blocks (see also
Internal Data Organization, Table IV).
The parameter used for 'cut' are stored within the program workspace and are accessible through the File Info menu bar (File Info → File Manipulations → type of data block).
|
|
spectral domain, and
|
Interpolation in the spatial [x,y] dimensions changes the number of pixel spectra. The number of pixel spectra can be increased, or decreased (binning). For example, if the actual number of pixel spectra is 64 × 64 (cf. edit field '# of pixel in x/y') and the settings for 'new xdim/ydim' are 32 × 32, the program performs a two-dimensional interpolation in the spatial domains which will reduce the map size by a factor of 2 × 2. Note that spatial HSI dimensions can be changed to any sizes, e.g. spatial interpolation from an initial HSI size of 64 × 64 to a size of 30 × 32 will be possible. Note also that enlarged images may require a lot of memory resources (RAM) Select the 'interpolate in the spatial dimensions' radiobutton and enter the desired image size in x-direction. Then press 'enter' - the value in the field 'new ydim' will be automatically updated. To change the aspect ratio between the x- and y-dimensions uncheck the checkbox 'fix aspect ratio'. Then press 'interpolate' to proceed. |
The 'interpolate / pixel binning' function overwrites all existing data blocks (see also
Internal Data Organization, Table III).
The parameter used for interpolate are stored within the program workspace and are accessible through File Info menu (File Info → File Manipulations → type of data block). These
parameters are also provided in the report window of CytoSpec.
|
|
quality test routine: If the quality test of a given spectrum is negative, the respective spectrum in the data block of preprocessed data
is replaced by NaN (Not a Number) values.
edge preserving denoising, or
3D Fourier-self deconvolution do not accept NaN values as inputs. In
such cases the 'replace NaN' function will be useful for spatial preprocessing hyperspectral data sets.
Internal Data Organization, Table IX).
|
Select the source data block by clicking the appropriate radio button, then select the spatial filter function and the size of the kernel. To finally apply the spatial filter function click on the 'filter' button. Available filters:
Kernel size: indicates the size of the kernel filter function in pixels |
File Info menu bar (File Info → File Manipulations →
type of data block). These parameters are also shown in the command line window.
Wikipedia, Total variation denoising).
filter
images) which reduce noise but may smooth away at the same edges to a greater or lesser degree. By contrast, TV denoising can be remarkably
effective at simultaneously preserving edges whilst smoothing away noise in flat regions, even at low signal-to-noise ratios. (adapted
from
Wikipedia, Total variation denoising)
|
source block: allows selecting the type of source data (original, preprocessed, derivative or deconvolution data). lambda: initial value of the regularization parameter λ defining the strength of smoothing. When λ = 0 there will be no smoothing. As λ → ∞ however, the output data is forced to have smaller total variation (TV) which means that the output is less like the input data. In this way noise (but also parts of the signal) are removed. The choice of the regularization parameter λ thus defines the amount of noise removal. Note that the parameter λ represents in fact λ(0) - an initialization parameter which will be adapted at each iteration step. error tol. (error tolerance): the central parameter of the iterative procedure. The error tolerance value and the noise in the image data are employed to adapt the parameter λ at each iteration cycle. The higher the value of the error tolerance, the shorter the runtime of the routine and the lower the power of edge-preserving denoising. # iterations (number of iterations, n): EPD uses a fast iterative procedure to minimize the total variation of the image plane data. This popupmenu allows defining the maximum number of allowed iterations which might be useful to reduce computational efforts in case of large HSI data sets. Note that the iterative procedure of EPD is executed for each individual image of the HSI. Large values of n may thus result in long EPD computation times. |
|
exit criter. the exit criterion defines the conditions for exiting the iterative cycle and serves as a threshold of the 'change' observed between two consecutive iterations, whereby 'change' is determined on the basis of the following expression: report window. In such cases it is recommended to modify EPD
parameters accordingly and re-run EPD.
verbose mode: provides additional details of the EPD procedure in CytoSpec's
report window.
|
|
Rudin, L. I.; Osher, S.; Fatemi, E. Nonlinear total variation based noise removal algorithms. Physica D 1992 60 (1–4): 259–268.
Chambolle, A. An Algorithm for Total Variation Minimization and Applications. J Math Imag 2004 Vis 20:89–97.
Alexandrov T, Lasch P, Segmentation of confocal Raman microspectroscopic imaging data using edge-preserving denoising and clustering. Anal Chem. 2013 18;85(12):5676-83.
(An example of EPD based on Raman microspectroscopy data; note that an alternative EPD method has been used)
blind deconvolution,
where the transfer function is unknown and a number of assumptions are made for recovering the target scene. The spatial preprocessing function
3D FSD allows simultaneous Fourier self-deconvolution in the two spatial dimensions [x,y] and the spectral/frequency dimensions [λ]. The
method can be applied to enhance the spectral and the spatial resolution in HSI data sets, i.e. to reduce the spectral bandwidths and to increase
the image contrast. 3D-FSD has been adapted from the Procedure of 3D-FSD:J.K. Kauppinen, D.J. Moffat, H.H. Mantsch, D.G. Cameron, Fourier Self-Deconvolution: a method for resolving intrinsically overlapped bands. Appl Spectrosc. 35(3) 1981. 271-276.
J.K. Kauppinen, D.J. Moffat, H.H. Mantsch, D.G. Cameron, Self-deconvolution and first order derivatives using Fourier transforms. Anal Chem. 53(9) 1981. 1454-1457.
J.K. Kauppinen, D.J. Moffat, H.H. Mantsch, D.G. Cameron, Noise in Fourier self-deconvolution. Appl. Opt. 20(3) 1981. 1866-.
Lasch P. Naumann D. Spatial Resolution in Infrared Microspectroscopic Imaging of Tissues. Biochim Biophys Acta (BBA) - Biomembranes 2006 1758(7):814-29.
Copyright (c) 2000-2025 CytoSpec. All rights reserved.