newton divided difference interpolation

i have dicom image and converted into jpg now i want to apply newton divided difference interpolation. please anyone suggest the answer.

13 comentarios

Jan
Jan el 4 de Abr. de 2022
The question contains too few information to be answered. Please edit it and add details.
image-pro
image-pro el 9 de Abr. de 2022
Editada: Rik el 9 de Abr. de 2022
my question is how i can apply newton divided difference interpolation method in image. please any one suggest the solution.
Thanks in advance
Rik
Rik el 9 de Abr. de 2022
Flagging doesn't solve the issue Jan identified.
Have a read here and here. It will greatly improve your chances of getting an answer.
image-pro
image-pro el 12 de Abr. de 2022
Editada: image-pro el 12 de Abr. de 2022
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
Rik el 12 de Abr. de 2022
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
Sam Chak el 12 de Abr. de 2022
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
image-pro el 12 de Abr. de 2022
Editada: image-pro el 12 de Abr. de 2022
%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
image-pro el 12 de Abr. de 2022
Thank You sam chak sir for for your advice.
Sam Chak
Sam Chak el 12 de Abr. de 2022
Editada: Sam Chak el 12 de Abr. de 2022
Edit and Move the image, code, and formula from the COMMENT to your original QUESTION above will increase the chances of all MATLAB experts to directly view the problem and attract their interest.
image-pro
image-pro el 12 de Abr. de 2022
ok sir Thanks once again.
image-pro
image-pro el 19 de Abr. de 2022
if anyone understand my problem can give me the code thank you in advance.
image-pro
image-pro el 5 de Mayo de 2022
SUB-PIXEL EDGE DETCTION FOR PHOTOGRAMMETRY USING LAPLACE DIFFERENCE OF GAUSSIAN AND 4TH ORDER ENO INTERPOLATION
anyone has code for this paper?
Jan
Jan el 5 de Mayo de 2022
Editada: Jan el 5 de Mayo de 2022
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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Read, Write, and Modify Image en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 4 de Abr. de 2022

Editada:

Jan
el 5 de Mayo de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by