I have x y z points for the object, I have to increase the number of points to get better view of the object by interpolation
Show older comments
I have x y z points for the object, I have to increase the number of points by interpolation to get better view of the object , what and how can I do that.
2 Comments
KALYAN ACHARJYA
on 5 Jan 2021
Can you share more detail? Figure/Images?
Rashi Mehrotra
on 5 Jan 2021
Answers (1)
KSSV
on 5 Jan 2021
0 votes
Read about griddata, scatteredInteprolant.
9 Comments
Rashi Mehrotra
on 5 Jan 2021
KSSV
on 6 Jan 2021
Show us the code....it can be done....Also have a look on imresize.
Rashi Mehrotra
on 6 Jan 2021
KSSV
on 6 Jan 2021
Your criteria/ motive is not clear. When you pick the indices of 1 from M which is a 3D image, how you have a image in hand to increase the visibility?
Rashi Mehrotra
on 6 Jan 2021
KSSV
on 6 Jan 2021
Did you try plotting (x,y)?
plot(x,y,'.r')
What does above give?
Rashi Mehrotra
on 6 Jan 2021
KSSV
on 6 Jan 2021
Your motive is not clear still.... you said xx1, yy1 are the indices from M for which the value is 1 i.e zz1 is 1. Am I right? So for this, though you do inteprolation, the respective value will be 1, there is no point in doing interpolation.
Are you taking about increasing the number of points between (xx1,yy1) alone, where these points form a curve?
Rashi Mehrotra
on 6 Jan 2021
Categories
Find more on Interpolation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!