newton divided difference interpolation
4 次查看(过去 30 天)
显示 更早的评论
image-pro
2022-4-4
i have dicom image and converted into jpg now i want to apply newton divided difference interpolation. please anyone suggest the answer.
13 个评论
Jan
2022-4-4
The question contains too few information to be answered. Please edit it and add details.
Rik
2022-4-9
image-pro
2022-4-12
编辑:image-pro
2022-4-12
i have read an image using imread and apply segmentation method for detection of disease, now i want to use newton divided difference interpolation method on segmented image to find the tumor region. using newton divided interpolation to estimate value i have to specify X and Y coordinates to estimate missing value of Y. Now, my question is that how i can use image pixel values in place of X And Y coordinates. i have to pick image pixel value in place of x and y coordinates and calculate missing value using newton divided difference interpolation method.
This is my code. plz solve my problem. Thanks in advance.
%READ AN INPUT IMAGE
IMG=imread('C:\Users\DELL\OneDrive\Documents\MRI-images\Folder1\image-1.jpg');
%IMG = ind2rgb(IMG.X, IMG.map);
X=1:256;
Y=1:256;
[Dx, Dy] = meshgrid(X, Y);
x=Dx;
y=Dy;
size=length(x);
d=zeros(size,size);
xlength=length(x);
DDlim=length(x)-1;
D=zeros(xlength,xlength);
D(:,:,1)=y;
for i=1:DDlim
for j=1:i
D(i+1,j+1)=(D(i+1,j)-D(i,j))/(x(i+1)-x(i-j+1));
end
end
a=diag(D)
Rik
2022-4-12
A flag is meant to attract the attention of a site admin. Not to label a comment.
Also, you have read either page I linked to, as evident from the lack of formatting in your comment. Since you didn't bother reading my advice, why should I bother reading your comment to try to help you?
Sam Chak
2022-4-12
Click IMAGE buttion to insert your image. We cannot access the sample image in your OneDrive.
C:\Users\DELL\OneDrive\Documents\MRI-images\Folder1\image-1.jpg
Click SIGMA button to insert formula of the Newton's divided differences interpolation polynomial. Not everyone knows the math.
Click the CODE button to insert your attempted MATLAB code in the proper format.
image-pro
2022-4-12
编辑:image-pro
2022-4-12
%READ AN INPUT IMAGE
IMG=imread('C:\Users\DELL\OneDrive\Documents\MRI-images\Folder1\image-1.jpg');
%IMG = ind2rgb(IMG.X, IMG.map);
X=1:256;
Y=1:256;
[Dx, Dy] = meshgrid(X, Y);
x=Dx;
y=Dy;
size=length(x);
d=zeros(size,size);
xlength=length(x);
DDlim=length(x)-1;
D=zeros(xlength,xlength);
D(:,:,1)=y;
for i=1:DDlim
for j=1:i
D(i+1,j+1)=(D(i+1,j)-D(i,j))/(x(i+1)-x(i-j+1));
end
end
a=diag(D);
expr = poly2sym(a) ;% This create polynomial from the coefficient matrix
fpe = fplot(expr);
title(fpe.DisplayName)
hold on
plot(x,y,'*')
I have to apply below formula on above image. The below given formula is of newton divided difference interpolation.
Suppose f(x0), f(x1), f(x2)………f(xn) be the (n+1) values of the function y=f(x) corresponding to the arguments x=x0, x1, x2…xn, where interval differences are not same
Then the first divided difference is given by
The second divided difference is given by
and so on…
Divided differences are symmetric with respect to the arguments i.e independent of the order of arguments.
so,
f[x0, x1]=f[x1, x0]
f[x0, x1, x2]=f[x2, x1, x0]=f[x1, x2, x0]
By using first divided difference, second divided difference as so on .
image-pro
2022-5-5
SUB-PIXEL EDGE DETCTION FOR PHOTOGRAMMETRY USING LAPLACE DIFFERENCE OF GAUSSIAN AND 4TH ORDER ENO INTERPOLATION
anyone has code for this paper?
Jan
2022-5-5
编辑:Jan
2022-5-5
Please, @image-pro, provide the names of the author or even better the DOI: https://doi.org/10.1109/ICIP.2010.5652041 . Do not let the readers search your paper.
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!发生错误
由于页面发生更改,无法完成操作。请重新加载页面以查看其更新后的状态。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- América Latina (Español)
- Canada (English)
- United States (English)
欧洲
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom(English)
亚太
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)