Comprehensive colour normalization
NORMALIZED = comprehensive_colour_normalization(CUBE,THRESHOLD)
This function normalizes images for both illumination intensity and
illumination color effects. It can be applied to images with an
'unlimited' number of color channels. Ranging from RGB to hyperspectral
imagery.
This script performs very fast due to vectorization and use of bsxfun.
The input of this function is given as follows:
CUBE is a MxNxL matrix in which MxN is the spatial domain and L is the
spectral (color) domain.
The function iterates until the mean square root difference between two
consecutive steps is smaller than THRESHOLD. When threshold is not
given it is set to 10^-12 by default.
The output of this function is given by:
NORMALIZED is a MxNxL matrix in which MxN is the spatial domain and L is
the spectral (color) domain. For each pixel (i,j) mean(Mi,Nj,:) is
approximately 1. For each wavelength/color (k) mean(:,:,Lk) is
approximately 1 as well.
This algorithm is based on the folowing paper:
------
Finlayson, G., Schiele, B., & Crowley, J. (1998).
Comprehensive Colour Image Normalization.
Computer Vision—ECCV’98, 1406, 475–490.
https://doi.org/10.1007/BFb0055655
------
Script written by (Niels) N.W. Schurink, 23-11-2016, master 3 student
Technical Medicine, University of Twente, the Netherlands, during
master thesis at Netherlands Cancer Institute - Antoni van Leeuwenhoek
引用格式
Niels Schurink (2025). Comprehensive colour normalization (https://www.mathworks.com/matlabcentral/fileexchange/60360-comprehensive-colour-normalization), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
- Sciences > Biological and Health Sciences >
- Image Processing and Computer Vision > Computer Vision Toolbox > Point Cloud Processing > Display Point Clouds >
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 | - edited description (23-11-2016) - Updated summary |