local mean in empirical mode decomposition

What is the local mean in empirical mode decomposition ? What is the different between local mean and mean? Can any one give me code of local mean? Thanks

Answers (1)

The local mean can be computed by conv2():
windowWidth = 9; % Some odd number
kernel = ones(windowWidth) / windowWidth^2;
localMeanImage = conv2(double(inputImage), kernel, 'same');

Asked:

on 1 Mar 2016

Answered:

on 5 Mar 2016

Community Treasure Hunt

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

Start Hunting!