Comprehensive colour normalization

This function effectively normalizes multi colour images (RGB, multispectral, hyperspectral).
402 Descargas
Actualizado 24 nov 2016

Ver licencia

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

Citar como

Niels Schurink (2025). Comprehensive colour normalization (https://la.mathworks.com/matlabcentral/fileexchange/60360-comprehensive-colour-normalization), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2016a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0

- edited description (23-11-2016)

- Updated summary