I got error in the script..

3 visualizaciones (últimos 30 días)
D.Regan
D.Regan el 26 de Jun. de 2014
Respondida: Jakob Sørensen el 26 de Jun. de 2014
Hi,
I got EMD script from http://aquador.vovve.net/IEMD/index.html, but I got errors on my simulation. I called script function simply as followed on my matlab window..,
Img = imread('E:\root\DIP test images\test2.jpg'); [ix,resx,medel]=IEMD_public(Img,1,10,4)
but errors are,
Error using - Integers can only be combined with integers of the same class, or scalar doubles.
Error in IEMD_public>interpolateimf (line 155) c=x-medel;
Error in IEMD_public>findimf (line 101) [hk, medel,f]=interpolateimf(xin,p,conn);
Error in IEMD_public (line 51) [imf,res,medel]=findimf(image,1,epsilon,conn);
Error in emdp (line 12) [ix,resx,medel]=IEMD_public(Img,1,10,4)
If possible, kindly give notice on this..
Thanking U
With regards,
Regan D

Respuestas (1)

Jakob Sørensen
Jakob Sørensen el 26 de Jun. de 2014
Can you tell us what data type the image is, after loading it (the img variable). You can usually see it in the upper right corner, or using the whos command.
It seems like there is a mismatch in data types.

Categorías

Más información sobre Geometric Transformation and Image Registration en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by