File Exchange

image thumbnail

Bi dimensional Emperical Mode Decomposition (BEMD)

version 1.2 (14.7 KB) by

This function computes the 2D IMFs (first 3) for an Input Image.

4.14286
8 Ratings

22 Downloads

Updated

View License

The function is called upon as follows:

a = bemd(im1);

im1 -> Image

a(:,:,1) => IMF 1
a(:,:,2) => IMF 2
a(:,:,3) => IMF 3
a(:,:,4) => Residue

Comments and Ratings (11)

Index exceeds matrix dimensions.
Error in extrema2 (line 73)
im = unique([smaxcol(:,1);smincol(:,1)]); % Rows with column extrema
Error in sift (line 16)
[zmax imax zmin imin] = extrema2(input_image_temp);
Error in bemd (line 20)
[imf_temp residue_temp] = sift(h_func);
Error in fractal_emd (line 97)
input_emd = bemd(input_dwt);

Maja Baric

Yuzhen Lu

Very slow in computation, and the resultant matrix is binary

Yuanbo Xu

sreejini

Rida

Rida (view profile)

How can we maximize the number of IMFs? (more than 3)

omkishor

This code is of very much help . I want to know, how to get gray scale IMFs because IMF obtained using this code looks like Binary image.

Wang-Yang

This is a very useful code. Is it possible to increase the maximum number of the IMF(the current limit is 3 IMFs and one residue)? Thanks!

MAINAK BISWAS

Sir, this BEMD code is very useful.
Is there any code for BEEMD (Bi dimensional Ensemble Empirical Mode Decomposition)?

woods

woods (view profile)

woods

woods (view profile)

Updates

1.2

Unnecessary instances of '~' have been replaced with temporary variable 'tmpx'. NOw the code should function well for versions of MATLAB older than 2010 smoothly.

MATLAB Release
MATLAB 7.10 (R2010a)
Acknowledgements

Inspired by: Surface Fitting using gridfit, extrema.m, extrema2.m

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video