13
The SHINE toolbox Matlab tools for controlling low-level image properties

The SHINE toolbox Matlab tools for controlling low-level image properties

Embed Size (px)

Citation preview

Page 1: The SHINE toolbox Matlab tools for controlling low-level image properties

The SHINE toolbox

Matlab tools for controlling low-level image properties

Page 2: The SHINE toolbox Matlab tools for controlling low-level image properties

SHINE functionsSHINE (Spectrum, Histogram, and Intensity Normalization and Equalization)

Page 3: The SHINE toolbox Matlab tools for controlling low-level image properties

lumMatch• Function to equate images in terms of mean luminance and

contrast (i.e., the standard deviation of the luminance distribution)• newimages = lumMatch(images,mask,lum)• face1new = (face1-mean2(face1))/std2(face1)*S+M;

mean2(face1)= 181.8557

mean2(face2)= 203.6699

std2(face1)= 85.8567

std2(face2)= 61.5167

mean2(face1new)= 192.4541

mean2(face2new)= 192.7071

std2(face1)= 73.4324

std2(face2)= 73.3302

INPUT OUTPUT

Page 4: The SHINE toolbox Matlab tools for controlling low-level image properties

histMatch

• Function that matches the luminance histograms across images

• newimages = histMatch(images,optim,hist,mask)

• See ‘help histMatch’ for infos about the input parameters

Page 5: The SHINE toolbox Matlab tools for controlling low-level image properties
Page 6: The SHINE toolbox Matlab tools for controlling low-level image properties

sfMatch

• Function that equates the energy at each spatial frequency (i.e., the rotational average of the Fourier amplitude spectra)

• newimages = sfMatch(images,rescaling,tarmag)

Page 7: The SHINE toolbox Matlab tools for controlling low-level image properties
Page 8: The SHINE toolbox Matlab tools for controlling low-level image properties

specMatch

• Function for equating the Fourier amplitude spectra across images

• images = specMatch(images,rescaling,tarmag)

Page 9: The SHINE toolbox Matlab tools for controlling low-level image properties
Page 10: The SHINE toolbox Matlab tools for controlling low-level image properties

Simultaneous matching

• The matching of histograms and Fourier amplitudes affect each other in a way that histograms e.g. are not equated anymore after specMatch

• Joint equalization of low-level properties using an iterative approach

Page 11: The SHINE toolbox Matlab tools for controlling low-level image properties
Page 12: The SHINE toolbox Matlab tools for controlling low-level image properties
Page 13: The SHINE toolbox Matlab tools for controlling low-level image properties

Download

www.mapageweb.umontreal.ca/gosselif/shine