필터 지우기
필터 지우기

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

조회 수: 1 (최근 30일)
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
Walter Roberson
Walter Roberson 2018년 2월 19일
You will need to find a different approach. taylor analysis is not defined for numeric arrays.

댓글을 달려면 로그인하십시오.

채택된 답변

nima aalizade
nima aalizade 2018년 2월 19일
taylor analysis is not defined for numeric arrays.

추가 답변 (1개)

Walter Roberson
Walter Roberson 2018년 2월 19일
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.

Community Treasure Hunt

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

Start Hunting!

Translated by