Comprehensive colour normalization

版本 1.0.0.0 (2.6 KB) 作者: Niels Schurink
This function effectively normalizes multi colour images (RGB, multispectral, hyperspectral).
402.0 次下载
更新时间 2016/11/24

查看许可证

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 版本兼容性
创建方式 R2016a
兼容任何版本
平台兼容性
Windows macOS Linux

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