Undefined function 'taylor' for input arguments of type 'uint8'. je peut pas vraiement comprendre c'est quoi l'erreur ?

1 visualización (últimos 30 días)
img=imread('img1.jpg');
[m,n,p]=size(img);
if p==3
img=rgb2double(img);
end
for i=1:m
for j=1:n
a=img(i,j);
taylor(img,a);
end
end
  7 comentarios
Walter Roberson
Walter Roberson el 19 de Feb. de 2018
You will need to find a different approach. taylor analysis is not defined for numeric arrays.

Iniciar sesión para comentar.

Respuesta aceptada

nima aalizade
nima aalizade el 19 de Feb. de 2018
taylor analysis is not defined for numeric arrays.

Más respuestas (1)

Walter Roberson
Walter Roberson el 19 de Feb. de 2018
A truncated taylor series can be viewed as a polynomial fitting.
Hypothetically, you could model an image by declaring it to be a surface in X and Y, and then doing a multinomial fit to it, and then replacing the image with the values projected by the multinomial.
In practice: this is likely to work very very poorly.

Categorías

Más información sobre Symbolic Math Toolbox 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