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
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);
Very slow in computation, and the resultant matrix is binary
How can we maximize the number of IMFs? (more than 3)
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.
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!
Sir, this BEMD code is very useful.
Is there any code for BEEMD (Bi dimensional Ensemble Empirical Mode Decomposition)?
Unnecessary instances of '~' have been replaced with temporary variable 'tmpx'. NOw the code should function well for versions of MATLAB older than 2010 smoothly.